]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid_wrap.cpp
Some change notes
[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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
212 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
213 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
214 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
215 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
216 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
217 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
218 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
219 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
220 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
221 #define SWIGTYPE_p_wxColour swig_types[10]
222 #define SWIGTYPE_p_wxDC swig_types[11]
223 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
224 #define SWIGTYPE_p_wxGrid swig_types[13]
225 #define SWIGTYPE_p_wxVisualAttributes swig_types[14]
226 #define SWIGTYPE_p_char swig_types[15]
227 #define SWIGTYPE_p_wxPanel swig_types[16]
228 #define SWIGTYPE_p_wxNotifyEvent swig_types[17]
229 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxGridCellCoords swig_types[20]
232 #define SWIGTYPE_p_wxScrolledWindow swig_types[21]
233 #define SWIGTYPE_p_wxWindow swig_types[22]
234 #define SWIGTYPE_p_wxFont swig_types[23]
235 #define SWIGTYPE_p_wxControl swig_types[24]
236 #define SWIGTYPE_p_wxEvent swig_types[25]
237 #define SWIGTYPE_p_wxObject swig_types[26]
238 #define SWIGTYPE_p_wxGridSizeEvent swig_types[27]
239 #define SWIGTYPE_p_wxRect swig_types[28]
240 #define SWIGTYPE_p_long swig_types[29]
241 #define SWIGTYPE_p_wxString swig_types[30]
242 #define SWIGTYPE_p_wxEvtHandler swig_types[31]
243 #define SWIGTYPE_p_wxPoint swig_types[32]
244 #define SWIGTYPE_p_wxGridEvent swig_types[33]
245 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[34]
246 #define SWIGTYPE_p_wxGridTableBase swig_types[35]
247 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[36]
248 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[37]
249 #define SWIGTYPE_p_wxGridCellEditor swig_types[38]
250 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[39]
251 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[40]
252 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[41]
253 #define SWIGTYPE_p_wxPyGridTableBase swig_types[42]
254 #define SWIGTYPE_p_wxGridStringTable swig_types[43]
255 #define SWIGTYPE_p_wxArrayString swig_types[44]
256 #define SWIGTYPE_p_wxCommandEvent swig_types[45]
257 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[46]
258 #define SWIGTYPE_p_wxKeyEvent swig_types[47]
259 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[48]
260 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[49]
261 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[50]
262 #define SWIGTYPE_p_int swig_types[51]
263 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[52]
264 static swig_type_info *swig_types[54];
265
266 /* -------- TYPES TABLE (END) -------- */
267
268
269 /*-----------------------------------------------
270 @(target):= _grid.so
271 ------------------------------------------------*/
272 #define SWIG_init init_grid
273
274 #define SWIG_name "_grid"
275
276 /* Auxiliar swig macros that appear in the header */
277
278 #define SWIG_OLDOBJ 1
279 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
280 #define SWIG_PYSTR SWIG_NEWOBJ + 1
281
282 #ifdef __cplusplus
283 #define SWIGSTATICINLINE(a) static inline a
284 #define SWIGSTATIC(a) static a
285 #define swig_new_array(size,Type) (new Type[(size)])
286 #define swig_delete(cptr) delete cptr
287 #define swig_delete_array(cptr) delete[] cptr
288 #define swig_const_cast(a,Type) const_cast<Type >(a)
289 #define swig_static_cast(a,Type) static_cast<Type >(a)
290 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
291 #define swig_new_copy(ptr,Type) (new Type(*ptr))
292 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
293
294 #else /* C case */
295
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
299 #define swig_delete(cptr) free((char*)cptr)
300 #define swig_delete_array(cptr) free((char*)cptr)
301 #define swig_const_cast(a,Type) (Type)(a)
302 #define swig_static_cast(a,Type) (Type)(a)
303 #define swig_reinterpret_cast(a,Type) (Type)(a)
304 #define swig_numeric_cast(a,Type) (Type)(a)
305 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
306
307 #endif /* __cplusplus */
308
309
310 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
311 #define SWIG_From_signed_SS_char PyInt_FromLong
312 /*@@*/
313 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
314 #define SWIG_From_unsigned_SS_char PyInt_FromLong
315 /*@@*/
316 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
317 #define SWIG_From_short PyInt_FromLong
318 /*@@*/
319 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
320 #define SWIG_From_unsigned_SS_short PyInt_FromLong
321 /*@@*/
322 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
323 #define SWIG_From_int PyInt_FromLong
324 /*@@*/
325 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
326 #define SWIG_From_long PyInt_FromLong
327 /*@@*/
328 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
329 #define SWIG_From_float PyFloat_FromDouble
330 /*@@*/
331 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
332 #define SWIG_From_double PyFloat_FromDouble
333 /*@@*/
334
335
336 #include "wx/wxPython/wxPython.h"
337 #include "wx/wxPython/pyclasses.h"
338 #include "wx/wxPython/printfw.h"
339
340 #include <wx/grid.h>
341 #include <wx/generic/gridctrl.h>
342
343
344 static const wxString wxPyEmptyString(wxEmptyString);
345 static const wxString wxPyPanelNameStr(wxPanelNameStr);
346 static const wxString wxPyDateTimeFormatStr(wxT("%c"));
347
348
349 #define wxPyMake_TEMPLATE(TYPE) \
350 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
351 PyObject* target = NULL; \
352 if (source) { \
353 /* Check if there is already a pointer to a Python object in the \
354 OOR data that we can use. */ \
355 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
356 if (data) { \
357 target = data->m_obj; \
358 if (target) \
359 Py_INCREF(target); \
360 } \
361 /* Otherwise make a new wrapper for it the old fashioned way and \
362 give it the OOR treatment */ \
363 if (! target) { \
364 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
365 if (target) \
366 source->SetClientObject(new wxPyOORClientData(target)); \
367 } \
368 } else { /* source was NULL so return None. */ \
369 Py_INCREF(Py_None); target = Py_None; \
370 } \
371 return target; \
372 } \
373
374
375 wxPyMake_TEMPLATE(wxGridCellRenderer)
376 wxPyMake_TEMPLATE(wxGridCellEditor)
377 wxPyMake_TEMPLATE(wxGridCellAttr)
378 wxPyMake_TEMPLATE(wxGridCellAttrProvider)
379 wxPyMake_TEMPLATE(wxGridTableBase)
380
381
382
383 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
384 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
385 wxGridCellAttr* rval = NULL; \
386 bool found; \
387 bool blocked = wxPyBeginBlockThreads(); \
388 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
389 PyObject* ro; \
390 wxGridCellAttr* ptr; \
391 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
392 if (ro) { \
393 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
394 rval = ptr; \
395 Py_DECREF(ro); \
396 } \
397 } \
398 wxPyEndBlockThreads(blocked); \
399 if (! found) \
400 rval = PCLASS::CBNAME(a, b, c); \
401 return rval; \
402 } \
403 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
404 return PCLASS::CBNAME(a, b, c); \
405 }
406
407
408
409 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
410 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
411 bool blocked = wxPyBeginBlockThreads(); \
412 bool found; \
413 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
414 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
415 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
416 Py_DECREF(obj); \
417 } \
418 wxPyEndBlockThreads(blocked); \
419 if (! found) \
420 PCLASS::CBNAME(attr, a, b); \
421 } \
422 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
423 PCLASS::CBNAME(attr, a, b); \
424 }
425
426
427
428 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
429 void CBNAME(wxGridCellAttr *attr, int val) { \
430 bool blocked = wxPyBeginBlockThreads(); \
431 bool found; \
432 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
433 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
435 Py_DECREF(obj); \
436 } \
437 wxPyEndBlockThreads(blocked); \
438 if (! found) \
439 PCLASS::CBNAME(attr, val); \
440 } \
441 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
442 PCLASS::CBNAME(attr, val); \
443 }
444
445
446
447 #define PYCALLBACK_INT__pure(CBNAME) \
448 int CBNAME() { \
449 bool blocked = wxPyBeginBlockThreads(); \
450 int rval = 0; \
451 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
452 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
453 wxPyEndBlockThreads(blocked); \
454 return rval; \
455 }
456
457
458
459 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
460 bool CBNAME(int a, int b) { \
461 bool blocked = wxPyBeginBlockThreads(); \
462 bool rval = 0; \
463 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
464 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
465 wxPyEndBlockThreads(blocked); \
466 return rval; \
467 }
468
469
470 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
471 wxString CBNAME(int a, int b) { \
472 bool blocked = wxPyBeginBlockThreads(); \
473 wxString rval; \
474 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
475 PyObject* ro; \
476 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
477 if (ro) { \
478 rval = Py2wxString(ro); \
479 Py_DECREF(ro); \
480 } \
481 } \
482 wxPyEndBlockThreads(blocked); \
483 return rval; \
484 }
485
486
487 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
488 void CBNAME(int a, int b, const wxString& c) { \
489 bool blocked = wxPyBeginBlockThreads(); \
490 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
491 PyObject* s = wx2PyString(c); \
492 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
493 Py_DECREF(s); \
494 } \
495 wxPyEndBlockThreads(blocked); \
496 }
497
498
499 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
500 wxString CBNAME(int a, int b) { \
501 bool found; \
502 bool blocked = wxPyBeginBlockThreads(); \
503 wxString rval; \
504 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
505 PyObject* ro; \
506 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
507 if (ro) { \
508 rval = Py2wxString(ro); \
509 Py_DECREF(ro); \
510 } \
511 } \
512 wxPyEndBlockThreads(blocked); \
513 if (! found) \
514 rval = PCLASS::CBNAME(a, b); \
515 return rval; \
516 } \
517 wxString base_##CBNAME(int a, int b) { \
518 return PCLASS::CBNAME(a, b); \
519 }
520
521
522 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
523 bool CBNAME(int a, int b, const wxString& c) { \
524 bool rval = 0; \
525 bool found; \
526 bool blocked = wxPyBeginBlockThreads(); \
527 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
528 PyObject* s = wx2PyString(c); \
529 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
530 Py_DECREF(s); \
531 } \
532 wxPyEndBlockThreads(blocked); \
533 if (! found) \
534 rval = PCLASS::CBNAME(a,b,c); \
535 return rval; \
536 } \
537 bool base_##CBNAME(int a, int b, const wxString& c) { \
538 return PCLASS::CBNAME(a,b,c); \
539 }
540
541
542
543
544 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
545 long CBNAME(int a, int b) { \
546 long rval; \
547 bool found; \
548 bool blocked = wxPyBeginBlockThreads(); \
549 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
550 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
551 wxPyEndBlockThreads(blocked); \
552 if (! found) \
553 rval = PCLASS::CBNAME(a,b); \
554 return rval; \
555 } \
556 long base_##CBNAME(int a, int b) { \
557 return PCLASS::CBNAME(a,b); \
558 }
559
560
561
562 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
563 bool CBNAME(int a, int b) { \
564 bool rval = 0; \
565 bool found; \
566 bool blocked = wxPyBeginBlockThreads(); \
567 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
568 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
569 wxPyEndBlockThreads(blocked); \
570 if (! found) \
571 rval = PCLASS::CBNAME(a,b); \
572 return rval; \
573 } \
574 bool base_##CBNAME(int a, int b) { \
575 return PCLASS::CBNAME(a,b); \
576 }
577
578
579
580 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
581 double CBNAME(int a, int b) { \
582 bool found; \
583 bool blocked = wxPyBeginBlockThreads(); \
584 double rval; \
585 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
586 PyObject* ro; \
587 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
588 if (ro) { \
589 PyObject* str = PyObject_Str(ro); \
590 rval = PyFloat_AsDouble(str); \
591 Py_DECREF(ro); Py_DECREF(str); \
592 } \
593 } \
594 wxPyEndBlockThreads(blocked); \
595 if (! found) \
596 rval = PCLASS::CBNAME(a, b); \
597 return rval; \
598 } \
599 double base_##CBNAME(int a, int b) { \
600 return PCLASS::CBNAME(a, b); \
601 }
602
603
604
605 #define PYCALLBACK__(PCLASS, CBNAME) \
606 void CBNAME() { \
607 bool found; \
608 bool blocked = wxPyBeginBlockThreads(); \
609 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
610 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
611 wxPyEndBlockThreads(blocked); \
612 if (! found) \
613 PCLASS::CBNAME(); \
614 } \
615 void base_##CBNAME() { \
616 PCLASS::CBNAME(); \
617 }
618
619
620
621
622 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
623 bool CBNAME(size_t a, size_t b) { \
624 bool rval = 0; \
625 bool found; \
626 bool blocked = wxPyBeginBlockThreads(); \
627 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
628 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
629 wxPyEndBlockThreads(blocked); \
630 if (! found) \
631 rval = PCLASS::CBNAME(a,b); \
632 return rval; \
633 } \
634 bool base_##CBNAME(size_t a, size_t b) { \
635 return PCLASS::CBNAME(a,b); \
636 }
637
638
639
640 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
641 bool CBNAME(size_t a) { \
642 bool rval = 0; \
643 bool found; \
644 bool blocked = wxPyBeginBlockThreads(); \
645 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
646 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
647 wxPyEndBlockThreads(blocked); \
648 if (! found) \
649 rval = PCLASS::CBNAME(a); \
650 return rval; \
651 } \
652 bool base_##CBNAME(size_t a) { \
653 return PCLASS::CBNAME(a); \
654 }
655
656
657 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
658 wxString CBNAME(int a) { \
659 bool found; \
660 bool blocked = wxPyBeginBlockThreads(); \
661 wxString rval; \
662 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
663 PyObject* ro; \
664 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
665 if (ro) { \
666 rval = Py2wxString(ro); \
667 Py_DECREF(ro); \
668 } \
669 } \
670 wxPyEndBlockThreads(blocked); \
671 if (! found) \
672 rval = PCLASS::CBNAME(a); \
673 return rval; \
674 } \
675 wxString base_##CBNAME(int a) { \
676 return PCLASS::CBNAME(a); \
677 }
678
679
680 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
681 void CBNAME(int a, const wxString& c) { \
682 bool found; \
683 bool blocked = wxPyBeginBlockThreads(); \
684 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
685 PyObject* s = wx2PyString(c); \
686 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
687 Py_DECREF(s); \
688 } \
689 wxPyEndBlockThreads(blocked); \
690 if (! found) \
691 PCLASS::CBNAME(a,c); \
692 } \
693 void base_##CBNAME(int a, const wxString& c) { \
694 PCLASS::CBNAME(a,c); \
695 }
696
697
698
699
700 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
701 bool CBNAME() { \
702 bool rval = 0; \
703 bool found; \
704 bool blocked = wxPyBeginBlockThreads(); \
705 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
706 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
707 wxPyEndBlockThreads(blocked); \
708 if (! found) \
709 rval = PCLASS::CBNAME(); \
710 return rval; \
711 } \
712 bool base_##CBNAME() { \
713 return PCLASS::CBNAME(); \
714 }
715
716
717
718 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
719 void CBNAME(size_t a, int b) { \
720 bool found; \
721 bool blocked = wxPyBeginBlockThreads(); \
722 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
723 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
724 wxPyEndBlockThreads(blocked); \
725 if (! found) \
726 PCLASS::CBNAME(a,b); \
727 } \
728 void base_##CBNAME(size_t a, int b) { \
729 PCLASS::CBNAME(a,b); \
730 }
731
732
733
734
735 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
736 void CBNAME(int a, int b, long c) { \
737 bool found; \
738 bool blocked = wxPyBeginBlockThreads(); \
739 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
740 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
741 wxPyEndBlockThreads(blocked); \
742 if (! found) \
743 PCLASS::CBNAME(a,b,c); \
744 } \
745 void base_##CBNAME(int a, int b, long c) { \
746 PCLASS::CBNAME(a,b,c); \
747 }
748
749
750
751
752 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
753 void CBNAME(int a, int b, double c) { \
754 bool found; \
755 bool blocked = wxPyBeginBlockThreads(); \
756 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
757 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
758 wxPyEndBlockThreads(blocked); \
759 if (! found) \
760 PCLASS::CBNAME(a,b,c); \
761 } \
762 void base_##CBNAME(int a, int b, double c) { \
763 PCLASS::CBNAME(a,b,c); \
764 }
765
766
767
768 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
769 void CBNAME(int a, int b, bool c) { \
770 bool found; \
771 bool blocked = wxPyBeginBlockThreads(); \
772 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
773 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
774 wxPyEndBlockThreads(blocked); \
775 if (! found) \
776 PCLASS::CBNAME(a,b,c); \
777 } \
778 void base_##CBNAME(int a, int b, bool c) { \
779 PCLASS::CBNAME(a,b,c); \
780 }
781
782
783
784
785
786
787 SWIGSTATICINLINE(PyObject *)
788 SWIG_FromCharPtr(const char* cptr)
789 {
790 if (cptr) {
791 size_t size = strlen(cptr);
792 if (size > INT_MAX) {
793 return SWIG_NewPointerObj(swig_const_cast(cptr,char*),
794 SWIG_TypeQuery("char *"), 0);
795 } else {
796 if (size != 0) {
797 return PyString_FromStringAndSize(cptr, size);
798 } else {
799 return PyString_FromString(cptr);
800 }
801 }
802 }
803 Py_INCREF(Py_None);
804 return Py_None;
805 }
806
807
808 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
809 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
810 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
811 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
812 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
813 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
814 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
815 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
816 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
817 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
818
819 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
820 if (!self->GetClientObject())
821 self->SetClientObject(new wxPyOORClientData(_self));
822 }
823
824 #include <limits.h>
825
826
827 SWIGSTATICINLINE(int)
828 SWIG_CheckLongInRange(long value, long min_value, long max_value,
829 const char *errmsg)
830 {
831 if (value < min_value) {
832 if (errmsg) {
833 PyErr_Format(PyExc_OverflowError,
834 "value %ld is less than '%s' minimum %ld",
835 value, errmsg, min_value);
836 }
837 return 0;
838 } else if (value > max_value) {
839 if (errmsg) {
840 PyErr_Format(PyExc_OverflowError,
841 "value %ld is greater than '%s' maximum %ld",
842 value, errmsg, max_value);
843 }
844 return 0;
845 }
846 return 1;
847 }
848
849
850 // See my_fragments.i
851 SWIGSTATICINLINE(int)
852 SWIG_AsVal_long(PyObject* obj, long* val)
853 {
854 if (PyNumber_Check(obj)) {
855 if (val) *val = PyInt_AsLong(obj);
856 return 1;
857 }
858 else {
859 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
860 obj->ob_type->tp_name);
861 PyErr_SetObject(PyExc_TypeError, errmsg);
862 Py_DECREF(errmsg);
863 }
864 return 0;
865 }
866
867
868 #if INT_MAX != LONG_MAX
869 SWIGSTATICINLINE(int)
870 SWIG_AsVal_int(PyObject *obj, int *val)
871 {
872 const char* errmsg = val ? "int" : 0;
873 long v;
874 if (SWIG_AsVal_long(obj, &v)) {
875 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
876 if (val) *val = swig_numeric_cast(v, int);
877 return 1;
878 } else {
879 return 0;
880 }
881 } else {
882 PyErr_Clear();
883 }
884 if (val) {
885 PyErr_SetString(PyExc_TypeError, "an int is expected");
886 }
887 return 0;
888 }
889 #else
890 SWIGSTATICINLINE(int)
891 SWIG_AsVal_int(PyObject *obj, int *val)
892 {
893 return SWIG_AsVal_long(obj,(long*)val);
894 }
895 #endif
896
897
898 SWIGSTATICINLINE(int)
899 SWIG_As_int(PyObject* obj)
900 {
901 int v;
902 if (!SWIG_AsVal_int(obj, &v)) {
903 /*
904 this is needed to make valgrind/purify happier. the other
905 solution is throw an exception, but since this code should work
906 with plain C ....
907 */
908 memset((void*)&v, 0, sizeof(int));
909 }
910 return v;
911 }
912
913
914 SWIGSTATICINLINE(int)
915 SWIG_AsVal_bool(PyObject *obj, bool *val)
916 {
917 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
918 if (obj == Py_True) {
919 if (val) *val = true;
920 return 1;
921 }
922 if (obj == Py_False) {
923 if (val) *val = false;
924 return 1;
925 }
926 int res = 0;
927 if (SWIG_AsVal_int(obj, &res)) {
928 if (val) *val = (bool)res;
929 return 1;
930 }
931 if (val) {
932 PyErr_SetString(PyExc_TypeError, "a bool is expected");
933 }
934 return 0;
935 }
936
937
938 SWIGSTATICINLINE(bool)
939 SWIG_As_bool(PyObject* obj)
940 {
941 bool v;
942 if (!SWIG_AsVal_bool(obj, &v)) {
943 /*
944 this is needed to make valgrind/purify happier. the other
945 solution is throw an exception, but since this code should work
946 with plain C ....
947 */
948 memset((void*)&v, 0, sizeof(bool));
949 }
950 return v;
951 }
952
953
954 SWIGSTATICINLINE(int)
955 SWIG_Check_int(PyObject* obj)
956 {
957 return SWIG_AsVal_int(obj, (int*)0);
958 }
959
960
961 SWIGSTATICINLINE(int)
962 SWIG_Check_bool(PyObject* obj)
963 {
964 return SWIG_AsVal_bool(obj, (bool*)0);
965 }
966
967
968 class wxPyGridCellRenderer : public wxGridCellRenderer
969 {
970 public:
971 wxPyGridCellRenderer() : wxGridCellRenderer() {};
972
973 // Implement Python callback aware virtual methods
974 void Draw(wxGrid& grid, wxGridCellAttr& attr,
975 wxDC& dc, const wxRect& rect,
976 int row, int col, bool isSelected) {
977 bool blocked = wxPyBeginBlockThreads();
978 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
979 PyObject* go = wxPyMake_wxObject(&grid,false);
980 PyObject* dco = wxPyMake_wxObject(&dc,false);
981 PyObject* ao = wxPyMake_wxGridCellAttr(&attr,false);
982 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
983
984 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
985 row, col, isSelected));
986 Py_DECREF(go);
987 Py_DECREF(ao);
988 Py_DECREF(dco);
989 Py_DECREF(ro);
990 }
991 wxPyEndBlockThreads(blocked);
992 }
993
994 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
995 int row, int col) {
996 wxSize rval;
997 bool blocked = wxPyBeginBlockThreads();
998 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
999 PyObject* ro;
1000 wxSize* ptr;
1001 PyObject* go = wxPyMake_wxObject(&grid,false);
1002 PyObject* dco = wxPyMake_wxObject(&dc,false);
1003 PyObject* ao = wxPyMake_wxGridCellAttr(&attr,false);
1004
1005 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
1006 go, ao, dco,
1007 row, col));
1008 Py_DECREF(go);
1009 Py_DECREF(ao);
1010 Py_DECREF(dco);
1011
1012 if (ro) {
1013 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
1014 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
1015 rval = *ptr;
1016 }
1017 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
1018 PyObject* o1 = PySequence_GetItem(ro, 0);
1019 PyObject* o2 = PySequence_GetItem(ro, 1);
1020 if (PyNumber_Check(o1) && PyNumber_Check(o2))
1021 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
1022 else
1023 PyErr_SetString(PyExc_TypeError, errmsg);
1024 Py_DECREF(o1);
1025 Py_DECREF(o2);
1026 }
1027 else {
1028 PyErr_SetString(PyExc_TypeError, errmsg);
1029 }
1030 Py_DECREF(ro);
1031 }
1032 }
1033 wxPyEndBlockThreads(blocked);
1034 return rval;
1035 }
1036
1037
1038 wxGridCellRenderer *Clone() const {
1039 wxGridCellRenderer* rval = NULL;
1040 bool blocked = wxPyBeginBlockThreads();
1041 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
1042 PyObject* ro;
1043 wxGridCellRenderer* ptr;
1044 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1045 if (ro) {
1046 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
1047 rval = ptr;
1048 Py_DECREF(ro);
1049 }
1050 }
1051 wxPyEndBlockThreads(blocked);
1052 return rval;
1053 }
1054
1055 DEC_PYCALLBACK__STRING(SetParameters);
1056
1057 PYPRIVATE;
1058 };
1059
1060 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
1061
1062
1063 void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
1064 if (!self->GetClientObject())
1065 self->SetClientObject(new wxPyOORClientData(_self));
1066 }
1067
1068 class wxPyGridCellEditor : public wxGridCellEditor
1069 {
1070 public:
1071 wxPyGridCellEditor() : wxGridCellEditor() {}
1072
1073 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
1074 bool blocked = wxPyBeginBlockThreads();
1075 if (wxPyCBH_findCallback(m_myInst, "Create")) {
1076 PyObject* po = wxPyMake_wxObject(parent,false);
1077 PyObject* eo = wxPyMake_wxObject(evtHandler,false);
1078
1079 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
1080 Py_DECREF(po);
1081 Py_DECREF(eo);
1082 }
1083 wxPyEndBlockThreads(blocked);
1084 }
1085
1086
1087 void BeginEdit(int row, int col, wxGrid* grid) {
1088 bool blocked = wxPyBeginBlockThreads();
1089 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
1090 PyObject* go = wxPyMake_wxObject(grid,false);
1091 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1092 Py_DECREF(go);
1093 }
1094 wxPyEndBlockThreads(blocked);
1095 }
1096
1097
1098 bool EndEdit(int row, int col, wxGrid* grid) {
1099 bool rv = False;
1100 bool blocked = wxPyBeginBlockThreads();
1101 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
1102 PyObject* go = wxPyMake_wxObject(grid,false);
1103 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1104 Py_DECREF(go);
1105 }
1106 wxPyEndBlockThreads(blocked);
1107 return rv;
1108 }
1109
1110
1111 wxGridCellEditor* Clone() const {
1112 wxGridCellEditor* rval = NULL;
1113 bool blocked = wxPyBeginBlockThreads();
1114 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
1115 PyObject* ro;
1116 wxGridCellEditor* ptr;
1117 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1118 if (ro) {
1119 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
1120 rval = ptr;
1121 Py_DECREF(ro);
1122 }
1123 }
1124 wxPyEndBlockThreads(blocked);
1125 return rval;
1126 }
1127
1128
1129 void Show(bool show, wxGridCellAttr *attr) {
1130 bool found;
1131 bool blocked = wxPyBeginBlockThreads();
1132 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
1133 PyObject* ao = wxPyMake_wxGridCellAttr(attr,false);
1134 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
1135 Py_DECREF(ao);
1136 }
1137 wxPyEndBlockThreads(blocked);
1138 if (! found)
1139 wxGridCellEditor::Show(show, attr);
1140 }
1141 void base_Show(bool show, wxGridCellAttr *attr) {
1142 wxGridCellEditor::Show(show, attr);
1143 }
1144
1145
1146 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1147 bool found;
1148 bool blocked = wxPyBeginBlockThreads();
1149 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
1150 PyObject* ao = wxPyMake_wxGridCellAttr(attr,false);
1151 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
1152
1153 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
1154
1155 Py_DECREF(ro);
1156 Py_DECREF(ao);
1157 }
1158 wxPyEndBlockThreads(blocked);
1159 if (! found)
1160 wxGridCellEditor::PaintBackground(rectCell, attr);
1161 }
1162 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1163 wxGridCellEditor::PaintBackground(rectCell, attr);
1164 }
1165
1166
1167 DEC_PYCALLBACK___pure(Reset);
1168 DEC_PYCALLBACK__constany(SetSize, wxRect);
1169 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
1170 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
1171 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
1172 DEC_PYCALLBACK__(StartingClick);
1173 DEC_PYCALLBACK__(Destroy);
1174 DEC_PYCALLBACK__STRING(SetParameters);
1175 DEC_PYCALLBACK_STRING__constpure(GetValue);
1176
1177 PYPRIVATE;
1178 };
1179
1180
1181 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
1182 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
1183 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
1184 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
1185 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
1186 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
1187 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
1188 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
1189 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
1190
1191
1192 void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
1193 if (!self->GetClientObject())
1194 self->SetClientObject(new wxPyOORClientData(_self));
1195 }
1196
1197 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1198 PyObject* o2;
1199 PyObject* o3;
1200
1201 if (!target) {
1202 target = o;
1203 } else if (target == Py_None) {
1204 Py_DECREF(Py_None);
1205 target = o;
1206 } else {
1207 o2 = target;
1208 target = PyTuple_New(1);
1209 PyTuple_SetItem(target, 0, o2);
1210
1211 o3 = PyTuple_New(1);
1212 PyTuple_SetItem(o3, 0, o);
1213
1214 o2 = target;
1215 target = PySequence_Concat(o2, o3);
1216 Py_DECREF(o2);
1217 Py_DECREF(o3);
1218 }
1219 return target;
1220 }
1221
1222
1223 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
1224 if (!self->GetClientObject())
1225 self->SetClientObject(new wxPyOORClientData(_self));
1226 }
1227
1228 // See my_fragments.i
1229 SWIGSTATICINLINE(int)
1230 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1231 {
1232 long v = 0;
1233 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1234 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
1235 return 0;
1236 }
1237 else if (val)
1238 *val = (unsigned long)v;
1239 return 1;
1240 }
1241
1242
1243 SWIGSTATICINLINE(unsigned long)
1244 SWIG_As_unsigned_SS_long(PyObject* obj)
1245 {
1246 unsigned long v;
1247 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1248 /*
1249 this is needed to make valgrind/purify happier. the other
1250 solution is throw an exception, but since this code should work
1251 with plain C ....
1252 */
1253 memset((void*)&v, 0, sizeof(unsigned long));
1254 }
1255 return v;
1256 }
1257
1258
1259 SWIGSTATICINLINE(int)
1260 SWIG_Check_unsigned_SS_long(PyObject* obj)
1261 {
1262 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1263 }
1264
1265
1266 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
1267 {
1268 public:
1269 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1270
1271 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
1272 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
1273 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
1274 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
1275
1276 PYPRIVATE;
1277 };
1278
1279 void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
1280 if (!self->GetClientObject())
1281 self->SetClientObject(new wxPyOORClientData(_self));
1282 }
1283
1284 SWIGSTATICINLINE(long)
1285 SWIG_As_long(PyObject* obj)
1286 {
1287 long v;
1288 if (!SWIG_AsVal_long(obj, &v)) {
1289 /*
1290 this is needed to make valgrind/purify happier. the other
1291 solution is throw an exception, but since this code should work
1292 with plain C ....
1293 */
1294 memset((void*)&v, 0, sizeof(long));
1295 }
1296 return v;
1297 }
1298
1299
1300 SWIGSTATICINLINE(int)
1301 SWIG_Check_long(PyObject* obj)
1302 {
1303 return SWIG_AsVal_long(obj, (long*)0);
1304 }
1305
1306
1307 // See my_fragments.i
1308 SWIGSTATICINLINE(int)
1309 SWIG_AsVal_double(PyObject *obj, double* val)
1310 {
1311 if (PyNumber_Check(obj)) {
1312 if (val) *val = PyFloat_AsDouble(obj);
1313 return 1;
1314 }
1315 else {
1316 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1317 obj->ob_type->tp_name);
1318 PyErr_SetObject(PyExc_TypeError, errmsg);
1319 Py_DECREF(errmsg);
1320 }
1321 return 0;
1322 }
1323
1324
1325 SWIGSTATICINLINE(double)
1326 SWIG_As_double(PyObject* obj)
1327 {
1328 double v;
1329 if (!SWIG_AsVal_double(obj, &v)) {
1330 /*
1331 this is needed to make valgrind/purify happier. the other
1332 solution is throw an exception, but since this code should work
1333 with plain C ....
1334 */
1335 memset((void*)&v, 0, sizeof(double));
1336 }
1337 return v;
1338 }
1339
1340
1341 SWIGSTATICINLINE(int)
1342 SWIG_Check_double(PyObject* obj)
1343 {
1344 return SWIG_AsVal_double(obj, (double*)0);
1345 }
1346
1347
1348 class wxPyGridTableBase : public wxGridTableBase
1349 {
1350 public:
1351 wxPyGridTableBase() : wxGridTableBase() {}
1352
1353 PYCALLBACK_INT__pure(GetNumberRows);
1354 PYCALLBACK_INT__pure(GetNumberCols);
1355 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1356 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1357 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1358 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1359 PYCALLBACK__(wxGridTableBase, Clear);
1360 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1361 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1362 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1363 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1364 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1365 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1366 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1367 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1368 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1369 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1370 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1371 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1372 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1373 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1374 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1375
1376
1377 wxString GetValue(int row, int col) {
1378 bool blocked = wxPyBeginBlockThreads();
1379 wxString rval;
1380 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1381 PyObject* ro;
1382 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1383 if (ro) {
1384 if (!PyString_Check(ro) && !PyUnicode_Check(ro)) {
1385 PyObject* old = ro;
1386 ro = PyObject_Str(ro);
1387 Py_DECREF(old);
1388 }
1389 rval = Py2wxString(ro);
1390 Py_DECREF(ro);
1391 }
1392 }
1393 wxPyEndBlockThreads(blocked);
1394 return rval;
1395 }
1396
1397 void SetValue(int row, int col, const wxString& val) {
1398 bool blocked = wxPyBeginBlockThreads();
1399 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1400 PyObject* s = wx2PyString(val);
1401 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1402 Py_DECREF(s);
1403 }
1404 wxPyEndBlockThreads(blocked);
1405 }
1406
1407
1408 // Map the Get/Set methods for the standard non-string types to
1409 // the GetValue and SetValue python methods.
1410 long GetValueAsLong( int row, int col ) {
1411 long rval = 0;
1412 bool blocked = wxPyBeginBlockThreads();
1413 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1414 PyObject* ro;
1415 PyObject* num;
1416 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1417 if (ro && PyNumber_Check(ro)) {
1418 num = PyNumber_Int(ro);
1419 if (num) {
1420 rval = PyInt_AsLong(num);
1421 Py_DECREF(num);
1422 }
1423 Py_DECREF(ro);
1424 }
1425 }
1426 wxPyEndBlockThreads(blocked);
1427 return rval;
1428 }
1429
1430 double GetValueAsDouble( int row, int col ) {
1431 double rval = 0.0;
1432 bool blocked = wxPyBeginBlockThreads();
1433 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1434 PyObject* ro;
1435 PyObject* num;
1436 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1437 if (ro && PyNumber_Check(ro)) {
1438 num = PyNumber_Float(ro);
1439 if (num) {
1440 rval = PyFloat_AsDouble(num);
1441 Py_DECREF(num);
1442 }
1443 Py_DECREF(ro);
1444 }
1445 }
1446 wxPyEndBlockThreads(blocked);
1447 return rval;
1448 }
1449
1450 bool GetValueAsBool( int row, int col ) {
1451 return (bool)GetValueAsLong(row, col);
1452 }
1453
1454 void SetValueAsLong( int row, int col, long value ) {
1455 bool blocked = wxPyBeginBlockThreads();
1456 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1457 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1458 }
1459 wxPyEndBlockThreads(blocked);
1460 }
1461
1462 void SetValueAsDouble( int row, int col, double value ) {
1463 bool blocked = wxPyBeginBlockThreads();
1464 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1465 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1466 }
1467 wxPyEndBlockThreads(blocked);
1468 }
1469
1470 void SetValueAsBool( int row, int col, bool value ) {
1471 SetValueAsLong( row, col, (long)value );
1472 }
1473
1474
1475 PYPRIVATE;
1476 };
1477
1478 void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
1479
1480 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1481
1482 if (source == Py_None) {
1483 **obj = wxGridCellCoords(-1,-1);
1484 return True;
1485 }
1486
1487 // If source is an object instance then it may already be the right type
1488 if (wxPySwigInstance_Check(source)) {
1489 wxGridCellCoords* ptr;
1490 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1491 goto error;
1492 *obj = ptr;
1493 return True;
1494 }
1495 // otherwise a 2-tuple of integers is expected
1496 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1497 PyObject* o1 = PySequence_GetItem(source, 0);
1498 PyObject* o2 = PySequence_GetItem(source, 1);
1499 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1500 Py_DECREF(o1);
1501 Py_DECREF(o2);
1502 goto error;
1503 }
1504 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1505 Py_DECREF(o1);
1506 Py_DECREF(o2);
1507 return True;
1508 }
1509
1510 error:
1511 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1512 return False;
1513 }
1514
1515
1516 bool wxGridCellCoords_typecheck(PyObject* source) {
1517 void* ptr;
1518
1519 if (wxPySwigInstance_Check(source) &&
1520 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1521 return True;
1522
1523 PyErr_Clear();
1524 if (PySequence_Check(source) && PySequence_Length(source) == 2)
1525 return True;
1526
1527 return False;
1528 }
1529
1530
1531 PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1532 {
1533 PyObject* list = PyList_New(0);
1534 size_t idx;
1535 for (idx = 0; idx < source.GetCount(); idx += 1) {
1536 wxGridCellCoords& coord = source.Item(idx);
1537 PyObject* tup = PyTuple_New(2);
1538 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1539 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1540 PyList_Append(list, tup);
1541 Py_DECREF(tup);
1542 }
1543 return list;
1544 }
1545
1546 PyObject *wxGridCellCoords_Get(wxGridCellCoords *self){
1547 PyObject* tup = PyTuple_New(2);
1548 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1549 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1550 return tup;
1551 }
1552
1553 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1554
1555
1556 wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1557 wxGridCellCoords rv;
1558 self->XYToCell(x, y, rv);
1559 return rv;
1560 }
1561 #ifdef __cplusplus
1562 extern "C" {
1563 #endif
1564 static int _wrap_DateTimeFormatStr_set(PyObject *) {
1565 PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
1566 return 1;
1567 }
1568
1569
1570 static PyObject *_wrap_DateTimeFormatStr_get() {
1571 PyObject *pyobj;
1572
1573 {
1574 #if wxUSE_UNICODE
1575 pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1576 #else
1577 pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1578 #endif
1579 }
1580 return pyobj;
1581 }
1582
1583
1584 static int _wrap_GridNoCellCoords_set(PyObject *) {
1585 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1586 return 1;
1587 }
1588
1589
1590 static PyObject *_wrap_GridNoCellCoords_get() {
1591 PyObject *pyobj;
1592
1593 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0);
1594 return pyobj;
1595 }
1596
1597
1598 static int _wrap_GridNoCellRect_set(PyObject *) {
1599 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1600 return 1;
1601 }
1602
1603
1604 static PyObject *_wrap_GridNoCellRect_get() {
1605 PyObject *pyobj;
1606
1607 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0);
1608 return pyobj;
1609 }
1610
1611
1612 static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
1613 PyObject *resultobj;
1614 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1615 PyObject *arg2 = (PyObject *) 0 ;
1616 PyObject * obj0 = 0 ;
1617 PyObject * obj1 = 0 ;
1618 char *kwnames[] = {
1619 (char *) "self",(char *) "_self", NULL
1620 };
1621
1622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1625 arg2 = obj1;
1626 {
1627 PyThreadState* __tstate = wxPyBeginAllowThreads();
1628 wxGridCellRenderer__setOORInfo(arg1,arg2);
1629
1630 wxPyEndAllowThreads(__tstate);
1631 if (PyErr_Occurred()) SWIG_fail;
1632 }
1633 Py_INCREF(Py_None); resultobj = Py_None;
1634 return resultobj;
1635 fail:
1636 return NULL;
1637 }
1638
1639
1640 static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
1641 PyObject *resultobj;
1642 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1643 wxString *arg2 = 0 ;
1644 bool temp2 = False ;
1645 PyObject * obj0 = 0 ;
1646 PyObject * obj1 = 0 ;
1647 char *kwnames[] = {
1648 (char *) "self",(char *) "params", NULL
1649 };
1650
1651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1654 {
1655 arg2 = wxString_in_helper(obj1);
1656 if (arg2 == NULL) SWIG_fail;
1657 temp2 = True;
1658 }
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 (arg1)->SetParameters((wxString const &)*arg2);
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 Py_INCREF(Py_None); resultobj = Py_None;
1667 {
1668 if (temp2)
1669 delete arg2;
1670 }
1671 return resultobj;
1672 fail:
1673 {
1674 if (temp2)
1675 delete arg2;
1676 }
1677 return NULL;
1678 }
1679
1680
1681 static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1684 PyObject * obj0 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
1690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 (arg1)->IncRef();
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 Py_INCREF(Py_None); resultobj = Py_None;
1700 return resultobj;
1701 fail:
1702 return NULL;
1703 }
1704
1705
1706 static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *, PyObject *args, PyObject *kwargs) {
1707 PyObject *resultobj;
1708 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1709 PyObject * obj0 = 0 ;
1710 char *kwnames[] = {
1711 (char *) "self", NULL
1712 };
1713
1714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
1715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1717 {
1718 PyThreadState* __tstate = wxPyBeginAllowThreads();
1719 (arg1)->DecRef();
1720
1721 wxPyEndAllowThreads(__tstate);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 }
1724 Py_INCREF(Py_None); resultobj = Py_None;
1725 return resultobj;
1726 fail:
1727 return NULL;
1728 }
1729
1730
1731 static PyObject *_wrap_GridCellRenderer_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
1732 PyObject *resultobj;
1733 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1734 wxGrid *arg2 = 0 ;
1735 wxGridCellAttr *arg3 = 0 ;
1736 wxDC *arg4 = 0 ;
1737 wxRect *arg5 = 0 ;
1738 int arg6 ;
1739 int arg7 ;
1740 bool arg8 ;
1741 wxRect temp5 ;
1742 PyObject * obj0 = 0 ;
1743 PyObject * obj1 = 0 ;
1744 PyObject * obj2 = 0 ;
1745 PyObject * obj3 = 0 ;
1746 PyObject * obj4 = 0 ;
1747 PyObject * obj5 = 0 ;
1748 PyObject * obj6 = 0 ;
1749 PyObject * obj7 = 0 ;
1750 char *kwnames[] = {
1751 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1752 };
1753
1754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1758 SWIG_POINTER_EXCEPTION | 0)) == -1)
1759 SWIG_fail;
1760 if (arg2 == NULL) {
1761 PyErr_SetString(PyExc_TypeError,"null reference");
1762 SWIG_fail;
1763 }
1764 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1765 SWIG_POINTER_EXCEPTION | 0)) == -1)
1766 SWIG_fail;
1767 if (arg3 == NULL) {
1768 PyErr_SetString(PyExc_TypeError,"null reference");
1769 SWIG_fail;
1770 }
1771 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1772 SWIG_POINTER_EXCEPTION | 0)) == -1)
1773 SWIG_fail;
1774 if (arg4 == NULL) {
1775 PyErr_SetString(PyExc_TypeError,"null reference");
1776 SWIG_fail;
1777 }
1778 {
1779 arg5 = &temp5;
1780 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1781 }
1782 arg6 = (int)SWIG_As_int(obj5);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 arg7 = (int)SWIG_As_int(obj6);
1785 if (PyErr_Occurred()) SWIG_fail;
1786 arg8 = (bool)SWIG_As_bool(obj7);
1787 if (PyErr_Occurred()) SWIG_fail;
1788 {
1789 PyThreadState* __tstate = wxPyBeginAllowThreads();
1790 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1791
1792 wxPyEndAllowThreads(__tstate);
1793 if (PyErr_Occurred()) SWIG_fail;
1794 }
1795 Py_INCREF(Py_None); resultobj = Py_None;
1796 return resultobj;
1797 fail:
1798 return NULL;
1799 }
1800
1801
1802 static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
1803 PyObject *resultobj;
1804 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1805 wxGrid *arg2 = 0 ;
1806 wxGridCellAttr *arg3 = 0 ;
1807 wxDC *arg4 = 0 ;
1808 int arg5 ;
1809 int arg6 ;
1810 wxSize result;
1811 PyObject * obj0 = 0 ;
1812 PyObject * obj1 = 0 ;
1813 PyObject * obj2 = 0 ;
1814 PyObject * obj3 = 0 ;
1815 PyObject * obj4 = 0 ;
1816 PyObject * obj5 = 0 ;
1817 char *kwnames[] = {
1818 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1819 };
1820
1821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1825 SWIG_POINTER_EXCEPTION | 0)) == -1)
1826 SWIG_fail;
1827 if (arg2 == NULL) {
1828 PyErr_SetString(PyExc_TypeError,"null reference");
1829 SWIG_fail;
1830 }
1831 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1832 SWIG_POINTER_EXCEPTION | 0)) == -1)
1833 SWIG_fail;
1834 if (arg3 == NULL) {
1835 PyErr_SetString(PyExc_TypeError,"null reference");
1836 SWIG_fail;
1837 }
1838 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1839 SWIG_POINTER_EXCEPTION | 0)) == -1)
1840 SWIG_fail;
1841 if (arg4 == NULL) {
1842 PyErr_SetString(PyExc_TypeError,"null reference");
1843 SWIG_fail;
1844 }
1845 arg5 = (int)SWIG_As_int(obj4);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 arg6 = (int)SWIG_As_int(obj5);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 {
1850 PyThreadState* __tstate = wxPyBeginAllowThreads();
1851 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1852
1853 wxPyEndAllowThreads(__tstate);
1854 if (PyErr_Occurred()) SWIG_fail;
1855 }
1856 {
1857 wxSize * resultptr;
1858 resultptr = new wxSize((wxSize &) result);
1859 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1860 }
1861 return resultobj;
1862 fail:
1863 return NULL;
1864 }
1865
1866
1867 static PyObject *_wrap_GridCellRenderer_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
1868 PyObject *resultobj;
1869 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1870 wxGridCellRenderer *result;
1871 PyObject * obj0 = 0 ;
1872 char *kwnames[] = {
1873 (char *) "self", NULL
1874 };
1875
1876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
1877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 {
1887 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
1888 }
1889 return resultobj;
1890 fail:
1891 return NULL;
1892 }
1893
1894
1895 static PyObject * GridCellRenderer_swigregister(PyObject *, PyObject *args) {
1896 PyObject *obj;
1897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1898 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1899 Py_INCREF(obj);
1900 return Py_BuildValue((char *)"");
1901 }
1902 static PyObject *_wrap_new_PyGridCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
1903 PyObject *resultobj;
1904 wxPyGridCellRenderer *result;
1905 char *kwnames[] = {
1906 NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1910 {
1911 PyThreadState* __tstate = wxPyBeginAllowThreads();
1912 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1913
1914 wxPyEndAllowThreads(__tstate);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 }
1917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellRenderer, 1);
1918 return resultobj;
1919 fail:
1920 return NULL;
1921 }
1922
1923
1924 static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
1925 PyObject *resultobj;
1926 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1927 PyObject *arg2 = (PyObject *) 0 ;
1928 PyObject *arg3 = (PyObject *) 0 ;
1929 PyObject * obj0 = 0 ;
1930 PyObject * obj1 = 0 ;
1931 PyObject * obj2 = 0 ;
1932 char *kwnames[] = {
1933 (char *) "self",(char *) "self",(char *) "_class", NULL
1934 };
1935
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1939 arg2 = obj1;
1940 arg3 = obj2;
1941 {
1942 PyThreadState* __tstate = wxPyBeginAllowThreads();
1943 (arg1)->_setCallbackInfo(arg2,arg3);
1944
1945 wxPyEndAllowThreads(__tstate);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 }
1948 Py_INCREF(Py_None); resultobj = Py_None;
1949 return resultobj;
1950 fail:
1951 return NULL;
1952 }
1953
1954
1955 static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
1956 PyObject *resultobj;
1957 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1958 wxString *arg2 = 0 ;
1959 bool temp2 = False ;
1960 PyObject * obj0 = 0 ;
1961 PyObject * obj1 = 0 ;
1962 char *kwnames[] = {
1963 (char *) "self",(char *) "params", NULL
1964 };
1965
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1969 {
1970 arg2 = wxString_in_helper(obj1);
1971 if (arg2 == NULL) SWIG_fail;
1972 temp2 = True;
1973 }
1974 {
1975 PyThreadState* __tstate = wxPyBeginAllowThreads();
1976 (arg1)->base_SetParameters((wxString const &)*arg2);
1977
1978 wxPyEndAllowThreads(__tstate);
1979 if (PyErr_Occurred()) SWIG_fail;
1980 }
1981 Py_INCREF(Py_None); resultobj = Py_None;
1982 {
1983 if (temp2)
1984 delete arg2;
1985 }
1986 return resultobj;
1987 fail:
1988 {
1989 if (temp2)
1990 delete arg2;
1991 }
1992 return NULL;
1993 }
1994
1995
1996 static PyObject * PyGridCellRenderer_swigregister(PyObject *, PyObject *args) {
1997 PyObject *obj;
1998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1999 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
2000 Py_INCREF(obj);
2001 return Py_BuildValue((char *)"");
2002 }
2003 static PyObject *_wrap_new_GridCellStringRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxGridCellStringRenderer *result;
2006 char *kwnames[] = {
2007 NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellStringRenderer, 1);
2019 return resultobj;
2020 fail:
2021 return NULL;
2022 }
2023
2024
2025 static PyObject * GridCellStringRenderer_swigregister(PyObject *, PyObject *args) {
2026 PyObject *obj;
2027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2028 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
2029 Py_INCREF(obj);
2030 return Py_BuildValue((char *)"");
2031 }
2032 static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxGridCellNumberRenderer *result;
2035 char *kwnames[] = {
2036 NULL
2037 };
2038
2039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
2040 {
2041 PyThreadState* __tstate = wxPyBeginAllowThreads();
2042 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
2043
2044 wxPyEndAllowThreads(__tstate);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberRenderer, 1);
2048 return resultobj;
2049 fail:
2050 return NULL;
2051 }
2052
2053
2054 static PyObject * GridCellNumberRenderer_swigregister(PyObject *, PyObject *args) {
2055 PyObject *obj;
2056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2057 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
2058 Py_INCREF(obj);
2059 return Py_BuildValue((char *)"");
2060 }
2061 static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
2062 PyObject *resultobj;
2063 int arg1 = (int) -1 ;
2064 int arg2 = (int) -1 ;
2065 wxGridCellFloatRenderer *result;
2066 PyObject * obj0 = 0 ;
2067 PyObject * obj1 = 0 ;
2068 char *kwnames[] = {
2069 (char *) "width",(char *) "precision", NULL
2070 };
2071
2072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail;
2073 if (obj0) {
2074 arg1 = (int)SWIG_As_int(obj0);
2075 if (PyErr_Occurred()) SWIG_fail;
2076 }
2077 if (obj1) {
2078 arg2 = (int)SWIG_As_int(obj1);
2079 if (PyErr_Occurred()) SWIG_fail;
2080 }
2081 {
2082 PyThreadState* __tstate = wxPyBeginAllowThreads();
2083 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
2084
2085 wxPyEndAllowThreads(__tstate);
2086 if (PyErr_Occurred()) SWIG_fail;
2087 }
2088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatRenderer, 1);
2089 return resultobj;
2090 fail:
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2098 int result;
2099 PyObject * obj0 = 0 ;
2100 char *kwnames[] = {
2101 (char *) "self", NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
2105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2107 {
2108 PyThreadState* __tstate = wxPyBeginAllowThreads();
2109 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
2110
2111 wxPyEndAllowThreads(__tstate);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 resultobj = SWIG_From_int((int)result);
2115 return resultobj;
2116 fail:
2117 return NULL;
2118 }
2119
2120
2121 static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2122 PyObject *resultobj;
2123 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2124 int arg2 ;
2125 PyObject * obj0 = 0 ;
2126 PyObject * obj1 = 0 ;
2127 char *kwnames[] = {
2128 (char *) "self",(char *) "width", NULL
2129 };
2130
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2134 arg2 = (int)SWIG_As_int(obj1);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 {
2137 PyThreadState* __tstate = wxPyBeginAllowThreads();
2138 (arg1)->SetWidth(arg2);
2139
2140 wxPyEndAllowThreads(__tstate);
2141 if (PyErr_Occurred()) SWIG_fail;
2142 }
2143 Py_INCREF(Py_None); resultobj = Py_None;
2144 return resultobj;
2145 fail:
2146 return NULL;
2147 }
2148
2149
2150 static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *, PyObject *args, PyObject *kwargs) {
2151 PyObject *resultobj;
2152 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2153 int result;
2154 PyObject * obj0 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "self", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
2160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
2164 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2169 resultobj = SWIG_From_int((int)result);
2170 return resultobj;
2171 fail:
2172 return NULL;
2173 }
2174
2175
2176 static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *, PyObject *args, PyObject *kwargs) {
2177 PyObject *resultobj;
2178 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2179 int arg2 ;
2180 PyObject * obj0 = 0 ;
2181 PyObject * obj1 = 0 ;
2182 char *kwnames[] = {
2183 (char *) "self",(char *) "precision", NULL
2184 };
2185
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&obj1)) goto fail;
2187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2189 arg2 = (int)SWIG_As_int(obj1);
2190 if (PyErr_Occurred()) SWIG_fail;
2191 {
2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
2193 (arg1)->SetPrecision(arg2);
2194
2195 wxPyEndAllowThreads(__tstate);
2196 if (PyErr_Occurred()) SWIG_fail;
2197 }
2198 Py_INCREF(Py_None); resultobj = Py_None;
2199 return resultobj;
2200 fail:
2201 return NULL;
2202 }
2203
2204
2205 static PyObject * GridCellFloatRenderer_swigregister(PyObject *, PyObject *args) {
2206 PyObject *obj;
2207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2208 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
2209 Py_INCREF(obj);
2210 return Py_BuildValue((char *)"");
2211 }
2212 static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
2213 PyObject *resultobj;
2214 wxGridCellBoolRenderer *result;
2215 char *kwnames[] = {
2216 NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolRenderer, 1);
2228 return resultobj;
2229 fail:
2230 return NULL;
2231 }
2232
2233
2234 static PyObject * GridCellBoolRenderer_swigregister(PyObject *, PyObject *args) {
2235 PyObject *obj;
2236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2237 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
2238 Py_INCREF(obj);
2239 return Py_BuildValue((char *)"");
2240 }
2241 static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
2242 PyObject *resultobj;
2243 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
2244 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
2245 wxGridCellDateTimeRenderer *result;
2246 PyObject * obj0 = 0 ;
2247 PyObject * obj1 = 0 ;
2248 char *kwnames[] = {
2249 (char *) "outformat",(char *) "informat", NULL
2250 };
2251
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
2253 if (obj0) {
2254 {
2255 wxString* sptr = wxString_in_helper(obj0);
2256 if (sptr == NULL) SWIG_fail;
2257 arg1 = *sptr;
2258 delete sptr;
2259 }
2260 }
2261 if (obj1) {
2262 {
2263 wxString* sptr = wxString_in_helper(obj1);
2264 if (sptr == NULL) SWIG_fail;
2265 arg2 = *sptr;
2266 delete sptr;
2267 }
2268 }
2269 {
2270 PyThreadState* __tstate = wxPyBeginAllowThreads();
2271 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
2272
2273 wxPyEndAllowThreads(__tstate);
2274 if (PyErr_Occurred()) SWIG_fail;
2275 }
2276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
2277 return resultobj;
2278 fail:
2279 return NULL;
2280 }
2281
2282
2283 static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *, PyObject *args) {
2284 PyObject *obj;
2285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2286 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
2287 Py_INCREF(obj);
2288 return Py_BuildValue((char *)"");
2289 }
2290 static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
2291 PyObject *resultobj;
2292 wxString const &arg1_defvalue = wxPyEmptyString ;
2293 wxString *arg1 = (wxString *) &arg1_defvalue ;
2294 wxGridCellEnumRenderer *result;
2295 bool temp1 = False ;
2296 PyObject * obj0 = 0 ;
2297 char *kwnames[] = {
2298 (char *) "choices", NULL
2299 };
2300
2301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
2302 if (obj0) {
2303 {
2304 arg1 = wxString_in_helper(obj0);
2305 if (arg1 == NULL) SWIG_fail;
2306 temp1 = True;
2307 }
2308 }
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumRenderer, 1);
2317 {
2318 if (temp1)
2319 delete arg1;
2320 }
2321 return resultobj;
2322 fail:
2323 {
2324 if (temp1)
2325 delete arg1;
2326 }
2327 return NULL;
2328 }
2329
2330
2331 static PyObject * GridCellEnumRenderer_swigregister(PyObject *, PyObject *args) {
2332 PyObject *obj;
2333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2334 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
2335 Py_INCREF(obj);
2336 return Py_BuildValue((char *)"");
2337 }
2338 static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
2339 PyObject *resultobj;
2340 wxGridCellAutoWrapStringRenderer *result;
2341 char *kwnames[] = {
2342 NULL
2343 };
2344
2345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
2346 {
2347 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
2349
2350 wxPyEndAllowThreads(__tstate);
2351 if (PyErr_Occurred()) SWIG_fail;
2352 }
2353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
2354 return resultobj;
2355 fail:
2356 return NULL;
2357 }
2358
2359
2360 static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *, PyObject *args) {
2361 PyObject *obj;
2362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2363 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
2364 Py_INCREF(obj);
2365 return Py_BuildValue((char *)"");
2366 }
2367 static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
2368 PyObject *resultobj;
2369 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2370 PyObject *arg2 = (PyObject *) 0 ;
2371 PyObject * obj0 = 0 ;
2372 PyObject * obj1 = 0 ;
2373 char *kwnames[] = {
2374 (char *) "self",(char *) "_self", NULL
2375 };
2376
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2380 arg2 = obj1;
2381 {
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 wxGridCellEditor__setOORInfo(arg1,arg2);
2384
2385 wxPyEndAllowThreads(__tstate);
2386 if (PyErr_Occurred()) SWIG_fail;
2387 }
2388 Py_INCREF(Py_None); resultobj = Py_None;
2389 return resultobj;
2390 fail:
2391 return NULL;
2392 }
2393
2394
2395 static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *, PyObject *args, PyObject *kwargs) {
2396 PyObject *resultobj;
2397 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2398 bool result;
2399 PyObject * obj0 = 0 ;
2400 char *kwnames[] = {
2401 (char *) "self", NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
2405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 result = (bool)(arg1)->IsCreated();
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 {
2415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2416 }
2417 return resultobj;
2418 fail:
2419 return NULL;
2420 }
2421
2422
2423 static PyObject *_wrap_GridCellEditor_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
2424 PyObject *resultobj;
2425 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2426 wxControl *result;
2427 PyObject * obj0 = 0 ;
2428 char *kwnames[] = {
2429 (char *) "self", NULL
2430 };
2431
2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
2433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2435 {
2436 PyThreadState* __tstate = wxPyBeginAllowThreads();
2437 result = (wxControl *)(arg1)->GetControl();
2438
2439 wxPyEndAllowThreads(__tstate);
2440 if (PyErr_Occurred()) SWIG_fail;
2441 }
2442 {
2443 resultobj = wxPyMake_wxObject(result, 0);
2444 }
2445 return resultobj;
2446 fail:
2447 return NULL;
2448 }
2449
2450
2451 static PyObject *_wrap_GridCellEditor_SetControl(PyObject *, PyObject *args, PyObject *kwargs) {
2452 PyObject *resultobj;
2453 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2454 wxControl *arg2 = (wxControl *) 0 ;
2455 PyObject * obj0 = 0 ;
2456 PyObject * obj1 = 0 ;
2457 char *kwnames[] = {
2458 (char *) "self",(char *) "control", NULL
2459 };
2460
2461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
2462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
2465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 (arg1)->SetControl(arg2);
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 Py_INCREF(Py_None); resultobj = Py_None;
2474 return resultobj;
2475 fail:
2476 return NULL;
2477 }
2478
2479
2480 static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
2481 PyObject *resultobj;
2482 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2483 wxGridCellAttr *result;
2484 PyObject * obj0 = 0 ;
2485 char *kwnames[] = {
2486 (char *) "self", NULL
2487 };
2488
2489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
2490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2492 {
2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
2494 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2495
2496 wxPyEndAllowThreads(__tstate);
2497 if (PyErr_Occurred()) SWIG_fail;
2498 }
2499 {
2500 resultobj = wxPyMake_wxGridCellAttr(result, 0);
2501 }
2502 return resultobj;
2503 fail:
2504 return NULL;
2505 }
2506
2507
2508 static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
2509 PyObject *resultobj;
2510 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2511 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2512 PyObject * obj0 = 0 ;
2513 PyObject * obj1 = 0 ;
2514 char *kwnames[] = {
2515 (char *) "self",(char *) "attr", NULL
2516 };
2517
2518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
2519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
2522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2523 {
2524 PyThreadState* __tstate = wxPyBeginAllowThreads();
2525 (arg1)->SetCellAttr(arg2);
2526
2527 wxPyEndAllowThreads(__tstate);
2528 if (PyErr_Occurred()) SWIG_fail;
2529 }
2530 Py_INCREF(Py_None); resultobj = Py_None;
2531 return resultobj;
2532 fail:
2533 return NULL;
2534 }
2535
2536
2537 static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
2538 PyObject *resultobj;
2539 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2540 wxString *arg2 = 0 ;
2541 bool temp2 = False ;
2542 PyObject * obj0 = 0 ;
2543 PyObject * obj1 = 0 ;
2544 char *kwnames[] = {
2545 (char *) "self",(char *) "params", NULL
2546 };
2547
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2551 {
2552 arg2 = wxString_in_helper(obj1);
2553 if (arg2 == NULL) SWIG_fail;
2554 temp2 = True;
2555 }
2556 {
2557 PyThreadState* __tstate = wxPyBeginAllowThreads();
2558 (arg1)->SetParameters((wxString const &)*arg2);
2559
2560 wxPyEndAllowThreads(__tstate);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 }
2563 Py_INCREF(Py_None); resultobj = Py_None;
2564 {
2565 if (temp2)
2566 delete arg2;
2567 }
2568 return resultobj;
2569 fail:
2570 {
2571 if (temp2)
2572 delete arg2;
2573 }
2574 return NULL;
2575 }
2576
2577
2578 static PyObject *_wrap_GridCellEditor_IncRef(PyObject *, PyObject *args, PyObject *kwargs) {
2579 PyObject *resultobj;
2580 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2581 PyObject * obj0 = 0 ;
2582 char *kwnames[] = {
2583 (char *) "self", NULL
2584 };
2585
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
2587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2589 {
2590 PyThreadState* __tstate = wxPyBeginAllowThreads();
2591 (arg1)->IncRef();
2592
2593 wxPyEndAllowThreads(__tstate);
2594 if (PyErr_Occurred()) SWIG_fail;
2595 }
2596 Py_INCREF(Py_None); resultobj = Py_None;
2597 return resultobj;
2598 fail:
2599 return NULL;
2600 }
2601
2602
2603 static PyObject *_wrap_GridCellEditor_DecRef(PyObject *, PyObject *args, PyObject *kwargs) {
2604 PyObject *resultobj;
2605 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2606 PyObject * obj0 = 0 ;
2607 char *kwnames[] = {
2608 (char *) "self", NULL
2609 };
2610
2611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
2612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2614 {
2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
2616 (arg1)->DecRef();
2617
2618 wxPyEndAllowThreads(__tstate);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 Py_INCREF(Py_None); resultobj = Py_None;
2622 return resultobj;
2623 fail:
2624 return NULL;
2625 }
2626
2627
2628 static PyObject *_wrap_GridCellEditor_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2629 PyObject *resultobj;
2630 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2631 wxWindow *arg2 = (wxWindow *) 0 ;
2632 int arg3 ;
2633 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2634 PyObject * obj0 = 0 ;
2635 PyObject * obj1 = 0 ;
2636 PyObject * obj2 = 0 ;
2637 PyObject * obj3 = 0 ;
2638 char *kwnames[] = {
2639 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2640 };
2641
2642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2647 arg3 = (int)SWIG_As_int(obj2);
2648 if (PyErr_Occurred()) SWIG_fail;
2649 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxEvtHandler,
2650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2651 {
2652 PyThreadState* __tstate = wxPyBeginAllowThreads();
2653 (arg1)->Create(arg2,arg3,arg4);
2654
2655 wxPyEndAllowThreads(__tstate);
2656 if (PyErr_Occurred()) SWIG_fail;
2657 }
2658 Py_INCREF(Py_None); resultobj = Py_None;
2659 return resultobj;
2660 fail:
2661 return NULL;
2662 }
2663
2664
2665 static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *, PyObject *args, PyObject *kwargs) {
2666 PyObject *resultobj;
2667 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2668 int arg2 ;
2669 int arg3 ;
2670 wxGrid *arg4 = (wxGrid *) 0 ;
2671 PyObject * obj0 = 0 ;
2672 PyObject * obj1 = 0 ;
2673 PyObject * obj2 = 0 ;
2674 PyObject * obj3 = 0 ;
2675 char *kwnames[] = {
2676 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2677 };
2678
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2682 arg2 = (int)SWIG_As_int(obj1);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 arg3 = (int)SWIG_As_int(obj2);
2685 if (PyErr_Occurred()) SWIG_fail;
2686 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2688 {
2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
2690 (arg1)->BeginEdit(arg2,arg3,arg4);
2691
2692 wxPyEndAllowThreads(__tstate);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 Py_INCREF(Py_None); resultobj = Py_None;
2696 return resultobj;
2697 fail:
2698 return NULL;
2699 }
2700
2701
2702 static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *, PyObject *args, PyObject *kwargs) {
2703 PyObject *resultobj;
2704 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2705 int arg2 ;
2706 int arg3 ;
2707 wxGrid *arg4 = (wxGrid *) 0 ;
2708 bool result;
2709 PyObject * obj0 = 0 ;
2710 PyObject * obj1 = 0 ;
2711 PyObject * obj2 = 0 ;
2712 PyObject * obj3 = 0 ;
2713 char *kwnames[] = {
2714 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2715 };
2716
2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_EndEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2720 arg2 = (int)SWIG_As_int(obj1);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 arg3 = (int)SWIG_As_int(obj2);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2726 {
2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
2728 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2729
2730 wxPyEndAllowThreads(__tstate);
2731 if (PyErr_Occurred()) SWIG_fail;
2732 }
2733 {
2734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2735 }
2736 return resultobj;
2737 fail:
2738 return NULL;
2739 }
2740
2741
2742 static PyObject *_wrap_GridCellEditor_Reset(PyObject *, PyObject *args, PyObject *kwargs) {
2743 PyObject *resultobj;
2744 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2745 PyObject * obj0 = 0 ;
2746 char *kwnames[] = {
2747 (char *) "self", NULL
2748 };
2749
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
2751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2753 {
2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
2755 (arg1)->Reset();
2756
2757 wxPyEndAllowThreads(__tstate);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 }
2760 Py_INCREF(Py_None); resultobj = Py_None;
2761 return resultobj;
2762 fail:
2763 return NULL;
2764 }
2765
2766
2767 static PyObject *_wrap_GridCellEditor_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
2768 PyObject *resultobj;
2769 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2770 wxGridCellEditor *result;
2771 PyObject * obj0 = 0 ;
2772 char *kwnames[] = {
2773 (char *) "self", NULL
2774 };
2775
2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
2777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2779 {
2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
2781 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2782
2783 wxPyEndAllowThreads(__tstate);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 {
2787 resultobj = wxPyMake_wxGridCellEditor(result, 0);
2788 }
2789 return resultobj;
2790 fail:
2791 return NULL;
2792 }
2793
2794
2795 static PyObject *_wrap_GridCellEditor_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
2796 PyObject *resultobj;
2797 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2798 wxRect *arg2 = 0 ;
2799 wxRect temp2 ;
2800 PyObject * obj0 = 0 ;
2801 PyObject * obj1 = 0 ;
2802 char *kwnames[] = {
2803 (char *) "self",(char *) "rect", NULL
2804 };
2805
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
2807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2809 {
2810 arg2 = &temp2;
2811 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2812 }
2813 {
2814 PyThreadState* __tstate = wxPyBeginAllowThreads();
2815 (arg1)->SetSize((wxRect const &)*arg2);
2816
2817 wxPyEndAllowThreads(__tstate);
2818 if (PyErr_Occurred()) SWIG_fail;
2819 }
2820 Py_INCREF(Py_None); resultobj = Py_None;
2821 return resultobj;
2822 fail:
2823 return NULL;
2824 }
2825
2826
2827 static PyObject *_wrap_GridCellEditor_Show(PyObject *, PyObject *args, PyObject *kwargs) {
2828 PyObject *resultobj;
2829 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2830 bool arg2 ;
2831 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2832 PyObject * obj0 = 0 ;
2833 PyObject * obj1 = 0 ;
2834 PyObject * obj2 = 0 ;
2835 char *kwnames[] = {
2836 (char *) "self",(char *) "show",(char *) "attr", NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2842 arg2 = (bool)SWIG_As_bool(obj1);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 if (obj2) {
2845 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2847 }
2848 {
2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2850 (arg1)->Show(arg2,arg3);
2851
2852 wxPyEndAllowThreads(__tstate);
2853 if (PyErr_Occurred()) SWIG_fail;
2854 }
2855 Py_INCREF(Py_None); resultobj = Py_None;
2856 return resultobj;
2857 fail:
2858 return NULL;
2859 }
2860
2861
2862 static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *, PyObject *args, PyObject *kwargs) {
2863 PyObject *resultobj;
2864 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2865 wxRect *arg2 = 0 ;
2866 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2867 wxRect temp2 ;
2868 PyObject * obj0 = 0 ;
2869 PyObject * obj1 = 0 ;
2870 PyObject * obj2 = 0 ;
2871 char *kwnames[] = {
2872 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2873 };
2874
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2878 {
2879 arg2 = &temp2;
2880 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2881 }
2882 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 Py_INCREF(Py_None); resultobj = Py_None;
2892 return resultobj;
2893 fail:
2894 return NULL;
2895 }
2896
2897
2898 static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2901 wxKeyEvent *arg2 = 0 ;
2902 bool result;
2903 PyObject * obj0 = 0 ;
2904 PyObject * obj1 = 0 ;
2905 char *kwnames[] = {
2906 (char *) "self",(char *) "event", NULL
2907 };
2908
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2912 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2913 SWIG_POINTER_EXCEPTION | 0)) == -1)
2914 SWIG_fail;
2915 if (arg2 == NULL) {
2916 PyErr_SetString(PyExc_TypeError,"null reference");
2917 SWIG_fail;
2918 }
2919 {
2920 PyThreadState* __tstate = wxPyBeginAllowThreads();
2921 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2922
2923 wxPyEndAllowThreads(__tstate);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 }
2926 {
2927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2928 }
2929 return resultobj;
2930 fail:
2931 return NULL;
2932 }
2933
2934
2935 static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *, PyObject *args, PyObject *kwargs) {
2936 PyObject *resultobj;
2937 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2938 wxKeyEvent *arg2 = 0 ;
2939 PyObject * obj0 = 0 ;
2940 PyObject * obj1 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "self",(char *) "event", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2949 SWIG_POINTER_EXCEPTION | 0)) == -1)
2950 SWIG_fail;
2951 if (arg2 == NULL) {
2952 PyErr_SetString(PyExc_TypeError,"null reference");
2953 SWIG_fail;
2954 }
2955 {
2956 PyThreadState* __tstate = wxPyBeginAllowThreads();
2957 (arg1)->StartingKey(*arg2);
2958
2959 wxPyEndAllowThreads(__tstate);
2960 if (PyErr_Occurred()) SWIG_fail;
2961 }
2962 Py_INCREF(Py_None); resultobj = Py_None;
2963 return resultobj;
2964 fail:
2965 return NULL;
2966 }
2967
2968
2969 static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *, PyObject *args, PyObject *kwargs) {
2970 PyObject *resultobj;
2971 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2972 PyObject * obj0 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
2978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 (arg1)->StartingClick();
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 Py_INCREF(Py_None); resultobj = Py_None;
2988 return resultobj;
2989 fail:
2990 return NULL;
2991 }
2992
2993
2994 static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *, PyObject *args, PyObject *kwargs) {
2995 PyObject *resultobj;
2996 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2997 wxKeyEvent *arg2 = 0 ;
2998 PyObject * obj0 = 0 ;
2999 PyObject * obj1 = 0 ;
3000 char *kwnames[] = {
3001 (char *) "self",(char *) "event", NULL
3002 };
3003
3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
3005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
3006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3008 SWIG_POINTER_EXCEPTION | 0)) == -1)
3009 SWIG_fail;
3010 if (arg2 == NULL) {
3011 PyErr_SetString(PyExc_TypeError,"null reference");
3012 SWIG_fail;
3013 }
3014 {
3015 PyThreadState* __tstate = wxPyBeginAllowThreads();
3016 (arg1)->HandleReturn(*arg2);
3017
3018 wxPyEndAllowThreads(__tstate);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
3021 Py_INCREF(Py_None); resultobj = Py_None;
3022 return resultobj;
3023 fail:
3024 return NULL;
3025 }
3026
3027
3028 static PyObject *_wrap_GridCellEditor_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
3029 PyObject *resultobj;
3030 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3031 PyObject * obj0 = 0 ;
3032 char *kwnames[] = {
3033 (char *) "self", NULL
3034 };
3035
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
3037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
3038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3039 {
3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
3041 (arg1)->Destroy();
3042
3043 wxPyEndAllowThreads(__tstate);
3044 if (PyErr_Occurred()) SWIG_fail;
3045 }
3046 Py_INCREF(Py_None); resultobj = Py_None;
3047 return resultobj;
3048 fail:
3049 return NULL;
3050 }
3051
3052
3053 static PyObject * GridCellEditor_swigregister(PyObject *, PyObject *args) {
3054 PyObject *obj;
3055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3056 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
3057 Py_INCREF(obj);
3058 return Py_BuildValue((char *)"");
3059 }
3060 static PyObject *_wrap_new_PyGridCellEditor(PyObject *, PyObject *args, PyObject *kwargs) {
3061 PyObject *resultobj;
3062 wxPyGridCellEditor *result;
3063 char *kwnames[] = {
3064 NULL
3065 };
3066
3067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
3068 {
3069 PyThreadState* __tstate = wxPyBeginAllowThreads();
3070 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
3071
3072 wxPyEndAllowThreads(__tstate);
3073 if (PyErr_Occurred()) SWIG_fail;
3074 }
3075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellEditor, 1);
3076 return resultobj;
3077 fail:
3078 return NULL;
3079 }
3080
3081
3082 static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3083 PyObject *resultobj;
3084 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3085 PyObject *arg2 = (PyObject *) 0 ;
3086 PyObject *arg3 = (PyObject *) 0 ;
3087 PyObject * obj0 = 0 ;
3088 PyObject * obj1 = 0 ;
3089 PyObject * obj2 = 0 ;
3090 char *kwnames[] = {
3091 (char *) "self",(char *) "self",(char *) "_class", NULL
3092 };
3093
3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3097 arg2 = obj1;
3098 arg3 = obj2;
3099 {
3100 PyThreadState* __tstate = wxPyBeginAllowThreads();
3101 (arg1)->_setCallbackInfo(arg2,arg3);
3102
3103 wxPyEndAllowThreads(__tstate);
3104 if (PyErr_Occurred()) SWIG_fail;
3105 }
3106 Py_INCREF(Py_None); resultobj = Py_None;
3107 return resultobj;
3108 fail:
3109 return NULL;
3110 }
3111
3112
3113 static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
3114 PyObject *resultobj;
3115 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3116 wxRect *arg2 = 0 ;
3117 wxRect temp2 ;
3118 PyObject * obj0 = 0 ;
3119 PyObject * obj1 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "self",(char *) "rect", NULL
3122 };
3123
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
3125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3127 {
3128 arg2 = &temp2;
3129 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3130 }
3131 {
3132 PyThreadState* __tstate = wxPyBeginAllowThreads();
3133 (arg1)->base_SetSize((wxRect const &)*arg2);
3134
3135 wxPyEndAllowThreads(__tstate);
3136 if (PyErr_Occurred()) SWIG_fail;
3137 }
3138 Py_INCREF(Py_None); resultobj = Py_None;
3139 return resultobj;
3140 fail:
3141 return NULL;
3142 }
3143
3144
3145 static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *, PyObject *args, PyObject *kwargs) {
3146 PyObject *resultobj;
3147 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3148 bool arg2 ;
3149 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
3150 PyObject * obj0 = 0 ;
3151 PyObject * obj1 = 0 ;
3152 PyObject * obj2 = 0 ;
3153 char *kwnames[] = {
3154 (char *) "self",(char *) "show",(char *) "attr", NULL
3155 };
3156
3157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
3158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3160 arg2 = (bool)SWIG_As_bool(obj1);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 if (obj2) {
3163 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3165 }
3166 {
3167 PyThreadState* __tstate = wxPyBeginAllowThreads();
3168 (arg1)->base_Show(arg2,arg3);
3169
3170 wxPyEndAllowThreads(__tstate);
3171 if (PyErr_Occurred()) SWIG_fail;
3172 }
3173 Py_INCREF(Py_None); resultobj = Py_None;
3174 return resultobj;
3175 fail:
3176 return NULL;
3177 }
3178
3179
3180 static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *, PyObject *args, PyObject *kwargs) {
3181 PyObject *resultobj;
3182 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3183 wxRect *arg2 = 0 ;
3184 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
3185 wxRect temp2 ;
3186 PyObject * obj0 = 0 ;
3187 PyObject * obj1 = 0 ;
3188 PyObject * obj2 = 0 ;
3189 char *kwnames[] = {
3190 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3191 };
3192
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3196 {
3197 arg2 = &temp2;
3198 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3199 }
3200 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 Py_INCREF(Py_None); resultobj = Py_None;
3210 return resultobj;
3211 fail:
3212 return NULL;
3213 }
3214
3215
3216 static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *, PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj;
3218 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3219 wxKeyEvent *arg2 = 0 ;
3220 bool result;
3221 PyObject * obj0 = 0 ;
3222 PyObject * obj1 = 0 ;
3223 char *kwnames[] = {
3224 (char *) "self",(char *) "event", NULL
3225 };
3226
3227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
3228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3231 SWIG_POINTER_EXCEPTION | 0)) == -1)
3232 SWIG_fail;
3233 if (arg2 == NULL) {
3234 PyErr_SetString(PyExc_TypeError,"null reference");
3235 SWIG_fail;
3236 }
3237 {
3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
3239 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
3240
3241 wxPyEndAllowThreads(__tstate);
3242 if (PyErr_Occurred()) SWIG_fail;
3243 }
3244 {
3245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3246 }
3247 return resultobj;
3248 fail:
3249 return NULL;
3250 }
3251
3252
3253 static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *, PyObject *args, PyObject *kwargs) {
3254 PyObject *resultobj;
3255 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3256 wxKeyEvent *arg2 = 0 ;
3257 PyObject * obj0 = 0 ;
3258 PyObject * obj1 = 0 ;
3259 char *kwnames[] = {
3260 (char *) "self",(char *) "event", NULL
3261 };
3262
3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
3264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3267 SWIG_POINTER_EXCEPTION | 0)) == -1)
3268 SWIG_fail;
3269 if (arg2 == NULL) {
3270 PyErr_SetString(PyExc_TypeError,"null reference");
3271 SWIG_fail;
3272 }
3273 {
3274 PyThreadState* __tstate = wxPyBeginAllowThreads();
3275 (arg1)->base_StartingKey(*arg2);
3276
3277 wxPyEndAllowThreads(__tstate);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 }
3280 Py_INCREF(Py_None); resultobj = Py_None;
3281 return resultobj;
3282 fail:
3283 return NULL;
3284 }
3285
3286
3287 static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *, PyObject *args, PyObject *kwargs) {
3288 PyObject *resultobj;
3289 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3290 PyObject * obj0 = 0 ;
3291 char *kwnames[] = {
3292 (char *) "self", NULL
3293 };
3294
3295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
3296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3298 {
3299 PyThreadState* __tstate = wxPyBeginAllowThreads();
3300 (arg1)->base_StartingClick();
3301
3302 wxPyEndAllowThreads(__tstate);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 Py_INCREF(Py_None); resultobj = Py_None;
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3315 wxKeyEvent *arg2 = 0 ;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "event", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3326 SWIG_POINTER_EXCEPTION | 0)) == -1)
3327 SWIG_fail;
3328 if (arg2 == NULL) {
3329 PyErr_SetString(PyExc_TypeError,"null reference");
3330 SWIG_fail;
3331 }
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 (arg1)->base_HandleReturn(*arg2);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 Py_INCREF(Py_None); resultobj = Py_None;
3340 return resultobj;
3341 fail:
3342 return NULL;
3343 }
3344
3345
3346 static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj;
3348 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3349 PyObject * obj0 = 0 ;
3350 char *kwnames[] = {
3351 (char *) "self", NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
3355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3357 {
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 (arg1)->base_Destroy();
3360
3361 wxPyEndAllowThreads(__tstate);
3362 if (PyErr_Occurred()) SWIG_fail;
3363 }
3364 Py_INCREF(Py_None); resultobj = Py_None;
3365 return resultobj;
3366 fail:
3367 return NULL;
3368 }
3369
3370
3371 static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
3372 PyObject *resultobj;
3373 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3374 wxString *arg2 = 0 ;
3375 bool temp2 = False ;
3376 PyObject * obj0 = 0 ;
3377 PyObject * obj1 = 0 ;
3378 char *kwnames[] = {
3379 (char *) "self",(char *) "params", NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
3383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3385 {
3386 arg2 = wxString_in_helper(obj1);
3387 if (arg2 == NULL) SWIG_fail;
3388 temp2 = True;
3389 }
3390 {
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 (arg1)->base_SetParameters((wxString const &)*arg2);
3393
3394 wxPyEndAllowThreads(__tstate);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 Py_INCREF(Py_None); resultobj = Py_None;
3398 {
3399 if (temp2)
3400 delete arg2;
3401 }
3402 return resultobj;
3403 fail:
3404 {
3405 if (temp2)
3406 delete arg2;
3407 }
3408 return NULL;
3409 }
3410
3411
3412 static PyObject * PyGridCellEditor_swigregister(PyObject *, PyObject *args) {
3413 PyObject *obj;
3414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3415 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
3416 Py_INCREF(obj);
3417 return Py_BuildValue((char *)"");
3418 }
3419 static PyObject *_wrap_new_GridCellTextEditor(PyObject *, PyObject *args, PyObject *kwargs) {
3420 PyObject *resultobj;
3421 wxGridCellTextEditor *result;
3422 char *kwnames[] = {
3423 NULL
3424 };
3425
3426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
3427 {
3428 PyThreadState* __tstate = wxPyBeginAllowThreads();
3429 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
3430
3431 wxPyEndAllowThreads(__tstate);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellTextEditor, 1);
3435 return resultobj;
3436 fail:
3437 return NULL;
3438 }
3439
3440
3441 static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3442 PyObject *resultobj;
3443 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
3444 wxString result;
3445 PyObject * obj0 = 0 ;
3446 char *kwnames[] = {
3447 (char *) "self", NULL
3448 };
3449
3450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
3451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellTextEditor,
3452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3453 {
3454 PyThreadState* __tstate = wxPyBeginAllowThreads();
3455 result = (arg1)->GetValue();
3456
3457 wxPyEndAllowThreads(__tstate);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
3460 {
3461 #if wxUSE_UNICODE
3462 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3463 #else
3464 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3465 #endif
3466 }
3467 return resultobj;
3468 fail:
3469 return NULL;
3470 }
3471
3472
3473 static PyObject * GridCellTextEditor_swigregister(PyObject *, PyObject *args) {
3474 PyObject *obj;
3475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3476 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
3477 Py_INCREF(obj);
3478 return Py_BuildValue((char *)"");
3479 }
3480 static PyObject *_wrap_new_GridCellNumberEditor(PyObject *, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 int arg1 = (int) -1 ;
3483 int arg2 = (int) -1 ;
3484 wxGridCellNumberEditor *result;
3485 PyObject * obj0 = 0 ;
3486 PyObject * obj1 = 0 ;
3487 char *kwnames[] = {
3488 (char *) "min",(char *) "max", NULL
3489 };
3490
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail;
3492 if (obj0) {
3493 arg1 = (int)SWIG_As_int(obj0);
3494 if (PyErr_Occurred()) SWIG_fail;
3495 }
3496 if (obj1) {
3497 arg2 = (int)SWIG_As_int(obj1);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberEditor, 1);
3508 return resultobj;
3509 fail:
3510 return NULL;
3511 }
3512
3513
3514 static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3515 PyObject *resultobj;
3516 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
3517 wxString result;
3518 PyObject * obj0 = 0 ;
3519 char *kwnames[] = {
3520 (char *) "self", NULL
3521 };
3522
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
3524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellNumberEditor,
3525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3526 {
3527 PyThreadState* __tstate = wxPyBeginAllowThreads();
3528 result = (arg1)->GetValue();
3529
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 {
3534 #if wxUSE_UNICODE
3535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3536 #else
3537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3538 #endif
3539 }
3540 return resultobj;
3541 fail:
3542 return NULL;
3543 }
3544
3545
3546 static PyObject * GridCellNumberEditor_swigregister(PyObject *, PyObject *args) {
3547 PyObject *obj;
3548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3549 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3550 Py_INCREF(obj);
3551 return Py_BuildValue((char *)"");
3552 }
3553 static PyObject *_wrap_new_GridCellFloatEditor(PyObject *, PyObject *args, PyObject *kwargs) {
3554 PyObject *resultobj;
3555 int arg1 = (int) -1 ;
3556 int arg2 = (int) -1 ;
3557 wxGridCellFloatEditor *result;
3558 PyObject * obj0 = 0 ;
3559 PyObject * obj1 = 0 ;
3560 char *kwnames[] = {
3561 (char *) "width",(char *) "precision", NULL
3562 };
3563
3564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatEditor",kwnames,&obj0,&obj1)) goto fail;
3565 if (obj0) {
3566 arg1 = (int)SWIG_As_int(obj0);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 if (obj1) {
3570 arg2 = (int)SWIG_As_int(obj1);
3571 if (PyErr_Occurred()) SWIG_fail;
3572 }
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor(arg1,arg2);
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatEditor, 1);
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3590 wxString result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatEditor,
3598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (arg1)->GetValue();
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 {
3607 #if wxUSE_UNICODE
3608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3609 #else
3610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3611 #endif
3612 }
3613 return resultobj;
3614 fail:
3615 return NULL;
3616 }
3617
3618
3619 static PyObject * GridCellFloatEditor_swigregister(PyObject *, PyObject *args) {
3620 PyObject *obj;
3621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3622 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3623 Py_INCREF(obj);
3624 return Py_BuildValue((char *)"");
3625 }
3626 static PyObject *_wrap_new_GridCellBoolEditor(PyObject *, PyObject *args, PyObject *kwargs) {
3627 PyObject *resultobj;
3628 wxGridCellBoolEditor *result;
3629 char *kwnames[] = {
3630 NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolEditor, 1);
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3651 wxString result;
3652 PyObject * obj0 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
3658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellBoolEditor,
3659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (arg1)->GetValue();
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 {
3668 #if wxUSE_UNICODE
3669 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3670 #else
3671 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3672 #endif
3673 }
3674 return resultobj;
3675 fail:
3676 return NULL;
3677 }
3678
3679
3680 static PyObject * GridCellBoolEditor_swigregister(PyObject *, PyObject *args) {
3681 PyObject *obj;
3682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3683 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3684 Py_INCREF(obj);
3685 return Py_BuildValue((char *)"");
3686 }
3687 static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *, PyObject *args, PyObject *kwargs) {
3688 PyObject *resultobj;
3689 int arg1 = (int) 0 ;
3690 wxString *arg2 = (wxString *) NULL ;
3691 bool arg3 = (bool) False ;
3692 wxGridCellChoiceEditor *result;
3693 PyObject * obj0 = 0 ;
3694 PyObject * obj1 = 0 ;
3695 char *kwnames[] = {
3696 (char *) "choices",(char *) "allowOthers", NULL
3697 };
3698
3699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3700 if (obj0) {
3701 {
3702 arg1 = PyList_Size(obj0);
3703 arg2 = wxString_LIST_helper(obj0);
3704 if (arg2 == NULL) SWIG_fail;
3705 }
3706 }
3707 if (obj1) {
3708 arg3 = (bool)SWIG_As_bool(obj1);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 }
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3714
3715 wxPyEndAllowThreads(__tstate);
3716 if (PyErr_Occurred()) SWIG_fail;
3717 }
3718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellChoiceEditor, 1);
3719 {
3720 if (arg2) delete [] arg2;
3721 }
3722 return resultobj;
3723 fail:
3724 {
3725 if (arg2) delete [] arg2;
3726 }
3727 return NULL;
3728 }
3729
3730
3731 static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3732 PyObject *resultobj;
3733 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3734 wxString result;
3735 PyObject * obj0 = 0 ;
3736 char *kwnames[] = {
3737 (char *) "self", NULL
3738 };
3739
3740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
3741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellChoiceEditor,
3742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3743 {
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 result = (arg1)->GetValue();
3746
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 {
3751 #if wxUSE_UNICODE
3752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3753 #else
3754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3755 #endif
3756 }
3757 return resultobj;
3758 fail:
3759 return NULL;
3760 }
3761
3762
3763 static PyObject * GridCellChoiceEditor_swigregister(PyObject *, PyObject *args) {
3764 PyObject *obj;
3765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3766 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3767 Py_INCREF(obj);
3768 return Py_BuildValue((char *)"");
3769 }
3770 static PyObject *_wrap_new_GridCellEnumEditor(PyObject *, PyObject *args, PyObject *kwargs) {
3771 PyObject *resultobj;
3772 wxString const &arg1_defvalue = wxPyEmptyString ;
3773 wxString *arg1 = (wxString *) &arg1_defvalue ;
3774 wxGridCellEnumEditor *result;
3775 bool temp1 = False ;
3776 PyObject * obj0 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "choices", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3782 if (obj0) {
3783 {
3784 arg1 = wxString_in_helper(obj0);
3785 if (arg1 == NULL) SWIG_fail;
3786 temp1 = True;
3787 }
3788 }
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) SWIG_fail;
3795 }
3796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumEditor, 1);
3797 {
3798 if (temp1)
3799 delete arg1;
3800 }
3801 return resultobj;
3802 fail:
3803 {
3804 if (temp1)
3805 delete arg1;
3806 }
3807 return NULL;
3808 }
3809
3810
3811 static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3812 PyObject *resultobj;
3813 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3814 wxString result;
3815 PyObject * obj0 = 0 ;
3816 char *kwnames[] = {
3817 (char *) "self", NULL
3818 };
3819
3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
3821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEnumEditor,
3822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 result = (arg1)->GetValue();
3826
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 {
3831 #if wxUSE_UNICODE
3832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3833 #else
3834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3835 #endif
3836 }
3837 return resultobj;
3838 fail:
3839 return NULL;
3840 }
3841
3842
3843 static PyObject * GridCellEnumEditor_swigregister(PyObject *, PyObject *args) {
3844 PyObject *obj;
3845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3846 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3847 Py_INCREF(obj);
3848 return Py_BuildValue((char *)"");
3849 }
3850 static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *, PyObject *args, PyObject *kwargs) {
3851 PyObject *resultobj;
3852 wxGridCellAutoWrapStringEditor *result;
3853 char *kwnames[] = {
3854 NULL
3855 };
3856
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3875 wxString result;
3876 PyObject * obj0 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "self", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
3882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAutoWrapStringEditor,
3883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3884 {
3885 PyThreadState* __tstate = wxPyBeginAllowThreads();
3886 result = (arg1)->GetValue();
3887
3888 wxPyEndAllowThreads(__tstate);
3889 if (PyErr_Occurred()) SWIG_fail;
3890 }
3891 {
3892 #if wxUSE_UNICODE
3893 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3894 #else
3895 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3896 #endif
3897 }
3898 return resultobj;
3899 fail:
3900 return NULL;
3901 }
3902
3903
3904 static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *, PyObject *args) {
3905 PyObject *obj;
3906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3907 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3908 Py_INCREF(obj);
3909 return Py_BuildValue((char *)"");
3910 }
3911 static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
3912 PyObject *resultobj;
3913 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3914 PyObject *arg2 = (PyObject *) 0 ;
3915 PyObject * obj0 = 0 ;
3916 PyObject * obj1 = 0 ;
3917 char *kwnames[] = {
3918 (char *) "self",(char *) "_self", NULL
3919 };
3920
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
3922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3924 arg2 = obj1;
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 wxGridCellAttr__setOORInfo(arg1,arg2);
3928
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 Py_INCREF(Py_None); resultobj = Py_None;
3933 return resultobj;
3934 fail:
3935 return NULL;
3936 }
3937
3938
3939 static PyObject *_wrap_new_GridCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj;
3941 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3942 wxGridCellAttr *result;
3943 PyObject * obj0 = 0 ;
3944 char *kwnames[] = {
3945 (char *) "attrDefault", NULL
3946 };
3947
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3949 if (obj0) {
3950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3952 }
3953 {
3954 PyThreadState* __tstate = wxPyBeginAllowThreads();
3955 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3956
3957 wxPyEndAllowThreads(__tstate);
3958 if (PyErr_Occurred()) SWIG_fail;
3959 }
3960 {
3961 resultobj = wxPyMake_wxGridCellAttr(result, 1);
3962 }
3963 return resultobj;
3964 fail:
3965 return NULL;
3966 }
3967
3968
3969 static PyObject *_wrap_GridCellAttr_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
3970 PyObject *resultobj;
3971 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3972 wxGridCellAttr *result;
3973 PyObject * obj0 = 0 ;
3974 char *kwnames[] = {
3975 (char *) "self", NULL
3976 };
3977
3978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
3979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
3983 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 {
3989 resultobj = wxPyMake_wxGridCellAttr(result, 0);
3990 }
3991 return resultobj;
3992 fail:
3993 return NULL;
3994 }
3995
3996
3997 static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *, PyObject *args, PyObject *kwargs) {
3998 PyObject *resultobj;
3999 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4000 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4001 PyObject * obj0 = 0 ;
4002 PyObject * obj1 = 0 ;
4003 char *kwnames[] = {
4004 (char *) "self",(char *) "mergefrom", NULL
4005 };
4006
4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
4008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4012 {
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 (arg1)->MergeWith(arg2);
4015
4016 wxPyEndAllowThreads(__tstate);
4017 if (PyErr_Occurred()) SWIG_fail;
4018 }
4019 Py_INCREF(Py_None); resultobj = Py_None;
4020 return resultobj;
4021 fail:
4022 return NULL;
4023 }
4024
4025
4026 static PyObject *_wrap_GridCellAttr_IncRef(PyObject *, PyObject *args, PyObject *kwargs) {
4027 PyObject *resultobj;
4028 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4029 PyObject * obj0 = 0 ;
4030 char *kwnames[] = {
4031 (char *) "self", NULL
4032 };
4033
4034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
4035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 (arg1)->IncRef();
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 Py_INCREF(Py_None); resultobj = Py_None;
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_GridCellAttr_DecRef(PyObject *, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "self", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
4060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->DecRef();
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4079 wxColour *arg2 = 0 ;
4080 wxColour temp2 ;
4081 PyObject * obj0 = 0 ;
4082 PyObject * obj1 = 0 ;
4083 char *kwnames[] = {
4084 (char *) "self",(char *) "colText", NULL
4085 };
4086
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
4088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4090 {
4091 arg2 = &temp2;
4092 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4093 }
4094 {
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 (arg1)->SetTextColour((wxColour const &)*arg2);
4097
4098 wxPyEndAllowThreads(__tstate);
4099 if (PyErr_Occurred()) SWIG_fail;
4100 }
4101 Py_INCREF(Py_None); resultobj = Py_None;
4102 return resultobj;
4103 fail:
4104 return NULL;
4105 }
4106
4107
4108 static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
4109 PyObject *resultobj;
4110 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4111 wxColour *arg2 = 0 ;
4112 wxColour temp2 ;
4113 PyObject * obj0 = 0 ;
4114 PyObject * obj1 = 0 ;
4115 char *kwnames[] = {
4116 (char *) "self",(char *) "colBack", NULL
4117 };
4118
4119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
4120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4122 {
4123 arg2 = &temp2;
4124 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4125 }
4126 {
4127 PyThreadState* __tstate = wxPyBeginAllowThreads();
4128 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
4129
4130 wxPyEndAllowThreads(__tstate);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 }
4133 Py_INCREF(Py_None); resultobj = Py_None;
4134 return resultobj;
4135 fail:
4136 return NULL;
4137 }
4138
4139
4140 static PyObject *_wrap_GridCellAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
4141 PyObject *resultobj;
4142 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4143 wxFont *arg2 = 0 ;
4144 PyObject * obj0 = 0 ;
4145 PyObject * obj1 = 0 ;
4146 char *kwnames[] = {
4147 (char *) "self",(char *) "font", NULL
4148 };
4149
4150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
4151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
4154 SWIG_POINTER_EXCEPTION | 0)) == -1)
4155 SWIG_fail;
4156 if (arg2 == NULL) {
4157 PyErr_SetString(PyExc_TypeError,"null reference");
4158 SWIG_fail;
4159 }
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 (arg1)->SetFont((wxFont const &)*arg2);
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 Py_INCREF(Py_None); resultobj = Py_None;
4168 return resultobj;
4169 fail:
4170 return NULL;
4171 }
4172
4173
4174 static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
4175 PyObject *resultobj;
4176 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4177 int arg2 ;
4178 int arg3 ;
4179 PyObject * obj0 = 0 ;
4180 PyObject * obj1 = 0 ;
4181 PyObject * obj2 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
4187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4189 arg2 = (int)SWIG_As_int(obj1);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 arg3 = (int)SWIG_As_int(obj2);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 (arg1)->SetAlignment(arg2,arg3);
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 Py_INCREF(Py_None); resultobj = Py_None;
4201 return resultobj;
4202 fail:
4203 return NULL;
4204 }
4205
4206
4207 static PyObject *_wrap_GridCellAttr_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
4208 PyObject *resultobj;
4209 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4210 int arg2 ;
4211 int arg3 ;
4212 PyObject * obj0 = 0 ;
4213 PyObject * obj1 = 0 ;
4214 PyObject * obj2 = 0 ;
4215 char *kwnames[] = {
4216 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4217 };
4218
4219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4222 arg2 = (int)SWIG_As_int(obj1);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 arg3 = (int)SWIG_As_int(obj2);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 (arg1)->SetSize(arg2,arg3);
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 Py_INCREF(Py_None); resultobj = Py_None;
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4243 bool arg2 = (bool) True ;
4244 PyObject * obj0 = 0 ;
4245 PyObject * obj1 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "allow", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4253 if (obj1) {
4254 arg2 = (bool)SWIG_As_bool(obj1);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 (arg1)->SetOverflow(arg2);
4260
4261 wxPyEndAllowThreads(__tstate);
4262 if (PyErr_Occurred()) SWIG_fail;
4263 }
4264 Py_INCREF(Py_None); resultobj = Py_None;
4265 return resultobj;
4266 fail:
4267 return NULL;
4268 }
4269
4270
4271 static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
4272 PyObject *resultobj;
4273 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4274 bool arg2 = (bool) True ;
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj1 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "self",(char *) "isReadOnly", NULL
4279 };
4280
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
4282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4284 if (obj1) {
4285 arg2 = (bool)SWIG_As_bool(obj1);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 (arg1)->SetReadOnly(arg2);
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 Py_INCREF(Py_None); resultobj = Py_None;
4296 return resultobj;
4297 fail:
4298 return NULL;
4299 }
4300
4301
4302 static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
4303 PyObject *resultobj;
4304 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4305 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
4308 char *kwnames[] = {
4309 (char *) "self",(char *) "renderer", NULL
4310 };
4311
4312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
4313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
4316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4317 {
4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
4319 (arg1)->SetRenderer(arg2);
4320
4321 wxPyEndAllowThreads(__tstate);
4322 if (PyErr_Occurred()) SWIG_fail;
4323 }
4324 Py_INCREF(Py_None); resultobj = Py_None;
4325 return resultobj;
4326 fail:
4327 return NULL;
4328 }
4329
4330
4331 static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *, PyObject *args, PyObject *kwargs) {
4332 PyObject *resultobj;
4333 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4334 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
4335 PyObject * obj0 = 0 ;
4336 PyObject * obj1 = 0 ;
4337 char *kwnames[] = {
4338 (char *) "self",(char *) "editor", NULL
4339 };
4340
4341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
4342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
4345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4346 {
4347 PyThreadState* __tstate = wxPyBeginAllowThreads();
4348 (arg1)->SetEditor(arg2);
4349
4350 wxPyEndAllowThreads(__tstate);
4351 if (PyErr_Occurred()) SWIG_fail;
4352 }
4353 Py_INCREF(Py_None); resultobj = Py_None;
4354 return resultobj;
4355 fail:
4356 return NULL;
4357 }
4358
4359
4360 static PyObject *_wrap_GridCellAttr_SetKind(PyObject *, PyObject *args, PyObject *kwargs) {
4361 PyObject *resultobj;
4362 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4363 int arg2 ;
4364 PyObject * obj0 = 0 ;
4365 PyObject * obj1 = 0 ;
4366 char *kwnames[] = {
4367 (char *) "self",(char *) "kind", NULL
4368 };
4369
4370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
4371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4373 arg2 = (int)SWIG_As_int(obj1);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 Py_INCREF(Py_None); resultobj = Py_None;
4383 return resultobj;
4384 fail:
4385 return NULL;
4386 }
4387
4388
4389 static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
4390 PyObject *resultobj;
4391 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4392 bool result;
4393 PyObject * obj0 = 0 ;
4394 char *kwnames[] = {
4395 (char *) "self", NULL
4396 };
4397
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
4399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 {
4409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4410 }
4411 return resultobj;
4412 fail:
4413 return NULL;
4414 }
4415
4416
4417 static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4420 bool result;
4421 PyObject * obj0 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "self", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
4427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
4432
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 {
4437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4438 }
4439 return resultobj;
4440 fail:
4441 return NULL;
4442 }
4443
4444
4445 static PyObject *_wrap_GridCellAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
4446 PyObject *resultobj;
4447 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4448 bool result;
4449 PyObject * obj0 = 0 ;
4450 char *kwnames[] = {
4451 (char *) "self", NULL
4452 };
4453
4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
4455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 {
4465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4466 }
4467 return resultobj;
4468 fail:
4469 return NULL;
4470 }
4471
4472
4473 static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
4474 PyObject *resultobj;
4475 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4476 bool result;
4477 PyObject * obj0 = 0 ;
4478 char *kwnames[] = {
4479 (char *) "self", NULL
4480 };
4481
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
4483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4485 {
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
4488
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 {
4493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4494 }
4495 return resultobj;
4496 fail:
4497 return NULL;
4498 }
4499
4500
4501 static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4504 bool result;
4505 PyObject * obj0 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
4511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 {
4521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4522 }
4523 return resultobj;
4524 fail:
4525 return NULL;
4526 }
4527
4528
4529 static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *, PyObject *args, PyObject *kwargs) {
4530 PyObject *resultobj;
4531 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4532 bool result;
4533 PyObject * obj0 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "self", NULL
4536 };
4537
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
4539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 {
4549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4550 }
4551 return resultobj;
4552 fail:
4553 return NULL;
4554 }
4555
4556
4557 static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4560 bool result;
4561 PyObject * obj0 = 0 ;
4562 char *kwnames[] = {
4563 (char *) "self", NULL
4564 };
4565
4566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
4567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4569 {
4570 PyThreadState* __tstate = wxPyBeginAllowThreads();
4571 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
4572
4573 wxPyEndAllowThreads(__tstate);
4574 if (PyErr_Occurred()) SWIG_fail;
4575 }
4576 {
4577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4578 }
4579 return resultobj;
4580 fail:
4581 return NULL;
4582 }
4583
4584
4585 static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *, PyObject *args, PyObject *kwargs) {
4586 PyObject *resultobj;
4587 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4588 bool result;
4589 PyObject * obj0 = 0 ;
4590 char *kwnames[] = {
4591 (char *) "self", NULL
4592 };
4593
4594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
4595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4597 {
4598 PyThreadState* __tstate = wxPyBeginAllowThreads();
4599 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4600
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 {
4605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4606 }
4607 return resultobj;
4608 fail:
4609 return NULL;
4610 }
4611
4612
4613 static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj;
4615 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4616 wxColour result;
4617 PyObject * obj0 = 0 ;
4618 char *kwnames[] = {
4619 (char *) "self", NULL
4620 };
4621
4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
4623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4625 {
4626 PyThreadState* __tstate = wxPyBeginAllowThreads();
4627 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4628
4629 wxPyEndAllowThreads(__tstate);
4630 if (PyErr_Occurred()) SWIG_fail;
4631 }
4632 {
4633 wxColour * resultptr;
4634 resultptr = new wxColour((wxColour &) result);
4635 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4636 }
4637 return resultobj;
4638 fail:
4639 return NULL;
4640 }
4641
4642
4643 static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj;
4645 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4646 wxColour result;
4647 PyObject * obj0 = 0 ;
4648 char *kwnames[] = {
4649 (char *) "self", NULL
4650 };
4651
4652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
4653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4655 {
4656 PyThreadState* __tstate = wxPyBeginAllowThreads();
4657 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4658
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 {
4663 wxColour * resultptr;
4664 resultptr = new wxColour((wxColour &) result);
4665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4666 }
4667 return resultobj;
4668 fail:
4669 return NULL;
4670 }
4671
4672
4673 static PyObject *_wrap_GridCellAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4676 wxFont result;
4677 PyObject * obj0 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
4683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 result = ((wxGridCellAttr const *)arg1)->GetFont();
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 {
4693 wxFont * resultptr;
4694 resultptr = new wxFont((wxFont &) result);
4695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
4696 }
4697 return resultobj;
4698 fail:
4699 return NULL;
4700 }
4701
4702
4703 static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
4704 PyObject *resultobj;
4705 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4706 int *arg2 = (int *) 0 ;
4707 int *arg3 = (int *) 0 ;
4708 int temp2 ;
4709 int res2 = 0 ;
4710 int temp3 ;
4711 int res3 = 0 ;
4712 PyObject * obj0 = 0 ;
4713 char *kwnames[] = {
4714 (char *) "self", NULL
4715 };
4716
4717 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4718 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
4720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 Py_INCREF(Py_None); resultobj = Py_None;
4730 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4731 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4732 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4733 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
4734 return resultobj;
4735 fail:
4736 return NULL;
4737 }
4738
4739
4740 static PyObject *_wrap_GridCellAttr_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
4741 PyObject *resultobj;
4742 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4743 int *arg2 = (int *) 0 ;
4744 int *arg3 = (int *) 0 ;
4745 int temp2 ;
4746 int res2 = 0 ;
4747 int temp3 ;
4748 int res3 = 0 ;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self", NULL
4752 };
4753
4754 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4755 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
4757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4759 {
4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
4761 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
4766 Py_INCREF(Py_None); resultobj = Py_None;
4767 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4768 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4769 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4770 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
4771 return resultobj;
4772 fail:
4773 return NULL;
4774 }
4775
4776
4777 static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
4778 PyObject *resultobj;
4779 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4780 bool result;
4781 PyObject * obj0 = 0 ;
4782 char *kwnames[] = {
4783 (char *) "self", NULL
4784 };
4785
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
4787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 {
4797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4798 }
4799 return resultobj;
4800 fail:
4801 return NULL;
4802 }
4803
4804
4805 static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4808 wxGrid *arg2 = (wxGrid *) 0 ;
4809 int arg3 ;
4810 int arg4 ;
4811 wxGridCellRenderer *result;
4812 PyObject * obj0 = 0 ;
4813 PyObject * obj1 = 0 ;
4814 PyObject * obj2 = 0 ;
4815 PyObject * obj3 = 0 ;
4816 char *kwnames[] = {
4817 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4818 };
4819
4820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4825 arg3 = (int)SWIG_As_int(obj2);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 arg4 = (int)SWIG_As_int(obj3);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 {
4837 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
4838 }
4839 return resultobj;
4840 fail:
4841 return NULL;
4842 }
4843
4844
4845 static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4848 wxGrid *arg2 = (wxGrid *) 0 ;
4849 int arg3 ;
4850 int arg4 ;
4851 wxGridCellEditor *result;
4852 PyObject * obj0 = 0 ;
4853 PyObject * obj1 = 0 ;
4854 PyObject * obj2 = 0 ;
4855 PyObject * obj3 = 0 ;
4856 char *kwnames[] = {
4857 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4858 };
4859
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4865 arg3 = (int)SWIG_As_int(obj2);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 arg4 = (int)SWIG_As_int(obj3);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 {
4877 resultobj = wxPyMake_wxGridCellEditor(result, 0);
4878 }
4879 return resultobj;
4880 fail:
4881 return NULL;
4882 }
4883
4884
4885 static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
4886 PyObject *resultobj;
4887 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4888 bool result;
4889 PyObject * obj0 = 0 ;
4890 char *kwnames[] = {
4891 (char *) "self", NULL
4892 };
4893
4894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
4895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4897 {
4898 PyThreadState* __tstate = wxPyBeginAllowThreads();
4899 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4900
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 {
4905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4906 }
4907 return resultobj;
4908 fail:
4909 return NULL;
4910 }
4911
4912
4913 static PyObject *_wrap_GridCellAttr_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj;
4915 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4916 int result;
4917 PyObject * obj0 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "self", NULL
4920 };
4921
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetKind",kwnames,&obj0)) goto fail;
4923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 result = (int)(arg1)->GetKind();
4928
4929 wxPyEndAllowThreads(__tstate);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4932 resultobj = SWIG_From_int((int)result);
4933 return resultobj;
4934 fail:
4935 return NULL;
4936 }
4937
4938
4939 static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4942 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4943 PyObject * obj0 = 0 ;
4944 PyObject * obj1 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self",(char *) "defAttr", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
4950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 (arg1)->SetDefAttr(arg2);
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 Py_INCREF(Py_None); resultobj = Py_None;
4962 return resultobj;
4963 fail:
4964 return NULL;
4965 }
4966
4967
4968 static PyObject * GridCellAttr_swigregister(PyObject *, PyObject *args) {
4969 PyObject *obj;
4970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4971 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4972 Py_INCREF(obj);
4973 return Py_BuildValue((char *)"");
4974 }
4975 static PyObject *_wrap_new_GridCellAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
4976 PyObject *resultobj;
4977 wxGridCellAttrProvider *result;
4978 char *kwnames[] = {
4979 NULL
4980 };
4981
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 {
4991 resultobj = wxPyMake_wxGridCellAttrProvider(result, 1);
4992 }
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5002 PyObject *arg2 = (PyObject *) 0 ;
5003 PyObject * obj0 = 0 ;
5004 PyObject * obj1 = 0 ;
5005 char *kwnames[] = {
5006 (char *) "self",(char *) "_self", NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
5010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5012 arg2 = obj1;
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 Py_INCREF(Py_None); resultobj = Py_None;
5021 return resultobj;
5022 fail:
5023 return NULL;
5024 }
5025
5026
5027 static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
5028 PyObject *resultobj;
5029 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5030 int arg2 ;
5031 int arg3 ;
5032 int arg4 ;
5033 wxGridCellAttr *result;
5034 PyObject * obj0 = 0 ;
5035 PyObject * obj1 = 0 ;
5036 PyObject * obj2 = 0 ;
5037 PyObject * obj3 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5045 arg2 = (int)SWIG_As_int(obj1);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 arg3 = (int)SWIG_As_int(obj2);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 arg4 = (int)SWIG_As_int(obj3);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5054
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 {
5059 resultobj = wxPyMake_wxGridCellAttr(result, 0);
5060 }
5061 return resultobj;
5062 fail:
5063 return NULL;
5064 }
5065
5066
5067 static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5070 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5071 int arg3 ;
5072 int arg4 ;
5073 PyObject * obj0 = 0 ;
5074 PyObject * obj1 = 0 ;
5075 PyObject * obj2 = 0 ;
5076 PyObject * obj3 = 0 ;
5077 char *kwnames[] = {
5078 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5079 };
5080
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5084 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5086 arg3 = (int)SWIG_As_int(obj2);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 arg4 = (int)SWIG_As_int(obj3);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 (arg1)->SetAttr(arg2,arg3,arg4);
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 Py_INCREF(Py_None); resultobj = Py_None;
5098 return resultobj;
5099 fail:
5100 return NULL;
5101 }
5102
5103
5104 static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5107 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5108 int arg3 ;
5109 PyObject * obj0 = 0 ;
5110 PyObject * obj1 = 0 ;
5111 PyObject * obj2 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self",(char *) "attr",(char *) "row", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
5117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5119 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5121 arg3 = (int)SWIG_As_int(obj2);
5122 if (PyErr_Occurred()) SWIG_fail;
5123 {
5124 PyThreadState* __tstate = wxPyBeginAllowThreads();
5125 (arg1)->SetRowAttr(arg2,arg3);
5126
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 Py_INCREF(Py_None); resultobj = Py_None;
5131 return resultobj;
5132 fail:
5133 return NULL;
5134 }
5135
5136
5137 static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
5138 PyObject *resultobj;
5139 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5140 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5141 int arg3 ;
5142 PyObject * obj0 = 0 ;
5143 PyObject * obj1 = 0 ;
5144 PyObject * obj2 = 0 ;
5145 char *kwnames[] = {
5146 (char *) "self",(char *) "attr",(char *) "col", NULL
5147 };
5148
5149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
5150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5154 arg3 = (int)SWIG_As_int(obj2);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 (arg1)->SetColAttr(arg2,arg3);
5159
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 Py_INCREF(Py_None); resultobj = Py_None;
5164 return resultobj;
5165 fail:
5166 return NULL;
5167 }
5168
5169
5170 static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *, PyObject *args, PyObject *kwargs) {
5171 PyObject *resultobj;
5172 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5173 size_t arg2 ;
5174 int arg3 ;
5175 PyObject * obj0 = 0 ;
5176 PyObject * obj1 = 0 ;
5177 PyObject * obj2 = 0 ;
5178 char *kwnames[] = {
5179 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5180 };
5181
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
5183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5185 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 arg3 = (int)SWIG_As_int(obj2);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 (arg1)->UpdateAttrRows(arg2,arg3);
5192
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 Py_INCREF(Py_None); resultobj = Py_None;
5197 return resultobj;
5198 fail:
5199 return NULL;
5200 }
5201
5202
5203 static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5206 size_t arg2 ;
5207 int arg3 ;
5208 PyObject * obj0 = 0 ;
5209 PyObject * obj1 = 0 ;
5210 PyObject * obj2 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
5216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5218 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 arg3 = (int)SWIG_As_int(obj2);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 (arg1)->UpdateAttrCols(arg2,arg3);
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 Py_INCREF(Py_None); resultobj = Py_None;
5230 return resultobj;
5231 fail:
5232 return NULL;
5233 }
5234
5235
5236 static PyObject * GridCellAttrProvider_swigregister(PyObject *, PyObject *args) {
5237 PyObject *obj;
5238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5239 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
5240 Py_INCREF(obj);
5241 return Py_BuildValue((char *)"");
5242 }
5243 static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj;
5245 wxPyGridCellAttrProvider *result;
5246 char *kwnames[] = {
5247 NULL
5248 };
5249
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
5259 return resultobj;
5260 fail:
5261 return NULL;
5262 }
5263
5264
5265 static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5266 PyObject *resultobj;
5267 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5268 PyObject *arg2 = (PyObject *) 0 ;
5269 PyObject *arg3 = (PyObject *) 0 ;
5270 PyObject * obj0 = 0 ;
5271 PyObject * obj1 = 0 ;
5272 PyObject * obj2 = 0 ;
5273 char *kwnames[] = {
5274 (char *) "self",(char *) "self",(char *) "_class", NULL
5275 };
5276
5277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5280 arg2 = obj1;
5281 arg3 = obj2;
5282 {
5283 PyThreadState* __tstate = wxPyBeginAllowThreads();
5284 (arg1)->_setCallbackInfo(arg2,arg3);
5285
5286 wxPyEndAllowThreads(__tstate);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 }
5289 Py_INCREF(Py_None); resultobj = Py_None;
5290 return resultobj;
5291 fail:
5292 return NULL;
5293 }
5294
5295
5296 static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
5297 PyObject *resultobj;
5298 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5299 int arg2 ;
5300 int arg3 ;
5301 int arg4 ;
5302 wxGridCellAttr *result;
5303 PyObject * obj0 = 0 ;
5304 PyObject * obj1 = 0 ;
5305 PyObject * obj2 = 0 ;
5306 PyObject * obj3 = 0 ;
5307 char *kwnames[] = {
5308 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5309 };
5310
5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5314 arg2 = (int)SWIG_As_int(obj1);
5315 if (PyErr_Occurred()) SWIG_fail;
5316 arg3 = (int)SWIG_As_int(obj2);
5317 if (PyErr_Occurred()) SWIG_fail;
5318 arg4 = (int)SWIG_As_int(obj3);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 {
5328 resultobj = wxPyMake_wxGridCellAttr(result, 0);
5329 }
5330 return resultobj;
5331 fail:
5332 return NULL;
5333 }
5334
5335
5336 static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
5337 PyObject *resultobj;
5338 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5339 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5340 int arg3 ;
5341 int arg4 ;
5342 PyObject * obj0 = 0 ;
5343 PyObject * obj1 = 0 ;
5344 PyObject * obj2 = 0 ;
5345 PyObject * obj3 = 0 ;
5346 char *kwnames[] = {
5347 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5348 };
5349
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5355 arg3 = (int)SWIG_As_int(obj2);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 arg4 = (int)SWIG_As_int(obj3);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 {
5360 PyThreadState* __tstate = wxPyBeginAllowThreads();
5361 (arg1)->base_SetAttr(arg2,arg3,arg4);
5362
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 Py_INCREF(Py_None); resultobj = Py_None;
5367 return resultobj;
5368 fail:
5369 return NULL;
5370 }
5371
5372
5373 static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
5374 PyObject *resultobj;
5375 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5376 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5377 int arg3 ;
5378 PyObject * obj0 = 0 ;
5379 PyObject * obj1 = 0 ;
5380 PyObject * obj2 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self",(char *) "attr",(char *) "row", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
5386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5390 arg3 = (int)SWIG_As_int(obj2);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 {
5393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5394 (arg1)->base_SetRowAttr(arg2,arg3);
5395
5396 wxPyEndAllowThreads(__tstate);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 Py_INCREF(Py_None); resultobj = Py_None;
5400 return resultobj;
5401 fail:
5402 return NULL;
5403 }
5404
5405
5406 static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
5407 PyObject *resultobj;
5408 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5409 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5410 int arg3 ;
5411 PyObject * obj0 = 0 ;
5412 PyObject * obj1 = 0 ;
5413 PyObject * obj2 = 0 ;
5414 char *kwnames[] = {
5415 (char *) "self",(char *) "attr",(char *) "col", NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
5419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5423 arg3 = (int)SWIG_As_int(obj2);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 {
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 (arg1)->base_SetColAttr(arg2,arg3);
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 Py_INCREF(Py_None); resultobj = Py_None;
5433 return resultobj;
5434 fail:
5435 return NULL;
5436 }
5437
5438
5439 static PyObject * PyGridCellAttrProvider_swigregister(PyObject *, PyObject *args) {
5440 PyObject *obj;
5441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5442 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
5443 Py_INCREF(obj);
5444 return Py_BuildValue((char *)"");
5445 }
5446 static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5447 PyObject *resultobj;
5448 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5449 PyObject *arg2 = (PyObject *) 0 ;
5450 PyObject * obj0 = 0 ;
5451 PyObject * obj1 = 0 ;
5452 char *kwnames[] = {
5453 (char *) "self",(char *) "_self", NULL
5454 };
5455
5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
5457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5459 arg2 = obj1;
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 wxGridTableBase__setOORInfo(arg1,arg2);
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 Py_INCREF(Py_None); resultobj = Py_None;
5468 return resultobj;
5469 fail:
5470 return NULL;
5471 }
5472
5473
5474 static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5477 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
5478 PyObject * obj0 = 0 ;
5479 PyObject * obj1 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self",(char *) "attrProvider", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
5485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttrProvider,
5488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 (arg1)->SetAttrProvider(arg2);
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 Py_INCREF(Py_None); resultobj = Py_None;
5497 return resultobj;
5498 fail:
5499 return NULL;
5500 }
5501
5502
5503 static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj;
5505 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5506 wxGridCellAttrProvider *result;
5507 PyObject * obj0 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
5513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5515 {
5516 PyThreadState* __tstate = wxPyBeginAllowThreads();
5517 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
5518
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 {
5523 resultobj = wxPyMake_wxGridCellAttrProvider(result, 0);
5524 }
5525 return resultobj;
5526 fail:
5527 return NULL;
5528 }
5529
5530
5531 static PyObject *_wrap_GridTableBase_SetView(PyObject *, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj;
5533 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5534 wxGrid *arg2 = (wxGrid *) 0 ;
5535 PyObject * obj0 = 0 ;
5536 PyObject * obj1 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "self",(char *) "grid", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
5542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
5545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 (arg1)->SetView(arg2);
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 Py_INCREF(Py_None); resultobj = Py_None;
5554 return resultobj;
5555 fail:
5556 return NULL;
5557 }
5558
5559
5560 static PyObject *_wrap_GridTableBase_GetView(PyObject *, PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj;
5562 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5563 wxGrid *result;
5564 PyObject * obj0 = 0 ;
5565 char *kwnames[] = {
5566 (char *) "self", NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
5570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 {
5580 resultobj = wxPyMake_wxObject(result, 0);
5581 }
5582 return resultobj;
5583 fail:
5584 return NULL;
5585 }
5586
5587
5588 static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *, PyObject *args, PyObject *kwargs) {
5589 PyObject *resultobj;
5590 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5591 int result;
5592 PyObject * obj0 = 0 ;
5593 char *kwnames[] = {
5594 (char *) "self", NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
5598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5600 {
5601 PyThreadState* __tstate = wxPyBeginAllowThreads();
5602 result = (int)(arg1)->GetNumberRows();
5603
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 resultobj = SWIG_From_int((int)result);
5608 return resultobj;
5609 fail:
5610 return NULL;
5611 }
5612
5613
5614 static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *, PyObject *args, PyObject *kwargs) {
5615 PyObject *resultobj;
5616 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5617 int result;
5618 PyObject * obj0 = 0 ;
5619 char *kwnames[] = {
5620 (char *) "self", NULL
5621 };
5622
5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
5624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5626 {
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 result = (int)(arg1)->GetNumberCols();
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 resultobj = SWIG_From_int((int)result);
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *, PyObject *args, PyObject *kwargs) {
5641 PyObject *resultobj;
5642 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5643 int arg2 ;
5644 int arg3 ;
5645 bool result;
5646 PyObject * obj0 = 0 ;
5647 PyObject * obj1 = 0 ;
5648 PyObject * obj2 = 0 ;
5649 char *kwnames[] = {
5650 (char *) "self",(char *) "row",(char *) "col", NULL
5651 };
5652
5653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
5654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5656 arg2 = (int)SWIG_As_int(obj1);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 arg3 = (int)SWIG_As_int(obj2);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 {
5661 PyThreadState* __tstate = wxPyBeginAllowThreads();
5662 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
5663
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 {
5668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5669 }
5670 return resultobj;
5671 fail:
5672 return NULL;
5673 }
5674
5675
5676 static PyObject *_wrap_GridTableBase_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj;
5678 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5679 int arg2 ;
5680 int arg3 ;
5681 wxString result;
5682 PyObject * obj0 = 0 ;
5683 PyObject * obj1 = 0 ;
5684 PyObject * obj2 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self",(char *) "row",(char *) "col", NULL
5687 };
5688
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
5690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5692 arg2 = (int)SWIG_As_int(obj1);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 arg3 = (int)SWIG_As_int(obj2);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 {
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 result = (arg1)->GetValue(arg2,arg3);
5699
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 {
5704 #if wxUSE_UNICODE
5705 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5706 #else
5707 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5708 #endif
5709 }
5710 return resultobj;
5711 fail:
5712 return NULL;
5713 }
5714
5715
5716 static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5717 PyObject *resultobj;
5718 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5719 int arg2 ;
5720 int arg3 ;
5721 wxString *arg4 = 0 ;
5722 bool temp4 = False ;
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj1 = 0 ;
5725 PyObject * obj2 = 0 ;
5726 PyObject * obj3 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5734 arg2 = (int)SWIG_As_int(obj1);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 arg3 = (int)SWIG_As_int(obj2);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 {
5739 arg4 = wxString_in_helper(obj3);
5740 if (arg4 == NULL) SWIG_fail;
5741 temp4 = True;
5742 }
5743 {
5744 PyThreadState* __tstate = wxPyBeginAllowThreads();
5745 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5746
5747 wxPyEndAllowThreads(__tstate);
5748 if (PyErr_Occurred()) SWIG_fail;
5749 }
5750 Py_INCREF(Py_None); resultobj = Py_None;
5751 {
5752 if (temp4)
5753 delete arg4;
5754 }
5755 return resultobj;
5756 fail:
5757 {
5758 if (temp4)
5759 delete arg4;
5760 }
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5768 int arg2 ;
5769 int arg3 ;
5770 wxString result;
5771 PyObject * obj0 = 0 ;
5772 PyObject * obj1 = 0 ;
5773 PyObject * obj2 = 0 ;
5774 char *kwnames[] = {
5775 (char *) "self",(char *) "row",(char *) "col", NULL
5776 };
5777
5778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
5779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5781 arg2 = (int)SWIG_As_int(obj1);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 arg3 = (int)SWIG_As_int(obj2);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 {
5786 PyThreadState* __tstate = wxPyBeginAllowThreads();
5787 result = (arg1)->GetTypeName(arg2,arg3);
5788
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 {
5793 #if wxUSE_UNICODE
5794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5795 #else
5796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5797 #endif
5798 }
5799 return resultobj;
5800 fail:
5801 return NULL;
5802 }
5803
5804
5805 static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj;
5807 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5808 int arg2 ;
5809 int arg3 ;
5810 wxString *arg4 = 0 ;
5811 bool result;
5812 bool temp4 = False ;
5813 PyObject * obj0 = 0 ;
5814 PyObject * obj1 = 0 ;
5815 PyObject * obj2 = 0 ;
5816 PyObject * obj3 = 0 ;
5817 char *kwnames[] = {
5818 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5819 };
5820
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5824 arg2 = (int)SWIG_As_int(obj1);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 arg3 = (int)SWIG_As_int(obj2);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 {
5829 arg4 = wxString_in_helper(obj3);
5830 if (arg4 == NULL) SWIG_fail;
5831 temp4 = True;
5832 }
5833 {
5834 PyThreadState* __tstate = wxPyBeginAllowThreads();
5835 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5836
5837 wxPyEndAllowThreads(__tstate);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 }
5840 {
5841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5842 }
5843 {
5844 if (temp4)
5845 delete arg4;
5846 }
5847 return resultobj;
5848 fail:
5849 {
5850 if (temp4)
5851 delete arg4;
5852 }
5853 return NULL;
5854 }
5855
5856
5857 static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5860 int arg2 ;
5861 int arg3 ;
5862 wxString *arg4 = 0 ;
5863 bool result;
5864 bool temp4 = False ;
5865 PyObject * obj0 = 0 ;
5866 PyObject * obj1 = 0 ;
5867 PyObject * obj2 = 0 ;
5868 PyObject * obj3 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5876 arg2 = (int)SWIG_As_int(obj1);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 arg3 = (int)SWIG_As_int(obj2);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 {
5881 arg4 = wxString_in_helper(obj3);
5882 if (arg4 == NULL) SWIG_fail;
5883 temp4 = True;
5884 }
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 {
5893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5894 }
5895 {
5896 if (temp4)
5897 delete arg4;
5898 }
5899 return resultobj;
5900 fail:
5901 {
5902 if (temp4)
5903 delete arg4;
5904 }
5905 return NULL;
5906 }
5907
5908
5909 static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5912 int arg2 ;
5913 int arg3 ;
5914 long result;
5915 PyObject * obj0 = 0 ;
5916 PyObject * obj1 = 0 ;
5917 PyObject * obj2 = 0 ;
5918 char *kwnames[] = {
5919 (char *) "self",(char *) "row",(char *) "col", NULL
5920 };
5921
5922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
5923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5925 arg2 = (int)SWIG_As_int(obj1);
5926 if (PyErr_Occurred()) SWIG_fail;
5927 arg3 = (int)SWIG_As_int(obj2);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 resultobj = SWIG_From_long((long)result);
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5946 int arg2 ;
5947 int arg3 ;
5948 double result;
5949 PyObject * obj0 = 0 ;
5950 PyObject * obj1 = 0 ;
5951 PyObject * obj2 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self",(char *) "row",(char *) "col", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5959 arg2 = (int)SWIG_As_int(obj1);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 arg3 = (int)SWIG_As_int(obj2);
5962 if (PyErr_Occurred()) SWIG_fail;
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
5965 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5966
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
5970 resultobj = SWIG_From_double((double)result);
5971 return resultobj;
5972 fail:
5973 return NULL;
5974 }
5975
5976
5977 static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *, PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj;
5979 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5980 int arg2 ;
5981 int arg3 ;
5982 bool result;
5983 PyObject * obj0 = 0 ;
5984 PyObject * obj1 = 0 ;
5985 PyObject * obj2 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "self",(char *) "row",(char *) "col", NULL
5988 };
5989
5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
5991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5993 arg2 = (int)SWIG_As_int(obj1);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 arg3 = (int)SWIG_As_int(obj2);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 {
6005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6006 }
6007 return resultobj;
6008 fail:
6009 return NULL;
6010 }
6011
6012
6013 static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6016 int arg2 ;
6017 int arg3 ;
6018 long arg4 ;
6019 PyObject * obj0 = 0 ;
6020 PyObject * obj1 = 0 ;
6021 PyObject * obj2 = 0 ;
6022 PyObject * obj3 = 0 ;
6023 char *kwnames[] = {
6024 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6025 };
6026
6027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6030 arg2 = (int)SWIG_As_int(obj1);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 arg3 = (int)SWIG_As_int(obj2);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 arg4 = (long)SWIG_As_long(obj3);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 (arg1)->SetValueAsLong(arg2,arg3,arg4);
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 Py_INCREF(Py_None); resultobj = Py_None;
6044 return resultobj;
6045 fail:
6046 return NULL;
6047 }
6048
6049
6050 static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *, PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj;
6052 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6053 int arg2 ;
6054 int arg3 ;
6055 double arg4 ;
6056 PyObject * obj0 = 0 ;
6057 PyObject * obj1 = 0 ;
6058 PyObject * obj2 = 0 ;
6059 PyObject * obj3 = 0 ;
6060 char *kwnames[] = {
6061 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6062 };
6063
6064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6067 arg2 = (int)SWIG_As_int(obj1);
6068 if (PyErr_Occurred()) SWIG_fail;
6069 arg3 = (int)SWIG_As_int(obj2);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 arg4 = (double)SWIG_As_double(obj3);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 Py_INCREF(Py_None); resultobj = Py_None;
6081 return resultobj;
6082 fail:
6083 return NULL;
6084 }
6085
6086
6087 static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj;
6089 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6090 int arg2 ;
6091 int arg3 ;
6092 bool arg4 ;
6093 PyObject * obj0 = 0 ;
6094 PyObject * obj1 = 0 ;
6095 PyObject * obj2 = 0 ;
6096 PyObject * obj3 = 0 ;
6097 char *kwnames[] = {
6098 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6099 };
6100
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6104 arg2 = (int)SWIG_As_int(obj1);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 arg3 = (int)SWIG_As_int(obj2);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 arg4 = (bool)SWIG_As_bool(obj3);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 (arg1)->SetValueAsBool(arg2,arg3,arg4);
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
6117 Py_INCREF(Py_None); resultobj = Py_None;
6118 return resultobj;
6119 fail:
6120 return NULL;
6121 }
6122
6123
6124 static PyObject *_wrap_GridTableBase_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj;
6126 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6127 PyObject * obj0 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "self", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
6133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 (arg1)->Clear();
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 Py_INCREF(Py_None); resultobj = Py_None;
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 static PyObject *_wrap_GridTableBase_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6152 size_t arg2 = (size_t) 0 ;
6153 size_t arg3 = (size_t) 1 ;
6154 bool result;
6155 PyObject * obj0 = 0 ;
6156 PyObject * obj1 = 0 ;
6157 PyObject * obj2 = 0 ;
6158 char *kwnames[] = {
6159 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6160 };
6161
6162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6165 if (obj1) {
6166 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 if (obj2) {
6170 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 result = (bool)(arg1)->InsertRows(arg2,arg3);
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 {
6181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6182 }
6183 return resultobj;
6184 fail:
6185 return NULL;
6186 }
6187
6188
6189 static PyObject *_wrap_GridTableBase_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) {
6190 PyObject *resultobj;
6191 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6192 size_t arg2 = (size_t) 1 ;
6193 bool result;
6194 PyObject * obj0 = 0 ;
6195 PyObject * obj1 = 0 ;
6196 char *kwnames[] = {
6197 (char *) "self",(char *) "numRows", NULL
6198 };
6199
6200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
6201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6203 if (obj1) {
6204 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 result = (bool)(arg1)->AppendRows(arg2);
6210
6211 wxPyEndAllowThreads(__tstate);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 {
6215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6216 }
6217 return resultobj;
6218 fail:
6219 return NULL;
6220 }
6221
6222
6223 static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) {
6224 PyObject *resultobj;
6225 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6226 size_t arg2 = (size_t) 0 ;
6227 size_t arg3 = (size_t) 1 ;
6228 bool result;
6229 PyObject * obj0 = 0 ;
6230 PyObject * obj1 = 0 ;
6231 PyObject * obj2 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 if (obj1) {
6240 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 if (obj2) {
6244 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (bool)(arg1)->DeleteRows(arg2,arg3);
6250
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 {
6255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6256 }
6257 return resultobj;
6258 fail:
6259 return NULL;
6260 }
6261
6262
6263 static PyObject *_wrap_GridTableBase_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) {
6264 PyObject *resultobj;
6265 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6266 size_t arg2 = (size_t) 0 ;
6267 size_t arg3 = (size_t) 1 ;
6268 bool result;
6269 PyObject * obj0 = 0 ;
6270 PyObject * obj1 = 0 ;
6271 PyObject * obj2 = 0 ;
6272 char *kwnames[] = {
6273 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6274 };
6275
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6279 if (obj1) {
6280 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 if (obj2) {
6284 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 result = (bool)(arg1)->InsertCols(arg2,arg3);
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
6294 {
6295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6296 }
6297 return resultobj;
6298 fail:
6299 return NULL;
6300 }
6301
6302
6303 static PyObject *_wrap_GridTableBase_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj;
6305 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6306 size_t arg2 = (size_t) 1 ;
6307 bool result;
6308 PyObject * obj0 = 0 ;
6309 PyObject * obj1 = 0 ;
6310 char *kwnames[] = {
6311 (char *) "self",(char *) "numCols", NULL
6312 };
6313
6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
6315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6317 if (obj1) {
6318 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 result = (bool)(arg1)->AppendCols(arg2);
6324
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 {
6329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6330 }
6331 return resultobj;
6332 fail:
6333 return NULL;
6334 }
6335
6336
6337 static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) {
6338 PyObject *resultobj;
6339 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6340 size_t arg2 = (size_t) 0 ;
6341 size_t arg3 = (size_t) 1 ;
6342 bool result;
6343 PyObject * obj0 = 0 ;
6344 PyObject * obj1 = 0 ;
6345 PyObject * obj2 = 0 ;
6346 char *kwnames[] = {
6347 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6348 };
6349
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",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 if (obj1) {
6354 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 if (obj2) {
6358 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 {
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 result = (bool)(arg1)->DeleteCols(arg2,arg3);
6364
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 {
6369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6370 }
6371 return resultobj;
6372 fail:
6373 return NULL;
6374 }
6375
6376
6377 static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj;
6379 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6380 int arg2 ;
6381 wxString result;
6382 PyObject * obj0 = 0 ;
6383 PyObject * obj1 = 0 ;
6384 char *kwnames[] = {
6385 (char *) "self",(char *) "row", NULL
6386 };
6387
6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
6389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6391 arg2 = (int)SWIG_As_int(obj1);
6392 if (PyErr_Occurred()) SWIG_fail;
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 result = (arg1)->GetRowLabelValue(arg2);
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 {
6401 #if wxUSE_UNICODE
6402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6403 #else
6404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6405 #endif
6406 }
6407 return resultobj;
6408 fail:
6409 return NULL;
6410 }
6411
6412
6413 static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6416 int arg2 ;
6417 wxString result;
6418 PyObject * obj0 = 0 ;
6419 PyObject * obj1 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self",(char *) "col", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
6425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6427 arg2 = (int)SWIG_As_int(obj1);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = (arg1)->GetColLabelValue(arg2);
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 {
6437 #if wxUSE_UNICODE
6438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6439 #else
6440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6441 #endif
6442 }
6443 return resultobj;
6444 fail:
6445 return NULL;
6446 }
6447
6448
6449 static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj;
6451 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6452 int arg2 ;
6453 wxString *arg3 = 0 ;
6454 bool temp3 = False ;
6455 PyObject * obj0 = 0 ;
6456 PyObject * obj1 = 0 ;
6457 PyObject * obj2 = 0 ;
6458 char *kwnames[] = {
6459 (char *) "self",(char *) "row",(char *) "value", NULL
6460 };
6461
6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
6463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6465 arg2 = (int)SWIG_As_int(obj1);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 {
6468 arg3 = wxString_in_helper(obj2);
6469 if (arg3 == NULL) SWIG_fail;
6470 temp3 = True;
6471 }
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 Py_INCREF(Py_None); resultobj = Py_None;
6480 {
6481 if (temp3)
6482 delete arg3;
6483 }
6484 return resultobj;
6485 fail:
6486 {
6487 if (temp3)
6488 delete arg3;
6489 }
6490 return NULL;
6491 }
6492
6493
6494 static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj;
6496 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6497 int arg2 ;
6498 wxString *arg3 = 0 ;
6499 bool temp3 = False ;
6500 PyObject * obj0 = 0 ;
6501 PyObject * obj1 = 0 ;
6502 PyObject * obj2 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self",(char *) "col",(char *) "value", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
6508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6510 arg2 = (int)SWIG_As_int(obj1);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 {
6513 arg3 = wxString_in_helper(obj2);
6514 if (arg3 == NULL) SWIG_fail;
6515 temp3 = True;
6516 }
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
6520
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 Py_INCREF(Py_None); resultobj = Py_None;
6525 {
6526 if (temp3)
6527 delete arg3;
6528 }
6529 return resultobj;
6530 fail:
6531 {
6532 if (temp3)
6533 delete arg3;
6534 }
6535 return NULL;
6536 }
6537
6538
6539 static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6542 bool result;
6543 PyObject * obj0 = 0 ;
6544 char *kwnames[] = {
6545 (char *) "self", NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
6549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 result = (bool)(arg1)->CanHaveAttributes();
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 {
6559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6560 }
6561 return resultobj;
6562 fail:
6563 return NULL;
6564 }
6565
6566
6567 static PyObject *_wrap_GridTableBase_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
6568 PyObject *resultobj;
6569 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6570 int arg2 ;
6571 int arg3 ;
6572 int arg4 ;
6573 wxGridCellAttr *result;
6574 PyObject * obj0 = 0 ;
6575 PyObject * obj1 = 0 ;
6576 PyObject * obj2 = 0 ;
6577 PyObject * obj3 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6585 arg2 = (int)SWIG_As_int(obj1);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 arg3 = (int)SWIG_As_int(obj2);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 arg4 = (int)SWIG_As_int(obj3);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 {
6599 resultobj = wxPyMake_wxGridCellAttr(result, 0);
6600 }
6601 return resultobj;
6602 fail:
6603 return NULL;
6604 }
6605
6606
6607 static PyObject *_wrap_GridTableBase_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj;
6609 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6610 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6611 int arg3 ;
6612 int arg4 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 PyObject * obj2 = 0 ;
6616 PyObject * obj3 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6626 arg3 = (int)SWIG_As_int(obj2);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 arg4 = (int)SWIG_As_int(obj3);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 (arg1)->SetAttr(arg2,arg3,arg4);
6633
6634 wxPyEndAllowThreads(__tstate);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 Py_INCREF(Py_None); resultobj = Py_None;
6638 return resultobj;
6639 fail:
6640 return NULL;
6641 }
6642
6643
6644 static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj;
6646 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6647 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6648 int arg3 ;
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 PyObject * obj2 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "self",(char *) "attr",(char *) "row", NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
6657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6659 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6661 arg3 = (int)SWIG_As_int(obj2);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 (arg1)->SetRowAttr(arg2,arg3);
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 Py_INCREF(Py_None); resultobj = Py_None;
6671 return resultobj;
6672 fail:
6673 return NULL;
6674 }
6675
6676
6677 static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
6678 PyObject *resultobj;
6679 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6680 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6681 int arg3 ;
6682 PyObject * obj0 = 0 ;
6683 PyObject * obj1 = 0 ;
6684 PyObject * obj2 = 0 ;
6685 char *kwnames[] = {
6686 (char *) "self",(char *) "attr",(char *) "col", NULL
6687 };
6688
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
6690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6694 arg3 = (int)SWIG_As_int(obj2);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 (arg1)->SetColAttr(arg2,arg3);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 Py_INCREF(Py_None); resultobj = Py_None;
6704 return resultobj;
6705 fail:
6706 return NULL;
6707 }
6708
6709
6710 static PyObject * GridTableBase_swigregister(PyObject *, PyObject *args) {
6711 PyObject *obj;
6712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6713 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
6714 Py_INCREF(obj);
6715 return Py_BuildValue((char *)"");
6716 }
6717 static PyObject *_wrap_new_PyGridTableBase(PyObject *, PyObject *args, PyObject *kwargs) {
6718 PyObject *resultobj;
6719 wxPyGridTableBase *result;
6720 char *kwnames[] = {
6721 NULL
6722 };
6723
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 result = (wxPyGridTableBase *)new wxPyGridTableBase();
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridTableBase, 1);
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj;
6741 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6742 PyObject *arg2 = (PyObject *) 0 ;
6743 PyObject *arg3 = (PyObject *) 0 ;
6744 PyObject * obj0 = 0 ;
6745 PyObject * obj1 = 0 ;
6746 PyObject * obj2 = 0 ;
6747 char *kwnames[] = {
6748 (char *) "self",(char *) "self",(char *) "_class", NULL
6749 };
6750
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6754 arg2 = obj1;
6755 arg3 = obj2;
6756 {
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
6758 (arg1)->_setCallbackInfo(arg2,arg3);
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 Py_INCREF(Py_None); resultobj = Py_None;
6764 return resultobj;
6765 fail:
6766 return NULL;
6767 }
6768
6769
6770 static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj;
6772 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6773 PyObject * obj0 = 0 ;
6774 char *kwnames[] = {
6775 (char *) "self", NULL
6776 };
6777
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
6779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 wxPyGridTableBase_Destroy(arg1);
6784
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 }
6788 Py_INCREF(Py_None); resultobj = Py_None;
6789 return resultobj;
6790 fail:
6791 return NULL;
6792 }
6793
6794
6795 static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *, PyObject *args, PyObject *kwargs) {
6796 PyObject *resultobj;
6797 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6798 int arg2 ;
6799 int arg3 ;
6800 wxString result;
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj1 = 0 ;
6803 PyObject * obj2 = 0 ;
6804 char *kwnames[] = {
6805 (char *) "self",(char *) "row",(char *) "col", NULL
6806 };
6807
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
6809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6811 arg2 = (int)SWIG_As_int(obj1);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 arg3 = (int)SWIG_As_int(obj2);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 result = (arg1)->base_GetTypeName(arg2,arg3);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 {
6823 #if wxUSE_UNICODE
6824 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6825 #else
6826 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6827 #endif
6828 }
6829 return resultobj;
6830 fail:
6831 return NULL;
6832 }
6833
6834
6835 static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
6836 PyObject *resultobj;
6837 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6838 int arg2 ;
6839 int arg3 ;
6840 wxString *arg4 = 0 ;
6841 bool result;
6842 bool temp4 = False ;
6843 PyObject * obj0 = 0 ;
6844 PyObject * obj1 = 0 ;
6845 PyObject * obj2 = 0 ;
6846 PyObject * obj3 = 0 ;
6847 char *kwnames[] = {
6848 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6854 arg2 = (int)SWIG_As_int(obj1);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 arg3 = (int)SWIG_As_int(obj2);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 {
6859 arg4 = wxString_in_helper(obj3);
6860 if (arg4 == NULL) SWIG_fail;
6861 temp4 = True;
6862 }
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 {
6871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6872 }
6873 {
6874 if (temp4)
6875 delete arg4;
6876 }
6877 return resultobj;
6878 fail:
6879 {
6880 if (temp4)
6881 delete arg4;
6882 }
6883 return NULL;
6884 }
6885
6886
6887 static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
6888 PyObject *resultobj;
6889 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6890 int arg2 ;
6891 int arg3 ;
6892 wxString *arg4 = 0 ;
6893 bool result;
6894 bool temp4 = False ;
6895 PyObject * obj0 = 0 ;
6896 PyObject * obj1 = 0 ;
6897 PyObject * obj2 = 0 ;
6898 PyObject * obj3 = 0 ;
6899 char *kwnames[] = {
6900 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6901 };
6902
6903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6906 arg2 = (int)SWIG_As_int(obj1);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 arg3 = (int)SWIG_As_int(obj2);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 {
6911 arg4 = wxString_in_helper(obj3);
6912 if (arg4 == NULL) SWIG_fail;
6913 temp4 = True;
6914 }
6915 {
6916 PyThreadState* __tstate = wxPyBeginAllowThreads();
6917 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6918
6919 wxPyEndAllowThreads(__tstate);
6920 if (PyErr_Occurred()) SWIG_fail;
6921 }
6922 {
6923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6924 }
6925 {
6926 if (temp4)
6927 delete arg4;
6928 }
6929 return resultobj;
6930 fail:
6931 {
6932 if (temp4)
6933 delete arg4;
6934 }
6935 return NULL;
6936 }
6937
6938
6939 static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6942 PyObject * obj0 = 0 ;
6943 char *kwnames[] = {
6944 (char *) "self", NULL
6945 };
6946
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
6948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 (arg1)->base_Clear();
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 Py_INCREF(Py_None); resultobj = Py_None;
6958 return resultobj;
6959 fail:
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6967 size_t arg2 = (size_t) 0 ;
6968 size_t arg3 = (size_t) 1 ;
6969 bool result;
6970 PyObject * obj0 = 0 ;
6971 PyObject * obj1 = 0 ;
6972 PyObject * obj2 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6980 if (obj1) {
6981 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 }
6984 if (obj2) {
6985 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6991
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 {
6996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6997 }
6998 return resultobj;
6999 fail:
7000 return NULL;
7001 }
7002
7003
7004 static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) {
7005 PyObject *resultobj;
7006 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7007 size_t arg2 = (size_t) 1 ;
7008 bool result;
7009 PyObject * obj0 = 0 ;
7010 PyObject * obj1 = 0 ;
7011 char *kwnames[] = {
7012 (char *) "self",(char *) "numRows", NULL
7013 };
7014
7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
7016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7018 if (obj1) {
7019 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 result = (bool)(arg1)->base_AppendRows(arg2);
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 {
7030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7031 }
7032 return resultobj;
7033 fail:
7034 return NULL;
7035 }
7036
7037
7038 static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) {
7039 PyObject *resultobj;
7040 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7041 size_t arg2 = (size_t) 0 ;
7042 size_t arg3 = (size_t) 1 ;
7043 bool result;
7044 PyObject * obj0 = 0 ;
7045 PyObject * obj1 = 0 ;
7046 PyObject * obj2 = 0 ;
7047 char *kwnames[] = {
7048 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7049 };
7050
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
7052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7054 if (obj1) {
7055 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 if (obj2) {
7059 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 {
7070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7071 }
7072 return resultobj;
7073 fail:
7074 return NULL;
7075 }
7076
7077
7078 static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7081 size_t arg2 = (size_t) 0 ;
7082 size_t arg3 = (size_t) 1 ;
7083 bool result;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 PyObject * obj2 = 0 ;
7087 char *kwnames[] = {
7088 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7089 };
7090
7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
7092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7094 if (obj1) {
7095 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 if (obj2) {
7099 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 {
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
7105
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 {
7110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7111 }
7112 return resultobj;
7113 fail:
7114 return NULL;
7115 }
7116
7117
7118 static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) {
7119 PyObject *resultobj;
7120 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7121 size_t arg2 = (size_t) 1 ;
7122 bool result;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self",(char *) "numCols", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
7130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7132 if (obj1) {
7133 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 result = (bool)(arg1)->base_AppendCols(arg2);
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 {
7144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7145 }
7146 return resultobj;
7147 fail:
7148 return NULL;
7149 }
7150
7151
7152 static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) {
7153 PyObject *resultobj;
7154 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7155 size_t arg2 = (size_t) 0 ;
7156 size_t arg3 = (size_t) 1 ;
7157 bool result;
7158 PyObject * obj0 = 0 ;
7159 PyObject * obj1 = 0 ;
7160 PyObject * obj2 = 0 ;
7161 char *kwnames[] = {
7162 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7163 };
7164
7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",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 if (obj1) {
7169 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 if (obj2) {
7173 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 {
7184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7185 }
7186 return resultobj;
7187 fail:
7188 return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7195 int arg2 ;
7196 wxString result;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj1 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "row", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7206 arg2 = (int)SWIG_As_int(obj1);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (arg1)->base_GetRowLabelValue(arg2);
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 {
7216 #if wxUSE_UNICODE
7217 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7218 #else
7219 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7220 #endif
7221 }
7222 return resultobj;
7223 fail:
7224 return NULL;
7225 }
7226
7227
7228 static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
7229 PyObject *resultobj;
7230 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7231 int arg2 ;
7232 wxString result;
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235 char *kwnames[] = {
7236 (char *) "self",(char *) "col", NULL
7237 };
7238
7239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
7240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7242 arg2 = (int)SWIG_As_int(obj1);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = (arg1)->base_GetColLabelValue(arg2);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 {
7252 #if wxUSE_UNICODE
7253 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7254 #else
7255 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7256 #endif
7257 }
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj;
7266 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7267 int arg2 ;
7268 wxString *arg3 = 0 ;
7269 bool temp3 = False ;
7270 PyObject * obj0 = 0 ;
7271 PyObject * obj1 = 0 ;
7272 PyObject * obj2 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "self",(char *) "row",(char *) "value", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
7278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7280 arg2 = (int)SWIG_As_int(obj1);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 {
7283 arg3 = wxString_in_helper(obj2);
7284 if (arg3 == NULL) SWIG_fail;
7285 temp3 = True;
7286 }
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 Py_INCREF(Py_None); resultobj = Py_None;
7295 {
7296 if (temp3)
7297 delete arg3;
7298 }
7299 return resultobj;
7300 fail:
7301 {
7302 if (temp3)
7303 delete arg3;
7304 }
7305 return NULL;
7306 }
7307
7308
7309 static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
7310 PyObject *resultobj;
7311 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7312 int arg2 ;
7313 wxString *arg3 = 0 ;
7314 bool temp3 = False ;
7315 PyObject * obj0 = 0 ;
7316 PyObject * obj1 = 0 ;
7317 PyObject * obj2 = 0 ;
7318 char *kwnames[] = {
7319 (char *) "self",(char *) "col",(char *) "value", NULL
7320 };
7321
7322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
7323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7325 arg2 = (int)SWIG_As_int(obj1);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 {
7328 arg3 = wxString_in_helper(obj2);
7329 if (arg3 == NULL) SWIG_fail;
7330 temp3 = True;
7331 }
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 Py_INCREF(Py_None); resultobj = Py_None;
7340 {
7341 if (temp3)
7342 delete arg3;
7343 }
7344 return resultobj;
7345 fail:
7346 {
7347 if (temp3)
7348 delete arg3;
7349 }
7350 return NULL;
7351 }
7352
7353
7354 static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7355 PyObject *resultobj;
7356 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7357 bool result;
7358 PyObject * obj0 = 0 ;
7359 char *kwnames[] = {
7360 (char *) "self", NULL
7361 };
7362
7363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
7364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7366 {
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 result = (bool)(arg1)->base_CanHaveAttributes();
7369
7370 wxPyEndAllowThreads(__tstate);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 {
7374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7375 }
7376 return resultobj;
7377 fail:
7378 return NULL;
7379 }
7380
7381
7382 static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj;
7384 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7385 int arg2 ;
7386 int arg3 ;
7387 int arg4 ;
7388 wxGridCellAttr *result;
7389 PyObject * obj0 = 0 ;
7390 PyObject * obj1 = 0 ;
7391 PyObject * obj2 = 0 ;
7392 PyObject * obj3 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7400 arg2 = (int)SWIG_As_int(obj1);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 arg3 = (int)SWIG_As_int(obj2);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 arg4 = (int)SWIG_As_int(obj3);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 {
7414 resultobj = wxPyMake_wxGridCellAttr(result, 0);
7415 }
7416 return resultobj;
7417 fail:
7418 return NULL;
7419 }
7420
7421
7422 static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7423 PyObject *resultobj;
7424 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7425 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7426 int arg3 ;
7427 int arg4 ;
7428 PyObject * obj0 = 0 ;
7429 PyObject * obj1 = 0 ;
7430 PyObject * obj2 = 0 ;
7431 PyObject * obj3 = 0 ;
7432 char *kwnames[] = {
7433 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7434 };
7435
7436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7441 arg3 = (int)SWIG_As_int(obj2);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 arg4 = (int)SWIG_As_int(obj3);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 {
7446 PyThreadState* __tstate = wxPyBeginAllowThreads();
7447 (arg1)->base_SetAttr(arg2,arg3,arg4);
7448
7449 wxPyEndAllowThreads(__tstate);
7450 if (PyErr_Occurred()) SWIG_fail;
7451 }
7452 Py_INCREF(Py_None); resultobj = Py_None;
7453 return resultobj;
7454 fail:
7455 return NULL;
7456 }
7457
7458
7459 static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7460 PyObject *resultobj;
7461 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7462 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7463 int arg3 ;
7464 PyObject * obj0 = 0 ;
7465 PyObject * obj1 = 0 ;
7466 PyObject * obj2 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self",(char *) "attr",(char *) "row", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
7472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7476 arg3 = (int)SWIG_As_int(obj2);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 {
7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
7480 (arg1)->base_SetRowAttr(arg2,arg3);
7481
7482 wxPyEndAllowThreads(__tstate);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 }
7485 Py_INCREF(Py_None); resultobj = Py_None;
7486 return resultobj;
7487 fail:
7488 return NULL;
7489 }
7490
7491
7492 static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7493 PyObject *resultobj;
7494 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7495 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7496 int arg3 ;
7497 PyObject * obj0 = 0 ;
7498 PyObject * obj1 = 0 ;
7499 PyObject * obj2 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self",(char *) "attr",(char *) "col", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
7505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7509 arg3 = (int)SWIG_As_int(obj2);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 (arg1)->base_SetColAttr(arg2,arg3);
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 Py_INCREF(Py_None); resultobj = Py_None;
7519 return resultobj;
7520 fail:
7521 return NULL;
7522 }
7523
7524
7525 static PyObject * PyGridTableBase_swigregister(PyObject *, PyObject *args) {
7526 PyObject *obj;
7527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7528 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
7529 Py_INCREF(obj);
7530 return Py_BuildValue((char *)"");
7531 }
7532 static PyObject *_wrap_new_GridStringTable(PyObject *, PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj;
7534 int arg1 = (int) 0 ;
7535 int arg2 = (int) 0 ;
7536 wxGridStringTable *result;
7537 PyObject * obj0 = 0 ;
7538 PyObject * obj1 = 0 ;
7539 char *kwnames[] = {
7540 (char *) "numRows",(char *) "numCols", NULL
7541 };
7542
7543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
7544 if (obj0) {
7545 arg1 = (int)SWIG_As_int(obj0);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 if (obj1) {
7549 arg2 = (int)SWIG_As_int(obj1);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridStringTable, 1);
7560 return resultobj;
7561 fail:
7562 return NULL;
7563 }
7564
7565
7566 static PyObject * GridStringTable_swigregister(PyObject *, PyObject *args) {
7567 PyObject *obj;
7568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7569 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
7570 Py_INCREF(obj);
7571 return Py_BuildValue((char *)"");
7572 }
7573 static PyObject *_wrap_new_GridTableMessage(PyObject *, PyObject *args, PyObject *kwargs) {
7574 PyObject *resultobj;
7575 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7576 int arg2 ;
7577 int arg3 = (int) -1 ;
7578 int arg4 = (int) -1 ;
7579 wxGridTableMessage *result;
7580 PyObject * obj0 = 0 ;
7581 PyObject * obj1 = 0 ;
7582 PyObject * obj2 = 0 ;
7583 PyObject * obj3 = 0 ;
7584 char *kwnames[] = {
7585 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7586 };
7587
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
7590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7591 arg2 = (int)SWIG_As_int(obj1);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 if (obj2) {
7594 arg3 = (int)SWIG_As_int(obj2);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 if (obj3) {
7598 arg4 = (int)SWIG_As_int(obj3);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridTableMessage, 1);
7609 return resultobj;
7610 fail:
7611 return NULL;
7612 }
7613
7614
7615 static PyObject *_wrap_delete_GridTableMessage(PyObject *, PyObject *args, PyObject *kwargs) {
7616 PyObject *resultobj;
7617 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7618 PyObject * obj0 = 0 ;
7619 char *kwnames[] = {
7620 (char *) "self", NULL
7621 };
7622
7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
7624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 delete arg1;
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 Py_INCREF(Py_None); resultobj = Py_None;
7634 return resultobj;
7635 fail:
7636 return NULL;
7637 }
7638
7639
7640 static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *, PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj;
7642 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7643 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7644 PyObject * obj0 = 0 ;
7645 PyObject * obj1 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self",(char *) "table", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
7651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
7654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 (arg1)->SetTableObject(arg2);
7658
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 Py_INCREF(Py_None); resultobj = Py_None;
7663 return resultobj;
7664 fail:
7665 return NULL;
7666 }
7667
7668
7669 static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *, PyObject *args, PyObject *kwargs) {
7670 PyObject *resultobj;
7671 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7672 wxGridTableBase *result;
7673 PyObject * obj0 = 0 ;
7674 char *kwnames[] = {
7675 (char *) "self", NULL
7676 };
7677
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
7679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 {
7689 resultobj = wxPyMake_wxGridTableBase(result, 0);
7690 }
7691 return resultobj;
7692 fail:
7693 return NULL;
7694 }
7695
7696
7697 static PyObject *_wrap_GridTableMessage_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj;
7699 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7700 int arg2 ;
7701 PyObject * obj0 = 0 ;
7702 PyObject * obj1 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self",(char *) "id", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
7708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7710 arg2 = (int)SWIG_As_int(obj1);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 (arg1)->SetId(arg2);
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 Py_INCREF(Py_None); resultobj = Py_None;
7720 return resultobj;
7721 fail:
7722 return NULL;
7723 }
7724
7725
7726 static PyObject *_wrap_GridTableMessage_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7727 PyObject *resultobj;
7728 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7729 int result;
7730 PyObject * obj0 = 0 ;
7731 char *kwnames[] = {
7732 (char *) "self", NULL
7733 };
7734
7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
7736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 result = (int)(arg1)->GetId();
7741
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 resultobj = SWIG_From_int((int)result);
7746 return resultobj;
7747 fail:
7748 return NULL;
7749 }
7750
7751
7752 static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *, PyObject *args, PyObject *kwargs) {
7753 PyObject *resultobj;
7754 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7755 int arg2 ;
7756 PyObject * obj0 = 0 ;
7757 PyObject * obj1 = 0 ;
7758 char *kwnames[] = {
7759 (char *) "self",(char *) "comInt1", NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
7763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7765 arg2 = (int)SWIG_As_int(obj1);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 {
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 (arg1)->SetCommandInt(arg2);
7770
7771 wxPyEndAllowThreads(__tstate);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 }
7774 Py_INCREF(Py_None); resultobj = Py_None;
7775 return resultobj;
7776 fail:
7777 return NULL;
7778 }
7779
7780
7781 static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *, PyObject *args, PyObject *kwargs) {
7782 PyObject *resultobj;
7783 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7784 int result;
7785 PyObject * obj0 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "self", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
7791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (int)(arg1)->GetCommandInt();
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 resultobj = SWIG_From_int((int)result);
7801 return resultobj;
7802 fail:
7803 return NULL;
7804 }
7805
7806
7807 static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *, PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj;
7809 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7810 int arg2 ;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 char *kwnames[] = {
7814 (char *) "self",(char *) "comInt2", NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
7818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7820 arg2 = (int)SWIG_As_int(obj1);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 (arg1)->SetCommandInt2(arg2);
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 Py_INCREF(Py_None); resultobj = Py_None;
7830 return resultobj;
7831 fail:
7832 return NULL;
7833 }
7834
7835
7836 static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *, PyObject *args, PyObject *kwargs) {
7837 PyObject *resultobj;
7838 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7839 int result;
7840 PyObject * obj0 = 0 ;
7841 char *kwnames[] = {
7842 (char *) "self", NULL
7843 };
7844
7845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
7846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = (int)(arg1)->GetCommandInt2();
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 resultobj = SWIG_From_int((int)result);
7856 return resultobj;
7857 fail:
7858 return NULL;
7859 }
7860
7861
7862 static PyObject * GridTableMessage_swigregister(PyObject *, PyObject *args) {
7863 PyObject *obj;
7864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7865 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
7866 Py_INCREF(obj);
7867 return Py_BuildValue((char *)"");
7868 }
7869 static PyObject *_wrap_new_GridCellCoords(PyObject *, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 int arg1 = (int) -1 ;
7872 int arg2 = (int) -1 ;
7873 wxGridCellCoords *result;
7874 PyObject * obj0 = 0 ;
7875 PyObject * obj1 = 0 ;
7876 char *kwnames[] = {
7877 (char *) "r",(char *) "c", NULL
7878 };
7879
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
7881 if (obj0) {
7882 arg1 = (int)SWIG_As_int(obj0);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 if (obj1) {
7886 arg2 = (int)SWIG_As_int(obj1);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellCoords, 1);
7897 return resultobj;
7898 fail:
7899 return NULL;
7900 }
7901
7902
7903 static PyObject *_wrap_delete_GridCellCoords(PyObject *, PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj;
7905 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7906 PyObject * obj0 = 0 ;
7907 char *kwnames[] = {
7908 (char *) "self", NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
7912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 delete arg1;
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
7921 Py_INCREF(Py_None); resultobj = Py_None;
7922 return resultobj;
7923 fail:
7924 return NULL;
7925 }
7926
7927
7928 static PyObject *_wrap_GridCellCoords_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj;
7930 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7931 int result;
7932 PyObject * obj0 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
7938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 resultobj = SWIG_From_int((int)result);
7948 return resultobj;
7949 fail:
7950 return NULL;
7951 }
7952
7953
7954 static PyObject *_wrap_GridCellCoords_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7957 int arg2 ;
7958 PyObject * obj0 = 0 ;
7959 PyObject * obj1 = 0 ;
7960 char *kwnames[] = {
7961 (char *) "self",(char *) "n", NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
7965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7967 arg2 = (int)SWIG_As_int(obj1);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 (arg1)->SetRow(arg2);
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 Py_INCREF(Py_None); resultobj = Py_None;
7977 return resultobj;
7978 fail:
7979 return NULL;
7980 }
7981
7982
7983 static PyObject *_wrap_GridCellCoords_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
7984 PyObject *resultobj;
7985 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7986 int result;
7987 PyObject * obj0 = 0 ;
7988 char *kwnames[] = {
7989 (char *) "self", NULL
7990 };
7991
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
7993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 resultobj = SWIG_From_int((int)result);
8003 return resultobj;
8004 fail:
8005 return NULL;
8006 }
8007
8008
8009 static PyObject *_wrap_GridCellCoords_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
8010 PyObject *resultobj;
8011 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8012 int arg2 ;
8013 PyObject * obj0 = 0 ;
8014 PyObject * obj1 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "self",(char *) "n", NULL
8017 };
8018
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
8020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8022 arg2 = (int)SWIG_As_int(obj1);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 (arg1)->SetCol(arg2);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 Py_INCREF(Py_None); resultobj = Py_None;
8032 return resultobj;
8033 fail:
8034 return NULL;
8035 }
8036
8037
8038 static PyObject *_wrap_GridCellCoords_Set(PyObject *, PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj;
8040 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8041 int arg2 ;
8042 int arg3 ;
8043 PyObject * obj0 = 0 ;
8044 PyObject * obj1 = 0 ;
8045 PyObject * obj2 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self",(char *) "row",(char *) "col", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8053 arg2 = (int)SWIG_As_int(obj1);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 arg3 = (int)SWIG_As_int(obj2);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 (arg1)->Set(arg2,arg3);
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 Py_INCREF(Py_None); resultobj = Py_None;
8065 return resultobj;
8066 fail:
8067 return NULL;
8068 }
8069
8070
8071 static PyObject *_wrap_GridCellCoords___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
8072 PyObject *resultobj;
8073 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8074 wxGridCellCoords *arg2 = 0 ;
8075 bool result;
8076 wxGridCellCoords temp2 ;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 char *kwnames[] = {
8080 (char *) "self",(char *) "other", NULL
8081 };
8082
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
8084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8086 {
8087 arg2 = &temp2;
8088 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
8089 }
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 {
8098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8099 }
8100 return resultobj;
8101 fail:
8102 return NULL;
8103 }
8104
8105
8106 static PyObject *_wrap_GridCellCoords___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj;
8108 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8109 wxGridCellCoords *arg2 = 0 ;
8110 bool result;
8111 wxGridCellCoords temp2 ;
8112 PyObject * obj0 = 0 ;
8113 PyObject * obj1 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "other", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
8119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8121 {
8122 arg2 = &temp2;
8123 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
8124 }
8125 {
8126 PyThreadState* __tstate = wxPyBeginAllowThreads();
8127 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
8128
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) SWIG_fail;
8131 }
8132 {
8133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8134 }
8135 return resultobj;
8136 fail:
8137 return NULL;
8138 }
8139
8140
8141 static PyObject *_wrap_GridCellCoords_Get(PyObject *, PyObject *args, PyObject *kwargs) {
8142 PyObject *resultobj;
8143 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8144 PyObject *result;
8145 PyObject * obj0 = 0 ;
8146 char *kwnames[] = {
8147 (char *) "self", NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_Get",kwnames,&obj0)) goto fail;
8151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8153 {
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 result = (PyObject *)wxGridCellCoords_Get(arg1);
8156
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 resultobj = result;
8161 return resultobj;
8162 fail:
8163 return NULL;
8164 }
8165
8166
8167 static PyObject * GridCellCoords_swigregister(PyObject *, PyObject *args) {
8168 PyObject *obj;
8169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8170 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
8171 Py_INCREF(obj);
8172 return Py_BuildValue((char *)"");
8173 }
8174 static PyObject *_wrap_new_Grid(PyObject *, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj;
8176 wxWindow *arg1 = (wxWindow *) 0 ;
8177 int arg2 = (int) -1 ;
8178 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8179 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8180 wxSize const &arg4_defvalue = wxDefaultSize ;
8181 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8182 long arg5 = (long) wxWANTS_CHARS ;
8183 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8184 wxString *arg6 = (wxString *) &arg6_defvalue ;
8185 wxGrid *result;
8186 wxPoint temp3 ;
8187 wxSize temp4 ;
8188 bool temp6 = False ;
8189 PyObject * obj0 = 0 ;
8190 PyObject * obj1 = 0 ;
8191 PyObject * obj2 = 0 ;
8192 PyObject * obj3 = 0 ;
8193 PyObject * obj4 = 0 ;
8194 PyObject * obj5 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8202 if (obj1) {
8203 arg2 = (int)SWIG_As_int(obj1);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 if (obj2) {
8207 {
8208 arg3 = &temp3;
8209 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8210 }
8211 }
8212 if (obj3) {
8213 {
8214 arg4 = &temp4;
8215 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8216 }
8217 }
8218 if (obj4) {
8219 arg5 = (long)SWIG_As_long(obj4);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 if (obj5) {
8223 {
8224 arg6 = wxString_in_helper(obj5);
8225 if (arg6 == NULL) SWIG_fail;
8226 temp6 = True;
8227 }
8228 }
8229 {
8230 if (!wxPyCheckForApp()) SWIG_fail;
8231 PyThreadState* __tstate = wxPyBeginAllowThreads();
8232 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8233
8234 wxPyEndAllowThreads(__tstate);
8235 if (PyErr_Occurred()) SWIG_fail;
8236 }
8237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGrid, 1);
8238 {
8239 if (temp6)
8240 delete arg6;
8241 }
8242 return resultobj;
8243 fail:
8244 {
8245 if (temp6)
8246 delete arg6;
8247 }
8248 return NULL;
8249 }
8250
8251
8252 static PyObject *_wrap_new_PreGrid(PyObject *, PyObject *args, PyObject *kwargs) {
8253 PyObject *resultobj;
8254 wxGrid *result;
8255 char *kwnames[] = {
8256 NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGrid",kwnames)) goto fail;
8260 {
8261 if (!wxPyCheckForApp()) SWIG_fail;
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 result = (wxGrid *)new wxGrid();
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGrid, 1);
8269 return resultobj;
8270 fail:
8271 return NULL;
8272 }
8273
8274
8275 static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8276 PyObject *resultobj;
8277 wxGrid *arg1 = (wxGrid *) 0 ;
8278 wxWindow *arg2 = (wxWindow *) 0 ;
8279 int arg3 = (int) -1 ;
8280 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8281 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8282 wxSize const &arg5_defvalue = wxDefaultSize ;
8283 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8284 long arg6 = (long) wxWANTS_CHARS ;
8285 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8286 wxString *arg7 = (wxString *) &arg7_defvalue ;
8287 bool result;
8288 wxPoint temp4 ;
8289 wxSize temp5 ;
8290 bool temp7 = False ;
8291 PyObject * obj0 = 0 ;
8292 PyObject * obj1 = 0 ;
8293 PyObject * obj2 = 0 ;
8294 PyObject * obj3 = 0 ;
8295 PyObject * obj4 = 0 ;
8296 PyObject * obj5 = 0 ;
8297 PyObject * obj6 = 0 ;
8298 char *kwnames[] = {
8299 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8300 };
8301
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Grid_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8307 if (obj2) {
8308 arg3 = (int)SWIG_As_int(obj2);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 }
8311 if (obj3) {
8312 {
8313 arg4 = &temp4;
8314 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8315 }
8316 }
8317 if (obj4) {
8318 {
8319 arg5 = &temp5;
8320 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8321 }
8322 }
8323 if (obj5) {
8324 arg6 = (long)SWIG_As_long(obj5);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 if (obj6) {
8328 {
8329 arg7 = wxString_in_helper(obj6);
8330 if (arg7 == NULL) SWIG_fail;
8331 temp7 = True;
8332 }
8333 }
8334 {
8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
8336 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8337
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
8341 {
8342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8343 }
8344 {
8345 if (temp7)
8346 delete arg7;
8347 }
8348 return resultobj;
8349 fail:
8350 {
8351 if (temp7)
8352 delete arg7;
8353 }
8354 return NULL;
8355 }
8356
8357
8358 static PyObject *_wrap_Grid_CreateGrid(PyObject *, PyObject *args, PyObject *kwargs) {
8359 PyObject *resultobj;
8360 wxGrid *arg1 = (wxGrid *) 0 ;
8361 int arg2 ;
8362 int arg3 ;
8363 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8364 bool result;
8365 PyObject * obj0 = 0 ;
8366 PyObject * obj1 = 0 ;
8367 PyObject * obj2 = 0 ;
8368 PyObject * obj3 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8376 arg2 = (int)SWIG_As_int(obj1);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 arg3 = (int)SWIG_As_int(obj2);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 if (obj3) {
8381 arg4 = (WXGRIDSELECTIONMODES)SWIG_As_int(obj3);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 {
8392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8393 }
8394 return resultobj;
8395 fail:
8396 return NULL;
8397 }
8398
8399
8400 static PyObject *_wrap_Grid_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj;
8402 wxGrid *arg1 = (wxGrid *) 0 ;
8403 WXGRIDSELECTIONMODES arg2 ;
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "self",(char *) "selmode", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
8411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8413 arg2 = (WXGRIDSELECTIONMODES)SWIG_As_int(obj1);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 {
8416 PyThreadState* __tstate = wxPyBeginAllowThreads();
8417 (arg1)->SetSelectionMode(arg2);
8418
8419 wxPyEndAllowThreads(__tstate);
8420 if (PyErr_Occurred()) SWIG_fail;
8421 }
8422 Py_INCREF(Py_None); resultobj = Py_None;
8423 return resultobj;
8424 fail:
8425 return NULL;
8426 }
8427
8428
8429 static PyObject *_wrap_Grid_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj;
8431 wxGrid *arg1 = (wxGrid *) 0 ;
8432 WXGRIDSELECTIONMODES result;
8433 PyObject * obj0 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 resultobj = SWIG_From_int((int)result);
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 static PyObject *_wrap_Grid_GetNumberRows(PyObject *, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj;
8457 wxGrid *arg1 = (wxGrid *) 0 ;
8458 int result;
8459 PyObject * obj0 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "self", NULL
8462 };
8463
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
8465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8467 {
8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
8469 result = (int)(arg1)->GetNumberRows();
8470
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
8474 resultobj = SWIG_From_int((int)result);
8475 return resultobj;
8476 fail:
8477 return NULL;
8478 }
8479
8480
8481 static PyObject *_wrap_Grid_GetNumberCols(PyObject *, PyObject *args, PyObject *kwargs) {
8482 PyObject *resultobj;
8483 wxGrid *arg1 = (wxGrid *) 0 ;
8484 int result;
8485 PyObject * obj0 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
8491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8493 {
8494 PyThreadState* __tstate = wxPyBeginAllowThreads();
8495 result = (int)(arg1)->GetNumberCols();
8496
8497 wxPyEndAllowThreads(__tstate);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 resultobj = SWIG_From_int((int)result);
8501 return resultobj;
8502 fail:
8503 return NULL;
8504 }
8505
8506
8507 static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *, PyObject *args, PyObject *kwargs) {
8508 PyObject *resultobj;
8509 wxGrid *arg1 = (wxGrid *) 0 ;
8510 wxGridTableMessage *arg2 = 0 ;
8511 bool result;
8512 PyObject * obj0 = 0 ;
8513 PyObject * obj1 = 0 ;
8514 char *kwnames[] = {
8515 (char *) "self","arg2", NULL
8516 };
8517
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
8519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableMessage,
8522 SWIG_POINTER_EXCEPTION | 0)) == -1)
8523 SWIG_fail;
8524 if (arg2 == NULL) {
8525 PyErr_SetString(PyExc_TypeError,"null reference");
8526 SWIG_fail;
8527 }
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 result = (bool)(arg1)->ProcessTableMessage(*arg2);
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 {
8536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8537 }
8538 return resultobj;
8539 fail:
8540 return NULL;
8541 }
8542
8543
8544 static PyObject *_wrap_Grid_GetTable(PyObject *, PyObject *args, PyObject *kwargs) {
8545 PyObject *resultobj;
8546 wxGrid *arg1 = (wxGrid *) 0 ;
8547 wxGridTableBase *result;
8548 PyObject * obj0 = 0 ;
8549 char *kwnames[] = {
8550 (char *) "self", NULL
8551 };
8552
8553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
8554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 {
8564 resultobj = wxPyMake_wxGridTableBase(result, 0);
8565 }
8566 return resultobj;
8567 fail:
8568 return NULL;
8569 }
8570
8571
8572 static PyObject *_wrap_Grid_SetTable(PyObject *, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxGrid *arg1 = (wxGrid *) 0 ;
8575 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
8576 bool arg3 = (bool) False ;
8577 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8578 bool result;
8579 PyObject * obj0 = 0 ;
8580 PyObject * obj1 = 0 ;
8581 PyObject * obj2 = 0 ;
8582 PyObject * obj3 = 0 ;
8583 char *kwnames[] = {
8584 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8585 };
8586
8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
8591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8592 if (obj2) {
8593 arg3 = (bool)SWIG_As_bool(obj2);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 if (obj3) {
8597 arg4 = (WXGRIDSELECTIONMODES)SWIG_As_int(obj3);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 {
8608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8609 }
8610 return resultobj;
8611 fail:
8612 return NULL;
8613 }
8614
8615
8616 static PyObject *_wrap_Grid_ClearGrid(PyObject *, PyObject *args, PyObject *kwargs) {
8617 PyObject *resultobj;
8618 wxGrid *arg1 = (wxGrid *) 0 ;
8619 PyObject * obj0 = 0 ;
8620 char *kwnames[] = {
8621 (char *) "self", NULL
8622 };
8623
8624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
8625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 (arg1)->ClearGrid();
8630
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 Py_INCREF(Py_None); resultobj = Py_None;
8635 return resultobj;
8636 fail:
8637 return NULL;
8638 }
8639
8640
8641 static PyObject *_wrap_Grid_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) {
8642 PyObject *resultobj;
8643 wxGrid *arg1 = (wxGrid *) 0 ;
8644 int arg2 = (int) 0 ;
8645 int arg3 = (int) 1 ;
8646 bool arg4 = (bool) True ;
8647 bool result;
8648 PyObject * obj0 = 0 ;
8649 PyObject * obj1 = 0 ;
8650 PyObject * obj2 = 0 ;
8651 PyObject * obj3 = 0 ;
8652 char *kwnames[] = {
8653 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8659 if (obj1) {
8660 arg2 = (int)SWIG_As_int(obj1);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 if (obj2) {
8664 arg3 = (int)SWIG_As_int(obj2);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 if (obj3) {
8668 arg4 = (bool)SWIG_As_bool(obj3);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 {
8679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8680 }
8681 return resultobj;
8682 fail:
8683 return NULL;
8684 }
8685
8686
8687 static PyObject *_wrap_Grid_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj;
8689 wxGrid *arg1 = (wxGrid *) 0 ;
8690 int arg2 = (int) 1 ;
8691 bool arg3 = (bool) True ;
8692 bool result;
8693 PyObject * obj0 = 0 ;
8694 PyObject * obj1 = 0 ;
8695 PyObject * obj2 = 0 ;
8696 char *kwnames[] = {
8697 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8698 };
8699
8700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
8701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8703 if (obj1) {
8704 arg2 = (int)SWIG_As_int(obj1);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 if (obj2) {
8708 arg3 = (bool)SWIG_As_bool(obj2);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 {
8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 result = (bool)(arg1)->AppendRows(arg2,arg3);
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 {
8719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8720 }
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_Grid_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxGrid *arg1 = (wxGrid *) 0 ;
8730 int arg2 = (int) 0 ;
8731 int arg3 = (int) 1 ;
8732 bool arg4 = (bool) True ;
8733 bool result;
8734 PyObject * obj0 = 0 ;
8735 PyObject * obj1 = 0 ;
8736 PyObject * obj2 = 0 ;
8737 PyObject * obj3 = 0 ;
8738 char *kwnames[] = {
8739 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8740 };
8741
8742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8745 if (obj1) {
8746 arg2 = (int)SWIG_As_int(obj1);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 if (obj2) {
8750 arg3 = (int)SWIG_As_int(obj2);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 if (obj3) {
8754 arg4 = (bool)SWIG_As_bool(obj3);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 {
8765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8766 }
8767 return resultobj;
8768 fail:
8769 return NULL;
8770 }
8771
8772
8773 static PyObject *_wrap_Grid_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) {
8774 PyObject *resultobj;
8775 wxGrid *arg1 = (wxGrid *) 0 ;
8776 int arg2 = (int) 0 ;
8777 int arg3 = (int) 1 ;
8778 bool arg4 = (bool) True ;
8779 bool result;
8780 PyObject * obj0 = 0 ;
8781 PyObject * obj1 = 0 ;
8782 PyObject * obj2 = 0 ;
8783 PyObject * obj3 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8791 if (obj1) {
8792 arg2 = (int)SWIG_As_int(obj1);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 if (obj2) {
8796 arg3 = (int)SWIG_As_int(obj2);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 if (obj3) {
8800 arg4 = (bool)SWIG_As_bool(obj3);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 {
8804 PyThreadState* __tstate = wxPyBeginAllowThreads();
8805 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
8806
8807 wxPyEndAllowThreads(__tstate);
8808 if (PyErr_Occurred()) SWIG_fail;
8809 }
8810 {
8811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8812 }
8813 return resultobj;
8814 fail:
8815 return NULL;
8816 }
8817
8818
8819 static PyObject *_wrap_Grid_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxGrid *arg1 = (wxGrid *) 0 ;
8822 int arg2 = (int) 1 ;
8823 bool arg3 = (bool) True ;
8824 bool result;
8825 PyObject * obj0 = 0 ;
8826 PyObject * obj1 = 0 ;
8827 PyObject * obj2 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
8833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8835 if (obj1) {
8836 arg2 = (int)SWIG_As_int(obj1);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 if (obj2) {
8840 arg3 = (bool)SWIG_As_bool(obj2);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = (bool)(arg1)->AppendCols(arg2,arg3);
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 {
8851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8852 }
8853 return resultobj;
8854 fail:
8855 return NULL;
8856 }
8857
8858
8859 static PyObject *_wrap_Grid_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) {
8860 PyObject *resultobj;
8861 wxGrid *arg1 = (wxGrid *) 0 ;
8862 int arg2 = (int) 0 ;
8863 int arg3 = (int) 1 ;
8864 bool arg4 = (bool) True ;
8865 bool result;
8866 PyObject * obj0 = 0 ;
8867 PyObject * obj1 = 0 ;
8868 PyObject * obj2 = 0 ;
8869 PyObject * obj3 = 0 ;
8870 char *kwnames[] = {
8871 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8872 };
8873
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8877 if (obj1) {
8878 arg2 = (int)SWIG_As_int(obj1);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 if (obj2) {
8882 arg3 = (int)SWIG_As_int(obj2);
8883 if (PyErr_Occurred()) SWIG_fail;
8884 }
8885 if (obj3) {
8886 arg4 = (bool)SWIG_As_bool(obj3);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 {
8897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8898 }
8899 return resultobj;
8900 fail:
8901 return NULL;
8902 }
8903
8904
8905 static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj;
8907 wxGrid *arg1 = (wxGrid *) 0 ;
8908 wxDC *arg2 = 0 ;
8909 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
8910 PyObject * obj0 = 0 ;
8911 PyObject * obj1 = 0 ;
8912 PyObject * obj2 = 0 ;
8913 char *kwnames[] = {
8914 (char *) "self",(char *) "dc",(char *) "attr", NULL
8915 };
8916
8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8921 SWIG_POINTER_EXCEPTION | 0)) == -1)
8922 SWIG_fail;
8923 if (arg2 == NULL) {
8924 PyErr_SetString(PyExc_TypeError,"null reference");
8925 SWIG_fail;
8926 }
8927 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
8928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
8932
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 Py_INCREF(Py_None); resultobj = Py_None;
8937 return resultobj;
8938 fail:
8939 return NULL;
8940 }
8941
8942
8943 static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxGrid *arg1 = (wxGrid *) 0 ;
8946 wxDC *arg2 = 0 ;
8947 wxString *arg3 = 0 ;
8948 wxRect *arg4 = 0 ;
8949 int arg5 = (int) wxLEFT ;
8950 int arg6 = (int) wxTOP ;
8951 int arg7 = (int) wxHORIZONTAL ;
8952 bool temp3 = False ;
8953 wxRect temp4 ;
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 PyObject * obj2 = 0 ;
8957 PyObject * obj3 = 0 ;
8958 PyObject * obj4 = 0 ;
8959 PyObject * obj5 = 0 ;
8960 PyObject * obj6 = 0 ;
8961 char *kwnames[] = {
8962 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8963 };
8964
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8969 SWIG_POINTER_EXCEPTION | 0)) == -1)
8970 SWIG_fail;
8971 if (arg2 == NULL) {
8972 PyErr_SetString(PyExc_TypeError,"null reference");
8973 SWIG_fail;
8974 }
8975 {
8976 arg3 = wxString_in_helper(obj2);
8977 if (arg3 == NULL) SWIG_fail;
8978 temp3 = True;
8979 }
8980 {
8981 arg4 = &temp4;
8982 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
8983 }
8984 if (obj4) {
8985 arg5 = (int)SWIG_As_int(obj4);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 if (obj5) {
8989 arg6 = (int)SWIG_As_int(obj5);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 }
8992 if (obj6) {
8993 arg7 = (int)SWIG_As_int(obj6);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 Py_INCREF(Py_None); resultobj = Py_None;
9004 {
9005 if (temp3)
9006 delete arg3;
9007 }
9008 return resultobj;
9009 fail:
9010 {
9011 if (temp3)
9012 delete arg3;
9013 }
9014 return NULL;
9015 }
9016
9017
9018 static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxGrid *arg1 = (wxGrid *) 0 ;
9021 wxDC *arg2 = 0 ;
9022 wxArrayString *arg3 = 0 ;
9023 long *arg4 = (long *) 0 ;
9024 long *arg5 = (long *) 0 ;
9025 bool temp3 = False ;
9026 long temp4 ;
9027 int res4 = 0 ;
9028 long temp5 ;
9029 int res5 = 0 ;
9030 PyObject * obj0 = 0 ;
9031 PyObject * obj1 = 0 ;
9032 PyObject * obj2 = 0 ;
9033 char *kwnames[] = {
9034 (char *) "self",(char *) "dc",(char *) "lines", NULL
9035 };
9036
9037 arg4 = &temp4; res4 = SWIG_NEWOBJ;
9038 arg5 = &temp5; res5 = SWIG_NEWOBJ;
9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9043 SWIG_POINTER_EXCEPTION | 0)) == -1)
9044 SWIG_fail;
9045 if (arg2 == NULL) {
9046 PyErr_SetString(PyExc_TypeError,"null reference");
9047 SWIG_fail;
9048 }
9049 {
9050 if (! PySequence_Check(obj2)) {
9051 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9052 SWIG_fail;
9053 }
9054 arg3 = new wxArrayString;
9055 temp3 = True;
9056 int i, len=PySequence_Length(obj2);
9057 for (i=0; i<len; i++) {
9058 PyObject* item = PySequence_GetItem(obj2, i);
9059 #if wxUSE_UNICODE
9060 PyObject* str = PyObject_Unicode(item);
9061 #else
9062 PyObject* str = PyObject_Str(item);
9063 #endif
9064 if (PyErr_Occurred()) SWIG_fail;
9065 arg3->Add(Py2wxString(str));
9066 Py_DECREF(item);
9067 Py_DECREF(str);
9068 }
9069 }
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 Py_INCREF(Py_None); resultobj = Py_None;
9078 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9079 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
9080 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
9081 SWIG_From_long((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, 0)));
9082 {
9083 if (temp3) delete arg3;
9084 }
9085 return resultobj;
9086 fail:
9087 {
9088 if (temp3) delete arg3;
9089 }
9090 return NULL;
9091 }
9092
9093
9094 static PyObject *_wrap_Grid_BeginBatch(PyObject *, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxGrid *arg1 = (wxGrid *) 0 ;
9097 PyObject * obj0 = 0 ;
9098 char *kwnames[] = {
9099 (char *) "self", NULL
9100 };
9101
9102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
9103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
9107 (arg1)->BeginBatch();
9108
9109 wxPyEndAllowThreads(__tstate);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 Py_INCREF(Py_None); resultobj = Py_None;
9113 return resultobj;
9114 fail:
9115 return NULL;
9116 }
9117
9118
9119 static PyObject *_wrap_Grid_EndBatch(PyObject *, PyObject *args, PyObject *kwargs) {
9120 PyObject *resultobj;
9121 wxGrid *arg1 = (wxGrid *) 0 ;
9122 PyObject * obj0 = 0 ;
9123 char *kwnames[] = {
9124 (char *) "self", NULL
9125 };
9126
9127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
9128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9130 {
9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
9132 (arg1)->EndBatch();
9133
9134 wxPyEndAllowThreads(__tstate);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
9137 Py_INCREF(Py_None); resultobj = Py_None;
9138 return resultobj;
9139 fail:
9140 return NULL;
9141 }
9142
9143
9144 static PyObject *_wrap_Grid_GetBatchCount(PyObject *, PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj;
9146 wxGrid *arg1 = (wxGrid *) 0 ;
9147 int result;
9148 PyObject * obj0 = 0 ;
9149 char *kwnames[] = {
9150 (char *) "self", NULL
9151 };
9152
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
9154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = (int)(arg1)->GetBatchCount();
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 resultobj = SWIG_From_int((int)result);
9164 return resultobj;
9165 fail:
9166 return NULL;
9167 }
9168
9169
9170 static PyObject *_wrap_Grid_ForceRefresh(PyObject *, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxGrid *arg1 = (wxGrid *) 0 ;
9173 PyObject * obj0 = 0 ;
9174 char *kwnames[] = {
9175 (char *) "self", NULL
9176 };
9177
9178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
9179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 (arg1)->ForceRefresh();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 Py_INCREF(Py_None); resultobj = Py_None;
9189 return resultobj;
9190 fail:
9191 return NULL;
9192 }
9193
9194
9195 static PyObject *_wrap_Grid_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxGrid *arg1 = (wxGrid *) 0 ;
9198 bool result;
9199 PyObject * obj0 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 result = (bool)(arg1)->IsEditable();
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 {
9215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9216 }
9217 return resultobj;
9218 fail:
9219 return NULL;
9220 }
9221
9222
9223 static PyObject *_wrap_Grid_EnableEditing(PyObject *, PyObject *args, PyObject *kwargs) {
9224 PyObject *resultobj;
9225 wxGrid *arg1 = (wxGrid *) 0 ;
9226 bool arg2 ;
9227 PyObject * obj0 = 0 ;
9228 PyObject * obj1 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self",(char *) "edit", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9236 arg2 = (bool)SWIG_As_bool(obj1);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 (arg1)->EnableEditing(arg2);
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 Py_INCREF(Py_None); resultobj = Py_None;
9246 return resultobj;
9247 fail:
9248 return NULL;
9249 }
9250
9251
9252 static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj;
9254 wxGrid *arg1 = (wxGrid *) 0 ;
9255 bool arg2 = (bool) True ;
9256 PyObject * obj0 = 0 ;
9257 PyObject * obj1 = 0 ;
9258 char *kwnames[] = {
9259 (char *) "self",(char *) "enable", NULL
9260 };
9261
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
9263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9265 if (obj1) {
9266 arg2 = (bool)SWIG_As_bool(obj1);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
9271 (arg1)->EnableCellEditControl(arg2);
9272
9273 wxPyEndAllowThreads(__tstate);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 }
9276 Py_INCREF(Py_None); resultobj = Py_None;
9277 return resultobj;
9278 fail:
9279 return NULL;
9280 }
9281
9282
9283 static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
9284 PyObject *resultobj;
9285 wxGrid *arg1 = (wxGrid *) 0 ;
9286 PyObject * obj0 = 0 ;
9287 char *kwnames[] = {
9288 (char *) "self", NULL
9289 };
9290
9291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
9292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 (arg1)->DisableCellEditControl();
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 Py_INCREF(Py_None); resultobj = Py_None;
9302 return resultobj;
9303 fail:
9304 return NULL;
9305 }
9306
9307
9308 static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *, PyObject *args, PyObject *kwargs) {
9309 PyObject *resultobj;
9310 wxGrid *arg1 = (wxGrid *) 0 ;
9311 bool result;
9312 PyObject * obj0 = 0 ;
9313 char *kwnames[] = {
9314 (char *) "self", NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
9318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 {
9328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9329 }
9330 return resultobj;
9331 fail:
9332 return NULL;
9333 }
9334
9335
9336 static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj;
9338 wxGrid *arg1 = (wxGrid *) 0 ;
9339 bool result;
9340 PyObject * obj0 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "self", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
9346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 {
9356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9357 }
9358 return resultobj;
9359 fail:
9360 return NULL;
9361 }
9362
9363
9364 static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxGrid *arg1 = (wxGrid *) 0 ;
9367 bool result;
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 {
9384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9385 }
9386 return resultobj;
9387 fail:
9388 return NULL;
9389 }
9390
9391
9392 static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
9393 PyObject *resultobj;
9394 wxGrid *arg1 = (wxGrid *) 0 ;
9395 bool result;
9396 PyObject * obj0 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 {
9412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9413 }
9414 return resultobj;
9415 fail:
9416 return NULL;
9417 }
9418
9419
9420 static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj;
9422 wxGrid *arg1 = (wxGrid *) 0 ;
9423 PyObject * obj0 = 0 ;
9424 char *kwnames[] = {
9425 (char *) "self", NULL
9426 };
9427
9428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
9429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9431 {
9432 PyThreadState* __tstate = wxPyBeginAllowThreads();
9433 (arg1)->ShowCellEditControl();
9434
9435 wxPyEndAllowThreads(__tstate);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
9438 Py_INCREF(Py_None); resultobj = Py_None;
9439 return resultobj;
9440 fail:
9441 return NULL;
9442 }
9443
9444
9445 static PyObject *_wrap_Grid_HideCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj;
9447 wxGrid *arg1 = (wxGrid *) 0 ;
9448 PyObject * obj0 = 0 ;
9449 char *kwnames[] = {
9450 (char *) "self", NULL
9451 };
9452
9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
9454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9456 {
9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9458 (arg1)->HideCellEditControl();
9459
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 Py_INCREF(Py_None); resultobj = Py_None;
9464 return resultobj;
9465 fail:
9466 return NULL;
9467 }
9468
9469
9470 static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *, PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj;
9472 wxGrid *arg1 = (wxGrid *) 0 ;
9473 PyObject * obj0 = 0 ;
9474 char *kwnames[] = {
9475 (char *) "self", NULL
9476 };
9477
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
9479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9481 {
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 (arg1)->SaveEditControlValue();
9484
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
9488 Py_INCREF(Py_None); resultobj = Py_None;
9489 return resultobj;
9490 fail:
9491 return NULL;
9492 }
9493
9494
9495 static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj;
9497 wxGrid *arg1 = (wxGrid *) 0 ;
9498 int arg2 ;
9499 int arg3 ;
9500 wxGridCellCoords result;
9501 PyObject * obj0 = 0 ;
9502 PyObject * obj1 = 0 ;
9503 PyObject * obj2 = 0 ;
9504 char *kwnames[] = {
9505 (char *) "self",(char *) "x",(char *) "y", NULL
9506 };
9507
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
9509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9511 arg2 = (int)SWIG_As_int(obj1);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 arg3 = (int)SWIG_As_int(obj2);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 result = wxGrid_XYToCell(arg1,arg2,arg3);
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 {
9523 wxGridCellCoords * resultptr;
9524 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
9525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
9526 }
9527 return resultobj;
9528 fail:
9529 return NULL;
9530 }
9531
9532
9533 static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxGrid *arg1 = (wxGrid *) 0 ;
9536 int arg2 ;
9537 int result;
9538 PyObject * obj0 = 0 ;
9539 PyObject * obj1 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self",(char *) "y", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
9545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9547 arg2 = (int)SWIG_As_int(obj1);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 {
9550 PyThreadState* __tstate = wxPyBeginAllowThreads();
9551 result = (int)(arg1)->YToRow(arg2);
9552
9553 wxPyEndAllowThreads(__tstate);
9554 if (PyErr_Occurred()) SWIG_fail;
9555 }
9556 resultobj = SWIG_From_int((int)result);
9557 return resultobj;
9558 fail:
9559 return NULL;
9560 }
9561
9562
9563 static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) {
9564 PyObject *resultobj;
9565 wxGrid *arg1 = (wxGrid *) 0 ;
9566 int arg2 ;
9567 int result;
9568 PyObject * obj0 = 0 ;
9569 PyObject * obj1 = 0 ;
9570 char *kwnames[] = {
9571 (char *) "self",(char *) "x", NULL
9572 };
9573
9574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
9575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9577 arg2 = (int)SWIG_As_int(obj1);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 result = (int)(arg1)->XToCol(arg2);
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 resultobj = SWIG_From_int((int)result);
9587 return resultobj;
9588 fail:
9589 return NULL;
9590 }
9591
9592
9593 static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *kwargs) {
9594 PyObject *resultobj;
9595 wxGrid *arg1 = (wxGrid *) 0 ;
9596 int arg2 ;
9597 int result;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj1 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self",(char *) "y", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9607 arg2 = (int)SWIG_As_int(obj1);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (int)(arg1)->YToEdgeOfRow(arg2);
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 resultobj = SWIG_From_int((int)result);
9617 return resultobj;
9618 fail:
9619 return NULL;
9620 }
9621
9622
9623 static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *kwargs) {
9624 PyObject *resultobj;
9625 wxGrid *arg1 = (wxGrid *) 0 ;
9626 int arg2 ;
9627 int result;
9628 PyObject * obj0 = 0 ;
9629 PyObject * obj1 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self",(char *) "x", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
9635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9637 arg2 = (int)SWIG_As_int(obj1);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 result = (int)(arg1)->XToEdgeOfCol(arg2);
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 resultobj = SWIG_From_int((int)result);
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj;
9655 wxGrid *arg1 = (wxGrid *) 0 ;
9656 int arg2 ;
9657 int arg3 ;
9658 wxRect result;
9659 PyObject * obj0 = 0 ;
9660 PyObject * obj1 = 0 ;
9661 PyObject * obj2 = 0 ;
9662 char *kwnames[] = {
9663 (char *) "self",(char *) "row",(char *) "col", NULL
9664 };
9665
9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
9667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9669 arg2 = (int)SWIG_As_int(obj1);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 arg3 = (int)SWIG_As_int(obj2);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 result = (arg1)->CellToRect(arg2,arg3);
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 }
9680 {
9681 wxRect * resultptr;
9682 resultptr = new wxRect((wxRect &) result);
9683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9684 }
9685 return resultobj;
9686 fail:
9687 return NULL;
9688 }
9689
9690
9691 static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *, PyObject *args, PyObject *kwargs) {
9692 PyObject *resultobj;
9693 wxGrid *arg1 = (wxGrid *) 0 ;
9694 int result;
9695 PyObject * obj0 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "self", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
9701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 result = (int)(arg1)->GetGridCursorRow();
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 resultobj = SWIG_From_int((int)result);
9711 return resultobj;
9712 fail:
9713 return NULL;
9714 }
9715
9716
9717 static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 wxGrid *arg1 = (wxGrid *) 0 ;
9720 int result;
9721 PyObject * obj0 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "self", NULL
9724 };
9725
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
9727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 result = (int)(arg1)->GetGridCursorCol();
9732
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 resultobj = SWIG_From_int((int)result);
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 static PyObject *_wrap_Grid_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9744 PyObject *resultobj;
9745 wxGrid *arg1 = (wxGrid *) 0 ;
9746 int arg2 ;
9747 int arg3 ;
9748 bool arg4 = (bool) True ;
9749 bool result;
9750 PyObject * obj0 = 0 ;
9751 PyObject * obj1 = 0 ;
9752 PyObject * obj2 = 0 ;
9753 PyObject * obj3 = 0 ;
9754 char *kwnames[] = {
9755 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9756 };
9757
9758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9761 arg2 = (int)SWIG_As_int(obj1);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 arg3 = (int)SWIG_As_int(obj2);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 if (obj3) {
9766 arg4 = (bool)SWIG_As_bool(obj3);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 {
9770 PyThreadState* __tstate = wxPyBeginAllowThreads();
9771 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
9772
9773 wxPyEndAllowThreads(__tstate);
9774 if (PyErr_Occurred()) SWIG_fail;
9775 }
9776 {
9777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9778 }
9779 return resultobj;
9780 fail:
9781 return NULL;
9782 }
9783
9784
9785 static PyObject *_wrap_Grid_MakeCellVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxGrid *arg1 = (wxGrid *) 0 ;
9788 int arg2 ;
9789 int arg3 ;
9790 PyObject * obj0 = 0 ;
9791 PyObject * obj1 = 0 ;
9792 PyObject * obj2 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self",(char *) "row",(char *) "col", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
9798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9800 arg2 = (int)SWIG_As_int(obj1);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 arg3 = (int)SWIG_As_int(obj2);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 (arg1)->MakeCellVisible(arg2,arg3);
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 Py_INCREF(Py_None); resultobj = Py_None;
9812 return resultobj;
9813 fail:
9814 return NULL;
9815 }
9816
9817
9818 static PyObject *_wrap_Grid_SetGridCursor(PyObject *, PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj;
9820 wxGrid *arg1 = (wxGrid *) 0 ;
9821 int arg2 ;
9822 int arg3 ;
9823 PyObject * obj0 = 0 ;
9824 PyObject * obj1 = 0 ;
9825 PyObject * obj2 = 0 ;
9826 char *kwnames[] = {
9827 (char *) "self",(char *) "row",(char *) "col", NULL
9828 };
9829
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
9831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9833 arg2 = (int)SWIG_As_int(obj1);
9834 if (PyErr_Occurred()) SWIG_fail;
9835 arg3 = (int)SWIG_As_int(obj2);
9836 if (PyErr_Occurred()) SWIG_fail;
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 (arg1)->SetGridCursor(arg2,arg3);
9840
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 Py_INCREF(Py_None); resultobj = Py_None;
9845 return resultobj;
9846 fail:
9847 return NULL;
9848 }
9849
9850
9851 static PyObject *_wrap_Grid_MoveCursorUp(PyObject *, PyObject *args, PyObject *kwargs) {
9852 PyObject *resultobj;
9853 wxGrid *arg1 = (wxGrid *) 0 ;
9854 bool arg2 ;
9855 bool result;
9856 PyObject * obj0 = 0 ;
9857 PyObject * obj1 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self",(char *) "expandSelection", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9865 arg2 = (bool)SWIG_As_bool(obj1);
9866 if (PyErr_Occurred()) SWIG_fail;
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 result = (bool)(arg1)->MoveCursorUp(arg2);
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 {
9875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9876 }
9877 return resultobj;
9878 fail:
9879 return NULL;
9880 }
9881
9882
9883 static PyObject *_wrap_Grid_MoveCursorDown(PyObject *, PyObject *args, PyObject *kwargs) {
9884 PyObject *resultobj;
9885 wxGrid *arg1 = (wxGrid *) 0 ;
9886 bool arg2 ;
9887 bool result;
9888 PyObject * obj0 = 0 ;
9889 PyObject * obj1 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self",(char *) "expandSelection", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9897 arg2 = (bool)SWIG_As_bool(obj1);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
9901 result = (bool)(arg1)->MoveCursorDown(arg2);
9902
9903 wxPyEndAllowThreads(__tstate);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 {
9907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9908 }
9909 return resultobj;
9910 fail:
9911 return NULL;
9912 }
9913
9914
9915 static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *, PyObject *args, PyObject *kwargs) {
9916 PyObject *resultobj;
9917 wxGrid *arg1 = (wxGrid *) 0 ;
9918 bool arg2 ;
9919 bool result;
9920 PyObject * obj0 = 0 ;
9921 PyObject * obj1 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self",(char *) "expandSelection", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
9927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9929 arg2 = (bool)SWIG_As_bool(obj1);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = (bool)(arg1)->MoveCursorLeft(arg2);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 {
9939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9940 }
9941 return resultobj;
9942 fail:
9943 return NULL;
9944 }
9945
9946
9947 static PyObject *_wrap_Grid_MoveCursorRight(PyObject *, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 wxGrid *arg1 = (wxGrid *) 0 ;
9950 bool arg2 ;
9951 bool result;
9952 PyObject * obj0 = 0 ;
9953 PyObject * obj1 = 0 ;
9954 char *kwnames[] = {
9955 (char *) "self",(char *) "expandSelection", NULL
9956 };
9957
9958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
9959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9961 arg2 = (bool)SWIG_As_bool(obj1);
9962 if (PyErr_Occurred()) SWIG_fail;
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 result = (bool)(arg1)->MoveCursorRight(arg2);
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 {
9971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9972 }
9973 return resultobj;
9974 fail:
9975 return NULL;
9976 }
9977
9978
9979 static PyObject *_wrap_Grid_MovePageDown(PyObject *, PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj;
9981 wxGrid *arg1 = (wxGrid *) 0 ;
9982 bool result;
9983 PyObject * obj0 = 0 ;
9984 char *kwnames[] = {
9985 (char *) "self", NULL
9986 };
9987
9988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
9989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = (bool)(arg1)->MovePageDown();
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 {
9999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10000 }
10001 return resultobj;
10002 fail:
10003 return NULL;
10004 }
10005
10006
10007 static PyObject *_wrap_Grid_MovePageUp(PyObject *, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxGrid *arg1 = (wxGrid *) 0 ;
10010 bool result;
10011 PyObject * obj0 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
10017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 result = (bool)(arg1)->MovePageUp();
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 {
10027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10028 }
10029 return resultobj;
10030 fail:
10031 return NULL;
10032 }
10033
10034
10035 static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *, PyObject *args, PyObject *kwargs) {
10036 PyObject *resultobj;
10037 wxGrid *arg1 = (wxGrid *) 0 ;
10038 bool arg2 ;
10039 bool result;
10040 PyObject * obj0 = 0 ;
10041 PyObject * obj1 = 0 ;
10042 char *kwnames[] = {
10043 (char *) "self",(char *) "expandSelection", NULL
10044 };
10045
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
10047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10049 arg2 = (bool)SWIG_As_bool(obj1);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
10058 {
10059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10060 }
10061 return resultobj;
10062 fail:
10063 return NULL;
10064 }
10065
10066
10067 static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *, PyObject *args, PyObject *kwargs) {
10068 PyObject *resultobj;
10069 wxGrid *arg1 = (wxGrid *) 0 ;
10070 bool arg2 ;
10071 bool result;
10072 PyObject * obj0 = 0 ;
10073 PyObject * obj1 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "self",(char *) "expandSelection", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
10079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10081 arg2 = (bool)SWIG_As_bool(obj1);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 {
10091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10092 }
10093 return resultobj;
10094 fail:
10095 return NULL;
10096 }
10097
10098
10099 static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *, PyObject *args, PyObject *kwargs) {
10100 PyObject *resultobj;
10101 wxGrid *arg1 = (wxGrid *) 0 ;
10102 bool arg2 ;
10103 bool result;
10104 PyObject * obj0 = 0 ;
10105 PyObject * obj1 = 0 ;
10106 char *kwnames[] = {
10107 (char *) "self",(char *) "expandSelection", NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
10111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10113 arg2 = (bool)SWIG_As_bool(obj1);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 {
10116 PyThreadState* __tstate = wxPyBeginAllowThreads();
10117 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
10118
10119 wxPyEndAllowThreads(__tstate);
10120 if (PyErr_Occurred()) SWIG_fail;
10121 }
10122 {
10123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10124 }
10125 return resultobj;
10126 fail:
10127 return NULL;
10128 }
10129
10130
10131 static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *, PyObject *args, PyObject *kwargs) {
10132 PyObject *resultobj;
10133 wxGrid *arg1 = (wxGrid *) 0 ;
10134 bool arg2 ;
10135 bool result;
10136 PyObject * obj0 = 0 ;
10137 PyObject * obj1 = 0 ;
10138 char *kwnames[] = {
10139 (char *) "self",(char *) "expandSelection", NULL
10140 };
10141
10142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
10143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10145 arg2 = (bool)SWIG_As_bool(obj1);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
10154 {
10155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10156 }
10157 return resultobj;
10158 fail:
10159 return NULL;
10160 }
10161
10162
10163 static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
10164 PyObject *resultobj;
10165 wxGrid *arg1 = (wxGrid *) 0 ;
10166 int result;
10167 PyObject * obj0 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "self", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
10173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 result = (int)(arg1)->GetDefaultRowLabelSize();
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 resultobj = SWIG_From_int((int)result);
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj;
10191 wxGrid *arg1 = (wxGrid *) 0 ;
10192 int result;
10193 PyObject * obj0 = 0 ;
10194 char *kwnames[] = {
10195 (char *) "self", NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
10199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 result = (int)(arg1)->GetRowLabelSize();
10204
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = SWIG_From_int((int)result);
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj;
10217 wxGrid *arg1 = (wxGrid *) 0 ;
10218 int result;
10219 PyObject * obj0 = 0 ;
10220 char *kwnames[] = {
10221 (char *) "self", NULL
10222 };
10223
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
10225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10227 {
10228 PyThreadState* __tstate = wxPyBeginAllowThreads();
10229 result = (int)(arg1)->GetDefaultColLabelSize();
10230
10231 wxPyEndAllowThreads(__tstate);
10232 if (PyErr_Occurred()) SWIG_fail;
10233 }
10234 resultobj = SWIG_From_int((int)result);
10235 return resultobj;
10236 fail:
10237 return NULL;
10238 }
10239
10240
10241 static PyObject *_wrap_Grid_GetColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
10242 PyObject *resultobj;
10243 wxGrid *arg1 = (wxGrid *) 0 ;
10244 int result;
10245 PyObject * obj0 = 0 ;
10246 char *kwnames[] = {
10247 (char *) "self", NULL
10248 };
10249
10250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
10251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 result = (int)(arg1)->GetColLabelSize();
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 resultobj = SWIG_From_int((int)result);
10261 return resultobj;
10262 fail:
10263 return NULL;
10264 }
10265
10266
10267 static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxGrid *arg1 = (wxGrid *) 0 ;
10270 wxColour result;
10271 PyObject * obj0 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 result = (arg1)->GetLabelBackgroundColour();
10282
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 {
10287 wxColour * resultptr;
10288 resultptr = new wxColour((wxColour &) result);
10289 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10290 }
10291 return resultobj;
10292 fail:
10293 return NULL;
10294 }
10295
10296
10297 static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
10298 PyObject *resultobj;
10299 wxGrid *arg1 = (wxGrid *) 0 ;
10300 wxColour result;
10301 PyObject * obj0 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
10307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 result = (arg1)->GetLabelTextColour();
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 {
10317 wxColour * resultptr;
10318 resultptr = new wxColour((wxColour &) result);
10319 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10320 }
10321 return resultobj;
10322 fail:
10323 return NULL;
10324 }
10325
10326
10327 static PyObject *_wrap_Grid_GetLabelFont(PyObject *, PyObject *args, PyObject *kwargs) {
10328 PyObject *resultobj;
10329 wxGrid *arg1 = (wxGrid *) 0 ;
10330 wxFont result;
10331 PyObject * obj0 = 0 ;
10332 char *kwnames[] = {
10333 (char *) "self", NULL
10334 };
10335
10336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
10337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 result = (arg1)->GetLabelFont();
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
10346 {
10347 wxFont * resultptr;
10348 resultptr = new wxFont((wxFont &) result);
10349 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
10350 }
10351 return resultobj;
10352 fail:
10353 return NULL;
10354 }
10355
10356
10357 static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj;
10359 wxGrid *arg1 = (wxGrid *) 0 ;
10360 int *arg2 = (int *) 0 ;
10361 int *arg3 = (int *) 0 ;
10362 int temp2 ;
10363 int res2 = 0 ;
10364 int temp3 ;
10365 int res3 = 0 ;
10366 PyObject * obj0 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self", NULL
10369 };
10370
10371 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10372 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
10374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 (arg1)->GetRowLabelAlignment(arg2,arg3);
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 Py_INCREF(Py_None); resultobj = Py_None;
10384 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10385 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
10386 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10387 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
10388 return resultobj;
10389 fail:
10390 return NULL;
10391 }
10392
10393
10394 static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10395 PyObject *resultobj;
10396 wxGrid *arg1 = (wxGrid *) 0 ;
10397 int *arg2 = (int *) 0 ;
10398 int *arg3 = (int *) 0 ;
10399 int temp2 ;
10400 int res2 = 0 ;
10401 int temp3 ;
10402 int res3 = 0 ;
10403 PyObject * obj0 = 0 ;
10404 char *kwnames[] = {
10405 (char *) "self", NULL
10406 };
10407
10408 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10409 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
10411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 (arg1)->GetColLabelAlignment(arg2,arg3);
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
10420 Py_INCREF(Py_None); resultobj = Py_None;
10421 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10422 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
10423 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10424 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
10425 return resultobj;
10426 fail:
10427 return NULL;
10428 }
10429
10430
10431 static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10432 PyObject *resultobj;
10433 wxGrid *arg1 = (wxGrid *) 0 ;
10434 int result;
10435 PyObject * obj0 = 0 ;
10436 char *kwnames[] = {
10437 (char *) "self", NULL
10438 };
10439
10440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
10441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 result = (int)(arg1)->GetColLabelTextOrientation();
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 resultobj = SWIG_From_int((int)result);
10451 return resultobj;
10452 fail:
10453 return NULL;
10454 }
10455
10456
10457 static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxGrid *arg1 = (wxGrid *) 0 ;
10460 int arg2 ;
10461 wxString result;
10462 PyObject * obj0 = 0 ;
10463 PyObject * obj1 = 0 ;
10464 char *kwnames[] = {
10465 (char *) "self",(char *) "row", NULL
10466 };
10467
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
10469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10471 arg2 = (int)SWIG_As_int(obj1);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 result = (arg1)->GetRowLabelValue(arg2);
10476
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 {
10481 #if wxUSE_UNICODE
10482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10483 #else
10484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10485 #endif
10486 }
10487 return resultobj;
10488 fail:
10489 return NULL;
10490 }
10491
10492
10493 static PyObject *_wrap_Grid_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
10494 PyObject *resultobj;
10495 wxGrid *arg1 = (wxGrid *) 0 ;
10496 int arg2 ;
10497 wxString result;
10498 PyObject * obj0 = 0 ;
10499 PyObject * obj1 = 0 ;
10500 char *kwnames[] = {
10501 (char *) "self",(char *) "col", NULL
10502 };
10503
10504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
10505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10507 arg2 = (int)SWIG_As_int(obj1);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 result = (arg1)->GetColLabelValue(arg2);
10512
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 {
10517 #if wxUSE_UNICODE
10518 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10519 #else
10520 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10521 #endif
10522 }
10523 return resultobj;
10524 fail:
10525 return NULL;
10526 }
10527
10528
10529 static PyObject *_wrap_Grid_GetGridLineColour(PyObject *, PyObject *args, PyObject *kwargs) {
10530 PyObject *resultobj;
10531 wxGrid *arg1 = (wxGrid *) 0 ;
10532 wxColour result;
10533 PyObject * obj0 = 0 ;
10534 char *kwnames[] = {
10535 (char *) "self", NULL
10536 };
10537
10538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
10539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 result = (arg1)->GetGridLineColour();
10544
10545 wxPyEndAllowThreads(__tstate);
10546 if (PyErr_Occurred()) SWIG_fail;
10547 }
10548 {
10549 wxColour * resultptr;
10550 resultptr = new wxColour((wxColour &) result);
10551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10552 }
10553 return resultobj;
10554 fail:
10555 return NULL;
10556 }
10557
10558
10559 static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
10560 PyObject *resultobj;
10561 wxGrid *arg1 = (wxGrid *) 0 ;
10562 wxColour result;
10563 PyObject * obj0 = 0 ;
10564 char *kwnames[] = {
10565 (char *) "self", NULL
10566 };
10567
10568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
10569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10571 {
10572 PyThreadState* __tstate = wxPyBeginAllowThreads();
10573 result = (arg1)->GetCellHighlightColour();
10574
10575 wxPyEndAllowThreads(__tstate);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 }
10578 {
10579 wxColour * resultptr;
10580 resultptr = new wxColour((wxColour &) result);
10581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10582 }
10583 return resultobj;
10584 fail:
10585 return NULL;
10586 }
10587
10588
10589 static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
10590 PyObject *resultobj;
10591 wxGrid *arg1 = (wxGrid *) 0 ;
10592 int result;
10593 PyObject * obj0 = 0 ;
10594 char *kwnames[] = {
10595 (char *) "self", NULL
10596 };
10597
10598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
10599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 result = (int)(arg1)->GetCellHighlightPenWidth();
10604
10605 wxPyEndAllowThreads(__tstate);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 }
10608 resultobj = SWIG_From_int((int)result);
10609 return resultobj;
10610 fail:
10611 return NULL;
10612 }
10613
10614
10615 static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj;
10617 wxGrid *arg1 = (wxGrid *) 0 ;
10618 int result;
10619 PyObject * obj0 = 0 ;
10620 char *kwnames[] = {
10621 (char *) "self", NULL
10622 };
10623
10624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
10625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10627 {
10628 PyThreadState* __tstate = wxPyBeginAllowThreads();
10629 result = (int)(arg1)->GetCellHighlightROPenWidth();
10630
10631 wxPyEndAllowThreads(__tstate);
10632 if (PyErr_Occurred()) SWIG_fail;
10633 }
10634 resultobj = SWIG_From_int((int)result);
10635 return resultobj;
10636 fail:
10637 return NULL;
10638 }
10639
10640
10641 static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
10642 PyObject *resultobj;
10643 wxGrid *arg1 = (wxGrid *) 0 ;
10644 int arg2 ;
10645 PyObject * obj0 = 0 ;
10646 PyObject * obj1 = 0 ;
10647 char *kwnames[] = {
10648 (char *) "self",(char *) "width", NULL
10649 };
10650
10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
10652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10654 arg2 = (int)SWIG_As_int(obj1);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 (arg1)->SetRowLabelSize(arg2);
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 Py_INCREF(Py_None); resultobj = Py_None;
10664 return resultobj;
10665 fail:
10666 return NULL;
10667 }
10668
10669
10670 static PyObject *_wrap_Grid_SetColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxGrid *arg1 = (wxGrid *) 0 ;
10673 int arg2 ;
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self",(char *) "height", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
10681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10683 arg2 = (int)SWIG_As_int(obj1);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 (arg1)->SetColLabelSize(arg2);
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 Py_INCREF(Py_None); resultobj = Py_None;
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj;
10701 wxGrid *arg1 = (wxGrid *) 0 ;
10702 wxColour *arg2 = 0 ;
10703 wxColour temp2 ;
10704 PyObject * obj0 = 0 ;
10705 PyObject * obj1 = 0 ;
10706 char *kwnames[] = {
10707 (char *) "self","arg2", NULL
10708 };
10709
10710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
10711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10713 {
10714 arg2 = &temp2;
10715 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10716 }
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
10720
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
10724 Py_INCREF(Py_None); resultobj = Py_None;
10725 return resultobj;
10726 fail:
10727 return NULL;
10728 }
10729
10730
10731 static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
10732 PyObject *resultobj;
10733 wxGrid *arg1 = (wxGrid *) 0 ;
10734 wxColour *arg2 = 0 ;
10735 wxColour temp2 ;
10736 PyObject * obj0 = 0 ;
10737 PyObject * obj1 = 0 ;
10738 char *kwnames[] = {
10739 (char *) "self","arg2", NULL
10740 };
10741
10742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
10743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10745 {
10746 arg2 = &temp2;
10747 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10748 }
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 Py_INCREF(Py_None); resultobj = Py_None;
10757 return resultobj;
10758 fail:
10759 return NULL;
10760 }
10761
10762
10763 static PyObject *_wrap_Grid_SetLabelFont(PyObject *, PyObject *args, PyObject *kwargs) {
10764 PyObject *resultobj;
10765 wxGrid *arg1 = (wxGrid *) 0 ;
10766 wxFont *arg2 = 0 ;
10767 PyObject * obj0 = 0 ;
10768 PyObject * obj1 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self","arg2", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
10774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1)
10778 SWIG_fail;
10779 if (arg2 == NULL) {
10780 PyErr_SetString(PyExc_TypeError,"null reference");
10781 SWIG_fail;
10782 }
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 (arg1)->SetLabelFont((wxFont const &)*arg2);
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 Py_INCREF(Py_None); resultobj = Py_None;
10791 return resultobj;
10792 fail:
10793 return NULL;
10794 }
10795
10796
10797 static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10798 PyObject *resultobj;
10799 wxGrid *arg1 = (wxGrid *) 0 ;
10800 int arg2 ;
10801 int arg3 ;
10802 PyObject * obj0 = 0 ;
10803 PyObject * obj1 = 0 ;
10804 PyObject * obj2 = 0 ;
10805 char *kwnames[] = {
10806 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10807 };
10808
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
10810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10812 arg2 = (int)SWIG_As_int(obj1);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 arg3 = (int)SWIG_As_int(obj2);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 (arg1)->SetRowLabelAlignment(arg2,arg3);
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 Py_INCREF(Py_None); resultobj = Py_None;
10824 return resultobj;
10825 fail:
10826 return NULL;
10827 }
10828
10829
10830 static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj;
10832 wxGrid *arg1 = (wxGrid *) 0 ;
10833 int arg2 ;
10834 int arg3 ;
10835 PyObject * obj0 = 0 ;
10836 PyObject * obj1 = 0 ;
10837 PyObject * obj2 = 0 ;
10838 char *kwnames[] = {
10839 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10840 };
10841
10842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
10843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10845 arg2 = (int)SWIG_As_int(obj1);
10846 if (PyErr_Occurred()) SWIG_fail;
10847 arg3 = (int)SWIG_As_int(obj2);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 {
10850 PyThreadState* __tstate = wxPyBeginAllowThreads();
10851 (arg1)->SetColLabelAlignment(arg2,arg3);
10852
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 Py_INCREF(Py_None); resultobj = Py_None;
10857 return resultobj;
10858 fail:
10859 return NULL;
10860 }
10861
10862
10863 static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10864 PyObject *resultobj;
10865 wxGrid *arg1 = (wxGrid *) 0 ;
10866 int arg2 ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 char *kwnames[] = {
10870 (char *) "self",(char *) "textOrientation", NULL
10871 };
10872
10873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
10874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10876 arg2 = (int)SWIG_As_int(obj1);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 (arg1)->SetColLabelTextOrientation(arg2);
10881
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 Py_INCREF(Py_None); resultobj = Py_None;
10886 return resultobj;
10887 fail:
10888 return NULL;
10889 }
10890
10891
10892 static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
10893 PyObject *resultobj;
10894 wxGrid *arg1 = (wxGrid *) 0 ;
10895 int arg2 ;
10896 wxString *arg3 = 0 ;
10897 bool temp3 = False ;
10898 PyObject * obj0 = 0 ;
10899 PyObject * obj1 = 0 ;
10900 PyObject * obj2 = 0 ;
10901 char *kwnames[] = {
10902 (char *) "self",(char *) "row","arg3", NULL
10903 };
10904
10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
10906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10908 arg2 = (int)SWIG_As_int(obj1);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 {
10911 arg3 = wxString_in_helper(obj2);
10912 if (arg3 == NULL) SWIG_fail;
10913 temp3 = True;
10914 }
10915 {
10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
10917 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
10918
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
10922 Py_INCREF(Py_None); resultobj = Py_None;
10923 {
10924 if (temp3)
10925 delete arg3;
10926 }
10927 return resultobj;
10928 fail:
10929 {
10930 if (temp3)
10931 delete arg3;
10932 }
10933 return NULL;
10934 }
10935
10936
10937 static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
10938 PyObject *resultobj;
10939 wxGrid *arg1 = (wxGrid *) 0 ;
10940 int arg2 ;
10941 wxString *arg3 = 0 ;
10942 bool temp3 = False ;
10943 PyObject * obj0 = 0 ;
10944 PyObject * obj1 = 0 ;
10945 PyObject * obj2 = 0 ;
10946 char *kwnames[] = {
10947 (char *) "self",(char *) "col","arg3", NULL
10948 };
10949
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
10951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10953 arg2 = (int)SWIG_As_int(obj1);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 {
10956 arg3 = wxString_in_helper(obj2);
10957 if (arg3 == NULL) SWIG_fail;
10958 temp3 = True;
10959 }
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 Py_INCREF(Py_None); resultobj = Py_None;
10968 {
10969 if (temp3)
10970 delete arg3;
10971 }
10972 return resultobj;
10973 fail:
10974 {
10975 if (temp3)
10976 delete arg3;
10977 }
10978 return NULL;
10979 }
10980
10981
10982 static PyObject *_wrap_Grid_SetGridLineColour(PyObject *, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxGrid *arg1 = (wxGrid *) 0 ;
10985 wxColour *arg2 = 0 ;
10986 wxColour temp2 ;
10987 PyObject * obj0 = 0 ;
10988 PyObject * obj1 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self","arg2", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10996 {
10997 arg2 = &temp2;
10998 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10999 }
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 (arg1)->SetGridLineColour((wxColour const &)*arg2);
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 Py_INCREF(Py_None); resultobj = Py_None;
11008 return resultobj;
11009 fail:
11010 return NULL;
11011 }
11012
11013
11014 static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxGrid *arg1 = (wxGrid *) 0 ;
11017 wxColour *arg2 = 0 ;
11018 wxColour temp2 ;
11019 PyObject * obj0 = 0 ;
11020 PyObject * obj1 = 0 ;
11021 char *kwnames[] = {
11022 (char *) "self","arg2", NULL
11023 };
11024
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
11026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11028 {
11029 arg2 = &temp2;
11030 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11031 }
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
11034 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
11039 Py_INCREF(Py_None); resultobj = Py_None;
11040 return resultobj;
11041 fail:
11042 return NULL;
11043 }
11044
11045
11046 static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxGrid *arg1 = (wxGrid *) 0 ;
11049 int arg2 ;
11050 PyObject * obj0 = 0 ;
11051 PyObject * obj1 = 0 ;
11052 char *kwnames[] = {
11053 (char *) "self",(char *) "width", NULL
11054 };
11055
11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
11057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11059 arg2 = (int)SWIG_As_int(obj1);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 (arg1)->SetCellHighlightPenWidth(arg2);
11064
11065 wxPyEndAllowThreads(__tstate);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 Py_INCREF(Py_None); resultobj = Py_None;
11069 return resultobj;
11070 fail:
11071 return NULL;
11072 }
11073
11074
11075 static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj;
11077 wxGrid *arg1 = (wxGrid *) 0 ;
11078 int arg2 ;
11079 PyObject * obj0 = 0 ;
11080 PyObject * obj1 = 0 ;
11081 char *kwnames[] = {
11082 (char *) "self",(char *) "width", NULL
11083 };
11084
11085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
11086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11088 arg2 = (int)SWIG_As_int(obj1);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 {
11091 PyThreadState* __tstate = wxPyBeginAllowThreads();
11092 (arg1)->SetCellHighlightROPenWidth(arg2);
11093
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 Py_INCREF(Py_None); resultobj = Py_None;
11098 return resultobj;
11099 fail:
11100 return NULL;
11101 }
11102
11103
11104 static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
11105 PyObject *resultobj;
11106 wxGrid *arg1 = (wxGrid *) 0 ;
11107 bool arg2 = (bool) True ;
11108 PyObject * obj0 = 0 ;
11109 PyObject * obj1 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "self",(char *) "enable", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
11115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11117 if (obj1) {
11118 arg2 = (bool)SWIG_As_bool(obj1);
11119 if (PyErr_Occurred()) SWIG_fail;
11120 }
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 (arg1)->EnableDragRowSize(arg2);
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 Py_INCREF(Py_None); resultobj = Py_None;
11129 return resultobj;
11130 fail:
11131 return NULL;
11132 }
11133
11134
11135 static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
11136 PyObject *resultobj;
11137 wxGrid *arg1 = (wxGrid *) 0 ;
11138 PyObject * obj0 = 0 ;
11139 char *kwnames[] = {
11140 (char *) "self", NULL
11141 };
11142
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
11144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->DisableDragRowSize();
11149
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 Py_INCREF(Py_None); resultobj = Py_None;
11154 return resultobj;
11155 fail:
11156 return NULL;
11157 }
11158
11159
11160 static PyObject *_wrap_Grid_CanDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
11161 PyObject *resultobj;
11162 wxGrid *arg1 = (wxGrid *) 0 ;
11163 bool result;
11164 PyObject * obj0 = 0 ;
11165 char *kwnames[] = {
11166 (char *) "self", NULL
11167 };
11168
11169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
11170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (bool)(arg1)->CanDragRowSize();
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 {
11180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11181 }
11182 return resultobj;
11183 fail:
11184 return NULL;
11185 }
11186
11187
11188 static PyObject *_wrap_Grid_EnableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxGrid *arg1 = (wxGrid *) 0 ;
11191 bool arg2 = (bool) True ;
11192 PyObject * obj0 = 0 ;
11193 PyObject * obj1 = 0 ;
11194 char *kwnames[] = {
11195 (char *) "self",(char *) "enable", NULL
11196 };
11197
11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
11199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11201 if (obj1) {
11202 arg2 = (bool)SWIG_As_bool(obj1);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 (arg1)->EnableDragColSize(arg2);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 Py_INCREF(Py_None); resultobj = Py_None;
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 static PyObject *_wrap_Grid_DisableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxGrid *arg1 = (wxGrid *) 0 ;
11222 PyObject * obj0 = 0 ;
11223 char *kwnames[] = {
11224 (char *) "self", NULL
11225 };
11226
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
11228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
11232 (arg1)->DisableDragColSize();
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 Py_INCREF(Py_None); resultobj = Py_None;
11238 return resultobj;
11239 fail:
11240 return NULL;
11241 }
11242
11243
11244 static PyObject *_wrap_Grid_CanDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
11245 PyObject *resultobj;
11246 wxGrid *arg1 = (wxGrid *) 0 ;
11247 bool result;
11248 PyObject * obj0 = 0 ;
11249 char *kwnames[] = {
11250 (char *) "self", NULL
11251 };
11252
11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
11254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 result = (bool)(arg1)->CanDragColSize();
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 {
11264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11265 }
11266 return resultobj;
11267 fail:
11268 return NULL;
11269 }
11270
11271
11272 static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
11273 PyObject *resultobj;
11274 wxGrid *arg1 = (wxGrid *) 0 ;
11275 bool arg2 = (bool) True ;
11276 PyObject * obj0 = 0 ;
11277 PyObject * obj1 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self",(char *) "enable", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
11283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11285 if (obj1) {
11286 arg2 = (bool)SWIG_As_bool(obj1);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 {
11290 PyThreadState* __tstate = wxPyBeginAllowThreads();
11291 (arg1)->EnableDragGridSize(arg2);
11292
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 Py_INCREF(Py_None); resultobj = Py_None;
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
11304 PyObject *resultobj;
11305 wxGrid *arg1 = (wxGrid *) 0 ;
11306 PyObject * obj0 = 0 ;
11307 char *kwnames[] = {
11308 (char *) "self", NULL
11309 };
11310
11311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
11312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->DisableDragGridSize();
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 Py_INCREF(Py_None); resultobj = Py_None;
11322 return resultobj;
11323 fail:
11324 return NULL;
11325 }
11326
11327
11328 static PyObject *_wrap_Grid_CanDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
11329 PyObject *resultobj;
11330 wxGrid *arg1 = (wxGrid *) 0 ;
11331 bool result;
11332 PyObject * obj0 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
11338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (bool)(arg1)->CanDragGridSize();
11343
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 {
11348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11349 }
11350 return resultobj;
11351 fail:
11352 return NULL;
11353 }
11354
11355
11356 static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj;
11358 wxGrid *arg1 = (wxGrid *) 0 ;
11359 bool arg2 = (bool) True ;
11360 PyObject * obj0 = 0 ;
11361 PyObject * obj1 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "self",(char *) "enable", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragCell",kwnames,&obj0,&obj1)) goto fail;
11367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11369 if (obj1) {
11370 arg2 = (bool)SWIG_As_bool(obj1);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 (arg1)->EnableDragCell(arg2);
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 Py_INCREF(Py_None); resultobj = Py_None;
11381 return resultobj;
11382 fail:
11383 return NULL;
11384 }
11385
11386
11387 static PyObject *_wrap_Grid_DisableDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
11388 PyObject *resultobj;
11389 wxGrid *arg1 = (wxGrid *) 0 ;
11390 PyObject * obj0 = 0 ;
11391 char *kwnames[] = {
11392 (char *) "self", NULL
11393 };
11394
11395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragCell",kwnames,&obj0)) goto fail;
11396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11398 {
11399 PyThreadState* __tstate = wxPyBeginAllowThreads();
11400 (arg1)->DisableDragCell();
11401
11402 wxPyEndAllowThreads(__tstate);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 }
11405 Py_INCREF(Py_None); resultobj = Py_None;
11406 return resultobj;
11407 fail:
11408 return NULL;
11409 }
11410
11411
11412 static PyObject *_wrap_Grid_CanDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
11413 PyObject *resultobj;
11414 wxGrid *arg1 = (wxGrid *) 0 ;
11415 bool result;
11416 PyObject * obj0 = 0 ;
11417 char *kwnames[] = {
11418 (char *) "self", NULL
11419 };
11420
11421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragCell",kwnames,&obj0)) goto fail;
11422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11424 {
11425 PyThreadState* __tstate = wxPyBeginAllowThreads();
11426 result = (bool)(arg1)->CanDragCell();
11427
11428 wxPyEndAllowThreads(__tstate);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 {
11432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11433 }
11434 return resultobj;
11435 fail:
11436 return NULL;
11437 }
11438
11439
11440 static PyObject *_wrap_Grid_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj;
11442 wxGrid *arg1 = (wxGrid *) 0 ;
11443 int arg2 ;
11444 int arg3 ;
11445 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
11446 PyObject * obj0 = 0 ;
11447 PyObject * obj1 = 0 ;
11448 PyObject * obj2 = 0 ;
11449 PyObject * obj3 = 0 ;
11450 char *kwnames[] = {
11451 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11452 };
11453
11454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11457 arg2 = (int)SWIG_As_int(obj1);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 arg3 = (int)SWIG_As_int(obj2);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellAttr,
11462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 (arg1)->SetAttr(arg2,arg3,arg4);
11466
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 Py_INCREF(Py_None); resultobj = Py_None;
11471 return resultobj;
11472 fail:
11473 return NULL;
11474 }
11475
11476
11477 static PyObject *_wrap_Grid_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxGrid *arg1 = (wxGrid *) 0 ;
11480 int arg2 ;
11481 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11482 PyObject * obj0 = 0 ;
11483 PyObject * obj1 = 0 ;
11484 PyObject * obj2 = 0 ;
11485 char *kwnames[] = {
11486 (char *) "self",(char *) "row",(char *) "attr", NULL
11487 };
11488
11489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
11490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11492 arg2 = (int)SWIG_As_int(obj1);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 (arg1)->SetRowAttr(arg2,arg3);
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 Py_INCREF(Py_None); resultobj = Py_None;
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 static PyObject *_wrap_Grid_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxGrid *arg1 = (wxGrid *) 0 ;
11513 int arg2 ;
11514 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11515 PyObject * obj0 = 0 ;
11516 PyObject * obj1 = 0 ;
11517 PyObject * obj2 = 0 ;
11518 char *kwnames[] = {
11519 (char *) "self",(char *) "col",(char *) "attr", NULL
11520 };
11521
11522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
11523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11525 arg2 = (int)SWIG_As_int(obj1);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11529 {
11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
11531 (arg1)->SetColAttr(arg2,arg3);
11532
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 Py_INCREF(Py_None); resultobj = Py_None;
11537 return resultobj;
11538 fail:
11539 return NULL;
11540 }
11541
11542
11543 static PyObject *_wrap_Grid_GetOrCreateCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
11544 PyObject *resultobj;
11545 wxGrid *arg1 = (wxGrid *) 0 ;
11546 int arg2 ;
11547 int arg3 ;
11548 wxGridCellAttr *result;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 PyObject * obj2 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self",(char *) "row",(char *) "col", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11559 arg2 = (int)SWIG_As_int(obj1);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 arg3 = (int)SWIG_As_int(obj2);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 {
11564 PyThreadState* __tstate = wxPyBeginAllowThreads();
11565 result = (wxGridCellAttr *)((wxGrid const *)arg1)->GetOrCreateCellAttr(arg2,arg3);
11566
11567 wxPyEndAllowThreads(__tstate);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 }
11570 {
11571 resultobj = wxPyMake_wxGridCellAttr(result, 0);
11572 }
11573 return resultobj;
11574 fail:
11575 return NULL;
11576 }
11577
11578
11579 static PyObject *_wrap_Grid_SetColFormatBool(PyObject *, PyObject *args, PyObject *kwargs) {
11580 PyObject *resultobj;
11581 wxGrid *arg1 = (wxGrid *) 0 ;
11582 int arg2 ;
11583 PyObject * obj0 = 0 ;
11584 PyObject * obj1 = 0 ;
11585 char *kwnames[] = {
11586 (char *) "self",(char *) "col", NULL
11587 };
11588
11589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
11590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11592 arg2 = (int)SWIG_As_int(obj1);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 (arg1)->SetColFormatBool(arg2);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 Py_INCREF(Py_None); resultobj = Py_None;
11602 return resultobj;
11603 fail:
11604 return NULL;
11605 }
11606
11607
11608 static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *, PyObject *args, PyObject *kwargs) {
11609 PyObject *resultobj;
11610 wxGrid *arg1 = (wxGrid *) 0 ;
11611 int arg2 ;
11612 PyObject * obj0 = 0 ;
11613 PyObject * obj1 = 0 ;
11614 char *kwnames[] = {
11615 (char *) "self",(char *) "col", NULL
11616 };
11617
11618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
11619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11621 arg2 = (int)SWIG_As_int(obj1);
11622 if (PyErr_Occurred()) SWIG_fail;
11623 {
11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
11625 (arg1)->SetColFormatNumber(arg2);
11626
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
11630 Py_INCREF(Py_None); resultobj = Py_None;
11631 return resultobj;
11632 fail:
11633 return NULL;
11634 }
11635
11636
11637 static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *, PyObject *args, PyObject *kwargs) {
11638 PyObject *resultobj;
11639 wxGrid *arg1 = (wxGrid *) 0 ;
11640 int arg2 ;
11641 int arg3 = (int) -1 ;
11642 int arg4 = (int) -1 ;
11643 PyObject * obj0 = 0 ;
11644 PyObject * obj1 = 0 ;
11645 PyObject * obj2 = 0 ;
11646 PyObject * obj3 = 0 ;
11647 char *kwnames[] = {
11648 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11649 };
11650
11651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11654 arg2 = (int)SWIG_As_int(obj1);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 if (obj2) {
11657 arg3 = (int)SWIG_As_int(obj2);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 if (obj3) {
11661 arg4 = (int)SWIG_As_int(obj3);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 Py_INCREF(Py_None); resultobj = Py_None;
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxGrid *arg1 = (wxGrid *) 0 ;
11681 int arg2 ;
11682 wxString *arg3 = 0 ;
11683 bool temp3 = False ;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 PyObject * obj2 = 0 ;
11687 char *kwnames[] = {
11688 (char *) "self",(char *) "col",(char *) "typeName", NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
11692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11694 arg2 = (int)SWIG_As_int(obj1);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 {
11697 arg3 = wxString_in_helper(obj2);
11698 if (arg3 == NULL) SWIG_fail;
11699 temp3 = True;
11700 }
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 Py_INCREF(Py_None); resultobj = Py_None;
11709 {
11710 if (temp3)
11711 delete arg3;
11712 }
11713 return resultobj;
11714 fail:
11715 {
11716 if (temp3)
11717 delete arg3;
11718 }
11719 return NULL;
11720 }
11721
11722
11723 static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj;
11725 wxGrid *arg1 = (wxGrid *) 0 ;
11726 bool arg2 = (bool) True ;
11727 PyObject * obj0 = 0 ;
11728 PyObject * obj1 = 0 ;
11729 char *kwnames[] = {
11730 (char *) "self",(char *) "enable", NULL
11731 };
11732
11733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
11734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11736 if (obj1) {
11737 arg2 = (bool)SWIG_As_bool(obj1);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 (arg1)->EnableGridLines(arg2);
11743
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 Py_INCREF(Py_None); resultobj = Py_None;
11748 return resultobj;
11749 fail:
11750 return NULL;
11751 }
11752
11753
11754 static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj;
11756 wxGrid *arg1 = (wxGrid *) 0 ;
11757 bool result;
11758 PyObject * obj0 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
11764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = (bool)(arg1)->GridLinesEnabled();
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 {
11774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11775 }
11776 return resultobj;
11777 fail:
11778 return NULL;
11779 }
11780
11781
11782 static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj;
11784 wxGrid *arg1 = (wxGrid *) 0 ;
11785 int result;
11786 PyObject * obj0 = 0 ;
11787 char *kwnames[] = {
11788 (char *) "self", NULL
11789 };
11790
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
11792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11794 {
11795 PyThreadState* __tstate = wxPyBeginAllowThreads();
11796 result = (int)(arg1)->GetDefaultRowSize();
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 resultobj = SWIG_From_int((int)result);
11802 return resultobj;
11803 fail:
11804 return NULL;
11805 }
11806
11807
11808 static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
11809 PyObject *resultobj;
11810 wxGrid *arg1 = (wxGrid *) 0 ;
11811 int arg2 ;
11812 int result;
11813 PyObject * obj0 = 0 ;
11814 PyObject * obj1 = 0 ;
11815 char *kwnames[] = {
11816 (char *) "self",(char *) "row", NULL
11817 };
11818
11819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
11820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11822 arg2 = (int)SWIG_As_int(obj1);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 {
11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
11826 result = (int)(arg1)->GetRowSize(arg2);
11827
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 resultobj = SWIG_From_int((int)result);
11832 return resultobj;
11833 fail:
11834 return NULL;
11835 }
11836
11837
11838 static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *, PyObject *args, PyObject *kwargs) {
11839 PyObject *resultobj;
11840 wxGrid *arg1 = (wxGrid *) 0 ;
11841 int result;
11842 PyObject * obj0 = 0 ;
11843 char *kwnames[] = {
11844 (char *) "self", NULL
11845 };
11846
11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
11848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 result = (int)(arg1)->GetDefaultColSize();
11853
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 resultobj = SWIG_From_int((int)result);
11858 return resultobj;
11859 fail:
11860 return NULL;
11861 }
11862
11863
11864 static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj;
11866 wxGrid *arg1 = (wxGrid *) 0 ;
11867 int arg2 ;
11868 int result;
11869 PyObject * obj0 = 0 ;
11870 PyObject * obj1 = 0 ;
11871 char *kwnames[] = {
11872 (char *) "self",(char *) "col", NULL
11873 };
11874
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
11876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11878 arg2 = (int)SWIG_As_int(obj1);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 {
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
11882 result = (int)(arg1)->GetColSize(arg2);
11883
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 resultobj = SWIG_From_int((int)result);
11888 return resultobj;
11889 fail:
11890 return NULL;
11891 }
11892
11893
11894 static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj;
11896 wxGrid *arg1 = (wxGrid *) 0 ;
11897 wxColour result;
11898 PyObject * obj0 = 0 ;
11899 char *kwnames[] = {
11900 (char *) "self", NULL
11901 };
11902
11903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
11904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11906 {
11907 PyThreadState* __tstate = wxPyBeginAllowThreads();
11908 result = (arg1)->GetDefaultCellBackgroundColour();
11909
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 }
11913 {
11914 wxColour * resultptr;
11915 resultptr = new wxColour((wxColour &) result);
11916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11917 }
11918 return resultobj;
11919 fail:
11920 return NULL;
11921 }
11922
11923
11924 static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
11925 PyObject *resultobj;
11926 wxGrid *arg1 = (wxGrid *) 0 ;
11927 int arg2 ;
11928 int arg3 ;
11929 wxColour result;
11930 PyObject * obj0 = 0 ;
11931 PyObject * obj1 = 0 ;
11932 PyObject * obj2 = 0 ;
11933 char *kwnames[] = {
11934 (char *) "self",(char *) "row",(char *) "col", NULL
11935 };
11936
11937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11940 arg2 = (int)SWIG_As_int(obj1);
11941 if (PyErr_Occurred()) SWIG_fail;
11942 arg3 = (int)SWIG_As_int(obj2);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
11947
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 {
11952 wxColour * resultptr;
11953 resultptr = new wxColour((wxColour &) result);
11954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11955 }
11956 return resultobj;
11957 fail:
11958 return NULL;
11959 }
11960
11961
11962 static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj;
11964 wxGrid *arg1 = (wxGrid *) 0 ;
11965 wxColour result;
11966 PyObject * obj0 = 0 ;
11967 char *kwnames[] = {
11968 (char *) "self", NULL
11969 };
11970
11971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
11972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = (arg1)->GetDefaultCellTextColour();
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 {
11982 wxColour * resultptr;
11983 resultptr = new wxColour((wxColour &) result);
11984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11985 }
11986 return resultobj;
11987 fail:
11988 return NULL;
11989 }
11990
11991
11992 static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
11993 PyObject *resultobj;
11994 wxGrid *arg1 = (wxGrid *) 0 ;
11995 int arg2 ;
11996 int arg3 ;
11997 wxColour result;
11998 PyObject * obj0 = 0 ;
11999 PyObject * obj1 = 0 ;
12000 PyObject * obj2 = 0 ;
12001 char *kwnames[] = {
12002 (char *) "self",(char *) "row",(char *) "col", NULL
12003 };
12004
12005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
12006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12008 arg2 = (int)SWIG_As_int(obj1);
12009 if (PyErr_Occurred()) SWIG_fail;
12010 arg3 = (int)SWIG_As_int(obj2);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 result = (arg1)->GetCellTextColour(arg2,arg3);
12015
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 {
12020 wxColour * resultptr;
12021 resultptr = new wxColour((wxColour &) result);
12022 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12023 }
12024 return resultobj;
12025 fail:
12026 return NULL;
12027 }
12028
12029
12030 static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxGrid *arg1 = (wxGrid *) 0 ;
12033 wxFont result;
12034 PyObject * obj0 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
12040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12042 {
12043 PyThreadState* __tstate = wxPyBeginAllowThreads();
12044 result = (arg1)->GetDefaultCellFont();
12045
12046 wxPyEndAllowThreads(__tstate);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 }
12049 {
12050 wxFont * resultptr;
12051 resultptr = new wxFont((wxFont &) result);
12052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12053 }
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxGrid *arg1 = (wxGrid *) 0 ;
12063 int arg2 ;
12064 int arg3 ;
12065 wxFont result;
12066 PyObject * obj0 = 0 ;
12067 PyObject * obj1 = 0 ;
12068 PyObject * obj2 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self",(char *) "row",(char *) "col", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
12074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12076 arg2 = (int)SWIG_As_int(obj1);
12077 if (PyErr_Occurred()) SWIG_fail;
12078 arg3 = (int)SWIG_As_int(obj2);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 result = (arg1)->GetCellFont(arg2,arg3);
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 {
12088 wxFont * resultptr;
12089 resultptr = new wxFont((wxFont &) result);
12090 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12091 }
12092 return resultobj;
12093 fail:
12094 return NULL;
12095 }
12096
12097
12098 static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
12099 PyObject *resultobj;
12100 wxGrid *arg1 = (wxGrid *) 0 ;
12101 int *arg2 = (int *) 0 ;
12102 int *arg3 = (int *) 0 ;
12103 int temp2 ;
12104 int res2 = 0 ;
12105 int temp3 ;
12106 int res3 = 0 ;
12107 PyObject * obj0 = 0 ;
12108 char *kwnames[] = {
12109 (char *) "self", NULL
12110 };
12111
12112 arg2 = &temp2; res2 = SWIG_NEWOBJ;
12113 arg3 = &temp3; res3 = SWIG_NEWOBJ;
12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
12115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 (arg1)->GetDefaultCellAlignment(arg2,arg3);
12120
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
12124 Py_INCREF(Py_None); resultobj = Py_None;
12125 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
12126 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
12127 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
12128 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
12129 return resultobj;
12130 fail:
12131 return NULL;
12132 }
12133
12134
12135 static PyObject *_wrap_Grid_GetCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
12136 PyObject *resultobj;
12137 wxGrid *arg1 = (wxGrid *) 0 ;
12138 int arg2 ;
12139 int arg3 ;
12140 int *arg4 = (int *) 0 ;
12141 int *arg5 = (int *) 0 ;
12142 int temp4 ;
12143 int res4 = 0 ;
12144 int temp5 ;
12145 int res5 = 0 ;
12146 PyObject * obj0 = 0 ;
12147 PyObject * obj1 = 0 ;
12148 PyObject * obj2 = 0 ;
12149 char *kwnames[] = {
12150 (char *) "self",(char *) "row",(char *) "col", NULL
12151 };
12152
12153 arg4 = &temp4; res4 = SWIG_NEWOBJ;
12154 arg5 = &temp5; res5 = SWIG_NEWOBJ;
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
12156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12158 arg2 = (int)SWIG_As_int(obj1);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 arg3 = (int)SWIG_As_int(obj2);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 {
12163 PyThreadState* __tstate = wxPyBeginAllowThreads();
12164 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
12165
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 Py_INCREF(Py_None); resultobj = Py_None;
12170 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
12171 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
12172 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
12173 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
12174 return resultobj;
12175 fail:
12176 return NULL;
12177 }
12178
12179
12180 static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
12181 PyObject *resultobj;
12182 wxGrid *arg1 = (wxGrid *) 0 ;
12183 bool result;
12184 PyObject * obj0 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "self", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
12190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (bool)(arg1)->GetDefaultCellOverflow();
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 {
12200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12201 }
12202 return resultobj;
12203 fail:
12204 return NULL;
12205 }
12206
12207
12208 static PyObject *_wrap_Grid_GetCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
12209 PyObject *resultobj;
12210 wxGrid *arg1 = (wxGrid *) 0 ;
12211 int arg2 ;
12212 int arg3 ;
12213 bool result;
12214 PyObject * obj0 = 0 ;
12215 PyObject * obj1 = 0 ;
12216 PyObject * obj2 = 0 ;
12217 char *kwnames[] = {
12218 (char *) "self",(char *) "row",(char *) "col", NULL
12219 };
12220
12221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
12222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12224 arg2 = (int)SWIG_As_int(obj1);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 arg3 = (int)SWIG_As_int(obj2);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
12231
12232 wxPyEndAllowThreads(__tstate);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 }
12235 {
12236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12237 }
12238 return resultobj;
12239 fail:
12240 return NULL;
12241 }
12242
12243
12244 static PyObject *_wrap_Grid_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
12245 PyObject *resultobj;
12246 wxGrid *arg1 = (wxGrid *) 0 ;
12247 int arg2 ;
12248 int arg3 ;
12249 int *arg4 = (int *) 0 ;
12250 int *arg5 = (int *) 0 ;
12251 int temp4 ;
12252 int res4 = 0 ;
12253 int temp5 ;
12254 int res5 = 0 ;
12255 PyObject * obj0 = 0 ;
12256 PyObject * obj1 = 0 ;
12257 PyObject * obj2 = 0 ;
12258 char *kwnames[] = {
12259 (char *) "self",(char *) "row",(char *) "col", NULL
12260 };
12261
12262 arg4 = &temp4; res4 = SWIG_NEWOBJ;
12263 arg5 = &temp5; res5 = SWIG_NEWOBJ;
12264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12267 arg2 = (int)SWIG_As_int(obj1);
12268 if (PyErr_Occurred()) SWIG_fail;
12269 arg3 = (int)SWIG_As_int(obj2);
12270 if (PyErr_Occurred()) SWIG_fail;
12271 {
12272 PyThreadState* __tstate = wxPyBeginAllowThreads();
12273 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
12274
12275 wxPyEndAllowThreads(__tstate);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
12278 Py_INCREF(Py_None); resultobj = Py_None;
12279 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
12280 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
12281 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
12282 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
12283 return resultobj;
12284 fail:
12285 return NULL;
12286 }
12287
12288
12289 static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
12290 PyObject *resultobj;
12291 wxGrid *arg1 = (wxGrid *) 0 ;
12292 int arg2 ;
12293 bool arg3 = (bool) False ;
12294 PyObject * obj0 = 0 ;
12295 PyObject * obj1 = 0 ;
12296 PyObject * obj2 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12304 arg2 = (int)SWIG_As_int(obj1);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 if (obj2) {
12307 arg3 = (bool)SWIG_As_bool(obj2);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 (arg1)->SetDefaultRowSize(arg2,arg3);
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 Py_INCREF(Py_None); resultobj = Py_None;
12318 return resultobj;
12319 fail:
12320 return NULL;
12321 }
12322
12323
12324 static PyObject *_wrap_Grid_SetRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj;
12326 wxGrid *arg1 = (wxGrid *) 0 ;
12327 int arg2 ;
12328 int arg3 ;
12329 PyObject * obj0 = 0 ;
12330 PyObject * obj1 = 0 ;
12331 PyObject * obj2 = 0 ;
12332 char *kwnames[] = {
12333 (char *) "self",(char *) "row",(char *) "height", NULL
12334 };
12335
12336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12339 arg2 = (int)SWIG_As_int(obj1);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 arg3 = (int)SWIG_As_int(obj2);
12342 if (PyErr_Occurred()) SWIG_fail;
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 (arg1)->SetRowSize(arg2,arg3);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 Py_INCREF(Py_None); resultobj = Py_None;
12351 return resultobj;
12352 fail:
12353 return NULL;
12354 }
12355
12356
12357 static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *, PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj;
12359 wxGrid *arg1 = (wxGrid *) 0 ;
12360 int arg2 ;
12361 bool arg3 = (bool) False ;
12362 PyObject * obj0 = 0 ;
12363 PyObject * obj1 = 0 ;
12364 PyObject * obj2 = 0 ;
12365 char *kwnames[] = {
12366 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12372 arg2 = (int)SWIG_As_int(obj1);
12373 if (PyErr_Occurred()) SWIG_fail;
12374 if (obj2) {
12375 arg3 = (bool)SWIG_As_bool(obj2);
12376 if (PyErr_Occurred()) SWIG_fail;
12377 }
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 (arg1)->SetDefaultColSize(arg2,arg3);
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 Py_INCREF(Py_None); resultobj = Py_None;
12386 return resultobj;
12387 fail:
12388 return NULL;
12389 }
12390
12391
12392 static PyObject *_wrap_Grid_SetColSize(PyObject *, PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj;
12394 wxGrid *arg1 = (wxGrid *) 0 ;
12395 int arg2 ;
12396 int arg3 ;
12397 PyObject * obj0 = 0 ;
12398 PyObject * obj1 = 0 ;
12399 PyObject * obj2 = 0 ;
12400 char *kwnames[] = {
12401 (char *) "self",(char *) "col",(char *) "width", NULL
12402 };
12403
12404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12407 arg2 = (int)SWIG_As_int(obj1);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 arg3 = (int)SWIG_As_int(obj2);
12410 if (PyErr_Occurred()) SWIG_fail;
12411 {
12412 PyThreadState* __tstate = wxPyBeginAllowThreads();
12413 (arg1)->SetColSize(arg2,arg3);
12414
12415 wxPyEndAllowThreads(__tstate);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 }
12418 Py_INCREF(Py_None); resultobj = Py_None;
12419 return resultobj;
12420 fail:
12421 return NULL;
12422 }
12423
12424
12425 static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
12426 PyObject *resultobj;
12427 wxGrid *arg1 = (wxGrid *) 0 ;
12428 int arg2 ;
12429 bool arg3 = (bool) True ;
12430 PyObject * obj0 = 0 ;
12431 PyObject * obj1 = 0 ;
12432 PyObject * obj2 = 0 ;
12433 char *kwnames[] = {
12434 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12435 };
12436
12437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
12438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12440 arg2 = (int)SWIG_As_int(obj1);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 if (obj2) {
12443 arg3 = (bool)SWIG_As_bool(obj2);
12444 if (PyErr_Occurred()) SWIG_fail;
12445 }
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 (arg1)->AutoSizeColumn(arg2,arg3);
12449
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 Py_INCREF(Py_None); resultobj = Py_None;
12454 return resultobj;
12455 fail:
12456 return NULL;
12457 }
12458
12459
12460 static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kwargs) {
12461 PyObject *resultobj;
12462 wxGrid *arg1 = (wxGrid *) 0 ;
12463 int arg2 ;
12464 bool arg3 = (bool) True ;
12465 PyObject * obj0 = 0 ;
12466 PyObject * obj1 = 0 ;
12467 PyObject * obj2 = 0 ;
12468 char *kwnames[] = {
12469 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12470 };
12471
12472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
12473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12475 arg2 = (int)SWIG_As_int(obj1);
12476 if (PyErr_Occurred()) SWIG_fail;
12477 if (obj2) {
12478 arg3 = (bool)SWIG_As_bool(obj2);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 {
12482 PyThreadState* __tstate = wxPyBeginAllowThreads();
12483 (arg1)->AutoSizeRow(arg2,arg3);
12484
12485 wxPyEndAllowThreads(__tstate);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 }
12488 Py_INCREF(Py_None); resultobj = Py_None;
12489 return resultobj;
12490 fail:
12491 return NULL;
12492 }
12493
12494
12495 static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject *kwargs) {
12496 PyObject *resultobj;
12497 wxGrid *arg1 = (wxGrid *) 0 ;
12498 bool arg2 = (bool) True ;
12499 PyObject * obj0 = 0 ;
12500 PyObject * obj1 = 0 ;
12501 char *kwnames[] = {
12502 (char *) "self",(char *) "setAsMin", NULL
12503 };
12504
12505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
12506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12508 if (obj1) {
12509 arg2 = (bool)SWIG_As_bool(obj1);
12510 if (PyErr_Occurred()) SWIG_fail;
12511 }
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 (arg1)->AutoSizeColumns(arg2);
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 Py_INCREF(Py_None); resultobj = Py_None;
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxGrid *arg1 = (wxGrid *) 0 ;
12529 bool arg2 = (bool) True ;
12530 PyObject * obj0 = 0 ;
12531 PyObject * obj1 = 0 ;
12532 char *kwnames[] = {
12533 (char *) "self",(char *) "setAsMin", NULL
12534 };
12535
12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
12537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12539 if (obj1) {
12540 arg2 = (bool)SWIG_As_bool(obj1);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 {
12544 PyThreadState* __tstate = wxPyBeginAllowThreads();
12545 (arg1)->AutoSizeRows(arg2);
12546
12547 wxPyEndAllowThreads(__tstate);
12548 if (PyErr_Occurred()) SWIG_fail;
12549 }
12550 Py_INCREF(Py_None); resultobj = Py_None;
12551 return resultobj;
12552 fail:
12553 return NULL;
12554 }
12555
12556
12557 static PyObject *_wrap_Grid_AutoSize(PyObject *, PyObject *args, PyObject *kwargs) {
12558 PyObject *resultobj;
12559 wxGrid *arg1 = (wxGrid *) 0 ;
12560 PyObject * obj0 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
12566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 (arg1)->AutoSize();
12571
12572 wxPyEndAllowThreads(__tstate);
12573 if (PyErr_Occurred()) SWIG_fail;
12574 }
12575 Py_INCREF(Py_None); resultobj = Py_None;
12576 return resultobj;
12577 fail:
12578 return NULL;
12579 }
12580
12581
12582 static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
12583 PyObject *resultobj;
12584 wxGrid *arg1 = (wxGrid *) 0 ;
12585 int arg2 ;
12586 PyObject * obj0 = 0 ;
12587 PyObject * obj1 = 0 ;
12588 char *kwnames[] = {
12589 (char *) "self",(char *) "row", NULL
12590 };
12591
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
12593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12595 arg2 = (int)SWIG_As_int(obj1);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 (arg1)->AutoSizeRowLabelSize(arg2);
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 Py_INCREF(Py_None); resultobj = Py_None;
12605 return resultobj;
12606 fail:
12607 return NULL;
12608 }
12609
12610
12611 static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
12612 PyObject *resultobj;
12613 wxGrid *arg1 = (wxGrid *) 0 ;
12614 int arg2 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 char *kwnames[] = {
12618 (char *) "self",(char *) "col", NULL
12619 };
12620
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
12622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12624 arg2 = (int)SWIG_As_int(obj1);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 (arg1)->AutoSizeColLabelSize(arg2);
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 Py_INCREF(Py_None); resultobj = Py_None;
12634 return resultobj;
12635 fail:
12636 return NULL;
12637 }
12638
12639
12640 static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj;
12642 wxGrid *arg1 = (wxGrid *) 0 ;
12643 int arg2 ;
12644 int arg3 ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 PyObject * obj2 = 0 ;
12648 char *kwnames[] = {
12649 (char *) "self",(char *) "col",(char *) "width", NULL
12650 };
12651
12652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
12653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12655 arg2 = (int)SWIG_As_int(obj1);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 arg3 = (int)SWIG_As_int(obj2);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 (arg1)->SetColMinimalWidth(arg2,arg3);
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 Py_INCREF(Py_None); resultobj = Py_None;
12667 return resultobj;
12668 fail:
12669 return NULL;
12670 }
12671
12672
12673 static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
12674 PyObject *resultobj;
12675 wxGrid *arg1 = (wxGrid *) 0 ;
12676 int arg2 ;
12677 int arg3 ;
12678 PyObject * obj0 = 0 ;
12679 PyObject * obj1 = 0 ;
12680 PyObject * obj2 = 0 ;
12681 char *kwnames[] = {
12682 (char *) "self",(char *) "row",(char *) "width", NULL
12683 };
12684
12685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
12686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12688 arg2 = (int)SWIG_As_int(obj1);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 arg3 = (int)SWIG_As_int(obj2);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 (arg1)->SetRowMinimalHeight(arg2,arg3);
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 Py_INCREF(Py_None); resultobj = Py_None;
12700 return resultobj;
12701 fail:
12702 return NULL;
12703 }
12704
12705
12706 static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj;
12708 wxGrid *arg1 = (wxGrid *) 0 ;
12709 int arg2 ;
12710 PyObject * obj0 = 0 ;
12711 PyObject * obj1 = 0 ;
12712 char *kwnames[] = {
12713 (char *) "self",(char *) "width", NULL
12714 };
12715
12716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
12717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12719 arg2 = (int)SWIG_As_int(obj1);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 (arg1)->SetColMinimalAcceptableWidth(arg2);
12724
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 Py_INCREF(Py_None); resultobj = Py_None;
12729 return resultobj;
12730 fail:
12731 return NULL;
12732 }
12733
12734
12735 static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *, PyObject *args, PyObject *kwargs) {
12736 PyObject *resultobj;
12737 wxGrid *arg1 = (wxGrid *) 0 ;
12738 int arg2 ;
12739 PyObject * obj0 = 0 ;
12740 PyObject * obj1 = 0 ;
12741 char *kwnames[] = {
12742 (char *) "self",(char *) "width", NULL
12743 };
12744
12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
12746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12748 arg2 = (int)SWIG_As_int(obj1);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 (arg1)->SetRowMinimalAcceptableHeight(arg2);
12753
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 Py_INCREF(Py_None); resultobj = Py_None;
12758 return resultobj;
12759 fail:
12760 return NULL;
12761 }
12762
12763
12764 static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *, PyObject *args, PyObject *kwargs) {
12765 PyObject *resultobj;
12766 wxGrid *arg1 = (wxGrid *) 0 ;
12767 int result;
12768 PyObject * obj0 = 0 ;
12769 char *kwnames[] = {
12770 (char *) "self", NULL
12771 };
12772
12773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
12774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 resultobj = SWIG_From_int((int)result);
12784 return resultobj;
12785 fail:
12786 return NULL;
12787 }
12788
12789
12790 static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *, PyObject *args, PyObject *kwargs) {
12791 PyObject *resultobj;
12792 wxGrid *arg1 = (wxGrid *) 0 ;
12793 int result;
12794 PyObject * obj0 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "self", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
12800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12802 {
12803 PyThreadState* __tstate = wxPyBeginAllowThreads();
12804 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
12805
12806 wxPyEndAllowThreads(__tstate);
12807 if (PyErr_Occurred()) SWIG_fail;
12808 }
12809 resultobj = SWIG_From_int((int)result);
12810 return resultobj;
12811 fail:
12812 return NULL;
12813 }
12814
12815
12816 static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
12817 PyObject *resultobj;
12818 wxGrid *arg1 = (wxGrid *) 0 ;
12819 wxColour *arg2 = 0 ;
12820 wxColour temp2 ;
12821 PyObject * obj0 = 0 ;
12822 PyObject * obj1 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self","arg2", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
12828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12830 {
12831 arg2 = &temp2;
12832 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12833 }
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
12837
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
12841 Py_INCREF(Py_None); resultobj = Py_None;
12842 return resultobj;
12843 fail:
12844 return NULL;
12845 }
12846
12847
12848 static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj;
12850 wxGrid *arg1 = (wxGrid *) 0 ;
12851 int arg2 ;
12852 int arg3 ;
12853 wxColour *arg4 = 0 ;
12854 wxColour temp4 ;
12855 PyObject * obj0 = 0 ;
12856 PyObject * obj1 = 0 ;
12857 PyObject * obj2 = 0 ;
12858 PyObject * obj3 = 0 ;
12859 char *kwnames[] = {
12860 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12861 };
12862
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12866 arg2 = (int)SWIG_As_int(obj1);
12867 if (PyErr_Occurred()) SWIG_fail;
12868 arg3 = (int)SWIG_As_int(obj2);
12869 if (PyErr_Occurred()) SWIG_fail;
12870 {
12871 arg4 = &temp4;
12872 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12873 }
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
12877
12878 wxPyEndAllowThreads(__tstate);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 }
12881 Py_INCREF(Py_None); resultobj = Py_None;
12882 return resultobj;
12883 fail:
12884 return NULL;
12885 }
12886
12887
12888 static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
12889 PyObject *resultobj;
12890 wxGrid *arg1 = (wxGrid *) 0 ;
12891 wxColour *arg2 = 0 ;
12892 wxColour temp2 ;
12893 PyObject * obj0 = 0 ;
12894 PyObject * obj1 = 0 ;
12895 char *kwnames[] = {
12896 (char *) "self","arg2", NULL
12897 };
12898
12899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
12900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12902 {
12903 arg2 = &temp2;
12904 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12905 }
12906 {
12907 PyThreadState* __tstate = wxPyBeginAllowThreads();
12908 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
12909
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 Py_INCREF(Py_None); resultobj = Py_None;
12914 return resultobj;
12915 fail:
12916 return NULL;
12917 }
12918
12919
12920 static PyObject *_wrap_Grid_SetCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
12921 PyObject *resultobj;
12922 wxGrid *arg1 = (wxGrid *) 0 ;
12923 int arg2 ;
12924 int arg3 ;
12925 wxColour *arg4 = 0 ;
12926 wxColour temp4 ;
12927 PyObject * obj0 = 0 ;
12928 PyObject * obj1 = 0 ;
12929 PyObject * obj2 = 0 ;
12930 PyObject * obj3 = 0 ;
12931 char *kwnames[] = {
12932 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12933 };
12934
12935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12938 arg2 = (int)SWIG_As_int(obj1);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 arg3 = (int)SWIG_As_int(obj2);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 {
12943 arg4 = &temp4;
12944 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12945 }
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
12949
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 Py_INCREF(Py_None); resultobj = Py_None;
12954 return resultobj;
12955 fail:
12956 return NULL;
12957 }
12958
12959
12960 static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
12961 PyObject *resultobj;
12962 wxGrid *arg1 = (wxGrid *) 0 ;
12963 wxFont *arg2 = 0 ;
12964 PyObject * obj0 = 0 ;
12965 PyObject * obj1 = 0 ;
12966 char *kwnames[] = {
12967 (char *) "self","arg2", NULL
12968 };
12969
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
12971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12974 SWIG_POINTER_EXCEPTION | 0)) == -1)
12975 SWIG_fail;
12976 if (arg2 == NULL) {
12977 PyErr_SetString(PyExc_TypeError,"null reference");
12978 SWIG_fail;
12979 }
12980 {
12981 PyThreadState* __tstate = wxPyBeginAllowThreads();
12982 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
12983
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 Py_INCREF(Py_None); resultobj = Py_None;
12988 return resultobj;
12989 fail:
12990 return NULL;
12991 }
12992
12993
12994 static PyObject *_wrap_Grid_SetCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
12995 PyObject *resultobj;
12996 wxGrid *arg1 = (wxGrid *) 0 ;
12997 int arg2 ;
12998 int arg3 ;
12999 wxFont *arg4 = 0 ;
13000 PyObject * obj0 = 0 ;
13001 PyObject * obj1 = 0 ;
13002 PyObject * obj2 = 0 ;
13003 PyObject * obj3 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13011 arg2 = (int)SWIG_As_int(obj1);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 arg3 = (int)SWIG_As_int(obj2);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxFont,
13016 SWIG_POINTER_EXCEPTION | 0)) == -1)
13017 SWIG_fail;
13018 if (arg4 == NULL) {
13019 PyErr_SetString(PyExc_TypeError,"null reference");
13020 SWIG_fail;
13021 }
13022 {
13023 PyThreadState* __tstate = wxPyBeginAllowThreads();
13024 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
13025
13026 wxPyEndAllowThreads(__tstate);
13027 if (PyErr_Occurred()) SWIG_fail;
13028 }
13029 Py_INCREF(Py_None); resultobj = Py_None;
13030 return resultobj;
13031 fail:
13032 return NULL;
13033 }
13034
13035
13036 static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
13037 PyObject *resultobj;
13038 wxGrid *arg1 = (wxGrid *) 0 ;
13039 int arg2 ;
13040 int arg3 ;
13041 PyObject * obj0 = 0 ;
13042 PyObject * obj1 = 0 ;
13043 PyObject * obj2 = 0 ;
13044 char *kwnames[] = {
13045 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13046 };
13047
13048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
13049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13051 arg2 = (int)SWIG_As_int(obj1);
13052 if (PyErr_Occurred()) SWIG_fail;
13053 arg3 = (int)SWIG_As_int(obj2);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 (arg1)->SetDefaultCellAlignment(arg2,arg3);
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 Py_INCREF(Py_None); resultobj = Py_None;
13063 return resultobj;
13064 fail:
13065 return NULL;
13066 }
13067
13068
13069 static PyObject *_wrap_Grid_SetCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
13070 PyObject *resultobj;
13071 wxGrid *arg1 = (wxGrid *) 0 ;
13072 int arg2 ;
13073 int arg3 ;
13074 int arg4 ;
13075 int arg5 ;
13076 PyObject * obj0 = 0 ;
13077 PyObject * obj1 = 0 ;
13078 PyObject * obj2 = 0 ;
13079 PyObject * obj3 = 0 ;
13080 PyObject * obj4 = 0 ;
13081 char *kwnames[] = {
13082 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
13083 };
13084
13085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13088 arg2 = (int)SWIG_As_int(obj1);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 arg3 = (int)SWIG_As_int(obj2);
13091 if (PyErr_Occurred()) SWIG_fail;
13092 arg4 = (int)SWIG_As_int(obj3);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 arg5 = (int)SWIG_As_int(obj4);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 {
13097 PyThreadState* __tstate = wxPyBeginAllowThreads();
13098 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
13099
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 Py_INCREF(Py_None); resultobj = Py_None;
13104 return resultobj;
13105 fail:
13106 return NULL;
13107 }
13108
13109
13110 static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
13111 PyObject *resultobj;
13112 wxGrid *arg1 = (wxGrid *) 0 ;
13113 bool arg2 ;
13114 PyObject * obj0 = 0 ;
13115 PyObject * obj1 = 0 ;
13116 char *kwnames[] = {
13117 (char *) "self",(char *) "allow", NULL
13118 };
13119
13120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
13121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13123 arg2 = (bool)SWIG_As_bool(obj1);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 {
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 (arg1)->SetDefaultCellOverflow(arg2);
13128
13129 wxPyEndAllowThreads(__tstate);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 }
13132 Py_INCREF(Py_None); resultobj = Py_None;
13133 return resultobj;
13134 fail:
13135 return NULL;
13136 }
13137
13138
13139 static PyObject *_wrap_Grid_SetCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
13140 PyObject *resultobj;
13141 wxGrid *arg1 = (wxGrid *) 0 ;
13142 int arg2 ;
13143 int arg3 ;
13144 bool arg4 ;
13145 PyObject * obj0 = 0 ;
13146 PyObject * obj1 = 0 ;
13147 PyObject * obj2 = 0 ;
13148 PyObject * obj3 = 0 ;
13149 char *kwnames[] = {
13150 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
13151 };
13152
13153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13156 arg2 = (int)SWIG_As_int(obj1);
13157 if (PyErr_Occurred()) SWIG_fail;
13158 arg3 = (int)SWIG_As_int(obj2);
13159 if (PyErr_Occurred()) SWIG_fail;
13160 arg4 = (bool)SWIG_As_bool(obj3);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 (arg1)->SetCellOverflow(arg2,arg3,arg4);
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 Py_INCREF(Py_None); resultobj = Py_None;
13170 return resultobj;
13171 fail:
13172 return NULL;
13173 }
13174
13175
13176 static PyObject *_wrap_Grid_SetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj;
13178 wxGrid *arg1 = (wxGrid *) 0 ;
13179 int arg2 ;
13180 int arg3 ;
13181 int arg4 ;
13182 int arg5 ;
13183 PyObject * obj0 = 0 ;
13184 PyObject * obj1 = 0 ;
13185 PyObject * obj2 = 0 ;
13186 PyObject * obj3 = 0 ;
13187 PyObject * obj4 = 0 ;
13188 char *kwnames[] = {
13189 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
13190 };
13191
13192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13195 arg2 = (int)SWIG_As_int(obj1);
13196 if (PyErr_Occurred()) SWIG_fail;
13197 arg3 = (int)SWIG_As_int(obj2);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 arg4 = (int)SWIG_As_int(obj3);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 arg5 = (int)SWIG_As_int(obj4);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
13206
13207 wxPyEndAllowThreads(__tstate);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
13210 Py_INCREF(Py_None); resultobj = Py_None;
13211 return resultobj;
13212 fail:
13213 return NULL;
13214 }
13215
13216
13217 static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj;
13219 wxGrid *arg1 = (wxGrid *) 0 ;
13220 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
13221 PyObject * obj0 = 0 ;
13222 PyObject * obj1 = 0 ;
13223 char *kwnames[] = {
13224 (char *) "self",(char *) "renderer", NULL
13225 };
13226
13227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
13228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
13231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 (arg1)->SetDefaultRenderer(arg2);
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 Py_INCREF(Py_None); resultobj = Py_None;
13240 return resultobj;
13241 fail:
13242 return NULL;
13243 }
13244
13245
13246 static PyObject *_wrap_Grid_SetCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
13247 PyObject *resultobj;
13248 wxGrid *arg1 = (wxGrid *) 0 ;
13249 int arg2 ;
13250 int arg3 ;
13251 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
13252 PyObject * obj0 = 0 ;
13253 PyObject * obj1 = 0 ;
13254 PyObject * obj2 = 0 ;
13255 PyObject * obj3 = 0 ;
13256 char *kwnames[] = {
13257 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
13258 };
13259
13260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13263 arg2 = (int)SWIG_As_int(obj1);
13264 if (PyErr_Occurred()) SWIG_fail;
13265 arg3 = (int)SWIG_As_int(obj2);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellRenderer,
13268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 (arg1)->SetCellRenderer(arg2,arg3,arg4);
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 Py_INCREF(Py_None); resultobj = Py_None;
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
13284 PyObject *resultobj;
13285 wxGrid *arg1 = (wxGrid *) 0 ;
13286 wxGridCellRenderer *result;
13287 PyObject * obj0 = 0 ;
13288 char *kwnames[] = {
13289 (char *) "self", NULL
13290 };
13291
13292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
13293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 {
13303 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
13304 }
13305 return resultobj;
13306 fail:
13307 return NULL;
13308 }
13309
13310
13311 static PyObject *_wrap_Grid_GetCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
13312 PyObject *resultobj;
13313 wxGrid *arg1 = (wxGrid *) 0 ;
13314 int arg2 ;
13315 int arg3 ;
13316 wxGridCellRenderer *result;
13317 PyObject * obj0 = 0 ;
13318 PyObject * obj1 = 0 ;
13319 PyObject * obj2 = 0 ;
13320 char *kwnames[] = {
13321 (char *) "self",(char *) "row",(char *) "col", NULL
13322 };
13323
13324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
13325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13327 arg2 = (int)SWIG_As_int(obj1);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 arg3 = (int)SWIG_As_int(obj2);
13330 if (PyErr_Occurred()) SWIG_fail;
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
13334
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 {
13339 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
13340 }
13341 return resultobj;
13342 fail:
13343 return NULL;
13344 }
13345
13346
13347 static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *, PyObject *args, PyObject *kwargs) {
13348 PyObject *resultobj;
13349 wxGrid *arg1 = (wxGrid *) 0 ;
13350 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
13351 PyObject * obj0 = 0 ;
13352 PyObject * obj1 = 0 ;
13353 char *kwnames[] = {
13354 (char *) "self",(char *) "editor", NULL
13355 };
13356
13357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
13358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
13361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 (arg1)->SetDefaultEditor(arg2);
13365
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 Py_INCREF(Py_None); resultobj = Py_None;
13370 return resultobj;
13371 fail:
13372 return NULL;
13373 }
13374
13375
13376 static PyObject *_wrap_Grid_SetCellEditor(PyObject *, PyObject *args, PyObject *kwargs) {
13377 PyObject *resultobj;
13378 wxGrid *arg1 = (wxGrid *) 0 ;
13379 int arg2 ;
13380 int arg3 ;
13381 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
13382 PyObject * obj0 = 0 ;
13383 PyObject * obj1 = 0 ;
13384 PyObject * obj2 = 0 ;
13385 PyObject * obj3 = 0 ;
13386 char *kwnames[] = {
13387 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13388 };
13389
13390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13393 arg2 = (int)SWIG_As_int(obj1);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 arg3 = (int)SWIG_As_int(obj2);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 (arg1)->SetCellEditor(arg2,arg3,arg4);
13402
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 Py_INCREF(Py_None); resultobj = Py_None;
13407 return resultobj;
13408 fail:
13409 return NULL;
13410 }
13411
13412
13413 static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *, PyObject *args, PyObject *kwargs) {
13414 PyObject *resultobj;
13415 wxGrid *arg1 = (wxGrid *) 0 ;
13416 wxGridCellEditor *result;
13417 PyObject * obj0 = 0 ;
13418 char *kwnames[] = {
13419 (char *) "self", NULL
13420 };
13421
13422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
13423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 {
13433 resultobj = wxPyMake_wxGridCellEditor(result, 0);
13434 }
13435 return resultobj;
13436 fail:
13437 return NULL;
13438 }
13439
13440
13441 static PyObject *_wrap_Grid_GetCellEditor(PyObject *, PyObject *args, PyObject *kwargs) {
13442 PyObject *resultobj;
13443 wxGrid *arg1 = (wxGrid *) 0 ;
13444 int arg2 ;
13445 int arg3 ;
13446 wxGridCellEditor *result;
13447 PyObject * obj0 = 0 ;
13448 PyObject * obj1 = 0 ;
13449 PyObject * obj2 = 0 ;
13450 char *kwnames[] = {
13451 (char *) "self",(char *) "row",(char *) "col", NULL
13452 };
13453
13454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
13455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13457 arg2 = (int)SWIG_As_int(obj1);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 arg3 = (int)SWIG_As_int(obj2);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 {
13462 PyThreadState* __tstate = wxPyBeginAllowThreads();
13463 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
13464
13465 wxPyEndAllowThreads(__tstate);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 {
13469 resultobj = wxPyMake_wxGridCellEditor(result, 0);
13470 }
13471 return resultobj;
13472 fail:
13473 return NULL;
13474 }
13475
13476
13477 static PyObject *_wrap_Grid_GetCellValue(PyObject *, PyObject *args, PyObject *kwargs) {
13478 PyObject *resultobj;
13479 wxGrid *arg1 = (wxGrid *) 0 ;
13480 int arg2 ;
13481 int arg3 ;
13482 wxString result;
13483 PyObject * obj0 = 0 ;
13484 PyObject * obj1 = 0 ;
13485 PyObject * obj2 = 0 ;
13486 char *kwnames[] = {
13487 (char *) "self",(char *) "row",(char *) "col", NULL
13488 };
13489
13490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
13491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13493 arg2 = (int)SWIG_As_int(obj1);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 arg3 = (int)SWIG_As_int(obj2);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 result = (arg1)->GetCellValue(arg2,arg3);
13500
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 {
13505 #if wxUSE_UNICODE
13506 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13507 #else
13508 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13509 #endif
13510 }
13511 return resultobj;
13512 fail:
13513 return NULL;
13514 }
13515
13516
13517 static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *kwargs) {
13518 PyObject *resultobj;
13519 wxGrid *arg1 = (wxGrid *) 0 ;
13520 int arg2 ;
13521 int arg3 ;
13522 wxString *arg4 = 0 ;
13523 bool temp4 = False ;
13524 PyObject * obj0 = 0 ;
13525 PyObject * obj1 = 0 ;
13526 PyObject * obj2 = 0 ;
13527 PyObject * obj3 = 0 ;
13528 char *kwnames[] = {
13529 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13530 };
13531
13532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13535 arg2 = (int)SWIG_As_int(obj1);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 arg3 = (int)SWIG_As_int(obj2);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 {
13540 arg4 = wxString_in_helper(obj3);
13541 if (arg4 == NULL) SWIG_fail;
13542 temp4 = True;
13543 }
13544 {
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
13547
13548 wxPyEndAllowThreads(__tstate);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
13551 Py_INCREF(Py_None); resultobj = Py_None;
13552 {
13553 if (temp4)
13554 delete arg4;
13555 }
13556 return resultobj;
13557 fail:
13558 {
13559 if (temp4)
13560 delete arg4;
13561 }
13562 return NULL;
13563 }
13564
13565
13566 static PyObject *_wrap_Grid_IsReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj;
13568 wxGrid *arg1 = (wxGrid *) 0 ;
13569 int arg2 ;
13570 int arg3 ;
13571 bool result;
13572 PyObject * obj0 = 0 ;
13573 PyObject * obj1 = 0 ;
13574 PyObject * obj2 = 0 ;
13575 char *kwnames[] = {
13576 (char *) "self",(char *) "row",(char *) "col", NULL
13577 };
13578
13579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
13580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13582 arg2 = (int)SWIG_As_int(obj1);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 arg3 = (int)SWIG_As_int(obj2);
13585 if (PyErr_Occurred()) SWIG_fail;
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
13588 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
13593 {
13594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13595 }
13596 return resultobj;
13597 fail:
13598 return NULL;
13599 }
13600
13601
13602 static PyObject *_wrap_Grid_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj;
13604 wxGrid *arg1 = (wxGrid *) 0 ;
13605 int arg2 ;
13606 int arg3 ;
13607 bool arg4 = (bool) True ;
13608 PyObject * obj0 = 0 ;
13609 PyObject * obj1 = 0 ;
13610 PyObject * obj2 = 0 ;
13611 PyObject * obj3 = 0 ;
13612 char *kwnames[] = {
13613 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13614 };
13615
13616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13619 arg2 = (int)SWIG_As_int(obj1);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 arg3 = (int)SWIG_As_int(obj2);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 if (obj3) {
13624 arg4 = (bool)SWIG_As_bool(obj3);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 (arg1)->SetReadOnly(arg2,arg3,arg4);
13630
13631 wxPyEndAllowThreads(__tstate);
13632 if (PyErr_Occurred()) SWIG_fail;
13633 }
13634 Py_INCREF(Py_None); resultobj = Py_None;
13635 return resultobj;
13636 fail:
13637 return NULL;
13638 }
13639
13640
13641 static PyObject *_wrap_Grid_SelectRow(PyObject *, PyObject *args, PyObject *kwargs) {
13642 PyObject *resultobj;
13643 wxGrid *arg1 = (wxGrid *) 0 ;
13644 int arg2 ;
13645 bool arg3 = (bool) False ;
13646 PyObject * obj0 = 0 ;
13647 PyObject * obj1 = 0 ;
13648 PyObject * obj2 = 0 ;
13649 char *kwnames[] = {
13650 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13651 };
13652
13653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
13654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13656 arg2 = (int)SWIG_As_int(obj1);
13657 if (PyErr_Occurred()) SWIG_fail;
13658 if (obj2) {
13659 arg3 = (bool)SWIG_As_bool(obj2);
13660 if (PyErr_Occurred()) SWIG_fail;
13661 }
13662 {
13663 PyThreadState* __tstate = wxPyBeginAllowThreads();
13664 (arg1)->SelectRow(arg2,arg3);
13665
13666 wxPyEndAllowThreads(__tstate);
13667 if (PyErr_Occurred()) SWIG_fail;
13668 }
13669 Py_INCREF(Py_None); resultobj = Py_None;
13670 return resultobj;
13671 fail:
13672 return NULL;
13673 }
13674
13675
13676 static PyObject *_wrap_Grid_SelectCol(PyObject *, PyObject *args, PyObject *kwargs) {
13677 PyObject *resultobj;
13678 wxGrid *arg1 = (wxGrid *) 0 ;
13679 int arg2 ;
13680 bool arg3 = (bool) False ;
13681 PyObject * obj0 = 0 ;
13682 PyObject * obj1 = 0 ;
13683 PyObject * obj2 = 0 ;
13684 char *kwnames[] = {
13685 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13686 };
13687
13688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
13689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13691 arg2 = (int)SWIG_As_int(obj1);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 if (obj2) {
13694 arg3 = (bool)SWIG_As_bool(obj2);
13695 if (PyErr_Occurred()) SWIG_fail;
13696 }
13697 {
13698 PyThreadState* __tstate = wxPyBeginAllowThreads();
13699 (arg1)->SelectCol(arg2,arg3);
13700
13701 wxPyEndAllowThreads(__tstate);
13702 if (PyErr_Occurred()) SWIG_fail;
13703 }
13704 Py_INCREF(Py_None); resultobj = Py_None;
13705 return resultobj;
13706 fail:
13707 return NULL;
13708 }
13709
13710
13711 static PyObject *_wrap_Grid_SelectBlock(PyObject *, PyObject *args, PyObject *kwargs) {
13712 PyObject *resultobj;
13713 wxGrid *arg1 = (wxGrid *) 0 ;
13714 int arg2 ;
13715 int arg3 ;
13716 int arg4 ;
13717 int arg5 ;
13718 bool arg6 = (bool) False ;
13719 PyObject * obj0 = 0 ;
13720 PyObject * obj1 = 0 ;
13721 PyObject * obj2 = 0 ;
13722 PyObject * obj3 = 0 ;
13723 PyObject * obj4 = 0 ;
13724 PyObject * obj5 = 0 ;
13725 char *kwnames[] = {
13726 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13727 };
13728
13729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13732 arg2 = (int)SWIG_As_int(obj1);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 arg3 = (int)SWIG_As_int(obj2);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 arg4 = (int)SWIG_As_int(obj3);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 arg5 = (int)SWIG_As_int(obj4);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 if (obj5) {
13741 arg6 = (bool)SWIG_As_bool(obj5);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 Py_INCREF(Py_None); resultobj = Py_None;
13752 return resultobj;
13753 fail:
13754 return NULL;
13755 }
13756
13757
13758 static PyObject *_wrap_Grid_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
13759 PyObject *resultobj;
13760 wxGrid *arg1 = (wxGrid *) 0 ;
13761 PyObject * obj0 = 0 ;
13762 char *kwnames[] = {
13763 (char *) "self", NULL
13764 };
13765
13766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
13767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13769 {
13770 PyThreadState* __tstate = wxPyBeginAllowThreads();
13771 (arg1)->SelectAll();
13772
13773 wxPyEndAllowThreads(__tstate);
13774 if (PyErr_Occurred()) SWIG_fail;
13775 }
13776 Py_INCREF(Py_None); resultobj = Py_None;
13777 return resultobj;
13778 fail:
13779 return NULL;
13780 }
13781
13782
13783 static PyObject *_wrap_Grid_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj;
13785 wxGrid *arg1 = (wxGrid *) 0 ;
13786 bool result;
13787 PyObject * obj0 = 0 ;
13788 char *kwnames[] = {
13789 (char *) "self", NULL
13790 };
13791
13792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
13793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 result = (bool)(arg1)->IsSelection();
13798
13799 wxPyEndAllowThreads(__tstate);
13800 if (PyErr_Occurred()) SWIG_fail;
13801 }
13802 {
13803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13804 }
13805 return resultobj;
13806 fail:
13807 return NULL;
13808 }
13809
13810
13811 static PyObject *_wrap_Grid_ClearSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13812 PyObject *resultobj;
13813 wxGrid *arg1 = (wxGrid *) 0 ;
13814 PyObject * obj0 = 0 ;
13815 char *kwnames[] = {
13816 (char *) "self", NULL
13817 };
13818
13819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
13820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13822 {
13823 PyThreadState* __tstate = wxPyBeginAllowThreads();
13824 (arg1)->ClearSelection();
13825
13826 wxPyEndAllowThreads(__tstate);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 Py_INCREF(Py_None); resultobj = Py_None;
13830 return resultobj;
13831 fail:
13832 return NULL;
13833 }
13834
13835
13836 static PyObject *_wrap_Grid_IsInSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13837 PyObject *resultobj;
13838 wxGrid *arg1 = (wxGrid *) 0 ;
13839 int arg2 ;
13840 int arg3 ;
13841 bool result;
13842 PyObject * obj0 = 0 ;
13843 PyObject * obj1 = 0 ;
13844 PyObject * obj2 = 0 ;
13845 char *kwnames[] = {
13846 (char *) "self",(char *) "row",(char *) "col", NULL
13847 };
13848
13849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13852 arg2 = (int)SWIG_As_int(obj1);
13853 if (PyErr_Occurred()) SWIG_fail;
13854 arg3 = (int)SWIG_As_int(obj2);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 result = (bool)(arg1)->IsInSelection(arg2,arg3);
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 {
13864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13865 }
13866 return resultobj;
13867 fail:
13868 return NULL;
13869 }
13870
13871
13872 static PyObject *_wrap_Grid_GetSelectedCells(PyObject *, PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj;
13874 wxGrid *arg1 = (wxGrid *) 0 ;
13875 wxGridCellCoordsArray result;
13876 PyObject * obj0 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "self", NULL
13879 };
13880
13881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
13882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13884 {
13885 PyThreadState* __tstate = wxPyBeginAllowThreads();
13886 result = ((wxGrid const *)arg1)->GetSelectedCells();
13887
13888 wxPyEndAllowThreads(__tstate);
13889 if (PyErr_Occurred()) SWIG_fail;
13890 }
13891 {
13892 resultobj = wxGridCellCoordsArray_helper(result);
13893 }
13894 return resultobj;
13895 fail:
13896 return NULL;
13897 }
13898
13899
13900 static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj;
13902 wxGrid *arg1 = (wxGrid *) 0 ;
13903 wxGridCellCoordsArray result;
13904 PyObject * obj0 = 0 ;
13905 char *kwnames[] = {
13906 (char *) "self", NULL
13907 };
13908
13909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
13910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13912 {
13913 PyThreadState* __tstate = wxPyBeginAllowThreads();
13914 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
13915
13916 wxPyEndAllowThreads(__tstate);
13917 if (PyErr_Occurred()) SWIG_fail;
13918 }
13919 {
13920 resultobj = wxGridCellCoordsArray_helper(result);
13921 }
13922 return resultobj;
13923 fail:
13924 return NULL;
13925 }
13926
13927
13928 static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
13929 PyObject *resultobj;
13930 wxGrid *arg1 = (wxGrid *) 0 ;
13931 wxGridCellCoordsArray result;
13932 PyObject * obj0 = 0 ;
13933 char *kwnames[] = {
13934 (char *) "self", NULL
13935 };
13936
13937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
13938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
13943
13944 wxPyEndAllowThreads(__tstate);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 }
13947 {
13948 resultobj = wxGridCellCoordsArray_helper(result);
13949 }
13950 return resultobj;
13951 fail:
13952 return NULL;
13953 }
13954
13955
13956 static PyObject *_wrap_Grid_GetSelectedRows(PyObject *, PyObject *args, PyObject *kwargs) {
13957 PyObject *resultobj;
13958 wxGrid *arg1 = (wxGrid *) 0 ;
13959 wxArrayInt result;
13960 PyObject * obj0 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
13966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 result = ((wxGrid const *)arg1)->GetSelectedRows();
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 {
13976 resultobj = PyList_New(0);
13977 size_t idx;
13978 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13979 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13980 PyList_Append(resultobj, val);
13981 Py_DECREF(val);
13982 }
13983 }
13984 return resultobj;
13985 fail:
13986 return NULL;
13987 }
13988
13989
13990 static PyObject *_wrap_Grid_GetSelectedCols(PyObject *, PyObject *args, PyObject *kwargs) {
13991 PyObject *resultobj;
13992 wxGrid *arg1 = (wxGrid *) 0 ;
13993 wxArrayInt result;
13994 PyObject * obj0 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
14000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 result = ((wxGrid const *)arg1)->GetSelectedCols();
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 {
14010 resultobj = PyList_New(0);
14011 size_t idx;
14012 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
14013 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
14014 PyList_Append(resultobj, val);
14015 Py_DECREF(val);
14016 }
14017 }
14018 return resultobj;
14019 fail:
14020 return NULL;
14021 }
14022
14023
14024 static PyObject *_wrap_Grid_DeselectRow(PyObject *, PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj;
14026 wxGrid *arg1 = (wxGrid *) 0 ;
14027 int arg2 ;
14028 PyObject * obj0 = 0 ;
14029 PyObject * obj1 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self",(char *) "row", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
14035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14037 arg2 = (int)SWIG_As_int(obj1);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 (arg1)->DeselectRow(arg2);
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 Py_INCREF(Py_None); resultobj = Py_None;
14047 return resultobj;
14048 fail:
14049 return NULL;
14050 }
14051
14052
14053 static PyObject *_wrap_Grid_DeselectCol(PyObject *, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxGrid *arg1 = (wxGrid *) 0 ;
14056 int arg2 ;
14057 PyObject * obj0 = 0 ;
14058 PyObject * obj1 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self",(char *) "col", NULL
14061 };
14062
14063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
14064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14066 arg2 = (int)SWIG_As_int(obj1);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 {
14069 PyThreadState* __tstate = wxPyBeginAllowThreads();
14070 (arg1)->DeselectCol(arg2);
14071
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 Py_INCREF(Py_None); resultobj = Py_None;
14076 return resultobj;
14077 fail:
14078 return NULL;
14079 }
14080
14081
14082 static PyObject *_wrap_Grid_DeselectCell(PyObject *, PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj;
14084 wxGrid *arg1 = (wxGrid *) 0 ;
14085 int arg2 ;
14086 int arg3 ;
14087 PyObject * obj0 = 0 ;
14088 PyObject * obj1 = 0 ;
14089 PyObject * obj2 = 0 ;
14090 char *kwnames[] = {
14091 (char *) "self",(char *) "row",(char *) "col", NULL
14092 };
14093
14094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
14095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14097 arg2 = (int)SWIG_As_int(obj1);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 arg3 = (int)SWIG_As_int(obj2);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 {
14102 PyThreadState* __tstate = wxPyBeginAllowThreads();
14103 (arg1)->DeselectCell(arg2,arg3);
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 Py_INCREF(Py_None); resultobj = Py_None;
14109 return resultobj;
14110 fail:
14111 return NULL;
14112 }
14113
14114
14115 static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *, PyObject *args, PyObject *kwargs) {
14116 PyObject *resultobj;
14117 wxGrid *arg1 = (wxGrid *) 0 ;
14118 wxGridCellCoords *arg2 = 0 ;
14119 wxGridCellCoords *arg3 = 0 ;
14120 wxRect result;
14121 wxGridCellCoords temp2 ;
14122 wxGridCellCoords temp3 ;
14123 PyObject * obj0 = 0 ;
14124 PyObject * obj1 = 0 ;
14125 PyObject * obj2 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
14131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14133 {
14134 arg2 = &temp2;
14135 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
14136 }
14137 {
14138 arg3 = &temp3;
14139 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
14140 }
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 {
14149 wxRect * resultptr;
14150 resultptr = new wxRect((wxRect &) result);
14151 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
14152 }
14153 return resultobj;
14154 fail:
14155 return NULL;
14156 }
14157
14158
14159 static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
14160 PyObject *resultobj;
14161 wxGrid *arg1 = (wxGrid *) 0 ;
14162 wxColour result;
14163 PyObject * obj0 = 0 ;
14164 char *kwnames[] = {
14165 (char *) "self", NULL
14166 };
14167
14168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
14169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 result = ((wxGrid const *)arg1)->GetSelectionBackground();
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 {
14179 wxColour * resultptr;
14180 resultptr = new wxColour((wxColour &) result);
14181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
14182 }
14183 return resultobj;
14184 fail:
14185 return NULL;
14186 }
14187
14188
14189 static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj;
14191 wxGrid *arg1 = (wxGrid *) 0 ;
14192 wxColour result;
14193 PyObject * obj0 = 0 ;
14194 char *kwnames[] = {
14195 (char *) "self", NULL
14196 };
14197
14198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
14199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
14203 result = ((wxGrid const *)arg1)->GetSelectionForeground();
14204
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 {
14209 wxColour * resultptr;
14210 resultptr = new wxColour((wxColour &) result);
14211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
14212 }
14213 return resultobj;
14214 fail:
14215 return NULL;
14216 }
14217
14218
14219 static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxGrid *arg1 = (wxGrid *) 0 ;
14222 wxColour *arg2 = 0 ;
14223 wxColour temp2 ;
14224 PyObject * obj0 = 0 ;
14225 PyObject * obj1 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self",(char *) "c", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14233 {
14234 arg2 = &temp2;
14235 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14236 }
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 Py_INCREF(Py_None); resultobj = Py_None;
14245 return resultobj;
14246 fail:
14247 return NULL;
14248 }
14249
14250
14251 static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *, PyObject *args, PyObject *kwargs) {
14252 PyObject *resultobj;
14253 wxGrid *arg1 = (wxGrid *) 0 ;
14254 wxColour *arg2 = 0 ;
14255 wxColour temp2 ;
14256 PyObject * obj0 = 0 ;
14257 PyObject * obj1 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self",(char *) "c", NULL
14260 };
14261
14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
14263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14265 {
14266 arg2 = &temp2;
14267 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14268 }
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
14272
14273 wxPyEndAllowThreads(__tstate);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 }
14276 Py_INCREF(Py_None); resultobj = Py_None;
14277 return resultobj;
14278 fail:
14279 return NULL;
14280 }
14281
14282
14283 static PyObject *_wrap_Grid_RegisterDataType(PyObject *, PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj;
14285 wxGrid *arg1 = (wxGrid *) 0 ;
14286 wxString *arg2 = 0 ;
14287 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
14288 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
14289 bool temp2 = False ;
14290 PyObject * obj0 = 0 ;
14291 PyObject * obj1 = 0 ;
14292 PyObject * obj2 = 0 ;
14293 PyObject * obj3 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14301 {
14302 arg2 = wxString_in_helper(obj1);
14303 if (arg2 == NULL) SWIG_fail;
14304 temp2 = True;
14305 }
14306 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
14307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14308 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
14309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14310 {
14311 PyThreadState* __tstate = wxPyBeginAllowThreads();
14312 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
14313
14314 wxPyEndAllowThreads(__tstate);
14315 if (PyErr_Occurred()) SWIG_fail;
14316 }
14317 Py_INCREF(Py_None); resultobj = Py_None;
14318 {
14319 if (temp2)
14320 delete arg2;
14321 }
14322 return resultobj;
14323 fail:
14324 {
14325 if (temp2)
14326 delete arg2;
14327 }
14328 return NULL;
14329 }
14330
14331
14332 static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *, PyObject *args, PyObject *kwargs) {
14333 PyObject *resultobj;
14334 wxGrid *arg1 = (wxGrid *) 0 ;
14335 int arg2 ;
14336 int arg3 ;
14337 wxGridCellEditor *result;
14338 PyObject * obj0 = 0 ;
14339 PyObject * obj1 = 0 ;
14340 PyObject * obj2 = 0 ;
14341 char *kwnames[] = {
14342 (char *) "self",(char *) "row",(char *) "col", NULL
14343 };
14344
14345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
14346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14348 arg2 = (int)SWIG_As_int(obj1);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 arg3 = (int)SWIG_As_int(obj2);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 {
14360 resultobj = wxPyMake_wxGridCellEditor(result, 0);
14361 }
14362 return resultobj;
14363 fail:
14364 return NULL;
14365 }
14366
14367
14368 static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *, PyObject *args, PyObject *kwargs) {
14369 PyObject *resultobj;
14370 wxGrid *arg1 = (wxGrid *) 0 ;
14371 int arg2 ;
14372 int arg3 ;
14373 wxGridCellRenderer *result;
14374 PyObject * obj0 = 0 ;
14375 PyObject * obj1 = 0 ;
14376 PyObject * obj2 = 0 ;
14377 char *kwnames[] = {
14378 (char *) "self",(char *) "row",(char *) "col", NULL
14379 };
14380
14381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
14382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14384 arg2 = (int)SWIG_As_int(obj1);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 arg3 = (int)SWIG_As_int(obj2);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 {
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
14391
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 {
14396 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
14397 }
14398 return resultobj;
14399 fail:
14400 return NULL;
14401 }
14402
14403
14404 static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *, PyObject *args, PyObject *kwargs) {
14405 PyObject *resultobj;
14406 wxGrid *arg1 = (wxGrid *) 0 ;
14407 wxString *arg2 = 0 ;
14408 wxGridCellEditor *result;
14409 bool temp2 = False ;
14410 PyObject * obj0 = 0 ;
14411 PyObject * obj1 = 0 ;
14412 char *kwnames[] = {
14413 (char *) "self",(char *) "typeName", NULL
14414 };
14415
14416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
14417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14419 {
14420 arg2 = wxString_in_helper(obj1);
14421 if (arg2 == NULL) SWIG_fail;
14422 temp2 = True;
14423 }
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 {
14432 resultobj = wxPyMake_wxGridCellEditor(result, 0);
14433 }
14434 {
14435 if (temp2)
14436 delete arg2;
14437 }
14438 return resultobj;
14439 fail:
14440 {
14441 if (temp2)
14442 delete arg2;
14443 }
14444 return NULL;
14445 }
14446
14447
14448 static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *, PyObject *args, PyObject *kwargs) {
14449 PyObject *resultobj;
14450 wxGrid *arg1 = (wxGrid *) 0 ;
14451 wxString *arg2 = 0 ;
14452 wxGridCellRenderer *result;
14453 bool temp2 = False ;
14454 PyObject * obj0 = 0 ;
14455 PyObject * obj1 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "typeName", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14463 {
14464 arg2 = wxString_in_helper(obj1);
14465 if (arg2 == NULL) SWIG_fail;
14466 temp2 = True;
14467 }
14468 {
14469 PyThreadState* __tstate = wxPyBeginAllowThreads();
14470 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
14471
14472 wxPyEndAllowThreads(__tstate);
14473 if (PyErr_Occurred()) SWIG_fail;
14474 }
14475 {
14476 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
14477 }
14478 {
14479 if (temp2)
14480 delete arg2;
14481 }
14482 return resultobj;
14483 fail:
14484 {
14485 if (temp2)
14486 delete arg2;
14487 }
14488 return NULL;
14489 }
14490
14491
14492 static PyObject *_wrap_Grid_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
14493 PyObject *resultobj;
14494 wxGrid *arg1 = (wxGrid *) 0 ;
14495 int arg2 ;
14496 int arg3 ;
14497 PyObject * obj0 = 0 ;
14498 PyObject * obj1 = 0 ;
14499 PyObject * obj2 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
14505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14507 arg2 = (int)SWIG_As_int(obj1);
14508 if (PyErr_Occurred()) SWIG_fail;
14509 arg3 = (int)SWIG_As_int(obj2);
14510 if (PyErr_Occurred()) SWIG_fail;
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 (arg1)->SetMargins(arg2,arg3);
14514
14515 wxPyEndAllowThreads(__tstate);
14516 if (PyErr_Occurred()) SWIG_fail;
14517 }
14518 Py_INCREF(Py_None); resultobj = Py_None;
14519 return resultobj;
14520 fail:
14521 return NULL;
14522 }
14523
14524
14525 static PyObject *_wrap_Grid_GetGridWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14526 PyObject *resultobj;
14527 wxGrid *arg1 = (wxGrid *) 0 ;
14528 wxWindow *result;
14529 PyObject * obj0 = 0 ;
14530 char *kwnames[] = {
14531 (char *) "self", NULL
14532 };
14533
14534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
14535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14537 {
14538 PyThreadState* __tstate = wxPyBeginAllowThreads();
14539 result = (wxWindow *)(arg1)->GetGridWindow();
14540
14541 wxPyEndAllowThreads(__tstate);
14542 if (PyErr_Occurred()) SWIG_fail;
14543 }
14544 {
14545 resultobj = wxPyMake_wxObject(result, 0);
14546 }
14547 return resultobj;
14548 fail:
14549 return NULL;
14550 }
14551
14552
14553 static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxGrid *arg1 = (wxGrid *) 0 ;
14556 wxWindow *result;
14557 PyObject * obj0 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "self", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
14563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14565 {
14566 PyThreadState* __tstate = wxPyBeginAllowThreads();
14567 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
14568
14569 wxPyEndAllowThreads(__tstate);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 }
14572 {
14573 resultobj = wxPyMake_wxObject(result, 0);
14574 }
14575 return resultobj;
14576 fail:
14577 return NULL;
14578 }
14579
14580
14581 static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14582 PyObject *resultobj;
14583 wxGrid *arg1 = (wxGrid *) 0 ;
14584 wxWindow *result;
14585 PyObject * obj0 = 0 ;
14586 char *kwnames[] = {
14587 (char *) "self", NULL
14588 };
14589
14590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
14591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 {
14601 resultobj = wxPyMake_wxObject(result, 0);
14602 }
14603 return resultobj;
14604 fail:
14605 return NULL;
14606 }
14607
14608
14609 static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj;
14611 wxGrid *arg1 = (wxGrid *) 0 ;
14612 wxWindow *result;
14613 PyObject * obj0 = 0 ;
14614 char *kwnames[] = {
14615 (char *) "self", NULL
14616 };
14617
14618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
14619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14621 {
14622 PyThreadState* __tstate = wxPyBeginAllowThreads();
14623 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
14624
14625 wxPyEndAllowThreads(__tstate);
14626 if (PyErr_Occurred()) SWIG_fail;
14627 }
14628 {
14629 resultobj = wxPyMake_wxObject(result, 0);
14630 }
14631 return resultobj;
14632 fail:
14633 return NULL;
14634 }
14635
14636
14637 static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14640 wxVisualAttributes result;
14641 PyObject * obj0 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "variant", NULL
14644 };
14645
14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14647 if (obj0) {
14648 arg1 = (int)SWIG_As_int(obj0);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 {
14652 if (!wxPyCheckForApp()) SWIG_fail;
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 result = wxGrid::GetClassDefaultAttributes((wxWindowVariant )arg1);
14655
14656 wxPyEndAllowThreads(__tstate);
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
14659 {
14660 wxVisualAttributes * resultptr;
14661 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14663 }
14664 return resultobj;
14665 fail:
14666 return NULL;
14667 }
14668
14669
14670 static PyObject * Grid_swigregister(PyObject *, PyObject *args) {
14671 PyObject *obj;
14672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14673 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
14674 Py_INCREF(obj);
14675 return Py_BuildValue((char *)"");
14676 }
14677 static PyObject *_wrap_new_GridEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 int arg1 ;
14680 wxEventType arg2 ;
14681 wxGrid *arg3 = (wxGrid *) 0 ;
14682 int arg4 = (int) -1 ;
14683 int arg5 = (int) -1 ;
14684 int arg6 = (int) -1 ;
14685 int arg7 = (int) -1 ;
14686 bool arg8 = (bool) True ;
14687 bool arg9 = (bool) False ;
14688 bool arg10 = (bool) False ;
14689 bool arg11 = (bool) False ;
14690 bool arg12 = (bool) False ;
14691 wxGridEvent *result;
14692 PyObject * obj0 = 0 ;
14693 PyObject * obj1 = 0 ;
14694 PyObject * obj2 = 0 ;
14695 PyObject * obj3 = 0 ;
14696 PyObject * obj4 = 0 ;
14697 PyObject * obj5 = 0 ;
14698 PyObject * obj6 = 0 ;
14699 PyObject * obj7 = 0 ;
14700 PyObject * obj8 = 0 ;
14701 PyObject * obj9 = 0 ;
14702 PyObject * obj10 = 0 ;
14703 PyObject * obj11 = 0 ;
14704 char *kwnames[] = {
14705 (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
14706 };
14707
14708 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;
14709 arg1 = (int)SWIG_As_int(obj0);
14710 if (PyErr_Occurred()) SWIG_fail;
14711 arg2 = (wxEventType)SWIG_As_int(obj1);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14715 if (obj3) {
14716 arg4 = (int)SWIG_As_int(obj3);
14717 if (PyErr_Occurred()) SWIG_fail;
14718 }
14719 if (obj4) {
14720 arg5 = (int)SWIG_As_int(obj4);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 }
14723 if (obj5) {
14724 arg6 = (int)SWIG_As_int(obj5);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 if (obj6) {
14728 arg7 = (int)SWIG_As_int(obj6);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 if (obj7) {
14732 arg8 = (bool)SWIG_As_bool(obj7);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 if (obj8) {
14736 arg9 = (bool)SWIG_As_bool(obj8);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 if (obj9) {
14740 arg10 = (bool)SWIG_As_bool(obj9);
14741 if (PyErr_Occurred()) SWIG_fail;
14742 }
14743 if (obj10) {
14744 arg11 = (bool)SWIG_As_bool(obj10);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 if (obj11) {
14748 arg12 = (bool)SWIG_As_bool(obj11);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 {
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
14753 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
14754
14755 wxPyEndAllowThreads(__tstate);
14756 if (PyErr_Occurred()) SWIG_fail;
14757 }
14758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEvent, 1);
14759 return resultobj;
14760 fail:
14761 return NULL;
14762 }
14763
14764
14765 static PyObject *_wrap_GridEvent_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
14766 PyObject *resultobj;
14767 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14768 int result;
14769 PyObject * obj0 = 0 ;
14770 char *kwnames[] = {
14771 (char *) "self", NULL
14772 };
14773
14774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
14775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 result = (int)(arg1)->GetRow();
14780
14781 wxPyEndAllowThreads(__tstate);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 resultobj = SWIG_From_int((int)result);
14785 return resultobj;
14786 fail:
14787 return NULL;
14788 }
14789
14790
14791 static PyObject *_wrap_GridEvent_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
14792 PyObject *resultobj;
14793 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14794 int result;
14795 PyObject * obj0 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
14801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 result = (int)(arg1)->GetCol();
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 resultobj = SWIG_From_int((int)result);
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_GridEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14820 wxPoint result;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "self", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (arg1)->GetPosition();
14832
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 {
14837 wxPoint * resultptr;
14838 resultptr = new wxPoint((wxPoint &) result);
14839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14840 }
14841 return resultobj;
14842 fail:
14843 return NULL;
14844 }
14845
14846
14847 static PyObject *_wrap_GridEvent_Selecting(PyObject *, PyObject *args, PyObject *kwargs) {
14848 PyObject *resultobj;
14849 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14850 bool result;
14851 PyObject * obj0 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "self", NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
14857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (bool)(arg1)->Selecting();
14862
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 {
14867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14868 }
14869 return resultobj;
14870 fail:
14871 return NULL;
14872 }
14873
14874
14875 static PyObject *_wrap_GridEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj;
14877 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14878 bool result;
14879 PyObject * obj0 = 0 ;
14880 char *kwnames[] = {
14881 (char *) "self", NULL
14882 };
14883
14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
14885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14887 {
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 result = (bool)(arg1)->ControlDown();
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 {
14895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14896 }
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_GridEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj;
14905 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14906 bool result;
14907 PyObject * obj0 = 0 ;
14908 char *kwnames[] = {
14909 (char *) "self", NULL
14910 };
14911
14912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
14913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 result = (bool)(arg1)->MetaDown();
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 {
14923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14924 }
14925 return resultobj;
14926 fail:
14927 return NULL;
14928 }
14929
14930
14931 static PyObject *_wrap_GridEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
14932 PyObject *resultobj;
14933 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14934 bool result;
14935 PyObject * obj0 = 0 ;
14936 char *kwnames[] = {
14937 (char *) "self", NULL
14938 };
14939
14940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
14941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 result = (bool)(arg1)->ShiftDown();
14946
14947 wxPyEndAllowThreads(__tstate);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 {
14951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14952 }
14953 return resultobj;
14954 fail:
14955 return NULL;
14956 }
14957
14958
14959 static PyObject *_wrap_GridEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14962 bool result;
14963 PyObject * obj0 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14971 {
14972 PyThreadState* __tstate = wxPyBeginAllowThreads();
14973 result = (bool)(arg1)->AltDown();
14974
14975 wxPyEndAllowThreads(__tstate);
14976 if (PyErr_Occurred()) SWIG_fail;
14977 }
14978 {
14979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14980 }
14981 return resultobj;
14982 fail:
14983 return NULL;
14984 }
14985
14986
14987 static PyObject * GridEvent_swigregister(PyObject *, PyObject *args) {
14988 PyObject *obj;
14989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14990 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
14991 Py_INCREF(obj);
14992 return Py_BuildValue((char *)"");
14993 }
14994 static PyObject *_wrap_new_GridSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14995 PyObject *resultobj;
14996 int arg1 ;
14997 wxEventType arg2 ;
14998 wxGrid *arg3 = (wxGrid *) 0 ;
14999 int arg4 = (int) -1 ;
15000 int arg5 = (int) -1 ;
15001 int arg6 = (int) -1 ;
15002 bool arg7 = (bool) False ;
15003 bool arg8 = (bool) False ;
15004 bool arg9 = (bool) False ;
15005 bool arg10 = (bool) False ;
15006 wxGridSizeEvent *result;
15007 PyObject * obj0 = 0 ;
15008 PyObject * obj1 = 0 ;
15009 PyObject * obj2 = 0 ;
15010 PyObject * obj3 = 0 ;
15011 PyObject * obj4 = 0 ;
15012 PyObject * obj5 = 0 ;
15013 PyObject * obj6 = 0 ;
15014 PyObject * obj7 = 0 ;
15015 PyObject * obj8 = 0 ;
15016 PyObject * obj9 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15022 arg1 = (int)SWIG_As_int(obj0);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 arg2 = (wxEventType)SWIG_As_int(obj1);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
15027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15028 if (obj3) {
15029 arg4 = (int)SWIG_As_int(obj3);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
15032 if (obj4) {
15033 arg5 = (int)SWIG_As_int(obj4);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 if (obj5) {
15037 arg6 = (int)SWIG_As_int(obj5);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 if (obj6) {
15041 arg7 = (bool)SWIG_As_bool(obj6);
15042 if (PyErr_Occurred()) SWIG_fail;
15043 }
15044 if (obj7) {
15045 arg8 = (bool)SWIG_As_bool(obj7);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 if (obj8) {
15049 arg9 = (bool)SWIG_As_bool(obj8);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 if (obj9) {
15053 arg10 = (bool)SWIG_As_bool(obj9);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
15056 {
15057 PyThreadState* __tstate = wxPyBeginAllowThreads();
15058 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
15059
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizeEvent, 1);
15064 return resultobj;
15065 fail:
15066 return NULL;
15067 }
15068
15069
15070 static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *, PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj;
15072 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15073 int result;
15074 PyObject * obj0 = 0 ;
15075 char *kwnames[] = {
15076 (char *) "self", NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
15080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 result = (int)(arg1)->GetRowOrCol();
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 resultobj = SWIG_From_int((int)result);
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj;
15098 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15099 wxPoint result;
15100 PyObject * obj0 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "self", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
15106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (arg1)->GetPosition();
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 {
15116 wxPoint * resultptr;
15117 resultptr = new wxPoint((wxPoint &) result);
15118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
15119 }
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
15127 PyObject *resultobj;
15128 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15129 bool result;
15130 PyObject * obj0 = 0 ;
15131 char *kwnames[] = {
15132 (char *) "self", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
15136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15138 {
15139 PyThreadState* __tstate = wxPyBeginAllowThreads();
15140 result = (bool)(arg1)->ControlDown();
15141
15142 wxPyEndAllowThreads(__tstate);
15143 if (PyErr_Occurred()) SWIG_fail;
15144 }
15145 {
15146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15147 }
15148 return resultobj;
15149 fail:
15150 return NULL;
15151 }
15152
15153
15154 static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
15155 PyObject *resultobj;
15156 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15157 bool result;
15158 PyObject * obj0 = 0 ;
15159 char *kwnames[] = {
15160 (char *) "self", NULL
15161 };
15162
15163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
15164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 result = (bool)(arg1)->MetaDown();
15169
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 {
15174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15175 }
15176 return resultobj;
15177 fail:
15178 return NULL;
15179 }
15180
15181
15182 static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
15183 PyObject *resultobj;
15184 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15185 bool result;
15186 PyObject * obj0 = 0 ;
15187 char *kwnames[] = {
15188 (char *) "self", NULL
15189 };
15190
15191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
15192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 result = (bool)(arg1)->ShiftDown();
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 {
15202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15203 }
15204 return resultobj;
15205 fail:
15206 return NULL;
15207 }
15208
15209
15210 static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj;
15212 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15213 bool result;
15214 PyObject * obj0 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
15220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15222 {
15223 PyThreadState* __tstate = wxPyBeginAllowThreads();
15224 result = (bool)(arg1)->AltDown();
15225
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 {
15230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15231 }
15232 return resultobj;
15233 fail:
15234 return NULL;
15235 }
15236
15237
15238 static PyObject * GridSizeEvent_swigregister(PyObject *, PyObject *args) {
15239 PyObject *obj;
15240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15241 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
15242 Py_INCREF(obj);
15243 return Py_BuildValue((char *)"");
15244 }
15245 static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj;
15247 int arg1 ;
15248 wxEventType arg2 ;
15249 wxGrid *arg3 = (wxGrid *) 0 ;
15250 wxGridCellCoords *arg4 = 0 ;
15251 wxGridCellCoords *arg5 = 0 ;
15252 bool arg6 = (bool) True ;
15253 bool arg7 = (bool) False ;
15254 bool arg8 = (bool) False ;
15255 bool arg9 = (bool) False ;
15256 bool arg10 = (bool) False ;
15257 wxGridRangeSelectEvent *result;
15258 wxGridCellCoords temp4 ;
15259 wxGridCellCoords temp5 ;
15260 PyObject * obj0 = 0 ;
15261 PyObject * obj1 = 0 ;
15262 PyObject * obj2 = 0 ;
15263 PyObject * obj3 = 0 ;
15264 PyObject * obj4 = 0 ;
15265 PyObject * obj5 = 0 ;
15266 PyObject * obj6 = 0 ;
15267 PyObject * obj7 = 0 ;
15268 PyObject * obj8 = 0 ;
15269 PyObject * obj9 = 0 ;
15270 char *kwnames[] = {
15271 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15272 };
15273
15274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15275 arg1 = (int)SWIG_As_int(obj0);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 arg2 = (wxEventType)SWIG_As_int(obj1);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
15280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15281 {
15282 arg4 = &temp4;
15283 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
15284 }
15285 {
15286 arg5 = &temp5;
15287 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
15288 }
15289 if (obj5) {
15290 arg6 = (bool)SWIG_As_bool(obj5);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 if (obj6) {
15294 arg7 = (bool)SWIG_As_bool(obj6);
15295 if (PyErr_Occurred()) SWIG_fail;
15296 }
15297 if (obj7) {
15298 arg8 = (bool)SWIG_As_bool(obj7);
15299 if (PyErr_Occurred()) SWIG_fail;
15300 }
15301 if (obj8) {
15302 arg9 = (bool)SWIG_As_bool(obj8);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 if (obj9) {
15306 arg10 = (bool)SWIG_As_bool(obj9);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
15309 {
15310 PyThreadState* __tstate = wxPyBeginAllowThreads();
15311 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
15312
15313 wxPyEndAllowThreads(__tstate);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 }
15316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridRangeSelectEvent, 1);
15317 return resultobj;
15318 fail:
15319 return NULL;
15320 }
15321
15322
15323 static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *, PyObject *args, PyObject *kwargs) {
15324 PyObject *resultobj;
15325 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15326 wxGridCellCoords result;
15327 PyObject * obj0 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
15333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 result = (arg1)->GetTopLeftCoords();
15338
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 {
15343 wxGridCellCoords * resultptr;
15344 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15345 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
15346 }
15347 return resultobj;
15348 fail:
15349 return NULL;
15350 }
15351
15352
15353 static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *, PyObject *args, PyObject *kwargs) {
15354 PyObject *resultobj;
15355 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15356 wxGridCellCoords result;
15357 PyObject * obj0 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
15363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15365 {
15366 PyThreadState* __tstate = wxPyBeginAllowThreads();
15367 result = (arg1)->GetBottomRightCoords();
15368
15369 wxPyEndAllowThreads(__tstate);
15370 if (PyErr_Occurred()) SWIG_fail;
15371 }
15372 {
15373 wxGridCellCoords * resultptr;
15374 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15375 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
15376 }
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15386 int result;
15387 PyObject * obj0 = 0 ;
15388 char *kwnames[] = {
15389 (char *) "self", NULL
15390 };
15391
15392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
15393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 result = (int)(arg1)->GetTopRow();
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 resultobj = SWIG_From_int((int)result);
15403 return resultobj;
15404 fail:
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15412 int result;
15413 PyObject * obj0 = 0 ;
15414 char *kwnames[] = {
15415 (char *) "self", NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
15419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15421 {
15422 PyThreadState* __tstate = wxPyBeginAllowThreads();
15423 result = (int)(arg1)->GetBottomRow();
15424
15425 wxPyEndAllowThreads(__tstate);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 resultobj = SWIG_From_int((int)result);
15429 return resultobj;
15430 fail:
15431 return NULL;
15432 }
15433
15434
15435 static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *, PyObject *args, PyObject *kwargs) {
15436 PyObject *resultobj;
15437 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15438 int result;
15439 PyObject * obj0 = 0 ;
15440 char *kwnames[] = {
15441 (char *) "self", NULL
15442 };
15443
15444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
15445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15447 {
15448 PyThreadState* __tstate = wxPyBeginAllowThreads();
15449 result = (int)(arg1)->GetLeftCol();
15450
15451 wxPyEndAllowThreads(__tstate);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 }
15454 resultobj = SWIG_From_int((int)result);
15455 return resultobj;
15456 fail:
15457 return NULL;
15458 }
15459
15460
15461 static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *, PyObject *args, PyObject *kwargs) {
15462 PyObject *resultobj;
15463 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15464 int result;
15465 PyObject * obj0 = 0 ;
15466 char *kwnames[] = {
15467 (char *) "self", NULL
15468 };
15469
15470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
15471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15473 {
15474 PyThreadState* __tstate = wxPyBeginAllowThreads();
15475 result = (int)(arg1)->GetRightCol();
15476
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 resultobj = SWIG_From_int((int)result);
15481 return resultobj;
15482 fail:
15483 return NULL;
15484 }
15485
15486
15487 static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *, PyObject *args, PyObject *kwargs) {
15488 PyObject *resultobj;
15489 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15490 bool result;
15491 PyObject * obj0 = 0 ;
15492 char *kwnames[] = {
15493 (char *) "self", NULL
15494 };
15495
15496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
15497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 result = (bool)(arg1)->Selecting();
15502
15503 wxPyEndAllowThreads(__tstate);
15504 if (PyErr_Occurred()) SWIG_fail;
15505 }
15506 {
15507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15508 }
15509 return resultobj;
15510 fail:
15511 return NULL;
15512 }
15513
15514
15515 static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
15516 PyObject *resultobj;
15517 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15518 bool result;
15519 PyObject * obj0 = 0 ;
15520 char *kwnames[] = {
15521 (char *) "self", NULL
15522 };
15523
15524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
15525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15527 {
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 result = (bool)(arg1)->ControlDown();
15530
15531 wxPyEndAllowThreads(__tstate);
15532 if (PyErr_Occurred()) SWIG_fail;
15533 }
15534 {
15535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15536 }
15537 return resultobj;
15538 fail:
15539 return NULL;
15540 }
15541
15542
15543 static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj;
15545 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15546 bool result;
15547 PyObject * obj0 = 0 ;
15548 char *kwnames[] = {
15549 (char *) "self", NULL
15550 };
15551
15552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
15553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (bool)(arg1)->MetaDown();
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 {
15563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15564 }
15565 return resultobj;
15566 fail:
15567 return NULL;
15568 }
15569
15570
15571 static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj;
15573 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15574 bool result;
15575 PyObject * obj0 = 0 ;
15576 char *kwnames[] = {
15577 (char *) "self", NULL
15578 };
15579
15580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
15581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 result = (bool)(arg1)->ShiftDown();
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 {
15591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15592 }
15593 return resultobj;
15594 fail:
15595 return NULL;
15596 }
15597
15598
15599 static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
15600 PyObject *resultobj;
15601 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15602 bool result;
15603 PyObject * obj0 = 0 ;
15604 char *kwnames[] = {
15605 (char *) "self", NULL
15606 };
15607
15608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
15609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 result = (bool)(arg1)->AltDown();
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 {
15619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15620 }
15621 return resultobj;
15622 fail:
15623 return NULL;
15624 }
15625
15626
15627 static PyObject * GridRangeSelectEvent_swigregister(PyObject *, PyObject *args) {
15628 PyObject *obj;
15629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15630 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
15631 Py_INCREF(obj);
15632 return Py_BuildValue((char *)"");
15633 }
15634 static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15635 PyObject *resultobj;
15636 int arg1 ;
15637 wxEventType arg2 ;
15638 wxObject *arg3 = (wxObject *) 0 ;
15639 int arg4 ;
15640 int arg5 ;
15641 wxControl *arg6 = (wxControl *) 0 ;
15642 wxGridEditorCreatedEvent *result;
15643 PyObject * obj0 = 0 ;
15644 PyObject * obj1 = 0 ;
15645 PyObject * obj2 = 0 ;
15646 PyObject * obj3 = 0 ;
15647 PyObject * obj4 = 0 ;
15648 PyObject * obj5 = 0 ;
15649 char *kwnames[] = {
15650 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15651 };
15652
15653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15654 arg1 = (int)SWIG_As_int(obj0);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 arg2 = (wxEventType)SWIG_As_int(obj1);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
15659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15660 arg4 = (int)SWIG_As_int(obj3);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 arg5 = (int)SWIG_As_int(obj4);
15663 if (PyErr_Occurred()) SWIG_fail;
15664 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxControl,
15665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
15669
15670 wxPyEndAllowThreads(__tstate);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
15673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
15674 return resultobj;
15675 fail:
15676 return NULL;
15677 }
15678
15679
15680 static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
15681 PyObject *resultobj;
15682 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15683 int result;
15684 PyObject * obj0 = 0 ;
15685 char *kwnames[] = {
15686 (char *) "self", NULL
15687 };
15688
15689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
15690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15692 {
15693 PyThreadState* __tstate = wxPyBeginAllowThreads();
15694 result = (int)(arg1)->GetRow();
15695
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 resultobj = SWIG_From_int((int)result);
15700 return resultobj;
15701 fail:
15702 return NULL;
15703 }
15704
15705
15706 static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj;
15708 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15709 int result;
15710 PyObject * obj0 = 0 ;
15711 char *kwnames[] = {
15712 (char *) "self", NULL
15713 };
15714
15715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
15716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15718 {
15719 PyThreadState* __tstate = wxPyBeginAllowThreads();
15720 result = (int)(arg1)->GetCol();
15721
15722 wxPyEndAllowThreads(__tstate);
15723 if (PyErr_Occurred()) SWIG_fail;
15724 }
15725 resultobj = SWIG_From_int((int)result);
15726 return resultobj;
15727 fail:
15728 return NULL;
15729 }
15730
15731
15732 static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
15733 PyObject *resultobj;
15734 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15735 wxControl *result;
15736 PyObject * obj0 = 0 ;
15737 char *kwnames[] = {
15738 (char *) "self", NULL
15739 };
15740
15741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
15742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15744 {
15745 PyThreadState* __tstate = wxPyBeginAllowThreads();
15746 result = (wxControl *)(arg1)->GetControl();
15747
15748 wxPyEndAllowThreads(__tstate);
15749 if (PyErr_Occurred()) SWIG_fail;
15750 }
15751 {
15752 resultobj = wxPyMake_wxObject(result, 0);
15753 }
15754 return resultobj;
15755 fail:
15756 return NULL;
15757 }
15758
15759
15760 static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
15761 PyObject *resultobj;
15762 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15763 int arg2 ;
15764 PyObject * obj0 = 0 ;
15765 PyObject * obj1 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self",(char *) "row", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
15771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15773 arg2 = (int)SWIG_As_int(obj1);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 {
15776 PyThreadState* __tstate = wxPyBeginAllowThreads();
15777 (arg1)->SetRow(arg2);
15778
15779 wxPyEndAllowThreads(__tstate);
15780 if (PyErr_Occurred()) SWIG_fail;
15781 }
15782 Py_INCREF(Py_None); resultobj = Py_None;
15783 return resultobj;
15784 fail:
15785 return NULL;
15786 }
15787
15788
15789 static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
15790 PyObject *resultobj;
15791 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15792 int arg2 ;
15793 PyObject * obj0 = 0 ;
15794 PyObject * obj1 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self",(char *) "col", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
15800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15802 arg2 = (int)SWIG_As_int(obj1);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 {
15805 PyThreadState* __tstate = wxPyBeginAllowThreads();
15806 (arg1)->SetCol(arg2);
15807
15808 wxPyEndAllowThreads(__tstate);
15809 if (PyErr_Occurred()) SWIG_fail;
15810 }
15811 Py_INCREF(Py_None); resultobj = Py_None;
15812 return resultobj;
15813 fail:
15814 return NULL;
15815 }
15816
15817
15818 static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15821 wxControl *arg2 = (wxControl *) 0 ;
15822 PyObject * obj0 = 0 ;
15823 PyObject * obj1 = 0 ;
15824 char *kwnames[] = {
15825 (char *) "self",(char *) "ctrl", NULL
15826 };
15827
15828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
15829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 (arg1)->SetControl(arg2);
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 Py_INCREF(Py_None); resultobj = Py_None;
15841 return resultobj;
15842 fail:
15843 return NULL;
15844 }
15845
15846
15847 static PyObject * GridEditorCreatedEvent_swigregister(PyObject *, PyObject *args) {
15848 PyObject *obj;
15849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15850 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
15851 Py_INCREF(obj);
15852 return Py_BuildValue((char *)"");
15853 }
15854 static PyMethodDef SwigMethods[] = {
15855 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15856 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL },
15857 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS, NULL },
15858 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS, NULL },
15859 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
15860 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
15861 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
15862 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS, NULL },
15863 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15864 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15865 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL },
15866 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS, NULL },
15867 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15868 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS, NULL },
15869 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15870 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS, NULL },
15871 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15872 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
15873 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
15874 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS, NULL },
15875 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS, NULL },
15876 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS, NULL },
15877 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15878 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS, NULL },
15879 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15880 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS, NULL },
15881 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15882 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS, NULL },
15883 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15884 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS, NULL },
15885 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15886 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS, NULL },
15887 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
15888 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS, NULL },
15889 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15890 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15891 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL },
15892 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS, NULL },
15893 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS, NULL },
15894 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS, NULL },
15895 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS, NULL },
15896 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS, NULL },
15897 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS, NULL },
15898 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
15899 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
15900 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS, NULL },
15901 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS, NULL },
15902 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS, NULL },
15903 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS, NULL },
15904 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS, NULL },
15905 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS, NULL },
15906 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
15907 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS, NULL },
15908 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15909 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15910 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
15911 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS, NULL },
15912 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS, NULL },
15913 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS, NULL },
15914 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS, NULL },
15915 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS, NULL },
15916 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS, NULL },
15917 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
15918 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL },
15919 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS, NULL },
15920 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15921 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15922 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS, NULL },
15923 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15924 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15925 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS, NULL },
15926 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15927 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15928 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS, NULL },
15929 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15930 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15931 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS, NULL },
15932 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15933 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15934 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS, NULL },
15935 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15936 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15937 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS, NULL },
15938 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15939 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15940 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS, NULL },
15941 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15942 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15943 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
15944 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS, NULL },
15945 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS, NULL },
15946 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS, NULL },
15947 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
15948 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
15949 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
15950 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
15951 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
15952 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
15953 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
15954 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15955 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15956 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS, NULL },
15957 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
15958 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
15959 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
15960 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
15961 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15962 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15963 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS, NULL },
15964 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS, NULL },
15965 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
15966 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
15967 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
15968 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
15969 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
15970 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
15971 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15972 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15973 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
15974 { (char *)"GridCellAttr_GetKind", (PyCFunction) _wrap_GridCellAttr_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
15975 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15976 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS, NULL },
15977 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL },
15978 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15979 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15980 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15981 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15982 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15983 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS, NULL },
15984 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS, NULL },
15985 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS, NULL },
15986 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL },
15987 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15988 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15989 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15990 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15991 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15992 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS, NULL },
15993 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15994 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL },
15995 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL },
15996 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS, NULL },
15997 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS, NULL },
15998 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS, NULL },
15999 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS, NULL },
16000 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS, NULL },
16001 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
16002 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
16003 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS, NULL },
16004 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS, NULL },
16005 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS, NULL },
16006 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS, NULL },
16007 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS, NULL },
16008 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS, NULL },
16009 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS, NULL },
16010 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS, NULL },
16011 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS, NULL },
16012 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
16013 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS, NULL },
16014 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS, NULL },
16015 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS, NULL },
16016 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS, NULL },
16017 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS, NULL },
16018 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS, NULL },
16019 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16020 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16021 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16022 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16023 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
16024 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16025 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16026 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16027 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16028 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS, NULL },
16029 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS, NULL },
16030 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
16031 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
16032 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS, NULL },
16033 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS, NULL },
16034 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS, NULL },
16035 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
16036 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS, NULL },
16037 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS, NULL },
16038 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS, NULL },
16039 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS, NULL },
16040 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS, NULL },
16041 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS, NULL },
16042 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16043 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16044 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16045 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16046 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
16047 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16048 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16049 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16050 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16051 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS, NULL },
16052 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS, NULL },
16053 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS, NULL },
16054 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS, NULL },
16055 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS, NULL },
16056 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS, NULL },
16057 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS, NULL },
16058 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
16059 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
16060 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS, NULL },
16061 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS, NULL },
16062 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS, NULL },
16063 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS, NULL },
16064 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS, NULL },
16065 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS, NULL },
16066 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS, NULL },
16067 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
16068 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS, NULL },
16069 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
16070 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS, NULL },
16071 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS, NULL },
16072 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
16073 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
16074 { (char *)"GridCellCoords_Get", (PyCFunction) _wrap_GridCellCoords_Get, METH_VARARGS | METH_KEYWORDS, NULL },
16075 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS, NULL },
16076 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS, NULL },
16077 { (char *)"new_PreGrid", (PyCFunction) _wrap_new_PreGrid, METH_VARARGS | METH_KEYWORDS, NULL },
16078 { (char *)"Grid_Create", (PyCFunction) _wrap_Grid_Create, METH_VARARGS | METH_KEYWORDS, NULL },
16079 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS, NULL },
16080 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL },
16081 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL },
16082 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS, NULL },
16083 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS, NULL },
16084 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS, NULL },
16085 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS, NULL },
16086 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS, NULL },
16087 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS, NULL },
16088 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS, NULL },
16089 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS, NULL },
16090 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS, NULL },
16091 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS, NULL },
16092 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS, NULL },
16093 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS, NULL },
16094 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
16095 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
16096 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS, NULL },
16097 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS, NULL },
16098 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS, NULL },
16099 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS, NULL },
16100 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS, NULL },
16101 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
16102 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS, NULL },
16103 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
16104 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
16105 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS, NULL },
16106 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
16107 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS, NULL },
16108 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
16109 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
16110 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
16111 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS, NULL },
16112 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS, NULL },
16113 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS, NULL },
16114 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS, NULL },
16115 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS, NULL },
16116 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS, NULL },
16117 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS, NULL },
16118 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS, NULL },
16119 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS, NULL },
16120 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
16121 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS, NULL },
16122 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS, NULL },
16123 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS, NULL },
16124 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS, NULL },
16125 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS, NULL },
16126 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS, NULL },
16127 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS, NULL },
16128 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS, NULL },
16129 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS, NULL },
16130 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS, NULL },
16131 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS, NULL },
16132 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS, NULL },
16133 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16134 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16135 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16136 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16137 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16138 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16139 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS, NULL },
16140 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16141 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16142 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
16143 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16144 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16145 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS, NULL },
16146 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL },
16147 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16148 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16149 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16150 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16151 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16152 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16153 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS, NULL },
16154 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16155 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16156 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
16157 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16158 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16159 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS, NULL },
16160 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL },
16161 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16162 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16163 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16164 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16165 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16166 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16167 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16168 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16169 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS, NULL },
16170 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS, NULL },
16171 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS, NULL },
16172 { (char *)"Grid_EnableDragCell", (PyCFunction) _wrap_Grid_EnableDragCell, METH_VARARGS | METH_KEYWORDS, NULL },
16173 { (char *)"Grid_DisableDragCell", (PyCFunction) _wrap_Grid_DisableDragCell, METH_VARARGS | METH_KEYWORDS, NULL },
16174 { (char *)"Grid_CanDragCell", (PyCFunction) _wrap_Grid_CanDragCell, METH_VARARGS | METH_KEYWORDS, NULL },
16175 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16176 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16177 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16178 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction) _wrap_Grid_GetOrCreateCellAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16179 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS, NULL },
16180 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS, NULL },
16181 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS, NULL },
16182 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS, NULL },
16183 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS, NULL },
16184 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
16185 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16186 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16187 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16188 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16189 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16190 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16191 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16192 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16193 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS, NULL },
16194 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS, NULL },
16195 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16196 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16197 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
16198 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
16199 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
16200 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16201 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16202 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16203 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16204 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS, NULL },
16205 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS, NULL },
16206 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS, NULL },
16207 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS, NULL },
16208 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS, NULL },
16209 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16210 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16211 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16212 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS, NULL },
16213 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16214 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS, NULL },
16215 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16216 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS, NULL },
16217 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16218 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16219 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16220 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16221 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS, NULL },
16222 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS, NULL },
16223 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16224 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16225 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
16226 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
16227 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
16228 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
16229 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
16230 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
16231 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
16232 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS, NULL },
16233 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS, NULL },
16234 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS, NULL },
16235 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS, NULL },
16236 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS, NULL },
16237 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS, NULL },
16238 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
16239 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
16240 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS, NULL },
16241 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS, NULL },
16242 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS, NULL },
16243 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
16244 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL },
16245 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS, NULL },
16246 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS, NULL },
16247 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS, NULL },
16248 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
16249 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
16250 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS, NULL },
16251 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS, NULL },
16252 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS, NULL },
16253 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS, NULL },
16254 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS, NULL },
16255 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS, NULL },
16256 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
16257 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS, NULL },
16258 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
16259 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS, NULL },
16260 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS, NULL },
16261 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS, NULL },
16262 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS, NULL },
16263 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS, NULL },
16264 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS, NULL },
16265 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
16266 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS, NULL },
16267 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS, NULL },
16268 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS, NULL },
16269 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS, NULL },
16270 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction) _wrap_Grid_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
16271 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS, NULL },
16272 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS, NULL },
16273 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
16274 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
16275 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
16276 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS, NULL },
16277 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
16278 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
16279 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
16280 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
16281 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS, NULL },
16282 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
16283 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS, NULL },
16284 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
16285 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
16286 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
16287 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
16288 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
16289 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS, NULL },
16290 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS, NULL },
16291 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS, NULL },
16292 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS, NULL },
16293 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS, NULL },
16294 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS, NULL },
16295 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS, NULL },
16296 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS, NULL },
16297 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS, NULL },
16298 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
16299 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
16300 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
16301 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
16302 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS, NULL },
16303 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
16304 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
16305 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
16306 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
16307 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS, NULL },
16308 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS, NULL },
16309 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS, NULL },
16310 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS, NULL },
16311 { NULL, NULL, 0, NULL }
16312 };
16313
16314
16315 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16316
16317 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
16318 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
16319 }
16320 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
16321 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
16322 }
16323 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
16324 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
16325 }
16326 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
16327 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
16328 }
16329 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
16330 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
16331 }
16332 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
16333 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
16334 }
16335 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
16336 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
16337 }
16338 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
16339 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
16340 }
16341 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
16342 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
16343 }
16344 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
16345 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
16346 }
16347 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
16348 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
16349 }
16350 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
16351 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
16352 }
16353 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
16354 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
16355 }
16356 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
16357 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
16358 }
16359 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
16360 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
16361 }
16362 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
16363 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16364 }
16365 static void *_p_wxGridTo_p_wxPanel(void *x) {
16366 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
16367 }
16368 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
16369 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16370 }
16371 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
16372 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16373 }
16374 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
16375 return (void *)((wxPanel *) ((wxPyPanel *) x));
16376 }
16377 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
16378 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
16379 }
16380 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
16381 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
16382 }
16383 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
16384 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16385 }
16386 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
16387 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
16388 }
16389 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
16390 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16391 }
16392 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
16393 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
16394 }
16395 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
16396 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
16397 }
16398 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
16399 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16400 }
16401 static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
16402 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
16403 }
16404 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
16405 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
16406 }
16407 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
16408 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16409 }
16410 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
16411 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16412 }
16413 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
16414 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
16415 }
16416 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
16417 return (void *)((wxWindow *) ((wxMenuBar *) x));
16418 }
16419 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
16420 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16421 }
16422 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
16423 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16424 }
16425 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
16426 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16427 }
16428 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
16429 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16430 }
16431 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
16432 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16433 }
16434 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
16435 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16436 }
16437 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
16438 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16439 }
16440 static void *_p_wxPanelTo_p_wxWindow(void *x) {
16441 return (void *)((wxWindow *) ((wxPanel *) x));
16442 }
16443 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
16444 return (void *)((wxWindow *) ((wxStatusBar *) x));
16445 }
16446 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
16447 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
16448 }
16449 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
16450 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
16451 }
16452 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
16453 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16454 }
16455 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
16456 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16457 }
16458 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
16459 return (void *)((wxWindow *) ((wxPopupWindow *) x));
16460 }
16461 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
16462 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
16463 }
16464 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
16465 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
16466 }
16467 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
16468 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
16469 }
16470 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
16471 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
16472 }
16473 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
16474 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
16475 }
16476 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
16477 return (void *)((wxWindow *) ((wxSashWindow *) x));
16478 }
16479 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
16480 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16481 }
16482 static void *_p_wxControlTo_p_wxWindow(void *x) {
16483 return (void *)((wxWindow *) ((wxControl *) x));
16484 }
16485 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
16486 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16487 }
16488 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
16489 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16490 }
16491 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
16492 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16493 }
16494 static void *_p_wxGridTo_p_wxWindow(void *x) {
16495 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16496 }
16497 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
16498 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
16499 }
16500 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
16501 return (void *)((wxWindow *) ((wxPyWindow *) x));
16502 }
16503 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
16504 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16505 }
16506 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16507 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16508 }
16509 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16510 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16511 }
16512 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16513 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16514 }
16515 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16516 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16517 }
16518 static void *_p_wxFrameTo_p_wxWindow(void *x) {
16519 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16520 }
16521 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16522 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16523 }
16524 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16525 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16526 }
16527 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16528 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16529 }
16530 static void *_p_wxDialogTo_p_wxWindow(void *x) {
16531 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16532 }
16533 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
16534 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16535 }
16536 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
16537 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16538 }
16539 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16540 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16541 }
16542 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16543 return (void *)((wxControl *) ((wxControlWithItems *) x));
16544 }
16545 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16546 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16547 }
16548 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16549 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16550 }
16551 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16552 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16553 }
16554 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16555 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16556 }
16557 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16558 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16559 }
16560 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16561 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16562 }
16563 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16564 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16565 }
16566 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16567 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16568 }
16569 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16570 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16571 }
16572 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16573 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16574 }
16575 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16576 return (void *)((wxEvent *) ((wxPyEvent *) x));
16577 }
16578 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16579 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16580 }
16581 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16582 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16583 }
16584 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
16585 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16586 }
16587 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16588 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16589 }
16590 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16591 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16592 }
16593 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16594 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16595 }
16596 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16597 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16598 }
16599 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16600 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16601 }
16602 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16603 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16604 }
16605 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16606 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16607 }
16608 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16609 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16610 }
16611 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
16612 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16613 }
16614 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16615 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16616 }
16617 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16618 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16619 }
16620 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16621 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16622 }
16623 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16624 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16625 }
16626 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16627 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16628 }
16629 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16630 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16631 }
16632 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16633 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16634 }
16635 static void *_p_wxGridEventTo_p_wxEvent(void *x) {
16636 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16637 }
16638 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
16639 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16640 }
16641 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16642 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16643 }
16644 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16645 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16646 }
16647 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16648 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16649 }
16650 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16651 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16652 }
16653 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16654 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16655 }
16656 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16657 return (void *)((wxEvent *) ((wxShowEvent *) x));
16658 }
16659 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16660 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16661 }
16662 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16663 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16664 }
16665 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16666 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16667 }
16668 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16669 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16670 }
16671 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16672 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16673 }
16674 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16675 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16676 }
16677 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16678 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16679 }
16680 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16681 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16682 }
16683 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16684 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16685 }
16686 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16688 }
16689 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16691 }
16692 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16693 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16694 }
16695 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16696 return (void *)((wxObject *) ((wxSizerItem *) x));
16697 }
16698 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16699 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16700 }
16701 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16702 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16703 }
16704 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16705 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16706 }
16707 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16708 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16709 }
16710 static void *_p_wxSizerTo_p_wxObject(void *x) {
16711 return (void *)((wxObject *) ((wxSizer *) x));
16712 }
16713 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16714 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16715 }
16716 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16717 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16718 }
16719 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16721 }
16722 static void *_p_wxEventTo_p_wxObject(void *x) {
16723 return (void *)((wxObject *) ((wxEvent *) x));
16724 }
16725 static void *_p_wxFontDataTo_p_wxObject(void *x) {
16726 return (void *)((wxObject *) ((wxFontData *) x));
16727 }
16728 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16729 return (void *)((wxObject *) ((wxPrintData *) x));
16730 }
16731 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16732 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16733 }
16734 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16735 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16736 }
16737 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16738 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16739 }
16740 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16741 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16742 }
16743 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
16744 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
16745 }
16746 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16748 }
16749 static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
16750 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
16751 }
16752 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16753 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16754 }
16755 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16756 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16757 }
16758 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16759 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16760 }
16761 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16762 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16763 }
16764 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16765 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16766 }
16767 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16768 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16769 }
16770 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16772 }
16773 static void *_p_wxGridEventTo_p_wxObject(void *x) {
16774 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16775 }
16776 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
16777 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16778 }
16779 static void *_p_wxControlTo_p_wxObject(void *x) {
16780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16781 }
16782 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16783 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16784 }
16785 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16787 }
16788 static void *_p_wxFSFileTo_p_wxObject(void *x) {
16789 return (void *)((wxObject *) ((wxFSFile *) x));
16790 }
16791 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16792 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16793 }
16794 static void *_p_wxGridTo_p_wxObject(void *x) {
16795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16796 }
16797 static void *_p_wxPySizerTo_p_wxObject(void *x) {
16798 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16799 }
16800 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16802 }
16803 static void *_p_wxColourDataTo_p_wxObject(void *x) {
16804 return (void *)((wxObject *) ((wxColourData *) x));
16805 }
16806 static void *_p_wxPyEventTo_p_wxObject(void *x) {
16807 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16808 }
16809 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16811 }
16812 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16814 }
16815 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16817 }
16818 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16820 }
16821 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16823 }
16824 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16826 }
16827 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16829 }
16830 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16832 }
16833 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16835 }
16836 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16838 }
16839 static void *_p_wxShowEventTo_p_wxObject(void *x) {
16840 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16841 }
16842 static void *_p_wxPrinterTo_p_wxObject(void *x) {
16843 return (void *)((wxObject *) ((wxPrinter *) x));
16844 }
16845 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16846 return (void *)((wxObject *) ((wxMenuItem *) x));
16847 }
16848 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16849 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16850 }
16851 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16853 }
16854 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16855 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16856 }
16857 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16858 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16859 }
16860 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16861 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16862 }
16863 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16864 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16865 }
16866 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16867 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16868 }
16869 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16870 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16871 }
16872 static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
16873 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16874 }
16875 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16876 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16877 }
16878 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16879 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16880 }
16881 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16882 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16883 }
16884 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16885 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16886 }
16887 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16888 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16889 }
16890 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16891 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16892 }
16893 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16894 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16895 }
16896 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16897 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16898 }
16899 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16900 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16901 }
16902 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16903 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16904 }
16905 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16906 return (void *)((wxObject *) ((wxImageHandler *) x));
16907 }
16908 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16909 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16910 }
16911 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16912 return (void *)((wxObject *) ((wxEvtHandler *) x));
16913 }
16914 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16915 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16916 }
16917 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
16918 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16919 }
16920 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16922 }
16923 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16925 }
16926 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16927 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16928 }
16929 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16931 }
16932 static void *_p_wxImageTo_p_wxObject(void *x) {
16933 return (void *)((wxObject *) ((wxImage *) x));
16934 }
16935 static void *_p_wxFrameTo_p_wxObject(void *x) {
16936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16937 }
16938 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16939 return (void *)((wxObject *) ((wxPyPrintout *) x));
16940 }
16941 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16942 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16943 }
16944 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16945 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16946 }
16947 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16949 }
16950 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16952 }
16953 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16954 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16955 }
16956 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16957 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16958 }
16959 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16960 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16961 }
16962 static void *_p_wxWindowTo_p_wxObject(void *x) {
16963 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16964 }
16965 static void *_p_wxMenuTo_p_wxObject(void *x) {
16966 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16967 }
16968 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16970 }
16971 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16973 }
16974 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16976 }
16977 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16979 }
16980 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16982 }
16983 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16985 }
16986 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16988 }
16989 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16991 }
16992 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16994 }
16995 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16997 }
16998 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
16999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
17000 }
17001 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
17002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
17003 }
17004 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
17005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
17006 }
17007 static void *_p_wxSashEventTo_p_wxObject(void *x) {
17008 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
17009 }
17010 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
17011 return (void *)((wxObject *) ((wxPrintPreview *) x));
17012 }
17013 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
17014 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
17015 }
17016 static void *_p_wxPanelTo_p_wxObject(void *x) {
17017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
17018 }
17019 static void *_p_wxDialogTo_p_wxObject(void *x) {
17020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
17021 }
17022 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
17023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
17024 }
17025 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
17026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
17027 }
17028 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
17029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
17030 }
17031 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
17032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
17033 }
17034 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
17035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
17036 }
17037 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
17038 return (void *)((wxObject *) ((wxFileSystem *) x));
17039 }
17040 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
17041 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
17042 }
17043 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
17044 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
17045 }
17046 static void *_p_wxPyAppTo_p_wxObject(void *x) {
17047 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
17048 }
17049 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
17050 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
17051 }
17052 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
17053 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
17054 }
17055 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
17056 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
17057 }
17058 static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
17059 return (void *)((wxObject *) ((wxGridTableBase *) x));
17060 }
17061 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
17062 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
17063 }
17064 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
17065 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
17066 }
17067 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
17068 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
17069 }
17070 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
17071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
17072 }
17073 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
17074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
17075 }
17076 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
17077 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
17078 }
17079 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
17080 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
17081 }
17082 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
17083 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
17084 }
17085 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
17086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17087 }
17088 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
17089 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
17090 }
17091 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
17092 return (void *)((wxObject *) ((wxPrintDialogData *) x));
17093 }
17094 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
17095 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
17096 }
17097 static void *_p_wxValidatorTo_p_wxObject(void *x) {
17098 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
17099 }
17100 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
17101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
17102 }
17103 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
17104 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
17105 }
17106 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
17107 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
17108 }
17109 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
17110 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
17111 }
17112 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
17113 return (void *)((wxEvtHandler *) ((wxValidator *) x));
17114 }
17115 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
17116 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
17117 }
17118 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
17119 return (void *)((wxEvtHandler *) ((wxMenu *) x));
17120 }
17121 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
17122 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
17123 }
17124 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
17125 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
17126 }
17127 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
17128 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
17129 }
17130 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
17131 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
17132 }
17133 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
17134 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
17135 }
17136 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
17137 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
17138 }
17139 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
17140 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
17141 }
17142 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
17143 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
17144 }
17145 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
17146 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
17147 }
17148 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
17149 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
17150 }
17151 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
17152 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
17153 }
17154 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
17155 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
17156 }
17157 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
17158 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
17159 }
17160 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
17161 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
17162 }
17163 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
17164 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
17165 }
17166 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
17167 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
17168 }
17169 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
17170 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
17171 }
17172 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
17173 return (void *)((wxEvtHandler *) ((wxWindow *) x));
17174 }
17175 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
17176 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
17177 }
17178 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
17179 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
17180 }
17181 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
17182 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
17183 }
17184 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
17185 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
17186 }
17187 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
17188 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
17189 }
17190 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
17191 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
17192 }
17193 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
17194 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
17195 }
17196 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
17197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
17198 }
17199 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
17200 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
17201 }
17202 static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
17203 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
17204 }
17205 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
17206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17207 }
17208 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
17209 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
17210 }
17211 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
17212 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
17213 }
17214 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
17215 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
17216 }
17217 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
17218 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
17219 }
17220 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
17221 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
17222 }
17223 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
17224 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
17225 }
17226 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
17227 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
17228 }
17229 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
17230 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
17231 }
17232 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
17233 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
17234 }
17235 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
17236 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
17237 }
17238 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
17239 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
17240 }
17241 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
17242 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
17243 }
17244 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
17245 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
17246 }
17247 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
17248 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
17249 }
17250 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
17251 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
17252 }
17253 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
17254 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
17255 }
17256 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
17257 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
17258 }
17259 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
17260 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
17261 }
17262 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
17263 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
17264 }
17265 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
17266 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
17267 }
17268 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
17269 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
17270 }
17271 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
17272 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
17273 }
17274 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
17275 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
17276 }
17277 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
17278 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
17279 }
17280 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
17281 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
17282 }
17283 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
17284 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
17285 }
17286 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
17287 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
17288 }
17289 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
17290 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
17291 }
17292 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
17293 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
17294 }
17295 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17296 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17297 }
17298 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
17299 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
17300 }
17301 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17302 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17303 }
17304 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17305 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17306 }
17307 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17308 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17309 }
17310 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17311 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17312 }
17313 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
17314 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
17315 }
17316 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
17317 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
17318 }
17319 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17320 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17321 }
17322 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
17323 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
17324 }
17325 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
17326 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
17327 }
17328 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17329 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17330 }
17331 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
17332 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
17333 }
17334 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17335 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17336 }
17337 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
17338 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
17339 }
17340 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
17341 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
17342 }
17343 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}};
17344 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}};
17345 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}};
17346 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}};
17347 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}};
17348 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}};
17349 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}};
17350 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}};
17351 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}};
17352 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}};
17353 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}};
17354 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}};
17355 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}};
17356 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}};
17357 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}};
17358 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}};
17359 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}};
17360 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}};
17361 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}};
17362 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}};
17363 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}};
17364 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}};
17365 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}};
17366 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}};
17367 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}};
17368 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}};
17369 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}};
17370 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}};
17371 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}};
17372 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}};
17373 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}};
17374 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}};
17375 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}};
17376 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}};
17377 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}};
17378 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}};
17379 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}};
17380 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}};
17381 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}};
17382 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}};
17383 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}};
17384 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}};
17385 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}};
17386 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}};
17387 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}};
17388 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}};
17389 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}};
17390 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}};
17391 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}};
17392 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}};
17393 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}};
17394 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}};
17395 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}};
17396
17397 static swig_type_info *swig_types_initial[] = {
17398 _swigt__p_wxGridCellAutoWrapStringRenderer,
17399 _swigt__p_wxGridCellEnumRenderer,
17400 _swigt__p_wxGridCellDateTimeRenderer,
17401 _swigt__p_wxGridCellBoolRenderer,
17402 _swigt__p_wxGridCellFloatRenderer,
17403 _swigt__p_wxGridCellNumberRenderer,
17404 _swigt__p_wxPyGridCellRenderer,
17405 _swigt__p_wxGridCellRenderer,
17406 _swigt__p_wxGridCellStringRenderer,
17407 _swigt__p_wxGridCellAttr,
17408 _swigt__p_wxColour,
17409 _swigt__p_wxDC,
17410 _swigt__p_wxGridTableMessage,
17411 _swigt__p_wxGrid,
17412 _swigt__p_wxVisualAttributes,
17413 _swigt__p_char,
17414 _swigt__p_wxPanel,
17415 _swigt__p_wxNotifyEvent,
17416 _swigt__p_wxGridRangeSelectEvent,
17417 _swigt__p_wxSize,
17418 _swigt__p_wxGridCellCoords,
17419 _swigt__p_wxScrolledWindow,
17420 _swigt__p_wxWindow,
17421 _swigt__p_wxFont,
17422 _swigt__p_wxControl,
17423 _swigt__p_wxEvent,
17424 _swigt__p_wxObject,
17425 _swigt__p_wxGridSizeEvent,
17426 _swigt__p_wxRect,
17427 _swigt__p_long,
17428 _swigt__p_wxString,
17429 _swigt__p_wxEvtHandler,
17430 _swigt__p_wxPoint,
17431 _swigt__p_wxGridEvent,
17432 _swigt__p_wxGridEditorCreatedEvent,
17433 _swigt__p_wxGridTableBase,
17434 _swigt__p_wxGridCellNumberEditor,
17435 _swigt__p_wxPyGridCellEditor,
17436 _swigt__p_wxGridCellEditor,
17437 _swigt__p_wxGridCellTextEditor,
17438 _swigt__p_wxGridCellFloatEditor,
17439 _swigt__p_wxGridCellBoolEditor,
17440 _swigt__p_wxPyGridTableBase,
17441 _swigt__p_wxGridStringTable,
17442 _swigt__p_wxArrayString,
17443 _swigt__p_wxCommandEvent,
17444 _swigt__p_wxGridCellAttrProvider,
17445 _swigt__p_wxKeyEvent,
17446 _swigt__p_wxGridCellChoiceEditor,
17447 _swigt__p_wxGridCellEnumEditor,
17448 _swigt__p_wxGridCellAutoWrapStringEditor,
17449 _swigt__p_int,
17450 _swigt__p_wxPyGridCellAttrProvider,
17451 0
17452 };
17453
17454
17455 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17456
17457 static swig_const_info swig_const_table[] = {
17458 { SWIG_PY_POINTER, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17459 { SWIG_PY_POINTER, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char},
17460 { SWIG_PY_POINTER, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17461 { SWIG_PY_POINTER, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char},
17462 { SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char},
17463 { SWIG_PY_POINTER, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17464 { SWIG_PY_POINTER, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17465 { SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char},
17466 { SWIG_PY_POINTER, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char},
17467 {0, 0, 0, 0.0, 0, 0}};
17468
17469 #ifdef __cplusplus
17470 }
17471 #endif
17472
17473 #ifdef __cplusplus
17474 extern "C"
17475 #endif
17476 SWIGEXPORT(void) SWIG_init(void) {
17477 static PyObject *SWIG_globals = 0;
17478 static int typeinit = 0;
17479 PyObject *m, *d;
17480 int i;
17481 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17482 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17483 d = PyModule_GetDict(m);
17484
17485 if (!typeinit) {
17486 for (i = 0; swig_types_initial[i]; i++) {
17487 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
17488 }
17489 typeinit = 1;
17490 }
17491 SWIG_InstallConstants(d,swig_const_table);
17492
17493 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
17494 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
17495 PyDict_SetItemString(d,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17496 PyDict_SetItemString(d,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17497 PyDict_SetItemString(d,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17498 PyDict_SetItemString(d,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17499 PyDict_SetItemString(d,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17500 PyDict_SetItemString(d,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17501 PyDict_SetItemString(d,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17502 PyDict_SetItemString(d,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17503 PyDict_SetItemString(d,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
17504 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
17505 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
17506 PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int((int)wxGRID_DEFAULT_NUMBER_ROWS));
17507 PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int((int)wxGRID_DEFAULT_NUMBER_COLS));
17508 PyDict_SetItemString(d,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int((int)wxGRID_DEFAULT_ROW_HEIGHT));
17509 PyDict_SetItemString(d,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_COL_WIDTH));
17510 PyDict_SetItemString(d,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int((int)wxGRID_DEFAULT_COL_LABEL_HEIGHT));
17511 PyDict_SetItemString(d,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_ROW_LABEL_WIDTH));
17512 PyDict_SetItemString(d,"GRID_LABEL_EDGE_ZONE", SWIG_From_int((int)wxGRID_LABEL_EDGE_ZONE));
17513 PyDict_SetItemString(d,"GRID_MIN_ROW_HEIGHT", SWIG_From_int((int)wxGRID_MIN_ROW_HEIGHT));
17514 PyDict_SetItemString(d,"GRID_MIN_COL_WIDTH", SWIG_From_int((int)wxGRID_MIN_COL_WIDTH));
17515 PyDict_SetItemString(d,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_SCROLLBAR_WIDTH));
17516 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_From_int((int)wxGridCellAttr::Any));
17517 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_From_int((int)wxGridCellAttr::Default));
17518 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_From_int((int)wxGridCellAttr::Cell));
17519 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_From_int((int)wxGridCellAttr::Row));
17520 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_From_int((int)wxGridCellAttr::Col));
17521 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_From_int((int)wxGridCellAttr::Merged));
17522 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
17523 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
17524 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
17525 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
17526 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED));
17527 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED));
17528 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED));
17529 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_DELETED));
17530 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_From_int((int)wxGrid::wxGridSelectCells));
17531 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_From_int((int)wxGrid::wxGridSelectRows));
17532 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_From_int((int)wxGrid::wxGridSelectColumns));
17533 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
17534 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
17535 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
17536 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
17537 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
17538 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
17539 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
17540 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
17541 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
17542 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
17543 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
17544 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
17545 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
17546 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
17547 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
17548 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
17549 PyDict_SetItemString(d, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG));
17550
17551
17552 }
17553