]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid_wrap.cpp
Forward declare wxPyScrolledWindow
[wxWidgets.git] / wxPython / src / gtk / grid_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
210 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
211 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
212 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
213 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
214 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
215 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
216 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
217 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
218 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
219 #define SWIGTYPE_p_wxColour swig_types[10]
220 #define SWIGTYPE_p_wxDC swig_types[11]
221 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
222 #define SWIGTYPE_p_wxGrid swig_types[13]
223 #define SWIGTYPE_p_char swig_types[14]
224 #define SWIGTYPE_p_wxPanel swig_types[15]
225 #define SWIGTYPE_p_wxNotifyEvent swig_types[16]
226 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxGridCellCoords swig_types[19]
229 #define SWIGTYPE_p_wxScrolledWindow swig_types[20]
230 #define SWIGTYPE_p_wxWindow swig_types[21]
231 #define SWIGTYPE_p_wxFont swig_types[22]
232 #define SWIGTYPE_p_wxControl swig_types[23]
233 #define SWIGTYPE_p_wxEvent swig_types[24]
234 #define SWIGTYPE_p_wxObject swig_types[25]
235 #define SWIGTYPE_p_wxGridSizeEvent swig_types[26]
236 #define SWIGTYPE_p_wxRect swig_types[27]
237 #define SWIGTYPE_p_long swig_types[28]
238 #define SWIGTYPE_p_wxString swig_types[29]
239 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
240 #define SWIGTYPE_p_wxPoint swig_types[31]
241 #define SWIGTYPE_p_wxGridEvent swig_types[32]
242 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[33]
243 #define SWIGTYPE_p_wxGridTableBase swig_types[34]
244 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
245 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
246 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
247 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
248 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[39]
249 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[40]
250 #define SWIGTYPE_p_wxPyGridTableBase swig_types[41]
251 #define SWIGTYPE_p_wxGridStringTable swig_types[42]
252 #define SWIGTYPE_p_wxArrayString swig_types[43]
253 #define SWIGTYPE_p_wxCommandEvent swig_types[44]
254 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[45]
255 #define SWIGTYPE_p_wxKeyEvent swig_types[46]
256 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[47]
257 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[48]
258 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[51]
261 static swig_type_info *swig_types[53];
262
263 /* -------- TYPES TABLE (END) -------- */
264
265
266 /*-----------------------------------------------
267 @(target):= _grid.so
268 ------------------------------------------------*/
269 #define SWIG_init init_grid
270
271 #define SWIG_name "_grid"
272
273 /* Auxiliar swig macros */
274
275 #ifdef __cplusplus
276 #define SWIGSTATICINLINE(a) static inline a
277 #define SWIGSTATIC(a) static a
278 #define swig_new_array(type, size) (new type[(size)])
279 #define swig_delete_array(cptr) delete[] cptr
280 #define swig_const_cast(type,a) const_cast<type>(a)
281 #define swig_static_cast(type,a) static_cast<type>(a)
282 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
283
284 #ifdef HAVE_NUMERIC_CAST
285 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
286 #else
287 #define swig_numeric_cast(type,a) static_cast<type>(a)
288 #endif
289
290 #else /* C case */
291
292 #define SWIGSTATICINLINE(a) static a
293 #define SWIGSTATIC(a) static a
294 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
295 #define swig_delete_array(cptr) free((char*)cptr)
296 #define swig_const_cast(type,a) (type)(a)
297 #define swig_static_cast(type,a) (type)(a)
298 #define swig_reinterpret_cast(type,a) (type)(a)
299 #define swig_numeric_cast(type,a) (type)(a)
300
301 #endif /* __cplusplus */
302
303
304 #define SWIG_FromSignedChar PyInt_FromLong
305 #define SWIG_FromUnsignedChar PyInt_FromLong
306 #define SWIG_FromShort PyInt_FromLong
307 #define SWIG_FromUnsignedShort PyInt_FromLong
308 #define SWIG_FromInt PyInt_FromLong
309 #define SWIG_FromLong PyInt_FromLong
310 #define SWIG_FromFloat PyFloat_FromDouble
311 #define SWIG_FromDouble PyFloat_FromDouble
312 #define SWIG_FromFloat PyFloat_FromDouble
313 #define SWIG_FromDouble PyFloat_FromDouble
314
315
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
318 #include "wx/wxPython/printfw.h"
319
320 #include <wx/grid.h>
321 #include <wx/generic/gridctrl.h>
322
323
324 static const wxString wxPyEmptyString(wxEmptyString);
325 static const wxString wxPyPanelNameStr(wxPanelNameStr);
326 static const wxString wxPyDateTimeFormatStr(wxT("%c"));
327
328
329 #define wxPyMake_TEMPLATE(TYPE) \
330 PyObject* wxPyMake_##TYPE(TYPE* source) { \
331 PyObject* target = NULL; \
332 if (source) { \
333 /* Check if there is already a pointer to a Python object in the \
334 OOR data that we can use. */ \
335 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
336 if (data) { \
337 target = data->m_obj; \
338 Py_INCREF(target); \
339 } \
340 /* Otherwise make a new wrapper for it the old fashioned way and \
341 give it the OOR treatment */ \
342 if (! target) { \
343 target = wxPyConstructObject(source, wxT(#TYPE), False); \
344 if (target) \
345 source->SetClientObject(new wxPyOORClientData(target)); \
346 } \
347 } else { /* source was NULL so return None. */ \
348 Py_INCREF(Py_None); target = Py_None; \
349 } \
350 return target; \
351 } \
352
353
354 wxPyMake_TEMPLATE(wxGridCellRenderer)
355 wxPyMake_TEMPLATE(wxGridCellEditor)
356 wxPyMake_TEMPLATE(wxGridCellAttr)
357 wxPyMake_TEMPLATE(wxGridCellAttrProvider)
358 wxPyMake_TEMPLATE(wxGridTableBase)
359
360
361
362 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
363 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
364 wxGridCellAttr* rval = NULL; \
365 bool found; \
366 bool blocked = wxPyBeginBlockThreads(); \
367 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
368 PyObject* ro; \
369 wxGridCellAttr* ptr; \
370 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
371 if (ro) { \
372 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
373 rval = ptr; \
374 Py_DECREF(ro); \
375 } \
376 } \
377 wxPyEndBlockThreads(blocked); \
378 if (! found) \
379 rval = PCLASS::CBNAME(a, b, c); \
380 return rval; \
381 } \
382 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
383 return PCLASS::CBNAME(a, b, c); \
384 }
385
386
387
388 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
389 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
390 bool blocked = wxPyBeginBlockThreads(); \
391 bool found; \
392 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
393 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
394 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
395 Py_DECREF(obj); \
396 } \
397 wxPyEndBlockThreads(blocked); \
398 if (! found) \
399 PCLASS::CBNAME(attr, a, b); \
400 } \
401 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
402 PCLASS::CBNAME(attr, a, b); \
403 }
404
405
406
407 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
408 void CBNAME(wxGridCellAttr *attr, int val) { \
409 bool blocked = wxPyBeginBlockThreads(); \
410 bool found; \
411 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
413 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
414 Py_DECREF(obj); \
415 } \
416 wxPyEndBlockThreads(blocked); \
417 if (! found) \
418 PCLASS::CBNAME(attr, val); \
419 } \
420 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
421 PCLASS::CBNAME(attr, val); \
422 }
423
424
425
426 #define PYCALLBACK_INT__pure(CBNAME) \
427 int CBNAME() { \
428 bool blocked = wxPyBeginBlockThreads(); \
429 int rval = 0; \
430 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
431 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
432 wxPyEndBlockThreads(blocked); \
433 return rval; \
434 }
435
436
437
438 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
439 bool CBNAME(int a, int b) { \
440 bool blocked = wxPyBeginBlockThreads(); \
441 bool rval = 0; \
442 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
443 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
444 wxPyEndBlockThreads(blocked); \
445 return rval; \
446 }
447
448
449 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
450 wxString CBNAME(int a, int b) { \
451 bool blocked = wxPyBeginBlockThreads(); \
452 wxString rval; \
453 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
454 PyObject* ro; \
455 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
456 if (ro) { \
457 rval = Py2wxString(ro); \
458 Py_DECREF(ro); \
459 } \
460 } \
461 wxPyEndBlockThreads(blocked); \
462 return rval; \
463 }
464
465
466 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
467 void CBNAME(int a, int b, const wxString& c) { \
468 bool blocked = wxPyBeginBlockThreads(); \
469 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
470 PyObject* s = wx2PyString(c); \
471 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
472 Py_DECREF(s); \
473 } \
474 wxPyEndBlockThreads(blocked); \
475 }
476
477
478 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
479 wxString CBNAME(int a, int b) { \
480 bool found; \
481 bool blocked = wxPyBeginBlockThreads(); \
482 wxString rval; \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
484 PyObject* ro; \
485 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
486 if (ro) { \
487 rval = Py2wxString(ro); \
488 Py_DECREF(ro); \
489 } \
490 } \
491 wxPyEndBlockThreads(blocked); \
492 if (! found) \
493 rval = PCLASS::CBNAME(a, b); \
494 return rval; \
495 } \
496 wxString base_##CBNAME(int a, int b) { \
497 return PCLASS::CBNAME(a, b); \
498 }
499
500
501 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
502 bool CBNAME(int a, int b, const wxString& c) { \
503 bool rval = 0; \
504 bool found; \
505 bool blocked = wxPyBeginBlockThreads(); \
506 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
507 PyObject* s = wx2PyString(c); \
508 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
509 Py_DECREF(s); \
510 } \
511 wxPyEndBlockThreads(blocked); \
512 if (! found) \
513 rval = PCLASS::CBNAME(a,b,c); \
514 return rval; \
515 } \
516 bool base_##CBNAME(int a, int b, const wxString& c) { \
517 return PCLASS::CBNAME(a,b,c); \
518 }
519
520
521
522
523 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
524 long CBNAME(int a, int b) { \
525 long rval; \
526 bool found; \
527 bool blocked = wxPyBeginBlockThreads(); \
528 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
529 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
530 wxPyEndBlockThreads(blocked); \
531 if (! found) \
532 rval = PCLASS::CBNAME(a,b); \
533 return rval; \
534 } \
535 long base_##CBNAME(int a, int b) { \
536 return PCLASS::CBNAME(a,b); \
537 }
538
539
540
541 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
542 bool CBNAME(int a, int b) { \
543 bool rval = 0; \
544 bool found; \
545 bool blocked = wxPyBeginBlockThreads(); \
546 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
547 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
548 wxPyEndBlockThreads(blocked); \
549 if (! found) \
550 rval = PCLASS::CBNAME(a,b); \
551 return rval; \
552 } \
553 bool base_##CBNAME(int a, int b) { \
554 return PCLASS::CBNAME(a,b); \
555 }
556
557
558
559 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
560 double CBNAME(int a, int b) { \
561 bool found; \
562 bool blocked = wxPyBeginBlockThreads(); \
563 double rval; \
564 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
565 PyObject* ro; \
566 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
567 if (ro) { \
568 PyObject* str = PyObject_Str(ro); \
569 rval = PyFloat_AsDouble(str); \
570 Py_DECREF(ro); Py_DECREF(str); \
571 } \
572 } \
573 wxPyEndBlockThreads(blocked); \
574 if (! found) \
575 rval = PCLASS::CBNAME(a, b); \
576 return rval; \
577 } \
578 double base_##CBNAME(int a, int b) { \
579 return PCLASS::CBNAME(a, b); \
580 }
581
582
583
584 #define PYCALLBACK__(PCLASS, CBNAME) \
585 void CBNAME() { \
586 bool found; \
587 bool blocked = wxPyBeginBlockThreads(); \
588 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
589 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
590 wxPyEndBlockThreads(blocked); \
591 if (! found) \
592 PCLASS::CBNAME(); \
593 } \
594 void base_##CBNAME() { \
595 PCLASS::CBNAME(); \
596 }
597
598
599
600
601 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
602 bool CBNAME(size_t a, size_t b) { \
603 bool rval = 0; \
604 bool found; \
605 bool blocked = wxPyBeginBlockThreads(); \
606 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
607 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
608 wxPyEndBlockThreads(blocked); \
609 if (! found) \
610 rval = PCLASS::CBNAME(a,b); \
611 return rval; \
612 } \
613 bool base_##CBNAME(size_t a, size_t b) { \
614 return PCLASS::CBNAME(a,b); \
615 }
616
617
618
619 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
620 bool CBNAME(size_t a) { \
621 bool rval = 0; \
622 bool found; \
623 bool blocked = wxPyBeginBlockThreads(); \
624 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
625 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
626 wxPyEndBlockThreads(blocked); \
627 if (! found) \
628 rval = PCLASS::CBNAME(a); \
629 return rval; \
630 } \
631 bool base_##CBNAME(size_t a) { \
632 return PCLASS::CBNAME(a); \
633 }
634
635
636 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
637 wxString CBNAME(int a) { \
638 bool found; \
639 bool blocked = wxPyBeginBlockThreads(); \
640 wxString rval; \
641 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
642 PyObject* ro; \
643 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
644 if (ro) { \
645 rval = Py2wxString(ro); \
646 Py_DECREF(ro); \
647 } \
648 } \
649 wxPyEndBlockThreads(blocked); \
650 if (! found) \
651 rval = PCLASS::CBNAME(a); \
652 return rval; \
653 } \
654 wxString base_##CBNAME(int a) { \
655 return PCLASS::CBNAME(a); \
656 }
657
658
659 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
660 void CBNAME(int a, const wxString& c) { \
661 bool found; \
662 bool blocked = wxPyBeginBlockThreads(); \
663 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
664 PyObject* s = wx2PyString(c); \
665 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
666 Py_DECREF(s); \
667 } \
668 wxPyEndBlockThreads(blocked); \
669 if (! found) \
670 PCLASS::CBNAME(a,c); \
671 } \
672 void base_##CBNAME(int a, const wxString& c) { \
673 PCLASS::CBNAME(a,c); \
674 }
675
676
677
678
679 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
680 bool CBNAME() { \
681 bool rval = 0; \
682 bool found; \
683 bool blocked = wxPyBeginBlockThreads(); \
684 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
685 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
686 wxPyEndBlockThreads(blocked); \
687 if (! found) \
688 rval = PCLASS::CBNAME(); \
689 return rval; \
690 } \
691 bool base_##CBNAME() { \
692 return PCLASS::CBNAME(); \
693 }
694
695
696
697 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
698 void CBNAME(size_t a, int b) { \
699 bool found; \
700 bool blocked = wxPyBeginBlockThreads(); \
701 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
702 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
703 wxPyEndBlockThreads(blocked); \
704 if (! found) \
705 PCLASS::CBNAME(a,b); \
706 } \
707 void base_##CBNAME(size_t a, int b) { \
708 PCLASS::CBNAME(a,b); \
709 }
710
711
712
713
714 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
715 void CBNAME(int a, int b, long c) { \
716 bool found; \
717 bool blocked = wxPyBeginBlockThreads(); \
718 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
719 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
720 wxPyEndBlockThreads(blocked); \
721 if (! found) \
722 PCLASS::CBNAME(a,b,c); \
723 } \
724 void base_##CBNAME(int a, int b, long c) { \
725 PCLASS::CBNAME(a,b,c); \
726 }
727
728
729
730
731 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
732 void CBNAME(int a, int b, double c) { \
733 bool found; \
734 bool blocked = wxPyBeginBlockThreads(); \
735 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
736 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
737 wxPyEndBlockThreads(blocked); \
738 if (! found) \
739 PCLASS::CBNAME(a,b,c); \
740 } \
741 void base_##CBNAME(int a, int b, double c) { \
742 PCLASS::CBNAME(a,b,c); \
743 }
744
745
746
747 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
748 void CBNAME(int a, int b, bool c) { \
749 bool found; \
750 bool blocked = wxPyBeginBlockThreads(); \
751 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
752 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
753 wxPyEndBlockThreads(blocked); \
754 if (! found) \
755 PCLASS::CBNAME(a,b,c); \
756 } \
757 void base_##CBNAME(int a, int b, bool c) { \
758 PCLASS::CBNAME(a,b,c); \
759 }
760
761
762
763
764
765
766 SWIGSTATICINLINE(PyObject *)
767 SWIG_FromCharPtr(const char* cptr)
768 {
769 size_t size = cptr ? strlen(cptr) : 0;
770 if (cptr) {
771 if (size > INT_MAX) {
772 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
773 SWIG_TypeQuery("char *"), 0);
774 } else {
775 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
776 }
777 } else {
778 Py_INCREF(Py_None);
779 return Py_None;
780 }
781 }
782
783 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
784 self->SetClientObject(new wxPyOORClientData(_self));
785 }
786
787 #include <limits.h>
788
789
790 SWIGSTATICINLINE(long)
791 SWIG_CheckLongInRange(long value, const char* type,
792 long min_value, long max_value)
793 {
794 if (!PyErr_Occurred()) {
795 if (value < min_value) {
796 PyObject *err =
797 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
798 value, type, min_value);
799
800 PyErr_SetObject(PyExc_OverflowError, err);
801 Py_DECREF(err);
802 } else if (value > max_value) {
803 PyObject *err =
804 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
805 value, type, max_value);
806 PyErr_SetObject(PyExc_OverflowError, err);
807 Py_DECREF(err);
808 }
809 }
810 return value;
811 }
812
813
814 SWIGSTATICINLINE(long)
815 SWIG_AsLong(PyObject * obj)
816 {
817 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
818 }
819
820
821 #if INT_MAX != LONG_MAX
822 SWIGSTATICINLINE(int)
823 SWIG_AsInt(PyObject *obj)
824 {
825 return swig_numeric_cast(int,
826 SWIG_CheckLongInRange(SWIG_AsLong(obj),
827 "int", INT_MIN, INT_MAX));
828 }
829 #else
830 #define SWIG_AsInt SWIG_AsLong
831 #endif
832
833
834 SWIGSTATICINLINE(bool)
835 SWIG_AsBool(PyObject *obj)
836 {
837 return PyObject_IsTrue(obj) ? true : false;
838 }
839
840
841 SWIGSTATICINLINE(int)
842 SWIG_CheckInt(PyObject* obj)
843 {
844 SWIG_AsInt(obj);
845 if (PyErr_Occurred()) {
846 PyErr_Clear();
847 return 0;
848 } else {
849 return 1;
850 }
851 }
852
853
854 SWIGSTATICINLINE(int)
855 SWIG_CheckBool(PyObject* obj)
856 {
857 SWIG_AsBool(obj);
858 if (PyErr_Occurred()) {
859 PyErr_Clear();
860 return 0;
861 } else {
862 return 1;
863 }
864 }
865
866
867 class wxPyGridCellRenderer : public wxGridCellRenderer
868 {
869 public:
870 wxPyGridCellRenderer() : wxGridCellRenderer() {};
871
872 // Implement Python callback aware virtual methods
873 void Draw(wxGrid& grid, wxGridCellAttr& attr,
874 wxDC& dc, const wxRect& rect,
875 int row, int col, bool isSelected) {
876 bool blocked = wxPyBeginBlockThreads();
877 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
878 PyObject* go = wxPyMake_wxObject(&grid);
879 PyObject* dco = wxPyMake_wxObject(&dc);
880 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
881 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
882
883 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
884 row, col, isSelected));
885 Py_DECREF(go);
886 Py_DECREF(ao);
887 Py_DECREF(dco);
888 Py_DECREF(ro);
889 }
890 wxPyEndBlockThreads(blocked);
891 }
892
893 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
894 int row, int col) {
895 wxSize rval;
896 bool blocked = wxPyBeginBlockThreads();
897 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
898 PyObject* ro;
899 wxSize* ptr;
900 PyObject* go = wxPyMake_wxObject(&grid);
901 PyObject* dco = wxPyMake_wxObject(&dc);
902 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
903
904 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
905 go, ao, dco,
906 row, col));
907 Py_DECREF(go);
908 Py_DECREF(ao);
909 Py_DECREF(dco);
910
911 if (ro) {
912 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
913 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
914 rval = *ptr;
915 }
916 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
917 PyObject* o1 = PySequence_GetItem(ro, 0);
918 PyObject* o2 = PySequence_GetItem(ro, 1);
919 if (PyNumber_Check(o1) && PyNumber_Check(o2))
920 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
921 else
922 PyErr_SetString(PyExc_TypeError, errmsg);
923 Py_DECREF(o1);
924 Py_DECREF(o2);
925 }
926 else {
927 PyErr_SetString(PyExc_TypeError, errmsg);
928 }
929 Py_DECREF(ro);
930 }
931 }
932 wxPyEndBlockThreads(blocked);
933 return rval;
934 }
935
936
937 wxGridCellRenderer *Clone() const {
938 wxGridCellRenderer* rval = NULL;
939 bool blocked = wxPyBeginBlockThreads();
940 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
941 PyObject* ro;
942 wxGridCellRenderer* ptr;
943 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
944 if (ro) {
945 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
946 rval = ptr;
947 Py_DECREF(ro);
948 }
949 }
950 wxPyEndBlockThreads(blocked);
951 return rval;
952 }
953
954 DEC_PYCALLBACK__STRING(SetParameters);
955
956 PYPRIVATE;
957 };
958
959 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
960
961
962 void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
963 self->SetClientObject(new wxPyOORClientData(_self));
964 }
965
966 class wxPyGridCellEditor : public wxGridCellEditor
967 {
968 public:
969 wxPyGridCellEditor() : wxGridCellEditor() {}
970
971 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
972 bool blocked = wxPyBeginBlockThreads();
973 if (wxPyCBH_findCallback(m_myInst, "Create")) {
974 PyObject* po = wxPyMake_wxObject(parent);
975 PyObject* eo = wxPyMake_wxObject(evtHandler);
976
977 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
978 Py_DECREF(po);
979 Py_DECREF(eo);
980 }
981 wxPyEndBlockThreads(blocked);
982 }
983
984
985 void BeginEdit(int row, int col, wxGrid* grid) {
986 bool blocked = wxPyBeginBlockThreads();
987 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
988 PyObject* go = wxPyMake_wxObject(grid);
989 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
990 Py_DECREF(go);
991 }
992 wxPyEndBlockThreads(blocked);
993 }
994
995
996 bool EndEdit(int row, int col, wxGrid* grid) {
997 bool rv = False;
998 bool blocked = wxPyBeginBlockThreads();
999 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
1000 PyObject* go = wxPyMake_wxObject(grid);
1001 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1002 Py_DECREF(go);
1003 }
1004 wxPyEndBlockThreads(blocked);
1005 return rv;
1006 }
1007
1008
1009 wxGridCellEditor* Clone() const {
1010 wxGridCellEditor* rval = NULL;
1011 bool blocked = wxPyBeginBlockThreads();
1012 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
1013 PyObject* ro;
1014 wxGridCellEditor* ptr;
1015 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1016 if (ro) {
1017 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
1018 rval = ptr;
1019 Py_DECREF(ro);
1020 }
1021 }
1022 wxPyEndBlockThreads(blocked);
1023 return rval;
1024 }
1025
1026
1027 void Show(bool show, wxGridCellAttr *attr) {
1028 bool found;
1029 bool blocked = wxPyBeginBlockThreads();
1030 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
1031 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
1032 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
1033 Py_DECREF(ao);
1034 }
1035 wxPyEndBlockThreads(blocked);
1036 if (! found)
1037 wxGridCellEditor::Show(show, attr);
1038 }
1039 void base_Show(bool show, wxGridCellAttr *attr) {
1040 wxGridCellEditor::Show(show, attr);
1041 }
1042
1043
1044 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1045 bool found;
1046 bool blocked = wxPyBeginBlockThreads();
1047 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
1048 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
1049 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
1050
1051 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
1052
1053 Py_DECREF(ro);
1054 Py_DECREF(ao);
1055 }
1056 wxPyEndBlockThreads(blocked);
1057 if (! found)
1058 wxGridCellEditor::PaintBackground(rectCell, attr);
1059 }
1060 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1061 wxGridCellEditor::PaintBackground(rectCell, attr);
1062 }
1063
1064
1065 DEC_PYCALLBACK___pure(Reset);
1066 DEC_PYCALLBACK__constany(SetSize, wxRect);
1067 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
1068 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
1069 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
1070 DEC_PYCALLBACK__(StartingClick);
1071 DEC_PYCALLBACK__(Destroy);
1072 DEC_PYCALLBACK__STRING(SetParameters);
1073 DEC_PYCALLBACK_STRING__constpure(GetValue);
1074
1075 PYPRIVATE;
1076 };
1077
1078
1079 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
1080 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
1081 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
1082 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
1083 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
1084 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
1085 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
1086 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
1087 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
1088
1089
1090 void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
1091 self->SetClientObject(new wxPyOORClientData(_self));
1092 }
1093
1094 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1095 PyObject* o2;
1096 PyObject* o3;
1097
1098 if (!target) {
1099 target = o;
1100 } else if (target == Py_None) {
1101 Py_DECREF(Py_None);
1102 target = o;
1103 } else {
1104 if (!PyTuple_Check(target)) {
1105 o2 = target;
1106 target = PyTuple_New(1);
1107 PyTuple_SetItem(target, 0, o2);
1108 }
1109 o3 = PyTuple_New(1);
1110 PyTuple_SetItem(o3, 0, o);
1111
1112 o2 = target;
1113 target = PySequence_Concat(o2, o3);
1114 Py_DECREF(o2);
1115 Py_DECREF(o3);
1116 }
1117 return target;
1118 }
1119
1120 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
1121 self->SetClientObject(new wxPyOORClientData(_self));
1122 }
1123
1124 SWIGSTATICINLINE(unsigned long)
1125 SWIG_AsUnsignedLong(PyObject * obj)
1126 {
1127 if (PyLong_Check(obj)) {
1128 return PyLong_AsUnsignedLong(obj);
1129 } else {
1130 long i = PyInt_AsLong(obj);
1131 if ( !PyErr_Occurred() && (i < 0)) {
1132 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
1133 }
1134 return i;
1135 }
1136 }
1137
1138
1139 SWIGSTATICINLINE(int)
1140 SWIG_CheckUnsignedLong(PyObject* obj)
1141 {
1142 SWIG_AsUnsignedLong(obj);
1143 if (PyErr_Occurred()) {
1144 PyErr_Clear();
1145 return 0;
1146 } else {
1147 return 1;
1148 }
1149 }
1150
1151
1152 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
1153 {
1154 public:
1155 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1156
1157 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
1158 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
1159 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
1160 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
1161
1162 PYPRIVATE;
1163 };
1164
1165 void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
1166 self->SetClientObject(new wxPyOORClientData(_self));
1167 }
1168
1169 SWIGSTATICINLINE(int)
1170 SWIG_CheckLong(PyObject* obj)
1171 {
1172 SWIG_AsLong(obj);
1173 if (PyErr_Occurred()) {
1174 PyErr_Clear();
1175 return 0;
1176 } else {
1177 return 1;
1178 }
1179 }
1180
1181
1182 SWIGSTATICINLINE(double)
1183 SWIG_AsDouble(PyObject *obj)
1184 {
1185 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
1186 #if HAVE_LONG_LONG
1187 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
1188 #else
1189 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
1190 #endif
1191 if (PyErr_Occurred()) {
1192 PyErr_Clear();
1193 PyErr_SetString(PyExc_TypeError, "a double is expected");
1194 }
1195 return val;
1196 }
1197
1198
1199 SWIGSTATICINLINE(int)
1200 SWIG_CheckDouble(PyObject* obj)
1201 {
1202 SWIG_AsDouble(obj);
1203 if (PyErr_Occurred()) {
1204 PyErr_Clear();
1205 return 0;
1206 } else {
1207 return 1;
1208 }
1209 }
1210
1211
1212 class wxPyGridTableBase : public wxGridTableBase
1213 {
1214 public:
1215 wxPyGridTableBase() : wxGridTableBase() {}
1216
1217 PYCALLBACK_INT__pure(GetNumberRows);
1218 PYCALLBACK_INT__pure(GetNumberCols);
1219 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1220 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1221 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1222 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1223 PYCALLBACK__(wxGridTableBase, Clear);
1224 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1225 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1226 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1227 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1228 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1229 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1230 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1231 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1232 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1233 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1234 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1235 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1236 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1237 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1238 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1239
1240
1241 wxString GetValue(int row, int col) {
1242 bool blocked = wxPyBeginBlockThreads();
1243 wxString rval;
1244 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1245 PyObject* ro;
1246 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1247 if (ro) {
1248 rval = Py2wxString(ro);
1249 Py_DECREF(ro);
1250 }
1251 }
1252 wxPyEndBlockThreads(blocked);
1253 return rval;
1254 }
1255
1256 void SetValue(int row, int col, const wxString& val) {
1257 bool blocked = wxPyBeginBlockThreads();
1258 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1259 PyObject* s = wx2PyString(val);
1260 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1261 Py_DECREF(s);
1262 }
1263 wxPyEndBlockThreads(blocked);
1264 }
1265
1266
1267 // Map the Get/Set methods for the standard non-string types to
1268 // the GetValue and SetValue python methods.
1269 long GetValueAsLong( int row, int col ) {
1270 long rval = 0;
1271 bool blocked = wxPyBeginBlockThreads();
1272 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1273 PyObject* ro;
1274 PyObject* num;
1275 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1276 if (ro && PyNumber_Check(ro)) {
1277 num = PyNumber_Int(ro);
1278 if (num) {
1279 rval = PyInt_AsLong(num);
1280 Py_DECREF(num);
1281 }
1282 Py_DECREF(ro);
1283 }
1284 }
1285 wxPyEndBlockThreads(blocked);
1286 return rval;
1287 }
1288
1289 double GetValueAsDouble( int row, int col ) {
1290 double rval = 0.0;
1291 bool blocked = wxPyBeginBlockThreads();
1292 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1293 PyObject* ro;
1294 PyObject* num;
1295 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1296 if (ro && PyNumber_Check(ro)) {
1297 num = PyNumber_Float(ro);
1298 if (num) {
1299 rval = PyFloat_AsDouble(num);
1300 Py_DECREF(num);
1301 }
1302 Py_DECREF(ro);
1303 }
1304 }
1305 wxPyEndBlockThreads(blocked);
1306 return rval;
1307 }
1308
1309 bool GetValueAsBool( int row, int col ) {
1310 return (bool)GetValueAsLong(row, col);
1311 }
1312
1313 void SetValueAsLong( int row, int col, long value ) {
1314 bool blocked = wxPyBeginBlockThreads();
1315 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1316 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1317 }
1318 wxPyEndBlockThreads(blocked);
1319 }
1320
1321 void SetValueAsDouble( int row, int col, double value ) {
1322 bool blocked = wxPyBeginBlockThreads();
1323 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1324 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1325 }
1326 wxPyEndBlockThreads(blocked);
1327 }
1328
1329 void SetValueAsBool( int row, int col, bool value ) {
1330 SetValueAsLong( row, col, (long)value );
1331 }
1332
1333
1334 PYPRIVATE;
1335 };
1336
1337 void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
1338
1339 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1340
1341 if (source == Py_None) {
1342 **obj = wxGridCellCoords(-1,-1);
1343 return True;
1344 }
1345
1346 // If source is an object instance then it may already be the right type
1347 if (wxPySwigInstance_Check(source)) {
1348 wxGridCellCoords* ptr;
1349 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1350 goto error;
1351 *obj = ptr;
1352 return True;
1353 }
1354 // otherwise a 2-tuple of integers is expected
1355 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1356 PyObject* o1 = PySequence_GetItem(source, 0);
1357 PyObject* o2 = PySequence_GetItem(source, 1);
1358 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1359 Py_DECREF(o1);
1360 Py_DECREF(o2);
1361 goto error;
1362 }
1363 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1364 Py_DECREF(o1);
1365 Py_DECREF(o2);
1366 return True;
1367 }
1368
1369 error:
1370 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1371 return False;
1372 }
1373
1374
1375 bool wxGridCellCoords_typecheck(PyObject* source) {
1376 void* ptr;
1377
1378 if (wxPySwigInstance_Check(source) &&
1379 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1380 return True;
1381
1382 PyErr_Clear();
1383 if (PySequence_Check(source) && PySequence_Length(source) == 2)
1384 return True;
1385
1386 return False;
1387 }
1388
1389
1390 PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1391 {
1392 PyObject* list = PyList_New(0);
1393 size_t idx;
1394 for (idx = 0; idx < source.GetCount(); idx += 1) {
1395 wxGridCellCoords& coord = source.Item(idx);
1396 PyObject* tup = PyTuple_New(2);
1397 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1398 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1399 PyList_Append(list, tup);
1400 Py_DECREF(tup);
1401 }
1402 return list;
1403 }
1404
1405 PyObject *wxGridCellCoords_asTuple(wxGridCellCoords *self){
1406 PyObject* tup = PyTuple_New(2);
1407 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1408 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1409 return tup;
1410 }
1411
1412 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1413
1414 wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1415 wxGridCellCoords rv;
1416 self->XYToCell(x, y, rv);
1417 return rv;
1418 }
1419 #ifdef __cplusplus
1420 extern "C" {
1421 #endif
1422 static int _wrap_DateTimeFormatStr_set(PyObject *_val) {
1423 PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
1424 return 1;
1425 }
1426
1427
1428 static PyObject *_wrap_DateTimeFormatStr_get() {
1429 PyObject *pyobj;
1430
1431 {
1432 #if wxUSE_UNICODE
1433 pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1434 #else
1435 pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1436 #endif
1437 }
1438 return pyobj;
1439 }
1440
1441
1442 static int _wrap_GridNoCellCoords_set(PyObject *_val) {
1443 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1444 return 1;
1445 }
1446
1447
1448 static PyObject *_wrap_GridNoCellCoords_get() {
1449 PyObject *pyobj;
1450
1451 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0);
1452 return pyobj;
1453 }
1454
1455
1456 static int _wrap_GridNoCellRect_set(PyObject *_val) {
1457 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1458 return 1;
1459 }
1460
1461
1462 static PyObject *_wrap_GridNoCellRect_get() {
1463 PyObject *pyobj;
1464
1465 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0);
1466 return pyobj;
1467 }
1468
1469
1470 static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1471 PyObject *resultobj;
1472 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1473 PyObject *arg2 = (PyObject *) 0 ;
1474 PyObject * obj0 = 0 ;
1475 PyObject * obj1 = 0 ;
1476 char *kwnames[] = {
1477 (char *) "self",(char *) "_self", NULL
1478 };
1479
1480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1483 arg2 = obj1;
1484 {
1485 PyThreadState* __tstate = wxPyBeginAllowThreads();
1486 wxGridCellRenderer__setOORInfo(arg1,arg2);
1487
1488 wxPyEndAllowThreads(__tstate);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 }
1491 Py_INCREF(Py_None); resultobj = Py_None;
1492 return resultobj;
1493 fail:
1494 return NULL;
1495 }
1496
1497
1498 static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1501 wxString *arg2 = 0 ;
1502 bool temp2 = False ;
1503 PyObject * obj0 = 0 ;
1504 PyObject * obj1 = 0 ;
1505 char *kwnames[] = {
1506 (char *) "self",(char *) "params", NULL
1507 };
1508
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1512 {
1513 arg2 = wxString_in_helper(obj1);
1514 if (arg2 == NULL) SWIG_fail;
1515 temp2 = True;
1516 }
1517 {
1518 PyThreadState* __tstate = wxPyBeginAllowThreads();
1519 (arg1)->SetParameters((wxString const &)*arg2);
1520
1521 wxPyEndAllowThreads(__tstate);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
1524 Py_INCREF(Py_None); resultobj = Py_None;
1525 {
1526 if (temp2)
1527 delete arg2;
1528 }
1529 return resultobj;
1530 fail:
1531 {
1532 if (temp2)
1533 delete arg2;
1534 }
1535 return NULL;
1536 }
1537
1538
1539 static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1540 PyObject *resultobj;
1541 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1542 PyObject * obj0 = 0 ;
1543 char *kwnames[] = {
1544 (char *) "self", NULL
1545 };
1546
1547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
1548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1550 {
1551 PyThreadState* __tstate = wxPyBeginAllowThreads();
1552 (arg1)->IncRef();
1553
1554 wxPyEndAllowThreads(__tstate);
1555 if (PyErr_Occurred()) SWIG_fail;
1556 }
1557 Py_INCREF(Py_None); resultobj = Py_None;
1558 return resultobj;
1559 fail:
1560 return NULL;
1561 }
1562
1563
1564 static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1565 PyObject *resultobj;
1566 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1567 PyObject * obj0 = 0 ;
1568 char *kwnames[] = {
1569 (char *) "self", NULL
1570 };
1571
1572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
1573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1575 {
1576 PyThreadState* __tstate = wxPyBeginAllowThreads();
1577 (arg1)->DecRef();
1578
1579 wxPyEndAllowThreads(__tstate);
1580 if (PyErr_Occurred()) SWIG_fail;
1581 }
1582 Py_INCREF(Py_None); resultobj = Py_None;
1583 return resultobj;
1584 fail:
1585 return NULL;
1586 }
1587
1588
1589 static PyObject *_wrap_GridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject *resultobj;
1591 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1592 wxGrid *arg2 = 0 ;
1593 wxGridCellAttr *arg3 = 0 ;
1594 wxDC *arg4 = 0 ;
1595 wxRect *arg5 = 0 ;
1596 int arg6 ;
1597 int arg7 ;
1598 bool arg8 ;
1599 wxRect temp5 ;
1600 PyObject * obj0 = 0 ;
1601 PyObject * obj1 = 0 ;
1602 PyObject * obj2 = 0 ;
1603 PyObject * obj3 = 0 ;
1604 PyObject * obj4 = 0 ;
1605 PyObject * obj5 = 0 ;
1606 PyObject * obj6 = 0 ;
1607 PyObject * obj7 = 0 ;
1608 char *kwnames[] = {
1609 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1610 };
1611
1612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1616 SWIG_POINTER_EXCEPTION | 0)) == -1)
1617 SWIG_fail;
1618 if (arg2 == NULL) {
1619 PyErr_SetString(PyExc_TypeError,"null reference");
1620 SWIG_fail;
1621 }
1622 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1623 SWIG_POINTER_EXCEPTION | 0)) == -1)
1624 SWIG_fail;
1625 if (arg3 == NULL) {
1626 PyErr_SetString(PyExc_TypeError,"null reference");
1627 SWIG_fail;
1628 }
1629 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1630 SWIG_POINTER_EXCEPTION | 0)) == -1)
1631 SWIG_fail;
1632 if (arg4 == NULL) {
1633 PyErr_SetString(PyExc_TypeError,"null reference");
1634 SWIG_fail;
1635 }
1636 {
1637 arg5 = &temp5;
1638 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1639 }
1640 arg6 = (int) SWIG_AsInt(obj5);
1641 if (PyErr_Occurred()) SWIG_fail;
1642 arg7 = (int) SWIG_AsInt(obj6);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 arg8 = (bool) SWIG_AsBool(obj7);
1645 if (PyErr_Occurred()) SWIG_fail;
1646 {
1647 PyThreadState* __tstate = wxPyBeginAllowThreads();
1648 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1649
1650 wxPyEndAllowThreads(__tstate);
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 Py_INCREF(Py_None); resultobj = Py_None;
1654 return resultobj;
1655 fail:
1656 return NULL;
1657 }
1658
1659
1660 static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1661 PyObject *resultobj;
1662 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1663 wxGrid *arg2 = 0 ;
1664 wxGridCellAttr *arg3 = 0 ;
1665 wxDC *arg4 = 0 ;
1666 int arg5 ;
1667 int arg6 ;
1668 wxSize result;
1669 PyObject * obj0 = 0 ;
1670 PyObject * obj1 = 0 ;
1671 PyObject * obj2 = 0 ;
1672 PyObject * obj3 = 0 ;
1673 PyObject * obj4 = 0 ;
1674 PyObject * obj5 = 0 ;
1675 char *kwnames[] = {
1676 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1677 };
1678
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1683 SWIG_POINTER_EXCEPTION | 0)) == -1)
1684 SWIG_fail;
1685 if (arg2 == NULL) {
1686 PyErr_SetString(PyExc_TypeError,"null reference");
1687 SWIG_fail;
1688 }
1689 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1690 SWIG_POINTER_EXCEPTION | 0)) == -1)
1691 SWIG_fail;
1692 if (arg3 == NULL) {
1693 PyErr_SetString(PyExc_TypeError,"null reference");
1694 SWIG_fail;
1695 }
1696 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1697 SWIG_POINTER_EXCEPTION | 0)) == -1)
1698 SWIG_fail;
1699 if (arg4 == NULL) {
1700 PyErr_SetString(PyExc_TypeError,"null reference");
1701 SWIG_fail;
1702 }
1703 arg5 = (int) SWIG_AsInt(obj4);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 arg6 = (int) SWIG_AsInt(obj5);
1706 if (PyErr_Occurred()) SWIG_fail;
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 {
1715 wxSize * resultptr;
1716 resultptr = new wxSize((wxSize &) result);
1717 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1718 }
1719 return resultobj;
1720 fail:
1721 return NULL;
1722 }
1723
1724
1725 static PyObject *_wrap_GridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1726 PyObject *resultobj;
1727 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1728 wxGridCellRenderer *result;
1729 PyObject * obj0 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
1735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1737 {
1738 PyThreadState* __tstate = wxPyBeginAllowThreads();
1739 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1740
1741 wxPyEndAllowThreads(__tstate);
1742 if (PyErr_Occurred()) SWIG_fail;
1743 }
1744 {
1745 resultobj = wxPyMake_wxGridCellRenderer(result);
1746 }
1747 return resultobj;
1748 fail:
1749 return NULL;
1750 }
1751
1752
1753 static PyObject * GridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1754 PyObject *obj;
1755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1756 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1757 Py_INCREF(obj);
1758 return Py_BuildValue((char *)"");
1759 }
1760 static PyObject *_wrap_new_PyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject *resultobj;
1762 wxPyGridCellRenderer *result;
1763 char *kwnames[] = {
1764 NULL
1765 };
1766
1767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1768 {
1769 PyThreadState* __tstate = wxPyBeginAllowThreads();
1770 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1771
1772 wxPyEndAllowThreads(__tstate);
1773 if (PyErr_Occurred()) SWIG_fail;
1774 }
1775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellRenderer, 1);
1776 return resultobj;
1777 fail:
1778 return NULL;
1779 }
1780
1781
1782 static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1783 PyObject *resultobj;
1784 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1785 PyObject *arg2 = (PyObject *) 0 ;
1786 PyObject *arg3 = (PyObject *) 0 ;
1787 PyObject * obj0 = 0 ;
1788 PyObject * obj1 = 0 ;
1789 PyObject * obj2 = 0 ;
1790 char *kwnames[] = {
1791 (char *) "self",(char *) "self",(char *) "_class", NULL
1792 };
1793
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1797 arg2 = obj1;
1798 arg3 = obj2;
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 (arg1)->_setCallbackInfo(arg2,arg3);
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 Py_INCREF(Py_None); resultobj = Py_None;
1807 return resultobj;
1808 fail:
1809 return NULL;
1810 }
1811
1812
1813 static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1816 wxString *arg2 = 0 ;
1817 bool temp2 = False ;
1818 PyObject * obj0 = 0 ;
1819 PyObject * obj1 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "self",(char *) "params", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1827 {
1828 arg2 = wxString_in_helper(obj1);
1829 if (arg2 == NULL) SWIG_fail;
1830 temp2 = True;
1831 }
1832 {
1833 PyThreadState* __tstate = wxPyBeginAllowThreads();
1834 (arg1)->base_SetParameters((wxString const &)*arg2);
1835
1836 wxPyEndAllowThreads(__tstate);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 Py_INCREF(Py_None); resultobj = Py_None;
1840 {
1841 if (temp2)
1842 delete arg2;
1843 }
1844 return resultobj;
1845 fail:
1846 {
1847 if (temp2)
1848 delete arg2;
1849 }
1850 return NULL;
1851 }
1852
1853
1854 static PyObject * PyGridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1855 PyObject *obj;
1856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1857 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
1858 Py_INCREF(obj);
1859 return Py_BuildValue((char *)"");
1860 }
1861 static PyObject *_wrap_new_GridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1862 PyObject *resultobj;
1863 wxGridCellStringRenderer *result;
1864 char *kwnames[] = {
1865 NULL
1866 };
1867
1868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
1869 {
1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
1871 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
1872
1873 wxPyEndAllowThreads(__tstate);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
1876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellStringRenderer, 1);
1877 return resultobj;
1878 fail:
1879 return NULL;
1880 }
1881
1882
1883 static PyObject * GridCellStringRenderer_swigregister(PyObject *self, PyObject *args) {
1884 PyObject *obj;
1885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1886 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
1887 Py_INCREF(obj);
1888 return Py_BuildValue((char *)"");
1889 }
1890 static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxGridCellNumberRenderer *result;
1893 char *kwnames[] = {
1894 NULL
1895 };
1896
1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
1898 {
1899 PyThreadState* __tstate = wxPyBeginAllowThreads();
1900 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
1901
1902 wxPyEndAllowThreads(__tstate);
1903 if (PyErr_Occurred()) SWIG_fail;
1904 }
1905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberRenderer, 1);
1906 return resultobj;
1907 fail:
1908 return NULL;
1909 }
1910
1911
1912 static PyObject * GridCellNumberRenderer_swigregister(PyObject *self, PyObject *args) {
1913 PyObject *obj;
1914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1915 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
1916 Py_INCREF(obj);
1917 return Py_BuildValue((char *)"");
1918 }
1919 static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1920 PyObject *resultobj;
1921 int arg1 = (int) -1 ;
1922 int arg2 = (int) -1 ;
1923 wxGridCellFloatRenderer *result;
1924 PyObject * obj0 = 0 ;
1925 PyObject * obj1 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "width",(char *) "precision", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail;
1931 if (obj0) {
1932 arg1 = (int) SWIG_AsInt(obj0);
1933 if (PyErr_Occurred()) SWIG_fail;
1934 }
1935 if (obj1) {
1936 arg2 = (int) SWIG_AsInt(obj1);
1937 if (PyErr_Occurred()) SWIG_fail;
1938 }
1939 {
1940 PyThreadState* __tstate = wxPyBeginAllowThreads();
1941 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
1942
1943 wxPyEndAllowThreads(__tstate);
1944 if (PyErr_Occurred()) SWIG_fail;
1945 }
1946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatRenderer, 1);
1947 return resultobj;
1948 fail:
1949 return NULL;
1950 }
1951
1952
1953 static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1954 PyObject *resultobj;
1955 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1956 int result;
1957 PyObject * obj0 = 0 ;
1958 char *kwnames[] = {
1959 (char *) "self", NULL
1960 };
1961
1962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
1963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1965 {
1966 PyThreadState* __tstate = wxPyBeginAllowThreads();
1967 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
1968
1969 wxPyEndAllowThreads(__tstate);
1970 if (PyErr_Occurred()) SWIG_fail;
1971 }
1972 resultobj = SWIG_FromInt((int)result);
1973 return resultobj;
1974 fail:
1975 return NULL;
1976 }
1977
1978
1979 static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1980 PyObject *resultobj;
1981 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1982 int arg2 ;
1983 PyObject * obj0 = 0 ;
1984 PyObject * obj1 = 0 ;
1985 char *kwnames[] = {
1986 (char *) "self",(char *) "width", NULL
1987 };
1988
1989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&obj1)) goto fail;
1990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1992 arg2 = (int) SWIG_AsInt(obj1);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 (arg1)->SetWidth(arg2);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 Py_INCREF(Py_None); resultobj = Py_None;
2002 return resultobj;
2003 fail:
2004 return NULL;
2005 }
2006
2007
2008 static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2009 PyObject *resultobj;
2010 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2011 int result;
2012 PyObject * obj0 = 0 ;
2013 char *kwnames[] = {
2014 (char *) "self", NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
2018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2020 {
2021 PyThreadState* __tstate = wxPyBeginAllowThreads();
2022 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
2023
2024 wxPyEndAllowThreads(__tstate);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 }
2027 resultobj = SWIG_FromInt((int)result);
2028 return resultobj;
2029 fail:
2030 return NULL;
2031 }
2032
2033
2034 static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2035 PyObject *resultobj;
2036 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2037 int arg2 ;
2038 PyObject * obj0 = 0 ;
2039 PyObject * obj1 = 0 ;
2040 char *kwnames[] = {
2041 (char *) "self",(char *) "precision", NULL
2042 };
2043
2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&obj1)) goto fail;
2045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2047 arg2 = (int) SWIG_AsInt(obj1);
2048 if (PyErr_Occurred()) SWIG_fail;
2049 {
2050 PyThreadState* __tstate = wxPyBeginAllowThreads();
2051 (arg1)->SetPrecision(arg2);
2052
2053 wxPyEndAllowThreads(__tstate);
2054 if (PyErr_Occurred()) SWIG_fail;
2055 }
2056 Py_INCREF(Py_None); resultobj = Py_None;
2057 return resultobj;
2058 fail:
2059 return NULL;
2060 }
2061
2062
2063 static PyObject * GridCellFloatRenderer_swigregister(PyObject *self, PyObject *args) {
2064 PyObject *obj;
2065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2066 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
2067 Py_INCREF(obj);
2068 return Py_BuildValue((char *)"");
2069 }
2070 static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject *resultobj;
2072 wxGridCellBoolRenderer *result;
2073 char *kwnames[] = {
2074 NULL
2075 };
2076
2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
2078 {
2079 PyThreadState* __tstate = wxPyBeginAllowThreads();
2080 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
2081
2082 wxPyEndAllowThreads(__tstate);
2083 if (PyErr_Occurred()) SWIG_fail;
2084 }
2085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolRenderer, 1);
2086 return resultobj;
2087 fail:
2088 return NULL;
2089 }
2090
2091
2092 static PyObject * GridCellBoolRenderer_swigregister(PyObject *self, PyObject *args) {
2093 PyObject *obj;
2094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2095 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
2096 Py_INCREF(obj);
2097 return Py_BuildValue((char *)"");
2098 }
2099 static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2100 PyObject *resultobj;
2101 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
2102 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
2103 wxGridCellDateTimeRenderer *result;
2104 PyObject * obj0 = 0 ;
2105 PyObject * obj1 = 0 ;
2106 char *kwnames[] = {
2107 (char *) "outformat",(char *) "informat", NULL
2108 };
2109
2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
2111 if (obj0) {
2112 {
2113 wxString* sptr = wxString_in_helper(obj0);
2114 if (sptr == NULL) SWIG_fail;
2115 arg1 = *sptr;
2116 delete sptr;
2117 }
2118 }
2119 if (obj1) {
2120 {
2121 wxString* sptr = wxString_in_helper(obj1);
2122 if (sptr == NULL) SWIG_fail;
2123 arg2 = *sptr;
2124 delete sptr;
2125 }
2126 }
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
2135 return resultobj;
2136 fail:
2137 return NULL;
2138 }
2139
2140
2141 static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *self, PyObject *args) {
2142 PyObject *obj;
2143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2144 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
2145 Py_INCREF(obj);
2146 return Py_BuildValue((char *)"");
2147 }
2148 static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2149 PyObject *resultobj;
2150 wxString const &arg1_defvalue = wxPyEmptyString ;
2151 wxString *arg1 = (wxString *) &arg1_defvalue ;
2152 wxGridCellEnumRenderer *result;
2153 bool temp1 = False ;
2154 PyObject * obj0 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "choices", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
2160 if (obj0) {
2161 {
2162 arg1 = wxString_in_helper(obj0);
2163 if (arg1 == NULL) SWIG_fail;
2164 temp1 = True;
2165 }
2166 }
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumRenderer, 1);
2175 {
2176 if (temp1)
2177 delete arg1;
2178 }
2179 return resultobj;
2180 fail:
2181 {
2182 if (temp1)
2183 delete arg1;
2184 }
2185 return NULL;
2186 }
2187
2188
2189 static PyObject * GridCellEnumRenderer_swigregister(PyObject *self, PyObject *args) {
2190 PyObject *obj;
2191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2192 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
2193 Py_INCREF(obj);
2194 return Py_BuildValue((char *)"");
2195 }
2196 static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxGridCellAutoWrapStringRenderer *result;
2199 char *kwnames[] = {
2200 NULL
2201 };
2202
2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
2204 {
2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
2206 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
2207
2208 wxPyEndAllowThreads(__tstate);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 }
2211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
2212 return resultobj;
2213 fail:
2214 return NULL;
2215 }
2216
2217
2218 static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *self, PyObject *args) {
2219 PyObject *obj;
2220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2221 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
2222 Py_INCREF(obj);
2223 return Py_BuildValue((char *)"");
2224 }
2225 static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2226 PyObject *resultobj;
2227 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2228 PyObject *arg2 = (PyObject *) 0 ;
2229 PyObject * obj0 = 0 ;
2230 PyObject * obj1 = 0 ;
2231 char *kwnames[] = {
2232 (char *) "self",(char *) "_self", NULL
2233 };
2234
2235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2238 arg2 = obj1;
2239 {
2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
2241 wxGridCellEditor__setOORInfo(arg1,arg2);
2242
2243 wxPyEndAllowThreads(__tstate);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 Py_INCREF(Py_None); resultobj = Py_None;
2247 return resultobj;
2248 fail:
2249 return NULL;
2250 }
2251
2252
2253 static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
2254 PyObject *resultobj;
2255 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2256 bool result;
2257 PyObject * obj0 = 0 ;
2258 char *kwnames[] = {
2259 (char *) "self", NULL
2260 };
2261
2262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
2263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 result = (bool)(arg1)->IsCreated();
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 {
2273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2274 }
2275 return resultobj;
2276 fail:
2277 return NULL;
2278 }
2279
2280
2281 static PyObject *_wrap_GridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2282 PyObject *resultobj;
2283 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2284 wxControl *result;
2285 PyObject * obj0 = 0 ;
2286 char *kwnames[] = {
2287 (char *) "self", NULL
2288 };
2289
2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
2291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2293 {
2294 PyThreadState* __tstate = wxPyBeginAllowThreads();
2295 result = (wxControl *)(arg1)->GetControl();
2296
2297 wxPyEndAllowThreads(__tstate);
2298 if (PyErr_Occurred()) SWIG_fail;
2299 }
2300 {
2301 resultobj = wxPyMake_wxObject(result);
2302 }
2303 return resultobj;
2304 fail:
2305 return NULL;
2306 }
2307
2308
2309 static PyObject *_wrap_GridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2310 PyObject *resultobj;
2311 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2312 wxControl *arg2 = (wxControl *) 0 ;
2313 PyObject * obj0 = 0 ;
2314 PyObject * obj1 = 0 ;
2315 char *kwnames[] = {
2316 (char *) "self",(char *) "control", NULL
2317 };
2318
2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
2320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
2323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2324 {
2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
2326 (arg1)->SetControl(arg2);
2327
2328 wxPyEndAllowThreads(__tstate);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
2331 Py_INCREF(Py_None); resultobj = Py_None;
2332 return resultobj;
2333 fail:
2334 return NULL;
2335 }
2336
2337
2338 static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2339 PyObject *resultobj;
2340 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2341 wxGridCellAttr *result;
2342 PyObject * obj0 = 0 ;
2343 char *kwnames[] = {
2344 (char *) "self", NULL
2345 };
2346
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
2348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2350 {
2351 PyThreadState* __tstate = wxPyBeginAllowThreads();
2352 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2353
2354 wxPyEndAllowThreads(__tstate);
2355 if (PyErr_Occurred()) SWIG_fail;
2356 }
2357 {
2358 resultobj = wxPyMake_wxGridCellAttr(result);
2359 }
2360 return resultobj;
2361 fail:
2362 return NULL;
2363 }
2364
2365
2366 static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2367 PyObject *resultobj;
2368 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2369 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2370 PyObject * obj0 = 0 ;
2371 PyObject * obj1 = 0 ;
2372 char *kwnames[] = {
2373 (char *) "self",(char *) "attr", NULL
2374 };
2375
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
2377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
2380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2381 {
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 (arg1)->SetCellAttr(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_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2396 PyObject *resultobj;
2397 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2398 wxString *arg2 = 0 ;
2399 bool temp2 = False ;
2400 PyObject * obj0 = 0 ;
2401 PyObject * obj1 = 0 ;
2402 char *kwnames[] = {
2403 (char *) "self",(char *) "params", NULL
2404 };
2405
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2409 {
2410 arg2 = wxString_in_helper(obj1);
2411 if (arg2 == NULL) SWIG_fail;
2412 temp2 = True;
2413 }
2414 {
2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
2416 (arg1)->SetParameters((wxString const &)*arg2);
2417
2418 wxPyEndAllowThreads(__tstate);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
2421 Py_INCREF(Py_None); resultobj = Py_None;
2422 {
2423 if (temp2)
2424 delete arg2;
2425 }
2426 return resultobj;
2427 fail:
2428 {
2429 if (temp2)
2430 delete arg2;
2431 }
2432 return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_GridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject *resultobj;
2438 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2439 PyObject * obj0 = 0 ;
2440 char *kwnames[] = {
2441 (char *) "self", NULL
2442 };
2443
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
2445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2447 {
2448 PyThreadState* __tstate = wxPyBeginAllowThreads();
2449 (arg1)->IncRef();
2450
2451 wxPyEndAllowThreads(__tstate);
2452 if (PyErr_Occurred()) SWIG_fail;
2453 }
2454 Py_INCREF(Py_None); resultobj = Py_None;
2455 return resultobj;
2456 fail:
2457 return NULL;
2458 }
2459
2460
2461 static PyObject *_wrap_GridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2462 PyObject *resultobj;
2463 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2464 PyObject * obj0 = 0 ;
2465 char *kwnames[] = {
2466 (char *) "self", NULL
2467 };
2468
2469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
2470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2472 {
2473 PyThreadState* __tstate = wxPyBeginAllowThreads();
2474 (arg1)->DecRef();
2475
2476 wxPyEndAllowThreads(__tstate);
2477 if (PyErr_Occurred()) SWIG_fail;
2478 }
2479 Py_INCREF(Py_None); resultobj = Py_None;
2480 return resultobj;
2481 fail:
2482 return NULL;
2483 }
2484
2485
2486 static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2489 wxWindow *arg2 = (wxWindow *) 0 ;
2490 int arg3 ;
2491 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2492 PyObject * obj0 = 0 ;
2493 PyObject * obj1 = 0 ;
2494 PyObject * obj2 = 0 ;
2495 PyObject * obj3 = 0 ;
2496 char *kwnames[] = {
2497 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2498 };
2499
2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2505 arg3 = (int) SWIG_AsInt(obj2);
2506 if (PyErr_Occurred()) SWIG_fail;
2507 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxEvtHandler,
2508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 (arg1)->Create(arg2,arg3,arg4);
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 Py_INCREF(Py_None); resultobj = Py_None;
2517 return resultobj;
2518 fail:
2519 return NULL;
2520 }
2521
2522
2523 static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2524 PyObject *resultobj;
2525 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2526 int arg2 ;
2527 int arg3 ;
2528 wxGrid *arg4 = (wxGrid *) 0 ;
2529 PyObject * obj0 = 0 ;
2530 PyObject * obj1 = 0 ;
2531 PyObject * obj2 = 0 ;
2532 PyObject * obj3 = 0 ;
2533 char *kwnames[] = {
2534 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2535 };
2536
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2540 arg2 = (int) SWIG_AsInt(obj1);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 arg3 = (int) SWIG_AsInt(obj2);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2546 {
2547 PyThreadState* __tstate = wxPyBeginAllowThreads();
2548 (arg1)->BeginEdit(arg2,arg3,arg4);
2549
2550 wxPyEndAllowThreads(__tstate);
2551 if (PyErr_Occurred()) SWIG_fail;
2552 }
2553 Py_INCREF(Py_None); resultobj = Py_None;
2554 return resultobj;
2555 fail:
2556 return NULL;
2557 }
2558
2559
2560 static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2561 PyObject *resultobj;
2562 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2563 int arg2 ;
2564 int arg3 ;
2565 wxGrid *arg4 = (wxGrid *) 0 ;
2566 bool result;
2567 PyObject * obj0 = 0 ;
2568 PyObject * obj1 = 0 ;
2569 PyObject * obj2 = 0 ;
2570 PyObject * obj3 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_EndEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2578 arg2 = (int) SWIG_AsInt(obj1);
2579 if (PyErr_Occurred()) SWIG_fail;
2580 arg3 = (int) SWIG_AsInt(obj2);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2584 {
2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
2586 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2587
2588 wxPyEndAllowThreads(__tstate);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 {
2592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2593 }
2594 return resultobj;
2595 fail:
2596 return NULL;
2597 }
2598
2599
2600 static PyObject *_wrap_GridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2601 PyObject *resultobj;
2602 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2603 PyObject * obj0 = 0 ;
2604 char *kwnames[] = {
2605 (char *) "self", NULL
2606 };
2607
2608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
2609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2611 {
2612 PyThreadState* __tstate = wxPyBeginAllowThreads();
2613 (arg1)->Reset();
2614
2615 wxPyEndAllowThreads(__tstate);
2616 if (PyErr_Occurred()) SWIG_fail;
2617 }
2618 Py_INCREF(Py_None); resultobj = Py_None;
2619 return resultobj;
2620 fail:
2621 return NULL;
2622 }
2623
2624
2625 static PyObject *_wrap_GridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2626 PyObject *resultobj;
2627 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2628 wxGridCellEditor *result;
2629 PyObject * obj0 = 0 ;
2630 char *kwnames[] = {
2631 (char *) "self", NULL
2632 };
2633
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
2635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2637 {
2638 PyThreadState* __tstate = wxPyBeginAllowThreads();
2639 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2640
2641 wxPyEndAllowThreads(__tstate);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 }
2644 {
2645 resultobj = wxPyMake_wxGridCellEditor(result);
2646 }
2647 return resultobj;
2648 fail:
2649 return NULL;
2650 }
2651
2652
2653 static PyObject *_wrap_GridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2654 PyObject *resultobj;
2655 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2656 wxRect *arg2 = 0 ;
2657 wxRect temp2 ;
2658 PyObject * obj0 = 0 ;
2659 PyObject * obj1 = 0 ;
2660 char *kwnames[] = {
2661 (char *) "self",(char *) "rect", NULL
2662 };
2663
2664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
2665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2667 {
2668 arg2 = &temp2;
2669 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2670 }
2671 {
2672 PyThreadState* __tstate = wxPyBeginAllowThreads();
2673 (arg1)->SetSize((wxRect const &)*arg2);
2674
2675 wxPyEndAllowThreads(__tstate);
2676 if (PyErr_Occurred()) SWIG_fail;
2677 }
2678 Py_INCREF(Py_None); resultobj = Py_None;
2679 return resultobj;
2680 fail:
2681 return NULL;
2682 }
2683
2684
2685 static PyObject *_wrap_GridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2686 PyObject *resultobj;
2687 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2688 bool arg2 ;
2689 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2690 PyObject * obj0 = 0 ;
2691 PyObject * obj1 = 0 ;
2692 PyObject * obj2 = 0 ;
2693 char *kwnames[] = {
2694 (char *) "self",(char *) "show",(char *) "attr", NULL
2695 };
2696
2697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2700 arg2 = (bool) SWIG_AsBool(obj1);
2701 if (PyErr_Occurred()) SWIG_fail;
2702 if (obj2) {
2703 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2705 }
2706 {
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 (arg1)->Show(arg2,arg3);
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 Py_INCREF(Py_None); resultobj = Py_None;
2714 return resultobj;
2715 fail:
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2723 wxRect *arg2 = 0 ;
2724 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2725 wxRect temp2 ;
2726 PyObject * obj0 = 0 ;
2727 PyObject * obj1 = 0 ;
2728 PyObject * obj2 = 0 ;
2729 char *kwnames[] = {
2730 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2731 };
2732
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2736 {
2737 arg2 = &temp2;
2738 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2739 }
2740 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 Py_INCREF(Py_None); resultobj = Py_None;
2750 return resultobj;
2751 fail:
2752 return NULL;
2753 }
2754
2755
2756 static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj;
2758 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2759 wxKeyEvent *arg2 = 0 ;
2760 bool result;
2761 PyObject * obj0 = 0 ;
2762 PyObject * obj1 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "self",(char *) "event", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2771 SWIG_POINTER_EXCEPTION | 0)) == -1)
2772 SWIG_fail;
2773 if (arg2 == NULL) {
2774 PyErr_SetString(PyExc_TypeError,"null reference");
2775 SWIG_fail;
2776 }
2777 {
2778 PyThreadState* __tstate = wxPyBeginAllowThreads();
2779 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2780
2781 wxPyEndAllowThreads(__tstate);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 {
2785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2786 }
2787 return resultobj;
2788 fail:
2789 return NULL;
2790 }
2791
2792
2793 static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject *resultobj;
2795 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2796 wxKeyEvent *arg2 = 0 ;
2797 PyObject * obj0 = 0 ;
2798 PyObject * obj1 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self",(char *) "event", NULL
2801 };
2802
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2807 SWIG_POINTER_EXCEPTION | 0)) == -1)
2808 SWIG_fail;
2809 if (arg2 == NULL) {
2810 PyErr_SetString(PyExc_TypeError,"null reference");
2811 SWIG_fail;
2812 }
2813 {
2814 PyThreadState* __tstate = wxPyBeginAllowThreads();
2815 (arg1)->StartingKey(*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_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2828 PyObject *resultobj;
2829 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2830 PyObject * obj0 = 0 ;
2831 char *kwnames[] = {
2832 (char *) "self", NULL
2833 };
2834
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
2836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2838 {
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 (arg1)->StartingClick();
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 Py_INCREF(Py_None); resultobj = Py_None;
2846 return resultobj;
2847 fail:
2848 return NULL;
2849 }
2850
2851
2852 static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2855 wxKeyEvent *arg2 = 0 ;
2856 PyObject * obj0 = 0 ;
2857 PyObject * obj1 = 0 ;
2858 char *kwnames[] = {
2859 (char *) "self",(char *) "event", NULL
2860 };
2861
2862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
2863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2865 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2866 SWIG_POINTER_EXCEPTION | 0)) == -1)
2867 SWIG_fail;
2868 if (arg2 == NULL) {
2869 PyErr_SetString(PyExc_TypeError,"null reference");
2870 SWIG_fail;
2871 }
2872 {
2873 PyThreadState* __tstate = wxPyBeginAllowThreads();
2874 (arg1)->HandleReturn(*arg2);
2875
2876 wxPyEndAllowThreads(__tstate);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 }
2879 Py_INCREF(Py_None); resultobj = Py_None;
2880 return resultobj;
2881 fail:
2882 return NULL;
2883 }
2884
2885
2886 static PyObject *_wrap_GridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2887 PyObject *resultobj;
2888 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2889 PyObject * obj0 = 0 ;
2890 char *kwnames[] = {
2891 (char *) "self", NULL
2892 };
2893
2894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
2895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2897 {
2898 PyThreadState* __tstate = wxPyBeginAllowThreads();
2899 (arg1)->Destroy();
2900
2901 wxPyEndAllowThreads(__tstate);
2902 if (PyErr_Occurred()) SWIG_fail;
2903 }
2904 Py_INCREF(Py_None); resultobj = Py_None;
2905 return resultobj;
2906 fail:
2907 return NULL;
2908 }
2909
2910
2911 static PyObject * GridCellEditor_swigregister(PyObject *self, PyObject *args) {
2912 PyObject *obj;
2913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2914 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
2915 Py_INCREF(obj);
2916 return Py_BuildValue((char *)"");
2917 }
2918 static PyObject *_wrap_new_PyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject *resultobj;
2920 wxPyGridCellEditor *result;
2921 char *kwnames[] = {
2922 NULL
2923 };
2924
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
2926 {
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
2929
2930 wxPyEndAllowThreads(__tstate);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 }
2933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellEditor, 1);
2934 return resultobj;
2935 fail:
2936 return NULL;
2937 }
2938
2939
2940 static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject *resultobj;
2942 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2943 PyObject *arg2 = (PyObject *) 0 ;
2944 PyObject *arg3 = (PyObject *) 0 ;
2945 PyObject * obj0 = 0 ;
2946 PyObject * obj1 = 0 ;
2947 PyObject * obj2 = 0 ;
2948 char *kwnames[] = {
2949 (char *) "self",(char *) "self",(char *) "_class", NULL
2950 };
2951
2952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2955 arg2 = obj1;
2956 arg3 = obj2;
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 (arg1)->_setCallbackInfo(arg2,arg3);
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 Py_INCREF(Py_None); resultobj = Py_None;
2965 return resultobj;
2966 fail:
2967 return NULL;
2968 }
2969
2970
2971 static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject *resultobj;
2973 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2974 wxRect *arg2 = 0 ;
2975 wxRect temp2 ;
2976 PyObject * obj0 = 0 ;
2977 PyObject * obj1 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self",(char *) "rect", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
2983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2985 {
2986 arg2 = &temp2;
2987 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2988 }
2989 {
2990 PyThreadState* __tstate = wxPyBeginAllowThreads();
2991 (arg1)->base_SetSize((wxRect const &)*arg2);
2992
2993 wxPyEndAllowThreads(__tstate);
2994 if (PyErr_Occurred()) SWIG_fail;
2995 }
2996 Py_INCREF(Py_None); resultobj = Py_None;
2997 return resultobj;
2998 fail:
2999 return NULL;
3000 }
3001
3002
3003 static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3004 PyObject *resultobj;
3005 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3006 bool arg2 ;
3007 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
3008 PyObject * obj0 = 0 ;
3009 PyObject * obj1 = 0 ;
3010 PyObject * obj2 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "self",(char *) "show",(char *) "attr", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3018 arg2 = (bool) SWIG_AsBool(obj1);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 if (obj2) {
3021 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3023 }
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 (arg1)->base_Show(arg2,arg3);
3027
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 Py_INCREF(Py_None); resultobj = Py_None;
3032 return resultobj;
3033 fail:
3034 return NULL;
3035 }
3036
3037
3038 static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3039 PyObject *resultobj;
3040 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3041 wxRect *arg2 = 0 ;
3042 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
3043 wxRect temp2 ;
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046 PyObject * obj2 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3054 {
3055 arg2 = &temp2;
3056 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3057 }
3058 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3060 {
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 Py_INCREF(Py_None); resultobj = Py_None;
3068 return resultobj;
3069 fail:
3070 return NULL;
3071 }
3072
3073
3074 static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3075 PyObject *resultobj;
3076 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3077 wxKeyEvent *arg2 = 0 ;
3078 bool result;
3079 PyObject * obj0 = 0 ;
3080 PyObject * obj1 = 0 ;
3081 char *kwnames[] = {
3082 (char *) "self",(char *) "event", NULL
3083 };
3084
3085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
3086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3089 SWIG_POINTER_EXCEPTION | 0)) == -1)
3090 SWIG_fail;
3091 if (arg2 == NULL) {
3092 PyErr_SetString(PyExc_TypeError,"null reference");
3093 SWIG_fail;
3094 }
3095 {
3096 PyThreadState* __tstate = wxPyBeginAllowThreads();
3097 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
3098
3099 wxPyEndAllowThreads(__tstate);
3100 if (PyErr_Occurred()) SWIG_fail;
3101 }
3102 {
3103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3104 }
3105 return resultobj;
3106 fail:
3107 return NULL;
3108 }
3109
3110
3111 static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject *resultobj;
3113 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3114 wxKeyEvent *arg2 = 0 ;
3115 PyObject * obj0 = 0 ;
3116 PyObject * obj1 = 0 ;
3117 char *kwnames[] = {
3118 (char *) "self",(char *) "event", NULL
3119 };
3120
3121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
3122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3125 SWIG_POINTER_EXCEPTION | 0)) == -1)
3126 SWIG_fail;
3127 if (arg2 == NULL) {
3128 PyErr_SetString(PyExc_TypeError,"null reference");
3129 SWIG_fail;
3130 }
3131 {
3132 PyThreadState* __tstate = wxPyBeginAllowThreads();
3133 (arg1)->base_StartingKey(*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_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3146 PyObject *resultobj;
3147 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3148 PyObject * obj0 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
3154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 (arg1)->base_StartingClick();
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 Py_INCREF(Py_None); resultobj = Py_None;
3164 return resultobj;
3165 fail:
3166 return NULL;
3167 }
3168
3169
3170 static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject *resultobj;
3172 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3173 wxKeyEvent *arg2 = 0 ;
3174 PyObject * obj0 = 0 ;
3175 PyObject * obj1 = 0 ;
3176 char *kwnames[] = {
3177 (char *) "self",(char *) "event", NULL
3178 };
3179
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
3181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3183 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3184 SWIG_POINTER_EXCEPTION | 0)) == -1)
3185 SWIG_fail;
3186 if (arg2 == NULL) {
3187 PyErr_SetString(PyExc_TypeError,"null reference");
3188 SWIG_fail;
3189 }
3190 {
3191 PyThreadState* __tstate = wxPyBeginAllowThreads();
3192 (arg1)->base_HandleReturn(*arg2);
3193
3194 wxPyEndAllowThreads(__tstate);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 Py_INCREF(Py_None); resultobj = Py_None;
3198 return resultobj;
3199 fail:
3200 return NULL;
3201 }
3202
3203
3204 static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
3205 PyObject *resultobj;
3206 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3207 PyObject * obj0 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "self", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
3213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 (arg1)->base_Destroy();
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 Py_INCREF(Py_None); resultobj = Py_None;
3223 return resultobj;
3224 fail:
3225 return NULL;
3226 }
3227
3228
3229 static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj;
3231 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3232 wxString *arg2 = 0 ;
3233 bool temp2 = False ;
3234 PyObject * obj0 = 0 ;
3235 PyObject * obj1 = 0 ;
3236 char *kwnames[] = {
3237 (char *) "self",(char *) "params", NULL
3238 };
3239
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
3241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3243 {
3244 arg2 = wxString_in_helper(obj1);
3245 if (arg2 == NULL) SWIG_fail;
3246 temp2 = True;
3247 }
3248 {
3249 PyThreadState* __tstate = wxPyBeginAllowThreads();
3250 (arg1)->base_SetParameters((wxString const &)*arg2);
3251
3252 wxPyEndAllowThreads(__tstate);
3253 if (PyErr_Occurred()) SWIG_fail;
3254 }
3255 Py_INCREF(Py_None); resultobj = Py_None;
3256 {
3257 if (temp2)
3258 delete arg2;
3259 }
3260 return resultobj;
3261 fail:
3262 {
3263 if (temp2)
3264 delete arg2;
3265 }
3266 return NULL;
3267 }
3268
3269
3270 static PyObject * PyGridCellEditor_swigregister(PyObject *self, PyObject *args) {
3271 PyObject *obj;
3272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3273 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
3274 Py_INCREF(obj);
3275 return Py_BuildValue((char *)"");
3276 }
3277 static PyObject *_wrap_new_GridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3278 PyObject *resultobj;
3279 wxGridCellTextEditor *result;
3280 char *kwnames[] = {
3281 NULL
3282 };
3283
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
3285 {
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
3288
3289 wxPyEndAllowThreads(__tstate);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellTextEditor, 1);
3293 return resultobj;
3294 fail:
3295 return NULL;
3296 }
3297
3298
3299 static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3300 PyObject *resultobj;
3301 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
3302 wxString result;
3303 PyObject * obj0 = 0 ;
3304 char *kwnames[] = {
3305 (char *) "self", NULL
3306 };
3307
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
3309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellTextEditor,
3310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3311 {
3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
3313 result = (arg1)->GetValue();
3314
3315 wxPyEndAllowThreads(__tstate);
3316 if (PyErr_Occurred()) SWIG_fail;
3317 }
3318 {
3319 #if wxUSE_UNICODE
3320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3321 #else
3322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3323 #endif
3324 }
3325 return resultobj;
3326 fail:
3327 return NULL;
3328 }
3329
3330
3331 static PyObject * GridCellTextEditor_swigregister(PyObject *self, PyObject *args) {
3332 PyObject *obj;
3333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3334 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
3335 Py_INCREF(obj);
3336 return Py_BuildValue((char *)"");
3337 }
3338 static PyObject *_wrap_new_GridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3339 PyObject *resultobj;
3340 int arg1 = (int) -1 ;
3341 int arg2 = (int) -1 ;
3342 wxGridCellNumberEditor *result;
3343 PyObject * obj0 = 0 ;
3344 PyObject * obj1 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "min",(char *) "max", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail;
3350 if (obj0) {
3351 arg1 = (int) SWIG_AsInt(obj0);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 if (obj1) {
3355 arg2 = (int) SWIG_AsInt(obj1);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberEditor, 1);
3366 return resultobj;
3367 fail:
3368 return NULL;
3369 }
3370
3371
3372 static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
3375 wxString result;
3376 PyObject * obj0 = 0 ;
3377 char *kwnames[] = {
3378 (char *) "self", NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
3382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellNumberEditor,
3383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3384 {
3385 PyThreadState* __tstate = wxPyBeginAllowThreads();
3386 result = (arg1)->GetValue();
3387
3388 wxPyEndAllowThreads(__tstate);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
3391 {
3392 #if wxUSE_UNICODE
3393 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3394 #else
3395 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3396 #endif
3397 }
3398 return resultobj;
3399 fail:
3400 return NULL;
3401 }
3402
3403
3404 static PyObject * GridCellNumberEditor_swigregister(PyObject *self, PyObject *args) {
3405 PyObject *obj;
3406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3407 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3408 Py_INCREF(obj);
3409 return Py_BuildValue((char *)"");
3410 }
3411 static PyObject *_wrap_new_GridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3412 PyObject *resultobj;
3413 wxGridCellFloatEditor *result;
3414 char *kwnames[] = {
3415 NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellFloatEditor",kwnames)) goto fail;
3419 {
3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
3421 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor();
3422
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) SWIG_fail;
3425 }
3426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatEditor, 1);
3427 return resultobj;
3428 fail:
3429 return NULL;
3430 }
3431
3432
3433 static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3436 wxString result;
3437 PyObject * obj0 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "self", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatEditor,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 result = (arg1)->GetValue();
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 {
3453 #if wxUSE_UNICODE
3454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3455 #else
3456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3457 #endif
3458 }
3459 return resultobj;
3460 fail:
3461 return NULL;
3462 }
3463
3464
3465 static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) {
3466 PyObject *obj;
3467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3468 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3469 Py_INCREF(obj);
3470 return Py_BuildValue((char *)"");
3471 }
3472 static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject *resultobj;
3474 wxGridCellBoolEditor *result;
3475 char *kwnames[] = {
3476 NULL
3477 };
3478
3479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3480 {
3481 PyThreadState* __tstate = wxPyBeginAllowThreads();
3482 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3483
3484 wxPyEndAllowThreads(__tstate);
3485 if (PyErr_Occurred()) SWIG_fail;
3486 }
3487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolEditor, 1);
3488 return resultobj;
3489 fail:
3490 return NULL;
3491 }
3492
3493
3494 static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3495 PyObject *resultobj;
3496 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3497 wxString result;
3498 PyObject * obj0 = 0 ;
3499 char *kwnames[] = {
3500 (char *) "self", NULL
3501 };
3502
3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
3504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellBoolEditor,
3505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3506 {
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
3508 result = (arg1)->GetValue();
3509
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 {
3514 #if wxUSE_UNICODE
3515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3516 #else
3517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3518 #endif
3519 }
3520 return resultobj;
3521 fail:
3522 return NULL;
3523 }
3524
3525
3526 static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) {
3527 PyObject *obj;
3528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3529 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3530 Py_INCREF(obj);
3531 return Py_BuildValue((char *)"");
3532 }
3533 static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3534 PyObject *resultobj;
3535 int arg1 = (int) 0 ;
3536 wxString *arg2 = (wxString *) NULL ;
3537 bool arg3 = (bool) False ;
3538 wxGridCellChoiceEditor *result;
3539 PyObject * obj0 = 0 ;
3540 PyObject * obj1 = 0 ;
3541 char *kwnames[] = {
3542 (char *) "choices",(char *) "allowOthers", NULL
3543 };
3544
3545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3546 if (obj0) {
3547 {
3548 arg1 = PyList_Size(obj0);
3549 arg2 = wxString_LIST_helper(obj0);
3550 if (arg2 == NULL) SWIG_fail;
3551 }
3552 }
3553 if (obj1) {
3554 arg3 = (bool) SWIG_AsBool(obj1);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 }
3564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellChoiceEditor, 1);
3565 {
3566 if (arg2) delete [] arg2;
3567 }
3568 return resultobj;
3569 fail:
3570 {
3571 if (arg2) delete [] arg2;
3572 }
3573 return NULL;
3574 }
3575
3576
3577 static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3578 PyObject *resultobj;
3579 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3580 wxString result;
3581 PyObject * obj0 = 0 ;
3582 char *kwnames[] = {
3583 (char *) "self", NULL
3584 };
3585
3586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
3587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellChoiceEditor,
3588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3589 {
3590 PyThreadState* __tstate = wxPyBeginAllowThreads();
3591 result = (arg1)->GetValue();
3592
3593 wxPyEndAllowThreads(__tstate);
3594 if (PyErr_Occurred()) SWIG_fail;
3595 }
3596 {
3597 #if wxUSE_UNICODE
3598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3599 #else
3600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3601 #endif
3602 }
3603 return resultobj;
3604 fail:
3605 return NULL;
3606 }
3607
3608
3609 static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) {
3610 PyObject *obj;
3611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3612 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3613 Py_INCREF(obj);
3614 return Py_BuildValue((char *)"");
3615 }
3616 static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3617 PyObject *resultobj;
3618 wxString const &arg1_defvalue = wxPyEmptyString ;
3619 wxString *arg1 = (wxString *) &arg1_defvalue ;
3620 wxGridCellEnumEditor *result;
3621 bool temp1 = False ;
3622 PyObject * obj0 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "choices", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3628 if (obj0) {
3629 {
3630 arg1 = wxString_in_helper(obj0);
3631 if (arg1 == NULL) SWIG_fail;
3632 temp1 = True;
3633 }
3634 }
3635 {
3636 PyThreadState* __tstate = wxPyBeginAllowThreads();
3637 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3638
3639 wxPyEndAllowThreads(__tstate);
3640 if (PyErr_Occurred()) SWIG_fail;
3641 }
3642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumEditor, 1);
3643 {
3644 if (temp1)
3645 delete arg1;
3646 }
3647 return resultobj;
3648 fail:
3649 {
3650 if (temp1)
3651 delete arg1;
3652 }
3653 return NULL;
3654 }
3655
3656
3657 static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3658 PyObject *resultobj;
3659 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3660 wxString result;
3661 PyObject * obj0 = 0 ;
3662 char *kwnames[] = {
3663 (char *) "self", NULL
3664 };
3665
3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
3667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEnumEditor,
3668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3669 {
3670 PyThreadState* __tstate = wxPyBeginAllowThreads();
3671 result = (arg1)->GetValue();
3672
3673 wxPyEndAllowThreads(__tstate);
3674 if (PyErr_Occurred()) SWIG_fail;
3675 }
3676 {
3677 #if wxUSE_UNICODE
3678 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3679 #else
3680 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3681 #endif
3682 }
3683 return resultobj;
3684 fail:
3685 return NULL;
3686 }
3687
3688
3689 static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) {
3690 PyObject *obj;
3691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3692 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3693 Py_INCREF(obj);
3694 return Py_BuildValue((char *)"");
3695 }
3696 static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3697 PyObject *resultobj;
3698 wxGridCellAutoWrapStringEditor *result;
3699 char *kwnames[] = {
3700 NULL
3701 };
3702
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3704 {
3705 PyThreadState* __tstate = wxPyBeginAllowThreads();
3706 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3707
3708 wxPyEndAllowThreads(__tstate);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 }
3711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
3712 return resultobj;
3713 fail:
3714 return NULL;
3715 }
3716
3717
3718 static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3719 PyObject *resultobj;
3720 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3721 wxString result;
3722 PyObject * obj0 = 0 ;
3723 char *kwnames[] = {
3724 (char *) "self", NULL
3725 };
3726
3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
3728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAutoWrapStringEditor,
3729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3730 {
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 result = (arg1)->GetValue();
3733
3734 wxPyEndAllowThreads(__tstate);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 {
3738 #if wxUSE_UNICODE
3739 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3740 #else
3741 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3742 #endif
3743 }
3744 return resultobj;
3745 fail:
3746 return NULL;
3747 }
3748
3749
3750 static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) {
3751 PyObject *obj;
3752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3753 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3754 Py_INCREF(obj);
3755 return Py_BuildValue((char *)"");
3756 }
3757 static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3758 PyObject *resultobj;
3759 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3760 PyObject *arg2 = (PyObject *) 0 ;
3761 PyObject * obj0 = 0 ;
3762 PyObject * obj1 = 0 ;
3763 char *kwnames[] = {
3764 (char *) "self",(char *) "_self", NULL
3765 };
3766
3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
3768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3770 arg2 = obj1;
3771 {
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
3773 wxGridCellAttr__setOORInfo(arg1,arg2);
3774
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
3778 Py_INCREF(Py_None); resultobj = Py_None;
3779 return resultobj;
3780 fail:
3781 return NULL;
3782 }
3783
3784
3785 static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3786 PyObject *resultobj;
3787 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3788 wxGridCellAttr *result;
3789 PyObject * obj0 = 0 ;
3790 char *kwnames[] = {
3791 (char *) "attrDefault", NULL
3792 };
3793
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3795 if (obj0) {
3796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3798 }
3799 {
3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
3801 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3802
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 {
3807 resultobj = wxPyMake_wxGridCellAttr(result);
3808 }
3809 return resultobj;
3810 fail:
3811 return NULL;
3812 }
3813
3814
3815 static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3816 PyObject *resultobj;
3817 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3818 wxGridCellAttr *result;
3819 PyObject * obj0 = 0 ;
3820 char *kwnames[] = {
3821 (char *) "self", NULL
3822 };
3823
3824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
3825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3827 {
3828 PyThreadState* __tstate = wxPyBeginAllowThreads();
3829 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3830
3831 wxPyEndAllowThreads(__tstate);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 {
3835 resultobj = wxPyMake_wxGridCellAttr(result);
3836 }
3837 return resultobj;
3838 fail:
3839 return NULL;
3840 }
3841
3842
3843 static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3844 PyObject *resultobj;
3845 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3846 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3847 PyObject * obj0 = 0 ;
3848 PyObject * obj1 = 0 ;
3849 char *kwnames[] = {
3850 (char *) "self",(char *) "mergefrom", NULL
3851 };
3852
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
3854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
3857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 (arg1)->MergeWith(arg2);
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 Py_INCREF(Py_None); resultobj = Py_None;
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3875 PyObject * obj0 = 0 ;
3876 char *kwnames[] = {
3877 (char *) "self", NULL
3878 };
3879
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
3881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3883 {
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 (arg1)->IncRef();
3886
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 Py_INCREF(Py_None); resultobj = Py_None;
3891 return resultobj;
3892 fail:
3893 return NULL;
3894 }
3895
3896
3897 static PyObject *_wrap_GridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3898 PyObject *resultobj;
3899 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3900 PyObject * obj0 = 0 ;
3901 char *kwnames[] = {
3902 (char *) "self", NULL
3903 };
3904
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
3906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 (arg1)->DecRef();
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) SWIG_fail;
3914 }
3915 Py_INCREF(Py_None); resultobj = Py_None;
3916 return resultobj;
3917 fail:
3918 return NULL;
3919 }
3920
3921
3922 static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3923 PyObject *resultobj;
3924 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3925 wxColour *arg2 = 0 ;
3926 wxColour temp2 ;
3927 PyObject * obj0 = 0 ;
3928 PyObject * obj1 = 0 ;
3929 char *kwnames[] = {
3930 (char *) "self",(char *) "colText", NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
3934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3936 {
3937 arg2 = &temp2;
3938 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 (arg1)->SetTextColour((wxColour const &)*arg2);
3943
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 Py_INCREF(Py_None); resultobj = Py_None;
3948 return resultobj;
3949 fail:
3950 return NULL;
3951 }
3952
3953
3954 static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3955 PyObject *resultobj;
3956 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3957 wxColour *arg2 = 0 ;
3958 wxColour temp2 ;
3959 PyObject * obj0 = 0 ;
3960 PyObject * obj1 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "self",(char *) "colBack", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
3966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3968 {
3969 arg2 = &temp2;
3970 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3971 }
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3975
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
3979 Py_INCREF(Py_None); resultobj = Py_None;
3980 return resultobj;
3981 fail:
3982 return NULL;
3983 }
3984
3985
3986 static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3987 PyObject *resultobj;
3988 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3989 wxFont *arg2 = 0 ;
3990 PyObject * obj0 = 0 ;
3991 PyObject * obj1 = 0 ;
3992 char *kwnames[] = {
3993 (char *) "self",(char *) "font", NULL
3994 };
3995
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
3997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
4000 SWIG_POINTER_EXCEPTION | 0)) == -1)
4001 SWIG_fail;
4002 if (arg2 == NULL) {
4003 PyErr_SetString(PyExc_TypeError,"null reference");
4004 SWIG_fail;
4005 }
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 (arg1)->SetFont((wxFont const &)*arg2);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 Py_INCREF(Py_None); resultobj = Py_None;
4014 return resultobj;
4015 fail:
4016 return NULL;
4017 }
4018
4019
4020 static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4023 int arg2 ;
4024 int arg3 ;
4025 PyObject * obj0 = 0 ;
4026 PyObject * obj1 = 0 ;
4027 PyObject * obj2 = 0 ;
4028 char *kwnames[] = {
4029 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4030 };
4031
4032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
4033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4035 arg2 = (int) SWIG_AsInt(obj1);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 arg3 = (int) SWIG_AsInt(obj2);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 {
4040 PyThreadState* __tstate = wxPyBeginAllowThreads();
4041 (arg1)->SetAlignment(arg2,arg3);
4042
4043 wxPyEndAllowThreads(__tstate);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 }
4046 Py_INCREF(Py_None); resultobj = Py_None;
4047 return resultobj;
4048 fail:
4049 return NULL;
4050 }
4051
4052
4053 static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4054 PyObject *resultobj;
4055 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4056 int arg2 ;
4057 int arg3 ;
4058 PyObject * obj0 = 0 ;
4059 PyObject * obj1 = 0 ;
4060 PyObject * obj2 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4068 arg2 = (int) SWIG_AsInt(obj1);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 arg3 = (int) SWIG_AsInt(obj2);
4071 if (PyErr_Occurred()) SWIG_fail;
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 (arg1)->SetSize(arg2,arg3);
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 Py_INCREF(Py_None); resultobj = Py_None;
4080 return resultobj;
4081 fail:
4082 return NULL;
4083 }
4084
4085
4086 static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4087 PyObject *resultobj;
4088 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4089 bool arg2 = (bool) True ;
4090 PyObject * obj0 = 0 ;
4091 PyObject * obj1 = 0 ;
4092 char *kwnames[] = {
4093 (char *) "self",(char *) "allow", NULL
4094 };
4095
4096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
4097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4099 if (obj1) {
4100 arg2 = (bool) SWIG_AsBool(obj1);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
4103 {
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 (arg1)->SetOverflow(arg2);
4106
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 Py_INCREF(Py_None); resultobj = Py_None;
4111 return resultobj;
4112 fail:
4113 return NULL;
4114 }
4115
4116
4117 static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj;
4119 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4120 bool arg2 = (bool) True ;
4121 PyObject * obj0 = 0 ;
4122 PyObject * obj1 = 0 ;
4123 char *kwnames[] = {
4124 (char *) "self",(char *) "isReadOnly", NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
4128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4130 if (obj1) {
4131 arg2 = (bool) SWIG_AsBool(obj1);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4134 {
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 (arg1)->SetReadOnly(arg2);
4137
4138 wxPyEndAllowThreads(__tstate);
4139 if (PyErr_Occurred()) SWIG_fail;
4140 }
4141 Py_INCREF(Py_None); resultobj = Py_None;
4142 return resultobj;
4143 fail:
4144 return NULL;
4145 }
4146
4147
4148 static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4149 PyObject *resultobj;
4150 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4151 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
4152 PyObject * obj0 = 0 ;
4153 PyObject * obj1 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self",(char *) "renderer", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
4159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4161 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
4162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 (arg1)->SetRenderer(arg2);
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 Py_INCREF(Py_None); resultobj = Py_None;
4171 return resultobj;
4172 fail:
4173 return NULL;
4174 }
4175
4176
4177 static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4180 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
4181 PyObject * obj0 = 0 ;
4182 PyObject * obj1 = 0 ;
4183 char *kwnames[] = {
4184 (char *) "self",(char *) "editor", NULL
4185 };
4186
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
4188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
4191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 (arg1)->SetEditor(arg2);
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 Py_INCREF(Py_None); resultobj = Py_None;
4200 return resultobj;
4201 fail:
4202 return NULL;
4203 }
4204
4205
4206 static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
4207 PyObject *resultobj;
4208 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4209 int arg2 ;
4210 PyObject * obj0 = 0 ;
4211 PyObject * obj1 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self",(char *) "kind", NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
4217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4219 arg2 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj1);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 {
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
4224
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 Py_INCREF(Py_None); resultobj = Py_None;
4229 return resultobj;
4230 fail:
4231 return NULL;
4232 }
4233
4234
4235 static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj;
4237 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4238 bool result;
4239 PyObject * obj0 = 0 ;
4240 char *kwnames[] = {
4241 (char *) "self", NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
4245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 {
4255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4256 }
4257 return resultobj;
4258 fail:
4259 return NULL;
4260 }
4261
4262
4263 static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj;
4265 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4266 bool result;
4267 PyObject * obj0 = 0 ;
4268 char *kwnames[] = {
4269 (char *) "self", NULL
4270 };
4271
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
4273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 {
4283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4284 }
4285 return resultobj;
4286 fail:
4287 return NULL;
4288 }
4289
4290
4291 static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj;
4293 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4294 bool result;
4295 PyObject * obj0 = 0 ;
4296 char *kwnames[] = {
4297 (char *) "self", NULL
4298 };
4299
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
4301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 {
4311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4312 }
4313 return resultobj;
4314 fail:
4315 return NULL;
4316 }
4317
4318
4319 static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4320 PyObject *resultobj;
4321 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4322 bool result;
4323 PyObject * obj0 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
4329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 {
4339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4340 }
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj;
4349 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4350 bool result;
4351 PyObject * obj0 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
4357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 {
4367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4368 }
4369 return resultobj;
4370 fail:
4371 return NULL;
4372 }
4373
4374
4375 static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject *resultobj;
4377 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4378 bool result;
4379 PyObject * obj0 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "self", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
4385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 {
4395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4396 }
4397 return resultobj;
4398 fail:
4399 return NULL;
4400 }
4401
4402
4403 static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4404 PyObject *resultobj;
4405 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4406 bool result;
4407 PyObject * obj0 = 0 ;
4408 char *kwnames[] = {
4409 (char *) "self", NULL
4410 };
4411
4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
4413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4415 {
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
4418
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 {
4423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4424 }
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj;
4433 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4434 bool result;
4435 PyObject * obj0 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "self", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
4441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4443 {
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 {
4451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4452 }
4453 return resultobj;
4454 fail:
4455 return NULL;
4456 }
4457
4458
4459 static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4460 PyObject *resultobj;
4461 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4462 wxColour result;
4463 PyObject * obj0 = 0 ;
4464 char *kwnames[] = {
4465 (char *) "self", NULL
4466 };
4467
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
4469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4471 {
4472 PyThreadState* __tstate = wxPyBeginAllowThreads();
4473 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4474
4475 wxPyEndAllowThreads(__tstate);
4476 if (PyErr_Occurred()) SWIG_fail;
4477 }
4478 {
4479 wxColour * resultptr;
4480 resultptr = new wxColour((wxColour &) result);
4481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4482 }
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4492 wxColour result;
4493 PyObject * obj0 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "self", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
4499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4501 {
4502 PyThreadState* __tstate = wxPyBeginAllowThreads();
4503 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4504
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 {
4509 wxColour * resultptr;
4510 resultptr = new wxColour((wxColour &) result);
4511 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4512 }
4513 return resultobj;
4514 fail:
4515 return NULL;
4516 }
4517
4518
4519 static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4522 wxFont result;
4523 PyObject * obj0 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "self", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
4529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4531 {
4532 PyThreadState* __tstate = wxPyBeginAllowThreads();
4533 result = ((wxGridCellAttr const *)arg1)->GetFont();
4534
4535 wxPyEndAllowThreads(__tstate);
4536 if (PyErr_Occurred()) SWIG_fail;
4537 }
4538 {
4539 wxFont * resultptr;
4540 resultptr = new wxFont((wxFont &) result);
4541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
4542 }
4543 return resultobj;
4544 fail:
4545 return NULL;
4546 }
4547
4548
4549 static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4550 PyObject *resultobj;
4551 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4552 int *arg2 = (int *) 0 ;
4553 int *arg3 = (int *) 0 ;
4554 int temp2 ;
4555 int temp3 ;
4556 PyObject * obj0 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "self", NULL
4559 };
4560
4561 arg2 = &temp2;
4562 arg3 = &temp3;
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
4564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 Py_INCREF(Py_None); resultobj = Py_None;
4574 {
4575 PyObject *o = PyInt_FromLong((long) (*arg2));
4576 resultobj = t_output_helper(resultobj,o);
4577 }
4578 {
4579 PyObject *o = PyInt_FromLong((long) (*arg3));
4580 resultobj = t_output_helper(resultobj,o);
4581 }
4582 return resultobj;
4583 fail:
4584 return NULL;
4585 }
4586
4587
4588 static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj;
4590 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4591 int *arg2 = (int *) 0 ;
4592 int *arg3 = (int *) 0 ;
4593 int temp2 ;
4594 int temp3 ;
4595 PyObject * obj0 = 0 ;
4596 char *kwnames[] = {
4597 (char *) "self", NULL
4598 };
4599
4600 arg2 = &temp2;
4601 arg3 = &temp3;
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
4603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 Py_INCREF(Py_None); resultobj = Py_None;
4613 {
4614 PyObject *o = PyInt_FromLong((long) (*arg2));
4615 resultobj = t_output_helper(resultobj,o);
4616 }
4617 {
4618 PyObject *o = PyInt_FromLong((long) (*arg3));
4619 resultobj = t_output_helper(resultobj,o);
4620 }
4621 return resultobj;
4622 fail:
4623 return NULL;
4624 }
4625
4626
4627 static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4628 PyObject *resultobj;
4629 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4630 bool result;
4631 PyObject * obj0 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4642
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 {
4647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4648 }
4649 return resultobj;
4650 fail:
4651 return NULL;
4652 }
4653
4654
4655 static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4656 PyObject *resultobj;
4657 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4658 wxGrid *arg2 = (wxGrid *) 0 ;
4659 int arg3 ;
4660 int arg4 ;
4661 wxGridCellRenderer *result;
4662 PyObject * obj0 = 0 ;
4663 PyObject * obj1 = 0 ;
4664 PyObject * obj2 = 0 ;
4665 PyObject * obj3 = 0 ;
4666 char *kwnames[] = {
4667 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4668 };
4669
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4675 arg3 = (int) SWIG_AsInt(obj2);
4676 if (PyErr_Occurred()) SWIG_fail;
4677 arg4 = (int) SWIG_AsInt(obj3);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 {
4687 resultobj = wxPyMake_wxGridCellRenderer(result);
4688 }
4689 return resultobj;
4690 fail:
4691 return NULL;
4692 }
4693
4694
4695 static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4696 PyObject *resultobj;
4697 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4698 wxGrid *arg2 = (wxGrid *) 0 ;
4699 int arg3 ;
4700 int arg4 ;
4701 wxGridCellEditor *result;
4702 PyObject * obj0 = 0 ;
4703 PyObject * obj1 = 0 ;
4704 PyObject * obj2 = 0 ;
4705 PyObject * obj3 = 0 ;
4706 char *kwnames[] = {
4707 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4708 };
4709
4710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4715 arg3 = (int) SWIG_AsInt(obj2);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 arg4 = (int) SWIG_AsInt(obj3);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4722
4723 wxPyEndAllowThreads(__tstate);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 }
4726 {
4727 resultobj = wxPyMake_wxGridCellEditor(result);
4728 }
4729 return resultobj;
4730 fail:
4731 return NULL;
4732 }
4733
4734
4735 static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject *resultobj;
4737 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4738 bool result;
4739 PyObject * obj0 = 0 ;
4740 char *kwnames[] = {
4741 (char *) "self", NULL
4742 };
4743
4744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
4745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4750
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 {
4755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4756 }
4757 return resultobj;
4758 fail:
4759 return NULL;
4760 }
4761
4762
4763 static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4764 PyObject *resultobj;
4765 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4766 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4767 PyObject * obj0 = 0 ;
4768 PyObject * obj1 = 0 ;
4769 char *kwnames[] = {
4770 (char *) "self",(char *) "defAttr", NULL
4771 };
4772
4773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
4774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4778 {
4779 PyThreadState* __tstate = wxPyBeginAllowThreads();
4780 (arg1)->SetDefAttr(arg2);
4781
4782 wxPyEndAllowThreads(__tstate);
4783 if (PyErr_Occurred()) SWIG_fail;
4784 }
4785 Py_INCREF(Py_None); resultobj = Py_None;
4786 return resultobj;
4787 fail:
4788 return NULL;
4789 }
4790
4791
4792 static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) {
4793 PyObject *obj;
4794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4795 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4796 Py_INCREF(obj);
4797 return Py_BuildValue((char *)"");
4798 }
4799 static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxGridCellAttrProvider *result;
4802 char *kwnames[] = {
4803 NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4807 {
4808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4809 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 {
4815 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4816 }
4817 return resultobj;
4818 fail:
4819 return NULL;
4820 }
4821
4822
4823 static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4824 PyObject *resultobj;
4825 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4826 PyObject *arg2 = (PyObject *) 0 ;
4827 PyObject * obj0 = 0 ;
4828 PyObject * obj1 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self",(char *) "_self", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4836 arg2 = obj1;
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
4840
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 Py_INCREF(Py_None); resultobj = Py_None;
4845 return resultobj;
4846 fail:
4847 return NULL;
4848 }
4849
4850
4851 static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4854 int arg2 ;
4855 int arg3 ;
4856 int arg4 ;
4857 wxGridCellAttr *result;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4860 PyObject * obj2 = 0 ;
4861 PyObject * obj3 = 0 ;
4862 char *kwnames[] = {
4863 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4864 };
4865
4866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4869 arg2 = (int) SWIG_AsInt(obj1);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 arg3 = (int) SWIG_AsInt(obj2);
4872 if (PyErr_Occurred()) SWIG_fail;
4873 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 {
4883 resultobj = wxPyMake_wxGridCellAttr(result);
4884 }
4885 return resultobj;
4886 fail:
4887 return NULL;
4888 }
4889
4890
4891 static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj;
4893 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4894 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4895 int arg3 ;
4896 int arg4 ;
4897 PyObject * obj0 = 0 ;
4898 PyObject * obj1 = 0 ;
4899 PyObject * obj2 = 0 ;
4900 PyObject * obj3 = 0 ;
4901 char *kwnames[] = {
4902 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4903 };
4904
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4910 arg3 = (int) SWIG_AsInt(obj2);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 arg4 = (int) SWIG_AsInt(obj3);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 (arg1)->SetAttr(arg2,arg3,arg4);
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 Py_INCREF(Py_None); resultobj = Py_None;
4922 return resultobj;
4923 fail:
4924 return NULL;
4925 }
4926
4927
4928 static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4929 PyObject *resultobj;
4930 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4931 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4932 int arg3 ;
4933 PyObject * obj0 = 0 ;
4934 PyObject * obj1 = 0 ;
4935 PyObject * obj2 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self",(char *) "attr",(char *) "row", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
4941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4945 arg3 = (int) SWIG_AsInt(obj2);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 (arg1)->SetRowAttr(arg2,arg3);
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 Py_INCREF(Py_None); resultobj = Py_None;
4955 return resultobj;
4956 fail:
4957 return NULL;
4958 }
4959
4960
4961 static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4962 PyObject *resultobj;
4963 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4964 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4965 int arg3 ;
4966 PyObject * obj0 = 0 ;
4967 PyObject * obj1 = 0 ;
4968 PyObject * obj2 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self",(char *) "attr",(char *) "col", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4978 arg3 = (int) SWIG_AsInt(obj2);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 (arg1)->SetColAttr(arg2,arg3);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 Py_INCREF(Py_None); resultobj = Py_None;
4988 return resultobj;
4989 fail:
4990 return NULL;
4991 }
4992
4993
4994 static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4995 PyObject *resultobj;
4996 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4997 size_t arg2 ;
4998 int arg3 ;
4999 PyObject * obj0 = 0 ;
5000 PyObject * obj1 = 0 ;
5001 PyObject * obj2 = 0 ;
5002 char *kwnames[] = {
5003 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5004 };
5005
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
5007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5009 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 arg3 = (int) SWIG_AsInt(obj2);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 (arg1)->UpdateAttrRows(arg2,arg3);
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_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5028 PyObject *resultobj;
5029 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5030 size_t arg2 ;
5031 int arg3 ;
5032 PyObject * obj0 = 0 ;
5033 PyObject * obj1 = 0 ;
5034 PyObject * obj2 = 0 ;
5035 char *kwnames[] = {
5036 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5037 };
5038
5039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
5040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5042 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 arg3 = (int) SWIG_AsInt(obj2);
5045 if (PyErr_Occurred()) SWIG_fail;
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 (arg1)->UpdateAttrCols(arg2,arg3);
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 Py_INCREF(Py_None); resultobj = Py_None;
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5061 PyObject *obj;
5062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5063 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
5064 Py_INCREF(obj);
5065 return Py_BuildValue((char *)"");
5066 }
5067 static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxPyGridCellAttrProvider *result;
5070 char *kwnames[] = {
5071 NULL
5072 };
5073
5074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
5078
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
5083 return resultobj;
5084 fail:
5085 return NULL;
5086 }
5087
5088
5089 static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj;
5091 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5092 PyObject *arg2 = (PyObject *) 0 ;
5093 PyObject *arg3 = (PyObject *) 0 ;
5094 PyObject * obj0 = 0 ;
5095 PyObject * obj1 = 0 ;
5096 PyObject * obj2 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self",(char *) "self",(char *) "_class", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5104 arg2 = obj1;
5105 arg3 = obj2;
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 (arg1)->_setCallbackInfo(arg2,arg3);
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 Py_INCREF(Py_None); resultobj = Py_None;
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj;
5122 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5123 int arg2 ;
5124 int arg3 ;
5125 int arg4 ;
5126 wxGridCellAttr *result;
5127 PyObject * obj0 = 0 ;
5128 PyObject * obj1 = 0 ;
5129 PyObject * obj2 = 0 ;
5130 PyObject * obj3 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5138 arg2 = (int) SWIG_AsInt(obj1);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 arg3 = (int) SWIG_AsInt(obj2);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 {
5152 resultobj = wxPyMake_wxGridCellAttr(result);
5153 }
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5163 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5164 int arg3 ;
5165 int arg4 ;
5166 PyObject * obj0 = 0 ;
5167 PyObject * obj1 = 0 ;
5168 PyObject * obj2 = 0 ;
5169 PyObject * obj3 = 0 ;
5170 char *kwnames[] = {
5171 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5172 };
5173
5174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5179 arg3 = (int) SWIG_AsInt(obj2);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 arg4 = (int) SWIG_AsInt(obj3);
5182 if (PyErr_Occurred()) SWIG_fail;
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 (arg1)->base_SetAttr(arg2,arg3,arg4);
5186
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 Py_INCREF(Py_None); resultobj = Py_None;
5191 return resultobj;
5192 fail:
5193 return NULL;
5194 }
5195
5196
5197 static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5200 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5201 int arg3 ;
5202 PyObject * obj0 = 0 ;
5203 PyObject * obj1 = 0 ;
5204 PyObject * obj2 = 0 ;
5205 char *kwnames[] = {
5206 (char *) "self",(char *) "attr",(char *) "row", NULL
5207 };
5208
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
5210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5214 arg3 = (int) SWIG_AsInt(obj2);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->base_SetRowAttr(arg2,arg3);
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 Py_INCREF(Py_None); resultobj = Py_None;
5224 return resultobj;
5225 fail:
5226 return NULL;
5227 }
5228
5229
5230 static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5231 PyObject *resultobj;
5232 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5233 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5234 int arg3 ;
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
5237 PyObject * obj2 = 0 ;
5238 char *kwnames[] = {
5239 (char *) "self",(char *) "attr",(char *) "col", NULL
5240 };
5241
5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
5243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5245 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5247 arg3 = (int) SWIG_AsInt(obj2);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 {
5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
5251 (arg1)->base_SetColAttr(arg2,arg3);
5252
5253 wxPyEndAllowThreads(__tstate);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 Py_INCREF(Py_None); resultobj = Py_None;
5257 return resultobj;
5258 fail:
5259 return NULL;
5260 }
5261
5262
5263 static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5264 PyObject *obj;
5265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5266 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
5267 Py_INCREF(obj);
5268 return Py_BuildValue((char *)"");
5269 }
5270 static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5271 PyObject *resultobj;
5272 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5273 PyObject *arg2 = (PyObject *) 0 ;
5274 PyObject * obj0 = 0 ;
5275 PyObject * obj1 = 0 ;
5276 char *kwnames[] = {
5277 (char *) "self",(char *) "_self", NULL
5278 };
5279
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
5281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5283 arg2 = obj1;
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 wxGridTableBase__setOORInfo(arg1,arg2);
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 Py_INCREF(Py_None); resultobj = Py_None;
5292 return resultobj;
5293 fail:
5294 return NULL;
5295 }
5296
5297
5298 static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5301 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
5302 PyObject * obj0 = 0 ;
5303 PyObject * obj1 = 0 ;
5304 char *kwnames[] = {
5305 (char *) "self",(char *) "attrProvider", NULL
5306 };
5307
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
5309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttrProvider,
5312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5313 {
5314 PyThreadState* __tstate = wxPyBeginAllowThreads();
5315 (arg1)->SetAttrProvider(arg2);
5316
5317 wxPyEndAllowThreads(__tstate);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 Py_INCREF(Py_None); resultobj = Py_None;
5321 return resultobj;
5322 fail:
5323 return NULL;
5324 }
5325
5326
5327 static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj;
5329 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5330 wxGridCellAttrProvider *result;
5331 PyObject * obj0 = 0 ;
5332 char *kwnames[] = {
5333 (char *) "self", NULL
5334 };
5335
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
5337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 {
5347 resultobj = wxPyMake_wxGridCellAttrProvider(result);
5348 }
5349 return resultobj;
5350 fail:
5351 return NULL;
5352 }
5353
5354
5355 static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5356 PyObject *resultobj;
5357 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5358 wxGrid *arg2 = (wxGrid *) 0 ;
5359 PyObject * obj0 = 0 ;
5360 PyObject * obj1 = 0 ;
5361 char *kwnames[] = {
5362 (char *) "self",(char *) "grid", NULL
5363 };
5364
5365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
5366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5368 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
5369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 (arg1)->SetView(arg2);
5373
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 Py_INCREF(Py_None); resultobj = Py_None;
5378 return resultobj;
5379 fail:
5380 return NULL;
5381 }
5382
5383
5384 static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5385 PyObject *resultobj;
5386 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5387 wxGrid *result;
5388 PyObject * obj0 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
5394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
5399
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 {
5404 resultobj = wxPyMake_wxObject(result);
5405 }
5406 return resultobj;
5407 fail:
5408 return NULL;
5409 }
5410
5411
5412 static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5413 PyObject *resultobj;
5414 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5415 int result;
5416 PyObject * obj0 = 0 ;
5417 char *kwnames[] = {
5418 (char *) "self", NULL
5419 };
5420
5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
5422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5424 {
5425 PyThreadState* __tstate = wxPyBeginAllowThreads();
5426 result = (int)(arg1)->GetNumberRows();
5427
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
5431 resultobj = SWIG_FromInt((int)result);
5432 return resultobj;
5433 fail:
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5441 int result;
5442 PyObject * obj0 = 0 ;
5443 char *kwnames[] = {
5444 (char *) "self", NULL
5445 };
5446
5447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
5448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 result = (int)(arg1)->GetNumberCols();
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 resultobj = SWIG_FromInt((int)result);
5458 return resultobj;
5459 fail:
5460 return NULL;
5461 }
5462
5463
5464 static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5465 PyObject *resultobj;
5466 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5467 int arg2 ;
5468 int arg3 ;
5469 bool result;
5470 PyObject * obj0 = 0 ;
5471 PyObject * obj1 = 0 ;
5472 PyObject * obj2 = 0 ;
5473 char *kwnames[] = {
5474 (char *) "self",(char *) "row",(char *) "col", NULL
5475 };
5476
5477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
5478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5480 arg2 = (int) SWIG_AsInt(obj1);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 arg3 = (int) SWIG_AsInt(obj2);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 {
5485 PyThreadState* __tstate = wxPyBeginAllowThreads();
5486 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
5487
5488 wxPyEndAllowThreads(__tstate);
5489 if (PyErr_Occurred()) SWIG_fail;
5490 }
5491 {
5492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5493 }
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5501 PyObject *resultobj;
5502 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5503 int arg2 ;
5504 int arg3 ;
5505 wxString result;
5506 PyObject * obj0 = 0 ;
5507 PyObject * obj1 = 0 ;
5508 PyObject * obj2 = 0 ;
5509 char *kwnames[] = {
5510 (char *) "self",(char *) "row",(char *) "col", NULL
5511 };
5512
5513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
5514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5516 arg2 = (int) SWIG_AsInt(obj1);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 arg3 = (int) SWIG_AsInt(obj2);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 result = (arg1)->GetValue(arg2,arg3);
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 {
5528 #if wxUSE_UNICODE
5529 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5530 #else
5531 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5532 #endif
5533 }
5534 return resultobj;
5535 fail:
5536 return NULL;
5537 }
5538
5539
5540 static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj;
5542 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5543 int arg2 ;
5544 int arg3 ;
5545 wxString *arg4 = 0 ;
5546 bool temp4 = False ;
5547 PyObject * obj0 = 0 ;
5548 PyObject * obj1 = 0 ;
5549 PyObject * obj2 = 0 ;
5550 PyObject * obj3 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5558 arg2 = (int) SWIG_AsInt(obj1);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 arg3 = (int) SWIG_AsInt(obj2);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 {
5563 arg4 = wxString_in_helper(obj3);
5564 if (arg4 == NULL) SWIG_fail;
5565 temp4 = True;
5566 }
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 {
5576 if (temp4)
5577 delete arg4;
5578 }
5579 return resultobj;
5580 fail:
5581 {
5582 if (temp4)
5583 delete arg4;
5584 }
5585 return NULL;
5586 }
5587
5588
5589 static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5590 PyObject *resultobj;
5591 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5592 int arg2 ;
5593 int arg3 ;
5594 wxString result;
5595 PyObject * obj0 = 0 ;
5596 PyObject * obj1 = 0 ;
5597 PyObject * obj2 = 0 ;
5598 char *kwnames[] = {
5599 (char *) "self",(char *) "row",(char *) "col", NULL
5600 };
5601
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
5603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5605 arg2 = (int) SWIG_AsInt(obj1);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 arg3 = (int) SWIG_AsInt(obj2);
5608 if (PyErr_Occurred()) SWIG_fail;
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 result = (arg1)->GetTypeName(arg2,arg3);
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 {
5617 #if wxUSE_UNICODE
5618 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5619 #else
5620 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5621 #endif
5622 }
5623 return resultobj;
5624 fail:
5625 return NULL;
5626 }
5627
5628
5629 static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5630 PyObject *resultobj;
5631 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5632 int arg2 ;
5633 int arg3 ;
5634 wxString *arg4 = 0 ;
5635 bool result;
5636 bool temp4 = False ;
5637 PyObject * obj0 = 0 ;
5638 PyObject * obj1 = 0 ;
5639 PyObject * obj2 = 0 ;
5640 PyObject * obj3 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5648 arg2 = (int) SWIG_AsInt(obj1);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 arg3 = (int) SWIG_AsInt(obj2);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 {
5653 arg4 = wxString_in_helper(obj3);
5654 if (arg4 == NULL) SWIG_fail;
5655 temp4 = True;
5656 }
5657 {
5658 PyThreadState* __tstate = wxPyBeginAllowThreads();
5659 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5660
5661 wxPyEndAllowThreads(__tstate);
5662 if (PyErr_Occurred()) SWIG_fail;
5663 }
5664 {
5665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5666 }
5667 {
5668 if (temp4)
5669 delete arg4;
5670 }
5671 return resultobj;
5672 fail:
5673 {
5674 if (temp4)
5675 delete arg4;
5676 }
5677 return NULL;
5678 }
5679
5680
5681 static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj;
5683 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5684 int arg2 ;
5685 int arg3 ;
5686 wxString *arg4 = 0 ;
5687 bool result;
5688 bool temp4 = False ;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 PyObject * obj2 = 0 ;
5692 PyObject * obj3 = 0 ;
5693 char *kwnames[] = {
5694 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5695 };
5696
5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5700 arg2 = (int) SWIG_AsInt(obj1);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 arg3 = (int) SWIG_AsInt(obj2);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 {
5705 arg4 = wxString_in_helper(obj3);
5706 if (arg4 == NULL) SWIG_fail;
5707 temp4 = True;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 {
5717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5718 }
5719 {
5720 if (temp4)
5721 delete arg4;
5722 }
5723 return resultobj;
5724 fail:
5725 {
5726 if (temp4)
5727 delete arg4;
5728 }
5729 return NULL;
5730 }
5731
5732
5733 static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5736 int arg2 ;
5737 int arg3 ;
5738 long result;
5739 PyObject * obj0 = 0 ;
5740 PyObject * obj1 = 0 ;
5741 PyObject * obj2 = 0 ;
5742 char *kwnames[] = {
5743 (char *) "self",(char *) "row",(char *) "col", NULL
5744 };
5745
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
5747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5749 arg2 = (int) SWIG_AsInt(obj1);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 arg3 = (int) SWIG_AsInt(obj2);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 }
5760 resultobj = SWIG_FromLong((long)result);
5761 return resultobj;
5762 fail:
5763 return NULL;
5764 }
5765
5766
5767 static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5768 PyObject *resultobj;
5769 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5770 int arg2 ;
5771 int arg3 ;
5772 double result;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 PyObject * obj2 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self",(char *) "row",(char *) "col", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5783 arg2 = (int) SWIG_AsInt(obj1);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 arg3 = (int) SWIG_AsInt(obj2);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 resultobj = SWIG_FromDouble((double)result);
5795 return resultobj;
5796 fail:
5797 return NULL;
5798 }
5799
5800
5801 static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5804 int arg2 ;
5805 int arg3 ;
5806 bool result;
5807 PyObject * obj0 = 0 ;
5808 PyObject * obj1 = 0 ;
5809 PyObject * obj2 = 0 ;
5810 char *kwnames[] = {
5811 (char *) "self",(char *) "row",(char *) "col", NULL
5812 };
5813
5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
5815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5817 arg2 = (int) SWIG_AsInt(obj1);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 arg3 = (int) SWIG_AsInt(obj2);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 {
5829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5830 }
5831 return resultobj;
5832 fail:
5833 return NULL;
5834 }
5835
5836
5837 static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj;
5839 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5840 int arg2 ;
5841 int arg3 ;
5842 long arg4 ;
5843 PyObject * obj0 = 0 ;
5844 PyObject * obj1 = 0 ;
5845 PyObject * obj2 = 0 ;
5846 PyObject * obj3 = 0 ;
5847 char *kwnames[] = {
5848 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5849 };
5850
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5854 arg2 = (int) SWIG_AsInt(obj1);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 arg3 = (int) SWIG_AsInt(obj2);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 arg4 = (long) SWIG_AsLong(obj3);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 (arg1)->SetValueAsLong(arg2,arg3,arg4);
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 Py_INCREF(Py_None); resultobj = Py_None;
5868 return resultobj;
5869 fail:
5870 return NULL;
5871 }
5872
5873
5874 static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5875 PyObject *resultobj;
5876 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5877 int arg2 ;
5878 int arg3 ;
5879 double arg4 ;
5880 PyObject * obj0 = 0 ;
5881 PyObject * obj1 = 0 ;
5882 PyObject * obj2 = 0 ;
5883 PyObject * obj3 = 0 ;
5884 char *kwnames[] = {
5885 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5891 arg2 = (int) SWIG_AsInt(obj1);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 arg3 = (int) SWIG_AsInt(obj2);
5894 if (PyErr_Occurred()) SWIG_fail;
5895 arg4 = (double) SWIG_AsDouble(obj3);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
5900
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 Py_INCREF(Py_None); resultobj = Py_None;
5905 return resultobj;
5906 fail:
5907 return NULL;
5908 }
5909
5910
5911 static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj;
5913 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5914 int arg2 ;
5915 int arg3 ;
5916 bool arg4 ;
5917 PyObject * obj0 = 0 ;
5918 PyObject * obj1 = 0 ;
5919 PyObject * obj2 = 0 ;
5920 PyObject * obj3 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5928 arg2 = (int) SWIG_AsInt(obj1);
5929 if (PyErr_Occurred()) SWIG_fail;
5930 arg3 = (int) SWIG_AsInt(obj2);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 arg4 = (bool) SWIG_AsBool(obj3);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 (arg1)->SetValueAsBool(arg2,arg3,arg4);
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 Py_INCREF(Py_None); resultobj = Py_None;
5942 return resultobj;
5943 fail:
5944 return NULL;
5945 }
5946
5947
5948 static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject *resultobj;
5950 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5951 PyObject * obj0 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 (arg1)->Clear();
5962
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 Py_INCREF(Py_None); resultobj = Py_None;
5967 return resultobj;
5968 fail:
5969 return NULL;
5970 }
5971
5972
5973 static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject *resultobj;
5975 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5976 size_t arg2 = (size_t) 0 ;
5977 size_t arg3 = (size_t) 1 ;
5978 bool result;
5979 PyObject * obj0 = 0 ;
5980 PyObject * obj1 = 0 ;
5981 PyObject * obj2 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
5987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5989 if (obj1) {
5990 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 }
5993 if (obj2) {
5994 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 result = (bool)(arg1)->InsertRows(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_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6016 size_t arg2 = (size_t) 1 ;
6017 bool result;
6018 PyObject * obj0 = 0 ;
6019 PyObject * obj1 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self",(char *) "numRows", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
6025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6027 if (obj1) {
6028 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 result = (bool)(arg1)->AppendRows(arg2);
6034
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 {
6039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6040 }
6041 return resultobj;
6042 fail:
6043 return NULL;
6044 }
6045
6046
6047 static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6048 PyObject *resultobj;
6049 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6050 size_t arg2 = (size_t) 0 ;
6051 size_t arg3 = (size_t) 1 ;
6052 bool result;
6053 PyObject * obj0 = 0 ;
6054 PyObject * obj1 = 0 ;
6055 PyObject * obj2 = 0 ;
6056 char *kwnames[] = {
6057 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6058 };
6059
6060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6063 if (obj1) {
6064 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 if (obj2) {
6068 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 }
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (bool)(arg1)->DeleteRows(arg2,arg3);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 {
6079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6080 }
6081 return resultobj;
6082 fail:
6083 return NULL;
6084 }
6085
6086
6087 static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj;
6089 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6090 size_t arg2 = (size_t) 0 ;
6091 size_t arg3 = (size_t) 1 ;
6092 bool result;
6093 PyObject * obj0 = 0 ;
6094 PyObject * obj1 = 0 ;
6095 PyObject * obj2 = 0 ;
6096 char *kwnames[] = {
6097 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6098 };
6099
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6103 if (obj1) {
6104 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 if (obj2) {
6108 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 result = (bool)(arg1)->InsertCols(arg2,arg3);
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 {
6119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6120 }
6121 return resultobj;
6122 fail:
6123 return NULL;
6124 }
6125
6126
6127 static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj;
6129 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6130 size_t arg2 = (size_t) 1 ;
6131 bool result;
6132 PyObject * obj0 = 0 ;
6133 PyObject * obj1 = 0 ;
6134 char *kwnames[] = {
6135 (char *) "self",(char *) "numCols", NULL
6136 };
6137
6138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
6139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6141 if (obj1) {
6142 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6143 if (PyErr_Occurred()) SWIG_fail;
6144 }
6145 {
6146 PyThreadState* __tstate = wxPyBeginAllowThreads();
6147 result = (bool)(arg1)->AppendCols(arg2);
6148
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
6152 {
6153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6154 }
6155 return resultobj;
6156 fail:
6157 return NULL;
6158 }
6159
6160
6161 static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6162 PyObject *resultobj;
6163 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6164 size_t arg2 = (size_t) 0 ;
6165 size_t arg3 = (size_t) 1 ;
6166 bool result;
6167 PyObject * obj0 = 0 ;
6168 PyObject * obj1 = 0 ;
6169 PyObject * obj2 = 0 ;
6170 char *kwnames[] = {
6171 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6172 };
6173
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6177 if (obj1) {
6178 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 if (obj2) {
6182 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6183 if (PyErr_Occurred()) SWIG_fail;
6184 }
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 result = (bool)(arg1)->DeleteCols(arg2,arg3);
6188
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
6192 {
6193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6194 }
6195 return resultobj;
6196 fail:
6197 return NULL;
6198 }
6199
6200
6201 static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject *resultobj;
6203 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6204 int arg2 ;
6205 wxString result;
6206 PyObject * obj0 = 0 ;
6207 PyObject * obj1 = 0 ;
6208 char *kwnames[] = {
6209 (char *) "self",(char *) "row", NULL
6210 };
6211
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
6213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6215 arg2 = (int) SWIG_AsInt(obj1);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 result = (arg1)->GetRowLabelValue(arg2);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 {
6225 #if wxUSE_UNICODE
6226 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6227 #else
6228 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6229 #endif
6230 }
6231 return resultobj;
6232 fail:
6233 return NULL;
6234 }
6235
6236
6237 static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6238 PyObject *resultobj;
6239 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6240 int arg2 ;
6241 wxString result;
6242 PyObject * obj0 = 0 ;
6243 PyObject * obj1 = 0 ;
6244 char *kwnames[] = {
6245 (char *) "self",(char *) "col", NULL
6246 };
6247
6248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
6249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6251 arg2 = (int) SWIG_AsInt(obj1);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 {
6254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6255 result = (arg1)->GetColLabelValue(arg2);
6256
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
6260 {
6261 #if wxUSE_UNICODE
6262 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6263 #else
6264 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6265 #endif
6266 }
6267 return resultobj;
6268 fail:
6269 return NULL;
6270 }
6271
6272
6273 static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6274 PyObject *resultobj;
6275 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6276 int arg2 ;
6277 wxString *arg3 = 0 ;
6278 bool temp3 = False ;
6279 PyObject * obj0 = 0 ;
6280 PyObject * obj1 = 0 ;
6281 PyObject * obj2 = 0 ;
6282 char *kwnames[] = {
6283 (char *) "self",(char *) "row",(char *) "value", NULL
6284 };
6285
6286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
6287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6289 arg2 = (int) SWIG_AsInt(obj1);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 {
6292 arg3 = wxString_in_helper(obj2);
6293 if (arg3 == NULL) SWIG_fail;
6294 temp3 = True;
6295 }
6296 {
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 Py_INCREF(Py_None); resultobj = Py_None;
6304 {
6305 if (temp3)
6306 delete arg3;
6307 }
6308 return resultobj;
6309 fail:
6310 {
6311 if (temp3)
6312 delete arg3;
6313 }
6314 return NULL;
6315 }
6316
6317
6318 static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6319 PyObject *resultobj;
6320 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6321 int arg2 ;
6322 wxString *arg3 = 0 ;
6323 bool temp3 = False ;
6324 PyObject * obj0 = 0 ;
6325 PyObject * obj1 = 0 ;
6326 PyObject * obj2 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self",(char *) "col",(char *) "value", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6334 arg2 = (int) SWIG_AsInt(obj1);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 {
6337 arg3 = wxString_in_helper(obj2);
6338 if (arg3 == NULL) SWIG_fail;
6339 temp3 = True;
6340 }
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 Py_INCREF(Py_None); resultobj = Py_None;
6349 {
6350 if (temp3)
6351 delete arg3;
6352 }
6353 return resultobj;
6354 fail:
6355 {
6356 if (temp3)
6357 delete arg3;
6358 }
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6366 bool result;
6367 PyObject * obj0 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (bool)(arg1)->CanHaveAttributes();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 {
6383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6384 }
6385 return resultobj;
6386 fail:
6387 return NULL;
6388 }
6389
6390
6391 static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj;
6393 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6394 int arg2 ;
6395 int arg3 ;
6396 int arg4 ;
6397 wxGridCellAttr *result;
6398 PyObject * obj0 = 0 ;
6399 PyObject * obj1 = 0 ;
6400 PyObject * obj2 = 0 ;
6401 PyObject * obj3 = 0 ;
6402 char *kwnames[] = {
6403 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6409 arg2 = (int) SWIG_AsInt(obj1);
6410 if (PyErr_Occurred()) SWIG_fail;
6411 arg3 = (int) SWIG_AsInt(obj2);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 {
6423 resultobj = wxPyMake_wxGridCellAttr(result);
6424 }
6425 return resultobj;
6426 fail:
6427 return NULL;
6428 }
6429
6430
6431 static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6432 PyObject *resultobj;
6433 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6434 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6435 int arg3 ;
6436 int arg4 ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 PyObject * obj2 = 0 ;
6440 PyObject * obj3 = 0 ;
6441 char *kwnames[] = {
6442 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6443 };
6444
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6450 arg3 = (int) SWIG_AsInt(obj2);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 arg4 = (int) SWIG_AsInt(obj3);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 (arg1)->SetAttr(arg2,arg3,arg4);
6457
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
6461 Py_INCREF(Py_None); resultobj = Py_None;
6462 return resultobj;
6463 fail:
6464 return NULL;
6465 }
6466
6467
6468 static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6471 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6472 int arg3 ;
6473 PyObject * obj0 = 0 ;
6474 PyObject * obj1 = 0 ;
6475 PyObject * obj2 = 0 ;
6476 char *kwnames[] = {
6477 (char *) "self",(char *) "attr",(char *) "row", NULL
6478 };
6479
6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
6481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6485 arg3 = (int) SWIG_AsInt(obj2);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 (arg1)->SetRowAttr(arg2,arg3);
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 Py_INCREF(Py_None); resultobj = Py_None;
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject *resultobj;
6503 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6504 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6505 int arg3 ;
6506 PyObject * obj0 = 0 ;
6507 PyObject * obj1 = 0 ;
6508 PyObject * obj2 = 0 ;
6509 char *kwnames[] = {
6510 (char *) "self",(char *) "attr",(char *) "col", NULL
6511 };
6512
6513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
6514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6518 arg3 = (int) SWIG_AsInt(obj2);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 (arg1)->SetColAttr(arg2,arg3);
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 Py_INCREF(Py_None); resultobj = Py_None;
6528 return resultobj;
6529 fail:
6530 return NULL;
6531 }
6532
6533
6534 static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) {
6535 PyObject *obj;
6536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6537 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
6538 Py_INCREF(obj);
6539 return Py_BuildValue((char *)"");
6540 }
6541 static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj;
6543 wxPyGridTableBase *result;
6544 char *kwnames[] = {
6545 NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 result = (wxPyGridTableBase *)new wxPyGridTableBase();
6552
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
6556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridTableBase, 1);
6557 return resultobj;
6558 fail:
6559 return NULL;
6560 }
6561
6562
6563 static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6566 PyObject *arg2 = (PyObject *) 0 ;
6567 PyObject *arg3 = (PyObject *) 0 ;
6568 PyObject * obj0 = 0 ;
6569 PyObject * obj1 = 0 ;
6570 PyObject * obj2 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "self",(char *) "self",(char *) "_class", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6578 arg2 = obj1;
6579 arg3 = obj2;
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 (arg1)->_setCallbackInfo(arg2,arg3);
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 Py_INCREF(Py_None); resultobj = Py_None;
6588 return resultobj;
6589 fail:
6590 return NULL;
6591 }
6592
6593
6594 static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6595 PyObject *resultobj;
6596 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6597 PyObject * obj0 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
6603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 wxPyGridTableBase_Destroy(arg1);
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 Py_INCREF(Py_None); resultobj = Py_None;
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj;
6621 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6622 int arg2 ;
6623 int arg3 ;
6624 wxString result;
6625 PyObject * obj0 = 0 ;
6626 PyObject * obj1 = 0 ;
6627 PyObject * obj2 = 0 ;
6628 char *kwnames[] = {
6629 (char *) "self",(char *) "row",(char *) "col", NULL
6630 };
6631
6632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
6633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6635 arg2 = (int) SWIG_AsInt(obj1);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 arg3 = (int) SWIG_AsInt(obj2);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (arg1)->base_GetTypeName(arg2,arg3);
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 {
6647 #if wxUSE_UNICODE
6648 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6649 #else
6650 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6651 #endif
6652 }
6653 return resultobj;
6654 fail:
6655 return NULL;
6656 }
6657
6658
6659 static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj;
6661 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6662 int arg2 ;
6663 int arg3 ;
6664 wxString *arg4 = 0 ;
6665 bool result;
6666 bool temp4 = False ;
6667 PyObject * obj0 = 0 ;
6668 PyObject * obj1 = 0 ;
6669 PyObject * obj2 = 0 ;
6670 PyObject * obj3 = 0 ;
6671 char *kwnames[] = {
6672 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6673 };
6674
6675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6678 arg2 = (int) SWIG_AsInt(obj1);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 arg3 = (int) SWIG_AsInt(obj2);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 {
6683 arg4 = wxString_in_helper(obj3);
6684 if (arg4 == NULL) SWIG_fail;
6685 temp4 = True;
6686 }
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6696 }
6697 {
6698 if (temp4)
6699 delete arg4;
6700 }
6701 return resultobj;
6702 fail:
6703 {
6704 if (temp4)
6705 delete arg4;
6706 }
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6714 int arg2 ;
6715 int arg3 ;
6716 wxString *arg4 = 0 ;
6717 bool result;
6718 bool temp4 = False ;
6719 PyObject * obj0 = 0 ;
6720 PyObject * obj1 = 0 ;
6721 PyObject * obj2 = 0 ;
6722 PyObject * obj3 = 0 ;
6723 char *kwnames[] = {
6724 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6725 };
6726
6727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6730 arg2 = (int) SWIG_AsInt(obj1);
6731 if (PyErr_Occurred()) SWIG_fail;
6732 arg3 = (int) SWIG_AsInt(obj2);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 {
6735 arg4 = wxString_in_helper(obj3);
6736 if (arg4 == NULL) SWIG_fail;
6737 temp4 = True;
6738 }
6739 {
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6742
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 {
6747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6748 }
6749 {
6750 if (temp4)
6751 delete arg4;
6752 }
6753 return resultobj;
6754 fail:
6755 {
6756 if (temp4)
6757 delete arg4;
6758 }
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6766 PyObject * obj0 = 0 ;
6767 char *kwnames[] = {
6768 (char *) "self", NULL
6769 };
6770
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
6772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 (arg1)->base_Clear();
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 Py_INCREF(Py_None); resultobj = Py_None;
6782 return resultobj;
6783 fail:
6784 return NULL;
6785 }
6786
6787
6788 static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6789 PyObject *resultobj;
6790 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6791 size_t arg2 = (size_t) 0 ;
6792 size_t arg3 = (size_t) 1 ;
6793 bool result;
6794 PyObject * obj0 = 0 ;
6795 PyObject * obj1 = 0 ;
6796 PyObject * obj2 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6804 if (obj1) {
6805 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6806 if (PyErr_Occurred()) SWIG_fail;
6807 }
6808 if (obj2) {
6809 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 {
6820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6821 }
6822 return resultobj;
6823 fail:
6824 return NULL;
6825 }
6826
6827
6828 static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6829 PyObject *resultobj;
6830 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6831 size_t arg2 = (size_t) 1 ;
6832 bool result;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "numRows", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
6840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6842 if (obj1) {
6843 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 }
6846 {
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 result = (bool)(arg1)->base_AppendRows(arg2);
6849
6850 wxPyEndAllowThreads(__tstate);
6851 if (PyErr_Occurred()) SWIG_fail;
6852 }
6853 {
6854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6855 }
6856 return resultobj;
6857 fail:
6858 return NULL;
6859 }
6860
6861
6862 static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj;
6864 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6865 size_t arg2 = (size_t) 0 ;
6866 size_t arg3 = (size_t) 1 ;
6867 bool result;
6868 PyObject * obj0 = 0 ;
6869 PyObject * obj1 = 0 ;
6870 PyObject * obj2 = 0 ;
6871 char *kwnames[] = {
6872 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6873 };
6874
6875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6878 if (obj1) {
6879 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 if (obj2) {
6883 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 {
6887 PyThreadState* __tstate = wxPyBeginAllowThreads();
6888 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
6889
6890 wxPyEndAllowThreads(__tstate);
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
6893 {
6894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6895 }
6896 return resultobj;
6897 fail:
6898 return NULL;
6899 }
6900
6901
6902 static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6903 PyObject *resultobj;
6904 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6905 size_t arg2 = (size_t) 0 ;
6906 size_t arg3 = (size_t) 1 ;
6907 bool result;
6908 PyObject * obj0 = 0 ;
6909 PyObject * obj1 = 0 ;
6910 PyObject * obj2 = 0 ;
6911 char *kwnames[] = {
6912 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6913 };
6914
6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6918 if (obj1) {
6919 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6920 if (PyErr_Occurred()) SWIG_fail;
6921 }
6922 if (obj2) {
6923 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 {
6927 PyThreadState* __tstate = wxPyBeginAllowThreads();
6928 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
6929
6930 wxPyEndAllowThreads(__tstate);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
6933 {
6934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6935 }
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6945 size_t arg2 = (size_t) 1 ;
6946 bool result;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self",(char *) "numCols", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
6954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6956 if (obj1) {
6957 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 }
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 result = (bool)(arg1)->base_AppendCols(arg2);
6963
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 {
6968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6969 }
6970 return resultobj;
6971 fail:
6972 return NULL;
6973 }
6974
6975
6976 static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6977 PyObject *resultobj;
6978 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6979 size_t arg2 = (size_t) 0 ;
6980 size_t arg3 = (size_t) 1 ;
6981 bool result;
6982 PyObject * obj0 = 0 ;
6983 PyObject * obj1 = 0 ;
6984 PyObject * obj2 = 0 ;
6985 char *kwnames[] = {
6986 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6987 };
6988
6989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6992 if (obj1) {
6993 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 }
6996 if (obj2) {
6997 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 {
7008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7009 }
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj;
7018 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7019 int arg2 ;
7020 wxString result;
7021 PyObject * obj0 = 0 ;
7022 PyObject * obj1 = 0 ;
7023 char *kwnames[] = {
7024 (char *) "self",(char *) "row", NULL
7025 };
7026
7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
7028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7030 arg2 = (int) SWIG_AsInt(obj1);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 result = (arg1)->base_GetRowLabelValue(arg2);
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 {
7040 #if wxUSE_UNICODE
7041 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7042 #else
7043 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7044 #endif
7045 }
7046 return resultobj;
7047 fail:
7048 return NULL;
7049 }
7050
7051
7052 static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject *resultobj;
7054 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7055 int arg2 ;
7056 wxString result;
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self",(char *) "col", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7066 arg2 = (int) SWIG_AsInt(obj1);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 result = (arg1)->base_GetColLabelValue(arg2);
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 {
7076 #if wxUSE_UNICODE
7077 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7078 #else
7079 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7080 #endif
7081 }
7082 return resultobj;
7083 fail:
7084 return NULL;
7085 }
7086
7087
7088 static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7089 PyObject *resultobj;
7090 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7091 int arg2 ;
7092 wxString *arg3 = 0 ;
7093 bool temp3 = False ;
7094 PyObject * obj0 = 0 ;
7095 PyObject * obj1 = 0 ;
7096 PyObject * obj2 = 0 ;
7097 char *kwnames[] = {
7098 (char *) "self",(char *) "row",(char *) "value", NULL
7099 };
7100
7101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
7102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7104 arg2 = (int) SWIG_AsInt(obj1);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 {
7107 arg3 = wxString_in_helper(obj2);
7108 if (arg3 == NULL) SWIG_fail;
7109 temp3 = True;
7110 }
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 Py_INCREF(Py_None); resultobj = Py_None;
7119 {
7120 if (temp3)
7121 delete arg3;
7122 }
7123 return resultobj;
7124 fail:
7125 {
7126 if (temp3)
7127 delete arg3;
7128 }
7129 return NULL;
7130 }
7131
7132
7133 static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7136 int arg2 ;
7137 wxString *arg3 = 0 ;
7138 bool temp3 = False ;
7139 PyObject * obj0 = 0 ;
7140 PyObject * obj1 = 0 ;
7141 PyObject * obj2 = 0 ;
7142 char *kwnames[] = {
7143 (char *) "self",(char *) "col",(char *) "value", NULL
7144 };
7145
7146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
7147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7149 arg2 = (int) SWIG_AsInt(obj1);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 {
7152 arg3 = wxString_in_helper(obj2);
7153 if (arg3 == NULL) SWIG_fail;
7154 temp3 = True;
7155 }
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
7159
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 Py_INCREF(Py_None); resultobj = Py_None;
7164 {
7165 if (temp3)
7166 delete arg3;
7167 }
7168 return resultobj;
7169 fail:
7170 {
7171 if (temp3)
7172 delete arg3;
7173 }
7174 return NULL;
7175 }
7176
7177
7178 static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj;
7180 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7181 bool result;
7182 PyObject * obj0 = 0 ;
7183 char *kwnames[] = {
7184 (char *) "self", NULL
7185 };
7186
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
7188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 result = (bool)(arg1)->base_CanHaveAttributes();
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 {
7198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7199 }
7200 return resultobj;
7201 fail:
7202 return NULL;
7203 }
7204
7205
7206 static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7209 int arg2 ;
7210 int arg3 ;
7211 int arg4 ;
7212 wxGridCellAttr *result;
7213 PyObject * obj0 = 0 ;
7214 PyObject * obj1 = 0 ;
7215 PyObject * obj2 = 0 ;
7216 PyObject * obj3 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7224 arg2 = (int) SWIG_AsInt(obj1);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 arg3 = (int) SWIG_AsInt(obj2);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 {
7238 resultobj = wxPyMake_wxGridCellAttr(result);
7239 }
7240 return resultobj;
7241 fail:
7242 return NULL;
7243 }
7244
7245
7246 static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj;
7248 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7249 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7250 int arg3 ;
7251 int arg4 ;
7252 PyObject * obj0 = 0 ;
7253 PyObject * obj1 = 0 ;
7254 PyObject * obj2 = 0 ;
7255 PyObject * obj3 = 0 ;
7256 char *kwnames[] = {
7257 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7258 };
7259
7260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7265 arg3 = (int) SWIG_AsInt(obj2);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 arg4 = (int) SWIG_AsInt(obj3);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 (arg1)->base_SetAttr(arg2,arg3,arg4);
7272
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 Py_INCREF(Py_None); resultobj = Py_None;
7277 return resultobj;
7278 fail:
7279 return NULL;
7280 }
7281
7282
7283 static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7284 PyObject *resultobj;
7285 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7286 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7287 int arg3 ;
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 PyObject * obj2 = 0 ;
7291 char *kwnames[] = {
7292 (char *) "self",(char *) "attr",(char *) "row", NULL
7293 };
7294
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
7296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7300 arg3 = (int) SWIG_AsInt(obj2);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 (arg1)->base_SetRowAttr(arg2,arg3);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 Py_INCREF(Py_None); resultobj = Py_None;
7310 return resultobj;
7311 fail:
7312 return NULL;
7313 }
7314
7315
7316 static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj;
7318 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7319 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7320 int arg3 ;
7321 PyObject * obj0 = 0 ;
7322 PyObject * obj1 = 0 ;
7323 PyObject * obj2 = 0 ;
7324 char *kwnames[] = {
7325 (char *) "self",(char *) "attr",(char *) "col", NULL
7326 };
7327
7328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
7329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7333 arg3 = (int) SWIG_AsInt(obj2);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 {
7336 PyThreadState* __tstate = wxPyBeginAllowThreads();
7337 (arg1)->base_SetColAttr(arg2,arg3);
7338
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
7342 Py_INCREF(Py_None); resultobj = Py_None;
7343 return resultobj;
7344 fail:
7345 return NULL;
7346 }
7347
7348
7349 static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) {
7350 PyObject *obj;
7351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7352 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
7353 Py_INCREF(obj);
7354 return Py_BuildValue((char *)"");
7355 }
7356 static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7357 PyObject *resultobj;
7358 int arg1 = (int) 0 ;
7359 int arg2 = (int) 0 ;
7360 wxGridStringTable *result;
7361 PyObject * obj0 = 0 ;
7362 PyObject * obj1 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "numRows",(char *) "numCols", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
7368 if (obj0) {
7369 arg1 = (int) SWIG_AsInt(obj0);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 }
7372 if (obj1) {
7373 arg2 = (int) SWIG_AsInt(obj1);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridStringTable, 1);
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) {
7391 PyObject *obj;
7392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7393 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
7394 Py_INCREF(obj);
7395 return Py_BuildValue((char *)"");
7396 }
7397 static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7398 PyObject *resultobj;
7399 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7400 int arg2 ;
7401 int arg3 = (int) -1 ;
7402 int arg4 = (int) -1 ;
7403 wxGridTableMessage *result;
7404 PyObject * obj0 = 0 ;
7405 PyObject * obj1 = 0 ;
7406 PyObject * obj2 = 0 ;
7407 PyObject * obj3 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
7414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7415 arg2 = (int) SWIG_AsInt(obj1);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 if (obj2) {
7418 arg3 = (int) SWIG_AsInt(obj2);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 }
7421 if (obj3) {
7422 arg4 = (int) SWIG_AsInt(obj3);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridTableMessage, 1);
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7442 PyObject * obj0 = 0 ;
7443 char *kwnames[] = {
7444 (char *) "self", NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
7448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 delete arg1;
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
7457 Py_INCREF(Py_None); resultobj = Py_None;
7458 return resultobj;
7459 fail:
7460 return NULL;
7461 }
7462
7463
7464 static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7465 PyObject *resultobj;
7466 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7467 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7468 PyObject * obj0 = 0 ;
7469 PyObject * obj1 = 0 ;
7470 char *kwnames[] = {
7471 (char *) "self",(char *) "table", NULL
7472 };
7473
7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
7475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
7478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 (arg1)->SetTableObject(arg2);
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 Py_INCREF(Py_None); resultobj = Py_None;
7487 return resultobj;
7488 fail:
7489 return NULL;
7490 }
7491
7492
7493 static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7494 PyObject *resultobj;
7495 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7496 wxGridTableBase *result;
7497 PyObject * obj0 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "self", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
7503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 {
7513 resultobj = wxPyMake_wxGridTableBase(result);
7514 }
7515 return resultobj;
7516 fail:
7517 return NULL;
7518 }
7519
7520
7521 static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7524 int arg2 ;
7525 PyObject * obj0 = 0 ;
7526 PyObject * obj1 = 0 ;
7527 char *kwnames[] = {
7528 (char *) "self",(char *) "id", NULL
7529 };
7530
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
7532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7534 arg2 = (int) SWIG_AsInt(obj1);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 (arg1)->SetId(arg2);
7539
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
7543 Py_INCREF(Py_None); resultobj = Py_None;
7544 return resultobj;
7545 fail:
7546 return NULL;
7547 }
7548
7549
7550 static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7551 PyObject *resultobj;
7552 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7553 int result;
7554 PyObject * obj0 = 0 ;
7555 char *kwnames[] = {
7556 (char *) "self", NULL
7557 };
7558
7559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
7560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 result = (int)(arg1)->GetId();
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 resultobj = SWIG_FromInt((int)result);
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7579 int arg2 ;
7580 PyObject * obj0 = 0 ;
7581 PyObject * obj1 = 0 ;
7582 char *kwnames[] = {
7583 (char *) "self",(char *) "comInt1", NULL
7584 };
7585
7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
7587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7589 arg2 = (int) SWIG_AsInt(obj1);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 (arg1)->SetCommandInt(arg2);
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 Py_INCREF(Py_None); resultobj = Py_None;
7599 return resultobj;
7600 fail:
7601 return NULL;
7602 }
7603
7604
7605 static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7606 PyObject *resultobj;
7607 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7608 int result;
7609 PyObject * obj0 = 0 ;
7610 char *kwnames[] = {
7611 (char *) "self", NULL
7612 };
7613
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
7615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 result = (int)(arg1)->GetCommandInt();
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 resultobj = SWIG_FromInt((int)result);
7625 return resultobj;
7626 fail:
7627 return NULL;
7628 }
7629
7630
7631 static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj;
7633 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7634 int arg2 ;
7635 PyObject * obj0 = 0 ;
7636 PyObject * obj1 = 0 ;
7637 char *kwnames[] = {
7638 (char *) "self",(char *) "comInt2", NULL
7639 };
7640
7641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
7642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7644 arg2 = (int) SWIG_AsInt(obj1);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 (arg1)->SetCommandInt2(arg2);
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 Py_INCREF(Py_None); resultobj = Py_None;
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7663 int result;
7664 PyObject * obj0 = 0 ;
7665 char *kwnames[] = {
7666 (char *) "self", NULL
7667 };
7668
7669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
7670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 result = (int)(arg1)->GetCommandInt2();
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 resultobj = SWIG_FromInt((int)result);
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) {
7687 PyObject *obj;
7688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7689 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
7690 Py_INCREF(obj);
7691 return Py_BuildValue((char *)"");
7692 }
7693 static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 int arg1 = (int) -1 ;
7696 int arg2 = (int) -1 ;
7697 wxGridCellCoords *result;
7698 PyObject * obj0 = 0 ;
7699 PyObject * obj1 = 0 ;
7700 char *kwnames[] = {
7701 (char *) "r",(char *) "c", NULL
7702 };
7703
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
7705 if (obj0) {
7706 arg1 = (int) SWIG_AsInt(obj0);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 if (obj1) {
7710 arg2 = (int) SWIG_AsInt(obj1);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellCoords, 1);
7721 return resultobj;
7722 fail:
7723 return NULL;
7724 }
7725
7726
7727 static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj;
7729 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7730 PyObject * obj0 = 0 ;
7731 char *kwnames[] = {
7732 (char *) "self", NULL
7733 };
7734
7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
7736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 delete arg1;
7741
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 Py_INCREF(Py_None); resultobj = Py_None;
7746 return resultobj;
7747 fail:
7748 return NULL;
7749 }
7750
7751
7752 static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7753 PyObject *resultobj;
7754 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7755 int result;
7756 PyObject * obj0 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "self", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
7762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
7771 resultobj = SWIG_FromInt((int)result);
7772 return resultobj;
7773 fail:
7774 return NULL;
7775 }
7776
7777
7778 static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7779 PyObject *resultobj;
7780 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7781 int arg2 ;
7782 PyObject * obj0 = 0 ;
7783 PyObject * obj1 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self",(char *) "n", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
7789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7791 arg2 = (int) SWIG_AsInt(obj1);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 (arg1)->SetRow(arg2);
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 Py_INCREF(Py_None); resultobj = Py_None;
7801 return resultobj;
7802 fail:
7803 return NULL;
7804 }
7805
7806
7807 static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj;
7809 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7810 int result;
7811 PyObject * obj0 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 resultobj = SWIG_FromInt((int)result);
7827 return resultobj;
7828 fail:
7829 return NULL;
7830 }
7831
7832
7833 static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj;
7835 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7836 int arg2 ;
7837 PyObject * obj0 = 0 ;
7838 PyObject * obj1 = 0 ;
7839 char *kwnames[] = {
7840 (char *) "self",(char *) "n", NULL
7841 };
7842
7843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
7844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7846 arg2 = (int) SWIG_AsInt(obj1);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 (arg1)->SetCol(arg2);
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 Py_INCREF(Py_None); resultobj = Py_None;
7856 return resultobj;
7857 fail:
7858 return NULL;
7859 }
7860
7861
7862 static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj;
7864 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7865 int arg2 ;
7866 int arg3 ;
7867 PyObject * obj0 = 0 ;
7868 PyObject * obj1 = 0 ;
7869 PyObject * obj2 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "self",(char *) "row",(char *) "col", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
7875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7877 arg2 = (int) SWIG_AsInt(obj1);
7878 if (PyErr_Occurred()) SWIG_fail;
7879 arg3 = (int) SWIG_AsInt(obj2);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 (arg1)->Set(arg2,arg3);
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 Py_INCREF(Py_None); resultobj = Py_None;
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj;
7897 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7898 wxGridCellCoords *arg2 = 0 ;
7899 bool result;
7900 wxGridCellCoords temp2 ;
7901 PyObject * obj0 = 0 ;
7902 PyObject * obj1 = 0 ;
7903 char *kwnames[] = {
7904 (char *) "self",(char *) "other", NULL
7905 };
7906
7907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
7908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7910 {
7911 arg2 = &temp2;
7912 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
7913 }
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
7921 {
7922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7923 }
7924 return resultobj;
7925 fail:
7926 return NULL;
7927 }
7928
7929
7930 static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj;
7932 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7933 wxGridCellCoords *arg2 = 0 ;
7934 bool result;
7935 wxGridCellCoords temp2 ;
7936 PyObject * obj0 = 0 ;
7937 PyObject * obj1 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self",(char *) "other", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
7943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7945 {
7946 arg2 = &temp2;
7947 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
7948 }
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 {
7957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7958 }
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_GridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7968 PyObject *result;
7969 PyObject * obj0 = 0 ;
7970 char *kwnames[] = {
7971 (char *) "self", NULL
7972 };
7973
7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_asTuple",kwnames,&obj0)) goto fail;
7975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 result = (PyObject *)wxGridCellCoords_asTuple(arg1);
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 resultobj = result;
7985 return resultobj;
7986 fail:
7987 return NULL;
7988 }
7989
7990
7991 static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
7992 PyObject *obj;
7993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7994 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
7995 Py_INCREF(obj);
7996 return Py_BuildValue((char *)"");
7997 }
7998 static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxWindow *arg1 = (wxWindow *) 0 ;
8001 int arg2 ;
8002 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8003 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8004 wxSize const &arg4_defvalue = wxDefaultSize ;
8005 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8006 long arg5 = (long) wxWANTS_CHARS ;
8007 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8008 wxString *arg6 = (wxString *) &arg6_defvalue ;
8009 wxGrid *result;
8010 wxPoint temp3 ;
8011 wxSize temp4 ;
8012 bool temp6 = False ;
8013 PyObject * obj0 = 0 ;
8014 PyObject * obj1 = 0 ;
8015 PyObject * obj2 = 0 ;
8016 PyObject * obj3 = 0 ;
8017 PyObject * obj4 = 0 ;
8018 PyObject * obj5 = 0 ;
8019 char *kwnames[] = {
8020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8021 };
8022
8023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8026 arg2 = (int) SWIG_AsInt(obj1);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 if (obj2) {
8029 {
8030 arg3 = &temp3;
8031 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8032 }
8033 }
8034 if (obj3) {
8035 {
8036 arg4 = &temp4;
8037 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8038 }
8039 }
8040 if (obj4) {
8041 arg5 = (long) SWIG_AsLong(obj4);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 if (obj5) {
8045 {
8046 arg6 = wxString_in_helper(obj5);
8047 if (arg6 == NULL) SWIG_fail;
8048 temp6 = True;
8049 }
8050 }
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 {
8059 resultobj = wxPyMake_wxObject(result);
8060 }
8061 {
8062 if (temp6)
8063 delete arg6;
8064 }
8065 return resultobj;
8066 fail:
8067 {
8068 if (temp6)
8069 delete arg6;
8070 }
8071 return NULL;
8072 }
8073
8074
8075 static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8076 PyObject *resultobj;
8077 wxGrid *arg1 = (wxGrid *) 0 ;
8078 int arg2 ;
8079 int arg3 ;
8080 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8081 bool result;
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 PyObject * obj2 = 0 ;
8085 PyObject * obj3 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8093 arg2 = (int) SWIG_AsInt(obj1);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 arg3 = (int) SWIG_AsInt(obj2);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 if (obj3) {
8098 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
8104
8105 wxPyEndAllowThreads(__tstate);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 }
8108 {
8109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8110 }
8111 return resultobj;
8112 fail:
8113 return NULL;
8114 }
8115
8116
8117 static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxGrid *arg1 = (wxGrid *) 0 ;
8120 WXGRIDSELECTIONMODES arg2 ;
8121 PyObject * obj0 = 0 ;
8122 PyObject * obj1 = 0 ;
8123 char *kwnames[] = {
8124 (char *) "self",(char *) "selmode", NULL
8125 };
8126
8127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
8128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8130 arg2 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj1);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 (arg1)->SetSelectionMode(arg2);
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 Py_INCREF(Py_None); resultobj = Py_None;
8140 return resultobj;
8141 fail:
8142 return NULL;
8143 }
8144
8145
8146 static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxGrid *arg1 = (wxGrid *) 0 ;
8149 WXGRIDSELECTIONMODES result;
8150 PyObject * obj0 = 0 ;
8151 char *kwnames[] = {
8152 (char *) "self", NULL
8153 };
8154
8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
8156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8158 {
8159 PyThreadState* __tstate = wxPyBeginAllowThreads();
8160 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
8161
8162 wxPyEndAllowThreads(__tstate);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 }
8165 resultobj = SWIG_FromInt((int)result);
8166 return resultobj;
8167 fail:
8168 return NULL;
8169 }
8170
8171
8172 static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8173 PyObject *resultobj;
8174 wxGrid *arg1 = (wxGrid *) 0 ;
8175 int result;
8176 PyObject * obj0 = 0 ;
8177 char *kwnames[] = {
8178 (char *) "self", NULL
8179 };
8180
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
8182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 result = (int)(arg1)->GetNumberRows();
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 resultobj = SWIG_FromInt((int)result);
8192 return resultobj;
8193 fail:
8194 return NULL;
8195 }
8196
8197
8198 static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8199 PyObject *resultobj;
8200 wxGrid *arg1 = (wxGrid *) 0 ;
8201 int result;
8202 PyObject * obj0 = 0 ;
8203 char *kwnames[] = {
8204 (char *) "self", NULL
8205 };
8206
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
8208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 result = (int)(arg1)->GetNumberCols();
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 resultobj = SWIG_FromInt((int)result);
8218 return resultobj;
8219 fail:
8220 return NULL;
8221 }
8222
8223
8224 static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8225 PyObject *resultobj;
8226 wxGrid *arg1 = (wxGrid *) 0 ;
8227 wxGridTableMessage *arg2 = 0 ;
8228 bool result;
8229 PyObject * obj0 = 0 ;
8230 PyObject * obj1 = 0 ;
8231 char *kwnames[] = {
8232 (char *) "self","arg2", NULL
8233 };
8234
8235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
8236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableMessage,
8239 SWIG_POINTER_EXCEPTION | 0)) == -1)
8240 SWIG_fail;
8241 if (arg2 == NULL) {
8242 PyErr_SetString(PyExc_TypeError,"null reference");
8243 SWIG_fail;
8244 }
8245 {
8246 PyThreadState* __tstate = wxPyBeginAllowThreads();
8247 result = (bool)(arg1)->ProcessTableMessage(*arg2);
8248
8249 wxPyEndAllowThreads(__tstate);
8250 if (PyErr_Occurred()) SWIG_fail;
8251 }
8252 {
8253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8254 }
8255 return resultobj;
8256 fail:
8257 return NULL;
8258 }
8259
8260
8261 static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8262 PyObject *resultobj;
8263 wxGrid *arg1 = (wxGrid *) 0 ;
8264 wxGridTableBase *result;
8265 PyObject * obj0 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
8271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 {
8281 resultobj = wxPyMake_wxGridTableBase(result);
8282 }
8283 return resultobj;
8284 fail:
8285 return NULL;
8286 }
8287
8288
8289 static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj;
8291 wxGrid *arg1 = (wxGrid *) 0 ;
8292 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
8293 bool arg3 = (bool) False ;
8294 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8295 bool result;
8296 PyObject * obj0 = 0 ;
8297 PyObject * obj1 = 0 ;
8298 PyObject * obj2 = 0 ;
8299 PyObject * obj3 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8302 };
8303
8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
8308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8309 if (obj2) {
8310 arg3 = (bool) SWIG_AsBool(obj2);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
8313 if (obj3) {
8314 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 {
8325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8326 }
8327 return resultobj;
8328 fail:
8329 return NULL;
8330 }
8331
8332
8333 static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8334 PyObject *resultobj;
8335 wxGrid *arg1 = (wxGrid *) 0 ;
8336 PyObject * obj0 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
8342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8344 {
8345 PyThreadState* __tstate = wxPyBeginAllowThreads();
8346 (arg1)->ClearGrid();
8347
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 Py_INCREF(Py_None); resultobj = Py_None;
8352 return resultobj;
8353 fail:
8354 return NULL;
8355 }
8356
8357
8358 static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8359 PyObject *resultobj;
8360 wxGrid *arg1 = (wxGrid *) 0 ;
8361 int arg2 = (int) 0 ;
8362 int arg3 = (int) 1 ;
8363 bool arg4 = (bool) True ;
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 *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",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 if (obj1) {
8377 arg2 = (int) SWIG_AsInt(obj1);
8378 if (PyErr_Occurred()) SWIG_fail;
8379 }
8380 if (obj2) {
8381 arg3 = (int) SWIG_AsInt(obj2);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 if (obj3) {
8385 arg4 = (bool) SWIG_AsBool(obj3);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 }
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 {
8396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8397 }
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxGrid *arg1 = (wxGrid *) 0 ;
8407 int arg2 = (int) 1 ;
8408 bool arg3 = (bool) True ;
8409 bool result;
8410 PyObject * obj0 = 0 ;
8411 PyObject * obj1 = 0 ;
8412 PyObject * obj2 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
8418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8420 if (obj1) {
8421 arg2 = (int) SWIG_AsInt(obj1);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 if (obj2) {
8425 arg3 = (bool) SWIG_AsBool(obj2);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 result = (bool)(arg1)->AppendRows(arg2,arg3);
8431
8432 wxPyEndAllowThreads(__tstate);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 }
8435 {
8436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8437 }
8438 return resultobj;
8439 fail:
8440 return NULL;
8441 }
8442
8443
8444 static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8445 PyObject *resultobj;
8446 wxGrid *arg1 = (wxGrid *) 0 ;
8447 int arg2 = (int) 0 ;
8448 int arg3 = (int) 1 ;
8449 bool arg4 = (bool) True ;
8450 bool result;
8451 PyObject * obj0 = 0 ;
8452 PyObject * obj1 = 0 ;
8453 PyObject * obj2 = 0 ;
8454 PyObject * obj3 = 0 ;
8455 char *kwnames[] = {
8456 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8457 };
8458
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8462 if (obj1) {
8463 arg2 = (int) SWIG_AsInt(obj1);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 if (obj2) {
8467 arg3 = (int) SWIG_AsInt(obj2);
8468 if (PyErr_Occurred()) SWIG_fail;
8469 }
8470 if (obj3) {
8471 arg4 = (bool) SWIG_AsBool(obj3);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 {
8482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8483 }
8484 return resultobj;
8485 fail:
8486 return NULL;
8487 }
8488
8489
8490 static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8491 PyObject *resultobj;
8492 wxGrid *arg1 = (wxGrid *) 0 ;
8493 int arg2 = (int) 0 ;
8494 int arg3 = (int) 1 ;
8495 bool arg4 = (bool) True ;
8496 bool result;
8497 PyObject * obj0 = 0 ;
8498 PyObject * obj1 = 0 ;
8499 PyObject * obj2 = 0 ;
8500 PyObject * obj3 = 0 ;
8501 char *kwnames[] = {
8502 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8503 };
8504
8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8508 if (obj1) {
8509 arg2 = (int) SWIG_AsInt(obj1);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 }
8512 if (obj2) {
8513 arg3 = (int) SWIG_AsInt(obj2);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 if (obj3) {
8517 arg4 = (bool) SWIG_AsBool(obj3);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 {
8528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8529 }
8530 return resultobj;
8531 fail:
8532 return NULL;
8533 }
8534
8535
8536 static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxGrid *arg1 = (wxGrid *) 0 ;
8539 int arg2 = (int) 1 ;
8540 bool arg3 = (bool) True ;
8541 bool result;
8542 PyObject * obj0 = 0 ;
8543 PyObject * obj1 = 0 ;
8544 PyObject * obj2 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
8550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8552 if (obj1) {
8553 arg2 = (int) SWIG_AsInt(obj1);
8554 if (PyErr_Occurred()) SWIG_fail;
8555 }
8556 if (obj2) {
8557 arg3 = (bool) SWIG_AsBool(obj2);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 result = (bool)(arg1)->AppendCols(arg2,arg3);
8563
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
8567 {
8568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8569 }
8570 return resultobj;
8571 fail:
8572 return NULL;
8573 }
8574
8575
8576 static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj;
8578 wxGrid *arg1 = (wxGrid *) 0 ;
8579 int arg2 = (int) 0 ;
8580 int arg3 = (int) 1 ;
8581 bool arg4 = (bool) True ;
8582 bool result;
8583 PyObject * obj0 = 0 ;
8584 PyObject * obj1 = 0 ;
8585 PyObject * obj2 = 0 ;
8586 PyObject * obj3 = 0 ;
8587 char *kwnames[] = {
8588 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8589 };
8590
8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8594 if (obj1) {
8595 arg2 = (int) SWIG_AsInt(obj1);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 if (obj2) {
8599 arg3 = (int) SWIG_AsInt(obj2);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 if (obj3) {
8603 arg4 = (bool) SWIG_AsBool(obj3);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 {
8614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8615 }
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8623 PyObject *resultobj;
8624 wxGrid *arg1 = (wxGrid *) 0 ;
8625 wxDC *arg2 = 0 ;
8626 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
8627 PyObject * obj0 = 0 ;
8628 PyObject * obj1 = 0 ;
8629 PyObject * obj2 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self",(char *) "dc",(char *) "attr", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8638 SWIG_POINTER_EXCEPTION | 0)) == -1)
8639 SWIG_fail;
8640 if (arg2 == NULL) {
8641 PyErr_SetString(PyExc_TypeError,"null reference");
8642 SWIG_fail;
8643 }
8644 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
8645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
8649
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 Py_INCREF(Py_None); resultobj = Py_None;
8654 return resultobj;
8655 fail:
8656 return NULL;
8657 }
8658
8659
8660 static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxGrid *arg1 = (wxGrid *) 0 ;
8663 wxDC *arg2 = 0 ;
8664 wxString *arg3 = 0 ;
8665 wxRect *arg4 = 0 ;
8666 int arg5 = (int) wxLEFT ;
8667 int arg6 = (int) wxTOP ;
8668 int arg7 = (int) wxHORIZONTAL ;
8669 bool temp3 = False ;
8670 wxRect temp4 ;
8671 PyObject * obj0 = 0 ;
8672 PyObject * obj1 = 0 ;
8673 PyObject * obj2 = 0 ;
8674 PyObject * obj3 = 0 ;
8675 PyObject * obj4 = 0 ;
8676 PyObject * obj5 = 0 ;
8677 PyObject * obj6 = 0 ;
8678 char *kwnames[] = {
8679 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8680 };
8681
8682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1)
8687 SWIG_fail;
8688 if (arg2 == NULL) {
8689 PyErr_SetString(PyExc_TypeError,"null reference");
8690 SWIG_fail;
8691 }
8692 {
8693 arg3 = wxString_in_helper(obj2);
8694 if (arg3 == NULL) SWIG_fail;
8695 temp3 = True;
8696 }
8697 {
8698 arg4 = &temp4;
8699 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
8700 }
8701 if (obj4) {
8702 arg5 = (int) SWIG_AsInt(obj4);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 if (obj5) {
8706 arg6 = (int) SWIG_AsInt(obj5);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 if (obj6) {
8710 arg7 = (int) SWIG_AsInt(obj6);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 Py_INCREF(Py_None); resultobj = Py_None;
8721 {
8722 if (temp3)
8723 delete arg3;
8724 }
8725 return resultobj;
8726 fail:
8727 {
8728 if (temp3)
8729 delete arg3;
8730 }
8731 return NULL;
8732 }
8733
8734
8735 static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8736 PyObject *resultobj;
8737 wxGrid *arg1 = (wxGrid *) 0 ;
8738 wxDC *arg2 = 0 ;
8739 wxArrayString *arg3 = 0 ;
8740 long *arg4 = (long *) 0 ;
8741 long *arg5 = (long *) 0 ;
8742 bool temp3 = False ;
8743 long temp4 ;
8744 long temp5 ;
8745 PyObject * obj0 = 0 ;
8746 PyObject * obj1 = 0 ;
8747 PyObject * obj2 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "self",(char *) "dc",(char *) "lines", NULL
8750 };
8751
8752 arg4 = &temp4;
8753 arg5 = &temp5;
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
8755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8758 SWIG_POINTER_EXCEPTION | 0)) == -1)
8759 SWIG_fail;
8760 if (arg2 == NULL) {
8761 PyErr_SetString(PyExc_TypeError,"null reference");
8762 SWIG_fail;
8763 }
8764 {
8765 if (! PySequence_Check(obj2)) {
8766 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8767 SWIG_fail;
8768 }
8769 arg3 = new wxArrayString;
8770 temp3 = True;
8771 int i, len=PySequence_Length(obj2);
8772 for (i=0; i<len; i++) {
8773 PyObject* item = PySequence_GetItem(obj2, i);
8774 #if wxUSE_UNICODE
8775 PyObject* str = PyObject_Unicode(item);
8776 #else
8777 PyObject* str = PyObject_Str(item);
8778 #endif
8779 arg3->Add(Py2wxString(str));
8780 Py_DECREF(item);
8781 Py_DECREF(str);
8782 }
8783 }
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 Py_INCREF(Py_None); resultobj = Py_None;
8792 {
8793 PyObject *o = PyInt_FromLong((long) (*arg4));
8794 resultobj = t_output_helper(resultobj,o);
8795 }
8796 {
8797 PyObject *o = PyInt_FromLong((long) (*arg5));
8798 resultobj = t_output_helper(resultobj,o);
8799 }
8800 {
8801 if (temp3) delete arg3;
8802 }
8803 return resultobj;
8804 fail:
8805 {
8806 if (temp3) delete arg3;
8807 }
8808 return NULL;
8809 }
8810
8811
8812 static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj;
8814 wxGrid *arg1 = (wxGrid *) 0 ;
8815 PyObject * obj0 = 0 ;
8816 char *kwnames[] = {
8817 (char *) "self", NULL
8818 };
8819
8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 (arg1)->BeginBatch();
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 Py_INCREF(Py_None); resultobj = Py_None;
8831 return resultobj;
8832 fail:
8833 return NULL;
8834 }
8835
8836
8837 static PyObject *_wrap_Grid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj;
8839 wxGrid *arg1 = (wxGrid *) 0 ;
8840 PyObject * obj0 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
8846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 (arg1)->EndBatch();
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxGrid *arg1 = (wxGrid *) 0 ;
8865 int result;
8866 PyObject * obj0 = 0 ;
8867 char *kwnames[] = {
8868 (char *) "self", NULL
8869 };
8870
8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
8872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 result = (int)(arg1)->GetBatchCount();
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 resultobj = SWIG_FromInt((int)result);
8882 return resultobj;
8883 fail:
8884 return NULL;
8885 }
8886
8887
8888 static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj;
8890 wxGrid *arg1 = (wxGrid *) 0 ;
8891 PyObject * obj0 = 0 ;
8892 char *kwnames[] = {
8893 (char *) "self", NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
8897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 (arg1)->ForceRefresh();
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 Py_INCREF(Py_None); resultobj = Py_None;
8907 return resultobj;
8908 fail:
8909 return NULL;
8910 }
8911
8912
8913 static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj;
8915 wxGrid *arg1 = (wxGrid *) 0 ;
8916 bool result;
8917 PyObject * obj0 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "self", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
8923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (bool)(arg1)->IsEditable();
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 {
8933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8934 }
8935 return resultobj;
8936 fail:
8937 return NULL;
8938 }
8939
8940
8941 static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8942 PyObject *resultobj;
8943 wxGrid *arg1 = (wxGrid *) 0 ;
8944 bool arg2 ;
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "self",(char *) "edit", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
8952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8954 arg2 = (bool) SWIG_AsBool(obj1);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 {
8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
8958 (arg1)->EnableEditing(arg2);
8959
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 Py_INCREF(Py_None); resultobj = Py_None;
8964 return resultobj;
8965 fail:
8966 return NULL;
8967 }
8968
8969
8970 static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj;
8972 wxGrid *arg1 = (wxGrid *) 0 ;
8973 bool arg2 = (bool) True ;
8974 PyObject * obj0 = 0 ;
8975 PyObject * obj1 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self",(char *) "enable", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8983 if (obj1) {
8984 arg2 = (bool) SWIG_AsBool(obj1);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 (arg1)->EnableCellEditControl(arg2);
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 Py_INCREF(Py_None); resultobj = Py_None;
8995 return resultobj;
8996 fail:
8997 return NULL;
8998 }
8999
9000
9001 static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9002 PyObject *resultobj;
9003 wxGrid *arg1 = (wxGrid *) 0 ;
9004 PyObject * obj0 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "self", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 (arg1)->DisableCellEditControl();
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 Py_INCREF(Py_None); resultobj = Py_None;
9020 return resultobj;
9021 fail:
9022 return NULL;
9023 }
9024
9025
9026 static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9027 PyObject *resultobj;
9028 wxGrid *arg1 = (wxGrid *) 0 ;
9029 bool result;
9030 PyObject * obj0 = 0 ;
9031 char *kwnames[] = {
9032 (char *) "self", NULL
9033 };
9034
9035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
9036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9038 {
9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
9040 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
9041
9042 wxPyEndAllowThreads(__tstate);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 }
9045 {
9046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9047 }
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj;
9056 wxGrid *arg1 = (wxGrid *) 0 ;
9057 bool result;
9058 PyObject * obj0 = 0 ;
9059 char *kwnames[] = {
9060 (char *) "self", NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
9064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
9069
9070 wxPyEndAllowThreads(__tstate);
9071 if (PyErr_Occurred()) SWIG_fail;
9072 }
9073 {
9074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9075 }
9076 return resultobj;
9077 fail:
9078 return NULL;
9079 }
9080
9081
9082 static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
9083 PyObject *resultobj;
9084 wxGrid *arg1 = (wxGrid *) 0 ;
9085 bool result;
9086 PyObject * obj0 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
9092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 {
9102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9103 }
9104 return resultobj;
9105 fail:
9106 return NULL;
9107 }
9108
9109
9110 static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj;
9112 wxGrid *arg1 = (wxGrid *) 0 ;
9113 bool result;
9114 PyObject * obj0 = 0 ;
9115 char *kwnames[] = {
9116 (char *) "self", NULL
9117 };
9118
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
9120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9122 {
9123 PyThreadState* __tstate = wxPyBeginAllowThreads();
9124 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
9125
9126 wxPyEndAllowThreads(__tstate);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 }
9129 {
9130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9131 }
9132 return resultobj;
9133 fail:
9134 return NULL;
9135 }
9136
9137
9138 static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9139 PyObject *resultobj;
9140 wxGrid *arg1 = (wxGrid *) 0 ;
9141 PyObject * obj0 = 0 ;
9142 char *kwnames[] = {
9143 (char *) "self", NULL
9144 };
9145
9146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
9147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 (arg1)->ShowCellEditControl();
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 Py_INCREF(Py_None); resultobj = Py_None;
9157 return resultobj;
9158 fail:
9159 return NULL;
9160 }
9161
9162
9163 static PyObject *_wrap_Grid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9164 PyObject *resultobj;
9165 wxGrid *arg1 = (wxGrid *) 0 ;
9166 PyObject * obj0 = 0 ;
9167 char *kwnames[] = {
9168 (char *) "self", NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
9172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 (arg1)->HideCellEditControl();
9177
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 Py_INCREF(Py_None); resultobj = Py_None;
9182 return resultobj;
9183 fail:
9184 return NULL;
9185 }
9186
9187
9188 static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj;
9190 wxGrid *arg1 = (wxGrid *) 0 ;
9191 PyObject * obj0 = 0 ;
9192 char *kwnames[] = {
9193 (char *) "self", NULL
9194 };
9195
9196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
9197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 (arg1)->SaveEditControlValue();
9202
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 Py_INCREF(Py_None); resultobj = Py_None;
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj;
9215 wxGrid *arg1 = (wxGrid *) 0 ;
9216 int arg2 ;
9217 int arg3 ;
9218 wxGridCellCoords result;
9219 PyObject * obj0 = 0 ;
9220 PyObject * obj1 = 0 ;
9221 PyObject * obj2 = 0 ;
9222 char *kwnames[] = {
9223 (char *) "self",(char *) "x",(char *) "y", NULL
9224 };
9225
9226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
9227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9229 arg2 = (int) SWIG_AsInt(obj1);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 arg3 = (int) SWIG_AsInt(obj2);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 {
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 result = wxGrid_XYToCell(arg1,arg2,arg3);
9236
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
9240 {
9241 wxGridCellCoords * resultptr;
9242 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
9243 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
9244 }
9245 return resultobj;
9246 fail:
9247 return NULL;
9248 }
9249
9250
9251 static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject *resultobj;
9253 wxGrid *arg1 = (wxGrid *) 0 ;
9254 int arg2 ;
9255 int result;
9256 PyObject * obj0 = 0 ;
9257 PyObject * obj1 = 0 ;
9258 char *kwnames[] = {
9259 (char *) "self",(char *) "y", NULL
9260 };
9261
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
9263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9265 arg2 = (int) SWIG_AsInt(obj1);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 result = (int)(arg1)->YToRow(arg2);
9270
9271 wxPyEndAllowThreads(__tstate);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 }
9274 resultobj = SWIG_FromInt((int)result);
9275 return resultobj;
9276 fail:
9277 return NULL;
9278 }
9279
9280
9281 static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj;
9283 wxGrid *arg1 = (wxGrid *) 0 ;
9284 int arg2 ;
9285 int result;
9286 PyObject * obj0 = 0 ;
9287 PyObject * obj1 = 0 ;
9288 char *kwnames[] = {
9289 (char *) "self",(char *) "x", NULL
9290 };
9291
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
9293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9295 arg2 = (int) SWIG_AsInt(obj1);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 result = (int)(arg1)->XToCol(arg2);
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 resultobj = SWIG_FromInt((int)result);
9305 return resultobj;
9306 fail:
9307 return NULL;
9308 }
9309
9310
9311 static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9312 PyObject *resultobj;
9313 wxGrid *arg1 = (wxGrid *) 0 ;
9314 int arg2 ;
9315 int result;
9316 PyObject * obj0 = 0 ;
9317 PyObject * obj1 = 0 ;
9318 char *kwnames[] = {
9319 (char *) "self",(char *) "y", NULL
9320 };
9321
9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
9323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9325 arg2 = (int) SWIG_AsInt(obj1);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 result = (int)(arg1)->YToEdgeOfRow(arg2);
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 resultobj = SWIG_FromInt((int)result);
9335 return resultobj;
9336 fail:
9337 return NULL;
9338 }
9339
9340
9341 static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9342 PyObject *resultobj;
9343 wxGrid *arg1 = (wxGrid *) 0 ;
9344 int arg2 ;
9345 int result;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 char *kwnames[] = {
9349 (char *) "self",(char *) "x", NULL
9350 };
9351
9352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
9353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9355 arg2 = (int) SWIG_AsInt(obj1);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (int)(arg1)->XToEdgeOfCol(arg2);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = SWIG_FromInt((int)result);
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxGrid *arg1 = (wxGrid *) 0 ;
9374 int arg2 ;
9375 int arg3 ;
9376 wxRect result;
9377 PyObject * obj0 = 0 ;
9378 PyObject * obj1 = 0 ;
9379 PyObject * obj2 = 0 ;
9380 char *kwnames[] = {
9381 (char *) "self",(char *) "row",(char *) "col", NULL
9382 };
9383
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
9385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9387 arg2 = (int) SWIG_AsInt(obj1);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 arg3 = (int) SWIG_AsInt(obj2);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (arg1)->CellToRect(arg2,arg3);
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 {
9399 wxRect * resultptr;
9400 resultptr = new wxRect((wxRect &) result);
9401 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9402 }
9403 return resultobj;
9404 fail:
9405 return NULL;
9406 }
9407
9408
9409 static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9410 PyObject *resultobj;
9411 wxGrid *arg1 = (wxGrid *) 0 ;
9412 int result;
9413 PyObject * obj0 = 0 ;
9414 char *kwnames[] = {
9415 (char *) "self", NULL
9416 };
9417
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
9419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 result = (int)(arg1)->GetGridCursorRow();
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 resultobj = SWIG_FromInt((int)result);
9429 return resultobj;
9430 fail:
9431 return NULL;
9432 }
9433
9434
9435 static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj;
9437 wxGrid *arg1 = (wxGrid *) 0 ;
9438 int result;
9439 PyObject * obj0 = 0 ;
9440 char *kwnames[] = {
9441 (char *) "self", NULL
9442 };
9443
9444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
9445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 result = (int)(arg1)->GetGridCursorCol();
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 resultobj = SWIG_FromInt((int)result);
9455 return resultobj;
9456 fail:
9457 return NULL;
9458 }
9459
9460
9461 static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxGrid *arg1 = (wxGrid *) 0 ;
9464 int arg2 ;
9465 int arg3 ;
9466 bool arg4 = (bool) True ;
9467 bool result;
9468 PyObject * obj0 = 0 ;
9469 PyObject * obj1 = 0 ;
9470 PyObject * obj2 = 0 ;
9471 PyObject * obj3 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9479 arg2 = (int) SWIG_AsInt(obj1);
9480 if (PyErr_Occurred()) SWIG_fail;
9481 arg3 = (int) SWIG_AsInt(obj2);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 if (obj3) {
9484 arg4 = (bool) SWIG_AsBool(obj3);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
9490
9491 wxPyEndAllowThreads(__tstate);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 }
9494 {
9495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9496 }
9497 return resultobj;
9498 fail:
9499 return NULL;
9500 }
9501
9502
9503 static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9504 PyObject *resultobj;
9505 wxGrid *arg1 = (wxGrid *) 0 ;
9506 int arg2 ;
9507 int arg3 ;
9508 PyObject * obj0 = 0 ;
9509 PyObject * obj1 = 0 ;
9510 PyObject * obj2 = 0 ;
9511 char *kwnames[] = {
9512 (char *) "self",(char *) "row",(char *) "col", NULL
9513 };
9514
9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
9516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9518 arg2 = (int) SWIG_AsInt(obj1);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 arg3 = (int) SWIG_AsInt(obj2);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 (arg1)->MakeCellVisible(arg2,arg3);
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 Py_INCREF(Py_None); resultobj = Py_None;
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj;
9538 wxGrid *arg1 = (wxGrid *) 0 ;
9539 int arg2 ;
9540 int arg3 ;
9541 PyObject * obj0 = 0 ;
9542 PyObject * obj1 = 0 ;
9543 PyObject * obj2 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self",(char *) "row",(char *) "col", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
9549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9551 arg2 = (int) SWIG_AsInt(obj1);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 arg3 = (int) SWIG_AsInt(obj2);
9554 if (PyErr_Occurred()) SWIG_fail;
9555 {
9556 PyThreadState* __tstate = wxPyBeginAllowThreads();
9557 (arg1)->SetGridCursor(arg2,arg3);
9558
9559 wxPyEndAllowThreads(__tstate);
9560 if (PyErr_Occurred()) SWIG_fail;
9561 }
9562 Py_INCREF(Py_None); resultobj = Py_None;
9563 return resultobj;
9564 fail:
9565 return NULL;
9566 }
9567
9568
9569 static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9570 PyObject *resultobj;
9571 wxGrid *arg1 = (wxGrid *) 0 ;
9572 bool arg2 ;
9573 bool result;
9574 PyObject * obj0 = 0 ;
9575 PyObject * obj1 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "self",(char *) "expandSelection", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
9581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9583 arg2 = (bool) SWIG_AsBool(obj1);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 {
9586 PyThreadState* __tstate = wxPyBeginAllowThreads();
9587 result = (bool)(arg1)->MoveCursorUp(arg2);
9588
9589 wxPyEndAllowThreads(__tstate);
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
9592 {
9593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9594 }
9595 return resultobj;
9596 fail:
9597 return NULL;
9598 }
9599
9600
9601 static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj;
9603 wxGrid *arg1 = (wxGrid *) 0 ;
9604 bool arg2 ;
9605 bool result;
9606 PyObject * obj0 = 0 ;
9607 PyObject * obj1 = 0 ;
9608 char *kwnames[] = {
9609 (char *) "self",(char *) "expandSelection", NULL
9610 };
9611
9612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
9613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9615 arg2 = (bool) SWIG_AsBool(obj1);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 result = (bool)(arg1)->MoveCursorDown(arg2);
9620
9621 wxPyEndAllowThreads(__tstate);
9622 if (PyErr_Occurred()) SWIG_fail;
9623 }
9624 {
9625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9626 }
9627 return resultobj;
9628 fail:
9629 return NULL;
9630 }
9631
9632
9633 static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject *resultobj;
9635 wxGrid *arg1 = (wxGrid *) 0 ;
9636 bool arg2 ;
9637 bool result;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 char *kwnames[] = {
9641 (char *) "self",(char *) "expandSelection", NULL
9642 };
9643
9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
9645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9647 arg2 = (bool) SWIG_AsBool(obj1);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 {
9650 PyThreadState* __tstate = wxPyBeginAllowThreads();
9651 result = (bool)(arg1)->MoveCursorLeft(arg2);
9652
9653 wxPyEndAllowThreads(__tstate);
9654 if (PyErr_Occurred()) SWIG_fail;
9655 }
9656 {
9657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9658 }
9659 return resultobj;
9660 fail:
9661 return NULL;
9662 }
9663
9664
9665 static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj;
9667 wxGrid *arg1 = (wxGrid *) 0 ;
9668 bool arg2 ;
9669 bool result;
9670 PyObject * obj0 = 0 ;
9671 PyObject * obj1 = 0 ;
9672 char *kwnames[] = {
9673 (char *) "self",(char *) "expandSelection", NULL
9674 };
9675
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
9677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9679 arg2 = (bool) SWIG_AsBool(obj1);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 result = (bool)(arg1)->MoveCursorRight(arg2);
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 {
9689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9690 }
9691 return resultobj;
9692 fail:
9693 return NULL;
9694 }
9695
9696
9697 static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9698 PyObject *resultobj;
9699 wxGrid *arg1 = (wxGrid *) 0 ;
9700 bool result;
9701 PyObject * obj0 = 0 ;
9702 char *kwnames[] = {
9703 (char *) "self", NULL
9704 };
9705
9706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
9707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 result = (bool)(arg1)->MovePageDown();
9712
9713 wxPyEndAllowThreads(__tstate);
9714 if (PyErr_Occurred()) SWIG_fail;
9715 }
9716 {
9717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9718 }
9719 return resultobj;
9720 fail:
9721 return NULL;
9722 }
9723
9724
9725 static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9726 PyObject *resultobj;
9727 wxGrid *arg1 = (wxGrid *) 0 ;
9728 bool result;
9729 PyObject * obj0 = 0 ;
9730 char *kwnames[] = {
9731 (char *) "self", NULL
9732 };
9733
9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
9735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 result = (bool)(arg1)->MovePageUp();
9740
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 {
9745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9746 }
9747 return resultobj;
9748 fail:
9749 return NULL;
9750 }
9751
9752
9753 static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxGrid *arg1 = (wxGrid *) 0 ;
9756 bool arg2 ;
9757 bool result;
9758 PyObject * obj0 = 0 ;
9759 PyObject * obj1 = 0 ;
9760 char *kwnames[] = {
9761 (char *) "self",(char *) "expandSelection", NULL
9762 };
9763
9764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
9765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9767 arg2 = (bool) SWIG_AsBool(obj1);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 {
9770 PyThreadState* __tstate = wxPyBeginAllowThreads();
9771 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
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_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxGrid *arg1 = (wxGrid *) 0 ;
9788 bool arg2 ;
9789 bool result;
9790 PyObject * obj0 = 0 ;
9791 PyObject * obj1 = 0 ;
9792 char *kwnames[] = {
9793 (char *) "self",(char *) "expandSelection", NULL
9794 };
9795
9796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
9797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9799 arg2 = (bool) SWIG_AsBool(obj1);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 {
9809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9810 }
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxGrid *arg1 = (wxGrid *) 0 ;
9820 bool arg2 ;
9821 bool result;
9822 PyObject * obj0 = 0 ;
9823 PyObject * obj1 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self",(char *) "expandSelection", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9831 arg2 = (bool) SWIG_AsBool(obj1);
9832 if (PyErr_Occurred()) SWIG_fail;
9833 {
9834 PyThreadState* __tstate = wxPyBeginAllowThreads();
9835 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
9836
9837 wxPyEndAllowThreads(__tstate);
9838 if (PyErr_Occurred()) SWIG_fail;
9839 }
9840 {
9841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9842 }
9843 return resultobj;
9844 fail:
9845 return NULL;
9846 }
9847
9848
9849 static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj;
9851 wxGrid *arg1 = (wxGrid *) 0 ;
9852 bool arg2 ;
9853 bool result;
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj1 = 0 ;
9856 char *kwnames[] = {
9857 (char *) "self",(char *) "expandSelection", NULL
9858 };
9859
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
9861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9863 arg2 = (bool) SWIG_AsBool(obj1);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 {
9866 PyThreadState* __tstate = wxPyBeginAllowThreads();
9867 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
9868
9869 wxPyEndAllowThreads(__tstate);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 }
9872 {
9873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9874 }
9875 return resultobj;
9876 fail:
9877 return NULL;
9878 }
9879
9880
9881 static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9882 PyObject *resultobj;
9883 wxGrid *arg1 = (wxGrid *) 0 ;
9884 int result;
9885 PyObject * obj0 = 0 ;
9886 char *kwnames[] = {
9887 (char *) "self", NULL
9888 };
9889
9890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
9891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9893 {
9894 PyThreadState* __tstate = wxPyBeginAllowThreads();
9895 result = (int)(arg1)->GetDefaultRowLabelSize();
9896
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
9900 resultobj = SWIG_FromInt((int)result);
9901 return resultobj;
9902 fail:
9903 return NULL;
9904 }
9905
9906
9907 static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9908 PyObject *resultobj;
9909 wxGrid *arg1 = (wxGrid *) 0 ;
9910 int result;
9911 PyObject * obj0 = 0 ;
9912 char *kwnames[] = {
9913 (char *) "self", NULL
9914 };
9915
9916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
9917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (int)(arg1)->GetRowLabelSize();
9922
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 resultobj = SWIG_FromInt((int)result);
9927 return resultobj;
9928 fail:
9929 return NULL;
9930 }
9931
9932
9933 static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj;
9935 wxGrid *arg1 = (wxGrid *) 0 ;
9936 int result;
9937 PyObject * obj0 = 0 ;
9938 char *kwnames[] = {
9939 (char *) "self", NULL
9940 };
9941
9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
9943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 result = (int)(arg1)->GetDefaultColLabelSize();
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 resultobj = SWIG_FromInt((int)result);
9953 return resultobj;
9954 fail:
9955 return NULL;
9956 }
9957
9958
9959 static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9960 PyObject *resultobj;
9961 wxGrid *arg1 = (wxGrid *) 0 ;
9962 int result;
9963 PyObject * obj0 = 0 ;
9964 char *kwnames[] = {
9965 (char *) "self", NULL
9966 };
9967
9968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
9969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 result = (int)(arg1)->GetColLabelSize();
9974
9975 wxPyEndAllowThreads(__tstate);
9976 if (PyErr_Occurred()) SWIG_fail;
9977 }
9978 resultobj = SWIG_FromInt((int)result);
9979 return resultobj;
9980 fail:
9981 return NULL;
9982 }
9983
9984
9985 static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9986 PyObject *resultobj;
9987 wxGrid *arg1 = (wxGrid *) 0 ;
9988 wxColour result;
9989 PyObject * obj0 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
9995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (arg1)->GetLabelBackgroundColour();
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 {
10005 wxColour * resultptr;
10006 resultptr = new wxColour((wxColour &) result);
10007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10008 }
10009 return resultobj;
10010 fail:
10011 return NULL;
10012 }
10013
10014
10015 static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10016 PyObject *resultobj;
10017 wxGrid *arg1 = (wxGrid *) 0 ;
10018 wxColour result;
10019 PyObject * obj0 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10027 {
10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
10029 result = (arg1)->GetLabelTextColour();
10030
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 {
10035 wxColour * resultptr;
10036 resultptr = new wxColour((wxColour &) result);
10037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10038 }
10039 return resultobj;
10040 fail:
10041 return NULL;
10042 }
10043
10044
10045 static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10046 PyObject *resultobj;
10047 wxGrid *arg1 = (wxGrid *) 0 ;
10048 wxFont result;
10049 PyObject * obj0 = 0 ;
10050 char *kwnames[] = {
10051 (char *) "self", NULL
10052 };
10053
10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
10055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 result = (arg1)->GetLabelFont();
10060
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 {
10065 wxFont * resultptr;
10066 resultptr = new wxFont((wxFont &) result);
10067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
10068 }
10069 return resultobj;
10070 fail:
10071 return NULL;
10072 }
10073
10074
10075 static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj;
10077 wxGrid *arg1 = (wxGrid *) 0 ;
10078 int *arg2 = (int *) 0 ;
10079 int *arg3 = (int *) 0 ;
10080 int temp2 ;
10081 int temp3 ;
10082 PyObject * obj0 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "self", NULL
10085 };
10086
10087 arg2 = &temp2;
10088 arg3 = &temp3;
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
10090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10092 {
10093 PyThreadState* __tstate = wxPyBeginAllowThreads();
10094 (arg1)->GetRowLabelAlignment(arg2,arg3);
10095
10096 wxPyEndAllowThreads(__tstate);
10097 if (PyErr_Occurred()) SWIG_fail;
10098 }
10099 Py_INCREF(Py_None); resultobj = Py_None;
10100 {
10101 PyObject *o = PyInt_FromLong((long) (*arg2));
10102 resultobj = t_output_helper(resultobj,o);
10103 }
10104 {
10105 PyObject *o = PyInt_FromLong((long) (*arg3));
10106 resultobj = t_output_helper(resultobj,o);
10107 }
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10115 PyObject *resultobj;
10116 wxGrid *arg1 = (wxGrid *) 0 ;
10117 int *arg2 = (int *) 0 ;
10118 int *arg3 = (int *) 0 ;
10119 int temp2 ;
10120 int temp3 ;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self", NULL
10124 };
10125
10126 arg2 = &temp2;
10127 arg3 = &temp3;
10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
10129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 (arg1)->GetColLabelAlignment(arg2,arg3);
10134
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) SWIG_fail;
10137 }
10138 Py_INCREF(Py_None); resultobj = Py_None;
10139 {
10140 PyObject *o = PyInt_FromLong((long) (*arg2));
10141 resultobj = t_output_helper(resultobj,o);
10142 }
10143 {
10144 PyObject *o = PyInt_FromLong((long) (*arg3));
10145 resultobj = t_output_helper(resultobj,o);
10146 }
10147 return resultobj;
10148 fail:
10149 return NULL;
10150 }
10151
10152
10153 static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10154 PyObject *resultobj;
10155 wxGrid *arg1 = (wxGrid *) 0 ;
10156 int result;
10157 PyObject * obj0 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
10163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (int)(arg1)->GetColLabelTextOrientation();
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = SWIG_FromInt((int)result);
10173 return resultobj;
10174 fail:
10175 return NULL;
10176 }
10177
10178
10179 static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10180 PyObject *resultobj;
10181 wxGrid *arg1 = (wxGrid *) 0 ;
10182 int arg2 ;
10183 wxString result;
10184 PyObject * obj0 = 0 ;
10185 PyObject * obj1 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self",(char *) "row", NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
10191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10193 arg2 = (int) SWIG_AsInt(obj1);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 result = (arg1)->GetRowLabelValue(arg2);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 {
10203 #if wxUSE_UNICODE
10204 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10205 #else
10206 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10207 #endif
10208 }
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj;
10217 wxGrid *arg1 = (wxGrid *) 0 ;
10218 int arg2 ;
10219 wxString result;
10220 PyObject * obj0 = 0 ;
10221 PyObject * obj1 = 0 ;
10222 char *kwnames[] = {
10223 (char *) "self",(char *) "col", NULL
10224 };
10225
10226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
10227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10229 arg2 = (int) SWIG_AsInt(obj1);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = (arg1)->GetColLabelValue(arg2);
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 {
10239 #if wxUSE_UNICODE
10240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10241 #else
10242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10243 #endif
10244 }
10245 return resultobj;
10246 fail:
10247 return NULL;
10248 }
10249
10250
10251 static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10252 PyObject *resultobj;
10253 wxGrid *arg1 = (wxGrid *) 0 ;
10254 wxColour result;
10255 PyObject * obj0 = 0 ;
10256 char *kwnames[] = {
10257 (char *) "self", NULL
10258 };
10259
10260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
10261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10263 {
10264 PyThreadState* __tstate = wxPyBeginAllowThreads();
10265 result = (arg1)->GetGridLineColour();
10266
10267 wxPyEndAllowThreads(__tstate);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 }
10270 {
10271 wxColour * resultptr;
10272 resultptr = new wxColour((wxColour &) result);
10273 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10274 }
10275 return resultobj;
10276 fail:
10277 return NULL;
10278 }
10279
10280
10281 static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10282 PyObject *resultobj;
10283 wxGrid *arg1 = (wxGrid *) 0 ;
10284 wxColour result;
10285 PyObject * obj0 = 0 ;
10286 char *kwnames[] = {
10287 (char *) "self", NULL
10288 };
10289
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
10291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 result = (arg1)->GetCellHighlightColour();
10296
10297 wxPyEndAllowThreads(__tstate);
10298 if (PyErr_Occurred()) SWIG_fail;
10299 }
10300 {
10301 wxColour * resultptr;
10302 resultptr = new wxColour((wxColour &) result);
10303 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10304 }
10305 return resultobj;
10306 fail:
10307 return NULL;
10308 }
10309
10310
10311 static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10312 PyObject *resultobj;
10313 wxGrid *arg1 = (wxGrid *) 0 ;
10314 int result;
10315 PyObject * obj0 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
10321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 result = (int)(arg1)->GetCellHighlightPenWidth();
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 resultobj = SWIG_FromInt((int)result);
10331 return resultobj;
10332 fail:
10333 return NULL;
10334 }
10335
10336
10337 static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10338 PyObject *resultobj;
10339 wxGrid *arg1 = (wxGrid *) 0 ;
10340 int result;
10341 PyObject * obj0 = 0 ;
10342 char *kwnames[] = {
10343 (char *) "self", NULL
10344 };
10345
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
10347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 result = (int)(arg1)->GetCellHighlightROPenWidth();
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 resultobj = SWIG_FromInt((int)result);
10357 return resultobj;
10358 fail:
10359 return NULL;
10360 }
10361
10362
10363 static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxGrid *arg1 = (wxGrid *) 0 ;
10366 int arg2 ;
10367 PyObject * obj0 = 0 ;
10368 PyObject * obj1 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self",(char *) "width", NULL
10371 };
10372
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
10374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10376 arg2 = (int) SWIG_AsInt(obj1);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 (arg1)->SetRowLabelSize(arg2);
10381
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 Py_INCREF(Py_None); resultobj = Py_None;
10386 return resultobj;
10387 fail:
10388 return NULL;
10389 }
10390
10391
10392 static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj;
10394 wxGrid *arg1 = (wxGrid *) 0 ;
10395 int arg2 ;
10396 PyObject * obj0 = 0 ;
10397 PyObject * obj1 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self",(char *) "height", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
10403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10405 arg2 = (int) SWIG_AsInt(obj1);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 (arg1)->SetColLabelSize(arg2);
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 Py_INCREF(Py_None); resultobj = Py_None;
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj;
10423 wxGrid *arg1 = (wxGrid *) 0 ;
10424 wxColour *arg2 = 0 ;
10425 wxColour temp2 ;
10426 PyObject * obj0 = 0 ;
10427 PyObject * obj1 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self","arg2", NULL
10430 };
10431
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
10433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10435 {
10436 arg2 = &temp2;
10437 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10438 }
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 Py_INCREF(Py_None); resultobj = Py_None;
10447 return resultobj;
10448 fail:
10449 return NULL;
10450 }
10451
10452
10453 static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10454 PyObject *resultobj;
10455 wxGrid *arg1 = (wxGrid *) 0 ;
10456 wxColour *arg2 = 0 ;
10457 wxColour temp2 ;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460 char *kwnames[] = {
10461 (char *) "self","arg2", NULL
10462 };
10463
10464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
10465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10467 {
10468 arg2 = &temp2;
10469 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10470 }
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 Py_INCREF(Py_None); resultobj = Py_None;
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 static PyObject *_wrap_Grid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10486 PyObject *resultobj;
10487 wxGrid *arg1 = (wxGrid *) 0 ;
10488 wxFont *arg2 = 0 ;
10489 PyObject * obj0 = 0 ;
10490 PyObject * obj1 = 0 ;
10491 char *kwnames[] = {
10492 (char *) "self","arg2", NULL
10493 };
10494
10495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
10496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10498 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
10499 SWIG_POINTER_EXCEPTION | 0)) == -1)
10500 SWIG_fail;
10501 if (arg2 == NULL) {
10502 PyErr_SetString(PyExc_TypeError,"null reference");
10503 SWIG_fail;
10504 }
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 (arg1)->SetLabelFont((wxFont const &)*arg2);
10508
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 Py_INCREF(Py_None); resultobj = Py_None;
10513 return resultobj;
10514 fail:
10515 return NULL;
10516 }
10517
10518
10519 static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10520 PyObject *resultobj;
10521 wxGrid *arg1 = (wxGrid *) 0 ;
10522 int arg2 ;
10523 int arg3 ;
10524 PyObject * obj0 = 0 ;
10525 PyObject * obj1 = 0 ;
10526 PyObject * obj2 = 0 ;
10527 char *kwnames[] = {
10528 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10529 };
10530
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
10532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10534 arg2 = (int) SWIG_AsInt(obj1);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 arg3 = (int) SWIG_AsInt(obj2);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 (arg1)->SetRowLabelAlignment(arg2,arg3);
10541
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 Py_INCREF(Py_None); resultobj = Py_None;
10546 return resultobj;
10547 fail:
10548 return NULL;
10549 }
10550
10551
10552 static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10553 PyObject *resultobj;
10554 wxGrid *arg1 = (wxGrid *) 0 ;
10555 int arg2 ;
10556 int arg3 ;
10557 PyObject * obj0 = 0 ;
10558 PyObject * obj1 = 0 ;
10559 PyObject * obj2 = 0 ;
10560 char *kwnames[] = {
10561 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10562 };
10563
10564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
10565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10567 arg2 = (int) SWIG_AsInt(obj1);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 arg3 = (int) SWIG_AsInt(obj2);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 {
10572 PyThreadState* __tstate = wxPyBeginAllowThreads();
10573 (arg1)->SetColLabelAlignment(arg2,arg3);
10574
10575 wxPyEndAllowThreads(__tstate);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 }
10578 Py_INCREF(Py_None); resultobj = Py_None;
10579 return resultobj;
10580 fail:
10581 return NULL;
10582 }
10583
10584
10585 static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10586 PyObject *resultobj;
10587 wxGrid *arg1 = (wxGrid *) 0 ;
10588 int arg2 ;
10589 PyObject * obj0 = 0 ;
10590 PyObject * obj1 = 0 ;
10591 char *kwnames[] = {
10592 (char *) "self",(char *) "textOrientation", NULL
10593 };
10594
10595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
10596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10598 arg2 = (int) SWIG_AsInt(obj1);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 (arg1)->SetColLabelTextOrientation(arg2);
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 Py_INCREF(Py_None); resultobj = Py_None;
10608 return resultobj;
10609 fail:
10610 return NULL;
10611 }
10612
10613
10614 static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10615 PyObject *resultobj;
10616 wxGrid *arg1 = (wxGrid *) 0 ;
10617 int arg2 ;
10618 wxString *arg3 = 0 ;
10619 bool temp3 = False ;
10620 PyObject * obj0 = 0 ;
10621 PyObject * obj1 = 0 ;
10622 PyObject * obj2 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "self",(char *) "row","arg3", NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
10628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10630 arg2 = (int) SWIG_AsInt(obj1);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 {
10633 arg3 = wxString_in_helper(obj2);
10634 if (arg3 == NULL) SWIG_fail;
10635 temp3 = True;
10636 }
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
10640
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 Py_INCREF(Py_None); resultobj = Py_None;
10645 {
10646 if (temp3)
10647 delete arg3;
10648 }
10649 return resultobj;
10650 fail:
10651 {
10652 if (temp3)
10653 delete arg3;
10654 }
10655 return NULL;
10656 }
10657
10658
10659 static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj;
10661 wxGrid *arg1 = (wxGrid *) 0 ;
10662 int arg2 ;
10663 wxString *arg3 = 0 ;
10664 bool temp3 = False ;
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667 PyObject * obj2 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "self",(char *) "col","arg3", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
10673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10675 arg2 = (int) SWIG_AsInt(obj1);
10676 if (PyErr_Occurred()) SWIG_fail;
10677 {
10678 arg3 = wxString_in_helper(obj2);
10679 if (arg3 == NULL) SWIG_fail;
10680 temp3 = True;
10681 }
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 Py_INCREF(Py_None); resultobj = Py_None;
10690 {
10691 if (temp3)
10692 delete arg3;
10693 }
10694 return resultobj;
10695 fail:
10696 {
10697 if (temp3)
10698 delete arg3;
10699 }
10700 return NULL;
10701 }
10702
10703
10704 static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10705 PyObject *resultobj;
10706 wxGrid *arg1 = (wxGrid *) 0 ;
10707 wxColour *arg2 = 0 ;
10708 wxColour temp2 ;
10709 PyObject * obj0 = 0 ;
10710 PyObject * obj1 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "self","arg2", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
10716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10718 {
10719 arg2 = &temp2;
10720 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10721 }
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 (arg1)->SetGridLineColour((wxColour const &)*arg2);
10725
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 Py_INCREF(Py_None); resultobj = Py_None;
10730 return resultobj;
10731 fail:
10732 return NULL;
10733 }
10734
10735
10736 static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj;
10738 wxGrid *arg1 = (wxGrid *) 0 ;
10739 wxColour *arg2 = 0 ;
10740 wxColour temp2 ;
10741 PyObject * obj0 = 0 ;
10742 PyObject * obj1 = 0 ;
10743 char *kwnames[] = {
10744 (char *) "self","arg2", NULL
10745 };
10746
10747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
10748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10750 {
10751 arg2 = &temp2;
10752 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10753 }
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
10757
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 Py_INCREF(Py_None); resultobj = Py_None;
10762 return resultobj;
10763 fail:
10764 return NULL;
10765 }
10766
10767
10768 static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10769 PyObject *resultobj;
10770 wxGrid *arg1 = (wxGrid *) 0 ;
10771 int arg2 ;
10772 PyObject * obj0 = 0 ;
10773 PyObject * obj1 = 0 ;
10774 char *kwnames[] = {
10775 (char *) "self",(char *) "width", NULL
10776 };
10777
10778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
10779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10781 arg2 = (int) SWIG_AsInt(obj1);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 (arg1)->SetCellHighlightPenWidth(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_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10798 PyObject *resultobj;
10799 wxGrid *arg1 = (wxGrid *) 0 ;
10800 int arg2 ;
10801 PyObject * obj0 = 0 ;
10802 PyObject * obj1 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self",(char *) "width", NULL
10805 };
10806
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
10808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10810 arg2 = (int) SWIG_AsInt(obj1);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 (arg1)->SetCellHighlightROPenWidth(arg2);
10815
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 Py_INCREF(Py_None); resultobj = Py_None;
10820 return resultobj;
10821 fail:
10822 return NULL;
10823 }
10824
10825
10826 static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj;
10828 wxGrid *arg1 = (wxGrid *) 0 ;
10829 bool arg2 = (bool) True ;
10830 PyObject * obj0 = 0 ;
10831 PyObject * obj1 = 0 ;
10832 char *kwnames[] = {
10833 (char *) "self",(char *) "enable", NULL
10834 };
10835
10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
10837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10839 if (obj1) {
10840 arg2 = (bool) SWIG_AsBool(obj1);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 (arg1)->EnableDragRowSize(arg2);
10846
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 Py_INCREF(Py_None); resultobj = Py_None;
10851 return resultobj;
10852 fail:
10853 return NULL;
10854 }
10855
10856
10857 static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10858 PyObject *resultobj;
10859 wxGrid *arg1 = (wxGrid *) 0 ;
10860 PyObject * obj0 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
10866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 (arg1)->DisableDragRowSize();
10871
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 Py_INCREF(Py_None); resultobj = Py_None;
10876 return resultobj;
10877 fail:
10878 return NULL;
10879 }
10880
10881
10882 static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj;
10884 wxGrid *arg1 = (wxGrid *) 0 ;
10885 bool result;
10886 PyObject * obj0 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10894 {
10895 PyThreadState* __tstate = wxPyBeginAllowThreads();
10896 result = (bool)(arg1)->CanDragRowSize();
10897
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
10901 {
10902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10903 }
10904 return resultobj;
10905 fail:
10906 return NULL;
10907 }
10908
10909
10910 static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10911 PyObject *resultobj;
10912 wxGrid *arg1 = (wxGrid *) 0 ;
10913 bool arg2 = (bool) True ;
10914 PyObject * obj0 = 0 ;
10915 PyObject * obj1 = 0 ;
10916 char *kwnames[] = {
10917 (char *) "self",(char *) "enable", NULL
10918 };
10919
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
10921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10923 if (obj1) {
10924 arg2 = (bool) SWIG_AsBool(obj1);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 (arg1)->EnableDragColSize(arg2);
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 Py_INCREF(Py_None); resultobj = Py_None;
10935 return resultobj;
10936 fail:
10937 return NULL;
10938 }
10939
10940
10941 static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10942 PyObject *resultobj;
10943 wxGrid *arg1 = (wxGrid *) 0 ;
10944 PyObject * obj0 = 0 ;
10945 char *kwnames[] = {
10946 (char *) "self", NULL
10947 };
10948
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
10950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 (arg1)->DisableDragColSize();
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 Py_INCREF(Py_None); resultobj = Py_None;
10960 return resultobj;
10961 fail:
10962 return NULL;
10963 }
10964
10965
10966 static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxGrid *arg1 = (wxGrid *) 0 ;
10969 bool result;
10970 PyObject * obj0 = 0 ;
10971 char *kwnames[] = {
10972 (char *) "self", NULL
10973 };
10974
10975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
10976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = (bool)(arg1)->CanDragColSize();
10981
10982 wxPyEndAllowThreads(__tstate);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 }
10985 {
10986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10987 }
10988 return resultobj;
10989 fail:
10990 return NULL;
10991 }
10992
10993
10994 static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj;
10996 wxGrid *arg1 = (wxGrid *) 0 ;
10997 bool arg2 = (bool) True ;
10998 PyObject * obj0 = 0 ;
10999 PyObject * obj1 = 0 ;
11000 char *kwnames[] = {
11001 (char *) "self",(char *) "enable", NULL
11002 };
11003
11004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
11005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11007 if (obj1) {
11008 arg2 = (bool) SWIG_AsBool(obj1);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 (arg1)->EnableDragGridSize(arg2);
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 Py_INCREF(Py_None); resultobj = Py_None;
11019 return resultobj;
11020 fail:
11021 return NULL;
11022 }
11023
11024
11025 static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxGrid *arg1 = (wxGrid *) 0 ;
11028 PyObject * obj0 = 0 ;
11029 char *kwnames[] = {
11030 (char *) "self", NULL
11031 };
11032
11033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
11034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 (arg1)->DisableDragGridSize();
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 Py_INCREF(Py_None); resultobj = Py_None;
11044 return resultobj;
11045 fail:
11046 return NULL;
11047 }
11048
11049
11050 static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj;
11052 wxGrid *arg1 = (wxGrid *) 0 ;
11053 bool result;
11054 PyObject * obj0 = 0 ;
11055 char *kwnames[] = {
11056 (char *) "self", NULL
11057 };
11058
11059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
11060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 result = (bool)(arg1)->CanDragGridSize();
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 {
11070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11071 }
11072 return resultobj;
11073 fail:
11074 return NULL;
11075 }
11076
11077
11078 static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11079 PyObject *resultobj;
11080 wxGrid *arg1 = (wxGrid *) 0 ;
11081 int arg2 ;
11082 int arg3 ;
11083 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
11084 PyObject * obj0 = 0 ;
11085 PyObject * obj1 = 0 ;
11086 PyObject * obj2 = 0 ;
11087 PyObject * obj3 = 0 ;
11088 char *kwnames[] = {
11089 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11090 };
11091
11092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11095 arg2 = (int) SWIG_AsInt(obj1);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 arg3 = (int) SWIG_AsInt(obj2);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellAttr,
11100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 (arg1)->SetAttr(arg2,arg3,arg4);
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 Py_INCREF(Py_None); resultobj = Py_None;
11109 return resultobj;
11110 fail:
11111 return NULL;
11112 }
11113
11114
11115 static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11116 PyObject *resultobj;
11117 wxGrid *arg1 = (wxGrid *) 0 ;
11118 int arg2 ;
11119 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11120 PyObject * obj0 = 0 ;
11121 PyObject * obj1 = 0 ;
11122 PyObject * obj2 = 0 ;
11123 char *kwnames[] = {
11124 (char *) "self",(char *) "row",(char *) "attr", NULL
11125 };
11126
11127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
11128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11130 arg2 = (int) SWIG_AsInt(obj1);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 (arg1)->SetRowAttr(arg2,arg3);
11137
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 Py_INCREF(Py_None); resultobj = Py_None;
11142 return resultobj;
11143 fail:
11144 return NULL;
11145 }
11146
11147
11148 static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj;
11150 wxGrid *arg1 = (wxGrid *) 0 ;
11151 int arg2 ;
11152 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11153 PyObject * obj0 = 0 ;
11154 PyObject * obj1 = 0 ;
11155 PyObject * obj2 = 0 ;
11156 char *kwnames[] = {
11157 (char *) "self",(char *) "col",(char *) "attr", NULL
11158 };
11159
11160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
11161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11163 arg2 = (int) SWIG_AsInt(obj1);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 (arg1)->SetColAttr(arg2,arg3);
11170
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 Py_INCREF(Py_None); resultobj = Py_None;
11175 return resultobj;
11176 fail:
11177 return NULL;
11178 }
11179
11180
11181 static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
11182 PyObject *resultobj;
11183 wxGrid *arg1 = (wxGrid *) 0 ;
11184 int arg2 ;
11185 PyObject * obj0 = 0 ;
11186 PyObject * obj1 = 0 ;
11187 char *kwnames[] = {
11188 (char *) "self",(char *) "col", NULL
11189 };
11190
11191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
11192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11194 arg2 = (int) SWIG_AsInt(obj1);
11195 if (PyErr_Occurred()) SWIG_fail;
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 (arg1)->SetColFormatBool(arg2);
11199
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 Py_INCREF(Py_None); resultobj = Py_None;
11204 return resultobj;
11205 fail:
11206 return NULL;
11207 }
11208
11209
11210 static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
11211 PyObject *resultobj;
11212 wxGrid *arg1 = (wxGrid *) 0 ;
11213 int arg2 ;
11214 PyObject * obj0 = 0 ;
11215 PyObject * obj1 = 0 ;
11216 char *kwnames[] = {
11217 (char *) "self",(char *) "col", NULL
11218 };
11219
11220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
11221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11223 arg2 = (int) SWIG_AsInt(obj1);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 (arg1)->SetColFormatNumber(arg2);
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 Py_INCREF(Py_None); resultobj = Py_None;
11233 return resultobj;
11234 fail:
11235 return NULL;
11236 }
11237
11238
11239 static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj;
11241 wxGrid *arg1 = (wxGrid *) 0 ;
11242 int arg2 ;
11243 int arg3 = (int) -1 ;
11244 int arg4 = (int) -1 ;
11245 PyObject * obj0 = 0 ;
11246 PyObject * obj1 = 0 ;
11247 PyObject * obj2 = 0 ;
11248 PyObject * obj3 = 0 ;
11249 char *kwnames[] = {
11250 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11251 };
11252
11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11256 arg2 = (int) SWIG_AsInt(obj1);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 if (obj2) {
11259 arg3 = (int) SWIG_AsInt(obj2);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 if (obj3) {
11263 arg4 = (int) SWIG_AsInt(obj3);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 Py_INCREF(Py_None); resultobj = Py_None;
11274 return resultobj;
11275 fail:
11276 return NULL;
11277 }
11278
11279
11280 static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
11281 PyObject *resultobj;
11282 wxGrid *arg1 = (wxGrid *) 0 ;
11283 int arg2 ;
11284 wxString *arg3 = 0 ;
11285 bool temp3 = False ;
11286 PyObject * obj0 = 0 ;
11287 PyObject * obj1 = 0 ;
11288 PyObject * obj2 = 0 ;
11289 char *kwnames[] = {
11290 (char *) "self",(char *) "col",(char *) "typeName", NULL
11291 };
11292
11293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
11294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11296 arg2 = (int) SWIG_AsInt(obj1);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 {
11299 arg3 = wxString_in_helper(obj2);
11300 if (arg3 == NULL) SWIG_fail;
11301 temp3 = True;
11302 }
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 Py_INCREF(Py_None); resultobj = Py_None;
11311 {
11312 if (temp3)
11313 delete arg3;
11314 }
11315 return resultobj;
11316 fail:
11317 {
11318 if (temp3)
11319 delete arg3;
11320 }
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxGrid *arg1 = (wxGrid *) 0 ;
11328 bool arg2 = (bool) True ;
11329 PyObject * obj0 = 0 ;
11330 PyObject * obj1 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self",(char *) "enable", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11338 if (obj1) {
11339 arg2 = (bool) SWIG_AsBool(obj1);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 (arg1)->EnableGridLines(arg2);
11345
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 Py_INCREF(Py_None); resultobj = Py_None;
11350 return resultobj;
11351 fail:
11352 return NULL;
11353 }
11354
11355
11356 static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj;
11358 wxGrid *arg1 = (wxGrid *) 0 ;
11359 bool result;
11360 PyObject * obj0 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "self", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
11366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 result = (bool)(arg1)->GridLinesEnabled();
11371
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
11375 {
11376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11377 }
11378 return resultobj;
11379 fail:
11380 return NULL;
11381 }
11382
11383
11384 static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11385 PyObject *resultobj;
11386 wxGrid *arg1 = (wxGrid *) 0 ;
11387 int result;
11388 PyObject * obj0 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "self", NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
11394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 result = (int)(arg1)->GetDefaultRowSize();
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 resultobj = SWIG_FromInt((int)result);
11404 return resultobj;
11405 fail:
11406 return NULL;
11407 }
11408
11409
11410 static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj;
11412 wxGrid *arg1 = (wxGrid *) 0 ;
11413 int arg2 ;
11414 int result;
11415 PyObject * obj0 = 0 ;
11416 PyObject * obj1 = 0 ;
11417 char *kwnames[] = {
11418 (char *) "self",(char *) "row", NULL
11419 };
11420
11421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
11422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11424 arg2 = (int) SWIG_AsInt(obj1);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 {
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 result = (int)(arg1)->GetRowSize(arg2);
11429
11430 wxPyEndAllowThreads(__tstate);
11431 if (PyErr_Occurred()) SWIG_fail;
11432 }
11433 resultobj = SWIG_FromInt((int)result);
11434 return resultobj;
11435 fail:
11436 return NULL;
11437 }
11438
11439
11440 static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj;
11442 wxGrid *arg1 = (wxGrid *) 0 ;
11443 int result;
11444 PyObject * obj0 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 result = (int)(arg1)->GetDefaultColSize();
11455
11456 wxPyEndAllowThreads(__tstate);
11457 if (PyErr_Occurred()) SWIG_fail;
11458 }
11459 resultobj = SWIG_FromInt((int)result);
11460 return resultobj;
11461 fail:
11462 return NULL;
11463 }
11464
11465
11466 static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj;
11468 wxGrid *arg1 = (wxGrid *) 0 ;
11469 int arg2 ;
11470 int result;
11471 PyObject * obj0 = 0 ;
11472 PyObject * obj1 = 0 ;
11473 char *kwnames[] = {
11474 (char *) "self",(char *) "col", NULL
11475 };
11476
11477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
11478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11480 arg2 = (int) SWIG_AsInt(obj1);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 {
11483 PyThreadState* __tstate = wxPyBeginAllowThreads();
11484 result = (int)(arg1)->GetColSize(arg2);
11485
11486 wxPyEndAllowThreads(__tstate);
11487 if (PyErr_Occurred()) SWIG_fail;
11488 }
11489 resultobj = SWIG_FromInt((int)result);
11490 return resultobj;
11491 fail:
11492 return NULL;
11493 }
11494
11495
11496 static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11497 PyObject *resultobj;
11498 wxGrid *arg1 = (wxGrid *) 0 ;
11499 wxColour result;
11500 PyObject * obj0 = 0 ;
11501 char *kwnames[] = {
11502 (char *) "self", NULL
11503 };
11504
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
11506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 result = (arg1)->GetDefaultCellBackgroundColour();
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 {
11516 wxColour * resultptr;
11517 resultptr = new wxColour((wxColour &) result);
11518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11519 }
11520 return resultobj;
11521 fail:
11522 return NULL;
11523 }
11524
11525
11526 static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11527 PyObject *resultobj;
11528 wxGrid *arg1 = (wxGrid *) 0 ;
11529 int arg2 ;
11530 int arg3 ;
11531 wxColour result;
11532 PyObject * obj0 = 0 ;
11533 PyObject * obj1 = 0 ;
11534 PyObject * obj2 = 0 ;
11535 char *kwnames[] = {
11536 (char *) "self",(char *) "row",(char *) "col", NULL
11537 };
11538
11539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11542 arg2 = (int) SWIG_AsInt(obj1);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 arg3 = (int) SWIG_AsInt(obj2);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 {
11547 PyThreadState* __tstate = wxPyBeginAllowThreads();
11548 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
11549
11550 wxPyEndAllowThreads(__tstate);
11551 if (PyErr_Occurred()) SWIG_fail;
11552 }
11553 {
11554 wxColour * resultptr;
11555 resultptr = new wxColour((wxColour &) result);
11556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11557 }
11558 return resultobj;
11559 fail:
11560 return NULL;
11561 }
11562
11563
11564 static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11565 PyObject *resultobj;
11566 wxGrid *arg1 = (wxGrid *) 0 ;
11567 wxColour result;
11568 PyObject * obj0 = 0 ;
11569 char *kwnames[] = {
11570 (char *) "self", NULL
11571 };
11572
11573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
11574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 result = (arg1)->GetDefaultCellTextColour();
11579
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 {
11584 wxColour * resultptr;
11585 resultptr = new wxColour((wxColour &) result);
11586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11587 }
11588 return resultobj;
11589 fail:
11590 return NULL;
11591 }
11592
11593
11594 static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11595 PyObject *resultobj;
11596 wxGrid *arg1 = (wxGrid *) 0 ;
11597 int arg2 ;
11598 int arg3 ;
11599 wxColour result;
11600 PyObject * obj0 = 0 ;
11601 PyObject * obj1 = 0 ;
11602 PyObject * obj2 = 0 ;
11603 char *kwnames[] = {
11604 (char *) "self",(char *) "row",(char *) "col", NULL
11605 };
11606
11607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11610 arg2 = (int) SWIG_AsInt(obj1);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 arg3 = (int) SWIG_AsInt(obj2);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 {
11615 PyThreadState* __tstate = wxPyBeginAllowThreads();
11616 result = (arg1)->GetCellTextColour(arg2,arg3);
11617
11618 wxPyEndAllowThreads(__tstate);
11619 if (PyErr_Occurred()) SWIG_fail;
11620 }
11621 {
11622 wxColour * resultptr;
11623 resultptr = new wxColour((wxColour &) result);
11624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11625 }
11626 return resultobj;
11627 fail:
11628 return NULL;
11629 }
11630
11631
11632 static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11633 PyObject *resultobj;
11634 wxGrid *arg1 = (wxGrid *) 0 ;
11635 wxFont result;
11636 PyObject * obj0 = 0 ;
11637 char *kwnames[] = {
11638 (char *) "self", NULL
11639 };
11640
11641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
11642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11644 {
11645 PyThreadState* __tstate = wxPyBeginAllowThreads();
11646 result = (arg1)->GetDefaultCellFont();
11647
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 }
11651 {
11652 wxFont * resultptr;
11653 resultptr = new wxFont((wxFont &) result);
11654 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
11655 }
11656 return resultobj;
11657 fail:
11658 return NULL;
11659 }
11660
11661
11662 static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj;
11664 wxGrid *arg1 = (wxGrid *) 0 ;
11665 int arg2 ;
11666 int arg3 ;
11667 wxFont result;
11668 PyObject * obj0 = 0 ;
11669 PyObject * obj1 = 0 ;
11670 PyObject * obj2 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self",(char *) "row",(char *) "col", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
11676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11678 arg2 = (int) SWIG_AsInt(obj1);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 arg3 = (int) SWIG_AsInt(obj2);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 {
11683 PyThreadState* __tstate = wxPyBeginAllowThreads();
11684 result = (arg1)->GetCellFont(arg2,arg3);
11685
11686 wxPyEndAllowThreads(__tstate);
11687 if (PyErr_Occurred()) SWIG_fail;
11688 }
11689 {
11690 wxFont * resultptr;
11691 resultptr = new wxFont((wxFont &) result);
11692 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
11693 }
11694 return resultobj;
11695 fail:
11696 return NULL;
11697 }
11698
11699
11700 static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11701 PyObject *resultobj;
11702 wxGrid *arg1 = (wxGrid *) 0 ;
11703 int *arg2 = (int *) 0 ;
11704 int *arg3 = (int *) 0 ;
11705 int temp2 ;
11706 int temp3 ;
11707 PyObject * obj0 = 0 ;
11708 char *kwnames[] = {
11709 (char *) "self", NULL
11710 };
11711
11712 arg2 = &temp2;
11713 arg3 = &temp3;
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
11715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 (arg1)->GetDefaultCellAlignment(arg2,arg3);
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
11724 Py_INCREF(Py_None); resultobj = Py_None;
11725 {
11726 PyObject *o = PyInt_FromLong((long) (*arg2));
11727 resultobj = t_output_helper(resultobj,o);
11728 }
11729 {
11730 PyObject *o = PyInt_FromLong((long) (*arg3));
11731 resultobj = t_output_helper(resultobj,o);
11732 }
11733 return resultobj;
11734 fail:
11735 return NULL;
11736 }
11737
11738
11739 static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11740 PyObject *resultobj;
11741 wxGrid *arg1 = (wxGrid *) 0 ;
11742 int arg2 ;
11743 int arg3 ;
11744 int *arg4 = (int *) 0 ;
11745 int *arg5 = (int *) 0 ;
11746 int temp4 ;
11747 int temp5 ;
11748 PyObject * obj0 = 0 ;
11749 PyObject * obj1 = 0 ;
11750 PyObject * obj2 = 0 ;
11751 char *kwnames[] = {
11752 (char *) "self",(char *) "row",(char *) "col", NULL
11753 };
11754
11755 arg4 = &temp4;
11756 arg5 = &temp5;
11757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
11758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11760 arg2 = (int) SWIG_AsInt(obj1);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 arg3 = (int) SWIG_AsInt(obj2);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
11767
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 Py_INCREF(Py_None); resultobj = Py_None;
11772 {
11773 PyObject *o = PyInt_FromLong((long) (*arg4));
11774 resultobj = t_output_helper(resultobj,o);
11775 }
11776 {
11777 PyObject *o = PyInt_FromLong((long) (*arg5));
11778 resultobj = t_output_helper(resultobj,o);
11779 }
11780 return resultobj;
11781 fail:
11782 return NULL;
11783 }
11784
11785
11786 static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11787 PyObject *resultobj;
11788 wxGrid *arg1 = (wxGrid *) 0 ;
11789 bool result;
11790 PyObject * obj0 = 0 ;
11791 char *kwnames[] = {
11792 (char *) "self", NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
11796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 result = (bool)(arg1)->GetDefaultCellOverflow();
11801
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 {
11806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11807 }
11808 return resultobj;
11809 fail:
11810 return NULL;
11811 }
11812
11813
11814 static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11815 PyObject *resultobj;
11816 wxGrid *arg1 = (wxGrid *) 0 ;
11817 int arg2 ;
11818 int arg3 ;
11819 bool result;
11820 PyObject * obj0 = 0 ;
11821 PyObject * obj1 = 0 ;
11822 PyObject * obj2 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "self",(char *) "row",(char *) "col", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
11828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11830 arg2 = (int) SWIG_AsInt(obj1);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 arg3 = (int) SWIG_AsInt(obj2);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 {
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
11837
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 {
11842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11843 }
11844 return resultobj;
11845 fail:
11846 return NULL;
11847 }
11848
11849
11850 static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11851 PyObject *resultobj;
11852 wxGrid *arg1 = (wxGrid *) 0 ;
11853 int arg2 ;
11854 int arg3 ;
11855 int *arg4 = (int *) 0 ;
11856 int *arg5 = (int *) 0 ;
11857 int temp4 ;
11858 int temp5 ;
11859 PyObject * obj0 = 0 ;
11860 PyObject * obj1 = 0 ;
11861 PyObject * obj2 = 0 ;
11862 char *kwnames[] = {
11863 (char *) "self",(char *) "row",(char *) "col", NULL
11864 };
11865
11866 arg4 = &temp4;
11867 arg5 = &temp5;
11868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11871 arg2 = (int) SWIG_AsInt(obj1);
11872 if (PyErr_Occurred()) SWIG_fail;
11873 arg3 = (int) SWIG_AsInt(obj2);
11874 if (PyErr_Occurred()) SWIG_fail;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 Py_INCREF(Py_None); resultobj = Py_None;
11883 {
11884 PyObject *o = PyInt_FromLong((long) (*arg4));
11885 resultobj = t_output_helper(resultobj,o);
11886 }
11887 {
11888 PyObject *o = PyInt_FromLong((long) (*arg5));
11889 resultobj = t_output_helper(resultobj,o);
11890 }
11891 return resultobj;
11892 fail:
11893 return NULL;
11894 }
11895
11896
11897 static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11898 PyObject *resultobj;
11899 wxGrid *arg1 = (wxGrid *) 0 ;
11900 int arg2 ;
11901 bool arg3 = (bool) False ;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904 PyObject * obj2 = 0 ;
11905 char *kwnames[] = {
11906 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11907 };
11908
11909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11912 arg2 = (int) SWIG_AsInt(obj1);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 if (obj2) {
11915 arg3 = (bool) SWIG_AsBool(obj2);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 (arg1)->SetDefaultRowSize(arg2,arg3);
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 Py_INCREF(Py_None); resultobj = Py_None;
11926 return resultobj;
11927 fail:
11928 return NULL;
11929 }
11930
11931
11932 static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj;
11934 wxGrid *arg1 = (wxGrid *) 0 ;
11935 int arg2 ;
11936 int arg3 ;
11937 PyObject * obj0 = 0 ;
11938 PyObject * obj1 = 0 ;
11939 PyObject * obj2 = 0 ;
11940 char *kwnames[] = {
11941 (char *) "self",(char *) "row",(char *) "height", NULL
11942 };
11943
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11947 arg2 = (int) SWIG_AsInt(obj1);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 arg3 = (int) SWIG_AsInt(obj2);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 (arg1)->SetRowSize(arg2,arg3);
11954
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 Py_INCREF(Py_None); resultobj = Py_None;
11959 return resultobj;
11960 fail:
11961 return NULL;
11962 }
11963
11964
11965 static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxGrid *arg1 = (wxGrid *) 0 ;
11968 int arg2 ;
11969 bool arg3 = (bool) False ;
11970 PyObject * obj0 = 0 ;
11971 PyObject * obj1 = 0 ;
11972 PyObject * obj2 = 0 ;
11973 char *kwnames[] = {
11974 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11975 };
11976
11977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11980 arg2 = (int) SWIG_AsInt(obj1);
11981 if (PyErr_Occurred()) SWIG_fail;
11982 if (obj2) {
11983 arg3 = (bool) SWIG_AsBool(obj2);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 (arg1)->SetDefaultColSize(arg2,arg3);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 Py_INCREF(Py_None); resultobj = Py_None;
11994 return resultobj;
11995 fail:
11996 return NULL;
11997 }
11998
11999
12000 static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj;
12002 wxGrid *arg1 = (wxGrid *) 0 ;
12003 int arg2 ;
12004 int arg3 ;
12005 PyObject * obj0 = 0 ;
12006 PyObject * obj1 = 0 ;
12007 PyObject * obj2 = 0 ;
12008 char *kwnames[] = {
12009 (char *) "self",(char *) "col",(char *) "width", NULL
12010 };
12011
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12015 arg2 = (int) SWIG_AsInt(obj1);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 arg3 = (int) SWIG_AsInt(obj2);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 (arg1)->SetColSize(arg2,arg3);
12022
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 Py_INCREF(Py_None); resultobj = Py_None;
12027 return resultobj;
12028 fail:
12029 return NULL;
12030 }
12031
12032
12033 static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj;
12035 wxGrid *arg1 = (wxGrid *) 0 ;
12036 int arg2 ;
12037 bool arg3 = (bool) True ;
12038 PyObject * obj0 = 0 ;
12039 PyObject * obj1 = 0 ;
12040 PyObject * obj2 = 0 ;
12041 char *kwnames[] = {
12042 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12043 };
12044
12045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
12046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12048 arg2 = (int) SWIG_AsInt(obj1);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 if (obj2) {
12051 arg3 = (bool) SWIG_AsBool(obj2);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
12056 (arg1)->AutoSizeColumn(arg2,arg3);
12057
12058 wxPyEndAllowThreads(__tstate);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 }
12061 Py_INCREF(Py_None); resultobj = Py_None;
12062 return resultobj;
12063 fail:
12064 return NULL;
12065 }
12066
12067
12068 static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxGrid *arg1 = (wxGrid *) 0 ;
12071 int arg2 ;
12072 bool arg3 = (bool) True ;
12073 PyObject * obj0 = 0 ;
12074 PyObject * obj1 = 0 ;
12075 PyObject * obj2 = 0 ;
12076 char *kwnames[] = {
12077 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12078 };
12079
12080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
12081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12083 arg2 = (int) SWIG_AsInt(obj1);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 if (obj2) {
12086 arg3 = (bool) SWIG_AsBool(obj2);
12087 if (PyErr_Occurred()) SWIG_fail;
12088 }
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 (arg1)->AutoSizeRow(arg2,arg3);
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 Py_INCREF(Py_None); resultobj = Py_None;
12097 return resultobj;
12098 fail:
12099 return NULL;
12100 }
12101
12102
12103 static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
12104 PyObject *resultobj;
12105 wxGrid *arg1 = (wxGrid *) 0 ;
12106 bool arg2 = (bool) True ;
12107 PyObject * obj0 = 0 ;
12108 PyObject * obj1 = 0 ;
12109 char *kwnames[] = {
12110 (char *) "self",(char *) "setAsMin", NULL
12111 };
12112
12113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
12114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12116 if (obj1) {
12117 arg2 = (bool) SWIG_AsBool(obj1);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 (arg1)->AutoSizeColumns(arg2);
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
12127 Py_INCREF(Py_None); resultobj = Py_None;
12128 return resultobj;
12129 fail:
12130 return NULL;
12131 }
12132
12133
12134 static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12135 PyObject *resultobj;
12136 wxGrid *arg1 = (wxGrid *) 0 ;
12137 bool arg2 = (bool) True ;
12138 PyObject * obj0 = 0 ;
12139 PyObject * obj1 = 0 ;
12140 char *kwnames[] = {
12141 (char *) "self",(char *) "setAsMin", NULL
12142 };
12143
12144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
12145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12147 if (obj1) {
12148 arg2 = (bool) SWIG_AsBool(obj1);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 (arg1)->AutoSizeRows(arg2);
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 Py_INCREF(Py_None); resultobj = Py_None;
12159 return resultobj;
12160 fail:
12161 return NULL;
12162 }
12163
12164
12165 static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxGrid *arg1 = (wxGrid *) 0 ;
12168 PyObject * obj0 = 0 ;
12169 char *kwnames[] = {
12170 (char *) "self", NULL
12171 };
12172
12173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
12174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 (arg1)->AutoSize();
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 Py_INCREF(Py_None); resultobj = Py_None;
12184 return resultobj;
12185 fail:
12186 return NULL;
12187 }
12188
12189
12190 static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxGrid *arg1 = (wxGrid *) 0 ;
12193 int arg2 ;
12194 PyObject * obj0 = 0 ;
12195 PyObject * obj1 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self",(char *) "row", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
12201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12203 arg2 = (int) SWIG_AsInt(obj1);
12204 if (PyErr_Occurred()) SWIG_fail;
12205 {
12206 PyThreadState* __tstate = wxPyBeginAllowThreads();
12207 (arg1)->AutoSizeRowLabelSize(arg2);
12208
12209 wxPyEndAllowThreads(__tstate);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
12212 Py_INCREF(Py_None); resultobj = Py_None;
12213 return resultobj;
12214 fail:
12215 return NULL;
12216 }
12217
12218
12219 static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12220 PyObject *resultobj;
12221 wxGrid *arg1 = (wxGrid *) 0 ;
12222 int arg2 ;
12223 PyObject * obj0 = 0 ;
12224 PyObject * obj1 = 0 ;
12225 char *kwnames[] = {
12226 (char *) "self",(char *) "col", NULL
12227 };
12228
12229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
12230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12232 arg2 = (int) SWIG_AsInt(obj1);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 {
12235 PyThreadState* __tstate = wxPyBeginAllowThreads();
12236 (arg1)->AutoSizeColLabelSize(arg2);
12237
12238 wxPyEndAllowThreads(__tstate);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
12241 Py_INCREF(Py_None); resultobj = Py_None;
12242 return resultobj;
12243 fail:
12244 return NULL;
12245 }
12246
12247
12248 static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12249 PyObject *resultobj;
12250 wxGrid *arg1 = (wxGrid *) 0 ;
12251 int arg2 ;
12252 int arg3 ;
12253 PyObject * obj0 = 0 ;
12254 PyObject * obj1 = 0 ;
12255 PyObject * obj2 = 0 ;
12256 char *kwnames[] = {
12257 (char *) "self",(char *) "col",(char *) "width", NULL
12258 };
12259
12260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
12261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12263 arg2 = (int) SWIG_AsInt(obj1);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 arg3 = (int) SWIG_AsInt(obj2);
12266 if (PyErr_Occurred()) SWIG_fail;
12267 {
12268 PyThreadState* __tstate = wxPyBeginAllowThreads();
12269 (arg1)->SetColMinimalWidth(arg2,arg3);
12270
12271 wxPyEndAllowThreads(__tstate);
12272 if (PyErr_Occurred()) SWIG_fail;
12273 }
12274 Py_INCREF(Py_None); resultobj = Py_None;
12275 return resultobj;
12276 fail:
12277 return NULL;
12278 }
12279
12280
12281 static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12282 PyObject *resultobj;
12283 wxGrid *arg1 = (wxGrid *) 0 ;
12284 int arg2 ;
12285 int arg3 ;
12286 PyObject * obj0 = 0 ;
12287 PyObject * obj1 = 0 ;
12288 PyObject * obj2 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "self",(char *) "row",(char *) "width", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
12294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12296 arg2 = (int) SWIG_AsInt(obj1);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 arg3 = (int) SWIG_AsInt(obj2);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 (arg1)->SetRowMinimalHeight(arg2,arg3);
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 Py_INCREF(Py_None); resultobj = Py_None;
12308 return resultobj;
12309 fail:
12310 return NULL;
12311 }
12312
12313
12314 static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12315 PyObject *resultobj;
12316 wxGrid *arg1 = (wxGrid *) 0 ;
12317 int arg2 ;
12318 PyObject * obj0 = 0 ;
12319 PyObject * obj1 = 0 ;
12320 char *kwnames[] = {
12321 (char *) "self",(char *) "width", NULL
12322 };
12323
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
12325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12327 arg2 = (int) SWIG_AsInt(obj1);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 (arg1)->SetColMinimalAcceptableWidth(arg2);
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 Py_INCREF(Py_None); resultobj = Py_None;
12337 return resultobj;
12338 fail:
12339 return NULL;
12340 }
12341
12342
12343 static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12344 PyObject *resultobj;
12345 wxGrid *arg1 = (wxGrid *) 0 ;
12346 int arg2 ;
12347 PyObject * obj0 = 0 ;
12348 PyObject * obj1 = 0 ;
12349 char *kwnames[] = {
12350 (char *) "self",(char *) "width", NULL
12351 };
12352
12353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
12354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12356 arg2 = (int) SWIG_AsInt(obj1);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 {
12359 PyThreadState* __tstate = wxPyBeginAllowThreads();
12360 (arg1)->SetRowMinimalAcceptableHeight(arg2);
12361
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 Py_INCREF(Py_None); resultobj = Py_None;
12366 return resultobj;
12367 fail:
12368 return NULL;
12369 }
12370
12371
12372 static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12373 PyObject *resultobj;
12374 wxGrid *arg1 = (wxGrid *) 0 ;
12375 int result;
12376 PyObject * obj0 = 0 ;
12377 char *kwnames[] = {
12378 (char *) "self", NULL
12379 };
12380
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
12382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12384 {
12385 PyThreadState* __tstate = wxPyBeginAllowThreads();
12386 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
12387
12388 wxPyEndAllowThreads(__tstate);
12389 if (PyErr_Occurred()) SWIG_fail;
12390 }
12391 resultobj = SWIG_FromInt((int)result);
12392 return resultobj;
12393 fail:
12394 return NULL;
12395 }
12396
12397
12398 static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12399 PyObject *resultobj;
12400 wxGrid *arg1 = (wxGrid *) 0 ;
12401 int result;
12402 PyObject * obj0 = 0 ;
12403 char *kwnames[] = {
12404 (char *) "self", NULL
12405 };
12406
12407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
12408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12410 {
12411 PyThreadState* __tstate = wxPyBeginAllowThreads();
12412 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
12413
12414 wxPyEndAllowThreads(__tstate);
12415 if (PyErr_Occurred()) SWIG_fail;
12416 }
12417 resultobj = SWIG_FromInt((int)result);
12418 return resultobj;
12419 fail:
12420 return NULL;
12421 }
12422
12423
12424 static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12425 PyObject *resultobj;
12426 wxGrid *arg1 = (wxGrid *) 0 ;
12427 wxColour *arg2 = 0 ;
12428 wxColour temp2 ;
12429 PyObject * obj0 = 0 ;
12430 PyObject * obj1 = 0 ;
12431 char *kwnames[] = {
12432 (char *) "self","arg2", NULL
12433 };
12434
12435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
12436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12438 {
12439 arg2 = &temp2;
12440 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12441 }
12442 {
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
12445
12446 wxPyEndAllowThreads(__tstate);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 Py_INCREF(Py_None); resultobj = Py_None;
12450 return resultobj;
12451 fail:
12452 return NULL;
12453 }
12454
12455
12456 static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12457 PyObject *resultobj;
12458 wxGrid *arg1 = (wxGrid *) 0 ;
12459 int arg2 ;
12460 int arg3 ;
12461 wxColour *arg4 = 0 ;
12462 wxColour temp4 ;
12463 PyObject * obj0 = 0 ;
12464 PyObject * obj1 = 0 ;
12465 PyObject * obj2 = 0 ;
12466 PyObject * obj3 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12474 arg2 = (int) SWIG_AsInt(obj1);
12475 if (PyErr_Occurred()) SWIG_fail;
12476 arg3 = (int) SWIG_AsInt(obj2);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 {
12479 arg4 = &temp4;
12480 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12481 }
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 Py_INCREF(Py_None); resultobj = Py_None;
12490 return resultobj;
12491 fail:
12492 return NULL;
12493 }
12494
12495
12496 static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj;
12498 wxGrid *arg1 = (wxGrid *) 0 ;
12499 wxColour *arg2 = 0 ;
12500 wxColour temp2 ;
12501 PyObject * obj0 = 0 ;
12502 PyObject * obj1 = 0 ;
12503 char *kwnames[] = {
12504 (char *) "self","arg2", NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
12508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12510 {
12511 arg2 = &temp2;
12512 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12513 }
12514 {
12515 PyThreadState* __tstate = wxPyBeginAllowThreads();
12516 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
12517
12518 wxPyEndAllowThreads(__tstate);
12519 if (PyErr_Occurred()) SWIG_fail;
12520 }
12521 Py_INCREF(Py_None); resultobj = Py_None;
12522 return resultobj;
12523 fail:
12524 return NULL;
12525 }
12526
12527
12528 static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12529 PyObject *resultobj;
12530 wxGrid *arg1 = (wxGrid *) 0 ;
12531 int arg2 ;
12532 int arg3 ;
12533 wxColour *arg4 = 0 ;
12534 wxColour temp4 ;
12535 PyObject * obj0 = 0 ;
12536 PyObject * obj1 = 0 ;
12537 PyObject * obj2 = 0 ;
12538 PyObject * obj3 = 0 ;
12539 char *kwnames[] = {
12540 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12541 };
12542
12543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12546 arg2 = (int) SWIG_AsInt(obj1);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 arg3 = (int) SWIG_AsInt(obj2);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 {
12551 arg4 = &temp4;
12552 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12553 }
12554 {
12555 PyThreadState* __tstate = wxPyBeginAllowThreads();
12556 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
12557
12558 wxPyEndAllowThreads(__tstate);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 }
12561 Py_INCREF(Py_None); resultobj = Py_None;
12562 return resultobj;
12563 fail:
12564 return NULL;
12565 }
12566
12567
12568 static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12569 PyObject *resultobj;
12570 wxGrid *arg1 = (wxGrid *) 0 ;
12571 wxFont *arg2 = 0 ;
12572 PyObject * obj0 = 0 ;
12573 PyObject * obj1 = 0 ;
12574 char *kwnames[] = {
12575 (char *) "self","arg2", NULL
12576 };
12577
12578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
12579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12582 SWIG_POINTER_EXCEPTION | 0)) == -1)
12583 SWIG_fail;
12584 if (arg2 == NULL) {
12585 PyErr_SetString(PyExc_TypeError,"null reference");
12586 SWIG_fail;
12587 }
12588 {
12589 PyThreadState* __tstate = wxPyBeginAllowThreads();
12590 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
12591
12592 wxPyEndAllowThreads(__tstate);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 }
12595 Py_INCREF(Py_None); resultobj = Py_None;
12596 return resultobj;
12597 fail:
12598 return NULL;
12599 }
12600
12601
12602 static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj;
12604 wxGrid *arg1 = (wxGrid *) 0 ;
12605 int arg2 ;
12606 int arg3 ;
12607 wxFont *arg4 = 0 ;
12608 PyObject * obj0 = 0 ;
12609 PyObject * obj1 = 0 ;
12610 PyObject * obj2 = 0 ;
12611 PyObject * obj3 = 0 ;
12612 char *kwnames[] = {
12613 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12614 };
12615
12616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12619 arg2 = (int) SWIG_AsInt(obj1);
12620 if (PyErr_Occurred()) SWIG_fail;
12621 arg3 = (int) SWIG_AsInt(obj2);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxFont,
12624 SWIG_POINTER_EXCEPTION | 0)) == -1)
12625 SWIG_fail;
12626 if (arg4 == NULL) {
12627 PyErr_SetString(PyExc_TypeError,"null reference");
12628 SWIG_fail;
12629 }
12630 {
12631 PyThreadState* __tstate = wxPyBeginAllowThreads();
12632 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
12633
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 Py_INCREF(Py_None); resultobj = Py_None;
12638 return resultobj;
12639 fail:
12640 return NULL;
12641 }
12642
12643
12644 static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj;
12646 wxGrid *arg1 = (wxGrid *) 0 ;
12647 int arg2 ;
12648 int arg3 ;
12649 PyObject * obj0 = 0 ;
12650 PyObject * obj1 = 0 ;
12651 PyObject * obj2 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12654 };
12655
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
12657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12659 arg2 = (int) SWIG_AsInt(obj1);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 arg3 = (int) SWIG_AsInt(obj2);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 {
12664 PyThreadState* __tstate = wxPyBeginAllowThreads();
12665 (arg1)->SetDefaultCellAlignment(arg2,arg3);
12666
12667 wxPyEndAllowThreads(__tstate);
12668 if (PyErr_Occurred()) SWIG_fail;
12669 }
12670 Py_INCREF(Py_None); resultobj = Py_None;
12671 return resultobj;
12672 fail:
12673 return NULL;
12674 }
12675
12676
12677 static PyObject *_wrap_Grid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12678 PyObject *resultobj;
12679 wxGrid *arg1 = (wxGrid *) 0 ;
12680 int arg2 ;
12681 int arg3 ;
12682 int arg4 ;
12683 int arg5 ;
12684 PyObject * obj0 = 0 ;
12685 PyObject * obj1 = 0 ;
12686 PyObject * obj2 = 0 ;
12687 PyObject * obj3 = 0 ;
12688 PyObject * obj4 = 0 ;
12689 char *kwnames[] = {
12690 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12691 };
12692
12693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12696 arg2 = (int) SWIG_AsInt(obj1);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 arg3 = (int) SWIG_AsInt(obj2);
12699 if (PyErr_Occurred()) SWIG_fail;
12700 arg4 = (int) SWIG_AsInt(obj3);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 arg5 = (int) SWIG_AsInt(obj4);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 Py_INCREF(Py_None); resultobj = Py_None;
12712 return resultobj;
12713 fail:
12714 return NULL;
12715 }
12716
12717
12718 static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12719 PyObject *resultobj;
12720 wxGrid *arg1 = (wxGrid *) 0 ;
12721 bool arg2 ;
12722 PyObject * obj0 = 0 ;
12723 PyObject * obj1 = 0 ;
12724 char *kwnames[] = {
12725 (char *) "self",(char *) "allow", NULL
12726 };
12727
12728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
12729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12731 arg2 = (bool) SWIG_AsBool(obj1);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 (arg1)->SetDefaultCellOverflow(arg2);
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 Py_INCREF(Py_None); resultobj = Py_None;
12741 return resultobj;
12742 fail:
12743 return NULL;
12744 }
12745
12746
12747 static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12748 PyObject *resultobj;
12749 wxGrid *arg1 = (wxGrid *) 0 ;
12750 int arg2 ;
12751 int arg3 ;
12752 bool arg4 ;
12753 PyObject * obj0 = 0 ;
12754 PyObject * obj1 = 0 ;
12755 PyObject * obj2 = 0 ;
12756 PyObject * obj3 = 0 ;
12757 char *kwnames[] = {
12758 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12759 };
12760
12761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12764 arg2 = (int) SWIG_AsInt(obj1);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 arg3 = (int) SWIG_AsInt(obj2);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 arg4 = (bool) SWIG_AsBool(obj3);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 {
12771 PyThreadState* __tstate = wxPyBeginAllowThreads();
12772 (arg1)->SetCellOverflow(arg2,arg3,arg4);
12773
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 }
12777 Py_INCREF(Py_None); resultobj = Py_None;
12778 return resultobj;
12779 fail:
12780 return NULL;
12781 }
12782
12783
12784 static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12785 PyObject *resultobj;
12786 wxGrid *arg1 = (wxGrid *) 0 ;
12787 int arg2 ;
12788 int arg3 ;
12789 int arg4 ;
12790 int arg5 ;
12791 PyObject * obj0 = 0 ;
12792 PyObject * obj1 = 0 ;
12793 PyObject * obj2 = 0 ;
12794 PyObject * obj3 = 0 ;
12795 PyObject * obj4 = 0 ;
12796 char *kwnames[] = {
12797 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12798 };
12799
12800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12803 arg2 = (int) SWIG_AsInt(obj1);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 arg3 = (int) SWIG_AsInt(obj2);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 arg4 = (int) SWIG_AsInt(obj3);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 arg5 = (int) SWIG_AsInt(obj4);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
12814
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
12818 Py_INCREF(Py_None); resultobj = Py_None;
12819 return resultobj;
12820 fail:
12821 return NULL;
12822 }
12823
12824
12825 static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12826 PyObject *resultobj;
12827 wxGrid *arg1 = (wxGrid *) 0 ;
12828 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
12829 PyObject * obj0 = 0 ;
12830 PyObject * obj1 = 0 ;
12831 char *kwnames[] = {
12832 (char *) "self",(char *) "renderer", NULL
12833 };
12834
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
12836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
12839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 (arg1)->SetDefaultRenderer(arg2);
12843
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 Py_INCREF(Py_None); resultobj = Py_None;
12848 return resultobj;
12849 fail:
12850 return NULL;
12851 }
12852
12853
12854 static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12855 PyObject *resultobj;
12856 wxGrid *arg1 = (wxGrid *) 0 ;
12857 int arg2 ;
12858 int arg3 ;
12859 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
12860 PyObject * obj0 = 0 ;
12861 PyObject * obj1 = 0 ;
12862 PyObject * obj2 = 0 ;
12863 PyObject * obj3 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12871 arg2 = (int) SWIG_AsInt(obj1);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 arg3 = (int) SWIG_AsInt(obj2);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellRenderer,
12876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 (arg1)->SetCellRenderer(arg2,arg3,arg4);
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 Py_INCREF(Py_None); resultobj = Py_None;
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxGrid *arg1 = (wxGrid *) 0 ;
12894 wxGridCellRenderer *result;
12895 PyObject * obj0 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
12906
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 {
12911 resultobj = wxPyMake_wxGridCellRenderer(result);
12912 }
12913 return resultobj;
12914 fail:
12915 return NULL;
12916 }
12917
12918
12919 static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12920 PyObject *resultobj;
12921 wxGrid *arg1 = (wxGrid *) 0 ;
12922 int arg2 ;
12923 int arg3 ;
12924 wxGridCellRenderer *result;
12925 PyObject * obj0 = 0 ;
12926 PyObject * obj1 = 0 ;
12927 PyObject * obj2 = 0 ;
12928 char *kwnames[] = {
12929 (char *) "self",(char *) "row",(char *) "col", NULL
12930 };
12931
12932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
12933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12935 arg2 = (int) SWIG_AsInt(obj1);
12936 if (PyErr_Occurred()) SWIG_fail;
12937 arg3 = (int) SWIG_AsInt(obj2);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 {
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
12942
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 {
12947 resultobj = wxPyMake_wxGridCellRenderer(result);
12948 }
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj;
12957 wxGrid *arg1 = (wxGrid *) 0 ;
12958 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
12959 PyObject * obj0 = 0 ;
12960 PyObject * obj1 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self",(char *) "editor", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
12966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
12969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12970 {
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
12972 (arg1)->SetDefaultEditor(arg2);
12973
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 Py_INCREF(Py_None); resultobj = Py_None;
12978 return resultobj;
12979 fail:
12980 return NULL;
12981 }
12982
12983
12984 static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxGrid *arg1 = (wxGrid *) 0 ;
12987 int arg2 ;
12988 int arg3 ;
12989 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 PyObject * obj2 = 0 ;
12993 PyObject * obj3 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13001 arg2 = (int) SWIG_AsInt(obj1);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 arg3 = (int) SWIG_AsInt(obj2);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13007 {
13008 PyThreadState* __tstate = wxPyBeginAllowThreads();
13009 (arg1)->SetCellEditor(arg2,arg3,arg4);
13010
13011 wxPyEndAllowThreads(__tstate);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 Py_INCREF(Py_None); resultobj = Py_None;
13015 return resultobj;
13016 fail:
13017 return NULL;
13018 }
13019
13020
13021 static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13022 PyObject *resultobj;
13023 wxGrid *arg1 = (wxGrid *) 0 ;
13024 wxGridCellEditor *result;
13025 PyObject * obj0 = 0 ;
13026 char *kwnames[] = {
13027 (char *) "self", NULL
13028 };
13029
13030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
13031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13033 {
13034 PyThreadState* __tstate = wxPyBeginAllowThreads();
13035 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
13036
13037 wxPyEndAllowThreads(__tstate);
13038 if (PyErr_Occurred()) SWIG_fail;
13039 }
13040 {
13041 resultobj = wxPyMake_wxGridCellEditor(result);
13042 }
13043 return resultobj;
13044 fail:
13045 return NULL;
13046 }
13047
13048
13049 static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13050 PyObject *resultobj;
13051 wxGrid *arg1 = (wxGrid *) 0 ;
13052 int arg2 ;
13053 int arg3 ;
13054 wxGridCellEditor *result;
13055 PyObject * obj0 = 0 ;
13056 PyObject * obj1 = 0 ;
13057 PyObject * obj2 = 0 ;
13058 char *kwnames[] = {
13059 (char *) "self",(char *) "row",(char *) "col", NULL
13060 };
13061
13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
13063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13065 arg2 = (int) SWIG_AsInt(obj1);
13066 if (PyErr_Occurred()) SWIG_fail;
13067 arg3 = (int) SWIG_AsInt(obj2);
13068 if (PyErr_Occurred()) SWIG_fail;
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
13072
13073 wxPyEndAllowThreads(__tstate);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 {
13077 resultobj = wxPyMake_wxGridCellEditor(result);
13078 }
13079 return resultobj;
13080 fail:
13081 return NULL;
13082 }
13083
13084
13085 static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj;
13087 wxGrid *arg1 = (wxGrid *) 0 ;
13088 int arg2 ;
13089 int arg3 ;
13090 wxString result;
13091 PyObject * obj0 = 0 ;
13092 PyObject * obj1 = 0 ;
13093 PyObject * obj2 = 0 ;
13094 char *kwnames[] = {
13095 (char *) "self",(char *) "row",(char *) "col", NULL
13096 };
13097
13098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
13099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13101 arg2 = (int) SWIG_AsInt(obj1);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 arg3 = (int) SWIG_AsInt(obj2);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 {
13106 PyThreadState* __tstate = wxPyBeginAllowThreads();
13107 result = (arg1)->GetCellValue(arg2,arg3);
13108
13109 wxPyEndAllowThreads(__tstate);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 {
13113 #if wxUSE_UNICODE
13114 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13115 #else
13116 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13117 #endif
13118 }
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj;
13127 wxGrid *arg1 = (wxGrid *) 0 ;
13128 int arg2 ;
13129 int arg3 ;
13130 wxString *arg4 = 0 ;
13131 bool temp4 = False ;
13132 PyObject * obj0 = 0 ;
13133 PyObject * obj1 = 0 ;
13134 PyObject * obj2 = 0 ;
13135 PyObject * obj3 = 0 ;
13136 char *kwnames[] = {
13137 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13138 };
13139
13140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13143 arg2 = (int) SWIG_AsInt(obj1);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 arg3 = (int) SWIG_AsInt(obj2);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 {
13148 arg4 = wxString_in_helper(obj3);
13149 if (arg4 == NULL) SWIG_fail;
13150 temp4 = True;
13151 }
13152 {
13153 PyThreadState* __tstate = wxPyBeginAllowThreads();
13154 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
13155
13156 wxPyEndAllowThreads(__tstate);
13157 if (PyErr_Occurred()) SWIG_fail;
13158 }
13159 Py_INCREF(Py_None); resultobj = Py_None;
13160 {
13161 if (temp4)
13162 delete arg4;
13163 }
13164 return resultobj;
13165 fail:
13166 {
13167 if (temp4)
13168 delete arg4;
13169 }
13170 return NULL;
13171 }
13172
13173
13174 static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13175 PyObject *resultobj;
13176 wxGrid *arg1 = (wxGrid *) 0 ;
13177 int arg2 ;
13178 int arg3 ;
13179 bool result;
13180 PyObject * obj0 = 0 ;
13181 PyObject * obj1 = 0 ;
13182 PyObject * obj2 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self",(char *) "row",(char *) "col", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
13188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13190 arg2 = (int) SWIG_AsInt(obj1);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 arg3 = (int) SWIG_AsInt(obj2);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 {
13202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13203 }
13204 return resultobj;
13205 fail:
13206 return NULL;
13207 }
13208
13209
13210 static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13211 PyObject *resultobj;
13212 wxGrid *arg1 = (wxGrid *) 0 ;
13213 int arg2 ;
13214 int arg3 ;
13215 bool arg4 = (bool) True ;
13216 PyObject * obj0 = 0 ;
13217 PyObject * obj1 = 0 ;
13218 PyObject * obj2 = 0 ;
13219 PyObject * obj3 = 0 ;
13220 char *kwnames[] = {
13221 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13227 arg2 = (int) SWIG_AsInt(obj1);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 arg3 = (int) SWIG_AsInt(obj2);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 if (obj3) {
13232 arg4 = (bool) SWIG_AsBool(obj3);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 (arg1)->SetReadOnly(arg2,arg3,arg4);
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 Py_INCREF(Py_None); resultobj = Py_None;
13243 return resultobj;
13244 fail:
13245 return NULL;
13246 }
13247
13248
13249 static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj;
13251 wxGrid *arg1 = (wxGrid *) 0 ;
13252 int arg2 ;
13253 bool arg3 = (bool) False ;
13254 PyObject * obj0 = 0 ;
13255 PyObject * obj1 = 0 ;
13256 PyObject * obj2 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
13262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13264 arg2 = (int) SWIG_AsInt(obj1);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 if (obj2) {
13267 arg3 = (bool) SWIG_AsBool(obj2);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 (arg1)->SelectRow(arg2,arg3);
13273
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 Py_INCREF(Py_None); resultobj = Py_None;
13278 return resultobj;
13279 fail:
13280 return NULL;
13281 }
13282
13283
13284 static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13285 PyObject *resultobj;
13286 wxGrid *arg1 = (wxGrid *) 0 ;
13287 int arg2 ;
13288 bool arg3 = (bool) False ;
13289 PyObject * obj0 = 0 ;
13290 PyObject * obj1 = 0 ;
13291 PyObject * obj2 = 0 ;
13292 char *kwnames[] = {
13293 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13294 };
13295
13296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
13297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13299 arg2 = (int) SWIG_AsInt(obj1);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 if (obj2) {
13302 arg3 = (bool) SWIG_AsBool(obj2);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 {
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 (arg1)->SelectCol(arg2,arg3);
13308
13309 wxPyEndAllowThreads(__tstate);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 }
13312 Py_INCREF(Py_None); resultobj = Py_None;
13313 return resultobj;
13314 fail:
13315 return NULL;
13316 }
13317
13318
13319 static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
13320 PyObject *resultobj;
13321 wxGrid *arg1 = (wxGrid *) 0 ;
13322 int arg2 ;
13323 int arg3 ;
13324 int arg4 ;
13325 int arg5 ;
13326 bool arg6 = (bool) False ;
13327 PyObject * obj0 = 0 ;
13328 PyObject * obj1 = 0 ;
13329 PyObject * obj2 = 0 ;
13330 PyObject * obj3 = 0 ;
13331 PyObject * obj4 = 0 ;
13332 PyObject * obj5 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13340 arg2 = (int) SWIG_AsInt(obj1);
13341 if (PyErr_Occurred()) SWIG_fail;
13342 arg3 = (int) SWIG_AsInt(obj2);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 arg4 = (int) SWIG_AsInt(obj3);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 arg5 = (int) SWIG_AsInt(obj4);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 if (obj5) {
13349 arg6 = (bool) SWIG_AsBool(obj5);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 }
13352 {
13353 PyThreadState* __tstate = wxPyBeginAllowThreads();
13354 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
13355
13356 wxPyEndAllowThreads(__tstate);
13357 if (PyErr_Occurred()) SWIG_fail;
13358 }
13359 Py_INCREF(Py_None); resultobj = Py_None;
13360 return resultobj;
13361 fail:
13362 return NULL;
13363 }
13364
13365
13366 static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
13367 PyObject *resultobj;
13368 wxGrid *arg1 = (wxGrid *) 0 ;
13369 PyObject * obj0 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
13375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13377 {
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 (arg1)->SelectAll();
13380
13381 wxPyEndAllowThreads(__tstate);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 }
13384 Py_INCREF(Py_None); resultobj = Py_None;
13385 return resultobj;
13386 fail:
13387 return NULL;
13388 }
13389
13390
13391 static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj;
13393 wxGrid *arg1 = (wxGrid *) 0 ;
13394 bool result;
13395 PyObject * obj0 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "self", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
13401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13403 {
13404 PyThreadState* __tstate = wxPyBeginAllowThreads();
13405 result = (bool)(arg1)->IsSelection();
13406
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 {
13411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13412 }
13413 return resultobj;
13414 fail:
13415 return NULL;
13416 }
13417
13418
13419 static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13420 PyObject *resultobj;
13421 wxGrid *arg1 = (wxGrid *) 0 ;
13422 PyObject * obj0 = 0 ;
13423 char *kwnames[] = {
13424 (char *) "self", NULL
13425 };
13426
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
13428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13430 {
13431 PyThreadState* __tstate = wxPyBeginAllowThreads();
13432 (arg1)->ClearSelection();
13433
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 Py_INCREF(Py_None); resultobj = Py_None;
13438 return resultobj;
13439 fail:
13440 return NULL;
13441 }
13442
13443
13444 static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13445 PyObject *resultobj;
13446 wxGrid *arg1 = (wxGrid *) 0 ;
13447 int arg2 ;
13448 int arg3 ;
13449 bool result;
13450 PyObject * obj0 = 0 ;
13451 PyObject * obj1 = 0 ;
13452 PyObject * obj2 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "self",(char *) "row",(char *) "col", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13460 arg2 = (int) SWIG_AsInt(obj1);
13461 if (PyErr_Occurred()) SWIG_fail;
13462 arg3 = (int) SWIG_AsInt(obj2);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 {
13465 PyThreadState* __tstate = wxPyBeginAllowThreads();
13466 result = (bool)(arg1)->IsInSelection(arg2,arg3);
13467
13468 wxPyEndAllowThreads(__tstate);
13469 if (PyErr_Occurred()) SWIG_fail;
13470 }
13471 {
13472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13473 }
13474 return resultobj;
13475 fail:
13476 return NULL;
13477 }
13478
13479
13480 static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
13481 PyObject *resultobj;
13482 wxGrid *arg1 = (wxGrid *) 0 ;
13483 wxGridCellCoordsArray result;
13484 PyObject * obj0 = 0 ;
13485 char *kwnames[] = {
13486 (char *) "self", NULL
13487 };
13488
13489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
13490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13492 {
13493 PyThreadState* __tstate = wxPyBeginAllowThreads();
13494 result = ((wxGrid const *)arg1)->GetSelectedCells();
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 {
13500 resultobj = wxGridCellCoordsArray_helper(result);
13501 }
13502 return resultobj;
13503 fail:
13504 return NULL;
13505 }
13506
13507
13508 static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13509 PyObject *resultobj;
13510 wxGrid *arg1 = (wxGrid *) 0 ;
13511 wxGridCellCoordsArray result;
13512 PyObject * obj0 = 0 ;
13513 char *kwnames[] = {
13514 (char *) "self", NULL
13515 };
13516
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
13518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13520 {
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
13523
13524 wxPyEndAllowThreads(__tstate);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
13527 {
13528 resultobj = wxGridCellCoordsArray_helper(result);
13529 }
13530 return resultobj;
13531 fail:
13532 return NULL;
13533 }
13534
13535
13536 static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj;
13538 wxGrid *arg1 = (wxGrid *) 0 ;
13539 wxGridCellCoordsArray result;
13540 PyObject * obj0 = 0 ;
13541 char *kwnames[] = {
13542 (char *) "self", NULL
13543 };
13544
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
13546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 {
13556 resultobj = wxGridCellCoordsArray_helper(result);
13557 }
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
13565 PyObject *resultobj;
13566 wxGrid *arg1 = (wxGrid *) 0 ;
13567 wxArrayInt result;
13568 PyObject * obj0 = 0 ;
13569 char *kwnames[] = {
13570 (char *) "self", NULL
13571 };
13572
13573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
13574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13576 {
13577 PyThreadState* __tstate = wxPyBeginAllowThreads();
13578 result = ((wxGrid const *)arg1)->GetSelectedRows();
13579
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 {
13584 resultobj = PyList_New(0);
13585 size_t idx;
13586 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13587 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13588 PyList_Append(resultobj, val);
13589 Py_DECREF(val);
13590 }
13591 }
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxGrid *arg1 = (wxGrid *) 0 ;
13601 wxArrayInt result;
13602 PyObject * obj0 = 0 ;
13603 char *kwnames[] = {
13604 (char *) "self", NULL
13605 };
13606
13607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
13608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13610 {
13611 PyThreadState* __tstate = wxPyBeginAllowThreads();
13612 result = ((wxGrid const *)arg1)->GetSelectedCols();
13613
13614 wxPyEndAllowThreads(__tstate);
13615 if (PyErr_Occurred()) SWIG_fail;
13616 }
13617 {
13618 resultobj = PyList_New(0);
13619 size_t idx;
13620 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13621 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13622 PyList_Append(resultobj, val);
13623 Py_DECREF(val);
13624 }
13625 }
13626 return resultobj;
13627 fail:
13628 return NULL;
13629 }
13630
13631
13632 static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxGrid *arg1 = (wxGrid *) 0 ;
13635 int arg2 ;
13636 PyObject * obj0 = 0 ;
13637 PyObject * obj1 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self",(char *) "row", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
13643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13645 arg2 = (int) SWIG_AsInt(obj1);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 {
13648 PyThreadState* __tstate = wxPyBeginAllowThreads();
13649 (arg1)->DeselectRow(arg2);
13650
13651 wxPyEndAllowThreads(__tstate);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 }
13654 Py_INCREF(Py_None); resultobj = Py_None;
13655 return resultobj;
13656 fail:
13657 return NULL;
13658 }
13659
13660
13661 static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13662 PyObject *resultobj;
13663 wxGrid *arg1 = (wxGrid *) 0 ;
13664 int arg2 ;
13665 PyObject * obj0 = 0 ;
13666 PyObject * obj1 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "self",(char *) "col", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
13672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13674 arg2 = (int) SWIG_AsInt(obj1);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 (arg1)->DeselectCol(arg2);
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 Py_INCREF(Py_None); resultobj = Py_None;
13684 return resultobj;
13685 fail:
13686 return NULL;
13687 }
13688
13689
13690 static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13691 PyObject *resultobj;
13692 wxGrid *arg1 = (wxGrid *) 0 ;
13693 int arg2 ;
13694 int arg3 ;
13695 PyObject * obj0 = 0 ;
13696 PyObject * obj1 = 0 ;
13697 PyObject * obj2 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self",(char *) "row",(char *) "col", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
13703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13705 arg2 = (int) SWIG_AsInt(obj1);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 arg3 = (int) SWIG_AsInt(obj2);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 (arg1)->DeselectCell(arg2,arg3);
13712
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 Py_INCREF(Py_None); resultobj = Py_None;
13717 return resultobj;
13718 fail:
13719 return NULL;
13720 }
13721
13722
13723 static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13724 PyObject *resultobj;
13725 wxGrid *arg1 = (wxGrid *) 0 ;
13726 wxGridCellCoords *arg2 = 0 ;
13727 wxGridCellCoords *arg3 = 0 ;
13728 wxRect result;
13729 wxGridCellCoords temp2 ;
13730 wxGridCellCoords temp3 ;
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 PyObject * obj2 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
13739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13741 {
13742 arg2 = &temp2;
13743 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
13744 }
13745 {
13746 arg3 = &temp3;
13747 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
13748 }
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 {
13757 wxRect * resultptr;
13758 resultptr = new wxRect((wxRect &) result);
13759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
13760 }
13761 return resultobj;
13762 fail:
13763 return NULL;
13764 }
13765
13766
13767 static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13768 PyObject *resultobj;
13769 wxGrid *arg1 = (wxGrid *) 0 ;
13770 wxColour result;
13771 PyObject * obj0 = 0 ;
13772 char *kwnames[] = {
13773 (char *) "self", NULL
13774 };
13775
13776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
13777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 result = ((wxGrid const *)arg1)->GetSelectionBackground();
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 {
13787 wxColour * resultptr;
13788 resultptr = new wxColour((wxColour &) result);
13789 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13790 }
13791 return resultobj;
13792 fail:
13793 return NULL;
13794 }
13795
13796
13797 static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13798 PyObject *resultobj;
13799 wxGrid *arg1 = (wxGrid *) 0 ;
13800 wxColour result;
13801 PyObject * obj0 = 0 ;
13802 char *kwnames[] = {
13803 (char *) "self", NULL
13804 };
13805
13806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
13807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13809 {
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 result = ((wxGrid const *)arg1)->GetSelectionForeground();
13812
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 {
13817 wxColour * resultptr;
13818 resultptr = new wxColour((wxColour &) result);
13819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13820 }
13821 return resultobj;
13822 fail:
13823 return NULL;
13824 }
13825
13826
13827 static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13828 PyObject *resultobj;
13829 wxGrid *arg1 = (wxGrid *) 0 ;
13830 wxColour *arg2 = 0 ;
13831 wxColour temp2 ;
13832 PyObject * obj0 = 0 ;
13833 PyObject * obj1 = 0 ;
13834 char *kwnames[] = {
13835 (char *) "self",(char *) "c", NULL
13836 };
13837
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
13839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13841 {
13842 arg2 = &temp2;
13843 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13844 }
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
13848
13849 wxPyEndAllowThreads(__tstate);
13850 if (PyErr_Occurred()) SWIG_fail;
13851 }
13852 Py_INCREF(Py_None); resultobj = Py_None;
13853 return resultobj;
13854 fail:
13855 return NULL;
13856 }
13857
13858
13859 static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13860 PyObject *resultobj;
13861 wxGrid *arg1 = (wxGrid *) 0 ;
13862 wxColour *arg2 = 0 ;
13863 wxColour temp2 ;
13864 PyObject * obj0 = 0 ;
13865 PyObject * obj1 = 0 ;
13866 char *kwnames[] = {
13867 (char *) "self",(char *) "c", NULL
13868 };
13869
13870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
13871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13873 {
13874 arg2 = &temp2;
13875 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13876 }
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
13880
13881 wxPyEndAllowThreads(__tstate);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
13884 Py_INCREF(Py_None); resultobj = Py_None;
13885 return resultobj;
13886 fail:
13887 return NULL;
13888 }
13889
13890
13891 static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
13892 PyObject *resultobj;
13893 wxGrid *arg1 = (wxGrid *) 0 ;
13894 wxString *arg2 = 0 ;
13895 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
13896 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
13897 bool temp2 = False ;
13898 PyObject * obj0 = 0 ;
13899 PyObject * obj1 = 0 ;
13900 PyObject * obj2 = 0 ;
13901 PyObject * obj3 = 0 ;
13902 char *kwnames[] = {
13903 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13904 };
13905
13906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13909 {
13910 arg2 = wxString_in_helper(obj1);
13911 if (arg2 == NULL) SWIG_fail;
13912 temp2 = True;
13913 }
13914 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
13915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13916 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 Py_INCREF(Py_None); resultobj = Py_None;
13926 {
13927 if (temp2)
13928 delete arg2;
13929 }
13930 return resultobj;
13931 fail:
13932 {
13933 if (temp2)
13934 delete arg2;
13935 }
13936 return NULL;
13937 }
13938
13939
13940 static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13941 PyObject *resultobj;
13942 wxGrid *arg1 = (wxGrid *) 0 ;
13943 int arg2 ;
13944 int arg3 ;
13945 wxGridCellEditor *result;
13946 PyObject * obj0 = 0 ;
13947 PyObject * obj1 = 0 ;
13948 PyObject * obj2 = 0 ;
13949 char *kwnames[] = {
13950 (char *) "self",(char *) "row",(char *) "col", NULL
13951 };
13952
13953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
13954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13956 arg2 = (int) SWIG_AsInt(obj1);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 arg3 = (int) SWIG_AsInt(obj2);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 {
13968 resultobj = wxPyMake_wxGridCellEditor(result);
13969 }
13970 return resultobj;
13971 fail:
13972 return NULL;
13973 }
13974
13975
13976 static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13977 PyObject *resultobj;
13978 wxGrid *arg1 = (wxGrid *) 0 ;
13979 int arg2 ;
13980 int arg3 ;
13981 wxGridCellRenderer *result;
13982 PyObject * obj0 = 0 ;
13983 PyObject * obj1 = 0 ;
13984 PyObject * obj2 = 0 ;
13985 char *kwnames[] = {
13986 (char *) "self",(char *) "row",(char *) "col", NULL
13987 };
13988
13989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
13990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13992 arg2 = (int) SWIG_AsInt(obj1);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 arg3 = (int) SWIG_AsInt(obj2);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 {
13997 PyThreadState* __tstate = wxPyBeginAllowThreads();
13998 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
13999
14000 wxPyEndAllowThreads(__tstate);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 }
14003 {
14004 resultobj = wxPyMake_wxGridCellRenderer(result);
14005 }
14006 return resultobj;
14007 fail:
14008 return NULL;
14009 }
14010
14011
14012 static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj;
14014 wxGrid *arg1 = (wxGrid *) 0 ;
14015 wxString *arg2 = 0 ;
14016 wxGridCellEditor *result;
14017 bool temp2 = False ;
14018 PyObject * obj0 = 0 ;
14019 PyObject * obj1 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self",(char *) "typeName", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
14025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14027 {
14028 arg2 = wxString_in_helper(obj1);
14029 if (arg2 == NULL) SWIG_fail;
14030 temp2 = True;
14031 }
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 {
14040 resultobj = wxPyMake_wxGridCellEditor(result);
14041 }
14042 {
14043 if (temp2)
14044 delete arg2;
14045 }
14046 return resultobj;
14047 fail:
14048 {
14049 if (temp2)
14050 delete arg2;
14051 }
14052 return NULL;
14053 }
14054
14055
14056 static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14057 PyObject *resultobj;
14058 wxGrid *arg1 = (wxGrid *) 0 ;
14059 wxString *arg2 = 0 ;
14060 wxGridCellRenderer *result;
14061 bool temp2 = False ;
14062 PyObject * obj0 = 0 ;
14063 PyObject * obj1 = 0 ;
14064 char *kwnames[] = {
14065 (char *) "self",(char *) "typeName", NULL
14066 };
14067
14068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
14069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14071 {
14072 arg2 = wxString_in_helper(obj1);
14073 if (arg2 == NULL) SWIG_fail;
14074 temp2 = True;
14075 }
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
14079
14080 wxPyEndAllowThreads(__tstate);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
14083 {
14084 resultobj = wxPyMake_wxGridCellRenderer(result);
14085 }
14086 {
14087 if (temp2)
14088 delete arg2;
14089 }
14090 return resultobj;
14091 fail:
14092 {
14093 if (temp2)
14094 delete arg2;
14095 }
14096 return NULL;
14097 }
14098
14099
14100 static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14101 PyObject *resultobj;
14102 wxGrid *arg1 = (wxGrid *) 0 ;
14103 int arg2 ;
14104 int arg3 ;
14105 PyObject * obj0 = 0 ;
14106 PyObject * obj1 = 0 ;
14107 PyObject * obj2 = 0 ;
14108 char *kwnames[] = {
14109 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14110 };
14111
14112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
14113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14115 arg2 = (int) SWIG_AsInt(obj1);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 arg3 = (int) SWIG_AsInt(obj2);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 (arg1)->SetMargins(arg2,arg3);
14122
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 Py_INCREF(Py_None); resultobj = Py_None;
14127 return resultobj;
14128 fail:
14129 return NULL;
14130 }
14131
14132
14133 static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14134 PyObject *resultobj;
14135 wxGrid *arg1 = (wxGrid *) 0 ;
14136 wxWindow *result;
14137 PyObject * obj0 = 0 ;
14138 char *kwnames[] = {
14139 (char *) "self", NULL
14140 };
14141
14142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
14143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14145 {
14146 PyThreadState* __tstate = wxPyBeginAllowThreads();
14147 result = (wxWindow *)(arg1)->GetGridWindow();
14148
14149 wxPyEndAllowThreads(__tstate);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 {
14153 resultobj = wxPyMake_wxObject(result);
14154 }
14155 return resultobj;
14156 fail:
14157 return NULL;
14158 }
14159
14160
14161 static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14162 PyObject *resultobj;
14163 wxGrid *arg1 = (wxGrid *) 0 ;
14164 wxWindow *result;
14165 PyObject * obj0 = 0 ;
14166 char *kwnames[] = {
14167 (char *) "self", NULL
14168 };
14169
14170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
14171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14173 {
14174 PyThreadState* __tstate = wxPyBeginAllowThreads();
14175 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
14176
14177 wxPyEndAllowThreads(__tstate);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
14180 {
14181 resultobj = wxPyMake_wxObject(result);
14182 }
14183 return resultobj;
14184 fail:
14185 return NULL;
14186 }
14187
14188
14189 static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj;
14191 wxGrid *arg1 = (wxGrid *) 0 ;
14192 wxWindow *result;
14193 PyObject * obj0 = 0 ;
14194 char *kwnames[] = {
14195 (char *) "self", NULL
14196 };
14197
14198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",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 = (wxWindow *)(arg1)->GetGridColLabelWindow();
14204
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 {
14209 resultobj = wxPyMake_wxObject(result);
14210 }
14211 return resultobj;
14212 fail:
14213 return NULL;
14214 }
14215
14216
14217 static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14218 PyObject *resultobj;
14219 wxGrid *arg1 = (wxGrid *) 0 ;
14220 wxWindow *result;
14221 PyObject * obj0 = 0 ;
14222 char *kwnames[] = {
14223 (char *) "self", NULL
14224 };
14225
14226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
14227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14229 {
14230 PyThreadState* __tstate = wxPyBeginAllowThreads();
14231 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
14232
14233 wxPyEndAllowThreads(__tstate);
14234 if (PyErr_Occurred()) SWIG_fail;
14235 }
14236 {
14237 resultobj = wxPyMake_wxObject(result);
14238 }
14239 return resultobj;
14240 fail:
14241 return NULL;
14242 }
14243
14244
14245 static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
14246 PyObject *obj;
14247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14248 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
14249 Py_INCREF(obj);
14250 return Py_BuildValue((char *)"");
14251 }
14252 static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 int arg1 ;
14255 wxEventType arg2 ;
14256 wxGrid *arg3 = (wxGrid *) 0 ;
14257 int arg4 = (int) -1 ;
14258 int arg5 = (int) -1 ;
14259 int arg6 = (int) -1 ;
14260 int arg7 = (int) -1 ;
14261 bool arg8 = (bool) True ;
14262 bool arg9 = (bool) False ;
14263 bool arg10 = (bool) False ;
14264 bool arg11 = (bool) False ;
14265 bool arg12 = (bool) False ;
14266 wxGridEvent *result;
14267 PyObject * obj0 = 0 ;
14268 PyObject * obj1 = 0 ;
14269 PyObject * obj2 = 0 ;
14270 PyObject * obj3 = 0 ;
14271 PyObject * obj4 = 0 ;
14272 PyObject * obj5 = 0 ;
14273 PyObject * obj6 = 0 ;
14274 PyObject * obj7 = 0 ;
14275 PyObject * obj8 = 0 ;
14276 PyObject * obj9 = 0 ;
14277 PyObject * obj10 = 0 ;
14278 PyObject * obj11 = 0 ;
14279 char *kwnames[] = {
14280 (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
14281 };
14282
14283 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;
14284 arg1 = (int) SWIG_AsInt(obj0);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 arg2 = (wxEventType) SWIG_AsInt(obj1);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14290 if (obj3) {
14291 arg4 = (int) SWIG_AsInt(obj3);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
14294 if (obj4) {
14295 arg5 = (int) SWIG_AsInt(obj4);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 if (obj5) {
14299 arg6 = (int) SWIG_AsInt(obj5);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 if (obj6) {
14303 arg7 = (int) SWIG_AsInt(obj6);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 if (obj7) {
14307 arg8 = (bool) SWIG_AsBool(obj7);
14308 if (PyErr_Occurred()) SWIG_fail;
14309 }
14310 if (obj8) {
14311 arg9 = (bool) SWIG_AsBool(obj8);
14312 if (PyErr_Occurred()) SWIG_fail;
14313 }
14314 if (obj9) {
14315 arg10 = (bool) SWIG_AsBool(obj9);
14316 if (PyErr_Occurred()) SWIG_fail;
14317 }
14318 if (obj10) {
14319 arg11 = (bool) SWIG_AsBool(obj10);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 if (obj11) {
14323 arg12 = (bool) SWIG_AsBool(obj11);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEvent, 1);
14334 return resultobj;
14335 fail:
14336 return NULL;
14337 }
14338
14339
14340 static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14341 PyObject *resultobj;
14342 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14343 int result;
14344 PyObject * obj0 = 0 ;
14345 char *kwnames[] = {
14346 (char *) "self", NULL
14347 };
14348
14349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
14350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 result = (int)(arg1)->GetRow();
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 resultobj = SWIG_FromInt((int)result);
14360 return resultobj;
14361 fail:
14362 return NULL;
14363 }
14364
14365
14366 static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj;
14368 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14369 int result;
14370 PyObject * obj0 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "self", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
14376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 result = (int)(arg1)->GetCol();
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 resultobj = SWIG_FromInt((int)result);
14386 return resultobj;
14387 fail:
14388 return NULL;
14389 }
14390
14391
14392 static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj;
14394 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14395 wxPoint result;
14396 PyObject * obj0 = 0 ;
14397 char *kwnames[] = {
14398 (char *) "self", NULL
14399 };
14400
14401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
14402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14404 {
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 result = (arg1)->GetPosition();
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 {
14412 wxPoint * resultptr;
14413 resultptr = new wxPoint((wxPoint &) result);
14414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14415 }
14416 return resultobj;
14417 fail:
14418 return NULL;
14419 }
14420
14421
14422 static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14423 PyObject *resultobj;
14424 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14425 bool result;
14426 PyObject * obj0 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
14432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 result = (bool)(arg1)->Selecting();
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 {
14442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14443 }
14444 return resultobj;
14445 fail:
14446 return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14453 bool result;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 result = (bool)(arg1)->ControlDown();
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 {
14470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14471 }
14472 return resultobj;
14473 fail:
14474 return NULL;
14475 }
14476
14477
14478 static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14479 PyObject *resultobj;
14480 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14481 bool result;
14482 PyObject * obj0 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 result = (bool)(arg1)->MetaDown();
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 {
14498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14499 }
14500 return resultobj;
14501 fail:
14502 return NULL;
14503 }
14504
14505
14506 static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14509 bool result;
14510 PyObject * obj0 = 0 ;
14511 char *kwnames[] = {
14512 (char *) "self", NULL
14513 };
14514
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
14516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14518 {
14519 PyThreadState* __tstate = wxPyBeginAllowThreads();
14520 result = (bool)(arg1)->ShiftDown();
14521
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 {
14526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14527 }
14528 return resultobj;
14529 fail:
14530 return NULL;
14531 }
14532
14533
14534 static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14535 PyObject *resultobj;
14536 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14537 bool result;
14538 PyObject * obj0 = 0 ;
14539 char *kwnames[] = {
14540 (char *) "self", NULL
14541 };
14542
14543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
14544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14546 {
14547 PyThreadState* __tstate = wxPyBeginAllowThreads();
14548 result = (bool)(arg1)->AltDown();
14549
14550 wxPyEndAllowThreads(__tstate);
14551 if (PyErr_Occurred()) SWIG_fail;
14552 }
14553 {
14554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14555 }
14556 return resultobj;
14557 fail:
14558 return NULL;
14559 }
14560
14561
14562 static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) {
14563 PyObject *obj;
14564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14565 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
14566 Py_INCREF(obj);
14567 return Py_BuildValue((char *)"");
14568 }
14569 static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj;
14571 int arg1 ;
14572 wxEventType arg2 ;
14573 wxGrid *arg3 = (wxGrid *) 0 ;
14574 int arg4 = (int) -1 ;
14575 int arg5 = (int) -1 ;
14576 int arg6 = (int) -1 ;
14577 bool arg7 = (bool) False ;
14578 bool arg8 = (bool) False ;
14579 bool arg9 = (bool) False ;
14580 bool arg10 = (bool) False ;
14581 wxGridSizeEvent *result;
14582 PyObject * obj0 = 0 ;
14583 PyObject * obj1 = 0 ;
14584 PyObject * obj2 = 0 ;
14585 PyObject * obj3 = 0 ;
14586 PyObject * obj4 = 0 ;
14587 PyObject * obj5 = 0 ;
14588 PyObject * obj6 = 0 ;
14589 PyObject * obj7 = 0 ;
14590 PyObject * obj8 = 0 ;
14591 PyObject * obj9 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14597 arg1 = (int) SWIG_AsInt(obj0);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 arg2 = (wxEventType) SWIG_AsInt(obj1);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14603 if (obj3) {
14604 arg4 = (int) SWIG_AsInt(obj3);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 if (obj4) {
14608 arg5 = (int) SWIG_AsInt(obj4);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 if (obj5) {
14612 arg6 = (int) SWIG_AsInt(obj5);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
14615 if (obj6) {
14616 arg7 = (bool) SWIG_AsBool(obj6);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 if (obj7) {
14620 arg8 = (bool) SWIG_AsBool(obj7);
14621 if (PyErr_Occurred()) SWIG_fail;
14622 }
14623 if (obj8) {
14624 arg9 = (bool) SWIG_AsBool(obj8);
14625 if (PyErr_Occurred()) SWIG_fail;
14626 }
14627 if (obj9) {
14628 arg10 = (bool) SWIG_AsBool(obj9);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 {
14632 PyThreadState* __tstate = wxPyBeginAllowThreads();
14633 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
14634
14635 wxPyEndAllowThreads(__tstate);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizeEvent, 1);
14639 return resultobj;
14640 fail:
14641 return NULL;
14642 }
14643
14644
14645 static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14646 PyObject *resultobj;
14647 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14648 int result;
14649 PyObject * obj0 = 0 ;
14650 char *kwnames[] = {
14651 (char *) "self", NULL
14652 };
14653
14654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
14655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 result = (int)(arg1)->GetRowOrCol();
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 resultobj = SWIG_FromInt((int)result);
14665 return resultobj;
14666 fail:
14667 return NULL;
14668 }
14669
14670
14671 static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14672 PyObject *resultobj;
14673 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14674 wxPoint result;
14675 PyObject * obj0 = 0 ;
14676 char *kwnames[] = {
14677 (char *) "self", NULL
14678 };
14679
14680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
14681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = (arg1)->GetPosition();
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 {
14691 wxPoint * resultptr;
14692 resultptr = new wxPoint((wxPoint &) result);
14693 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14694 }
14695 return resultobj;
14696 fail:
14697 return NULL;
14698 }
14699
14700
14701 static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14702 PyObject *resultobj;
14703 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14704 bool result;
14705 PyObject * obj0 = 0 ;
14706 char *kwnames[] = {
14707 (char *) "self", NULL
14708 };
14709
14710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
14711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14713 {
14714 PyThreadState* __tstate = wxPyBeginAllowThreads();
14715 result = (bool)(arg1)->ControlDown();
14716
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 {
14721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14722 }
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14732 bool result;
14733 PyObject * obj0 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "self", NULL
14736 };
14737
14738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
14739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 result = (bool)(arg1)->MetaDown();
14744
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 {
14749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14750 }
14751 return resultobj;
14752 fail:
14753 return NULL;
14754 }
14755
14756
14757 static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14758 PyObject *resultobj;
14759 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14760 bool result;
14761 PyObject * obj0 = 0 ;
14762 char *kwnames[] = {
14763 (char *) "self", NULL
14764 };
14765
14766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
14767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14769 {
14770 PyThreadState* __tstate = wxPyBeginAllowThreads();
14771 result = (bool)(arg1)->ShiftDown();
14772
14773 wxPyEndAllowThreads(__tstate);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 {
14777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14778 }
14779 return resultobj;
14780 fail:
14781 return NULL;
14782 }
14783
14784
14785 static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14786 PyObject *resultobj;
14787 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14788 bool result;
14789 PyObject * obj0 = 0 ;
14790 char *kwnames[] = {
14791 (char *) "self", NULL
14792 };
14793
14794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
14795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
14799 result = (bool)(arg1)->AltDown();
14800
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 {
14805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14806 }
14807 return resultobj;
14808 fail:
14809 return NULL;
14810 }
14811
14812
14813 static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) {
14814 PyObject *obj;
14815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14816 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
14817 Py_INCREF(obj);
14818 return Py_BuildValue((char *)"");
14819 }
14820 static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14821 PyObject *resultobj;
14822 int arg1 ;
14823 wxEventType arg2 ;
14824 wxGrid *arg3 = (wxGrid *) 0 ;
14825 wxGridCellCoords *arg4 = 0 ;
14826 wxGridCellCoords *arg5 = 0 ;
14827 bool arg6 = (bool) True ;
14828 bool arg7 = (bool) False ;
14829 bool arg8 = (bool) False ;
14830 bool arg9 = (bool) False ;
14831 bool arg10 = (bool) False ;
14832 wxGridRangeSelectEvent *result;
14833 wxGridCellCoords temp4 ;
14834 wxGridCellCoords temp5 ;
14835 PyObject * obj0 = 0 ;
14836 PyObject * obj1 = 0 ;
14837 PyObject * obj2 = 0 ;
14838 PyObject * obj3 = 0 ;
14839 PyObject * obj4 = 0 ;
14840 PyObject * obj5 = 0 ;
14841 PyObject * obj6 = 0 ;
14842 PyObject * obj7 = 0 ;
14843 PyObject * obj8 = 0 ;
14844 PyObject * obj9 = 0 ;
14845 char *kwnames[] = {
14846 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14847 };
14848
14849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14850 arg1 = (int) SWIG_AsInt(obj0);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 arg2 = (wxEventType) SWIG_AsInt(obj1);
14853 if (PyErr_Occurred()) SWIG_fail;
14854 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14856 {
14857 arg4 = &temp4;
14858 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
14859 }
14860 {
14861 arg5 = &temp5;
14862 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
14863 }
14864 if (obj5) {
14865 arg6 = (bool) SWIG_AsBool(obj5);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 if (obj6) {
14869 arg7 = (bool) SWIG_AsBool(obj6);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 if (obj7) {
14873 arg8 = (bool) SWIG_AsBool(obj7);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 if (obj8) {
14877 arg9 = (bool) SWIG_AsBool(obj8);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 if (obj9) {
14881 arg10 = (bool) SWIG_AsBool(obj9);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridRangeSelectEvent, 1);
14892 return resultobj;
14893 fail:
14894 return NULL;
14895 }
14896
14897
14898 static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14901 wxGridCellCoords result;
14902 PyObject * obj0 = 0 ;
14903 char *kwnames[] = {
14904 (char *) "self", NULL
14905 };
14906
14907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
14908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14910 {
14911 PyThreadState* __tstate = wxPyBeginAllowThreads();
14912 result = (arg1)->GetTopLeftCoords();
14913
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 {
14918 wxGridCellCoords * resultptr;
14919 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
14920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
14921 }
14922 return resultobj;
14923 fail:
14924 return NULL;
14925 }
14926
14927
14928 static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14929 PyObject *resultobj;
14930 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14931 wxGridCellCoords result;
14932 PyObject * obj0 = 0 ;
14933 char *kwnames[] = {
14934 (char *) "self", NULL
14935 };
14936
14937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
14938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14940 {
14941 PyThreadState* __tstate = wxPyBeginAllowThreads();
14942 result = (arg1)->GetBottomRightCoords();
14943
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 {
14948 wxGridCellCoords * resultptr;
14949 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
14950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
14951 }
14952 return resultobj;
14953 fail:
14954 return NULL;
14955 }
14956
14957
14958 static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14959 PyObject *resultobj;
14960 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14961 int result;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
14968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = (int)(arg1)->GetTopRow();
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 resultobj = SWIG_FromInt((int)result);
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14987 int result;
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 result = (int)(arg1)->GetBottomRow();
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 resultobj = SWIG_FromInt((int)result);
15004 return resultobj;
15005 fail:
15006 return NULL;
15007 }
15008
15009
15010 static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj;
15012 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15013 int result;
15014 PyObject * obj0 = 0 ;
15015 char *kwnames[] = {
15016 (char *) "self", NULL
15017 };
15018
15019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
15020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 result = (int)(arg1)->GetLeftCol();
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 resultobj = SWIG_FromInt((int)result);
15030 return resultobj;
15031 fail:
15032 return NULL;
15033 }
15034
15035
15036 static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15039 int result;
15040 PyObject * obj0 = 0 ;
15041 char *kwnames[] = {
15042 (char *) "self", NULL
15043 };
15044
15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
15046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15048 {
15049 PyThreadState* __tstate = wxPyBeginAllowThreads();
15050 result = (int)(arg1)->GetRightCol();
15051
15052 wxPyEndAllowThreads(__tstate);
15053 if (PyErr_Occurred()) SWIG_fail;
15054 }
15055 resultobj = SWIG_FromInt((int)result);
15056 return resultobj;
15057 fail:
15058 return NULL;
15059 }
15060
15061
15062 static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
15063 PyObject *resultobj;
15064 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15065 bool result;
15066 PyObject * obj0 = 0 ;
15067 char *kwnames[] = {
15068 (char *) "self", NULL
15069 };
15070
15071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
15072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15074 {
15075 PyThreadState* __tstate = wxPyBeginAllowThreads();
15076 result = (bool)(arg1)->Selecting();
15077
15078 wxPyEndAllowThreads(__tstate);
15079 if (PyErr_Occurred()) SWIG_fail;
15080 }
15081 {
15082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15083 }
15084 return resultobj;
15085 fail:
15086 return NULL;
15087 }
15088
15089
15090 static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15091 PyObject *resultobj;
15092 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15093 bool result;
15094 PyObject * obj0 = 0 ;
15095 char *kwnames[] = {
15096 (char *) "self", NULL
15097 };
15098
15099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
15100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 result = (bool)(arg1)->ControlDown();
15105
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 {
15110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15111 }
15112 return resultobj;
15113 fail:
15114 return NULL;
15115 }
15116
15117
15118 static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15119 PyObject *resultobj;
15120 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15121 bool result;
15122 PyObject * obj0 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
15128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 result = (bool)(arg1)->MetaDown();
15133
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
15137 {
15138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15139 }
15140 return resultobj;
15141 fail:
15142 return NULL;
15143 }
15144
15145
15146 static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15147 PyObject *resultobj;
15148 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15149 bool result;
15150 PyObject * obj0 = 0 ;
15151 char *kwnames[] = {
15152 (char *) "self", NULL
15153 };
15154
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
15156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15158 {
15159 PyThreadState* __tstate = wxPyBeginAllowThreads();
15160 result = (bool)(arg1)->ShiftDown();
15161
15162 wxPyEndAllowThreads(__tstate);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
15165 {
15166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15167 }
15168 return resultobj;
15169 fail:
15170 return NULL;
15171 }
15172
15173
15174 static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15175 PyObject *resultobj;
15176 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15177 bool result;
15178 PyObject * obj0 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (bool)(arg1)->AltDown();
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 {
15194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15195 }
15196 return resultobj;
15197 fail:
15198 return NULL;
15199 }
15200
15201
15202 static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) {
15203 PyObject *obj;
15204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15205 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
15206 Py_INCREF(obj);
15207 return Py_BuildValue((char *)"");
15208 }
15209 static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15210 PyObject *resultobj;
15211 int arg1 ;
15212 wxEventType arg2 ;
15213 wxObject *arg3 = (wxObject *) 0 ;
15214 int arg4 ;
15215 int arg5 ;
15216 wxControl *arg6 = (wxControl *) 0 ;
15217 wxGridEditorCreatedEvent *result;
15218 PyObject * obj0 = 0 ;
15219 PyObject * obj1 = 0 ;
15220 PyObject * obj2 = 0 ;
15221 PyObject * obj3 = 0 ;
15222 PyObject * obj4 = 0 ;
15223 PyObject * obj5 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15229 arg1 = (int) SWIG_AsInt(obj0);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 arg2 = (wxEventType) SWIG_AsInt(obj1);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
15234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15235 arg4 = (int) SWIG_AsInt(obj3);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 arg5 = (int) SWIG_AsInt(obj4);
15238 if (PyErr_Occurred()) SWIG_fail;
15239 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxControl,
15240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
15249 return resultobj;
15250 fail:
15251 return NULL;
15252 }
15253
15254
15255 static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15256 PyObject *resultobj;
15257 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15258 int result;
15259 PyObject * obj0 = 0 ;
15260 char *kwnames[] = {
15261 (char *) "self", NULL
15262 };
15263
15264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
15265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15267 {
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 result = (int)(arg1)->GetRow();
15270
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 resultobj = SWIG_FromInt((int)result);
15275 return resultobj;
15276 fail:
15277 return NULL;
15278 }
15279
15280
15281 static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15282 PyObject *resultobj;
15283 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15284 int result;
15285 PyObject * obj0 = 0 ;
15286 char *kwnames[] = {
15287 (char *) "self", NULL
15288 };
15289
15290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
15291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 result = (int)(arg1)->GetCol();
15296
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
15300 resultobj = SWIG_FromInt((int)result);
15301 return resultobj;
15302 fail:
15303 return NULL;
15304 }
15305
15306
15307 static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15308 PyObject *resultobj;
15309 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15310 wxControl *result;
15311 PyObject * obj0 = 0 ;
15312 char *kwnames[] = {
15313 (char *) "self", NULL
15314 };
15315
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
15317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 result = (wxControl *)(arg1)->GetControl();
15322
15323 wxPyEndAllowThreads(__tstate);
15324 if (PyErr_Occurred()) SWIG_fail;
15325 }
15326 {
15327 resultobj = wxPyMake_wxObject(result);
15328 }
15329 return resultobj;
15330 fail:
15331 return NULL;
15332 }
15333
15334
15335 static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15336 PyObject *resultobj;
15337 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15338 int arg2 ;
15339 PyObject * obj0 = 0 ;
15340 PyObject * obj1 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self",(char *) "row", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
15346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15348 arg2 = (int) SWIG_AsInt(obj1);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 (arg1)->SetRow(arg2);
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 Py_INCREF(Py_None); resultobj = Py_None;
15358 return resultobj;
15359 fail:
15360 return NULL;
15361 }
15362
15363
15364 static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj;
15366 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15367 int arg2 ;
15368 PyObject * obj0 = 0 ;
15369 PyObject * obj1 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "self",(char *) "col", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 arg2 = (int) SWIG_AsInt(obj1);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 {
15380 PyThreadState* __tstate = wxPyBeginAllowThreads();
15381 (arg1)->SetCol(arg2);
15382
15383 wxPyEndAllowThreads(__tstate);
15384 if (PyErr_Occurred()) SWIG_fail;
15385 }
15386 Py_INCREF(Py_None); resultobj = Py_None;
15387 return resultobj;
15388 fail:
15389 return NULL;
15390 }
15391
15392
15393 static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15394 PyObject *resultobj;
15395 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15396 wxControl *arg2 = (wxControl *) 0 ;
15397 PyObject * obj0 = 0 ;
15398 PyObject * obj1 = 0 ;
15399 char *kwnames[] = {
15400 (char *) "self",(char *) "ctrl", NULL
15401 };
15402
15403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
15404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15406 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15408 {
15409 PyThreadState* __tstate = wxPyBeginAllowThreads();
15410 (arg1)->SetControl(arg2);
15411
15412 wxPyEndAllowThreads(__tstate);
15413 if (PyErr_Occurred()) SWIG_fail;
15414 }
15415 Py_INCREF(Py_None); resultobj = Py_None;
15416 return resultobj;
15417 fail:
15418 return NULL;
15419 }
15420
15421
15422 static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) {
15423 PyObject *obj;
15424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15425 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
15426 Py_INCREF(obj);
15427 return Py_BuildValue((char *)"");
15428 }
15429 static PyMethodDef SwigMethods[] = {
15430 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15431 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15432 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15433 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15434 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15435 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15436 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15437 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS },
15438 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15439 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15440 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15441 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS },
15442 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15443 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS },
15444 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15445 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS },
15446 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15447 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15448 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15449 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15450 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15451 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS },
15452 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15453 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS },
15454 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15455 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS },
15456 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15457 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS },
15458 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15459 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS },
15460 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15461 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15462 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15463 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15464 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15465 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15466 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15467 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15468 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15469 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15470 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15471 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15472 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15473 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15474 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15475 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15476 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15477 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15478 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15479 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15480 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15481 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15482 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS },
15483 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15484 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15485 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15486 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15487 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15488 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15489 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15490 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15491 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15492 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15493 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15494 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS },
15495 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15496 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15497 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS },
15498 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15499 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15500 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS },
15501 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15502 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15503 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS },
15504 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15505 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15506 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS },
15507 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15508 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15509 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS },
15510 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15511 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15512 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS },
15513 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15514 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15515 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS },
15516 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15517 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS },
15518 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15519 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15520 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15521 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15522 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15523 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15524 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15525 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15526 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15527 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15528 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15529 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15530 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15531 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15532 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15533 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15534 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15535 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15536 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15537 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15538 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15539 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
15540 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15541 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15542 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15543 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15544 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15545 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15546 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15547 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15548 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15549 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15550 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS },
15551 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15552 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15553 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15554 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15555 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15556 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15557 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15558 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15559 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS },
15560 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15561 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15562 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15563 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15564 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15565 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15566 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS },
15567 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15568 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15569 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15570 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15571 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15572 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15573 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15574 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15575 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15576 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15577 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15578 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15579 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15580 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15581 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15582 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15583 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15584 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15585 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15586 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15587 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15588 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15589 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15590 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15591 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15592 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15593 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15594 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15595 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15596 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15597 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15598 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15599 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15600 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15601 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15602 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS },
15603 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15604 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15605 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15606 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15607 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15608 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15609 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15610 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15611 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15612 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15613 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15614 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15615 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15616 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15617 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15618 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15619 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15620 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15621 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15622 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15623 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15624 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15625 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS },
15626 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS },
15627 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS },
15628 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15629 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15630 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15631 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15632 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
15633 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
15634 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
15635 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
15636 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15637 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15638 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS },
15639 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15640 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15641 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
15642 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
15643 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
15644 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
15645 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
15646 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS },
15647 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS },
15648 { (char *)"GridCellCoords_asTuple", (PyCFunction) _wrap_GridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
15649 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS },
15650 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS },
15651 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
15652 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15653 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15654 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15655 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15656 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
15657 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS },
15658 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS },
15659 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
15660 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS },
15661 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS },
15662 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15663 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS },
15664 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS },
15665 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15666 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
15667 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
15668 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
15669 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
15670 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS },
15671 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
15672 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
15673 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS },
15674 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
15675 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15676 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15677 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
15678 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
15679 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
15680 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
15681 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
15682 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
15683 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
15684 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS },
15685 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS },
15686 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS },
15687 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
15688 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
15689 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS },
15690 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
15691 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
15692 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS },
15693 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
15694 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
15695 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
15696 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
15697 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
15698 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
15699 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
15700 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
15701 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
15702 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
15703 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
15704 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
15705 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15706 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15707 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
15708 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15709 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15710 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15711 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
15712 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15713 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15714 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15715 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15716 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15717 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15718 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15719 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15720 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15721 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15722 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15723 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15724 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15725 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
15726 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15727 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15728 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15729 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15730 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15731 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15732 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15733 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15734 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15735 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15736 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15737 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
15738 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
15739 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
15740 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
15741 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15742 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15743 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
15744 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS },
15745 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15746 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15747 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
15748 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
15749 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
15750 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
15751 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
15752 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
15753 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15754 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
15755 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15756 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS },
15757 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15758 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15759 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15760 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15761 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15762 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
15763 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15764 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15765 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15766 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15767 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
15768 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15769 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
15770 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15771 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS },
15772 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
15773 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
15774 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
15775 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
15776 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS },
15777 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15778 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
15779 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
15780 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
15781 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15782 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15783 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15784 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15785 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15786 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15787 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15788 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15789 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15790 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
15791 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15792 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15793 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15794 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15795 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
15796 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15797 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15798 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15799 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15800 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15801 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
15802 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15803 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
15804 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
15805 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
15806 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15807 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15808 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS },
15809 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS },
15810 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
15811 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS },
15812 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS },
15813 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
15814 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
15815 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
15816 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
15817 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
15818 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
15819 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
15820 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
15821 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
15822 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
15823 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
15824 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15825 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15826 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15827 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15828 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
15829 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
15830 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
15831 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
15832 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
15833 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS },
15834 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
15835 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
15836 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
15837 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
15838 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
15839 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
15840 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15841 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15842 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15843 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15844 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15845 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15846 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15847 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15848 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS },
15849 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS },
15850 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
15851 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15852 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15853 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15854 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15855 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15856 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS },
15857 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
15858 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
15859 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
15860 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
15861 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
15862 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
15863 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
15864 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15865 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15866 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15867 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15868 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15869 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS },
15870 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
15871 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15872 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15873 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
15874 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
15875 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
15876 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
15877 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS },
15878 { NULL, NULL }
15879 };
15880
15881
15882 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15883
15884 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
15885 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
15886 }
15887 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
15888 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
15889 }
15890 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
15891 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
15892 }
15893 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
15894 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
15895 }
15896 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
15897 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
15898 }
15899 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
15900 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
15901 }
15902 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
15903 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
15904 }
15905 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
15906 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
15907 }
15908 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
15909 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
15910 }
15911 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
15912 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
15913 }
15914 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
15915 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
15916 }
15917 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
15918 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
15919 }
15920 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
15921 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
15922 }
15923 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
15924 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
15925 }
15926 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
15927 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
15928 }
15929 static void *_p_wxGridTo_p_wxPanel(void *x) {
15930 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
15931 }
15932 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
15933 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15934 }
15935 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
15936 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15937 }
15938 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
15939 return (void *)((wxPanel *) ((wxPyPanel *) x));
15940 }
15941 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
15942 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
15943 }
15944 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
15945 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
15946 }
15947 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
15948 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15949 }
15950 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
15951 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
15952 }
15953 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
15954 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
15955 }
15956 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15957 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15958 }
15959 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
15960 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
15961 }
15962 static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
15963 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
15964 }
15965 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
15966 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
15967 }
15968 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
15969 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15970 }
15971 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
15972 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15973 }
15974 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
15975 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
15976 }
15977 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15978 return (void *)((wxWindow *) ((wxMenuBar *) x));
15979 }
15980 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
15981 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15982 }
15983 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
15984 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15985 }
15986 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
15987 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15988 }
15989 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
15990 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15991 }
15992 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
15993 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15994 }
15995 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
15996 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15997 }
15998 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
15999 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16000 }
16001 static void *_p_wxPanelTo_p_wxWindow(void *x) {
16002 return (void *)((wxWindow *) ((wxPanel *) x));
16003 }
16004 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
16005 return (void *)((wxWindow *) ((wxStatusBar *) x));
16006 }
16007 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
16008 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
16009 }
16010 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
16011 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
16012 }
16013 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
16014 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16015 }
16016 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
16017 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16018 }
16019 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
16020 return (void *)((wxWindow *) ((wxPopupWindow *) x));
16021 }
16022 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
16023 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
16024 }
16025 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
16026 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
16027 }
16028 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
16029 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
16030 }
16031 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
16032 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
16033 }
16034 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
16035 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
16036 }
16037 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
16038 return (void *)((wxWindow *) ((wxSashWindow *) x));
16039 }
16040 static void *_p_wxControlTo_p_wxWindow(void *x) {
16041 return (void *)((wxWindow *) ((wxControl *) x));
16042 }
16043 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
16044 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16045 }
16046 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
16047 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16048 }
16049 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
16050 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16051 }
16052 static void *_p_wxGridTo_p_wxWindow(void *x) {
16053 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16054 }
16055 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
16056 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
16057 }
16058 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
16059 return (void *)((wxWindow *) ((wxPyWindow *) x));
16060 }
16061 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
16062 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16063 }
16064 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16065 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16066 }
16067 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16068 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16069 }
16070 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16071 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16072 }
16073 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16074 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16075 }
16076 static void *_p_wxFrameTo_p_wxWindow(void *x) {
16077 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16078 }
16079 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16080 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16081 }
16082 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16084 }
16085 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16086 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16087 }
16088 static void *_p_wxDialogTo_p_wxWindow(void *x) {
16089 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16090 }
16091 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
16092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16093 }
16094 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
16095 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16096 }
16097 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16098 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16099 }
16100 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16101 return (void *)((wxControl *) ((wxControlWithItems *) x));
16102 }
16103 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16104 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16105 }
16106 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16107 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16108 }
16109 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16110 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16111 }
16112 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16113 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16114 }
16115 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16116 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16117 }
16118 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16119 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16120 }
16121 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16122 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16123 }
16124 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16125 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16126 }
16127 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16128 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16129 }
16130 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16131 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16132 }
16133 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16134 return (void *)((wxEvent *) ((wxPyEvent *) x));
16135 }
16136 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16137 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16138 }
16139 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16140 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16141 }
16142 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
16143 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16144 }
16145 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16146 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16147 }
16148 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16149 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16150 }
16151 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16152 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16153 }
16154 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16155 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16156 }
16157 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16158 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16159 }
16160 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16161 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16162 }
16163 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16164 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16165 }
16166 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16167 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16168 }
16169 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
16170 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16171 }
16172 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16173 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16174 }
16175 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16176 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16177 }
16178 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16179 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16180 }
16181 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16182 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16183 }
16184 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16185 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16186 }
16187 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16188 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16189 }
16190 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16191 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16192 }
16193 static void *_p_wxGridEventTo_p_wxEvent(void *x) {
16194 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16195 }
16196 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
16197 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16198 }
16199 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16200 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16201 }
16202 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16203 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16204 }
16205 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16206 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16207 }
16208 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16209 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16210 }
16211 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16212 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16213 }
16214 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16215 return (void *)((wxEvent *) ((wxShowEvent *) x));
16216 }
16217 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16218 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16219 }
16220 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16221 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16222 }
16223 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16224 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16225 }
16226 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16227 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16228 }
16229 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16230 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16231 }
16232 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16233 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16234 }
16235 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16236 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16237 }
16238 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16239 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16240 }
16241 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16242 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16243 }
16244 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16246 }
16247 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16249 }
16250 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16251 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16252 }
16253 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16254 return (void *)((wxObject *) ((wxSizerItem *) x));
16255 }
16256 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16257 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16258 }
16259 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16260 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16261 }
16262 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16263 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16264 }
16265 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16266 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16267 }
16268 static void *_p_wxSizerTo_p_wxObject(void *x) {
16269 return (void *)((wxObject *) ((wxSizer *) x));
16270 }
16271 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16272 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16273 }
16274 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16275 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16276 }
16277 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16279 }
16280 static void *_p_wxEventTo_p_wxObject(void *x) {
16281 return (void *)((wxObject *) ((wxEvent *) x));
16282 }
16283 static void *_p_wxFontDataTo_p_wxObject(void *x) {
16284 return (void *)((wxObject *) ((wxFontData *) x));
16285 }
16286 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16287 return (void *)((wxObject *) ((wxPrintData *) x));
16288 }
16289 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16290 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16291 }
16292 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16293 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16294 }
16295 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16296 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16297 }
16298 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16299 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16300 }
16301 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
16302 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
16303 }
16304 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16305 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16306 }
16307 static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
16308 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
16309 }
16310 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16311 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16312 }
16313 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16314 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16315 }
16316 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16317 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16318 }
16319 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16320 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16321 }
16322 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16323 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16324 }
16325 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16326 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16327 }
16328 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16330 }
16331 static void *_p_wxGridEventTo_p_wxObject(void *x) {
16332 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16333 }
16334 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
16335 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16336 }
16337 static void *_p_wxControlTo_p_wxObject(void *x) {
16338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16339 }
16340 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16341 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16342 }
16343 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16344 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16345 }
16346 static void *_p_wxFSFileTo_p_wxObject(void *x) {
16347 return (void *)((wxObject *) ((wxFSFile *) x));
16348 }
16349 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16350 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16351 }
16352 static void *_p_wxGridTo_p_wxObject(void *x) {
16353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16354 }
16355 static void *_p_wxPySizerTo_p_wxObject(void *x) {
16356 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16357 }
16358 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16360 }
16361 static void *_p_wxColourDataTo_p_wxObject(void *x) {
16362 return (void *)((wxObject *) ((wxColourData *) x));
16363 }
16364 static void *_p_wxPyEventTo_p_wxObject(void *x) {
16365 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16366 }
16367 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16368 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16369 }
16370 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16372 }
16373 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16375 }
16376 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16378 }
16379 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16381 }
16382 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16384 }
16385 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16387 }
16388 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16390 }
16391 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16393 }
16394 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16396 }
16397 static void *_p_wxShowEventTo_p_wxObject(void *x) {
16398 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16399 }
16400 static void *_p_wxPrinterTo_p_wxObject(void *x) {
16401 return (void *)((wxObject *) ((wxPrinter *) x));
16402 }
16403 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16404 return (void *)((wxObject *) ((wxMenuItem *) x));
16405 }
16406 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16407 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16408 }
16409 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16410 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16411 }
16412 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16413 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16414 }
16415 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16416 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16417 }
16418 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16419 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16420 }
16421 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16422 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16423 }
16424 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16425 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16426 }
16427 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16428 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16429 }
16430 static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
16431 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16432 }
16433 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16434 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16435 }
16436 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16437 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16438 }
16439 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16440 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16441 }
16442 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16443 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16444 }
16445 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16446 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16447 }
16448 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16449 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16450 }
16451 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16452 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16453 }
16454 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16455 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16456 }
16457 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16458 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16459 }
16460 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16461 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16462 }
16463 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16464 return (void *)((wxObject *) ((wxImageHandler *) x));
16465 }
16466 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16467 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16468 }
16469 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16470 return (void *)((wxObject *) ((wxEvtHandler *) x));
16471 }
16472 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16473 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16474 }
16475 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
16476 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16477 }
16478 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16480 }
16481 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16483 }
16484 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16485 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16486 }
16487 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16489 }
16490 static void *_p_wxImageTo_p_wxObject(void *x) {
16491 return (void *)((wxObject *) ((wxImage *) x));
16492 }
16493 static void *_p_wxFrameTo_p_wxObject(void *x) {
16494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16495 }
16496 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16497 return (void *)((wxObject *) ((wxPyPrintout *) x));
16498 }
16499 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16500 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16501 }
16502 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16503 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16504 }
16505 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16507 }
16508 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16510 }
16511 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16512 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16513 }
16514 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16515 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16516 }
16517 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16518 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16519 }
16520 static void *_p_wxWindowTo_p_wxObject(void *x) {
16521 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16522 }
16523 static void *_p_wxMenuTo_p_wxObject(void *x) {
16524 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16525 }
16526 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16528 }
16529 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16531 }
16532 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16534 }
16535 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16537 }
16538 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16540 }
16541 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16543 }
16544 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16546 }
16547 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16548 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16549 }
16550 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16552 }
16553 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16555 }
16556 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
16557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16558 }
16559 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
16560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
16561 }
16562 static void *_p_wxSashEventTo_p_wxObject(void *x) {
16563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
16564 }
16565 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
16566 return (void *)((wxObject *) ((wxPrintPreview *) x));
16567 }
16568 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
16569 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
16570 }
16571 static void *_p_wxPanelTo_p_wxObject(void *x) {
16572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
16573 }
16574 static void *_p_wxDialogTo_p_wxObject(void *x) {
16575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16576 }
16577 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
16578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16579 }
16580 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
16581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16582 }
16583 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
16584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16585 }
16586 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
16587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16588 }
16589 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
16590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16591 }
16592 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
16593 return (void *)((wxObject *) ((wxFileSystem *) x));
16594 }
16595 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
16596 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
16597 }
16598 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
16599 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
16600 }
16601 static void *_p_wxPyAppTo_p_wxObject(void *x) {
16602 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
16603 }
16604 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
16605 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
16606 }
16607 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
16608 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
16609 }
16610 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
16611 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
16612 }
16613 static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
16614 return (void *)((wxObject *) ((wxGridTableBase *) x));
16615 }
16616 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
16617 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
16618 }
16619 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
16620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
16621 }
16622 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
16623 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
16624 }
16625 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
16626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16627 }
16628 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
16629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16630 }
16631 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
16632 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
16633 }
16634 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
16635 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
16636 }
16637 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
16638 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
16639 }
16640 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
16641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16642 }
16643 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
16644 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
16645 }
16646 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
16647 return (void *)((wxObject *) ((wxPrintDialogData *) x));
16648 }
16649 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
16650 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
16651 }
16652 static void *_p_wxValidatorTo_p_wxObject(void *x) {
16653 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
16654 }
16655 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
16656 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16657 }
16658 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
16659 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16660 }
16661 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
16662 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16663 }
16664 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
16665 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
16666 }
16667 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
16668 return (void *)((wxEvtHandler *) ((wxValidator *) x));
16669 }
16670 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
16671 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
16672 }
16673 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
16674 return (void *)((wxEvtHandler *) ((wxMenu *) x));
16675 }
16676 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
16677 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16678 }
16679 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
16680 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16681 }
16682 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
16683 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16684 }
16685 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
16686 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16687 }
16688 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
16689 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16690 }
16691 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
16692 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16693 }
16694 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
16695 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16696 }
16697 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
16698 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
16699 }
16700 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
16701 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
16702 }
16703 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
16704 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16705 }
16706 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
16707 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16708 }
16709 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
16710 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16711 }
16712 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
16713 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
16714 }
16715 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
16716 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16717 }
16718 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
16719 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
16720 }
16721 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
16722 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
16723 }
16724 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
16725 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
16726 }
16727 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
16728 return (void *)((wxEvtHandler *) ((wxWindow *) x));
16729 }
16730 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
16731 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16732 }
16733 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
16734 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
16735 }
16736 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
16737 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
16738 }
16739 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
16740 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
16741 }
16742 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
16743 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16744 }
16745 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
16746 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16747 }
16748 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
16749 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16750 }
16751 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
16752 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
16753 }
16754 static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
16755 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16756 }
16757 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
16758 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16759 }
16760 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
16761 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
16762 }
16763 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
16764 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16765 }
16766 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
16767 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16768 }
16769 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
16770 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16771 }
16772 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
16773 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16774 }
16775 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
16776 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16777 }
16778 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
16779 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
16780 }
16781 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
16782 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16783 }
16784 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
16785 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16786 }
16787 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
16788 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16789 }
16790 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
16791 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16792 }
16793 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
16794 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16795 }
16796 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
16797 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16798 }
16799 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
16800 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16801 }
16802 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
16803 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16804 }
16805 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
16806 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
16807 }
16808 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
16809 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
16810 }
16811 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
16812 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
16813 }
16814 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
16815 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
16816 }
16817 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
16818 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16819 }
16820 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
16821 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16822 }
16823 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
16824 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
16825 }
16826 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
16827 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
16828 }
16829 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
16830 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
16831 }
16832 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
16833 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
16834 }
16835 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
16836 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16837 }
16838 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
16839 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16840 }
16841 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
16842 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
16843 }
16844 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
16845 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
16846 }
16847 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
16848 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16849 }
16850 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
16851 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
16852 }
16853 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
16854 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
16855 }
16856 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
16857 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
16858 }
16859 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
16860 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
16861 }
16862 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
16863 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
16864 }
16865 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
16866 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16867 }
16868 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
16869 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
16870 }
16871 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
16872 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
16873 }
16874 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
16875 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
16876 }
16877 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
16878 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16879 }
16880 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
16881 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
16882 }
16883 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
16884 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
16885 }
16886 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
16887 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
16888 }
16889 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
16890 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
16891 }
16892 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
16893 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
16894 }
16895 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}};
16896 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}};
16897 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}};
16898 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}};
16899 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}};
16900 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}};
16901 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}};
16902 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}};
16903 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}};
16904 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}};
16905 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}};
16906 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}};
16907 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}};
16908 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}};
16909 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}};
16910 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_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}};
16911 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}};
16912 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}};
16913 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}};
16914 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}};
16915 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_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16916 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_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}};
16917 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}};
16918 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}};
16919 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}};
16920 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_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}};
16921 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}};
16922 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}};
16923 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}};
16924 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}};
16925 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_wxTipWindow", _p_wxTipWindowTo_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_wxScrolledWindow", _p_wxScrolledWindowTo_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}};
16926 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}};
16927 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}};
16928 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}};
16929 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}};
16930 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}};
16931 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}};
16932 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}};
16933 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}};
16934 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}};
16935 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}};
16936 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}};
16937 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}};
16938 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}};
16939 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}};
16940 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}};
16941 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}};
16942 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}};
16943 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}};
16944 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}};
16945 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}};
16946 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}};
16947
16948 static swig_type_info *swig_types_initial[] = {
16949 _swigt__p_wxGridCellAutoWrapStringRenderer,
16950 _swigt__p_wxGridCellEnumRenderer,
16951 _swigt__p_wxGridCellDateTimeRenderer,
16952 _swigt__p_wxGridCellBoolRenderer,
16953 _swigt__p_wxGridCellFloatRenderer,
16954 _swigt__p_wxGridCellNumberRenderer,
16955 _swigt__p_wxPyGridCellRenderer,
16956 _swigt__p_wxGridCellRenderer,
16957 _swigt__p_wxGridCellStringRenderer,
16958 _swigt__p_wxGridCellAttr,
16959 _swigt__p_wxColour,
16960 _swigt__p_wxDC,
16961 _swigt__p_wxGridTableMessage,
16962 _swigt__p_wxGrid,
16963 _swigt__p_char,
16964 _swigt__p_wxPanel,
16965 _swigt__p_wxNotifyEvent,
16966 _swigt__p_wxGridRangeSelectEvent,
16967 _swigt__p_wxSize,
16968 _swigt__p_wxGridCellCoords,
16969 _swigt__p_wxScrolledWindow,
16970 _swigt__p_wxWindow,
16971 _swigt__p_wxFont,
16972 _swigt__p_wxControl,
16973 _swigt__p_wxEvent,
16974 _swigt__p_wxObject,
16975 _swigt__p_wxGridSizeEvent,
16976 _swigt__p_wxRect,
16977 _swigt__p_long,
16978 _swigt__p_wxString,
16979 _swigt__p_wxEvtHandler,
16980 _swigt__p_wxPoint,
16981 _swigt__p_wxGridEvent,
16982 _swigt__p_wxGridEditorCreatedEvent,
16983 _swigt__p_wxGridTableBase,
16984 _swigt__p_wxGridCellNumberEditor,
16985 _swigt__p_wxPyGridCellEditor,
16986 _swigt__p_wxGridCellEditor,
16987 _swigt__p_wxGridCellTextEditor,
16988 _swigt__p_wxGridCellFloatEditor,
16989 _swigt__p_wxGridCellBoolEditor,
16990 _swigt__p_wxPyGridTableBase,
16991 _swigt__p_wxGridStringTable,
16992 _swigt__p_wxArrayString,
16993 _swigt__p_wxCommandEvent,
16994 _swigt__p_wxGridCellAttrProvider,
16995 _swigt__p_wxKeyEvent,
16996 _swigt__p_wxGridCellChoiceEditor,
16997 _swigt__p_wxGridCellEnumEditor,
16998 _swigt__p_wxGridCellAutoWrapStringEditor,
16999 _swigt__p_int,
17000 _swigt__p_wxPyGridCellAttrProvider,
17001 0
17002 };
17003
17004
17005 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17006
17007 static swig_const_info swig_const_table[] = {
17008 { SWIG_PY_POINTER, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17009 { SWIG_PY_POINTER, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char},
17010 { SWIG_PY_POINTER, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17011 { SWIG_PY_POINTER, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char},
17012 { SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char},
17013 { SWIG_PY_POINTER, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17014 { SWIG_PY_POINTER, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17015 { SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char},
17016 { SWIG_PY_POINTER, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char},
17017 {0}};
17018
17019 #ifdef __cplusplus
17020 }
17021 #endif
17022
17023 #ifdef __cplusplus
17024 extern "C"
17025 #endif
17026 SWIGEXPORT(void) SWIG_init(void) {
17027 static PyObject *SWIG_globals = 0;
17028 static int typeinit = 0;
17029 PyObject *m, *d;
17030 int i;
17031 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17032 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17033 d = PyModule_GetDict(m);
17034
17035 if (!typeinit) {
17036 for (i = 0; swig_types_initial[i]; i++) {
17037 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
17038 }
17039 typeinit = 1;
17040 }
17041 SWIG_InstallConstants(d,swig_const_table);
17042
17043 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
17044 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
17045 PyDict_SetItemString(d,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17046 PyDict_SetItemString(d,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17047 PyDict_SetItemString(d,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17048 PyDict_SetItemString(d,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17049 PyDict_SetItemString(d,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17050 PyDict_SetItemString(d,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17051 PyDict_SetItemString(d,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17052 PyDict_SetItemString(d,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17053 PyDict_SetItemString(d,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
17054 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
17055 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
17056 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any));
17057 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default));
17058 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell));
17059 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row));
17060 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col));
17061 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged));
17062 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
17063 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
17064 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
17065 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
17066 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED));
17067 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED));
17068 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED));
17069 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED));
17070 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells));
17071 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows));
17072 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns));
17073 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
17074 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
17075 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
17076 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
17077 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
17078 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
17079 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
17080 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
17081 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
17082 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
17083 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
17084 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
17085 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
17086 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
17087 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
17088 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
17089
17090
17091 }
17092