]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/grid.cpp
Various tweaks, fixes, and additions
[wxWidgets.git] / wxPython / src / gtk / grid.cpp
CommitLineData
f6bcfd97 1/*
c368d904 2 * FILE : src/gtk/grid.cpp
f6bcfd97
BP
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
f6bcfd97
BP
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
1c09ae54 30# define SWIGEXPORT(a) a _export
f6bcfd97 31# else
1c09ae54 32# define SWIGEXPORT(a) a
f6bcfd97
BP
33# endif
34# endif
35#else
1c09ae54 36# define SWIGEXPORT(a) a
f6bcfd97
BP
37#endif
38
1c09ae54
RD
39#include "Python.h"
40
f6bcfd97
BP
41#ifdef __cplusplus
42extern "C" {
43#endif
1c09ae54 44
f6bcfd97
BP
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initgridc
55
56#define SWIG_name "gridc"
57
b68dc582 58#include "export.h"
f6bcfd97
BP
59#include <wx/grid.h>
60
f6bcfd97
BP
61
62static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
1c09ae54 66 if (!target) {
f6bcfd97 67 target = o;
1c09ae54 68 } else if (target == Py_None) {
f6bcfd97
BP
69 Py_DECREF(Py_None);
70 target = o;
1c09ae54 71 } else {
f6bcfd97
BP
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
1c09ae54
RD
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
f6bcfd97
BP
79
80 o2 = target;
1c09ae54
RD
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
f6bcfd97
BP
83 Py_DECREF(o3);
84 }
85 return target;
86}
87
7a446686
RD
88#if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg = "String or Unicode type required";
90#else
91 static char* wxStringErrorMsg = "string type is required for parameter";
92#endif
f6bcfd97 93
9df61a29
RD
94#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
95 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
96 wxGridCellAttr* rval = NULL; \
97 bool doSave = wxPyRestoreThread(); \
98 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
99 PyObject* ro; \
100 wxGridCellAttr* ptr; \
101 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
102 if (ro) { \
f6bcfd97 103 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
9df61a29
RD
104 rval = ptr; \
105 Py_DECREF(ro); \
106 } \
107 } \
108 else \
109 rval = PCLASS::CBNAME(a, b, c); \
110 wxPySaveThread(doSave); \
111 return rval; \
112 } \
113 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
114 return PCLASS::CBNAME(a, b, c); \
f6bcfd97
BP
115 }
116
117
118
119#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
120 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
121 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
122 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
123 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
124 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
2cd2fac8
RD
125 Py_DECREF(obj); \
126 } \
f6bcfd97
BP
127 else \
128 PCLASS::CBNAME(attr, a, b); \
129 wxPySaveThread(doSave); \
130 } \
131 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
132 PCLASS::CBNAME(attr, a, b); \
133 }
134
135
136
137#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
138 void CBNAME(wxGridCellAttr *attr, int val) { \
139 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
140 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
141 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
142 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
2cd2fac8
RD
143 Py_DECREF(obj); \
144 } \
f6bcfd97
BP
145 else \
146 PCLASS::CBNAME(attr, val); \
147 wxPySaveThread(doSave); \
148 } \
149 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
150 PCLASS::CBNAME(attr, val); \
151 }
152
153
154
155#define PYCALLBACK_INT__pure(CBNAME) \
156 int CBNAME() { \
157 bool doSave = wxPyRestoreThread(); \
158 int rval = 0; \
b68dc582
RD
159 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
160 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
f6bcfd97
BP
161 wxPySaveThread(doSave); \
162 return rval; \
163 }
164
165
166
167#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
168 bool CBNAME(int a, int b) { \
169 bool doSave = wxPyRestoreThread(); \
170 bool rval = 0; \
b68dc582
RD
171 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
172 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97
BP
173 wxPySaveThread(doSave); \
174 return rval; \
175 }
176
177
178
179#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
180 wxString CBNAME(int a, int b) { \
181 bool doSave = wxPyRestoreThread(); \
182 wxString rval; \
b68dc582 183 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 184 PyObject* ro; \
b68dc582 185 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97 186 if (ro) { \
2cd2fac8
RD
187 PyObject* str = PyObject_Str(ro); \
188 rval = PyString_AsString(str); \
189 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
190 } \
191 } \
192 wxPySaveThread(doSave); \
193 return rval; \
194 }
195
196
197
198#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
199 void CBNAME(int a, int b, const wxString& c) { \
200 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
201 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
202 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str())); \
f6bcfd97
BP
203 wxPySaveThread(doSave); \
204 }
205
206
207#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
208 wxString CBNAME(int a, int b) { \
209 bool doSave = wxPyRestoreThread(); \
210 wxString rval; \
b68dc582 211 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 212 PyObject* ro; \
b68dc582 213 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97 214 if (ro) { \
2cd2fac8
RD
215 PyObject* str = PyObject_Str(ro); \
216 rval = PyString_AsString(str); \
217 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
218 } \
219 } else \
220 rval = PCLASS::CBNAME(a, b); \
221 wxPySaveThread(doSave); \
222 return rval; \
223 } \
224 wxString base_##CBNAME(int a, int b) { \
225 return PCLASS::CBNAME(a, b); \
226 }
227
228
229
230#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
231 bool CBNAME(int a, int b, const wxString& c) { \
232 bool rval; \
233 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
234 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
235 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str())); \
f6bcfd97
BP
236 else \
237 rval = PCLASS::CBNAME(a,b,c); \
238 wxPySaveThread(doSave); \
239 return rval; \
240 } \
241 bool base_##CBNAME(int a, int b, const wxString& c) { \
242 return PCLASS::CBNAME(a,b,c); \
243 }
244
245
246
247
248#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
249 long CBNAME(int a, int b) { \
250 long rval; \
251 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
252 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
253 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
254 else \
255 rval = PCLASS::CBNAME(a,b); \
256 wxPySaveThread(doSave); \
257 return rval; \
258 } \
259 long base_##CBNAME(int a, int b) { \
260 return PCLASS::CBNAME(a,b); \
261 }
262
263
264
265#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b) { \
267 bool rval; \
268 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
269 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
270 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
271 else \
272 rval = PCLASS::CBNAME(a,b); \
273 wxPySaveThread(doSave); \
274 return rval; \
275 } \
276 bool base_##CBNAME(int a, int b) { \
277 return PCLASS::CBNAME(a,b); \
278 }
279
280
281
282#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
283 double CBNAME(int a, int b) { \
284 bool doSave = wxPyRestoreThread(); \
285 double rval; \
b68dc582 286 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 287 PyObject* ro; \
b68dc582 288 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97 289 if (ro) { \
2cd2fac8
RD
290 PyObject* str = PyObject_Str(ro); \
291 rval = PyFloat_AsDouble(str); \
292 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
293 } \
294 } else \
295 rval = PCLASS::CBNAME(a, b); \
296 wxPySaveThread(doSave); \
297 return rval; \
298 } \
299 double base_##CBNAME(int a, int b) { \
300 return PCLASS::CBNAME(a, b); \
301 }
302
303
304
305#define PYCALLBACK__(PCLASS, CBNAME) \
306 void CBNAME() { \
307 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
308 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
309 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
f6bcfd97
BP
310 else \
311 PCLASS::CBNAME(); \
312 wxPySaveThread(doSave); \
313 } \
314 void base_##CBNAME() { \
315 PCLASS::CBNAME(); \
316 }
317
318
319
320
321#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
322 bool CBNAME(size_t a, size_t b) { \
323 bool rval; \
324 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
325 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
326 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
327 else \
328 rval = PCLASS::CBNAME(a,b); \
329 wxPySaveThread(doSave); \
330 return rval; \
331 } \
332 bool base_##CBNAME(size_t a, size_t b) { \
333 return PCLASS::CBNAME(a,b); \
334 }
335
336
337
338#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
339 bool CBNAME(size_t a) { \
340 bool rval; \
341 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
342 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
343 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
f6bcfd97
BP
344 else \
345 rval = PCLASS::CBNAME(a); \
346 wxPySaveThread(doSave); \
347 return rval; \
348 } \
349 bool base_##CBNAME(size_t a) { \
350 return PCLASS::CBNAME(a); \
351 }
352
353
354
355#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
356 wxString CBNAME(int a) { \
357 bool doSave = wxPyRestoreThread(); \
358 wxString rval; \
b68dc582 359 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 360 PyObject* ro; \
b68dc582 361 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
f6bcfd97 362 if (ro) { \
2cd2fac8
RD
363 PyObject* str = PyObject_Str(ro); \
364 rval = PyString_AsString(str); \
365 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
366 } \
367 } else \
368 rval = PCLASS::CBNAME(a); \
369 wxPySaveThread(doSave); \
370 return rval; \
371 } \
372 wxString base_##CBNAME(int a) { \
373 return PCLASS::CBNAME(a); \
374 }
375
376
377
378#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
379 void CBNAME(int a, const wxString& c) { \
380 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
381 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
382 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
f6bcfd97
BP
383 else \
384 PCLASS::CBNAME(a,c); \
385 wxPySaveThread(doSave); \
386 } \
387 void base_##CBNAME(int a, const wxString& c) { \
388 PCLASS::CBNAME(a,c); \
389 }
390
391
392
393
394#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
395 bool CBNAME() { \
396 bool rval; \
397 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
398 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
399 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
f6bcfd97
BP
400 else \
401 rval = PCLASS::CBNAME(); \
402 wxPySaveThread(doSave); \
403 return rval; \
404 } \
405 bool base_##CBNAME() { \
406 return PCLASS::CBNAME(); \
407 }
408
409
410
411#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
412 void CBNAME(size_t a, int b) { \
413 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
414 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
415 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
416 else \
417 PCLASS::CBNAME(a,b); \
418 wxPySaveThread(doSave); \
419 } \
420 void base_##CBNAME(size_t a, int b) { \
421 PCLASS::CBNAME(a,b); \
422 }
423
424
425
426
427#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
428 void CBNAME(int a, int b, long c) { \
429 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
430 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
431 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
f6bcfd97
BP
432 else \
433 PCLASS::CBNAME(a,b,c); \
434 wxPySaveThread(doSave); \
435 } \
436 void base_##CBNAME(int a, int b, long c) { \
437 PCLASS::CBNAME(a,b,c); \
438 }
439
440
441
442
443#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
444 void CBNAME(int a, int b, double c) { \
445 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
446 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
447 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
f6bcfd97
BP
448 else \
449 PCLASS::CBNAME(a,b,c); \
450 wxPySaveThread(doSave); \
451 } \
452 void base_##CBNAME(int a, int b, double c) { \
453 PCLASS::CBNAME(a,b,c); \
454 }
455
456
457
458#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
459 void CBNAME(int a, int b, bool c) { \
460 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
461 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
462 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
f6bcfd97
BP
463 else \
464 PCLASS::CBNAME(a,b,c); \
465 wxPySaveThread(doSave); \
466 } \
467 void base_##CBNAME(int a, int b, bool c) { \
468 PCLASS::CBNAME(a,b,c); \
469 }
470
471
472
473
474
475class wxPyGridCellRenderer : public wxGridCellRenderer
476{
477public:
478 wxPyGridCellRenderer() : wxGridCellRenderer() {};
479
480 // Implement Python callback aware virtual methods
481 void Draw(wxGrid& grid, wxGridCellAttr& attr,
482 wxDC& dc, const wxRect& rect,
483 int row, int col, bool isSelected) {
484 bool doSave = wxPyRestoreThread();
b68dc582
RD
485 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
486 wxPyCBH_callCallback(m_myInst,
f6bcfd97 487 Py_BuildValue("(OOOOiii)",
b68dc582
RD
488 wxPyConstructObject((void*)&grid, "wxGrid", 0),
489 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
490 wxPyConstructObject((void*)&dc, "wxDC", 0),
491 wxPyConstructObject((void*)&rect, "wxRect", 0),
f6bcfd97
BP
492 row, col, isSelected));
493 }
494 wxPySaveThread(doSave);
495 }
496
497 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
498 int row, int col) {
499 wxSize rval;
500 bool doSave = wxPyRestoreThread();
b68dc582 501 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
f6bcfd97
BP
502 PyObject* ro;
503 wxSize* ptr;
b68dc582 504 ro = wxPyCBH_callCallbackObj(m_myInst,
f6bcfd97 505 Py_BuildValue("(OOOii)",
b68dc582
RD
506 wxPyConstructObject((void*)&grid, "wxGrid", 0),
507 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
508 wxPyConstructObject((void*)&dc, "wxDC", 0),
f6bcfd97
BP
509 row, col));
510 if (ro) {
511 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
512 rval = *ptr;
513 Py_DECREF(ro);
514 }
515 }
516 wxPySaveThread(doSave);
517 return rval;
518 }
519
520
521 wxGridCellRenderer *Clone() const {
522 wxGridCellRenderer* rval = NULL;
523 bool doSave = wxPyRestoreThread();
b68dc582 524 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
f6bcfd97
BP
525 PyObject* ro;
526 wxGridCellRenderer* ptr;
b68dc582 527 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
f6bcfd97
BP
528 if (ro) {
529 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
530 rval = ptr;
531 Py_DECREF(ro);
532 }
533 }
534 wxPySaveThread(doSave);
535 return rval;
536 }
537
538 DEC_PYCALLBACK__STRING(SetParameters);
539
540 PYPRIVATE;
541};
542
543IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
544
545
546class wxPyGridCellEditor : public wxGridCellEditor
547{
548public:
549 wxPyGridCellEditor() : wxGridCellEditor() {}
550
551 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
552 bool doSave = wxPyRestoreThread();
b68dc582
RD
553 if (wxPyCBH_findCallback(m_myInst, "Create")) {
554 wxPyCBH_callCallback(m_myInst,
f6bcfd97 555 Py_BuildValue("(OiO)",
b68dc582 556 wxPyConstructObject((void*)parent, "wxWindow", 0),
f6bcfd97 557 id,
b68dc582 558 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
f6bcfd97
BP
559 }
560 wxPySaveThread(doSave);
561 }
562
563
564 void BeginEdit(int row, int col, wxGrid* grid) {
565 bool doSave = wxPyRestoreThread();
b68dc582
RD
566 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
567 wxPyCBH_callCallback(m_myInst,
f6bcfd97 568 Py_BuildValue("(iiO)", row, col,
b68dc582 569 wxPyConstructObject((void*)grid, "wxGrid", 0)));
f6bcfd97
BP
570 }
571 wxPySaveThread(doSave);
572 }
573
574
575 bool EndEdit(int row, int col, wxGrid* grid) {
576 bool rv = FALSE;
577 bool doSave = wxPyRestoreThread();
b68dc582
RD
578 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
579 rv = wxPyCBH_callCallback(m_myInst,
f6bcfd97 580 Py_BuildValue("(iiO)", row, col,
b68dc582 581 wxPyConstructObject((void*)grid, "wxGrid", 0)));
f6bcfd97
BP
582 }
583 wxPySaveThread(doSave);
584 return rv;
585 }
586
587
c368d904 588 wxGridCellEditor*Clone() const {
f6bcfd97
BP
589 wxGridCellEditor* rval = NULL;
590 bool doSave = wxPyRestoreThread();
b68dc582 591 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
f6bcfd97
BP
592 PyObject* ro;
593 wxGridCellEditor* ptr;
b68dc582 594 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
f6bcfd97
BP
595 if (ro) {
596 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
597 rval = ptr;
598 Py_DECREF(ro);
599 }
600 }
601 wxPySaveThread(doSave);
602 return rval;
603 }
604
605
606 void Show(bool show, wxGridCellAttr *attr) {
607 bool doSave = wxPyRestoreThread();
b68dc582
RD
608 if (wxPyCBH_findCallback(m_myInst, "Show"))
609 wxPyCBH_callCallback(m_myInst,
f6bcfd97 610 Py_BuildValue("(iO)", show,
b68dc582 611 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
f6bcfd97
BP
612 else
613 wxGridCellEditor::Show(show, attr);
614 wxPySaveThread(doSave);
615 }
616 void base_Show(bool show, wxGridCellAttr *attr) {
617 wxGridCellEditor::Show(show, attr);
618 }
619
620
621 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
622 bool doSave = wxPyRestoreThread();
b68dc582
RD
623 if (wxPyCBH_findCallback(m_myInst, "PaintBackground"))
624 wxPyCBH_callCallback(m_myInst,
f6bcfd97 625 Py_BuildValue("(OO)",
b68dc582
RD
626 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
627 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
f6bcfd97
BP
628 else
629 wxGridCellEditor::PaintBackground(rectCell, attr);
630 wxPySaveThread(doSave);
631 }
632 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
633 wxGridCellEditor::PaintBackground(rectCell, attr);
634 }
635
636
637 DEC_PYCALLBACK___pure(Reset);
638 DEC_PYCALLBACK__constany(SetSize, wxRect);
639 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
640 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
641 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
642 DEC_PYCALLBACK__(StartingClick);
643 DEC_PYCALLBACK__(Destroy);
644 DEC_PYCALLBACK__STRING(SetParameters);
645
646 PYPRIVATE;
647};
648
649
650IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
651IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
652IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
653IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
654IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
655IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
656IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
657IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
658
659
660class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
661{
662public:
663 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
664
9df61a29 665 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
f6bcfd97
BP
666 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
667 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
668 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
669
670 PYPRIVATE;
671};
672
673class wxPyGridTableBase : public wxGridTableBase
674{
675public:
676 wxPyGridTableBase() : wxGridTableBase() {}
677
678 PYCALLBACK_INT__pure(GetNumberRows);
679 PYCALLBACK_INT__pure(GetNumberCols);
680 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
681 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
682 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
683 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
684 PYCALLBACK__(wxGridTableBase, Clear);
685 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
686 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
687 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
688 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
689 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
690 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
691 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
692 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
693 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
694 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
695 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
9df61a29 696 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
f6bcfd97
BP
697 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
698 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
699 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
700
701
f6bcfd97
BP
702 wxString GetValue(int row, int col) {
703 bool doSave = wxPyRestoreThread();
704 wxString rval;
b68dc582 705 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97 706 PyObject* ro;
b68dc582 707 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
f6bcfd97 708 if (ro) {
2cd2fac8
RD
709 PyObject* str = PyObject_Str(ro);
710 rval = PyString_AsString(str);
f6bcfd97 711 Py_DECREF(ro);
2cd2fac8 712 Py_DECREF(str);
f6bcfd97
BP
713 }
714 }
715 wxPySaveThread(doSave);
716 return rval;
717 }
718
719 void SetValue(int row, int col, const wxString& val) {
720 bool doSave = wxPyRestoreThread();
b68dc582
RD
721 if (wxPyCBH_findCallback(m_myInst, "SetValue"))
722 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str()));
f6bcfd97
BP
723 wxPySaveThread(doSave);
724 }
725
726
727 // Map the Get/Set methods for the standard non-string types to
728 // the GetValue and SetValue python methods.
729 long GetValueAsLong( int row, int col ) {
730 long rval = 0;
731 bool doSave = wxPyRestoreThread();
b68dc582 732 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97
BP
733 PyObject* ro;
734 PyObject* num;
b68dc582 735 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
f6bcfd97
BP
736 if (ro && PyNumber_Check(ro)) {
737 num = PyNumber_Int(ro);
738 if (num) {
739 rval = PyInt_AsLong(num);
740 Py_DECREF(num);
741 }
742 Py_DECREF(ro);
743 }
744 }
745 wxPySaveThread(doSave);
746 return rval;
747 }
748
749 double GetValueAsDouble( int row, int col ) {
750 double rval = 0.0;
751 bool doSave = wxPyRestoreThread();
b68dc582 752 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97
BP
753 PyObject* ro;
754 PyObject* num;
b68dc582 755 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
f6bcfd97
BP
756 if (ro && PyNumber_Check(ro)) {
757 num = PyNumber_Float(ro);
758 if (num) {
759 rval = PyFloat_AsDouble(num);
760 Py_DECREF(num);
761 }
762 Py_DECREF(ro);
763 }
764 }
765 wxPySaveThread(doSave);
766 return rval;
767 }
768
769 bool GetValueAsBool( int row, int col ) {
770 return (bool)GetValueAsLong(row, col);
771 }
772
773 void SetValueAsLong( int row, int col, long value ) {
774 bool doSave = wxPyRestoreThread();
b68dc582
RD
775 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
776 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
f6bcfd97
BP
777 }
778 wxPySaveThread(doSave);
779 }
780
781 void SetValueAsDouble( int row, int col, double value ) {
782 bool doSave = wxPyRestoreThread();
b68dc582
RD
783 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
784 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
f6bcfd97
BP
785 }
786 wxPySaveThread(doSave);
787 }
788
789 void SetValueAsBool( int row, int col, bool value ) {
790 SetValueAsLong( row, col, (long)value );
791 }
792
793
794 PYPRIVATE;
795};
796
797bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
798
799 // If source is an object instance then it may already be the right type
800 if (PyInstance_Check(source)) {
801 wxGridCellCoords* ptr;
802 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
803 goto error;
804 *obj = ptr;
805 return TRUE;
806 }
807 // otherwise a 2-tuple of integers is expected
808 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
809 PyObject* o1 = PySequence_GetItem(source, 0);
810 PyObject* o2 = PySequence_GetItem(source, 1);
811 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
812 return TRUE;
813 }
814
815 error:
816 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
817 return FALSE;
818}
819
820typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
821#ifdef __cplusplus
822extern "C" {
823#endif
824static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
825
826 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
827 return 1;
828}
829
830static PyObject *_wrap_wxGridNoCellCoords_get() {
831 PyObject * pyobj;
832 char ptemp[128];
833
834 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
835 pyobj = PyString_FromString(ptemp);
836 return pyobj;
837}
838
839static int _wrap_wxGridNoCellRect_set(PyObject *val) {
840
841 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
842 return 1;
843}
844
845static PyObject *_wrap_wxGridNoCellRect_get() {
846 PyObject * pyobj;
847 char ptemp[128];
848
849 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
850 pyobj = PyString_FromString(ptemp);
851 return pyobj;
852}
853
854#define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
855static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
856 PyObject * _resultobj;
857 wxGridCellRenderer * _arg0;
858 wxString * _arg1;
859 PyObject * _argo0 = 0;
860 PyObject * _obj1 = 0;
861 char *_kwnames[] = { "self","params", NULL };
862
863 self = self;
864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
865 return NULL;
866 if (_argo0) {
867 if (_argo0 == Py_None) { _arg0 = NULL; }
868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
870 return NULL;
871 }
872 }
873{
2cd2fac8
RD
874#if PYTHON_API_VERSION >= 1009
875 char* tmpPtr; int tmpSize;
876 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 877 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
878 return NULL;
879 }
880 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
881 return NULL;
882 _arg1 = new wxString(tmpPtr, tmpSize);
883#else
f6bcfd97
BP
884 if (!PyString_Check(_obj1)) {
885 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
886 return NULL;
887 }
2cd2fac8
RD
888 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
889#endif
f6bcfd97
BP
890}
891{
892 wxPy_BEGIN_ALLOW_THREADS;
893 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
894
895 wxPy_END_ALLOW_THREADS;
4dfaa61e 896 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
897} Py_INCREF(Py_None);
898 _resultobj = Py_None;
899{
900 if (_obj1)
901 delete _arg1;
902}
903 return _resultobj;
904}
905
906#define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
907static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
908 PyObject * _resultobj;
909 wxGridCellRenderer * _arg0;
910 PyObject * _argo0 = 0;
911 char *_kwnames[] = { "self", NULL };
912
913 self = self;
914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
915 return NULL;
916 if (_argo0) {
917 if (_argo0 == Py_None) { _arg0 = NULL; }
918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
920 return NULL;
921 }
922 }
923{
924 wxPy_BEGIN_ALLOW_THREADS;
925 wxGridCellRenderer_IncRef(_arg0);
926
927 wxPy_END_ALLOW_THREADS;
4dfaa61e 928 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
929} Py_INCREF(Py_None);
930 _resultobj = Py_None;
931 return _resultobj;
932}
933
934#define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
935static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
936 PyObject * _resultobj;
937 wxGridCellRenderer * _arg0;
938 PyObject * _argo0 = 0;
939 char *_kwnames[] = { "self", NULL };
940
941 self = self;
942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
943 return NULL;
944 if (_argo0) {
945 if (_argo0 == Py_None) { _arg0 = NULL; }
946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
948 return NULL;
949 }
950 }
951{
952 wxPy_BEGIN_ALLOW_THREADS;
953 wxGridCellRenderer_DecRef(_arg0);
954
955 wxPy_END_ALLOW_THREADS;
4dfaa61e 956 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
957} Py_INCREF(Py_None);
958 _resultobj = Py_None;
959 return _resultobj;
960}
961
962#define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
963static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
964 PyObject * _resultobj;
965 wxGridCellRenderer * _arg0;
966 wxGrid * _arg1;
967 wxGridCellAttr * _arg2;
968 wxDC * _arg3;
969 wxRect * _arg4;
970 int _arg5;
971 int _arg6;
972 bool _arg7;
973 PyObject * _argo0 = 0;
974 PyObject * _argo1 = 0;
975 PyObject * _argo2 = 0;
976 PyObject * _argo3 = 0;
977 wxRect temp;
978 PyObject * _obj4 = 0;
979 int tempbool7;
980 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
981
982 self = self;
983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
984 return NULL;
985 if (_argo0) {
986 if (_argo0 == Py_None) { _arg0 = NULL; }
987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
989 return NULL;
990 }
991 }
992 if (_argo1) {
993 if (_argo1 == Py_None) { _arg1 = NULL; }
994 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
995 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
996 return NULL;
997 }
998 }
999 if (_argo2) {
1000 if (_argo2 == Py_None) { _arg2 = NULL; }
1001 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1002 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1003 return NULL;
1004 }
1005 }
1006 if (_argo3) {
1007 if (_argo3 == Py_None) { _arg3 = NULL; }
1008 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1009 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1010 return NULL;
1011 }
1012 }
1013{
1014 _arg4 = &temp;
1015 if (! wxRect_helper(_obj4, &_arg4))
1016 return NULL;
1017}
1018 _arg7 = (bool ) tempbool7;
1019{
1020 wxPy_BEGIN_ALLOW_THREADS;
1021 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1022
1023 wxPy_END_ALLOW_THREADS;
4dfaa61e 1024 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1025} Py_INCREF(Py_None);
1026 _resultobj = Py_None;
1027 return _resultobj;
1028}
1029
1030#define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1031static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1032 PyObject * _resultobj;
1033 wxSize * _result;
1034 wxGridCellRenderer * _arg0;
1035 wxGrid * _arg1;
1036 wxGridCellAttr * _arg2;
1037 wxDC * _arg3;
1038 int _arg4;
1039 int _arg5;
1040 PyObject * _argo0 = 0;
1041 PyObject * _argo1 = 0;
1042 PyObject * _argo2 = 0;
1043 PyObject * _argo3 = 0;
1044 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1045 char _ptemp[128];
1046
1047 self = self;
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1049 return NULL;
1050 if (_argo0) {
1051 if (_argo0 == Py_None) { _arg0 = NULL; }
1052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1054 return NULL;
1055 }
1056 }
1057 if (_argo1) {
1058 if (_argo1 == Py_None) { _arg1 = NULL; }
1059 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1060 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1061 return NULL;
1062 }
1063 }
1064 if (_argo2) {
1065 if (_argo2 == Py_None) { _arg2 = NULL; }
1066 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1067 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1068 return NULL;
1069 }
1070 }
1071 if (_argo3) {
1072 if (_argo3 == Py_None) { _arg3 = NULL; }
1073 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1075 return NULL;
1076 }
1077 }
1078{
1079 wxPy_BEGIN_ALLOW_THREADS;
1080 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1081
1082 wxPy_END_ALLOW_THREADS;
4dfaa61e 1083 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1084} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1085 _resultobj = Py_BuildValue("s",_ptemp);
1086 return _resultobj;
1087}
1088
1089#define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1090static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1091 PyObject * _resultobj;
1092 wxGridCellRenderer * _result;
1093 wxGridCellRenderer * _arg0;
1094 PyObject * _argo0 = 0;
1095 char *_kwnames[] = { "self", NULL };
1096 char _ptemp[128];
1097
1098 self = self;
1099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1100 return NULL;
1101 if (_argo0) {
1102 if (_argo0 == Py_None) { _arg0 = NULL; }
1103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1105 return NULL;
1106 }
1107 }
1108{
1109 wxPy_BEGIN_ALLOW_THREADS;
1110 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1111
1112 wxPy_END_ALLOW_THREADS;
4dfaa61e 1113 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1114} if (_result) {
1115 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1116 _resultobj = Py_BuildValue("s",_ptemp);
1117 } else {
1118 Py_INCREF(Py_None);
1119 _resultobj = Py_None;
1120 }
1121 return _resultobj;
1122}
1123
1124static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1125 wxPyGridCellRenderer *src;
1126 wxGridCellRenderer *dest;
1127 src = (wxPyGridCellRenderer *) ptr;
1128 dest = (wxGridCellRenderer *) src;
1129 return (void *) dest;
1130}
1131
1132#define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1133static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1134 PyObject * _resultobj;
1135 wxPyGridCellRenderer * _result;
1136 char *_kwnames[] = { NULL };
1137 char _ptemp[128];
1138
1139 self = self;
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1141 return NULL;
1142{
1143 wxPy_BEGIN_ALLOW_THREADS;
1144 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1145
1146 wxPy_END_ALLOW_THREADS;
4dfaa61e 1147 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1148} if (_result) {
1149 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1150 _resultobj = Py_BuildValue("s",_ptemp);
1151 } else {
1152 Py_INCREF(Py_None);
1153 _resultobj = Py_None;
1154 }
1155 return _resultobj;
1156}
1157
1158#define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1159static PyObject *_wrap_wxPyGridCellRenderer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1160 PyObject * _resultobj;
1161 wxPyGridCellRenderer * _arg0;
1162 PyObject * _arg1;
1163 PyObject * _arg2;
1164 PyObject * _argo0 = 0;
1165 PyObject * _obj1 = 0;
1166 PyObject * _obj2 = 0;
1167 char *_kwnames[] = { "self","self","_class", NULL };
1168
1169 self = self;
1170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1171 return NULL;
1172 if (_argo0) {
1173 if (_argo0 == Py_None) { _arg0 = NULL; }
1174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1176 return NULL;
1177 }
1178 }
1179{
1180 _arg1 = _obj1;
1181}
1182{
1183 _arg2 = _obj2;
1184}
1185{
1186 wxPy_BEGIN_ALLOW_THREADS;
1187 wxPyGridCellRenderer__setSelf(_arg0,_arg1,_arg2);
1188
1189 wxPy_END_ALLOW_THREADS;
4dfaa61e 1190 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1191} Py_INCREF(Py_None);
1192 _resultobj = Py_None;
1193 return _resultobj;
1194}
1195
1196#define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1197static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1198 PyObject * _resultobj;
1199 wxPyGridCellRenderer * _arg0;
1200 wxString * _arg1;
1201 PyObject * _argo0 = 0;
1202 PyObject * _obj1 = 0;
1203 char *_kwnames[] = { "self","params", NULL };
1204
1205 self = self;
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1207 return NULL;
1208 if (_argo0) {
1209 if (_argo0 == Py_None) { _arg0 = NULL; }
1210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1212 return NULL;
1213 }
1214 }
1215{
2cd2fac8
RD
1216#if PYTHON_API_VERSION >= 1009
1217 char* tmpPtr; int tmpSize;
1218 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1219 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1220 return NULL;
1221 }
1222 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1223 return NULL;
1224 _arg1 = new wxString(tmpPtr, tmpSize);
1225#else
f6bcfd97
BP
1226 if (!PyString_Check(_obj1)) {
1227 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1228 return NULL;
1229 }
2cd2fac8
RD
1230 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1231#endif
f6bcfd97
BP
1232}
1233{
1234 wxPy_BEGIN_ALLOW_THREADS;
1235 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1236
1237 wxPy_END_ALLOW_THREADS;
4dfaa61e 1238 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1239} Py_INCREF(Py_None);
1240 _resultobj = Py_None;
1241{
1242 if (_obj1)
1243 delete _arg1;
1244}
1245 return _resultobj;
1246}
1247
1248static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1249 wxGridCellStringRenderer *src;
1250 wxGridCellRenderer *dest;
1251 src = (wxGridCellStringRenderer *) ptr;
1252 dest = (wxGridCellRenderer *) src;
1253 return (void *) dest;
1254}
1255
1256#define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1257static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1258 PyObject * _resultobj;
1259 wxGridCellStringRenderer * _result;
1260 char *_kwnames[] = { NULL };
1261 char _ptemp[128];
1262
1263 self = self;
1264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1265 return NULL;
1266{
1267 wxPy_BEGIN_ALLOW_THREADS;
1268 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1269
1270 wxPy_END_ALLOW_THREADS;
4dfaa61e 1271 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1272} if (_result) {
1273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1274 _resultobj = Py_BuildValue("s",_ptemp);
1275 } else {
1276 Py_INCREF(Py_None);
1277 _resultobj = Py_None;
1278 }
1279 return _resultobj;
1280}
1281
1282static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1283 wxGridCellNumberRenderer *src;
1284 wxGridCellStringRenderer *dest;
1285 src = (wxGridCellNumberRenderer *) ptr;
1286 dest = (wxGridCellStringRenderer *) src;
1287 return (void *) dest;
1288}
1289
1290static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1291 wxGridCellNumberRenderer *src;
1292 wxGridCellRenderer *dest;
1293 src = (wxGridCellNumberRenderer *) ptr;
1294 dest = (wxGridCellRenderer *) src;
1295 return (void *) dest;
1296}
1297
1298#define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1299static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject * _resultobj;
1301 wxGridCellNumberRenderer * _result;
1302 char *_kwnames[] = { NULL };
1303 char _ptemp[128];
1304
1305 self = self;
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1307 return NULL;
1308{
1309 wxPy_BEGIN_ALLOW_THREADS;
1310 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1311
1312 wxPy_END_ALLOW_THREADS;
4dfaa61e 1313 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1314} if (_result) {
1315 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1316 _resultobj = Py_BuildValue("s",_ptemp);
1317 } else {
1318 Py_INCREF(Py_None);
1319 _resultobj = Py_None;
1320 }
1321 return _resultobj;
1322}
1323
1324static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1325 wxGridCellFloatRenderer *src;
1326 wxGridCellStringRenderer *dest;
1327 src = (wxGridCellFloatRenderer *) ptr;
1328 dest = (wxGridCellStringRenderer *) src;
1329 return (void *) dest;
1330}
1331
1332static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1333 wxGridCellFloatRenderer *src;
1334 wxGridCellRenderer *dest;
1335 src = (wxGridCellFloatRenderer *) ptr;
1336 dest = (wxGridCellRenderer *) src;
1337 return (void *) dest;
1338}
1339
1340#define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1341static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1342 PyObject * _resultobj;
1343 wxGridCellFloatRenderer * _result;
1344 int _arg0 = (int ) -1;
1345 int _arg1 = (int ) -1;
1346 char *_kwnames[] = { "width","precision", NULL };
1347 char _ptemp[128];
1348
1349 self = self;
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1351 return NULL;
1352{
1353 wxPy_BEGIN_ALLOW_THREADS;
1354 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1355
1356 wxPy_END_ALLOW_THREADS;
4dfaa61e 1357 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1358} if (_result) {
1359 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1360 _resultobj = Py_BuildValue("s",_ptemp);
1361 } else {
1362 Py_INCREF(Py_None);
1363 _resultobj = Py_None;
1364 }
1365 return _resultobj;
1366}
1367
1368#define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1369static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1370 PyObject * _resultobj;
1371 int _result;
1372 wxGridCellFloatRenderer * _arg0;
1373 PyObject * _argo0 = 0;
1374 char *_kwnames[] = { "self", NULL };
1375
1376 self = self;
1377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1378 return NULL;
1379 if (_argo0) {
1380 if (_argo0 == Py_None) { _arg0 = NULL; }
1381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1383 return NULL;
1384 }
1385 }
1386{
1387 wxPy_BEGIN_ALLOW_THREADS;
1388 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1389
1390 wxPy_END_ALLOW_THREADS;
4dfaa61e 1391 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1392} _resultobj = Py_BuildValue("i",_result);
1393 return _resultobj;
1394}
1395
1396#define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1397static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject * _resultobj;
1399 wxGridCellFloatRenderer * _arg0;
1400 int _arg1;
1401 PyObject * _argo0 = 0;
1402 char *_kwnames[] = { "self","width", NULL };
1403
1404 self = self;
1405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1406 return NULL;
1407 if (_argo0) {
1408 if (_argo0 == Py_None) { _arg0 = NULL; }
1409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1411 return NULL;
1412 }
1413 }
1414{
1415 wxPy_BEGIN_ALLOW_THREADS;
1416 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1417
1418 wxPy_END_ALLOW_THREADS;
4dfaa61e 1419 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1420} Py_INCREF(Py_None);
1421 _resultobj = Py_None;
1422 return _resultobj;
1423}
1424
1425#define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1426static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1427 PyObject * _resultobj;
1428 int _result;
1429 wxGridCellFloatRenderer * _arg0;
1430 PyObject * _argo0 = 0;
1431 char *_kwnames[] = { "self", NULL };
1432
1433 self = self;
1434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1435 return NULL;
1436 if (_argo0) {
1437 if (_argo0 == Py_None) { _arg0 = NULL; }
1438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1440 return NULL;
1441 }
1442 }
1443{
1444 wxPy_BEGIN_ALLOW_THREADS;
1445 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1446
1447 wxPy_END_ALLOW_THREADS;
4dfaa61e 1448 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1449} _resultobj = Py_BuildValue("i",_result);
1450 return _resultobj;
1451}
1452
1453#define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1454static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1455 PyObject * _resultobj;
1456 wxGridCellFloatRenderer * _arg0;
1457 int _arg1;
1458 PyObject * _argo0 = 0;
1459 char *_kwnames[] = { "self","precision", NULL };
1460
1461 self = self;
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1463 return NULL;
1464 if (_argo0) {
1465 if (_argo0 == Py_None) { _arg0 = NULL; }
1466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1468 return NULL;
1469 }
1470 }
1471{
1472 wxPy_BEGIN_ALLOW_THREADS;
1473 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1474
1475 wxPy_END_ALLOW_THREADS;
4dfaa61e 1476 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1477} Py_INCREF(Py_None);
1478 _resultobj = Py_None;
1479 return _resultobj;
1480}
1481
1482static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1483 wxGridCellBoolRenderer *src;
1484 wxGridCellRenderer *dest;
1485 src = (wxGridCellBoolRenderer *) ptr;
1486 dest = (wxGridCellRenderer *) src;
1487 return (void *) dest;
1488}
1489
1490#define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1491static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1492 PyObject * _resultobj;
1493 wxGridCellBoolRenderer * _result;
1494 char *_kwnames[] = { NULL };
1495 char _ptemp[128];
1496
1497 self = self;
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1499 return NULL;
1500{
1501 wxPy_BEGIN_ALLOW_THREADS;
1502 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1503
1504 wxPy_END_ALLOW_THREADS;
4dfaa61e 1505 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1506} if (_result) {
1507 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1508 _resultobj = Py_BuildValue("s",_ptemp);
1509 } else {
1510 Py_INCREF(Py_None);
1511 _resultobj = Py_None;
1512 }
1513 return _resultobj;
1514}
1515
1516#define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1517static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1518 PyObject * _resultobj;
1519 bool _result;
1520 wxGridCellEditor * _arg0;
1521 PyObject * _argo0 = 0;
1522 char *_kwnames[] = { "self", NULL };
1523
1524 self = self;
1525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1526 return NULL;
1527 if (_argo0) {
1528 if (_argo0 == Py_None) { _arg0 = NULL; }
1529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1531 return NULL;
1532 }
1533 }
1534{
1535 wxPy_BEGIN_ALLOW_THREADS;
1536 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1537
1538 wxPy_END_ALLOW_THREADS;
4dfaa61e 1539 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1540} _resultobj = Py_BuildValue("i",_result);
1541 return _resultobj;
1542}
1543
1544#define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1545static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1546 PyObject * _resultobj;
1547 wxControl * _result;
1548 wxGridCellEditor * _arg0;
1549 PyObject * _argo0 = 0;
1550 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
1551
1552 self = self;
1553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1554 return NULL;
1555 if (_argo0) {
1556 if (_argo0 == Py_None) { _arg0 = NULL; }
1557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1559 return NULL;
1560 }
1561 }
1562{
1563 wxPy_BEGIN_ALLOW_THREADS;
1564 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1565
1566 wxPy_END_ALLOW_THREADS;
4dfaa61e 1567 if (PyErr_Occurred()) return NULL;
9df61a29 1568}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
1569 return _resultobj;
1570}
1571
1572#define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1573static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1574 PyObject * _resultobj;
1575 wxGridCellEditor * _arg0;
1576 wxControl * _arg1;
1577 PyObject * _argo0 = 0;
1578 PyObject * _argo1 = 0;
1579 char *_kwnames[] = { "self","control", NULL };
1580
1581 self = self;
1582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1583 return NULL;
1584 if (_argo0) {
1585 if (_argo0 == Py_None) { _arg0 = NULL; }
1586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1588 return NULL;
1589 }
1590 }
1591 if (_argo1) {
1592 if (_argo1 == Py_None) { _arg1 = NULL; }
1593 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1595 return NULL;
1596 }
1597 }
1598{
1599 wxPy_BEGIN_ALLOW_THREADS;
1600 wxGridCellEditor_SetControl(_arg0,_arg1);
1601
1602 wxPy_END_ALLOW_THREADS;
4dfaa61e 1603 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1604} Py_INCREF(Py_None);
1605 _resultobj = Py_None;
1606 return _resultobj;
1607}
1608
1609#define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1610static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1611 PyObject * _resultobj;
1612 wxGridCellEditor * _arg0;
1613 wxString * _arg1;
1614 PyObject * _argo0 = 0;
1615 PyObject * _obj1 = 0;
1616 char *_kwnames[] = { "self","params", NULL };
1617
1618 self = self;
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1620 return NULL;
1621 if (_argo0) {
1622 if (_argo0 == Py_None) { _arg0 = NULL; }
1623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1625 return NULL;
1626 }
1627 }
1628{
2cd2fac8
RD
1629#if PYTHON_API_VERSION >= 1009
1630 char* tmpPtr; int tmpSize;
1631 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1632 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1633 return NULL;
1634 }
1635 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1636 return NULL;
1637 _arg1 = new wxString(tmpPtr, tmpSize);
1638#else
f6bcfd97
BP
1639 if (!PyString_Check(_obj1)) {
1640 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1641 return NULL;
1642 }
2cd2fac8
RD
1643 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1644#endif
f6bcfd97
BP
1645}
1646{
1647 wxPy_BEGIN_ALLOW_THREADS;
1648 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1649
1650 wxPy_END_ALLOW_THREADS;
4dfaa61e 1651 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1652} Py_INCREF(Py_None);
1653 _resultobj = Py_None;
1654{
1655 if (_obj1)
1656 delete _arg1;
1657}
1658 return _resultobj;
1659}
1660
1661#define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1662static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1663 PyObject * _resultobj;
1664 wxGridCellEditor * _arg0;
1665 PyObject * _argo0 = 0;
1666 char *_kwnames[] = { "self", NULL };
1667
1668 self = self;
1669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1670 return NULL;
1671 if (_argo0) {
1672 if (_argo0 == Py_None) { _arg0 = NULL; }
1673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1675 return NULL;
1676 }
1677 }
1678{
1679 wxPy_BEGIN_ALLOW_THREADS;
1680 wxGridCellEditor_IncRef(_arg0);
1681
1682 wxPy_END_ALLOW_THREADS;
4dfaa61e 1683 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1684} Py_INCREF(Py_None);
1685 _resultobj = Py_None;
1686 return _resultobj;
1687}
1688
1689#define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1690static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject * _resultobj;
1692 wxGridCellEditor * _arg0;
1693 PyObject * _argo0 = 0;
1694 char *_kwnames[] = { "self", NULL };
1695
1696 self = self;
1697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1698 return NULL;
1699 if (_argo0) {
1700 if (_argo0 == Py_None) { _arg0 = NULL; }
1701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1703 return NULL;
1704 }
1705 }
1706{
1707 wxPy_BEGIN_ALLOW_THREADS;
1708 wxGridCellEditor_DecRef(_arg0);
1709
1710 wxPy_END_ALLOW_THREADS;
4dfaa61e 1711 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1712} Py_INCREF(Py_None);
1713 _resultobj = Py_None;
1714 return _resultobj;
1715}
1716
1717#define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1718static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1719 PyObject * _resultobj;
1720 wxGridCellEditor * _arg0;
1721 wxWindow * _arg1;
1722 wxWindowID _arg2;
1723 wxEvtHandler * _arg3;
1724 PyObject * _argo0 = 0;
1725 PyObject * _argo1 = 0;
1726 PyObject * _argo3 = 0;
1727 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1728
1729 self = self;
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1731 return NULL;
1732 if (_argo0) {
1733 if (_argo0 == Py_None) { _arg0 = NULL; }
1734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1736 return NULL;
1737 }
1738 }
1739 if (_argo1) {
1740 if (_argo1 == Py_None) { _arg1 = NULL; }
1741 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1743 return NULL;
1744 }
1745 }
1746 if (_argo3) {
1747 if (_argo3 == Py_None) { _arg3 = NULL; }
1748 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1750 return NULL;
1751 }
1752 }
1753{
1754 wxPy_BEGIN_ALLOW_THREADS;
1755 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1756
1757 wxPy_END_ALLOW_THREADS;
4dfaa61e 1758 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1759} Py_INCREF(Py_None);
1760 _resultobj = Py_None;
1761 return _resultobj;
1762}
1763
1764#define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1765static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject * _resultobj;
1767 wxGridCellEditor * _arg0;
1768 int _arg1;
1769 int _arg2;
1770 wxGrid * _arg3;
1771 PyObject * _argo0 = 0;
1772 PyObject * _argo3 = 0;
1773 char *_kwnames[] = { "self","row","col","grid", NULL };
1774
1775 self = self;
1776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1777 return NULL;
1778 if (_argo0) {
1779 if (_argo0 == Py_None) { _arg0 = NULL; }
1780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1782 return NULL;
1783 }
1784 }
1785 if (_argo3) {
1786 if (_argo3 == Py_None) { _arg3 = NULL; }
1787 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1788 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1789 return NULL;
1790 }
1791 }
1792{
1793 wxPy_BEGIN_ALLOW_THREADS;
1794 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1795
1796 wxPy_END_ALLOW_THREADS;
4dfaa61e 1797 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1798} Py_INCREF(Py_None);
1799 _resultobj = Py_None;
1800 return _resultobj;
1801}
1802
1803#define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1804static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject * _resultobj;
1806 bool _result;
1807 wxGridCellEditor * _arg0;
1808 int _arg1;
1809 int _arg2;
1810 wxGrid * _arg3;
1811 PyObject * _argo0 = 0;
1812 PyObject * _argo3 = 0;
1813 char *_kwnames[] = { "self","row","col","grid", NULL };
1814
1815 self = self;
1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1817 return NULL;
1818 if (_argo0) {
1819 if (_argo0 == Py_None) { _arg0 = NULL; }
1820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1822 return NULL;
1823 }
1824 }
1825 if (_argo3) {
1826 if (_argo3 == Py_None) { _arg3 = NULL; }
1827 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1828 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1829 return NULL;
1830 }
1831 }
1832{
1833 wxPy_BEGIN_ALLOW_THREADS;
1834 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1835
1836 wxPy_END_ALLOW_THREADS;
4dfaa61e 1837 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1838} _resultobj = Py_BuildValue("i",_result);
1839 return _resultobj;
1840}
1841
1842#define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1843static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject * _resultobj;
1845 wxGridCellEditor * _arg0;
1846 PyObject * _argo0 = 0;
1847 char *_kwnames[] = { "self", NULL };
1848
1849 self = self;
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
1851 return NULL;
1852 if (_argo0) {
1853 if (_argo0 == Py_None) { _arg0 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1856 return NULL;
1857 }
1858 }
1859{
1860 wxPy_BEGIN_ALLOW_THREADS;
1861 wxGridCellEditor_Reset(_arg0);
1862
1863 wxPy_END_ALLOW_THREADS;
4dfaa61e 1864 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1865} Py_INCREF(Py_None);
1866 _resultobj = Py_None;
1867 return _resultobj;
1868}
1869
1870#define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1871static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1872 PyObject * _resultobj;
1873 wxGridCellEditor * _result;
1874 wxGridCellEditor * _arg0;
1875 PyObject * _argo0 = 0;
1876 char *_kwnames[] = { "self", NULL };
1877 char _ptemp[128];
1878
1879 self = self;
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
1881 return NULL;
1882 if (_argo0) {
1883 if (_argo0 == Py_None) { _arg0 = NULL; }
1884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1886 return NULL;
1887 }
1888 }
1889{
1890 wxPy_BEGIN_ALLOW_THREADS;
1891 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
1892
1893 wxPy_END_ALLOW_THREADS;
4dfaa61e 1894 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1895} if (_result) {
1896 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
1897 _resultobj = Py_BuildValue("s",_ptemp);
1898 } else {
1899 Py_INCREF(Py_None);
1900 _resultobj = Py_None;
1901 }
1902 return _resultobj;
1903}
1904
1905#define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1906static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject * _resultobj;
1908 wxGridCellEditor * _arg0;
1909 wxRect * _arg1;
1910 PyObject * _argo0 = 0;
1911 wxRect temp;
1912 PyObject * _obj1 = 0;
1913 char *_kwnames[] = { "self","rect", NULL };
1914
1915 self = self;
1916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
1917 return NULL;
1918 if (_argo0) {
1919 if (_argo0 == Py_None) { _arg0 = NULL; }
1920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1922 return NULL;
1923 }
1924 }
1925{
1926 _arg1 = &temp;
1927 if (! wxRect_helper(_obj1, &_arg1))
1928 return NULL;
1929}
1930{
1931 wxPy_BEGIN_ALLOW_THREADS;
1932 wxGridCellEditor_SetSize(_arg0,*_arg1);
1933
1934 wxPy_END_ALLOW_THREADS;
4dfaa61e 1935 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1936} Py_INCREF(Py_None);
1937 _resultobj = Py_None;
1938 return _resultobj;
1939}
1940
1941#define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1942static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1943 PyObject * _resultobj;
1944 wxGridCellEditor * _arg0;
1945 bool _arg1;
1946 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
1947 PyObject * _argo0 = 0;
1948 int tempbool1;
1949 PyObject * _argo2 = 0;
1950 char *_kwnames[] = { "self","show","attr", NULL };
1951
1952 self = self;
1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
1954 return NULL;
1955 if (_argo0) {
1956 if (_argo0 == Py_None) { _arg0 = NULL; }
1957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1959 return NULL;
1960 }
1961 }
1962 _arg1 = (bool ) tempbool1;
1963 if (_argo2) {
1964 if (_argo2 == Py_None) { _arg2 = NULL; }
1965 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1966 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1967 return NULL;
1968 }
1969 }
1970{
1971 wxPy_BEGIN_ALLOW_THREADS;
1972 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
1973
1974 wxPy_END_ALLOW_THREADS;
4dfaa61e 1975 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1976} Py_INCREF(Py_None);
1977 _resultobj = Py_None;
1978 return _resultobj;
1979}
1980
1981#define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1982static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1983 PyObject * _resultobj;
1984 wxGridCellEditor * _arg0;
1985 wxRect * _arg1;
1986 wxGridCellAttr * _arg2;
1987 PyObject * _argo0 = 0;
1988 wxRect temp;
1989 PyObject * _obj1 = 0;
1990 PyObject * _argo2 = 0;
1991 char *_kwnames[] = { "self","rectCell","attr", NULL };
1992
1993 self = self;
1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
1995 return NULL;
1996 if (_argo0) {
1997 if (_argo0 == Py_None) { _arg0 = NULL; }
1998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2000 return NULL;
2001 }
2002 }
2003{
2004 _arg1 = &temp;
2005 if (! wxRect_helper(_obj1, &_arg1))
2006 return NULL;
2007}
2008 if (_argo2) {
2009 if (_argo2 == Py_None) { _arg2 = NULL; }
2010 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2011 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2012 return NULL;
2013 }
2014 }
2015{
2016 wxPy_BEGIN_ALLOW_THREADS;
2017 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2018
2019 wxPy_END_ALLOW_THREADS;
4dfaa61e 2020 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2021} Py_INCREF(Py_None);
2022 _resultobj = Py_None;
2023 return _resultobj;
2024}
2025
2026#define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2027static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2028 PyObject * _resultobj;
2029 bool _result;
2030 wxGridCellEditor * _arg0;
2031 wxKeyEvent * _arg1;
2032 PyObject * _argo0 = 0;
2033 PyObject * _argo1 = 0;
2034 char *_kwnames[] = { "self","event", NULL };
2035
2036 self = self;
2037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2038 return NULL;
2039 if (_argo0) {
2040 if (_argo0 == Py_None) { _arg0 = NULL; }
2041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2043 return NULL;
2044 }
2045 }
2046 if (_argo1) {
2047 if (_argo1 == Py_None) { _arg1 = NULL; }
2048 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2049 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2050 return NULL;
2051 }
2052 }
2053{
2054 wxPy_BEGIN_ALLOW_THREADS;
2055 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2056
2057 wxPy_END_ALLOW_THREADS;
4dfaa61e 2058 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2059} _resultobj = Py_BuildValue("i",_result);
2060 return _resultobj;
2061}
2062
2063#define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2064static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2065 PyObject * _resultobj;
2066 wxGridCellEditor * _arg0;
2067 wxKeyEvent * _arg1;
2068 PyObject * _argo0 = 0;
2069 PyObject * _argo1 = 0;
2070 char *_kwnames[] = { "self","event", NULL };
2071
2072 self = self;
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2074 return NULL;
2075 if (_argo0) {
2076 if (_argo0 == Py_None) { _arg0 = NULL; }
2077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2079 return NULL;
2080 }
2081 }
2082 if (_argo1) {
2083 if (_argo1 == Py_None) { _arg1 = NULL; }
2084 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2085 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2086 return NULL;
2087 }
2088 }
2089{
2090 wxPy_BEGIN_ALLOW_THREADS;
2091 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2092
2093 wxPy_END_ALLOW_THREADS;
4dfaa61e 2094 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2095} Py_INCREF(Py_None);
2096 _resultobj = Py_None;
2097 return _resultobj;
2098}
2099
2100#define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2101static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2102 PyObject * _resultobj;
2103 wxGridCellEditor * _arg0;
2104 PyObject * _argo0 = 0;
2105 char *_kwnames[] = { "self", NULL };
2106
2107 self = self;
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2109 return NULL;
2110 if (_argo0) {
2111 if (_argo0 == Py_None) { _arg0 = NULL; }
2112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2114 return NULL;
2115 }
2116 }
2117{
2118 wxPy_BEGIN_ALLOW_THREADS;
2119 wxGridCellEditor_StartingClick(_arg0);
2120
2121 wxPy_END_ALLOW_THREADS;
4dfaa61e 2122 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2123} Py_INCREF(Py_None);
2124 _resultobj = Py_None;
2125 return _resultobj;
2126}
2127
2128#define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2129static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2130 PyObject * _resultobj;
2131 wxGridCellEditor * _arg0;
2132 wxKeyEvent * _arg1;
2133 PyObject * _argo0 = 0;
2134 PyObject * _argo1 = 0;
2135 char *_kwnames[] = { "self","event", NULL };
2136
2137 self = self;
2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2139 return NULL;
2140 if (_argo0) {
2141 if (_argo0 == Py_None) { _arg0 = NULL; }
2142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2144 return NULL;
2145 }
2146 }
2147 if (_argo1) {
2148 if (_argo1 == Py_None) { _arg1 = NULL; }
2149 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2150 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2151 return NULL;
2152 }
2153 }
2154{
2155 wxPy_BEGIN_ALLOW_THREADS;
2156 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2157
2158 wxPy_END_ALLOW_THREADS;
4dfaa61e 2159 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2160} Py_INCREF(Py_None);
2161 _resultobj = Py_None;
2162 return _resultobj;
2163}
2164
2165#define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2166static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject * _resultobj;
2168 wxGridCellEditor * _arg0;
2169 PyObject * _argo0 = 0;
2170 char *_kwnames[] = { "self", NULL };
2171
2172 self = self;
2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2174 return NULL;
2175 if (_argo0) {
2176 if (_argo0 == Py_None) { _arg0 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2179 return NULL;
2180 }
2181 }
2182{
2183 wxPy_BEGIN_ALLOW_THREADS;
2184 wxGridCellEditor_Destroy(_arg0);
2185
2186 wxPy_END_ALLOW_THREADS;
4dfaa61e 2187 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2188} Py_INCREF(Py_None);
2189 _resultobj = Py_None;
2190 return _resultobj;
2191}
2192
2193static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2194 wxPyGridCellEditor *src;
2195 wxGridCellEditor *dest;
2196 src = (wxPyGridCellEditor *) ptr;
2197 dest = (wxGridCellEditor *) src;
2198 return (void *) dest;
2199}
2200
2201#define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2202static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject * _resultobj;
2204 wxPyGridCellEditor * _result;
2205 char *_kwnames[] = { NULL };
2206 char _ptemp[128];
2207
2208 self = self;
2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2210 return NULL;
2211{
2212 wxPy_BEGIN_ALLOW_THREADS;
2213 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2214
2215 wxPy_END_ALLOW_THREADS;
4dfaa61e 2216 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2217} if (_result) {
2218 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2219 _resultobj = Py_BuildValue("s",_ptemp);
2220 } else {
2221 Py_INCREF(Py_None);
2222 _resultobj = Py_None;
2223 }
2224 return _resultobj;
2225}
2226
2227#define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2228static PyObject *_wrap_wxPyGridCellEditor__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2229 PyObject * _resultobj;
2230 wxPyGridCellEditor * _arg0;
2231 PyObject * _arg1;
2232 PyObject * _arg2;
2233 PyObject * _argo0 = 0;
2234 PyObject * _obj1 = 0;
2235 PyObject * _obj2 = 0;
2236 char *_kwnames[] = { "self","self","_class", NULL };
2237
2238 self = self;
2239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
2240 return NULL;
2241 if (_argo0) {
2242 if (_argo0 == Py_None) { _arg0 = NULL; }
2243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2245 return NULL;
2246 }
2247 }
2248{
2249 _arg1 = _obj1;
2250}
2251{
2252 _arg2 = _obj2;
2253}
2254{
2255 wxPy_BEGIN_ALLOW_THREADS;
2256 wxPyGridCellEditor__setSelf(_arg0,_arg1,_arg2);
2257
2258 wxPy_END_ALLOW_THREADS;
4dfaa61e 2259 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2260} Py_INCREF(Py_None);
2261 _resultobj = Py_None;
2262 return _resultobj;
2263}
2264
2265#define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2266static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2267 PyObject * _resultobj;
2268 wxPyGridCellEditor * _arg0;
2269 wxRect * _arg1;
2270 PyObject * _argo0 = 0;
2271 wxRect temp;
2272 PyObject * _obj1 = 0;
2273 char *_kwnames[] = { "self","rect", NULL };
2274
2275 self = self;
2276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2277 return NULL;
2278 if (_argo0) {
2279 if (_argo0 == Py_None) { _arg0 = NULL; }
2280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2282 return NULL;
2283 }
2284 }
2285{
2286 _arg1 = &temp;
2287 if (! wxRect_helper(_obj1, &_arg1))
2288 return NULL;
2289}
2290{
2291 wxPy_BEGIN_ALLOW_THREADS;
2292 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2293
2294 wxPy_END_ALLOW_THREADS;
4dfaa61e 2295 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2296} Py_INCREF(Py_None);
2297 _resultobj = Py_None;
2298 return _resultobj;
2299}
2300
2301#define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2302static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject * _resultobj;
2304 wxPyGridCellEditor * _arg0;
2305 bool _arg1;
2306 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2307 PyObject * _argo0 = 0;
2308 int tempbool1;
2309 PyObject * _argo2 = 0;
2310 char *_kwnames[] = { "self","show","attr", NULL };
2311
2312 self = self;
2313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2314 return NULL;
2315 if (_argo0) {
2316 if (_argo0 == Py_None) { _arg0 = NULL; }
2317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2319 return NULL;
2320 }
2321 }
2322 _arg1 = (bool ) tempbool1;
2323 if (_argo2) {
2324 if (_argo2 == Py_None) { _arg2 = NULL; }
2325 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2327 return NULL;
2328 }
2329 }
2330{
2331 wxPy_BEGIN_ALLOW_THREADS;
2332 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2333
2334 wxPy_END_ALLOW_THREADS;
4dfaa61e 2335 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2336} Py_INCREF(Py_None);
2337 _resultobj = Py_None;
2338 return _resultobj;
2339}
2340
2341#define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2342static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject * _resultobj;
2344 wxPyGridCellEditor * _arg0;
2345 wxRect * _arg1;
2346 wxGridCellAttr * _arg2;
2347 PyObject * _argo0 = 0;
2348 wxRect temp;
2349 PyObject * _obj1 = 0;
2350 PyObject * _argo2 = 0;
2351 char *_kwnames[] = { "self","rectCell","attr", NULL };
2352
2353 self = self;
2354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2355 return NULL;
2356 if (_argo0) {
2357 if (_argo0 == Py_None) { _arg0 = NULL; }
2358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2360 return NULL;
2361 }
2362 }
2363{
2364 _arg1 = &temp;
2365 if (! wxRect_helper(_obj1, &_arg1))
2366 return NULL;
2367}
2368 if (_argo2) {
2369 if (_argo2 == Py_None) { _arg2 = NULL; }
2370 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2371 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2372 return NULL;
2373 }
2374 }
2375{
2376 wxPy_BEGIN_ALLOW_THREADS;
2377 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2378
2379 wxPy_END_ALLOW_THREADS;
4dfaa61e 2380 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2381} Py_INCREF(Py_None);
2382 _resultobj = Py_None;
2383 return _resultobj;
2384}
2385
2cd2fac8
RD
2386#define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2387static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2388 PyObject * _resultobj;
2389 wxPyGridCellEditor * _arg0;
2390 wxKeyEvent * _arg1;
2391 PyObject * _argo0 = 0;
2392 PyObject * _argo1 = 0;
2393 char *_kwnames[] = { "self","event", NULL };
2394
2395 self = self;
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2397 return NULL;
2398 if (_argo0) {
2399 if (_argo0 == Py_None) { _arg0 = NULL; }
2400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2402 return NULL;
2403 }
2404 }
2405 if (_argo1) {
2406 if (_argo1 == Py_None) { _arg1 = NULL; }
2407 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2409 return NULL;
2410 }
2411 }
2412{
2413 wxPy_BEGIN_ALLOW_THREADS;
2414 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2415
2416 wxPy_END_ALLOW_THREADS;
4dfaa61e 2417 if (PyErr_Occurred()) return NULL;
2cd2fac8
RD
2418} Py_INCREF(Py_None);
2419 _resultobj = Py_None;
2420 return _resultobj;
2421}
2422
f6bcfd97
BP
2423#define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2424static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2425 PyObject * _resultobj;
2426 wxPyGridCellEditor * _arg0;
2427 wxKeyEvent * _arg1;
2428 PyObject * _argo0 = 0;
2429 PyObject * _argo1 = 0;
2430 char *_kwnames[] = { "self","event", NULL };
2431
2432 self = self;
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2434 return NULL;
2435 if (_argo0) {
2436 if (_argo0 == Py_None) { _arg0 = NULL; }
2437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2439 return NULL;
2440 }
2441 }
2442 if (_argo1) {
2443 if (_argo1 == Py_None) { _arg1 = NULL; }
2444 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2445 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2446 return NULL;
2447 }
2448 }
2449{
2450 wxPy_BEGIN_ALLOW_THREADS;
2451 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2452
2453 wxPy_END_ALLOW_THREADS;
4dfaa61e 2454 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2455} Py_INCREF(Py_None);
2456 _resultobj = Py_None;
2457 return _resultobj;
2458}
2459
2460#define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2461static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2462 PyObject * _resultobj;
2463 wxPyGridCellEditor * _arg0;
2464 PyObject * _argo0 = 0;
2465 char *_kwnames[] = { "self", NULL };
2466
2467 self = self;
2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2469 return NULL;
2470 if (_argo0) {
2471 if (_argo0 == Py_None) { _arg0 = NULL; }
2472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2474 return NULL;
2475 }
2476 }
2477{
2478 wxPy_BEGIN_ALLOW_THREADS;
2479 wxPyGridCellEditor_base_StartingClick(_arg0);
2480
2481 wxPy_END_ALLOW_THREADS;
4dfaa61e 2482 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2483} Py_INCREF(Py_None);
2484 _resultobj = Py_None;
2485 return _resultobj;
2486}
2487
2488#define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2489static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2490 PyObject * _resultobj;
2491 wxPyGridCellEditor * _arg0;
2492 wxKeyEvent * _arg1;
2493 PyObject * _argo0 = 0;
2494 PyObject * _argo1 = 0;
2495 char *_kwnames[] = { "self","event", NULL };
2496
2497 self = self;
2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2499 return NULL;
2500 if (_argo0) {
2501 if (_argo0 == Py_None) { _arg0 = NULL; }
2502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2504 return NULL;
2505 }
2506 }
2507 if (_argo1) {
2508 if (_argo1 == Py_None) { _arg1 = NULL; }
2509 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2510 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2511 return NULL;
2512 }
2513 }
2514{
2515 wxPy_BEGIN_ALLOW_THREADS;
2516 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2517
2518 wxPy_END_ALLOW_THREADS;
4dfaa61e 2519 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2520} Py_INCREF(Py_None);
2521 _resultobj = Py_None;
2522 return _resultobj;
2523}
2524
2525#define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2526static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2527 PyObject * _resultobj;
2528 wxPyGridCellEditor * _arg0;
2529 PyObject * _argo0 = 0;
2530 char *_kwnames[] = { "self", NULL };
2531
2532 self = self;
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2534 return NULL;
2535 if (_argo0) {
2536 if (_argo0 == Py_None) { _arg0 = NULL; }
2537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2539 return NULL;
2540 }
2541 }
2542{
2543 wxPy_BEGIN_ALLOW_THREADS;
2544 wxPyGridCellEditor_base_Destroy(_arg0);
2545
2546 wxPy_END_ALLOW_THREADS;
4dfaa61e 2547 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2548} Py_INCREF(Py_None);
2549 _resultobj = Py_None;
2550 return _resultobj;
2551}
2552
2553#define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2554static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject * _resultobj;
2556 wxPyGridCellEditor * _arg0;
2557 wxString * _arg1;
2558 PyObject * _argo0 = 0;
2559 PyObject * _obj1 = 0;
2560 char *_kwnames[] = { "self","params", NULL };
2561
2562 self = self;
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2564 return NULL;
2565 if (_argo0) {
2566 if (_argo0 == Py_None) { _arg0 = NULL; }
2567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2569 return NULL;
2570 }
2571 }
2572{
2cd2fac8
RD
2573#if PYTHON_API_VERSION >= 1009
2574 char* tmpPtr; int tmpSize;
2575 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2576 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2577 return NULL;
2578 }
2579 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2580 return NULL;
2581 _arg1 = new wxString(tmpPtr, tmpSize);
2582#else
f6bcfd97
BP
2583 if (!PyString_Check(_obj1)) {
2584 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2585 return NULL;
2586 }
2cd2fac8
RD
2587 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2588#endif
f6bcfd97
BP
2589}
2590{
2591 wxPy_BEGIN_ALLOW_THREADS;
2592 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2593
2594 wxPy_END_ALLOW_THREADS;
4dfaa61e 2595 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2596} Py_INCREF(Py_None);
2597 _resultobj = Py_None;
2598{
2599 if (_obj1)
2600 delete _arg1;
2601}
2602 return _resultobj;
2603}
2604
2605static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2606 wxGridCellTextEditor *src;
2607 wxGridCellEditor *dest;
2608 src = (wxGridCellTextEditor *) ptr;
2609 dest = (wxGridCellEditor *) src;
2610 return (void *) dest;
2611}
2612
2613#define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2614static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2615 PyObject * _resultobj;
2616 wxGridCellTextEditor * _result;
2617 char *_kwnames[] = { NULL };
2618 char _ptemp[128];
2619
2620 self = self;
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2622 return NULL;
2623{
2624 wxPy_BEGIN_ALLOW_THREADS;
2625 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2626
2627 wxPy_END_ALLOW_THREADS;
4dfaa61e 2628 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2629} if (_result) {
2630 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2631 _resultobj = Py_BuildValue("s",_ptemp);
2632 } else {
2633 Py_INCREF(Py_None);
2634 _resultobj = Py_None;
2635 }
2636 return _resultobj;
2637}
2638
2639static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2640 wxGridCellNumberEditor *src;
2641 wxGridCellTextEditor *dest;
2642 src = (wxGridCellNumberEditor *) ptr;
2643 dest = (wxGridCellTextEditor *) src;
2644 return (void *) dest;
2645}
2646
2647static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2648 wxGridCellNumberEditor *src;
2649 wxGridCellEditor *dest;
2650 src = (wxGridCellNumberEditor *) ptr;
2651 dest = (wxGridCellEditor *) src;
2652 return (void *) dest;
2653}
2654
2655#define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2656static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2657 PyObject * _resultobj;
2658 wxGridCellNumberEditor * _result;
2659 int _arg0 = (int ) -1;
2660 int _arg1 = (int ) -1;
2661 char *_kwnames[] = { "min","max", NULL };
2662 char _ptemp[128];
2663
2664 self = self;
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2666 return NULL;
2667{
2668 wxPy_BEGIN_ALLOW_THREADS;
2669 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2670
2671 wxPy_END_ALLOW_THREADS;
4dfaa61e 2672 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2673} if (_result) {
2674 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2675 _resultobj = Py_BuildValue("s",_ptemp);
2676 } else {
2677 Py_INCREF(Py_None);
2678 _resultobj = Py_None;
2679 }
2680 return _resultobj;
2681}
2682
2683static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2684 wxGridCellFloatEditor *src;
2685 wxGridCellTextEditor *dest;
2686 src = (wxGridCellFloatEditor *) ptr;
2687 dest = (wxGridCellTextEditor *) src;
2688 return (void *) dest;
2689}
2690
2691static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2692 wxGridCellFloatEditor *src;
2693 wxGridCellEditor *dest;
2694 src = (wxGridCellFloatEditor *) ptr;
2695 dest = (wxGridCellEditor *) src;
2696 return (void *) dest;
2697}
2698
2699#define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2700static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject * _resultobj;
2702 wxGridCellFloatEditor * _result;
2703 char *_kwnames[] = { NULL };
2704 char _ptemp[128];
2705
2706 self = self;
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2708 return NULL;
2709{
2710 wxPy_BEGIN_ALLOW_THREADS;
2711 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2712
2713 wxPy_END_ALLOW_THREADS;
4dfaa61e 2714 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2715} if (_result) {
2716 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2717 _resultobj = Py_BuildValue("s",_ptemp);
2718 } else {
2719 Py_INCREF(Py_None);
2720 _resultobj = Py_None;
2721 }
2722 return _resultobj;
2723}
2724
2725static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2726 wxGridCellBoolEditor *src;
2727 wxGridCellEditor *dest;
2728 src = (wxGridCellBoolEditor *) ptr;
2729 dest = (wxGridCellEditor *) src;
2730 return (void *) dest;
2731}
2732
2733#define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2734static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2735 PyObject * _resultobj;
2736 wxGridCellBoolEditor * _result;
2737 char *_kwnames[] = { NULL };
2738 char _ptemp[128];
2739
2740 self = self;
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2742 return NULL;
2743{
2744 wxPy_BEGIN_ALLOW_THREADS;
2745 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2746
2747 wxPy_END_ALLOW_THREADS;
4dfaa61e 2748 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2749} if (_result) {
2750 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2751 _resultobj = Py_BuildValue("s",_ptemp);
2752 } else {
2753 Py_INCREF(Py_None);
2754 _resultobj = Py_None;
2755 }
2756 return _resultobj;
2757}
2758
2759static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2760 wxGridCellChoiceEditor *src;
2761 wxGridCellEditor *dest;
2762 src = (wxGridCellChoiceEditor *) ptr;
2763 dest = (wxGridCellEditor *) src;
2764 return (void *) dest;
2765}
2766
2767#define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2768static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2769 PyObject * _resultobj;
2770 wxGridCellChoiceEditor * _result;
2771 int _arg0 = (int ) 0;
2772 wxString * _arg1 = (wxString *) NULL;
2773 bool _arg2 = (bool ) FALSE;
2774 PyObject * _obj1 = 0;
2775 int tempbool2 = (int) FALSE;
2776 char *_kwnames[] = { "choices","allowOthers", NULL };
2777 char _ptemp[128];
2778
2779 self = self;
2780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2781 return NULL;
2782 if (_obj1)
2783{
2784 _arg1 = wxString_LIST_helper(_obj1);
2785 if (_arg1 == NULL) {
2786 return NULL;
2787 }
2788}
2789 _arg2 = (bool ) tempbool2;
2790{
2791 if (_obj1) {
2792 _arg0 = PyList_Size(_obj1);
2793 }
2794 else {
2795 _arg0 = 0;
2796 }
2797}
2798{
2799 wxPy_BEGIN_ALLOW_THREADS;
2800 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2801
2802 wxPy_END_ALLOW_THREADS;
4dfaa61e 2803 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2804} if (_result) {
2805 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2806 _resultobj = Py_BuildValue("s",_ptemp);
2807 } else {
2808 Py_INCREF(Py_None);
2809 _resultobj = Py_None;
2810 }
2811{
2812 delete [] _arg1;
2813}
2814 return _resultobj;
2815}
2816
2817#define new_wxGridCellAttr() (new wxGridCellAttr())
2818static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject * _resultobj;
2820 wxGridCellAttr * _result;
2821 char *_kwnames[] = { NULL };
2822 char _ptemp[128];
2823
2824 self = self;
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttr",_kwnames))
2826 return NULL;
2827{
2828 wxPy_BEGIN_ALLOW_THREADS;
2829 _result = (wxGridCellAttr *)new_wxGridCellAttr();
2830
2831 wxPy_END_ALLOW_THREADS;
4dfaa61e 2832 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2833} if (_result) {
2834 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2835 _resultobj = Py_BuildValue("s",_ptemp);
2836 } else {
2837 Py_INCREF(Py_None);
2838 _resultobj = Py_None;
2839 }
2840 return _resultobj;
2841}
2842
2843#define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2844static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2845 PyObject * _resultobj;
2846 wxGridCellAttr * _result;
2847 wxGridCellAttr * _arg0;
2848 PyObject * _argo0 = 0;
2849 char *_kwnames[] = { "self", NULL };
2850 char _ptemp[128];
2851
2852 self = self;
2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
2854 return NULL;
2855 if (_argo0) {
2856 if (_argo0 == Py_None) { _arg0 = NULL; }
2857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2859 return NULL;
2860 }
2861 }
2862{
2863 wxPy_BEGIN_ALLOW_THREADS;
2864 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
2865
2866 wxPy_END_ALLOW_THREADS;
4dfaa61e 2867 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2868} if (_result) {
2869 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2870 _resultobj = Py_BuildValue("s",_ptemp);
2871 } else {
2872 Py_INCREF(Py_None);
2873 _resultobj = Py_None;
2874 }
2875 return _resultobj;
2876}
2877
9df61a29
RD
2878#define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
2879static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
2880 PyObject * _resultobj;
2881 wxGridCellAttr * _arg0;
2882 wxGridCellAttr * _arg1;
2883 PyObject * _argo0 = 0;
2884 PyObject * _argo1 = 0;
2885 char *_kwnames[] = { "self","mergefrom", NULL };
2886
2887 self = self;
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
2889 return NULL;
2890 if (_argo0) {
2891 if (_argo0 == Py_None) { _arg0 = NULL; }
2892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
2894 return NULL;
2895 }
2896 }
2897 if (_argo1) {
2898 if (_argo1 == Py_None) { _arg1 = NULL; }
2899 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
2900 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
2901 return NULL;
2902 }
2903 }
2904{
2905 wxPy_BEGIN_ALLOW_THREADS;
2906 wxGridCellAttr_MergeWith(_arg0,_arg1);
2907
2908 wxPy_END_ALLOW_THREADS;
4dfaa61e 2909 if (PyErr_Occurred()) return NULL;
9df61a29
RD
2910} Py_INCREF(Py_None);
2911 _resultobj = Py_None;
2912 return _resultobj;
2913}
2914
f6bcfd97
BP
2915#define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2916static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject * _resultobj;
2918 wxGridCellAttr * _arg0;
2919 PyObject * _argo0 = 0;
2920 char *_kwnames[] = { "self", NULL };
2921
2922 self = self;
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
2924 return NULL;
2925 if (_argo0) {
2926 if (_argo0 == Py_None) { _arg0 = NULL; }
2927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2929 return NULL;
2930 }
2931 }
2932{
2933 wxPy_BEGIN_ALLOW_THREADS;
2934 wxGridCellAttr_IncRef(_arg0);
2935
2936 wxPy_END_ALLOW_THREADS;
4dfaa61e 2937 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2938} Py_INCREF(Py_None);
2939 _resultobj = Py_None;
2940 return _resultobj;
2941}
2942
2943#define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2944static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2945 PyObject * _resultobj;
2946 wxGridCellAttr * _arg0;
2947 PyObject * _argo0 = 0;
2948 char *_kwnames[] = { "self", NULL };
2949
2950 self = self;
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
2952 return NULL;
2953 if (_argo0) {
2954 if (_argo0 == Py_None) { _arg0 = NULL; }
2955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2957 return NULL;
2958 }
2959 }
2960{
2961 wxPy_BEGIN_ALLOW_THREADS;
2962 wxGridCellAttr_DecRef(_arg0);
2963
2964 wxPy_END_ALLOW_THREADS;
4dfaa61e 2965 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2966} Py_INCREF(Py_None);
2967 _resultobj = Py_None;
2968 return _resultobj;
2969}
2970
2971#define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2972static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2973 PyObject * _resultobj;
2974 wxGridCellAttr * _arg0;
2975 wxColour * _arg1;
2976 PyObject * _argo0 = 0;
2977 wxColour temp;
2978 PyObject * _obj1 = 0;
2979 char *_kwnames[] = { "self","colText", NULL };
2980
2981 self = self;
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
2983 return NULL;
2984 if (_argo0) {
2985 if (_argo0 == Py_None) { _arg0 = NULL; }
2986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2988 return NULL;
2989 }
2990 }
2991{
2992 _arg1 = &temp;
2993 if (! wxColour_helper(_obj1, &_arg1))
2994 return NULL;
2995}
2996{
2997 wxPy_BEGIN_ALLOW_THREADS;
2998 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
2999
3000 wxPy_END_ALLOW_THREADS;
4dfaa61e 3001 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3002} Py_INCREF(Py_None);
3003 _resultobj = Py_None;
3004 return _resultobj;
3005}
3006
3007#define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3008static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3009 PyObject * _resultobj;
3010 wxGridCellAttr * _arg0;
3011 wxColour * _arg1;
3012 PyObject * _argo0 = 0;
3013 wxColour temp;
3014 PyObject * _obj1 = 0;
3015 char *_kwnames[] = { "self","colBack", NULL };
3016
3017 self = self;
3018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3019 return NULL;
3020 if (_argo0) {
3021 if (_argo0 == Py_None) { _arg0 = NULL; }
3022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3024 return NULL;
3025 }
3026 }
3027{
3028 _arg1 = &temp;
3029 if (! wxColour_helper(_obj1, &_arg1))
3030 return NULL;
3031}
3032{
3033 wxPy_BEGIN_ALLOW_THREADS;
3034 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3035
3036 wxPy_END_ALLOW_THREADS;
4dfaa61e 3037 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3038} Py_INCREF(Py_None);
3039 _resultobj = Py_None;
3040 return _resultobj;
3041}
3042
3043#define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3044static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3045 PyObject * _resultobj;
3046 wxGridCellAttr * _arg0;
3047 wxFont * _arg1;
3048 PyObject * _argo0 = 0;
3049 PyObject * _argo1 = 0;
3050 char *_kwnames[] = { "self","font", NULL };
3051
3052 self = self;
3053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3054 return NULL;
3055 if (_argo0) {
3056 if (_argo0 == Py_None) { _arg0 = NULL; }
3057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3059 return NULL;
3060 }
3061 }
3062 if (_argo1) {
3063 if (_argo1 == Py_None) { _arg1 = NULL; }
3064 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3065 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3066 return NULL;
3067 }
3068 }
3069{
3070 wxPy_BEGIN_ALLOW_THREADS;
3071 wxGridCellAttr_SetFont(_arg0,*_arg1);
3072
3073 wxPy_END_ALLOW_THREADS;
4dfaa61e 3074 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3075} Py_INCREF(Py_None);
3076 _resultobj = Py_None;
3077 return _resultobj;
3078}
3079
3080#define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3081static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject * _resultobj;
3083 wxGridCellAttr * _arg0;
3084 int _arg1;
3085 int _arg2;
3086 PyObject * _argo0 = 0;
3087 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3088
3089 self = self;
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3091 return NULL;
3092 if (_argo0) {
3093 if (_argo0 == Py_None) { _arg0 = NULL; }
3094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3096 return NULL;
3097 }
3098 }
3099{
3100 wxPy_BEGIN_ALLOW_THREADS;
3101 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3102
3103 wxPy_END_ALLOW_THREADS;
4dfaa61e 3104 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3105} Py_INCREF(Py_None);
3106 _resultobj = Py_None;
3107 return _resultobj;
3108}
3109
3110#define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3111static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject * _resultobj;
3113 wxGridCellAttr * _arg0;
3114 bool _arg1 = (bool ) TRUE;
3115 PyObject * _argo0 = 0;
3116 int tempbool1 = (int) TRUE;
3117 char *_kwnames[] = { "self","isReadOnly", NULL };
3118
3119 self = self;
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3121 return NULL;
3122 if (_argo0) {
3123 if (_argo0 == Py_None) { _arg0 = NULL; }
3124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3126 return NULL;
3127 }
3128 }
3129 _arg1 = (bool ) tempbool1;
3130{
3131 wxPy_BEGIN_ALLOW_THREADS;
3132 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3133
3134 wxPy_END_ALLOW_THREADS;
4dfaa61e 3135 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3136} Py_INCREF(Py_None);
3137 _resultobj = Py_None;
3138 return _resultobj;
3139}
3140
3141#define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3142static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject * _resultobj;
3144 wxGridCellAttr * _arg0;
3145 wxGridCellRenderer * _arg1;
3146 PyObject * _argo0 = 0;
3147 PyObject * _argo1 = 0;
3148 char *_kwnames[] = { "self","renderer", NULL };
3149
3150 self = self;
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3152 return NULL;
3153 if (_argo0) {
3154 if (_argo0 == Py_None) { _arg0 = NULL; }
3155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3157 return NULL;
3158 }
3159 }
3160 if (_argo1) {
3161 if (_argo1 == Py_None) { _arg1 = NULL; }
3162 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3163 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3164 return NULL;
3165 }
3166 }
3167{
3168 wxPy_BEGIN_ALLOW_THREADS;
3169 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3170
3171 wxPy_END_ALLOW_THREADS;
4dfaa61e 3172 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3173} Py_INCREF(Py_None);
3174 _resultobj = Py_None;
3175 return _resultobj;
3176}
3177
3178#define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3179static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3180 PyObject * _resultobj;
3181 wxGridCellAttr * _arg0;
3182 wxGridCellEditor * _arg1;
3183 PyObject * _argo0 = 0;
3184 PyObject * _argo1 = 0;
3185 char *_kwnames[] = { "self","editor", NULL };
3186
3187 self = self;
3188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3189 return NULL;
3190 if (_argo0) {
3191 if (_argo0 == Py_None) { _arg0 = NULL; }
3192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3194 return NULL;
3195 }
3196 }
3197 if (_argo1) {
3198 if (_argo1 == Py_None) { _arg1 = NULL; }
3199 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3200 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3201 return NULL;
3202 }
3203 }
3204{
3205 wxPy_BEGIN_ALLOW_THREADS;
3206 wxGridCellAttr_SetEditor(_arg0,_arg1);
3207
3208 wxPy_END_ALLOW_THREADS;
4dfaa61e 3209 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3210} Py_INCREF(Py_None);
3211 _resultobj = Py_None;
3212 return _resultobj;
3213}
3214
9df61a29
RD
3215#define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3216static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3217 PyObject * _resultobj;
3218 wxGridCellAttr * _arg0;
3219 wxGridCellAttr::wxAttrKind _arg1;
3220 PyObject * _argo0 = 0;
3221 char *_kwnames[] = { "self","kind", NULL };
3222
3223 self = self;
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3225 return NULL;
3226 if (_argo0) {
3227 if (_argo0 == Py_None) { _arg0 = NULL; }
3228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3230 return NULL;
3231 }
3232 }
3233{
3234 wxPy_BEGIN_ALLOW_THREADS;
3235 wxGridCellAttr_SetKind(_arg0,_arg1);
3236
3237 wxPy_END_ALLOW_THREADS;
4dfaa61e 3238 if (PyErr_Occurred()) return NULL;
9df61a29
RD
3239} Py_INCREF(Py_None);
3240 _resultobj = Py_None;
3241 return _resultobj;
3242}
3243
f6bcfd97
BP
3244#define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3245static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3246 PyObject * _resultobj;
3247 bool _result;
3248 wxGridCellAttr * _arg0;
3249 PyObject * _argo0 = 0;
3250 char *_kwnames[] = { "self", NULL };
3251
3252 self = self;
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3254 return NULL;
3255 if (_argo0) {
3256 if (_argo0 == Py_None) { _arg0 = NULL; }
3257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3259 return NULL;
3260 }
3261 }
3262{
3263 wxPy_BEGIN_ALLOW_THREADS;
3264 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3265
3266 wxPy_END_ALLOW_THREADS;
4dfaa61e 3267 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3268} _resultobj = Py_BuildValue("i",_result);
3269 return _resultobj;
3270}
3271
3272#define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3273static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject * _resultobj;
3275 bool _result;
3276 wxGridCellAttr * _arg0;
3277 PyObject * _argo0 = 0;
3278 char *_kwnames[] = { "self", NULL };
3279
3280 self = self;
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3282 return NULL;
3283 if (_argo0) {
3284 if (_argo0 == Py_None) { _arg0 = NULL; }
3285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3287 return NULL;
3288 }
3289 }
3290{
3291 wxPy_BEGIN_ALLOW_THREADS;
3292 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3293
3294 wxPy_END_ALLOW_THREADS;
4dfaa61e 3295 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3296} _resultobj = Py_BuildValue("i",_result);
3297 return _resultobj;
3298}
3299
3300#define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3301static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3302 PyObject * _resultobj;
3303 bool _result;
3304 wxGridCellAttr * _arg0;
3305 PyObject * _argo0 = 0;
3306 char *_kwnames[] = { "self", NULL };
3307
3308 self = self;
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3310 return NULL;
3311 if (_argo0) {
3312 if (_argo0 == Py_None) { _arg0 = NULL; }
3313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3315 return NULL;
3316 }
3317 }
3318{
3319 wxPy_BEGIN_ALLOW_THREADS;
3320 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3321
3322 wxPy_END_ALLOW_THREADS;
4dfaa61e 3323 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3324} _resultobj = Py_BuildValue("i",_result);
3325 return _resultobj;
3326}
3327
3328#define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3329static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3330 PyObject * _resultobj;
3331 bool _result;
3332 wxGridCellAttr * _arg0;
3333 PyObject * _argo0 = 0;
3334 char *_kwnames[] = { "self", NULL };
3335
3336 self = self;
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3338 return NULL;
3339 if (_argo0) {
3340 if (_argo0 == Py_None) { _arg0 = NULL; }
3341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3343 return NULL;
3344 }
3345 }
3346{
3347 wxPy_BEGIN_ALLOW_THREADS;
3348 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3349
3350 wxPy_END_ALLOW_THREADS;
4dfaa61e 3351 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3352} _resultobj = Py_BuildValue("i",_result);
3353 return _resultobj;
3354}
3355
3356#define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3357static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject * _resultobj;
3359 bool _result;
3360 wxGridCellAttr * _arg0;
3361 PyObject * _argo0 = 0;
3362 char *_kwnames[] = { "self", NULL };
3363
3364 self = self;
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3366 return NULL;
3367 if (_argo0) {
3368 if (_argo0 == Py_None) { _arg0 = NULL; }
3369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3371 return NULL;
3372 }
3373 }
3374{
3375 wxPy_BEGIN_ALLOW_THREADS;
3376 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3377
3378 wxPy_END_ALLOW_THREADS;
4dfaa61e 3379 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3380} _resultobj = Py_BuildValue("i",_result);
3381 return _resultobj;
3382}
3383
3384#define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3385static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3386 PyObject * _resultobj;
3387 bool _result;
3388 wxGridCellAttr * _arg0;
3389 PyObject * _argo0 = 0;
3390 char *_kwnames[] = { "self", NULL };
3391
3392 self = self;
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3394 return NULL;
3395 if (_argo0) {
3396 if (_argo0 == Py_None) { _arg0 = NULL; }
3397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3399 return NULL;
3400 }
3401 }
3402{
3403 wxPy_BEGIN_ALLOW_THREADS;
3404 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3405
3406 wxPy_END_ALLOW_THREADS;
4dfaa61e 3407 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3408} _resultobj = Py_BuildValue("i",_result);
3409 return _resultobj;
3410}
3411
9df61a29
RD
3412#define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3413static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3414 PyObject * _resultobj;
3415 bool _result;
3416 wxGridCellAttr * _arg0;
3417 PyObject * _argo0 = 0;
3418 char *_kwnames[] = { "self", NULL };
3419
3420 self = self;
3421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3422 return NULL;
3423 if (_argo0) {
3424 if (_argo0 == Py_None) { _arg0 = NULL; }
3425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3427 return NULL;
3428 }
3429 }
3430{
3431 wxPy_BEGIN_ALLOW_THREADS;
3432 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
3433
3434 wxPy_END_ALLOW_THREADS;
4dfaa61e 3435 if (PyErr_Occurred()) return NULL;
9df61a29
RD
3436} _resultobj = Py_BuildValue("i",_result);
3437 return _resultobj;
3438}
3439
f6bcfd97
BP
3440#define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3441static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3442 PyObject * _resultobj;
3443 wxColour * _result;
3444 wxGridCellAttr * _arg0;
3445 PyObject * _argo0 = 0;
3446 char *_kwnames[] = { "self", NULL };
3447 char _ptemp[128];
3448
3449 self = self;
3450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3451 return NULL;
3452 if (_argo0) {
3453 if (_argo0 == Py_None) { _arg0 = NULL; }
3454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3456 return NULL;
3457 }
3458 }
3459{
3460 wxPy_BEGIN_ALLOW_THREADS;
3461 const wxColour & _result_ref = wxGridCellAttr_GetTextColour(_arg0);
3462 _result = (wxColour *) &_result_ref;
3463
3464 wxPy_END_ALLOW_THREADS;
4dfaa61e 3465 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3466} if (_result) {
3467 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3468 _resultobj = Py_BuildValue("s",_ptemp);
3469 } else {
3470 Py_INCREF(Py_None);
3471 _resultobj = Py_None;
3472 }
3473 return _resultobj;
3474}
3475
3476#define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3477static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3478 PyObject * _resultobj;
3479 wxColour * _result;
3480 wxGridCellAttr * _arg0;
3481 PyObject * _argo0 = 0;
3482 char *_kwnames[] = { "self", NULL };
3483 char _ptemp[128];
3484
3485 self = self;
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3487 return NULL;
3488 if (_argo0) {
3489 if (_argo0 == Py_None) { _arg0 = NULL; }
3490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3492 return NULL;
3493 }
3494 }
3495{
3496 wxPy_BEGIN_ALLOW_THREADS;
3497 const wxColour & _result_ref = wxGridCellAttr_GetBackgroundColour(_arg0);
3498 _result = (wxColour *) &_result_ref;
3499
3500 wxPy_END_ALLOW_THREADS;
4dfaa61e 3501 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3502} if (_result) {
3503 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3504 _resultobj = Py_BuildValue("s",_ptemp);
3505 } else {
3506 Py_INCREF(Py_None);
3507 _resultobj = Py_None;
3508 }
3509 return _resultobj;
3510}
3511
3512#define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3513static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject * _resultobj;
3515 wxFont * _result;
3516 wxGridCellAttr * _arg0;
3517 PyObject * _argo0 = 0;
3518 char *_kwnames[] = { "self", NULL };
3519 char _ptemp[128];
3520
3521 self = self;
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3523 return NULL;
3524 if (_argo0) {
3525 if (_argo0 == Py_None) { _arg0 = NULL; }
3526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3528 return NULL;
3529 }
3530 }
3531{
3532 wxPy_BEGIN_ALLOW_THREADS;
3533 const wxFont & _result_ref = wxGridCellAttr_GetFont(_arg0);
3534 _result = (wxFont *) &_result_ref;
3535
3536 wxPy_END_ALLOW_THREADS;
4dfaa61e 3537 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3538} if (_result) {
3539 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3540 _resultobj = Py_BuildValue("s",_ptemp);
3541 } else {
3542 Py_INCREF(Py_None);
3543 _resultobj = Py_None;
3544 }
3545 return _resultobj;
3546}
3547
3548#define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3549static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3550 PyObject * _resultobj;
3551 wxGridCellAttr * _arg0;
3552 int * _arg1;
3553 int temp;
3554 int * _arg2;
3555 int temp0;
3556 PyObject * _argo0 = 0;
3557 char *_kwnames[] = { "self", NULL };
3558
3559 self = self;
3560{
3561 _arg1 = &temp;
3562}
3563{
3564 _arg2 = &temp0;
3565}
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3567 return NULL;
3568 if (_argo0) {
3569 if (_argo0 == Py_None) { _arg0 = NULL; }
3570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3572 return NULL;
3573 }
3574 }
3575{
3576 wxPy_BEGIN_ALLOW_THREADS;
3577 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3578
3579 wxPy_END_ALLOW_THREADS;
4dfaa61e 3580 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3581} Py_INCREF(Py_None);
3582 _resultobj = Py_None;
3583{
3584 PyObject *o;
3585 o = PyInt_FromLong((long) (*_arg1));
3586 _resultobj = t_output_helper(_resultobj, o);
3587}
3588{
3589 PyObject *o;
3590 o = PyInt_FromLong((long) (*_arg2));
3591 _resultobj = t_output_helper(_resultobj, o);
3592}
3593 return _resultobj;
3594}
3595
3596#define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3597static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3598 PyObject * _resultobj;
3599 wxGridCellRenderer * _result;
3600 wxGridCellAttr * _arg0;
3601 wxGrid * _arg1;
3602 int _arg2;
3603 int _arg3;
3604 PyObject * _argo0 = 0;
3605 PyObject * _argo1 = 0;
3606 char *_kwnames[] = { "self","grid","row","col", NULL };
3607 char _ptemp[128];
3608
3609 self = self;
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3611 return NULL;
3612 if (_argo0) {
3613 if (_argo0 == Py_None) { _arg0 = NULL; }
3614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3616 return NULL;
3617 }
3618 }
3619 if (_argo1) {
3620 if (_argo1 == Py_None) { _arg1 = NULL; }
3621 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3622 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3623 return NULL;
3624 }
3625 }
3626{
3627 wxPy_BEGIN_ALLOW_THREADS;
3628 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3629
3630 wxPy_END_ALLOW_THREADS;
4dfaa61e 3631 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3632} if (_result) {
3633 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3634 _resultobj = Py_BuildValue("s",_ptemp);
3635 } else {
3636 Py_INCREF(Py_None);
3637 _resultobj = Py_None;
3638 }
3639 return _resultobj;
3640}
3641
3642#define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3643static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3644 PyObject * _resultobj;
3645 wxGridCellEditor * _result;
3646 wxGridCellAttr * _arg0;
3647 wxGrid * _arg1;
3648 int _arg2;
3649 int _arg3;
3650 PyObject * _argo0 = 0;
3651 PyObject * _argo1 = 0;
3652 char *_kwnames[] = { "self","grid","row","col", NULL };
3653 char _ptemp[128];
3654
3655 self = self;
3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3657 return NULL;
3658 if (_argo0) {
3659 if (_argo0 == Py_None) { _arg0 = NULL; }
3660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3662 return NULL;
3663 }
3664 }
3665 if (_argo1) {
3666 if (_argo1 == Py_None) { _arg1 = NULL; }
3667 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3668 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3669 return NULL;
3670 }
3671 }
3672{
3673 wxPy_BEGIN_ALLOW_THREADS;
3674 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3675
3676 wxPy_END_ALLOW_THREADS;
4dfaa61e 3677 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3678} if (_result) {
3679 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3680 _resultobj = Py_BuildValue("s",_ptemp);
3681 } else {
3682 Py_INCREF(Py_None);
3683 _resultobj = Py_None;
3684 }
3685 return _resultobj;
3686}
3687
3688#define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3689static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3690 PyObject * _resultobj;
3691 bool _result;
3692 wxGridCellAttr * _arg0;
3693 PyObject * _argo0 = 0;
3694 char *_kwnames[] = { "self", NULL };
3695
3696 self = self;
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3698 return NULL;
3699 if (_argo0) {
3700 if (_argo0 == Py_None) { _arg0 = NULL; }
3701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3703 return NULL;
3704 }
3705 }
3706{
3707 wxPy_BEGIN_ALLOW_THREADS;
3708 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3709
3710 wxPy_END_ALLOW_THREADS;
4dfaa61e 3711 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3712} _resultobj = Py_BuildValue("i",_result);
3713 return _resultobj;
3714}
3715
3716#define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3717static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3718 PyObject * _resultobj;
3719 wxGridCellAttr * _arg0;
3720 wxGridCellAttr * _arg1;
3721 PyObject * _argo0 = 0;
3722 PyObject * _argo1 = 0;
3723 char *_kwnames[] = { "self","defAttr", NULL };
3724
3725 self = self;
3726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3727 return NULL;
3728 if (_argo0) {
3729 if (_argo0 == Py_None) { _arg0 = NULL; }
3730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3732 return NULL;
3733 }
3734 }
3735 if (_argo1) {
3736 if (_argo1 == Py_None) { _arg1 = NULL; }
3737 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3738 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3739 return NULL;
3740 }
3741 }
3742{
3743 wxPy_BEGIN_ALLOW_THREADS;
3744 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3745
3746 wxPy_END_ALLOW_THREADS;
4dfaa61e 3747 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3748} Py_INCREF(Py_None);
3749 _resultobj = Py_None;
3750 return _resultobj;
3751}
3752
3753#define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3754static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject * _resultobj;
3756 wxGridCellAttrProvider * _result;
3757 char *_kwnames[] = { NULL };
3758 char _ptemp[128];
3759
3760 self = self;
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3762 return NULL;
3763{
3764 wxPy_BEGIN_ALLOW_THREADS;
3765 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3766
3767 wxPy_END_ALLOW_THREADS;
4dfaa61e 3768 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3769} if (_result) {
3770 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3771 _resultobj = Py_BuildValue("s",_ptemp);
3772 } else {
3773 Py_INCREF(Py_None);
3774 _resultobj = Py_None;
3775 }
3776 return _resultobj;
3777}
3778
9df61a29 3779#define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
3780static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject * _resultobj;
3782 wxGridCellAttr * _result;
3783 wxGridCellAttrProvider * _arg0;
3784 int _arg1;
3785 int _arg2;
9df61a29 3786 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 3787 PyObject * _argo0 = 0;
9df61a29 3788 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
3789 char _ptemp[128];
3790
3791 self = self;
9df61a29 3792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
3793 return NULL;
3794 if (_argo0) {
3795 if (_argo0 == Py_None) { _arg0 = NULL; }
3796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3798 return NULL;
3799 }
3800 }
3801{
3802 wxPy_BEGIN_ALLOW_THREADS;
9df61a29 3803 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97
BP
3804
3805 wxPy_END_ALLOW_THREADS;
4dfaa61e 3806 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3807} if (_result) {
3808 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3809 _resultobj = Py_BuildValue("s",_ptemp);
3810 } else {
3811 Py_INCREF(Py_None);
3812 _resultobj = Py_None;
3813 }
3814 return _resultobj;
3815}
3816
3817#define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3818static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3819 PyObject * _resultobj;
3820 wxGridCellAttrProvider * _arg0;
3821 wxGridCellAttr * _arg1;
3822 int _arg2;
3823 int _arg3;
3824 PyObject * _argo0 = 0;
3825 PyObject * _argo1 = 0;
3826 char *_kwnames[] = { "self","attr","row","col", NULL };
3827
3828 self = self;
3829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3830 return NULL;
3831 if (_argo0) {
3832 if (_argo0 == Py_None) { _arg0 = NULL; }
3833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3835 return NULL;
3836 }
3837 }
3838 if (_argo1) {
3839 if (_argo1 == Py_None) { _arg1 = NULL; }
3840 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3841 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3842 return NULL;
3843 }
3844 }
3845{
3846 wxPy_BEGIN_ALLOW_THREADS;
3847 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
3848
3849 wxPy_END_ALLOW_THREADS;
4dfaa61e 3850 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3851} Py_INCREF(Py_None);
3852 _resultobj = Py_None;
3853 return _resultobj;
3854}
3855
3856#define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3857static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3858 PyObject * _resultobj;
3859 wxGridCellAttrProvider * _arg0;
3860 wxGridCellAttr * _arg1;
3861 int _arg2;
3862 PyObject * _argo0 = 0;
3863 PyObject * _argo1 = 0;
3864 char *_kwnames[] = { "self","attr","row", NULL };
3865
3866 self = self;
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3868 return NULL;
3869 if (_argo0) {
3870 if (_argo0 == Py_None) { _arg0 = NULL; }
3871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3873 return NULL;
3874 }
3875 }
3876 if (_argo1) {
3877 if (_argo1 == Py_None) { _arg1 = NULL; }
3878 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3879 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3880 return NULL;
3881 }
3882 }
3883{
3884 wxPy_BEGIN_ALLOW_THREADS;
3885 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
3886
3887 wxPy_END_ALLOW_THREADS;
4dfaa61e 3888 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3889} Py_INCREF(Py_None);
3890 _resultobj = Py_None;
3891 return _resultobj;
3892}
3893
3894#define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3895static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3896 PyObject * _resultobj;
3897 wxGridCellAttrProvider * _arg0;
3898 wxGridCellAttr * _arg1;
3899 int _arg2;
3900 PyObject * _argo0 = 0;
3901 PyObject * _argo1 = 0;
3902 char *_kwnames[] = { "self","attr","col", NULL };
3903
3904 self = self;
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3906 return NULL;
3907 if (_argo0) {
3908 if (_argo0 == Py_None) { _arg0 = NULL; }
3909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3911 return NULL;
3912 }
3913 }
3914 if (_argo1) {
3915 if (_argo1 == Py_None) { _arg1 = NULL; }
3916 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3917 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3918 return NULL;
3919 }
3920 }
3921{
3922 wxPy_BEGIN_ALLOW_THREADS;
3923 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
3924
3925 wxPy_END_ALLOW_THREADS;
4dfaa61e 3926 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3927} Py_INCREF(Py_None);
3928 _resultobj = Py_None;
3929 return _resultobj;
3930}
3931
3932#define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3933static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3934 PyObject * _resultobj;
3935 wxGridCellAttrProvider * _arg0;
3936 size_t _arg1;
3937 int _arg2;
3938 PyObject * _argo0 = 0;
3939 char *_kwnames[] = { "self","pos","numRows", NULL };
3940
3941 self = self;
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
3943 return NULL;
3944 if (_argo0) {
3945 if (_argo0 == Py_None) { _arg0 = NULL; }
3946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3948 return NULL;
3949 }
3950 }
3951{
3952 wxPy_BEGIN_ALLOW_THREADS;
3953 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
3954
3955 wxPy_END_ALLOW_THREADS;
4dfaa61e 3956 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3957} Py_INCREF(Py_None);
3958 _resultobj = Py_None;
3959 return _resultobj;
3960}
3961
3962#define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3963static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject * _resultobj;
3965 wxGridCellAttrProvider * _arg0;
3966 size_t _arg1;
3967 int _arg2;
3968 PyObject * _argo0 = 0;
3969 char *_kwnames[] = { "self","pos","numCols", NULL };
3970
3971 self = self;
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
3973 return NULL;
3974 if (_argo0) {
3975 if (_argo0 == Py_None) { _arg0 = NULL; }
3976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3978 return NULL;
3979 }
3980 }
3981{
3982 wxPy_BEGIN_ALLOW_THREADS;
3983 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
3984
3985 wxPy_END_ALLOW_THREADS;
4dfaa61e 3986 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3987} Py_INCREF(Py_None);
3988 _resultobj = Py_None;
3989 return _resultobj;
3990}
3991
3992static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
3993 wxPyGridCellAttrProvider *src;
3994 wxGridCellAttrProvider *dest;
3995 src = (wxPyGridCellAttrProvider *) ptr;
3996 dest = (wxGridCellAttrProvider *) src;
3997 return (void *) dest;
3998}
3999
4000#define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4001static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject * _resultobj;
4003 wxPyGridCellAttrProvider * _result;
4004 char *_kwnames[] = { NULL };
4005 char _ptemp[128];
4006
4007 self = self;
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4009 return NULL;
4010{
4011 wxPy_BEGIN_ALLOW_THREADS;
4012 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4013
4014 wxPy_END_ALLOW_THREADS;
4dfaa61e 4015 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4016} if (_result) {
4017 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4018 _resultobj = Py_BuildValue("s",_ptemp);
4019 } else {
4020 Py_INCREF(Py_None);
4021 _resultobj = Py_None;
4022 }
4023 return _resultobj;
4024}
4025
4026#define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4027static PyObject *_wrap_wxPyGridCellAttrProvider__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject * _resultobj;
4029 wxPyGridCellAttrProvider * _arg0;
4030 PyObject * _arg1;
4031 PyObject * _arg2;
4032 PyObject * _argo0 = 0;
4033 PyObject * _obj1 = 0;
4034 PyObject * _obj2 = 0;
4035 char *_kwnames[] = { "self","self","_class", NULL };
4036
4037 self = self;
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
4039 return NULL;
4040 if (_argo0) {
4041 if (_argo0 == Py_None) { _arg0 = NULL; }
4042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
4044 return NULL;
4045 }
4046 }
4047{
4048 _arg1 = _obj1;
4049}
4050{
4051 _arg2 = _obj2;
4052}
4053{
4054 wxPy_BEGIN_ALLOW_THREADS;
4055 wxPyGridCellAttrProvider__setSelf(_arg0,_arg1,_arg2);
4056
4057 wxPy_END_ALLOW_THREADS;
4dfaa61e 4058 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4059} Py_INCREF(Py_None);
4060 _resultobj = Py_None;
4061 return _resultobj;
4062}
4063
9df61a29 4064#define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
4065static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject * _resultobj;
4067 wxGridCellAttr * _result;
4068 wxPyGridCellAttrProvider * _arg0;
4069 int _arg1;
4070 int _arg2;
9df61a29 4071 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 4072 PyObject * _argo0 = 0;
9df61a29 4073 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
4074 char _ptemp[128];
4075
4076 self = self;
9df61a29 4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
4078 return NULL;
4079 if (_argo0) {
4080 if (_argo0 == Py_None) { _arg0 = NULL; }
4081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4083 return NULL;
4084 }
4085 }
4086{
4087 wxPy_BEGIN_ALLOW_THREADS;
9df61a29 4088 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97
BP
4089
4090 wxPy_END_ALLOW_THREADS;
4dfaa61e 4091 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4092} if (_result) {
4093 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4094 _resultobj = Py_BuildValue("s",_ptemp);
4095 } else {
4096 Py_INCREF(Py_None);
4097 _resultobj = Py_None;
4098 }
4099 return _resultobj;
4100}
4101
4102#define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4103static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4104 PyObject * _resultobj;
4105 wxPyGridCellAttrProvider * _arg0;
4106 wxGridCellAttr * _arg1;
4107 int _arg2;
4108 int _arg3;
4109 PyObject * _argo0 = 0;
4110 PyObject * _argo1 = 0;
4111 char *_kwnames[] = { "self","attr","row","col", NULL };
4112
4113 self = self;
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4115 return NULL;
4116 if (_argo0) {
4117 if (_argo0 == Py_None) { _arg0 = NULL; }
4118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4120 return NULL;
4121 }
4122 }
4123 if (_argo1) {
4124 if (_argo1 == Py_None) { _arg1 = NULL; }
4125 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4126 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4127 return NULL;
4128 }
4129 }
4130{
4131 wxPy_BEGIN_ALLOW_THREADS;
4132 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4133
4134 wxPy_END_ALLOW_THREADS;
4dfaa61e 4135 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4136} Py_INCREF(Py_None);
4137 _resultobj = Py_None;
4138 return _resultobj;
4139}
4140
4141#define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4142static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4143 PyObject * _resultobj;
4144 wxPyGridCellAttrProvider * _arg0;
4145 wxGridCellAttr * _arg1;
4146 int _arg2;
4147 PyObject * _argo0 = 0;
4148 PyObject * _argo1 = 0;
4149 char *_kwnames[] = { "self","attr","row", NULL };
4150
4151 self = self;
4152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4153 return NULL;
4154 if (_argo0) {
4155 if (_argo0 == Py_None) { _arg0 = NULL; }
4156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4158 return NULL;
4159 }
4160 }
4161 if (_argo1) {
4162 if (_argo1 == Py_None) { _arg1 = NULL; }
4163 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4164 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4165 return NULL;
4166 }
4167 }
4168{
4169 wxPy_BEGIN_ALLOW_THREADS;
4170 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4171
4172 wxPy_END_ALLOW_THREADS;
4dfaa61e 4173 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4174} Py_INCREF(Py_None);
4175 _resultobj = Py_None;
4176 return _resultobj;
4177}
4178
4179#define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4180static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4181 PyObject * _resultobj;
4182 wxPyGridCellAttrProvider * _arg0;
4183 wxGridCellAttr * _arg1;
4184 int _arg2;
4185 PyObject * _argo0 = 0;
4186 PyObject * _argo1 = 0;
4187 char *_kwnames[] = { "self","attr","col", NULL };
4188
4189 self = self;
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4191 return NULL;
4192 if (_argo0) {
4193 if (_argo0 == Py_None) { _arg0 = NULL; }
4194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4196 return NULL;
4197 }
4198 }
4199 if (_argo1) {
4200 if (_argo1 == Py_None) { _arg1 = NULL; }
4201 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4202 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4203 return NULL;
4204 }
4205 }
4206{
4207 wxPy_BEGIN_ALLOW_THREADS;
4208 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4209
4210 wxPy_END_ALLOW_THREADS;
4dfaa61e 4211 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4212} Py_INCREF(Py_None);
4213 _resultobj = Py_None;
4214 return _resultobj;
4215}
4216
9df61a29
RD
4217static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4218 wxGridTableBase *src;
4219 wxObject *dest;
4220 src = (wxGridTableBase *) ptr;
4221 dest = (wxObject *) src;
4222 return (void *) dest;
4223}
4224
f6bcfd97
BP
4225#define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4226static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4227 PyObject * _resultobj;
4228 wxGridTableBase * _arg0;
4229 wxGridCellAttrProvider * _arg1;
4230 PyObject * _argo0 = 0;
4231 PyObject * _argo1 = 0;
4232 char *_kwnames[] = { "self","attrProvider", NULL };
4233
4234 self = self;
4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4236 return NULL;
4237 if (_argo0) {
4238 if (_argo0 == Py_None) { _arg0 = NULL; }
4239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4241 return NULL;
4242 }
4243 }
4244 if (_argo1) {
4245 if (_argo1 == Py_None) { _arg1 = NULL; }
4246 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4247 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4248 return NULL;
4249 }
4250 }
4251{
4252 wxPy_BEGIN_ALLOW_THREADS;
4253 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4254
4255 wxPy_END_ALLOW_THREADS;
4dfaa61e 4256 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4257} Py_INCREF(Py_None);
4258 _resultobj = Py_None;
4259 return _resultobj;
4260}
4261
4262#define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4263static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4264 PyObject * _resultobj;
4265 wxGridCellAttrProvider * _result;
4266 wxGridTableBase * _arg0;
4267 PyObject * _argo0 = 0;
4268 char *_kwnames[] = { "self", NULL };
4269 char _ptemp[128];
4270
4271 self = self;
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4273 return NULL;
4274 if (_argo0) {
4275 if (_argo0 == Py_None) { _arg0 = NULL; }
4276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4278 return NULL;
4279 }
4280 }
4281{
4282 wxPy_BEGIN_ALLOW_THREADS;
4283 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4284
4285 wxPy_END_ALLOW_THREADS;
4dfaa61e 4286 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4287} if (_result) {
4288 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4289 _resultobj = Py_BuildValue("s",_ptemp);
4290 } else {
4291 Py_INCREF(Py_None);
4292 _resultobj = Py_None;
4293 }
4294 return _resultobj;
4295}
4296
4297#define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4298static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject * _resultobj;
4300 wxGridTableBase * _arg0;
4301 wxGrid * _arg1;
4302 PyObject * _argo0 = 0;
4303 PyObject * _argo1 = 0;
4304 char *_kwnames[] = { "self","grid", NULL };
4305
4306 self = self;
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4308 return NULL;
4309 if (_argo0) {
4310 if (_argo0 == Py_None) { _arg0 = NULL; }
4311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4313 return NULL;
4314 }
4315 }
4316 if (_argo1) {
4317 if (_argo1 == Py_None) { _arg1 = NULL; }
4318 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4319 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4320 return NULL;
4321 }
4322 }
4323{
4324 wxPy_BEGIN_ALLOW_THREADS;
4325 wxGridTableBase_SetView(_arg0,_arg1);
4326
4327 wxPy_END_ALLOW_THREADS;
4dfaa61e 4328 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4329} Py_INCREF(Py_None);
4330 _resultobj = Py_None;
4331 return _resultobj;
4332}
4333
4334#define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4335static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject * _resultobj;
4337 wxGrid * _result;
4338 wxGridTableBase * _arg0;
4339 PyObject * _argo0 = 0;
4340 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4341
4342 self = self;
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4344 return NULL;
4345 if (_argo0) {
4346 if (_argo0 == Py_None) { _arg0 = NULL; }
4347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4349 return NULL;
4350 }
4351 }
4352{
4353 wxPy_BEGIN_ALLOW_THREADS;
4354 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4355
4356 wxPy_END_ALLOW_THREADS;
4dfaa61e 4357 if (PyErr_Occurred()) return NULL;
9df61a29 4358}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
4359 return _resultobj;
4360}
4361
4362#define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4363static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4364 PyObject * _resultobj;
4365 int _result;
4366 wxGridTableBase * _arg0;
4367 PyObject * _argo0 = 0;
4368 char *_kwnames[] = { "self", NULL };
4369
4370 self = self;
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4372 return NULL;
4373 if (_argo0) {
4374 if (_argo0 == Py_None) { _arg0 = NULL; }
4375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4377 return NULL;
4378 }
4379 }
4380{
4381 wxPy_BEGIN_ALLOW_THREADS;
4382 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4383
4384 wxPy_END_ALLOW_THREADS;
4dfaa61e 4385 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4386} _resultobj = Py_BuildValue("i",_result);
4387 return _resultobj;
4388}
4389
4390#define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4391static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4392 PyObject * _resultobj;
4393 int _result;
4394 wxGridTableBase * _arg0;
4395 PyObject * _argo0 = 0;
4396 char *_kwnames[] = { "self", NULL };
4397
4398 self = self;
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4400 return NULL;
4401 if (_argo0) {
4402 if (_argo0 == Py_None) { _arg0 = NULL; }
4403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4405 return NULL;
4406 }
4407 }
4408{
4409 wxPy_BEGIN_ALLOW_THREADS;
4410 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4411
4412 wxPy_END_ALLOW_THREADS;
4dfaa61e 4413 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4414} _resultobj = Py_BuildValue("i",_result);
4415 return _resultobj;
4416}
4417
4418#define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4419static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4420 PyObject * _resultobj;
4421 bool _result;
4422 wxGridTableBase * _arg0;
4423 int _arg1;
4424 int _arg2;
4425 PyObject * _argo0 = 0;
4426 char *_kwnames[] = { "self","row","col", NULL };
4427
4428 self = self;
4429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4430 return NULL;
4431 if (_argo0) {
4432 if (_argo0 == Py_None) { _arg0 = NULL; }
4433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4435 return NULL;
4436 }
4437 }
4438{
4439 wxPy_BEGIN_ALLOW_THREADS;
4440 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4441
4442 wxPy_END_ALLOW_THREADS;
4dfaa61e 4443 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4444} _resultobj = Py_BuildValue("i",_result);
4445 return _resultobj;
4446}
4447
4448#define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4449static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject * _resultobj;
4451 wxString * _result;
4452 wxGridTableBase * _arg0;
4453 int _arg1;
4454 int _arg2;
4455 PyObject * _argo0 = 0;
4456 char *_kwnames[] = { "self","row","col", NULL };
4457
4458 self = self;
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4460 return NULL;
4461 if (_argo0) {
4462 if (_argo0 == Py_None) { _arg0 = NULL; }
4463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4465 return NULL;
4466 }
4467 }
4468{
4469 wxPy_BEGIN_ALLOW_THREADS;
4470 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4471
4472 wxPy_END_ALLOW_THREADS;
4dfaa61e 4473 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4474}{
4475 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4476}
4477{
4478 delete _result;
4479}
4480 return _resultobj;
4481}
4482
4483#define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4484static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject * _resultobj;
4486 wxGridTableBase * _arg0;
4487 int _arg1;
4488 int _arg2;
4489 wxString * _arg3;
4490 PyObject * _argo0 = 0;
4491 PyObject * _obj3 = 0;
4492 char *_kwnames[] = { "self","row","col","value", NULL };
4493
4494 self = self;
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4496 return NULL;
4497 if (_argo0) {
4498 if (_argo0 == Py_None) { _arg0 = NULL; }
4499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4501 return NULL;
4502 }
4503 }
4504{
2cd2fac8
RD
4505#if PYTHON_API_VERSION >= 1009
4506 char* tmpPtr; int tmpSize;
4507 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 4508 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4509 return NULL;
4510 }
4511 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4512 return NULL;
4513 _arg3 = new wxString(tmpPtr, tmpSize);
4514#else
f6bcfd97
BP
4515 if (!PyString_Check(_obj3)) {
4516 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4517 return NULL;
4518 }
2cd2fac8
RD
4519 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4520#endif
f6bcfd97
BP
4521}
4522{
4523 wxPy_BEGIN_ALLOW_THREADS;
4524 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4525
4526 wxPy_END_ALLOW_THREADS;
4dfaa61e 4527 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4528} Py_INCREF(Py_None);
4529 _resultobj = Py_None;
4530{
4531 if (_obj3)
4532 delete _arg3;
4533}
4534 return _resultobj;
4535}
4536
4537#define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4538static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4539 PyObject * _resultobj;
4540 wxString * _result;
4541 wxGridTableBase * _arg0;
4542 int _arg1;
4543 int _arg2;
4544 PyObject * _argo0 = 0;
4545 char *_kwnames[] = { "self","row","col", NULL };
4546
4547 self = self;
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4549 return NULL;
4550 if (_argo0) {
4551 if (_argo0 == Py_None) { _arg0 = NULL; }
4552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4554 return NULL;
4555 }
4556 }
4557{
4558 wxPy_BEGIN_ALLOW_THREADS;
4559 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4560
4561 wxPy_END_ALLOW_THREADS;
4dfaa61e 4562 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4563}{
4564 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4565}
4566{
4567 delete _result;
4568}
4569 return _resultobj;
4570}
4571
4572#define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4573static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject * _resultobj;
4575 bool _result;
4576 wxGridTableBase * _arg0;
4577 int _arg1;
4578 int _arg2;
4579 wxString * _arg3;
4580 PyObject * _argo0 = 0;
4581 PyObject * _obj3 = 0;
4582 char *_kwnames[] = { "self","row","col","typeName", NULL };
4583
4584 self = self;
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4586 return NULL;
4587 if (_argo0) {
4588 if (_argo0 == Py_None) { _arg0 = NULL; }
4589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4591 return NULL;
4592 }
4593 }
4594{
2cd2fac8
RD
4595#if PYTHON_API_VERSION >= 1009
4596 char* tmpPtr; int tmpSize;
4597 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 4598 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4599 return NULL;
4600 }
4601 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4602 return NULL;
4603 _arg3 = new wxString(tmpPtr, tmpSize);
4604#else
f6bcfd97
BP
4605 if (!PyString_Check(_obj3)) {
4606 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4607 return NULL;
4608 }
2cd2fac8
RD
4609 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4610#endif
f6bcfd97
BP
4611}
4612{
4613 wxPy_BEGIN_ALLOW_THREADS;
4614 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4615
4616 wxPy_END_ALLOW_THREADS;
4dfaa61e 4617 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4618} _resultobj = Py_BuildValue("i",_result);
4619{
4620 if (_obj3)
4621 delete _arg3;
4622}
4623 return _resultobj;
4624}
4625
4626#define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4627static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4628 PyObject * _resultobj;
4629 bool _result;
4630 wxGridTableBase * _arg0;
4631 int _arg1;
4632 int _arg2;
4633 wxString * _arg3;
4634 PyObject * _argo0 = 0;
4635 PyObject * _obj3 = 0;
4636 char *_kwnames[] = { "self","row","col","typeName", NULL };
4637
4638 self = self;
4639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4640 return NULL;
4641 if (_argo0) {
4642 if (_argo0 == Py_None) { _arg0 = NULL; }
4643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4645 return NULL;
4646 }
4647 }
4648{
2cd2fac8
RD
4649#if PYTHON_API_VERSION >= 1009
4650 char* tmpPtr; int tmpSize;
4651 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 4652 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4653 return NULL;
4654 }
4655 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4656 return NULL;
4657 _arg3 = new wxString(tmpPtr, tmpSize);
4658#else
f6bcfd97
BP
4659 if (!PyString_Check(_obj3)) {
4660 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4661 return NULL;
4662 }
2cd2fac8
RD
4663 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4664#endif
f6bcfd97
BP
4665}
4666{
4667 wxPy_BEGIN_ALLOW_THREADS;
4668 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4669
4670 wxPy_END_ALLOW_THREADS;
4dfaa61e 4671 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4672} _resultobj = Py_BuildValue("i",_result);
4673{
4674 if (_obj3)
4675 delete _arg3;
4676}
4677 return _resultobj;
4678}
4679
4680#define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4681static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject * _resultobj;
4683 long _result;
4684 wxGridTableBase * _arg0;
4685 int _arg1;
4686 int _arg2;
4687 PyObject * _argo0 = 0;
4688 char *_kwnames[] = { "self","row","col", NULL };
4689
4690 self = self;
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4692 return NULL;
4693 if (_argo0) {
4694 if (_argo0 == Py_None) { _arg0 = NULL; }
4695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4697 return NULL;
4698 }
4699 }
4700{
4701 wxPy_BEGIN_ALLOW_THREADS;
4702 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4703
4704 wxPy_END_ALLOW_THREADS;
4dfaa61e 4705 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4706} _resultobj = Py_BuildValue("l",_result);
4707 return _resultobj;
4708}
4709
4710#define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4711static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4712 PyObject * _resultobj;
4713 double _result;
4714 wxGridTableBase * _arg0;
4715 int _arg1;
4716 int _arg2;
4717 PyObject * _argo0 = 0;
4718 char *_kwnames[] = { "self","row","col", NULL };
4719
4720 self = self;
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4722 return NULL;
4723 if (_argo0) {
4724 if (_argo0 == Py_None) { _arg0 = NULL; }
4725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4727 return NULL;
4728 }
4729 }
4730{
4731 wxPy_BEGIN_ALLOW_THREADS;
4732 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4733
4734 wxPy_END_ALLOW_THREADS;
4dfaa61e 4735 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4736} _resultobj = Py_BuildValue("d",_result);
4737 return _resultobj;
4738}
4739
4740#define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4741static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4742 PyObject * _resultobj;
4743 bool _result;
4744 wxGridTableBase * _arg0;
4745 int _arg1;
4746 int _arg2;
4747 PyObject * _argo0 = 0;
4748 char *_kwnames[] = { "self","row","col", NULL };
4749
4750 self = self;
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4752 return NULL;
4753 if (_argo0) {
4754 if (_argo0 == Py_None) { _arg0 = NULL; }
4755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4757 return NULL;
4758 }
4759 }
4760{
4761 wxPy_BEGIN_ALLOW_THREADS;
4762 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4763
4764 wxPy_END_ALLOW_THREADS;
4dfaa61e 4765 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4766} _resultobj = Py_BuildValue("i",_result);
4767 return _resultobj;
4768}
4769
4770#define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4771static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject * _resultobj;
4773 wxGridTableBase * _arg0;
4774 int _arg1;
4775 int _arg2;
4776 long _arg3;
4777 PyObject * _argo0 = 0;
4778 char *_kwnames[] = { "self","row","col","value", NULL };
4779
4780 self = self;
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4782 return NULL;
4783 if (_argo0) {
4784 if (_argo0 == Py_None) { _arg0 = NULL; }
4785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4787 return NULL;
4788 }
4789 }
4790{
4791 wxPy_BEGIN_ALLOW_THREADS;
4792 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4793
4794 wxPy_END_ALLOW_THREADS;
4dfaa61e 4795 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4796} Py_INCREF(Py_None);
4797 _resultobj = Py_None;
4798 return _resultobj;
4799}
4800
4801#define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4802static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4803 PyObject * _resultobj;
4804 wxGridTableBase * _arg0;
4805 int _arg1;
4806 int _arg2;
4807 double _arg3;
4808 PyObject * _argo0 = 0;
4809 char *_kwnames[] = { "self","row","col","value", NULL };
4810
4811 self = self;
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4813 return NULL;
4814 if (_argo0) {
4815 if (_argo0 == Py_None) { _arg0 = NULL; }
4816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4818 return NULL;
4819 }
4820 }
4821{
4822 wxPy_BEGIN_ALLOW_THREADS;
4823 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
4824
4825 wxPy_END_ALLOW_THREADS;
4dfaa61e 4826 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4827} Py_INCREF(Py_None);
4828 _resultobj = Py_None;
4829 return _resultobj;
4830}
4831
4832#define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4833static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject * _resultobj;
4835 wxGridTableBase * _arg0;
4836 int _arg1;
4837 int _arg2;
4838 bool _arg3;
4839 PyObject * _argo0 = 0;
4840 int tempbool3;
4841 char *_kwnames[] = { "self","row","col","value", NULL };
4842
4843 self = self;
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4845 return NULL;
4846 if (_argo0) {
4847 if (_argo0 == Py_None) { _arg0 = NULL; }
4848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4850 return NULL;
4851 }
4852 }
4853 _arg3 = (bool ) tempbool3;
4854{
4855 wxPy_BEGIN_ALLOW_THREADS;
4856 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
4857
4858 wxPy_END_ALLOW_THREADS;
4dfaa61e 4859 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4860} Py_INCREF(Py_None);
4861 _resultobj = Py_None;
4862 return _resultobj;
4863}
4864
4865#define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4866static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject * _resultobj;
4868 wxGridTableBase * _arg0;
4869 PyObject * _argo0 = 0;
4870 char *_kwnames[] = { "self", NULL };
4871
4872 self = self;
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
4874 return NULL;
4875 if (_argo0) {
4876 if (_argo0 == Py_None) { _arg0 = NULL; }
4877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4879 return NULL;
4880 }
4881 }
4882{
4883 wxPy_BEGIN_ALLOW_THREADS;
4884 wxGridTableBase_Clear(_arg0);
4885
4886 wxPy_END_ALLOW_THREADS;
4dfaa61e 4887 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4888} Py_INCREF(Py_None);
4889 _resultobj = Py_None;
4890 return _resultobj;
4891}
4892
4893#define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4894static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4895 PyObject * _resultobj;
4896 bool _result;
4897 wxGridTableBase * _arg0;
4898 size_t _arg1 = (size_t ) 0;
4899 size_t _arg2 = (size_t ) 1;
4900 PyObject * _argo0 = 0;
4901 char *_kwnames[] = { "self","pos","numRows", NULL };
4902
4903 self = self;
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
4905 return NULL;
4906 if (_argo0) {
4907 if (_argo0 == Py_None) { _arg0 = NULL; }
4908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4910 return NULL;
4911 }
4912 }
4913{
4914 wxPy_BEGIN_ALLOW_THREADS;
4915 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
4916
4917 wxPy_END_ALLOW_THREADS;
4dfaa61e 4918 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4919} _resultobj = Py_BuildValue("i",_result);
4920 return _resultobj;
4921}
4922
4923#define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4924static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4925 PyObject * _resultobj;
4926 bool _result;
4927 wxGridTableBase * _arg0;
4928 size_t _arg1 = (size_t ) 1;
4929 PyObject * _argo0 = 0;
4930 char *_kwnames[] = { "self","numRows", NULL };
4931
4932 self = self;
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
4934 return NULL;
4935 if (_argo0) {
4936 if (_argo0 == Py_None) { _arg0 = NULL; }
4937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4939 return NULL;
4940 }
4941 }
4942{
4943 wxPy_BEGIN_ALLOW_THREADS;
4944 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
4945
4946 wxPy_END_ALLOW_THREADS;
4dfaa61e 4947 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4948} _resultobj = Py_BuildValue("i",_result);
4949 return _resultobj;
4950}
4951
4952#define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4953static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4954 PyObject * _resultobj;
4955 bool _result;
4956 wxGridTableBase * _arg0;
4957 size_t _arg1 = (size_t ) 0;
4958 size_t _arg2 = (size_t ) 1;
4959 PyObject * _argo0 = 0;
4960 char *_kwnames[] = { "self","pos","numRows", NULL };
4961
4962 self = self;
4963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
4964 return NULL;
4965 if (_argo0) {
4966 if (_argo0 == Py_None) { _arg0 = NULL; }
4967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4969 return NULL;
4970 }
4971 }
4972{
4973 wxPy_BEGIN_ALLOW_THREADS;
4974 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
4975
4976 wxPy_END_ALLOW_THREADS;
4dfaa61e 4977 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4978} _resultobj = Py_BuildValue("i",_result);
4979 return _resultobj;
4980}
4981
4982#define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4983static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4984 PyObject * _resultobj;
4985 bool _result;
4986 wxGridTableBase * _arg0;
4987 size_t _arg1 = (size_t ) 0;
4988 size_t _arg2 = (size_t ) 1;
4989 PyObject * _argo0 = 0;
4990 char *_kwnames[] = { "self","pos","numCols", NULL };
4991
4992 self = self;
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
4994 return NULL;
4995 if (_argo0) {
4996 if (_argo0 == Py_None) { _arg0 = NULL; }
4997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4999 return NULL;
5000 }
5001 }
5002{
5003 wxPy_BEGIN_ALLOW_THREADS;
5004 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5005
5006 wxPy_END_ALLOW_THREADS;
4dfaa61e 5007 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5008} _resultobj = Py_BuildValue("i",_result);
5009 return _resultobj;
5010}
5011
5012#define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5013static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5014 PyObject * _resultobj;
5015 bool _result;
5016 wxGridTableBase * _arg0;
5017 size_t _arg1 = (size_t ) 1;
5018 PyObject * _argo0 = 0;
5019 char *_kwnames[] = { "self","numCols", NULL };
5020
5021 self = self;
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5023 return NULL;
5024 if (_argo0) {
5025 if (_argo0 == Py_None) { _arg0 = NULL; }
5026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5028 return NULL;
5029 }
5030 }
5031{
5032 wxPy_BEGIN_ALLOW_THREADS;
5033 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5034
5035 wxPy_END_ALLOW_THREADS;
4dfaa61e 5036 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5037} _resultobj = Py_BuildValue("i",_result);
5038 return _resultobj;
5039}
5040
5041#define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5042static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject * _resultobj;
5044 bool _result;
5045 wxGridTableBase * _arg0;
5046 size_t _arg1 = (size_t ) 0;
5047 size_t _arg2 = (size_t ) 1;
5048 PyObject * _argo0 = 0;
5049 char *_kwnames[] = { "self","pos","numCols", NULL };
5050
5051 self = self;
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5053 return NULL;
5054 if (_argo0) {
5055 if (_argo0 == Py_None) { _arg0 = NULL; }
5056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5058 return NULL;
5059 }
5060 }
5061{
5062 wxPy_BEGIN_ALLOW_THREADS;
5063 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5064
5065 wxPy_END_ALLOW_THREADS;
4dfaa61e 5066 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5067} _resultobj = Py_BuildValue("i",_result);
5068 return _resultobj;
5069}
5070
5071#define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5072static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject * _resultobj;
5074 wxString * _result;
5075 wxGridTableBase * _arg0;
5076 int _arg1;
5077 PyObject * _argo0 = 0;
5078 char *_kwnames[] = { "self","row", NULL };
5079
5080 self = self;
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5082 return NULL;
5083 if (_argo0) {
5084 if (_argo0 == Py_None) { _arg0 = NULL; }
5085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5087 return NULL;
5088 }
5089 }
5090{
5091 wxPy_BEGIN_ALLOW_THREADS;
5092 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5093
5094 wxPy_END_ALLOW_THREADS;
4dfaa61e 5095 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5096}{
5097 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5098}
5099{
5100 delete _result;
5101}
5102 return _resultobj;
5103}
5104
5105#define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5106static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject * _resultobj;
5108 wxString * _result;
5109 wxGridTableBase * _arg0;
5110 int _arg1;
5111 PyObject * _argo0 = 0;
5112 char *_kwnames[] = { "self","col", NULL };
5113
5114 self = self;
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5116 return NULL;
5117 if (_argo0) {
5118 if (_argo0 == Py_None) { _arg0 = NULL; }
5119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5121 return NULL;
5122 }
5123 }
5124{
5125 wxPy_BEGIN_ALLOW_THREADS;
5126 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5127
5128 wxPy_END_ALLOW_THREADS;
4dfaa61e 5129 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5130}{
5131 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5132}
5133{
5134 delete _result;
5135}
5136 return _resultobj;
5137}
5138
5139#define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5140static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5141 PyObject * _resultobj;
5142 wxGridTableBase * _arg0;
5143 int _arg1;
5144 wxString * _arg2;
5145 PyObject * _argo0 = 0;
5146 PyObject * _obj2 = 0;
5147 char *_kwnames[] = { "self","row","value", NULL };
5148
5149 self = self;
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5151 return NULL;
5152 if (_argo0) {
5153 if (_argo0 == Py_None) { _arg0 = NULL; }
5154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5156 return NULL;
5157 }
5158 }
5159{
2cd2fac8
RD
5160#if PYTHON_API_VERSION >= 1009
5161 char* tmpPtr; int tmpSize;
5162 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 5163 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
5164 return NULL;
5165 }
5166 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5167 return NULL;
5168 _arg2 = new wxString(tmpPtr, tmpSize);
5169#else
f6bcfd97
BP
5170 if (!PyString_Check(_obj2)) {
5171 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5172 return NULL;
5173 }
2cd2fac8
RD
5174 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5175#endif
f6bcfd97
BP
5176}
5177{
5178 wxPy_BEGIN_ALLOW_THREADS;
5179 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5180
5181 wxPy_END_ALLOW_THREADS;
4dfaa61e 5182 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5183} Py_INCREF(Py_None);
5184 _resultobj = Py_None;
5185{
5186 if (_obj2)
5187 delete _arg2;
5188}
5189 return _resultobj;
5190}
5191
5192#define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5193static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject * _resultobj;
5195 wxGridTableBase * _arg0;
5196 int _arg1;
5197 wxString * _arg2;
5198 PyObject * _argo0 = 0;
5199 PyObject * _obj2 = 0;
5200 char *_kwnames[] = { "self","col","value", NULL };
5201
5202 self = self;
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5204 return NULL;
5205 if (_argo0) {
5206 if (_argo0 == Py_None) { _arg0 = NULL; }
5207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5209 return NULL;
5210 }
5211 }
5212{
2cd2fac8
RD
5213#if PYTHON_API_VERSION >= 1009
5214 char* tmpPtr; int tmpSize;
5215 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 5216 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
5217 return NULL;
5218 }
5219 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5220 return NULL;
5221 _arg2 = new wxString(tmpPtr, tmpSize);
5222#else
f6bcfd97
BP
5223 if (!PyString_Check(_obj2)) {
5224 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5225 return NULL;
5226 }
2cd2fac8
RD
5227 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5228#endif
f6bcfd97
BP
5229}
5230{
5231 wxPy_BEGIN_ALLOW_THREADS;
5232 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5233
5234 wxPy_END_ALLOW_THREADS;
4dfaa61e 5235 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5236} Py_INCREF(Py_None);
5237 _resultobj = Py_None;
5238{
5239 if (_obj2)
5240 delete _arg2;
5241}
5242 return _resultobj;
5243}
5244
5245#define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5246static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5247 PyObject * _resultobj;
5248 bool _result;
5249 wxGridTableBase * _arg0;
5250 PyObject * _argo0 = 0;
5251 char *_kwnames[] = { "self", NULL };
5252
5253 self = self;
5254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5255 return NULL;
5256 if (_argo0) {
5257 if (_argo0 == Py_None) { _arg0 = NULL; }
5258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5260 return NULL;
5261 }
5262 }
5263{
5264 wxPy_BEGIN_ALLOW_THREADS;
5265 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5266
5267 wxPy_END_ALLOW_THREADS;
4dfaa61e 5268 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5269} _resultobj = Py_BuildValue("i",_result);
5270 return _resultobj;
5271}
5272
9df61a29 5273#define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
5274static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5275 PyObject * _resultobj;
5276 wxGridCellAttr * _result;
5277 wxGridTableBase * _arg0;
5278 int _arg1;
5279 int _arg2;
9df61a29 5280 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 5281 PyObject * _argo0 = 0;
9df61a29 5282 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
5283 char _ptemp[128];
5284
5285 self = self;
9df61a29 5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
5287 return NULL;
5288 if (_argo0) {
5289 if (_argo0 == Py_None) { _arg0 = NULL; }
5290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5292 return NULL;
5293 }
5294 }
5295{
5296 wxPy_BEGIN_ALLOW_THREADS;
9df61a29 5297 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97
BP
5298
5299 wxPy_END_ALLOW_THREADS;
4dfaa61e 5300 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5301} if (_result) {
5302 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5303 _resultobj = Py_BuildValue("s",_ptemp);
5304 } else {
5305 Py_INCREF(Py_None);
5306 _resultobj = Py_None;
5307 }
5308 return _resultobj;
5309}
5310
5311#define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5312static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5313 PyObject * _resultobj;
5314 wxGridTableBase * _arg0;
5315 wxGridCellAttr * _arg1;
5316 int _arg2;
5317 int _arg3;
5318 PyObject * _argo0 = 0;
5319 PyObject * _argo1 = 0;
5320 char *_kwnames[] = { "self","attr","row","col", NULL };
5321
5322 self = self;
5323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5324 return NULL;
5325 if (_argo0) {
5326 if (_argo0 == Py_None) { _arg0 = NULL; }
5327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5329 return NULL;
5330 }
5331 }
5332 if (_argo1) {
5333 if (_argo1 == Py_None) { _arg1 = NULL; }
5334 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5335 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5336 return NULL;
5337 }
5338 }
5339{
5340 wxPy_BEGIN_ALLOW_THREADS;
5341 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5342
5343 wxPy_END_ALLOW_THREADS;
4dfaa61e 5344 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5345} Py_INCREF(Py_None);
5346 _resultobj = Py_None;
5347 return _resultobj;
5348}
5349
5350#define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5351static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5352 PyObject * _resultobj;
5353 wxGridTableBase * _arg0;
5354 wxGridCellAttr * _arg1;
5355 int _arg2;
5356 PyObject * _argo0 = 0;
5357 PyObject * _argo1 = 0;
5358 char *_kwnames[] = { "self","attr","row", NULL };
5359
5360 self = self;
5361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5362 return NULL;
5363 if (_argo0) {
5364 if (_argo0 == Py_None) { _arg0 = NULL; }
5365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5367 return NULL;
5368 }
5369 }
5370 if (_argo1) {
5371 if (_argo1 == Py_None) { _arg1 = NULL; }
5372 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5373 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5374 return NULL;
5375 }
5376 }
5377{
5378 wxPy_BEGIN_ALLOW_THREADS;
5379 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5380
5381 wxPy_END_ALLOW_THREADS;
4dfaa61e 5382 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5383} Py_INCREF(Py_None);
5384 _resultobj = Py_None;
5385 return _resultobj;
5386}
5387
5388#define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5389static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5390 PyObject * _resultobj;
5391 wxGridTableBase * _arg0;
5392 wxGridCellAttr * _arg1;
5393 int _arg2;
5394 PyObject * _argo0 = 0;
5395 PyObject * _argo1 = 0;
5396 char *_kwnames[] = { "self","attr","col", NULL };
5397
5398 self = self;
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5400 return NULL;
5401 if (_argo0) {
5402 if (_argo0 == Py_None) { _arg0 = NULL; }
5403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5405 return NULL;
5406 }
5407 }
5408 if (_argo1) {
5409 if (_argo1 == Py_None) { _arg1 = NULL; }
5410 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5411 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5412 return NULL;
5413 }
5414 }
5415{
5416 wxPy_BEGIN_ALLOW_THREADS;
5417 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5418
5419 wxPy_END_ALLOW_THREADS;
4dfaa61e 5420 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5421} Py_INCREF(Py_None);
5422 _resultobj = Py_None;
5423 return _resultobj;
5424}
5425
5426static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5427 wxPyGridTableBase *src;
5428 wxGridTableBase *dest;
5429 src = (wxPyGridTableBase *) ptr;
5430 dest = (wxGridTableBase *) src;
5431 return (void *) dest;
5432}
5433
9df61a29
RD
5434static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5435 wxPyGridTableBase *src;
5436 wxObject *dest;
5437 src = (wxPyGridTableBase *) ptr;
5438 dest = (wxObject *) src;
5439 return (void *) dest;
5440}
5441
f6bcfd97
BP
5442#define new_wxPyGridTableBase() (new wxPyGridTableBase())
5443static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5444 PyObject * _resultobj;
5445 wxPyGridTableBase * _result;
5446 char *_kwnames[] = { NULL };
5447 char _ptemp[128];
5448
5449 self = self;
5450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5451 return NULL;
5452{
5453 wxPy_BEGIN_ALLOW_THREADS;
5454 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5455
5456 wxPy_END_ALLOW_THREADS;
4dfaa61e 5457 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5458} if (_result) {
5459 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5460 _resultobj = Py_BuildValue("s",_ptemp);
5461 } else {
5462 Py_INCREF(Py_None);
5463 _resultobj = Py_None;
5464 }
5465 return _resultobj;
5466}
5467
5468#define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5469static PyObject *_wrap_wxPyGridTableBase__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject * _resultobj;
5471 wxPyGridTableBase * _arg0;
5472 PyObject * _arg1;
5473 PyObject * _arg2;
5474 PyObject * _argo0 = 0;
5475 PyObject * _obj1 = 0;
5476 PyObject * _obj2 = 0;
5477 char *_kwnames[] = { "self","self","_class", NULL };
5478
5479 self = self;
5480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5481 return NULL;
5482 if (_argo0) {
5483 if (_argo0 == Py_None) { _arg0 = NULL; }
5484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5486 return NULL;
5487 }
5488 }
5489{
5490 _arg1 = _obj1;
5491}
5492{
5493 _arg2 = _obj2;
5494}
5495{
5496 wxPy_BEGIN_ALLOW_THREADS;
5497 wxPyGridTableBase__setSelf(_arg0,_arg1,_arg2);
5498
5499 wxPy_END_ALLOW_THREADS;
4dfaa61e 5500 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5501} Py_INCREF(Py_None);
5502 _resultobj = Py_None;
5503 return _resultobj;
5504}
5505
5506static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5507static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5508 PyObject * _resultobj;
5509 wxPyGridTableBase * _arg0;
5510 PyObject * _argo0 = 0;
5511 char *_kwnames[] = { "self", NULL };
5512
5513 self = self;
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5515 return NULL;
5516 if (_argo0) {
5517 if (_argo0 == Py_None) { _arg0 = NULL; }
5518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5520 return NULL;
5521 }
5522 }
5523{
5524 wxPy_BEGIN_ALLOW_THREADS;
5525 wxPyGridTableBase_Destroy(_arg0);
5526
5527 wxPy_END_ALLOW_THREADS;
4dfaa61e 5528 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5529} Py_INCREF(Py_None);
5530 _resultobj = Py_None;
5531 return _resultobj;
5532}
5533
5534#define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5535static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject * _resultobj;
5537 wxString * _result;
5538 wxPyGridTableBase * _arg0;
5539 int _arg1;
5540 int _arg2;
5541 PyObject * _argo0 = 0;
5542 char *_kwnames[] = { "self","row","col", NULL };
5543
5544 self = self;
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5546 return NULL;
5547 if (_argo0) {
5548 if (_argo0 == Py_None) { _arg0 = NULL; }
5549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5551 return NULL;
5552 }
5553 }
5554{
5555 wxPy_BEGIN_ALLOW_THREADS;
5556 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5557
5558 wxPy_END_ALLOW_THREADS;
4dfaa61e 5559 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5560}{
5561 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5562}
5563{
5564 delete _result;
5565}
5566 return _resultobj;
5567}
5568
5569#define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5570static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject * _resultobj;
5572 bool _result;
5573 wxPyGridTableBase * _arg0;
5574 int _arg1;
5575 int _arg2;
5576 wxString * _arg3;
5577 PyObject * _argo0 = 0;
5578 PyObject * _obj3 = 0;
5579 char *_kwnames[] = { "self","row","col","typeName", NULL };
5580
5581 self = self;
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5583 return NULL;
5584 if (_argo0) {
5585 if (_argo0 == Py_None) { _arg0 = NULL; }
5586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5588 return NULL;
5589 }
5590 }
5591{
2cd2fac8
RD
5592#if PYTHON_API_VERSION >= 1009
5593 char* tmpPtr; int tmpSize;
5594 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 5595 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
5596 return NULL;
5597 }
5598 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5599 return NULL;
5600 _arg3 = new wxString(tmpPtr, tmpSize);
5601#else
f6bcfd97
BP
5602 if (!PyString_Check(_obj3)) {
5603 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5604 return NULL;
5605 }
2cd2fac8
RD
5606 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5607#endif
f6bcfd97
BP
5608}
5609{
5610 wxPy_BEGIN_ALLOW_THREADS;
5611 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5612
5613 wxPy_END_ALLOW_THREADS;
4dfaa61e 5614 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5615} _resultobj = Py_BuildValue("i",_result);
5616{
5617 if (_obj3)
5618 delete _arg3;
5619}
5620 return _resultobj;
5621}
5622
5623#define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5624static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5625 PyObject * _resultobj;
5626 bool _result;
5627 wxPyGridTableBase * _arg0;
5628 int _arg1;
5629 int _arg2;
5630 wxString * _arg3;
5631 PyObject * _argo0 = 0;
5632 PyObject * _obj3 = 0;
5633 char *_kwnames[] = { "self","row","col","typeName", NULL };
5634
5635 self = self;
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5637 return NULL;
5638 if (_argo0) {
5639 if (_argo0 == Py_None) { _arg0 = NULL; }
5640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5642 return NULL;
5643 }
5644 }
5645{
2cd2fac8
RD
5646#if PYTHON_API_VERSION >= 1009
5647 char* tmpPtr; int tmpSize;
5648 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 5649 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
5650 return NULL;
5651 }
5652 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5653 return NULL;
5654 _arg3 = new wxString(tmpPtr, tmpSize);
5655#else
f6bcfd97
BP
5656 if (!PyString_Check(_obj3)) {
5657 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5658 return NULL;
5659 }
2cd2fac8
RD
5660 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5661#endif
f6bcfd97
BP
5662}
5663{
5664 wxPy_BEGIN_ALLOW_THREADS;
5665 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5666
5667 wxPy_END_ALLOW_THREADS;
4dfaa61e 5668 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5669} _resultobj = Py_BuildValue("i",_result);
5670{
5671 if (_obj3)
5672 delete _arg3;
5673}
5674 return _resultobj;
5675}
5676
5677#define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5678static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5679 PyObject * _resultobj;
5680 wxPyGridTableBase * _arg0;
5681 PyObject * _argo0 = 0;
5682 char *_kwnames[] = { "self", NULL };
5683
5684 self = self;
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5686 return NULL;
5687 if (_argo0) {
5688 if (_argo0 == Py_None) { _arg0 = NULL; }
5689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5691 return NULL;
5692 }
5693 }
5694{
5695 wxPy_BEGIN_ALLOW_THREADS;
5696 wxPyGridTableBase_base_Clear(_arg0);
5697
5698 wxPy_END_ALLOW_THREADS;
4dfaa61e 5699 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5700} Py_INCREF(Py_None);
5701 _resultobj = Py_None;
5702 return _resultobj;
5703}
5704
5705#define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5706static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5707 PyObject * _resultobj;
5708 bool _result;
5709 wxPyGridTableBase * _arg0;
5710 size_t _arg1 = (size_t ) 0;
5711 size_t _arg2 = (size_t ) 1;
5712 PyObject * _argo0 = 0;
5713 char *_kwnames[] = { "self","pos","numRows", NULL };
5714
5715 self = self;
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5717 return NULL;
5718 if (_argo0) {
5719 if (_argo0 == Py_None) { _arg0 = NULL; }
5720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5722 return NULL;
5723 }
5724 }
5725{
5726 wxPy_BEGIN_ALLOW_THREADS;
5727 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5728
5729 wxPy_END_ALLOW_THREADS;
4dfaa61e 5730 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5731} _resultobj = Py_BuildValue("i",_result);
5732 return _resultobj;
5733}
5734
5735#define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5736static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5737 PyObject * _resultobj;
5738 bool _result;
5739 wxPyGridTableBase * _arg0;
5740 size_t _arg1 = (size_t ) 1;
5741 PyObject * _argo0 = 0;
5742 char *_kwnames[] = { "self","numRows", NULL };
5743
5744 self = self;
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5746 return NULL;
5747 if (_argo0) {
5748 if (_argo0 == Py_None) { _arg0 = NULL; }
5749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5751 return NULL;
5752 }
5753 }
5754{
5755 wxPy_BEGIN_ALLOW_THREADS;
5756 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5757
5758 wxPy_END_ALLOW_THREADS;
4dfaa61e 5759 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5760} _resultobj = Py_BuildValue("i",_result);
5761 return _resultobj;
5762}
5763
5764#define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5765static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject * _resultobj;
5767 bool _result;
5768 wxPyGridTableBase * _arg0;
5769 size_t _arg1 = (size_t ) 0;
5770 size_t _arg2 = (size_t ) 1;
5771 PyObject * _argo0 = 0;
5772 char *_kwnames[] = { "self","pos","numRows", NULL };
5773
5774 self = self;
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5776 return NULL;
5777 if (_argo0) {
5778 if (_argo0 == Py_None) { _arg0 = NULL; }
5779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5781 return NULL;
5782 }
5783 }
5784{
5785 wxPy_BEGIN_ALLOW_THREADS;
5786 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5787
5788 wxPy_END_ALLOW_THREADS;
4dfaa61e 5789 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5790} _resultobj = Py_BuildValue("i",_result);
5791 return _resultobj;
5792}
5793
5794#define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5795static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject * _resultobj;
5797 bool _result;
5798 wxPyGridTableBase * _arg0;
5799 size_t _arg1 = (size_t ) 0;
5800 size_t _arg2 = (size_t ) 1;
5801 PyObject * _argo0 = 0;
5802 char *_kwnames[] = { "self","pos","numCols", NULL };
5803
5804 self = self;
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5806 return NULL;
5807 if (_argo0) {
5808 if (_argo0 == Py_None) { _arg0 = NULL; }
5809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5811 return NULL;
5812 }
5813 }
5814{
5815 wxPy_BEGIN_ALLOW_THREADS;
5816 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5817
5818 wxPy_END_ALLOW_THREADS;
4dfaa61e 5819 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5820} _resultobj = Py_BuildValue("i",_result);
5821 return _resultobj;
5822}
5823
5824#define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5825static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject * _resultobj;
5827 bool _result;
5828 wxPyGridTableBase * _arg0;
5829 size_t _arg1 = (size_t ) 1;
5830 PyObject * _argo0 = 0;
5831 char *_kwnames[] = { "self","numCols", NULL };
5832
5833 self = self;
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5835 return NULL;
5836 if (_argo0) {
5837 if (_argo0 == Py_None) { _arg0 = NULL; }
5838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5840 return NULL;
5841 }
5842 }
5843{
5844 wxPy_BEGIN_ALLOW_THREADS;
5845 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5846
5847 wxPy_END_ALLOW_THREADS;
4dfaa61e 5848 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5849} _resultobj = Py_BuildValue("i",_result);
5850 return _resultobj;
5851}
5852
5853#define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5854static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject * _resultobj;
5856 bool _result;
5857 wxPyGridTableBase * _arg0;
5858 size_t _arg1 = (size_t ) 0;
5859 size_t _arg2 = (size_t ) 1;
5860 PyObject * _argo0 = 0;
5861 char *_kwnames[] = { "self","pos","numCols", NULL };
5862
5863 self = self;
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5865 return NULL;
5866 if (_argo0) {
5867 if (_argo0 == Py_None) { _arg0 = NULL; }
5868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5870 return NULL;
5871 }
5872 }
5873{
5874 wxPy_BEGIN_ALLOW_THREADS;
5875 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
5876
5877 wxPy_END_ALLOW_THREADS;
4dfaa61e 5878 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5879} _resultobj = Py_BuildValue("i",_result);
5880 return _resultobj;
5881}
5882
5883#define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5884static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5885 PyObject * _resultobj;
5886 wxString * _result;
5887 wxPyGridTableBase * _arg0;
5888 int _arg1;
5889 PyObject * _argo0 = 0;
5890 char *_kwnames[] = { "self","row", NULL };
5891
5892 self = self;
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5894 return NULL;
5895 if (_argo0) {
5896 if (_argo0 == Py_None) { _arg0 = NULL; }
5897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5899 return NULL;
5900 }
5901 }
5902{
5903 wxPy_BEGIN_ALLOW_THREADS;
5904 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
5905
5906 wxPy_END_ALLOW_THREADS;
4dfaa61e 5907 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5908}{
5909 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5910}
5911{
5912 delete _result;
5913}
5914 return _resultobj;
5915}
5916
5917#define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5918static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5919 PyObject * _resultobj;
5920 wxString * _result;
5921 wxPyGridTableBase * _arg0;
5922 int _arg1;
5923 PyObject * _argo0 = 0;
5924 char *_kwnames[] = { "self","col", NULL };
5925
5926 self = self;
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5928 return NULL;
5929 if (_argo0) {
5930 if (_argo0 == Py_None) { _arg0 = NULL; }
5931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5933 return NULL;
5934 }
5935 }
5936{
5937 wxPy_BEGIN_ALLOW_THREADS;
5938 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
5939
5940 wxPy_END_ALLOW_THREADS;
4dfaa61e 5941 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5942}{
5943 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5944}
5945{
5946 delete _result;
5947}
5948 return _resultobj;
5949}
5950
5951#define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5952static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5953 PyObject * _resultobj;
5954 wxPyGridTableBase * _arg0;
5955 int _arg1;
5956 wxString * _arg2;
5957 PyObject * _argo0 = 0;
5958 PyObject * _obj2 = 0;
5959 char *_kwnames[] = { "self","row","value", NULL };
5960
5961 self = self;
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5963 return NULL;
5964 if (_argo0) {
5965 if (_argo0 == Py_None) { _arg0 = NULL; }
5966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5968 return NULL;
5969 }
5970 }
5971{
2cd2fac8
RD
5972#if PYTHON_API_VERSION >= 1009
5973 char* tmpPtr; int tmpSize;
5974 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 5975 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
5976 return NULL;
5977 }
5978 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5979 return NULL;
5980 _arg2 = new wxString(tmpPtr, tmpSize);
5981#else
f6bcfd97
BP
5982 if (!PyString_Check(_obj2)) {
5983 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5984 return NULL;
5985 }
2cd2fac8
RD
5986 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5987#endif
f6bcfd97
BP
5988}
5989{
5990 wxPy_BEGIN_ALLOW_THREADS;
5991 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
5992
5993 wxPy_END_ALLOW_THREADS;
4dfaa61e 5994 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5995} Py_INCREF(Py_None);
5996 _resultobj = Py_None;
5997{
5998 if (_obj2)
5999 delete _arg2;
6000}
6001 return _resultobj;
6002}
6003
6004#define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6005static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject * _resultobj;
6007 wxPyGridTableBase * _arg0;
6008 int _arg1;
6009 wxString * _arg2;
6010 PyObject * _argo0 = 0;
6011 PyObject * _obj2 = 0;
6012 char *_kwnames[] = { "self","col","value", NULL };
6013
6014 self = self;
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6016 return NULL;
6017 if (_argo0) {
6018 if (_argo0 == Py_None) { _arg0 = NULL; }
6019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6021 return NULL;
6022 }
6023 }
6024{
2cd2fac8
RD
6025#if PYTHON_API_VERSION >= 1009
6026 char* tmpPtr; int tmpSize;
6027 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 6028 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6029 return NULL;
6030 }
6031 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6032 return NULL;
6033 _arg2 = new wxString(tmpPtr, tmpSize);
6034#else
f6bcfd97
BP
6035 if (!PyString_Check(_obj2)) {
6036 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6037 return NULL;
6038 }
2cd2fac8
RD
6039 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6040#endif
f6bcfd97
BP
6041}
6042{
6043 wxPy_BEGIN_ALLOW_THREADS;
6044 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6045
6046 wxPy_END_ALLOW_THREADS;
4dfaa61e 6047 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6048} Py_INCREF(Py_None);
6049 _resultobj = Py_None;
6050{
6051 if (_obj2)
6052 delete _arg2;
6053}
6054 return _resultobj;
6055}
6056
6057#define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6058static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6059 PyObject * _resultobj;
6060 bool _result;
6061 wxPyGridTableBase * _arg0;
6062 PyObject * _argo0 = 0;
6063 char *_kwnames[] = { "self", NULL };
6064
6065 self = self;
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6067 return NULL;
6068 if (_argo0) {
6069 if (_argo0 == Py_None) { _arg0 = NULL; }
6070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6072 return NULL;
6073 }
6074 }
6075{
6076 wxPy_BEGIN_ALLOW_THREADS;
6077 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6078
6079 wxPy_END_ALLOW_THREADS;
4dfaa61e 6080 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6081} _resultobj = Py_BuildValue("i",_result);
6082 return _resultobj;
6083}
6084
9df61a29 6085#define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
6086static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6087 PyObject * _resultobj;
6088 wxGridCellAttr * _result;
6089 wxPyGridTableBase * _arg0;
6090 int _arg1;
6091 int _arg2;
9df61a29 6092 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 6093 PyObject * _argo0 = 0;
9df61a29 6094 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
6095 char _ptemp[128];
6096
6097 self = self;
9df61a29 6098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
6099 return NULL;
6100 if (_argo0) {
6101 if (_argo0 == Py_None) { _arg0 = NULL; }
6102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6104 return NULL;
6105 }
6106 }
6107{
6108 wxPy_BEGIN_ALLOW_THREADS;
9df61a29 6109 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97
BP
6110
6111 wxPy_END_ALLOW_THREADS;
4dfaa61e 6112 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6113} if (_result) {
6114 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
6115 _resultobj = Py_BuildValue("s",_ptemp);
6116 } else {
6117 Py_INCREF(Py_None);
6118 _resultobj = Py_None;
6119 }
6120 return _resultobj;
6121}
6122
6123#define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6124static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject * _resultobj;
6126 wxPyGridTableBase * _arg0;
6127 wxGridCellAttr * _arg1;
6128 int _arg2;
6129 int _arg3;
6130 PyObject * _argo0 = 0;
6131 PyObject * _argo1 = 0;
6132 char *_kwnames[] = { "self","attr","row","col", NULL };
6133
6134 self = self;
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6136 return NULL;
6137 if (_argo0) {
6138 if (_argo0 == Py_None) { _arg0 = NULL; }
6139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6141 return NULL;
6142 }
6143 }
6144 if (_argo1) {
6145 if (_argo1 == Py_None) { _arg1 = NULL; }
6146 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6147 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6148 return NULL;
6149 }
6150 }
6151{
6152 wxPy_BEGIN_ALLOW_THREADS;
6153 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6154
6155 wxPy_END_ALLOW_THREADS;
4dfaa61e 6156 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6157} Py_INCREF(Py_None);
6158 _resultobj = Py_None;
6159 return _resultobj;
6160}
6161
6162#define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6163static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6164 PyObject * _resultobj;
6165 wxPyGridTableBase * _arg0;
6166 wxGridCellAttr * _arg1;
6167 int _arg2;
6168 PyObject * _argo0 = 0;
6169 PyObject * _argo1 = 0;
6170 char *_kwnames[] = { "self","attr","row", NULL };
6171
6172 self = self;
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6174 return NULL;
6175 if (_argo0) {
6176 if (_argo0 == Py_None) { _arg0 = NULL; }
6177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6179 return NULL;
6180 }
6181 }
6182 if (_argo1) {
6183 if (_argo1 == Py_None) { _arg1 = NULL; }
6184 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6185 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6186 return NULL;
6187 }
6188 }
6189{
6190 wxPy_BEGIN_ALLOW_THREADS;
6191 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6192
6193 wxPy_END_ALLOW_THREADS;
4dfaa61e 6194 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6195} Py_INCREF(Py_None);
6196 _resultobj = Py_None;
6197 return _resultobj;
6198}
6199
6200#define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6201static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject * _resultobj;
6203 wxPyGridTableBase * _arg0;
6204 wxGridCellAttr * _arg1;
6205 int _arg2;
6206 PyObject * _argo0 = 0;
6207 PyObject * _argo1 = 0;
6208 char *_kwnames[] = { "self","attr","col", NULL };
6209
6210 self = self;
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6212 return NULL;
6213 if (_argo0) {
6214 if (_argo0 == Py_None) { _arg0 = NULL; }
6215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6217 return NULL;
6218 }
6219 }
6220 if (_argo1) {
6221 if (_argo1 == Py_None) { _arg1 = NULL; }
6222 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6223 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6224 return NULL;
6225 }
6226 }
6227{
6228 wxPy_BEGIN_ALLOW_THREADS;
6229 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6230
6231 wxPy_END_ALLOW_THREADS;
4dfaa61e 6232 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6233} Py_INCREF(Py_None);
6234 _resultobj = Py_None;
6235 return _resultobj;
6236}
6237
6238static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6239 wxGridStringTable *src;
6240 wxGridTableBase *dest;
6241 src = (wxGridStringTable *) ptr;
6242 dest = (wxGridTableBase *) src;
6243 return (void *) dest;
6244}
6245
9df61a29
RD
6246static void *SwigwxGridStringTableTowxObject(void *ptr) {
6247 wxGridStringTable *src;
6248 wxObject *dest;
6249 src = (wxGridStringTable *) ptr;
6250 dest = (wxObject *) src;
6251 return (void *) dest;
6252}
6253
f6bcfd97
BP
6254#define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6255static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject * _resultobj;
6257 wxGridStringTable * _result;
6258 int _arg0 = (int ) 0;
6259 int _arg1 = (int ) 0;
6260 char *_kwnames[] = { "numRows","numCols", NULL };
6261 char _ptemp[128];
6262
6263 self = self;
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6265 return NULL;
6266{
6267 wxPy_BEGIN_ALLOW_THREADS;
6268 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6269
6270 wxPy_END_ALLOW_THREADS;
4dfaa61e 6271 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6272} if (_result) {
6273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6274 _resultobj = Py_BuildValue("s",_ptemp);
6275 } else {
6276 Py_INCREF(Py_None);
6277 _resultobj = Py_None;
6278 }
6279 return _resultobj;
6280}
6281
6282#define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6283static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject * _resultobj;
6285 wxGridTableMessage * _result;
6286 wxGridTableBase * _arg0;
6287 int _arg1;
6288 int _arg2 = (int ) -1;
6289 int _arg3 = (int ) -1;
6290 PyObject * _argo0 = 0;
6291 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6292 char _ptemp[128];
6293
6294 self = self;
6295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6296 return NULL;
6297 if (_argo0) {
6298 if (_argo0 == Py_None) { _arg0 = NULL; }
6299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6301 return NULL;
6302 }
6303 }
6304{
6305 wxPy_BEGIN_ALLOW_THREADS;
6306 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6307
6308 wxPy_END_ALLOW_THREADS;
4dfaa61e 6309 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6310} if (_result) {
6311 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6312 _resultobj = Py_BuildValue("s",_ptemp);
6313 } else {
6314 Py_INCREF(Py_None);
6315 _resultobj = Py_None;
6316 }
6317 return _resultobj;
6318}
6319
6320#define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6321static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject * _resultobj;
6323 wxGridTableMessage * _arg0;
6324 PyObject * _argo0 = 0;
6325 char *_kwnames[] = { "self", NULL };
6326
6327 self = self;
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6329 return NULL;
6330 if (_argo0) {
6331 if (_argo0 == Py_None) { _arg0 = NULL; }
6332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6334 return NULL;
6335 }
6336 }
6337{
6338 wxPy_BEGIN_ALLOW_THREADS;
6339 delete_wxGridTableMessage(_arg0);
6340
6341 wxPy_END_ALLOW_THREADS;
4dfaa61e 6342 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6343} Py_INCREF(Py_None);
6344 _resultobj = Py_None;
6345 return _resultobj;
6346}
6347
6348#define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6349static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject * _resultobj;
6351 wxGridTableMessage * _arg0;
6352 wxGridTableBase * _arg1;
6353 PyObject * _argo0 = 0;
6354 PyObject * _argo1 = 0;
6355 char *_kwnames[] = { "self","table", NULL };
6356
6357 self = self;
6358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6359 return NULL;
6360 if (_argo0) {
6361 if (_argo0 == Py_None) { _arg0 = NULL; }
6362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6364 return NULL;
6365 }
6366 }
6367 if (_argo1) {
6368 if (_argo1 == Py_None) { _arg1 = NULL; }
6369 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6370 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6371 return NULL;
6372 }
6373 }
6374{
6375 wxPy_BEGIN_ALLOW_THREADS;
6376 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6377
6378 wxPy_END_ALLOW_THREADS;
4dfaa61e 6379 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6380} Py_INCREF(Py_None);
6381 _resultobj = Py_None;
6382 return _resultobj;
6383}
6384
6385#define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6386static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6387 PyObject * _resultobj;
6388 wxGridTableBase * _result;
6389 wxGridTableMessage * _arg0;
6390 PyObject * _argo0 = 0;
6391 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
6392
6393 self = self;
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6395 return NULL;
6396 if (_argo0) {
6397 if (_argo0 == Py_None) { _arg0 = NULL; }
6398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6400 return NULL;
6401 }
6402 }
6403{
6404 wxPy_BEGIN_ALLOW_THREADS;
6405 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6406
6407 wxPy_END_ALLOW_THREADS;
4dfaa61e 6408 if (PyErr_Occurred()) return NULL;
9df61a29 6409}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
6410 return _resultobj;
6411}
6412
6413#define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6414static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject * _resultobj;
6416 wxGridTableMessage * _arg0;
6417 int _arg1;
6418 PyObject * _argo0 = 0;
6419 char *_kwnames[] = { "self","id", NULL };
6420
6421 self = self;
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6423 return NULL;
6424 if (_argo0) {
6425 if (_argo0 == Py_None) { _arg0 = NULL; }
6426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6428 return NULL;
6429 }
6430 }
6431{
6432 wxPy_BEGIN_ALLOW_THREADS;
6433 wxGridTableMessage_SetId(_arg0,_arg1);
6434
6435 wxPy_END_ALLOW_THREADS;
4dfaa61e 6436 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6437} Py_INCREF(Py_None);
6438 _resultobj = Py_None;
6439 return _resultobj;
6440}
6441
6442#define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6443static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6444 PyObject * _resultobj;
6445 int _result;
6446 wxGridTableMessage * _arg0;
6447 PyObject * _argo0 = 0;
6448 char *_kwnames[] = { "self", NULL };
6449
6450 self = self;
6451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6452 return NULL;
6453 if (_argo0) {
6454 if (_argo0 == Py_None) { _arg0 = NULL; }
6455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6457 return NULL;
6458 }
6459 }
6460{
6461 wxPy_BEGIN_ALLOW_THREADS;
6462 _result = (int )wxGridTableMessage_GetId(_arg0);
6463
6464 wxPy_END_ALLOW_THREADS;
4dfaa61e 6465 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6466} _resultobj = Py_BuildValue("i",_result);
6467 return _resultobj;
6468}
6469
6470#define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6471static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6472 PyObject * _resultobj;
6473 wxGridTableMessage * _arg0;
6474 int _arg1;
6475 PyObject * _argo0 = 0;
6476 char *_kwnames[] = { "self","comInt1", NULL };
6477
6478 self = self;
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6480 return NULL;
6481 if (_argo0) {
6482 if (_argo0 == Py_None) { _arg0 = NULL; }
6483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6485 return NULL;
6486 }
6487 }
6488{
6489 wxPy_BEGIN_ALLOW_THREADS;
6490 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6491
6492 wxPy_END_ALLOW_THREADS;
4dfaa61e 6493 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6494} Py_INCREF(Py_None);
6495 _resultobj = Py_None;
6496 return _resultobj;
6497}
6498
6499#define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6500static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject * _resultobj;
6502 int _result;
6503 wxGridTableMessage * _arg0;
6504 PyObject * _argo0 = 0;
6505 char *_kwnames[] = { "self", NULL };
6506
6507 self = self;
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6509 return NULL;
6510 if (_argo0) {
6511 if (_argo0 == Py_None) { _arg0 = NULL; }
6512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6514 return NULL;
6515 }
6516 }
6517{
6518 wxPy_BEGIN_ALLOW_THREADS;
6519 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6520
6521 wxPy_END_ALLOW_THREADS;
4dfaa61e 6522 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6523} _resultobj = Py_BuildValue("i",_result);
6524 return _resultobj;
6525}
6526
6527#define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6528static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6529 PyObject * _resultobj;
6530 wxGridTableMessage * _arg0;
6531 int _arg1;
6532 PyObject * _argo0 = 0;
6533 char *_kwnames[] = { "self","comInt2", NULL };
6534
6535 self = self;
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6537 return NULL;
6538 if (_argo0) {
6539 if (_argo0 == Py_None) { _arg0 = NULL; }
6540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6542 return NULL;
6543 }
6544 }
6545{
6546 wxPy_BEGIN_ALLOW_THREADS;
6547 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6548
6549 wxPy_END_ALLOW_THREADS;
4dfaa61e 6550 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6551} Py_INCREF(Py_None);
6552 _resultobj = Py_None;
6553 return _resultobj;
6554}
6555
6556#define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6557static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6558 PyObject * _resultobj;
6559 int _result;
6560 wxGridTableMessage * _arg0;
6561 PyObject * _argo0 = 0;
6562 char *_kwnames[] = { "self", NULL };
6563
6564 self = self;
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6566 return NULL;
6567 if (_argo0) {
6568 if (_argo0 == Py_None) { _arg0 = NULL; }
6569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6571 return NULL;
6572 }
6573 }
6574{
6575 wxPy_BEGIN_ALLOW_THREADS;
6576 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6577
6578 wxPy_END_ALLOW_THREADS;
4dfaa61e 6579 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6580} _resultobj = Py_BuildValue("i",_result);
6581 return _resultobj;
6582}
6583
6584#define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6585static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject * _resultobj;
6587 wxGridCellCoords * _result;
6588 int _arg0 = (int ) -1;
6589 int _arg1 = (int ) -1;
6590 char *_kwnames[] = { "r","c", NULL };
6591 char _ptemp[128];
6592
6593 self = self;
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6595 return NULL;
6596{
6597 wxPy_BEGIN_ALLOW_THREADS;
6598 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6599
6600 wxPy_END_ALLOW_THREADS;
4dfaa61e 6601 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6602} if (_result) {
6603 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6604 _resultobj = Py_BuildValue("s",_ptemp);
6605 } else {
6606 Py_INCREF(Py_None);
6607 _resultobj = Py_None;
6608 }
6609 return _resultobj;
6610}
6611
6612#define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6613static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject * _resultobj;
6615 wxGridCellCoords * _arg0;
6616 PyObject * _argo0 = 0;
6617 char *_kwnames[] = { "self", NULL };
6618
6619 self = self;
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6621 return NULL;
6622 if (_argo0) {
6623 if (_argo0 == Py_None) { _arg0 = NULL; }
6624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6626 return NULL;
6627 }
6628 }
6629{
6630 wxPy_BEGIN_ALLOW_THREADS;
6631 delete_wxGridCellCoords(_arg0);
6632
6633 wxPy_END_ALLOW_THREADS;
4dfaa61e 6634 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6635} Py_INCREF(Py_None);
6636 _resultobj = Py_None;
6637 return _resultobj;
6638}
6639
6640#define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6641static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6642 PyObject * _resultobj;
6643 int _result;
6644 wxGridCellCoords * _arg0;
6645 PyObject * _argo0 = 0;
6646 char *_kwnames[] = { "self", NULL };
6647
6648 self = self;
6649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6650 return NULL;
6651 if (_argo0) {
6652 if (_argo0 == Py_None) { _arg0 = NULL; }
6653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6655 return NULL;
6656 }
6657 }
6658{
6659 wxPy_BEGIN_ALLOW_THREADS;
6660 _result = (int )wxGridCellCoords_GetRow(_arg0);
6661
6662 wxPy_END_ALLOW_THREADS;
4dfaa61e 6663 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6664} _resultobj = Py_BuildValue("i",_result);
6665 return _resultobj;
6666}
6667
6668#define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6669static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6670 PyObject * _resultobj;
6671 wxGridCellCoords * _arg0;
6672 int _arg1;
6673 PyObject * _argo0 = 0;
6674 char *_kwnames[] = { "self","n", NULL };
6675
6676 self = self;
6677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6678 return NULL;
6679 if (_argo0) {
6680 if (_argo0 == Py_None) { _arg0 = NULL; }
6681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6683 return NULL;
6684 }
6685 }
6686{
6687 wxPy_BEGIN_ALLOW_THREADS;
6688 wxGridCellCoords_SetRow(_arg0,_arg1);
6689
6690 wxPy_END_ALLOW_THREADS;
4dfaa61e 6691 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6692} Py_INCREF(Py_None);
6693 _resultobj = Py_None;
6694 return _resultobj;
6695}
6696
6697#define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6698static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6699 PyObject * _resultobj;
6700 int _result;
6701 wxGridCellCoords * _arg0;
6702 PyObject * _argo0 = 0;
6703 char *_kwnames[] = { "self", NULL };
6704
6705 self = self;
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6707 return NULL;
6708 if (_argo0) {
6709 if (_argo0 == Py_None) { _arg0 = NULL; }
6710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6712 return NULL;
6713 }
6714 }
6715{
6716 wxPy_BEGIN_ALLOW_THREADS;
6717 _result = (int )wxGridCellCoords_GetCol(_arg0);
6718
6719 wxPy_END_ALLOW_THREADS;
4dfaa61e 6720 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6721} _resultobj = Py_BuildValue("i",_result);
6722 return _resultobj;
6723}
6724
6725#define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6726static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6727 PyObject * _resultobj;
6728 wxGridCellCoords * _arg0;
6729 int _arg1;
6730 PyObject * _argo0 = 0;
6731 char *_kwnames[] = { "self","n", NULL };
6732
6733 self = self;
6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6735 return NULL;
6736 if (_argo0) {
6737 if (_argo0 == Py_None) { _arg0 = NULL; }
6738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6740 return NULL;
6741 }
6742 }
6743{
6744 wxPy_BEGIN_ALLOW_THREADS;
6745 wxGridCellCoords_SetCol(_arg0,_arg1);
6746
6747 wxPy_END_ALLOW_THREADS;
4dfaa61e 6748 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6749} Py_INCREF(Py_None);
6750 _resultobj = Py_None;
6751 return _resultobj;
6752}
6753
6754#define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6755static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6756 PyObject * _resultobj;
6757 wxGridCellCoords * _arg0;
6758 int _arg1;
6759 int _arg2;
6760 PyObject * _argo0 = 0;
6761 char *_kwnames[] = { "self","row","col", NULL };
6762
6763 self = self;
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6765 return NULL;
6766 if (_argo0) {
6767 if (_argo0 == Py_None) { _arg0 = NULL; }
6768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6770 return NULL;
6771 }
6772 }
6773{
6774 wxPy_BEGIN_ALLOW_THREADS;
6775 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6776
6777 wxPy_END_ALLOW_THREADS;
4dfaa61e 6778 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6779} Py_INCREF(Py_None);
6780 _resultobj = Py_None;
6781 return _resultobj;
6782}
6783
6784static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6785 PyObject* tup = PyTuple_New(2);
6786 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6787 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6788 return tup;
6789 }
6790static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6791 PyObject * _resultobj;
6792 PyObject * _result;
6793 wxGridCellCoords * _arg0;
6794 PyObject * _argo0 = 0;
6795 char *_kwnames[] = { "self", NULL };
6796
6797 self = self;
6798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6799 return NULL;
6800 if (_argo0) {
6801 if (_argo0 == Py_None) { _arg0 = NULL; }
6802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6804 return NULL;
6805 }
6806 }
6807{
6808 wxPy_BEGIN_ALLOW_THREADS;
6809 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6810
6811 wxPy_END_ALLOW_THREADS;
4dfaa61e 6812 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6813}{
6814 _resultobj = _result;
6815}
6816 return _resultobj;
6817}
6818
6819static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6820 return *self != other;
6821 }
6822static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6823 PyObject * _resultobj;
6824 int _result;
6825 wxGridCellCoords * _arg0;
6826 wxGridCellCoords * _arg1;
6827 PyObject * _argo0 = 0;
6828 PyObject * _argo1 = 0;
6829 char *_kwnames[] = { "self","other", NULL };
6830
6831 self = self;
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6833 return NULL;
6834 if (_argo0) {
6835 if (_argo0 == Py_None) { _arg0 = NULL; }
6836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6838 return NULL;
6839 }
6840 }
6841 if (_argo1) {
6842 if (_argo1 == Py_None) { _arg1 = NULL; }
6843 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6844 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6845 return NULL;
6846 }
6847 }
6848{
6849 wxPy_BEGIN_ALLOW_THREADS;
6850 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6851
6852 wxPy_END_ALLOW_THREADS;
4dfaa61e 6853 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6854} _resultobj = Py_BuildValue("i",_result);
6855 return _resultobj;
6856}
6857
6858static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6859 wxGrid *src;
6860 wxScrolledWindow *dest;
6861 src = (wxGrid *) ptr;
6862 dest = (wxScrolledWindow *) src;
6863 return (void *) dest;
6864}
6865
6866static void *SwigwxGridTowxPanel(void *ptr) {
6867 wxGrid *src;
6868 wxPanel *dest;
6869 src = (wxGrid *) ptr;
6870 dest = (wxPanel *) src;
6871 return (void *) dest;
6872}
6873
6874static void *SwigwxGridTowxWindow(void *ptr) {
6875 wxGrid *src;
6876 wxWindow *dest;
6877 src = (wxGrid *) ptr;
6878 dest = (wxWindow *) src;
6879 return (void *) dest;
6880}
6881
6882static void *SwigwxGridTowxEvtHandler(void *ptr) {
6883 wxGrid *src;
6884 wxEvtHandler *dest;
6885 src = (wxGrid *) ptr;
6886 dest = (wxEvtHandler *) src;
6887 return (void *) dest;
6888}
6889
9df61a29
RD
6890static void *SwigwxGridTowxObject(void *ptr) {
6891 wxGrid *src;
6892 wxObject *dest;
6893 src = (wxGrid *) ptr;
6894 dest = (wxObject *) src;
6895 return (void *) dest;
6896}
6897
f6bcfd97
BP
6898#define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6899static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6900 PyObject * _resultobj;
6901 wxGrid * _result;
6902 wxWindow * _arg0;
6903 wxWindowID _arg1;
6904 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6905 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6906 long _arg4 = (long ) wxWANTS_CHARS;
6907 char * _arg5 = (char *) wxPanelNameStr;
6908 PyObject * _argo0 = 0;
6909 wxPoint temp;
6910 PyObject * _obj2 = 0;
6911 wxSize temp0;
6912 PyObject * _obj3 = 0;
6913 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6914 char _ptemp[128];
6915
6916 self = self;
6917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
6918 return NULL;
6919 if (_argo0) {
6920 if (_argo0 == Py_None) { _arg0 = NULL; }
6921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6923 return NULL;
6924 }
6925 }
6926 if (_obj2)
6927{
6928 _arg2 = &temp;
6929 if (! wxPoint_helper(_obj2, &_arg2))
6930 return NULL;
6931}
6932 if (_obj3)
6933{
6934 _arg3 = &temp0;
6935 if (! wxSize_helper(_obj3, &_arg3))
6936 return NULL;
6937}
6938{
6939 wxPy_BEGIN_ALLOW_THREADS;
6940 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
6941
6942 wxPy_END_ALLOW_THREADS;
4dfaa61e 6943 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6944} if (_result) {
6945 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
6946 _resultobj = Py_BuildValue("s",_ptemp);
6947 } else {
6948 Py_INCREF(Py_None);
6949 _resultobj = Py_None;
6950 }
6951 return _resultobj;
6952}
6953
6954#define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6955static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6956 PyObject * _resultobj;
6957 bool _result;
6958 wxGrid * _arg0;
6959 int _arg1;
6960 int _arg2;
6961 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6962 PyObject * _argo0 = 0;
6963 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
6964
6965 self = self;
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6967 return NULL;
6968 if (_argo0) {
6969 if (_argo0 == Py_None) { _arg0 = NULL; }
6970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6972 return NULL;
6973 }
6974 }
6975{
6976 wxPy_BEGIN_ALLOW_THREADS;
6977 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
6978
6979 wxPy_END_ALLOW_THREADS;
4dfaa61e 6980 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6981} _resultobj = Py_BuildValue("i",_result);
6982 return _resultobj;
6983}
6984
6985#define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6986static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject * _resultobj;
6988 wxGrid * _arg0;
6989 WXGRIDSELECTIONMODES _arg1;
6990 PyObject * _argo0 = 0;
6991 char *_kwnames[] = { "self","selmode", NULL };
6992
6993 self = self;
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
6995 return NULL;
6996 if (_argo0) {
6997 if (_argo0 == Py_None) { _arg0 = NULL; }
6998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7000 return NULL;
7001 }
7002 }
7003{
7004 wxPy_BEGIN_ALLOW_THREADS;
7005 wxGrid_SetSelectionMode(_arg0,_arg1);
7006
7007 wxPy_END_ALLOW_THREADS;
4dfaa61e 7008 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7009} Py_INCREF(Py_None);
7010 _resultobj = Py_None;
7011 return _resultobj;
7012}
7013
7014#define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7015static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject * _resultobj;
7017 int _result;
7018 wxGrid * _arg0;
7019 PyObject * _argo0 = 0;
7020 char *_kwnames[] = { "self", NULL };
7021
7022 self = self;
7023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7024 return NULL;
7025 if (_argo0) {
7026 if (_argo0 == Py_None) { _arg0 = NULL; }
7027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7029 return NULL;
7030 }
7031 }
7032{
7033 wxPy_BEGIN_ALLOW_THREADS;
7034 _result = (int )wxGrid_GetNumberRows(_arg0);
7035
7036 wxPy_END_ALLOW_THREADS;
4dfaa61e 7037 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7038} _resultobj = Py_BuildValue("i",_result);
7039 return _resultobj;
7040}
7041
7042#define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7043static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject * _resultobj;
7045 int _result;
7046 wxGrid * _arg0;
7047 PyObject * _argo0 = 0;
7048 char *_kwnames[] = { "self", NULL };
7049
7050 self = self;
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7052 return NULL;
7053 if (_argo0) {
7054 if (_argo0 == Py_None) { _arg0 = NULL; }
7055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7057 return NULL;
7058 }
7059 }
7060{
7061 wxPy_BEGIN_ALLOW_THREADS;
7062 _result = (int )wxGrid_GetNumberCols(_arg0);
7063
7064 wxPy_END_ALLOW_THREADS;
4dfaa61e 7065 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7066} _resultobj = Py_BuildValue("i",_result);
7067 return _resultobj;
7068}
7069
7070#define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7071static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject * _resultobj;
7073 bool _result;
7074 wxGrid * _arg0;
7075 wxGridTableMessage * _arg1;
7076 PyObject * _argo0 = 0;
7077 PyObject * _argo1 = 0;
7078 char *_kwnames[] = { "self","arg2", NULL };
7079
7080 self = self;
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7082 return NULL;
7083 if (_argo0) {
7084 if (_argo0 == Py_None) { _arg0 = NULL; }
7085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7087 return NULL;
7088 }
7089 }
7090 if (_argo1) {
7091 if (_argo1 == Py_None) { _arg1 = NULL; }
7092 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7093 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7094 return NULL;
7095 }
7096 }
7097{
7098 wxPy_BEGIN_ALLOW_THREADS;
7099 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7100
7101 wxPy_END_ALLOW_THREADS;
4dfaa61e 7102 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7103} _resultobj = Py_BuildValue("i",_result);
7104 return _resultobj;
7105}
7106
7107#define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7108static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject * _resultobj;
7110 wxGridTableBase * _result;
7111 wxGrid * _arg0;
7112 PyObject * _argo0 = 0;
7113 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
7114
7115 self = self;
7116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7117 return NULL;
7118 if (_argo0) {
7119 if (_argo0 == Py_None) { _arg0 = NULL; }
7120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7122 return NULL;
7123 }
7124 }
7125{
7126 wxPy_BEGIN_ALLOW_THREADS;
7127 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7128
7129 wxPy_END_ALLOW_THREADS;
4dfaa61e 7130 if (PyErr_Occurred()) return NULL;
9df61a29 7131}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
7132 return _resultobj;
7133}
7134
7135#define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7136static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject * _resultobj;
7138 bool _result;
7139 wxGrid * _arg0;
7140 wxGridTableBase * _arg1;
7141 bool _arg2 = (bool ) FALSE;
7142 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7143 PyObject * _argo0 = 0;
7144 PyObject * _argo1 = 0;
7145 int tempbool2 = (int) FALSE;
7146 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7147
7148 self = self;
7149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7150 return NULL;
7151 if (_argo0) {
7152 if (_argo0 == Py_None) { _arg0 = NULL; }
7153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7155 return NULL;
7156 }
7157 }
7158 if (_argo1) {
7159 if (_argo1 == Py_None) { _arg1 = NULL; }
7160 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7161 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7162 return NULL;
7163 }
7164 }
7165 _arg2 = (bool ) tempbool2;
7166{
7167 wxPy_BEGIN_ALLOW_THREADS;
7168 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7169
7170 wxPy_END_ALLOW_THREADS;
4dfaa61e 7171 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7172} _resultobj = Py_BuildValue("i",_result);
7173 return _resultobj;
7174}
7175
7176#define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7177static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject * _resultobj;
7179 wxGrid * _arg0;
7180 PyObject * _argo0 = 0;
7181 char *_kwnames[] = { "self", NULL };
7182
7183 self = self;
7184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7185 return NULL;
7186 if (_argo0) {
7187 if (_argo0 == Py_None) { _arg0 = NULL; }
7188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7190 return NULL;
7191 }
7192 }
7193{
7194 wxPy_BEGIN_ALLOW_THREADS;
7195 wxGrid_ClearGrid(_arg0);
7196
7197 wxPy_END_ALLOW_THREADS;
4dfaa61e 7198 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7199} Py_INCREF(Py_None);
7200 _resultobj = Py_None;
7201 return _resultobj;
7202}
7203
7204#define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7205static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7206 PyObject * _resultobj;
7207 bool _result;
7208 wxGrid * _arg0;
7209 int _arg1 = (int ) 0;
7210 int _arg2 = (int ) 1;
7211 bool _arg3 = (bool ) TRUE;
7212 PyObject * _argo0 = 0;
7213 int tempbool3 = (int) TRUE;
7214 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7215
7216 self = self;
7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7218 return NULL;
7219 if (_argo0) {
7220 if (_argo0 == Py_None) { _arg0 = NULL; }
7221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7223 return NULL;
7224 }
7225 }
7226 _arg3 = (bool ) tempbool3;
7227{
7228 wxPy_BEGIN_ALLOW_THREADS;
7229 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7230
7231 wxPy_END_ALLOW_THREADS;
4dfaa61e 7232 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7233} _resultobj = Py_BuildValue("i",_result);
7234 return _resultobj;
7235}
7236
7237#define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7238static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7239 PyObject * _resultobj;
7240 bool _result;
7241 wxGrid * _arg0;
7242 int _arg1 = (int ) 1;
7243 bool _arg2 = (bool ) TRUE;
7244 PyObject * _argo0 = 0;
7245 int tempbool2 = (int) TRUE;
7246 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7247
7248 self = self;
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7250 return NULL;
7251 if (_argo0) {
7252 if (_argo0 == Py_None) { _arg0 = NULL; }
7253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7255 return NULL;
7256 }
7257 }
7258 _arg2 = (bool ) tempbool2;
7259{
7260 wxPy_BEGIN_ALLOW_THREADS;
7261 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7262
7263 wxPy_END_ALLOW_THREADS;
4dfaa61e 7264 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7265} _resultobj = Py_BuildValue("i",_result);
7266 return _resultobj;
7267}
7268
7269#define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7270static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject * _resultobj;
7272 bool _result;
7273 wxGrid * _arg0;
7274 int _arg1 = (int ) 0;
7275 int _arg2 = (int ) 1;
7276 bool _arg3 = (bool ) TRUE;
7277 PyObject * _argo0 = 0;
7278 int tempbool3 = (int) TRUE;
7279 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7280
7281 self = self;
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7283 return NULL;
7284 if (_argo0) {
7285 if (_argo0 == Py_None) { _arg0 = NULL; }
7286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7288 return NULL;
7289 }
7290 }
7291 _arg3 = (bool ) tempbool3;
7292{
7293 wxPy_BEGIN_ALLOW_THREADS;
7294 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7295
7296 wxPy_END_ALLOW_THREADS;
4dfaa61e 7297 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7298} _resultobj = Py_BuildValue("i",_result);
7299 return _resultobj;
7300}
7301
7302#define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7303static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7304 PyObject * _resultobj;
7305 bool _result;
7306 wxGrid * _arg0;
7307 int _arg1 = (int ) 0;
7308 int _arg2 = (int ) 1;
7309 bool _arg3 = (bool ) TRUE;
7310 PyObject * _argo0 = 0;
7311 int tempbool3 = (int) TRUE;
7312 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7313
7314 self = self;
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7316 return NULL;
7317 if (_argo0) {
7318 if (_argo0 == Py_None) { _arg0 = NULL; }
7319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7321 return NULL;
7322 }
7323 }
7324 _arg3 = (bool ) tempbool3;
7325{
7326 wxPy_BEGIN_ALLOW_THREADS;
7327 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7328
7329 wxPy_END_ALLOW_THREADS;
4dfaa61e 7330 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7331} _resultobj = Py_BuildValue("i",_result);
7332 return _resultobj;
7333}
7334
7335#define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7336static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7337 PyObject * _resultobj;
7338 bool _result;
7339 wxGrid * _arg0;
7340 int _arg1 = (int ) 1;
7341 bool _arg2 = (bool ) TRUE;
7342 PyObject * _argo0 = 0;
7343 int tempbool2 = (int) TRUE;
7344 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7345
7346 self = self;
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7348 return NULL;
7349 if (_argo0) {
7350 if (_argo0 == Py_None) { _arg0 = NULL; }
7351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7353 return NULL;
7354 }
7355 }
7356 _arg2 = (bool ) tempbool2;
7357{
7358 wxPy_BEGIN_ALLOW_THREADS;
7359 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7360
7361 wxPy_END_ALLOW_THREADS;
4dfaa61e 7362 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7363} _resultobj = Py_BuildValue("i",_result);
7364 return _resultobj;
7365}
7366
7367#define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7368static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7369 PyObject * _resultobj;
7370 bool _result;
7371 wxGrid * _arg0;
7372 int _arg1 = (int ) 0;
7373 int _arg2 = (int ) 1;
7374 bool _arg3 = (bool ) TRUE;
7375 PyObject * _argo0 = 0;
7376 int tempbool3 = (int) TRUE;
7377 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7378
7379 self = self;
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7381 return NULL;
7382 if (_argo0) {
7383 if (_argo0 == Py_None) { _arg0 = NULL; }
7384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7386 return NULL;
7387 }
7388 }
7389 _arg3 = (bool ) tempbool3;
7390{
7391 wxPy_BEGIN_ALLOW_THREADS;
7392 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7393
7394 wxPy_END_ALLOW_THREADS;
4dfaa61e 7395 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7396} _resultobj = Py_BuildValue("i",_result);
7397 return _resultobj;
7398}
7399
7400#define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7401static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject * _resultobj;
7403 wxGrid * _arg0;
7404 wxDC * _arg1;
7405 wxGridCellAttr * _arg2;
7406 PyObject * _argo0 = 0;
7407 PyObject * _argo1 = 0;
7408 PyObject * _argo2 = 0;
7409 char *_kwnames[] = { "self","dc","attr", NULL };
7410
7411 self = self;
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7413 return NULL;
7414 if (_argo0) {
7415 if (_argo0 == Py_None) { _arg0 = NULL; }
7416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7418 return NULL;
7419 }
7420 }
7421 if (_argo1) {
7422 if (_argo1 == Py_None) { _arg1 = NULL; }
7423 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7424 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7425 return NULL;
7426 }
7427 }
7428 if (_argo2) {
7429 if (_argo2 == Py_None) { _arg2 = NULL; }
7430 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7431 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7432 return NULL;
7433 }
7434 }
7435{
7436 wxPy_BEGIN_ALLOW_THREADS;
7437 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7438
7439 wxPy_END_ALLOW_THREADS;
4dfaa61e 7440 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7441} Py_INCREF(Py_None);
7442 _resultobj = Py_None;
7443 return _resultobj;
7444}
7445
7446#define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7447static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject * _resultobj;
7449 wxGrid * _arg0;
7450 wxDC * _arg1;
7451 wxString * _arg2;
7452 wxRect * _arg3;
7453 int _arg4 = (int ) wxLEFT;
7454 int _arg5 = (int ) wxTOP;
7455 PyObject * _argo0 = 0;
7456 PyObject * _argo1 = 0;
7457 PyObject * _obj2 = 0;
7458 wxRect temp;
7459 PyObject * _obj3 = 0;
7460 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7461
7462 self = self;
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7464 return NULL;
7465 if (_argo0) {
7466 if (_argo0 == Py_None) { _arg0 = NULL; }
7467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7469 return NULL;
7470 }
7471 }
7472 if (_argo1) {
7473 if (_argo1 == Py_None) { _arg1 = NULL; }
7474 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7475 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7476 return NULL;
7477 }
7478 }
7479{
2cd2fac8
RD
7480#if PYTHON_API_VERSION >= 1009
7481 char* tmpPtr; int tmpSize;
7482 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 7483 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7484 return NULL;
7485 }
7486 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7487 return NULL;
7488 _arg2 = new wxString(tmpPtr, tmpSize);
7489#else
f6bcfd97
BP
7490 if (!PyString_Check(_obj2)) {
7491 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7492 return NULL;
7493 }
2cd2fac8
RD
7494 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7495#endif
f6bcfd97
BP
7496}
7497{
7498 _arg3 = &temp;
7499 if (! wxRect_helper(_obj3, &_arg3))
7500 return NULL;
7501}
7502{
7503 wxPy_BEGIN_ALLOW_THREADS;
7504 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7505
7506 wxPy_END_ALLOW_THREADS;
4dfaa61e 7507 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7508} Py_INCREF(Py_None);
7509 _resultobj = Py_None;
7510{
7511 if (_obj2)
7512 delete _arg2;
7513}
7514 return _resultobj;
7515}
7516
7517#define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7518static PyObject *_wrap_wxGrid_StringToLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject * _resultobj;
7520 wxGrid * _arg0;
7521 wxString * _arg1;
7522 wxArrayString * _arg2;
7523 PyObject * _argo0 = 0;
7524 PyObject * _obj1 = 0;
7525 PyObject * _argo2 = 0;
7526 char *_kwnames[] = { "self","value","lines", NULL };
7527
7528 self = self;
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_StringToLines",_kwnames,&_argo0,&_obj1,&_argo2))
7530 return NULL;
7531 if (_argo0) {
7532 if (_argo0 == Py_None) { _arg0 = NULL; }
7533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7535 return NULL;
7536 }
7537 }
7538{
2cd2fac8
RD
7539#if PYTHON_API_VERSION >= 1009
7540 char* tmpPtr; int tmpSize;
7541 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 7542 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7543 return NULL;
7544 }
7545 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7546 return NULL;
7547 _arg1 = new wxString(tmpPtr, tmpSize);
7548#else
f6bcfd97
BP
7549 if (!PyString_Check(_obj1)) {
7550 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7551 return NULL;
7552 }
2cd2fac8
RD
7553 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7554#endif
f6bcfd97
BP
7555}
7556 if (_argo2) {
7557 if (_argo2 == Py_None) { _arg2 = NULL; }
7558 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7559 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7560 return NULL;
7561 }
7562 }
7563{
7564 wxPy_BEGIN_ALLOW_THREADS;
7565 wxGrid_StringToLines(_arg0,*_arg1,*_arg2);
7566
7567 wxPy_END_ALLOW_THREADS;
4dfaa61e 7568 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7569} Py_INCREF(Py_None);
7570 _resultobj = Py_None;
7571{
7572 if (_obj1)
7573 delete _arg1;
7574}
7575 return _resultobj;
7576}
7577
7578#define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7579static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7580 PyObject * _resultobj;
7581 wxGrid * _arg0;
7582 wxDC * _arg1;
7583 wxArrayString * _arg2;
7584 long * _arg3;
7585 long temp;
7586 long * _arg4;
7587 long temp0;
7588 PyObject * _argo0 = 0;
7589 PyObject * _argo1 = 0;
7590 PyObject * _argo2 = 0;
7591 char *_kwnames[] = { "self","dc","lines", NULL };
7592
7593 self = self;
7594{
7595 _arg3 = &temp;
7596}
7597{
7598 _arg4 = &temp0;
7599}
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_argo2))
7601 return NULL;
7602 if (_argo0) {
7603 if (_argo0 == Py_None) { _arg0 = NULL; }
7604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7606 return NULL;
7607 }
7608 }
7609 if (_argo1) {
7610 if (_argo1 == Py_None) { _arg1 = NULL; }
7611 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7612 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7613 return NULL;
7614 }
7615 }
7616 if (_argo2) {
7617 if (_argo2 == Py_None) { _arg2 = NULL; }
7618 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7619 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7620 return NULL;
7621 }
7622 }
7623{
7624 wxPy_BEGIN_ALLOW_THREADS;
7625 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7626
7627 wxPy_END_ALLOW_THREADS;
4dfaa61e 7628 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7629} Py_INCREF(Py_None);
7630 _resultobj = Py_None;
7631{
7632 PyObject *o;
7633 o = PyInt_FromLong((long) (*_arg3));
7634 _resultobj = t_output_helper(_resultobj, o);
7635}
7636{
7637 PyObject *o;
7638 o = PyInt_FromLong((long) (*_arg4));
7639 _resultobj = t_output_helper(_resultobj, o);
7640}
7641 return _resultobj;
7642}
7643
7644#define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7645static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7646 PyObject * _resultobj;
7647 wxGrid * _arg0;
7648 PyObject * _argo0 = 0;
7649 char *_kwnames[] = { "self", NULL };
7650
7651 self = self;
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7653 return NULL;
7654 if (_argo0) {
7655 if (_argo0 == Py_None) { _arg0 = NULL; }
7656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7658 return NULL;
7659 }
7660 }
7661{
7662 wxPy_BEGIN_ALLOW_THREADS;
7663 wxGrid_BeginBatch(_arg0);
7664
7665 wxPy_END_ALLOW_THREADS;
4dfaa61e 7666 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7667} Py_INCREF(Py_None);
7668 _resultobj = Py_None;
7669 return _resultobj;
7670}
7671
7672#define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7673static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject * _resultobj;
7675 wxGrid * _arg0;
7676 PyObject * _argo0 = 0;
7677 char *_kwnames[] = { "self", NULL };
7678
7679 self = self;
7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7681 return NULL;
7682 if (_argo0) {
7683 if (_argo0 == Py_None) { _arg0 = NULL; }
7684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7686 return NULL;
7687 }
7688 }
7689{
7690 wxPy_BEGIN_ALLOW_THREADS;
7691 wxGrid_EndBatch(_arg0);
7692
7693 wxPy_END_ALLOW_THREADS;
4dfaa61e 7694 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7695} Py_INCREF(Py_None);
7696 _resultobj = Py_None;
7697 return _resultobj;
7698}
7699
7700#define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7701static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7702 PyObject * _resultobj;
7703 int _result;
7704 wxGrid * _arg0;
7705 PyObject * _argo0 = 0;
7706 char *_kwnames[] = { "self", NULL };
7707
7708 self = self;
7709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7710 return NULL;
7711 if (_argo0) {
7712 if (_argo0 == Py_None) { _arg0 = NULL; }
7713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7715 return NULL;
7716 }
7717 }
7718{
7719 wxPy_BEGIN_ALLOW_THREADS;
7720 _result = (int )wxGrid_GetBatchCount(_arg0);
7721
7722 wxPy_END_ALLOW_THREADS;
4dfaa61e 7723 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7724} _resultobj = Py_BuildValue("i",_result);
7725 return _resultobj;
7726}
7727
9a08cd12
RD
7728#define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7729static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7730 PyObject * _resultobj;
7731 wxGrid * _arg0;
7732 PyObject * _argo0 = 0;
7733 char *_kwnames[] = { "self", NULL };
7734
7735 self = self;
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
7737 return NULL;
7738 if (_argo0) {
7739 if (_argo0 == Py_None) { _arg0 = NULL; }
7740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7742 return NULL;
7743 }
7744 }
7745{
7746 wxPy_BEGIN_ALLOW_THREADS;
7747 wxGrid_ForceRefresh(_arg0);
7748
7749 wxPy_END_ALLOW_THREADS;
7750 if (PyErr_Occurred()) return NULL;
7751} Py_INCREF(Py_None);
7752 _resultobj = Py_None;
7753 return _resultobj;
7754}
7755
f6bcfd97
BP
7756#define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7757static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7758 PyObject * _resultobj;
7759 bool _result;
7760 wxGrid * _arg0;
7761 PyObject * _argo0 = 0;
7762 char *_kwnames[] = { "self", NULL };
7763
7764 self = self;
7765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7766 return NULL;
7767 if (_argo0) {
7768 if (_argo0 == Py_None) { _arg0 = NULL; }
7769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7771 return NULL;
7772 }
7773 }
7774{
7775 wxPy_BEGIN_ALLOW_THREADS;
7776 _result = (bool )wxGrid_IsEditable(_arg0);
7777
7778 wxPy_END_ALLOW_THREADS;
4dfaa61e 7779 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7780} _resultobj = Py_BuildValue("i",_result);
7781 return _resultobj;
7782}
7783
7784#define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7785static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7786 PyObject * _resultobj;
7787 wxGrid * _arg0;
7788 bool _arg1;
7789 PyObject * _argo0 = 0;
7790 int tempbool1;
7791 char *_kwnames[] = { "self","edit", NULL };
7792
7793 self = self;
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7795 return NULL;
7796 if (_argo0) {
7797 if (_argo0 == Py_None) { _arg0 = NULL; }
7798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7800 return NULL;
7801 }
7802 }
7803 _arg1 = (bool ) tempbool1;
7804{
7805 wxPy_BEGIN_ALLOW_THREADS;
7806 wxGrid_EnableEditing(_arg0,_arg1);
7807
7808 wxPy_END_ALLOW_THREADS;
4dfaa61e 7809 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7810} Py_INCREF(Py_None);
7811 _resultobj = Py_None;
7812 return _resultobj;
7813}
7814
7815#define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7816static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7817 PyObject * _resultobj;
7818 wxGrid * _arg0;
7819 bool _arg1 = (bool ) TRUE;
7820 PyObject * _argo0 = 0;
7821 int tempbool1 = (int) TRUE;
7822 char *_kwnames[] = { "self","enable", NULL };
7823
7824 self = self;
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7826 return NULL;
7827 if (_argo0) {
7828 if (_argo0 == Py_None) { _arg0 = NULL; }
7829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7831 return NULL;
7832 }
7833 }
7834 _arg1 = (bool ) tempbool1;
7835{
7836 wxPy_BEGIN_ALLOW_THREADS;
7837 wxGrid_EnableCellEditControl(_arg0,_arg1);
7838
7839 wxPy_END_ALLOW_THREADS;
4dfaa61e 7840 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7841} Py_INCREF(Py_None);
7842 _resultobj = Py_None;
7843 return _resultobj;
7844}
7845
7846#define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7847static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7848 PyObject * _resultobj;
7849 wxGrid * _arg0;
7850 PyObject * _argo0 = 0;
7851 char *_kwnames[] = { "self", NULL };
7852
7853 self = self;
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7855 return NULL;
7856 if (_argo0) {
7857 if (_argo0 == Py_None) { _arg0 = NULL; }
7858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7860 return NULL;
7861 }
7862 }
7863{
7864 wxPy_BEGIN_ALLOW_THREADS;
7865 wxGrid_DisableCellEditControl(_arg0);
7866
7867 wxPy_END_ALLOW_THREADS;
4dfaa61e 7868 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7869} Py_INCREF(Py_None);
7870 _resultobj = Py_None;
7871 return _resultobj;
7872}
7873
7874#define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7875static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject * _resultobj;
7877 bool _result;
7878 wxGrid * _arg0;
7879 PyObject * _argo0 = 0;
7880 char *_kwnames[] = { "self", NULL };
7881
7882 self = self;
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7884 return NULL;
7885 if (_argo0) {
7886 if (_argo0 == Py_None) { _arg0 = NULL; }
7887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7889 return NULL;
7890 }
7891 }
7892{
7893 wxPy_BEGIN_ALLOW_THREADS;
7894 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7895
7896 wxPy_END_ALLOW_THREADS;
4dfaa61e 7897 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7898} _resultobj = Py_BuildValue("i",_result);
7899 return _resultobj;
7900}
7901
7902#define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7903static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7904 PyObject * _resultobj;
7905 bool _result;
7906 wxGrid * _arg0;
7907 PyObject * _argo0 = 0;
7908 char *_kwnames[] = { "self", NULL };
7909
7910 self = self;
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7912 return NULL;
7913 if (_argo0) {
7914 if (_argo0 == Py_None) { _arg0 = NULL; }
7915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7917 return NULL;
7918 }
7919 }
7920{
7921 wxPy_BEGIN_ALLOW_THREADS;
7922 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7923
7924 wxPy_END_ALLOW_THREADS;
4dfaa61e 7925 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7926} _resultobj = Py_BuildValue("i",_result);
7927 return _resultobj;
7928}
7929
7930#define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7931static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject * _resultobj;
7933 bool _result;
7934 wxGrid * _arg0;
7935 PyObject * _argo0 = 0;
7936 char *_kwnames[] = { "self", NULL };
7937
7938 self = self;
7939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
7940 return NULL;
7941 if (_argo0) {
7942 if (_argo0 == Py_None) { _arg0 = NULL; }
7943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7945 return NULL;
7946 }
7947 }
7948{
7949 wxPy_BEGIN_ALLOW_THREADS;
7950 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
7951
7952 wxPy_END_ALLOW_THREADS;
4dfaa61e 7953 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7954} _resultobj = Py_BuildValue("i",_result);
7955 return _resultobj;
7956}
7957
7958#define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7959static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
7960 PyObject * _resultobj;
7961 bool _result;
7962 wxGrid * _arg0;
7963 PyObject * _argo0 = 0;
7964 char *_kwnames[] = { "self", NULL };
7965
7966 self = self;
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
7968 return NULL;
7969 if (_argo0) {
7970 if (_argo0 == Py_None) { _arg0 = NULL; }
7971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7973 return NULL;
7974 }
7975 }
7976{
7977 wxPy_BEGIN_ALLOW_THREADS;
7978 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
7979
7980 wxPy_END_ALLOW_THREADS;
4dfaa61e 7981 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7982} _resultobj = Py_BuildValue("i",_result);
7983 return _resultobj;
7984}
7985
7986#define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7987static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7988 PyObject * _resultobj;
7989 wxGrid * _arg0;
7990 PyObject * _argo0 = 0;
7991 char *_kwnames[] = { "self", NULL };
7992
7993 self = self;
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
7995 return NULL;
7996 if (_argo0) {
7997 if (_argo0 == Py_None) { _arg0 = NULL; }
7998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8000 return NULL;
8001 }
8002 }
8003{
8004 wxPy_BEGIN_ALLOW_THREADS;
8005 wxGrid_ShowCellEditControl(_arg0);
8006
8007 wxPy_END_ALLOW_THREADS;
4dfaa61e 8008 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8009} Py_INCREF(Py_None);
8010 _resultobj = Py_None;
8011 return _resultobj;
8012}
8013
8014#define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8015static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8016 PyObject * _resultobj;
8017 wxGrid * _arg0;
8018 PyObject * _argo0 = 0;
8019 char *_kwnames[] = { "self", NULL };
8020
8021 self = self;
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8023 return NULL;
8024 if (_argo0) {
8025 if (_argo0 == Py_None) { _arg0 = NULL; }
8026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8028 return NULL;
8029 }
8030 }
8031{
8032 wxPy_BEGIN_ALLOW_THREADS;
8033 wxGrid_HideCellEditControl(_arg0);
8034
8035 wxPy_END_ALLOW_THREADS;
4dfaa61e 8036 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8037} Py_INCREF(Py_None);
8038 _resultobj = Py_None;
8039 return _resultobj;
8040}
8041
8042#define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8043static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8044 PyObject * _resultobj;
8045 wxGrid * _arg0;
8046 PyObject * _argo0 = 0;
8047 char *_kwnames[] = { "self", NULL };
8048
8049 self = self;
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8051 return NULL;
8052 if (_argo0) {
8053 if (_argo0 == Py_None) { _arg0 = NULL; }
8054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8056 return NULL;
8057 }
8058 }
8059{
8060 wxPy_BEGIN_ALLOW_THREADS;
8061 wxGrid_SaveEditControlValue(_arg0);
8062
8063 wxPy_END_ALLOW_THREADS;
4dfaa61e 8064 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8065} Py_INCREF(Py_None);
8066 _resultobj = Py_None;
8067 return _resultobj;
8068}
8069
8070static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8071 wxGridCellCoords rv;
8072 self->XYToCell(x, y, rv);
8073 return new wxGridCellCoords(rv);
8074 }
8075static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8076 PyObject * _resultobj;
8077 wxGridCellCoords * _result;
8078 wxGrid * _arg0;
8079 int _arg1;
8080 int _arg2;
8081 PyObject * _argo0 = 0;
8082 char *_kwnames[] = { "self","x","y", NULL };
8083 char _ptemp[128];
8084
8085 self = self;
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8087 return NULL;
8088 if (_argo0) {
8089 if (_argo0 == Py_None) { _arg0 = NULL; }
8090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8092 return NULL;
8093 }
8094 }
8095{
8096 wxPy_BEGIN_ALLOW_THREADS;
8097 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8098
8099 wxPy_END_ALLOW_THREADS;
4dfaa61e 8100 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8101} if (_result) {
8102 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8103 _resultobj = Py_BuildValue("s",_ptemp);
8104 } else {
8105 Py_INCREF(Py_None);
8106 _resultobj = Py_None;
8107 }
8108 return _resultobj;
8109}
8110
8111#define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8112static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8113 PyObject * _resultobj;
8114 int _result;
8115 wxGrid * _arg0;
8116 int _arg1;
8117 PyObject * _argo0 = 0;
8118 char *_kwnames[] = { "self","y", NULL };
8119
8120 self = self;
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8122 return NULL;
8123 if (_argo0) {
8124 if (_argo0 == Py_None) { _arg0 = NULL; }
8125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8127 return NULL;
8128 }
8129 }
8130{
8131 wxPy_BEGIN_ALLOW_THREADS;
8132 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8133
8134 wxPy_END_ALLOW_THREADS;
4dfaa61e 8135 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8136} _resultobj = Py_BuildValue("i",_result);
8137 return _resultobj;
8138}
8139
8140#define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8141static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8142 PyObject * _resultobj;
8143 int _result;
8144 wxGrid * _arg0;
8145 int _arg1;
8146 PyObject * _argo0 = 0;
8147 char *_kwnames[] = { "self","x", NULL };
8148
8149 self = self;
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8151 return NULL;
8152 if (_argo0) {
8153 if (_argo0 == Py_None) { _arg0 = NULL; }
8154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8156 return NULL;
8157 }
8158 }
8159{
8160 wxPy_BEGIN_ALLOW_THREADS;
8161 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8162
8163 wxPy_END_ALLOW_THREADS;
4dfaa61e 8164 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8165} _resultobj = Py_BuildValue("i",_result);
8166 return _resultobj;
8167}
8168
8169#define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8170static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8171 PyObject * _resultobj;
8172 int _result;
8173 wxGrid * _arg0;
8174 int _arg1;
8175 PyObject * _argo0 = 0;
8176 char *_kwnames[] = { "self","y", NULL };
8177
8178 self = self;
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8180 return NULL;
8181 if (_argo0) {
8182 if (_argo0 == Py_None) { _arg0 = NULL; }
8183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8185 return NULL;
8186 }
8187 }
8188{
8189 wxPy_BEGIN_ALLOW_THREADS;
8190 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8191
8192 wxPy_END_ALLOW_THREADS;
4dfaa61e 8193 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8194} _resultobj = Py_BuildValue("i",_result);
8195 return _resultobj;
8196}
8197
8198#define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8199static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8200 PyObject * _resultobj;
8201 int _result;
8202 wxGrid * _arg0;
8203 int _arg1;
8204 PyObject * _argo0 = 0;
8205 char *_kwnames[] = { "self","x", NULL };
8206
8207 self = self;
8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8209 return NULL;
8210 if (_argo0) {
8211 if (_argo0 == Py_None) { _arg0 = NULL; }
8212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8214 return NULL;
8215 }
8216 }
8217{
8218 wxPy_BEGIN_ALLOW_THREADS;
8219 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8220
8221 wxPy_END_ALLOW_THREADS;
4dfaa61e 8222 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8223} _resultobj = Py_BuildValue("i",_result);
8224 return _resultobj;
8225}
8226
8227#define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8228static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8229 PyObject * _resultobj;
8230 wxRect * _result;
8231 wxGrid * _arg0;
8232 int _arg1;
8233 int _arg2;
8234 PyObject * _argo0 = 0;
8235 char *_kwnames[] = { "self","row","col", NULL };
8236 char _ptemp[128];
8237
8238 self = self;
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8240 return NULL;
8241 if (_argo0) {
8242 if (_argo0 == Py_None) { _arg0 = NULL; }
8243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8245 return NULL;
8246 }
8247 }
8248{
8249 wxPy_BEGIN_ALLOW_THREADS;
8250 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8251
8252 wxPy_END_ALLOW_THREADS;
4dfaa61e 8253 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8254} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8255 _resultobj = Py_BuildValue("s",_ptemp);
8256 return _resultobj;
8257}
8258
8259#define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8260static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8261 PyObject * _resultobj;
8262 int _result;
8263 wxGrid * _arg0;
8264 PyObject * _argo0 = 0;
8265 char *_kwnames[] = { "self", NULL };
8266
8267 self = self;
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8269 return NULL;
8270 if (_argo0) {
8271 if (_argo0 == Py_None) { _arg0 = NULL; }
8272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8274 return NULL;
8275 }
8276 }
8277{
8278 wxPy_BEGIN_ALLOW_THREADS;
8279 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8280
8281 wxPy_END_ALLOW_THREADS;
4dfaa61e 8282 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8283} _resultobj = Py_BuildValue("i",_result);
8284 return _resultobj;
8285}
8286
8287#define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8288static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8289 PyObject * _resultobj;
8290 int _result;
8291 wxGrid * _arg0;
8292 PyObject * _argo0 = 0;
8293 char *_kwnames[] = { "self", NULL };
8294
8295 self = self;
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8297 return NULL;
8298 if (_argo0) {
8299 if (_argo0 == Py_None) { _arg0 = NULL; }
8300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8302 return NULL;
8303 }
8304 }
8305{
8306 wxPy_BEGIN_ALLOW_THREADS;
8307 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8308
8309 wxPy_END_ALLOW_THREADS;
4dfaa61e 8310 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8311} _resultobj = Py_BuildValue("i",_result);
8312 return _resultobj;
8313}
8314
8315#define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8316static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8317 PyObject * _resultobj;
8318 bool _result;
8319 wxGrid * _arg0;
8320 int _arg1;
8321 int _arg2;
8322 bool _arg3 = (bool ) TRUE;
8323 PyObject * _argo0 = 0;
8324 int tempbool3 = (int) TRUE;
8325 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8326
8327 self = self;
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8329 return NULL;
8330 if (_argo0) {
8331 if (_argo0 == Py_None) { _arg0 = NULL; }
8332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8334 return NULL;
8335 }
8336 }
8337 _arg3 = (bool ) tempbool3;
8338{
8339 wxPy_BEGIN_ALLOW_THREADS;
8340 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8341
8342 wxPy_END_ALLOW_THREADS;
4dfaa61e 8343 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8344} _resultobj = Py_BuildValue("i",_result);
8345 return _resultobj;
8346}
8347
8348#define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8349static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8350 PyObject * _resultobj;
8351 wxGrid * _arg0;
8352 int _arg1;
8353 int _arg2;
8354 PyObject * _argo0 = 0;
8355 char *_kwnames[] = { "self","row","col", NULL };
8356
8357 self = self;
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8359 return NULL;
8360 if (_argo0) {
8361 if (_argo0 == Py_None) { _arg0 = NULL; }
8362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8364 return NULL;
8365 }
8366 }
8367{
8368 wxPy_BEGIN_ALLOW_THREADS;
8369 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8370
8371 wxPy_END_ALLOW_THREADS;
4dfaa61e 8372 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8373} Py_INCREF(Py_None);
8374 _resultobj = Py_None;
8375 return _resultobj;
8376}
8377
8378#define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8379static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8380 PyObject * _resultobj;
8381 wxGrid * _arg0;
8382 int _arg1;
8383 int _arg2;
8384 PyObject * _argo0 = 0;
8385 char *_kwnames[] = { "self","row","col", NULL };
8386
8387 self = self;
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8389 return NULL;
8390 if (_argo0) {
8391 if (_argo0 == Py_None) { _arg0 = NULL; }
8392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8394 return NULL;
8395 }
8396 }
8397{
8398 wxPy_BEGIN_ALLOW_THREADS;
8399 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8400
8401 wxPy_END_ALLOW_THREADS;
4dfaa61e 8402 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8403} Py_INCREF(Py_None);
8404 _resultobj = Py_None;
8405 return _resultobj;
8406}
8407
8408#define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8409static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8410 PyObject * _resultobj;
8411 bool _result;
8412 wxGrid * _arg0;
8413 bool _arg1;
8414 PyObject * _argo0 = 0;
8415 int tempbool1;
8416 char *_kwnames[] = { "self","expandSelection", NULL };
8417
8418 self = self;
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8420 return NULL;
8421 if (_argo0) {
8422 if (_argo0 == Py_None) { _arg0 = NULL; }
8423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8425 return NULL;
8426 }
8427 }
8428 _arg1 = (bool ) tempbool1;
8429{
8430 wxPy_BEGIN_ALLOW_THREADS;
8431 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8432
8433 wxPy_END_ALLOW_THREADS;
4dfaa61e 8434 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8435} _resultobj = Py_BuildValue("i",_result);
8436 return _resultobj;
8437}
8438
8439#define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8440static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8441 PyObject * _resultobj;
8442 bool _result;
8443 wxGrid * _arg0;
8444 bool _arg1;
8445 PyObject * _argo0 = 0;
8446 int tempbool1;
8447 char *_kwnames[] = { "self","expandSelection", NULL };
8448
8449 self = self;
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8451 return NULL;
8452 if (_argo0) {
8453 if (_argo0 == Py_None) { _arg0 = NULL; }
8454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8456 return NULL;
8457 }
8458 }
8459 _arg1 = (bool ) tempbool1;
8460{
8461 wxPy_BEGIN_ALLOW_THREADS;
8462 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8463
8464 wxPy_END_ALLOW_THREADS;
4dfaa61e 8465 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8466} _resultobj = Py_BuildValue("i",_result);
8467 return _resultobj;
8468}
8469
8470#define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8471static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject * _resultobj;
8473 bool _result;
8474 wxGrid * _arg0;
8475 bool _arg1;
8476 PyObject * _argo0 = 0;
8477 int tempbool1;
8478 char *_kwnames[] = { "self","expandSelection", NULL };
8479
8480 self = self;
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8482 return NULL;
8483 if (_argo0) {
8484 if (_argo0 == Py_None) { _arg0 = NULL; }
8485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8487 return NULL;
8488 }
8489 }
8490 _arg1 = (bool ) tempbool1;
8491{
8492 wxPy_BEGIN_ALLOW_THREADS;
8493 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8494
8495 wxPy_END_ALLOW_THREADS;
4dfaa61e 8496 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8497} _resultobj = Py_BuildValue("i",_result);
8498 return _resultobj;
8499}
8500
8501#define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8502static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8503 PyObject * _resultobj;
8504 bool _result;
8505 wxGrid * _arg0;
8506 bool _arg1;
8507 PyObject * _argo0 = 0;
8508 int tempbool1;
8509 char *_kwnames[] = { "self","expandSelection", NULL };
8510
8511 self = self;
8512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8513 return NULL;
8514 if (_argo0) {
8515 if (_argo0 == Py_None) { _arg0 = NULL; }
8516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8518 return NULL;
8519 }
8520 }
8521 _arg1 = (bool ) tempbool1;
8522{
8523 wxPy_BEGIN_ALLOW_THREADS;
8524 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8525
8526 wxPy_END_ALLOW_THREADS;
4dfaa61e 8527 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8528} _resultobj = Py_BuildValue("i",_result);
8529 return _resultobj;
8530}
8531
8532#define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8533static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject * _resultobj;
8535 bool _result;
8536 wxGrid * _arg0;
8537 PyObject * _argo0 = 0;
8538 char *_kwnames[] = { "self", NULL };
8539
8540 self = self;
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8542 return NULL;
8543 if (_argo0) {
8544 if (_argo0 == Py_None) { _arg0 = NULL; }
8545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8547 return NULL;
8548 }
8549 }
8550{
8551 wxPy_BEGIN_ALLOW_THREADS;
8552 _result = (bool )wxGrid_MovePageDown(_arg0);
8553
8554 wxPy_END_ALLOW_THREADS;
4dfaa61e 8555 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8556} _resultobj = Py_BuildValue("i",_result);
8557 return _resultobj;
8558}
8559
8560#define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8561static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8562 PyObject * _resultobj;
8563 bool _result;
8564 wxGrid * _arg0;
8565 PyObject * _argo0 = 0;
8566 char *_kwnames[] = { "self", NULL };
8567
8568 self = self;
8569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8570 return NULL;
8571 if (_argo0) {
8572 if (_argo0 == Py_None) { _arg0 = NULL; }
8573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8575 return NULL;
8576 }
8577 }
8578{
8579 wxPy_BEGIN_ALLOW_THREADS;
8580 _result = (bool )wxGrid_MovePageUp(_arg0);
8581
8582 wxPy_END_ALLOW_THREADS;
4dfaa61e 8583 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8584} _resultobj = Py_BuildValue("i",_result);
8585 return _resultobj;
8586}
8587
8588#define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8589static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject * _resultobj;
8591 bool _result;
8592 wxGrid * _arg0;
8593 bool _arg1;
8594 PyObject * _argo0 = 0;
8595 int tempbool1;
8596 char *_kwnames[] = { "self","expandSelection", NULL };
8597
8598 self = self;
8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8600 return NULL;
8601 if (_argo0) {
8602 if (_argo0 == Py_None) { _arg0 = NULL; }
8603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8605 return NULL;
8606 }
8607 }
8608 _arg1 = (bool ) tempbool1;
8609{
8610 wxPy_BEGIN_ALLOW_THREADS;
8611 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8612
8613 wxPy_END_ALLOW_THREADS;
4dfaa61e 8614 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8615} _resultobj = Py_BuildValue("i",_result);
8616 return _resultobj;
8617}
8618
8619#define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8620static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8621 PyObject * _resultobj;
8622 bool _result;
8623 wxGrid * _arg0;
8624 bool _arg1;
8625 PyObject * _argo0 = 0;
8626 int tempbool1;
8627 char *_kwnames[] = { "self","expandSelection", NULL };
8628
8629 self = self;
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8631 return NULL;
8632 if (_argo0) {
8633 if (_argo0 == Py_None) { _arg0 = NULL; }
8634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8636 return NULL;
8637 }
8638 }
8639 _arg1 = (bool ) tempbool1;
8640{
8641 wxPy_BEGIN_ALLOW_THREADS;
8642 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8643
8644 wxPy_END_ALLOW_THREADS;
4dfaa61e 8645 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8646} _resultobj = Py_BuildValue("i",_result);
8647 return _resultobj;
8648}
8649
8650#define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8651static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8652 PyObject * _resultobj;
8653 bool _result;
8654 wxGrid * _arg0;
8655 bool _arg1;
8656 PyObject * _argo0 = 0;
8657 int tempbool1;
8658 char *_kwnames[] = { "self","expandSelection", NULL };
8659
8660 self = self;
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8662 return NULL;
8663 if (_argo0) {
8664 if (_argo0 == Py_None) { _arg0 = NULL; }
8665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8667 return NULL;
8668 }
8669 }
8670 _arg1 = (bool ) tempbool1;
8671{
8672 wxPy_BEGIN_ALLOW_THREADS;
8673 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8674
8675 wxPy_END_ALLOW_THREADS;
4dfaa61e 8676 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8677} _resultobj = Py_BuildValue("i",_result);
8678 return _resultobj;
8679}
8680
8681#define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8682static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8683 PyObject * _resultobj;
8684 bool _result;
8685 wxGrid * _arg0;
8686 bool _arg1;
8687 PyObject * _argo0 = 0;
8688 int tempbool1;
8689 char *_kwnames[] = { "self","expandSelection", NULL };
8690
8691 self = self;
8692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8693 return NULL;
8694 if (_argo0) {
8695 if (_argo0 == Py_None) { _arg0 = NULL; }
8696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8698 return NULL;
8699 }
8700 }
8701 _arg1 = (bool ) tempbool1;
8702{
8703 wxPy_BEGIN_ALLOW_THREADS;
8704 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8705
8706 wxPy_END_ALLOW_THREADS;
4dfaa61e 8707 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8708} _resultobj = Py_BuildValue("i",_result);
8709 return _resultobj;
8710}
8711
8712#define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8713static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8714 PyObject * _resultobj;
8715 int _result;
8716 wxGrid * _arg0;
8717 PyObject * _argo0 = 0;
8718 char *_kwnames[] = { "self", NULL };
8719
8720 self = self;
8721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8722 return NULL;
8723 if (_argo0) {
8724 if (_argo0 == Py_None) { _arg0 = NULL; }
8725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8727 return NULL;
8728 }
8729 }
8730{
8731 wxPy_BEGIN_ALLOW_THREADS;
8732 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8733
8734 wxPy_END_ALLOW_THREADS;
4dfaa61e 8735 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8736} _resultobj = Py_BuildValue("i",_result);
8737 return _resultobj;
8738}
8739
8740#define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8741static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8742 PyObject * _resultobj;
8743 int _result;
8744 wxGrid * _arg0;
8745 PyObject * _argo0 = 0;
8746 char *_kwnames[] = { "self", NULL };
8747
8748 self = self;
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8750 return NULL;
8751 if (_argo0) {
8752 if (_argo0 == Py_None) { _arg0 = NULL; }
8753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8755 return NULL;
8756 }
8757 }
8758{
8759 wxPy_BEGIN_ALLOW_THREADS;
8760 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8761
8762 wxPy_END_ALLOW_THREADS;
4dfaa61e 8763 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8764} _resultobj = Py_BuildValue("i",_result);
8765 return _resultobj;
8766}
8767
8768#define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8769static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8770 PyObject * _resultobj;
8771 int _result;
8772 wxGrid * _arg0;
8773 PyObject * _argo0 = 0;
8774 char *_kwnames[] = { "self", NULL };
8775
8776 self = self;
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8778 return NULL;
8779 if (_argo0) {
8780 if (_argo0 == Py_None) { _arg0 = NULL; }
8781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8783 return NULL;
8784 }
8785 }
8786{
8787 wxPy_BEGIN_ALLOW_THREADS;
8788 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8789
8790 wxPy_END_ALLOW_THREADS;
4dfaa61e 8791 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8792} _resultobj = Py_BuildValue("i",_result);
8793 return _resultobj;
8794}
8795
8796#define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8797static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject * _resultobj;
8799 int _result;
8800 wxGrid * _arg0;
8801 PyObject * _argo0 = 0;
8802 char *_kwnames[] = { "self", NULL };
8803
8804 self = self;
8805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8806 return NULL;
8807 if (_argo0) {
8808 if (_argo0 == Py_None) { _arg0 = NULL; }
8809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8811 return NULL;
8812 }
8813 }
8814{
8815 wxPy_BEGIN_ALLOW_THREADS;
8816 _result = (int )wxGrid_GetColLabelSize(_arg0);
8817
8818 wxPy_END_ALLOW_THREADS;
4dfaa61e 8819 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8820} _resultobj = Py_BuildValue("i",_result);
8821 return _resultobj;
8822}
8823
8824#define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8825static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8826 PyObject * _resultobj;
8827 wxColour * _result;
8828 wxGrid * _arg0;
8829 PyObject * _argo0 = 0;
8830 char *_kwnames[] = { "self", NULL };
8831 char _ptemp[128];
8832
8833 self = self;
8834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8835 return NULL;
8836 if (_argo0) {
8837 if (_argo0 == Py_None) { _arg0 = NULL; }
8838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8840 return NULL;
8841 }
8842 }
8843{
8844 wxPy_BEGIN_ALLOW_THREADS;
8845 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8846
8847 wxPy_END_ALLOW_THREADS;
4dfaa61e 8848 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8849} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8850 _resultobj = Py_BuildValue("s",_ptemp);
8851 return _resultobj;
8852}
8853
8854#define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8855static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject * _resultobj;
8857 wxColour * _result;
8858 wxGrid * _arg0;
8859 PyObject * _argo0 = 0;
8860 char *_kwnames[] = { "self", NULL };
8861 char _ptemp[128];
8862
8863 self = self;
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8865 return NULL;
8866 if (_argo0) {
8867 if (_argo0 == Py_None) { _arg0 = NULL; }
8868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8870 return NULL;
8871 }
8872 }
8873{
8874 wxPy_BEGIN_ALLOW_THREADS;
8875 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8876
8877 wxPy_END_ALLOW_THREADS;
4dfaa61e 8878 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8879} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8880 _resultobj = Py_BuildValue("s",_ptemp);
8881 return _resultobj;
8882}
8883
8884#define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8885static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject * _resultobj;
8887 wxFont * _result;
8888 wxGrid * _arg0;
8889 PyObject * _argo0 = 0;
8890 char *_kwnames[] = { "self", NULL };
8891 char _ptemp[128];
8892
8893 self = self;
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8895 return NULL;
8896 if (_argo0) {
8897 if (_argo0 == Py_None) { _arg0 = NULL; }
8898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8900 return NULL;
8901 }
8902 }
8903{
8904 wxPy_BEGIN_ALLOW_THREADS;
8905 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8906
8907 wxPy_END_ALLOW_THREADS;
4dfaa61e 8908 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8909} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8910 _resultobj = Py_BuildValue("s",_ptemp);
8911 return _resultobj;
8912}
8913
8914#define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8915static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject * _resultobj;
8917 wxGrid * _arg0;
8918 int * _arg1;
8919 int temp;
8920 int * _arg2;
8921 int temp0;
8922 PyObject * _argo0 = 0;
8923 char *_kwnames[] = { "self", NULL };
8924
8925 self = self;
8926{
8927 _arg1 = &temp;
8928}
8929{
8930 _arg2 = &temp0;
8931}
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
8933 return NULL;
8934 if (_argo0) {
8935 if (_argo0 == Py_None) { _arg0 = NULL; }
8936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8938 return NULL;
8939 }
8940 }
8941{
8942 wxPy_BEGIN_ALLOW_THREADS;
8943 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
8944
8945 wxPy_END_ALLOW_THREADS;
4dfaa61e 8946 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8947} Py_INCREF(Py_None);
8948 _resultobj = Py_None;
8949{
8950 PyObject *o;
8951 o = PyInt_FromLong((long) (*_arg1));
8952 _resultobj = t_output_helper(_resultobj, o);
8953}
8954{
8955 PyObject *o;
8956 o = PyInt_FromLong((long) (*_arg2));
8957 _resultobj = t_output_helper(_resultobj, o);
8958}
8959 return _resultobj;
8960}
8961
8962#define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8963static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8964 PyObject * _resultobj;
8965 wxGrid * _arg0;
8966 int * _arg1;
8967 int temp;
8968 int * _arg2;
8969 int temp0;
8970 PyObject * _argo0 = 0;
8971 char *_kwnames[] = { "self", NULL };
8972
8973 self = self;
8974{
8975 _arg1 = &temp;
8976}
8977{
8978 _arg2 = &temp0;
8979}
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
8981 return NULL;
8982 if (_argo0) {
8983 if (_argo0 == Py_None) { _arg0 = NULL; }
8984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8986 return NULL;
8987 }
8988 }
8989{
8990 wxPy_BEGIN_ALLOW_THREADS;
8991 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
8992
8993 wxPy_END_ALLOW_THREADS;
4dfaa61e 8994 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8995} Py_INCREF(Py_None);
8996 _resultobj = Py_None;
8997{
8998 PyObject *o;
8999 o = PyInt_FromLong((long) (*_arg1));
9000 _resultobj = t_output_helper(_resultobj, o);
9001}
9002{
9003 PyObject *o;
9004 o = PyInt_FromLong((long) (*_arg2));
9005 _resultobj = t_output_helper(_resultobj, o);
9006}
9007 return _resultobj;
9008}
9009
9010#define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9011static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9012 PyObject * _resultobj;
9013 wxString * _result;
9014 wxGrid * _arg0;
9015 int _arg1;
9016 PyObject * _argo0 = 0;
9017 char *_kwnames[] = { "self","row", NULL };
9018
9019 self = self;
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9021 return NULL;
9022 if (_argo0) {
9023 if (_argo0 == Py_None) { _arg0 = NULL; }
9024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9026 return NULL;
9027 }
9028 }
9029{
9030 wxPy_BEGIN_ALLOW_THREADS;
9031 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9032
9033 wxPy_END_ALLOW_THREADS;
4dfaa61e 9034 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9035}{
9036 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9037}
9038{
9039 delete _result;
9040}
9041 return _resultobj;
9042}
9043
9044#define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9045static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9046 PyObject * _resultobj;
9047 wxString * _result;
9048 wxGrid * _arg0;
9049 int _arg1;
9050 PyObject * _argo0 = 0;
9051 char *_kwnames[] = { "self","col", NULL };
9052
9053 self = self;
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9055 return NULL;
9056 if (_argo0) {
9057 if (_argo0 == Py_None) { _arg0 = NULL; }
9058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9060 return NULL;
9061 }
9062 }
9063{
9064 wxPy_BEGIN_ALLOW_THREADS;
9065 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9066
9067 wxPy_END_ALLOW_THREADS;
4dfaa61e 9068 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9069}{
9070 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9071}
9072{
9073 delete _result;
9074}
9075 return _resultobj;
9076}
9077
9078#define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9079static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9080 PyObject * _resultobj;
9081 wxColour * _result;
9082 wxGrid * _arg0;
9083 PyObject * _argo0 = 0;
9084 char *_kwnames[] = { "self", NULL };
9085 char _ptemp[128];
9086
9087 self = self;
9088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9089 return NULL;
9090 if (_argo0) {
9091 if (_argo0 == Py_None) { _arg0 = NULL; }
9092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9094 return NULL;
9095 }
9096 }
9097{
9098 wxPy_BEGIN_ALLOW_THREADS;
9099 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9100
9101 wxPy_END_ALLOW_THREADS;
4dfaa61e 9102 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9103} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9104 _resultobj = Py_BuildValue("s",_ptemp);
9105 return _resultobj;
9106}
9107
9108#define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9109static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9110 PyObject * _resultobj;
9111 wxColour * _result;
9112 wxGrid * _arg0;
9113 PyObject * _argo0 = 0;
9114 char *_kwnames[] = { "self", NULL };
9115 char _ptemp[128];
9116
9117 self = self;
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9119 return NULL;
9120 if (_argo0) {
9121 if (_argo0 == Py_None) { _arg0 = NULL; }
9122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9124 return NULL;
9125 }
9126 }
9127{
9128 wxPy_BEGIN_ALLOW_THREADS;
9129 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9130
9131 wxPy_END_ALLOW_THREADS;
4dfaa61e 9132 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9133} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9134 _resultobj = Py_BuildValue("s",_ptemp);
9135 return _resultobj;
9136}
9137
9df61a29
RD
9138#define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9139static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9140 PyObject * _resultobj;
9141 int _result;
9142 wxGrid * _arg0;
9143 PyObject * _argo0 = 0;
9144 char *_kwnames[] = { "self", NULL };
9145
9146 self = self;
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9148 return NULL;
9149 if (_argo0) {
9150 if (_argo0 == Py_None) { _arg0 = NULL; }
9151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9153 return NULL;
9154 }
9155 }
9156{
9157 wxPy_BEGIN_ALLOW_THREADS;
9158 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9159
9160 wxPy_END_ALLOW_THREADS;
4dfaa61e 9161 if (PyErr_Occurred()) return NULL;
9df61a29
RD
9162} _resultobj = Py_BuildValue("i",_result);
9163 return _resultobj;
9164}
9165
9166#define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9167static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9168 PyObject * _resultobj;
9169 int _result;
9170 wxGrid * _arg0;
9171 PyObject * _argo0 = 0;
9172 char *_kwnames[] = { "self", NULL };
9173
9174 self = self;
9175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9176 return NULL;
9177 if (_argo0) {
9178 if (_argo0 == Py_None) { _arg0 = NULL; }
9179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9181 return NULL;
9182 }
9183 }
9184{
9185 wxPy_BEGIN_ALLOW_THREADS;
9186 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9187
9188 wxPy_END_ALLOW_THREADS;
4dfaa61e 9189 if (PyErr_Occurred()) return NULL;
9df61a29
RD
9190} _resultobj = Py_BuildValue("i",_result);
9191 return _resultobj;
9192}
9193
f6bcfd97
BP
9194#define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9195static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject * _resultobj;
9197 wxGrid * _arg0;
9198 int _arg1;
9199 PyObject * _argo0 = 0;
9200 char *_kwnames[] = { "self","width", NULL };
9201
9202 self = self;
9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9204 return NULL;
9205 if (_argo0) {
9206 if (_argo0 == Py_None) { _arg0 = NULL; }
9207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9209 return NULL;
9210 }
9211 }
9212{
9213 wxPy_BEGIN_ALLOW_THREADS;
9214 wxGrid_SetRowLabelSize(_arg0,_arg1);
9215
9216 wxPy_END_ALLOW_THREADS;
4dfaa61e 9217 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9218} Py_INCREF(Py_None);
9219 _resultobj = Py_None;
9220 return _resultobj;
9221}
9222
9223#define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9224static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9225 PyObject * _resultobj;
9226 wxGrid * _arg0;
9227 int _arg1;
9228 PyObject * _argo0 = 0;
9229 char *_kwnames[] = { "self","height", NULL };
9230
9231 self = self;
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9233 return NULL;
9234 if (_argo0) {
9235 if (_argo0 == Py_None) { _arg0 = NULL; }
9236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9238 return NULL;
9239 }
9240 }
9241{
9242 wxPy_BEGIN_ALLOW_THREADS;
9243 wxGrid_SetColLabelSize(_arg0,_arg1);
9244
9245 wxPy_END_ALLOW_THREADS;
4dfaa61e 9246 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9247} Py_INCREF(Py_None);
9248 _resultobj = Py_None;
9249 return _resultobj;
9250}
9251
9252#define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9253static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9254 PyObject * _resultobj;
9255 wxGrid * _arg0;
9256 wxColour * _arg1;
9257 PyObject * _argo0 = 0;
9258 wxColour temp;
9259 PyObject * _obj1 = 0;
9260 char *_kwnames[] = { "self","arg2", NULL };
9261
9262 self = self;
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9264 return NULL;
9265 if (_argo0) {
9266 if (_argo0 == Py_None) { _arg0 = NULL; }
9267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9269 return NULL;
9270 }
9271 }
9272{
9273 _arg1 = &temp;
9274 if (! wxColour_helper(_obj1, &_arg1))
9275 return NULL;
9276}
9277{
9278 wxPy_BEGIN_ALLOW_THREADS;
9279 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9280
9281 wxPy_END_ALLOW_THREADS;
4dfaa61e 9282 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9283} Py_INCREF(Py_None);
9284 _resultobj = Py_None;
9285 return _resultobj;
9286}
9287
9288#define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9289static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9290 PyObject * _resultobj;
9291 wxGrid * _arg0;
9292 wxColour * _arg1;
9293 PyObject * _argo0 = 0;
9294 wxColour temp;
9295 PyObject * _obj1 = 0;
9296 char *_kwnames[] = { "self","arg2", NULL };
9297
9298 self = self;
9299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9300 return NULL;
9301 if (_argo0) {
9302 if (_argo0 == Py_None) { _arg0 = NULL; }
9303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9305 return NULL;
9306 }
9307 }
9308{
9309 _arg1 = &temp;
9310 if (! wxColour_helper(_obj1, &_arg1))
9311 return NULL;
9312}
9313{
9314 wxPy_BEGIN_ALLOW_THREADS;
9315 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9316
9317 wxPy_END_ALLOW_THREADS;
4dfaa61e 9318 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9319} Py_INCREF(Py_None);
9320 _resultobj = Py_None;
9321 return _resultobj;
9322}
9323
9324#define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9325static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9326 PyObject * _resultobj;
9327 wxGrid * _arg0;
9328 wxFont * _arg1;
9329 PyObject * _argo0 = 0;
9330 PyObject * _argo1 = 0;
9331 char *_kwnames[] = { "self","arg2", NULL };
9332
9333 self = self;
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9335 return NULL;
9336 if (_argo0) {
9337 if (_argo0 == Py_None) { _arg0 = NULL; }
9338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9340 return NULL;
9341 }
9342 }
9343 if (_argo1) {
9344 if (_argo1 == Py_None) { _arg1 = NULL; }
9345 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9346 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9347 return NULL;
9348 }
9349 }
9350{
9351 wxPy_BEGIN_ALLOW_THREADS;
9352 wxGrid_SetLabelFont(_arg0,*_arg1);
9353
9354 wxPy_END_ALLOW_THREADS;
4dfaa61e 9355 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9356} Py_INCREF(Py_None);
9357 _resultobj = Py_None;
9358 return _resultobj;
9359}
9360
9361#define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9362static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject * _resultobj;
9364 wxGrid * _arg0;
9365 int _arg1;
9366 int _arg2;
9367 PyObject * _argo0 = 0;
9368 char *_kwnames[] = { "self","horiz","vert", NULL };
9369
9370 self = self;
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9372 return NULL;
9373 if (_argo0) {
9374 if (_argo0 == Py_None) { _arg0 = NULL; }
9375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9377 return NULL;
9378 }
9379 }
9380{
9381 wxPy_BEGIN_ALLOW_THREADS;
9382 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
9383
9384 wxPy_END_ALLOW_THREADS;
4dfaa61e 9385 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9386} Py_INCREF(Py_None);
9387 _resultobj = Py_None;
9388 return _resultobj;
9389}
9390
9391#define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9392static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9393 PyObject * _resultobj;
9394 wxGrid * _arg0;
9395 int _arg1;
9396 int _arg2;
9397 PyObject * _argo0 = 0;
9398 char *_kwnames[] = { "self","horiz","vert", NULL };
9399
9400 self = self;
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9402 return NULL;
9403 if (_argo0) {
9404 if (_argo0 == Py_None) { _arg0 = NULL; }
9405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9407 return NULL;
9408 }
9409 }
9410{
9411 wxPy_BEGIN_ALLOW_THREADS;
9412 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9413
9414 wxPy_END_ALLOW_THREADS;
4dfaa61e 9415 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9416} Py_INCREF(Py_None);
9417 _resultobj = Py_None;
9418 return _resultobj;
9419}
9420
9421#define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9422static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9423 PyObject * _resultobj;
9424 wxGrid * _arg0;
9425 int _arg1;
9426 wxString * _arg2;
9427 PyObject * _argo0 = 0;
9428 PyObject * _obj2 = 0;
9429 char *_kwnames[] = { "self","row","arg3", NULL };
9430
9431 self = self;
9432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9433 return NULL;
9434 if (_argo0) {
9435 if (_argo0 == Py_None) { _arg0 = NULL; }
9436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9438 return NULL;
9439 }
9440 }
9441{
2cd2fac8
RD
9442#if PYTHON_API_VERSION >= 1009
9443 char* tmpPtr; int tmpSize;
9444 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 9445 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
9446 return NULL;
9447 }
9448 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9449 return NULL;
9450 _arg2 = new wxString(tmpPtr, tmpSize);
9451#else
f6bcfd97
BP
9452 if (!PyString_Check(_obj2)) {
9453 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9454 return NULL;
9455 }
2cd2fac8
RD
9456 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9457#endif
f6bcfd97
BP
9458}
9459{
9460 wxPy_BEGIN_ALLOW_THREADS;
9461 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9462
9463 wxPy_END_ALLOW_THREADS;
4dfaa61e 9464 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9465} Py_INCREF(Py_None);
9466 _resultobj = Py_None;
9467{
9468 if (_obj2)
9469 delete _arg2;
9470}
9471 return _resultobj;
9472}
9473
9474#define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9475static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject * _resultobj;
9477 wxGrid * _arg0;
9478 int _arg1;
9479 wxString * _arg2;
9480 PyObject * _argo0 = 0;
9481 PyObject * _obj2 = 0;
9482 char *_kwnames[] = { "self","col","arg3", NULL };
9483
9484 self = self;
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9486 return NULL;
9487 if (_argo0) {
9488 if (_argo0 == Py_None) { _arg0 = NULL; }
9489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9491 return NULL;
9492 }
9493 }
9494{
2cd2fac8
RD
9495#if PYTHON_API_VERSION >= 1009
9496 char* tmpPtr; int tmpSize;
9497 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 9498 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
9499 return NULL;
9500 }
9501 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9502 return NULL;
9503 _arg2 = new wxString(tmpPtr, tmpSize);
9504#else
f6bcfd97
BP
9505 if (!PyString_Check(_obj2)) {
9506 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9507 return NULL;
9508 }
2cd2fac8
RD
9509 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9510#endif
f6bcfd97
BP
9511}
9512{
9513 wxPy_BEGIN_ALLOW_THREADS;
9514 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9515
9516 wxPy_END_ALLOW_THREADS;
4dfaa61e 9517 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9518} Py_INCREF(Py_None);
9519 _resultobj = Py_None;
9520{
9521 if (_obj2)
9522 delete _arg2;
9523}
9524 return _resultobj;
9525}
9526
9527#define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9528static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9529 PyObject * _resultobj;
9530 wxGrid * _arg0;
9531 wxColour * _arg1;
9532 PyObject * _argo0 = 0;
9533 wxColour temp;
9534 PyObject * _obj1 = 0;
9535 char *_kwnames[] = { "self","arg2", NULL };
9536
9537 self = self;
9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9539 return NULL;
9540 if (_argo0) {
9541 if (_argo0 == Py_None) { _arg0 = NULL; }
9542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9544 return NULL;
9545 }
9546 }
9547{
9548 _arg1 = &temp;
9549 if (! wxColour_helper(_obj1, &_arg1))
9550 return NULL;
9551}
9552{
9553 wxPy_BEGIN_ALLOW_THREADS;
9554 wxGrid_SetGridLineColour(_arg0,*_arg1);
9555
9556 wxPy_END_ALLOW_THREADS;
4dfaa61e 9557 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9558} Py_INCREF(Py_None);
9559 _resultobj = Py_None;
9560 return _resultobj;
9561}
9562
9563#define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9564static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9565 PyObject * _resultobj;
9566 wxGrid * _arg0;
9567 wxColour * _arg1;
9568 PyObject * _argo0 = 0;
9569 wxColour temp;
9570 PyObject * _obj1 = 0;
9571 char *_kwnames[] = { "self","arg2", NULL };
9572
9573 self = self;
9574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9575 return NULL;
9576 if (_argo0) {
9577 if (_argo0 == Py_None) { _arg0 = NULL; }
9578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9580 return NULL;
9581 }
9582 }
9583{
9584 _arg1 = &temp;
9585 if (! wxColour_helper(_obj1, &_arg1))
9586 return NULL;
9587}
9588{
9589 wxPy_BEGIN_ALLOW_THREADS;
9590 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9591
9592 wxPy_END_ALLOW_THREADS;
4dfaa61e 9593 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9594} Py_INCREF(Py_None);
9595 _resultobj = Py_None;
9596 return _resultobj;
9597}
9598
9df61a29
RD
9599#define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9600static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject * _resultobj;
9602 wxGrid * _arg0;
9603 int _arg1;
9604 PyObject * _argo0 = 0;
9605 char *_kwnames[] = { "self","width", NULL };
9606
9607 self = self;
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
9609 return NULL;
9610 if (_argo0) {
9611 if (_argo0 == Py_None) { _arg0 = NULL; }
9612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9614 return NULL;
9615 }
9616 }
9617{
9618 wxPy_BEGIN_ALLOW_THREADS;
9619 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
9620
9621 wxPy_END_ALLOW_THREADS;
4dfaa61e 9622 if (PyErr_Occurred()) return NULL;
9df61a29
RD
9623} Py_INCREF(Py_None);
9624 _resultobj = Py_None;
9625 return _resultobj;
9626}
9627
9628#define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9629static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9630 PyObject * _resultobj;
9631 wxGrid * _arg0;
9632 int _arg1;
9633 PyObject * _argo0 = 0;
9634 char *_kwnames[] = { "self","width", NULL };
9635
9636 self = self;
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
9638 return NULL;
9639 if (_argo0) {
9640 if (_argo0 == Py_None) { _arg0 = NULL; }
9641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9643 return NULL;
9644 }
9645 }
9646{
9647 wxPy_BEGIN_ALLOW_THREADS;
9648 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
9649
9650 wxPy_END_ALLOW_THREADS;
4dfaa61e 9651 if (PyErr_Occurred()) return NULL;
9df61a29
RD
9652} Py_INCREF(Py_None);
9653 _resultobj = Py_None;
9654 return _resultobj;
9655}
9656
f6bcfd97
BP
9657#define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9658static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9659 PyObject * _resultobj;
9660 wxGrid * _arg0;
9661 bool _arg1 = (bool ) TRUE;
9662 PyObject * _argo0 = 0;
9663 int tempbool1 = (int) TRUE;
9664 char *_kwnames[] = { "self","enable", NULL };
9665
9666 self = self;
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9668 return NULL;
9669 if (_argo0) {
9670 if (_argo0 == Py_None) { _arg0 = NULL; }
9671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9673 return NULL;
9674 }
9675 }
9676 _arg1 = (bool ) tempbool1;
9677{
9678 wxPy_BEGIN_ALLOW_THREADS;
9679 wxGrid_EnableDragRowSize(_arg0,_arg1);
9680
9681 wxPy_END_ALLOW_THREADS;
4dfaa61e 9682 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9683} Py_INCREF(Py_None);
9684 _resultobj = Py_None;
9685 return _resultobj;
9686}
9687
9688#define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9689static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9690 PyObject * _resultobj;
9691 wxGrid * _arg0;
9692 PyObject * _argo0 = 0;
9693 char *_kwnames[] = { "self", NULL };
9694
9695 self = self;
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9697 return NULL;
9698 if (_argo0) {
9699 if (_argo0 == Py_None) { _arg0 = NULL; }
9700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9702 return NULL;
9703 }
9704 }
9705{
9706 wxPy_BEGIN_ALLOW_THREADS;
9707 wxGrid_DisableDragRowSize(_arg0);
9708
9709 wxPy_END_ALLOW_THREADS;
4dfaa61e 9710 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9711} Py_INCREF(Py_None);
9712 _resultobj = Py_None;
9713 return _resultobj;
9714}
9715
9716#define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9717static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9718 PyObject * _resultobj;
9719 bool _result;
9720 wxGrid * _arg0;
9721 PyObject * _argo0 = 0;
9722 char *_kwnames[] = { "self", NULL };
9723
9724 self = self;
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9726 return NULL;
9727 if (_argo0) {
9728 if (_argo0 == Py_None) { _arg0 = NULL; }
9729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9731 return NULL;
9732 }
9733 }
9734{
9735 wxPy_BEGIN_ALLOW_THREADS;
9736 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9737
9738 wxPy_END_ALLOW_THREADS;
4dfaa61e 9739 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9740} _resultobj = Py_BuildValue("i",_result);
9741 return _resultobj;
9742}
9743
9744#define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9745static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9746 PyObject * _resultobj;
9747 wxGrid * _arg0;
9748 bool _arg1 = (bool ) TRUE;
9749 PyObject * _argo0 = 0;
9750 int tempbool1 = (int) TRUE;
9751 char *_kwnames[] = { "self","enable", NULL };
9752
9753 self = self;
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9755 return NULL;
9756 if (_argo0) {
9757 if (_argo0 == Py_None) { _arg0 = NULL; }
9758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9760 return NULL;
9761 }
9762 }
9763 _arg1 = (bool ) tempbool1;
9764{
9765 wxPy_BEGIN_ALLOW_THREADS;
9766 wxGrid_EnableDragColSize(_arg0,_arg1);
9767
9768 wxPy_END_ALLOW_THREADS;
4dfaa61e 9769 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9770} Py_INCREF(Py_None);
9771 _resultobj = Py_None;
9772 return _resultobj;
9773}
9774
9775#define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9776static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9777 PyObject * _resultobj;
9778 wxGrid * _arg0;
9779 PyObject * _argo0 = 0;
9780 char *_kwnames[] = { "self", NULL };
9781
9782 self = self;
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9784 return NULL;
9785 if (_argo0) {
9786 if (_argo0 == Py_None) { _arg0 = NULL; }
9787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9789 return NULL;
9790 }
9791 }
9792{
9793 wxPy_BEGIN_ALLOW_THREADS;
9794 wxGrid_DisableDragColSize(_arg0);
9795
9796 wxPy_END_ALLOW_THREADS;
4dfaa61e 9797 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9798} Py_INCREF(Py_None);
9799 _resultobj = Py_None;
9800 return _resultobj;
9801}
9802
9803#define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9804static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject * _resultobj;
9806 bool _result;
9807 wxGrid * _arg0;
9808 PyObject * _argo0 = 0;
9809 char *_kwnames[] = { "self", NULL };
9810
9811 self = self;
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9813 return NULL;
9814 if (_argo0) {
9815 if (_argo0 == Py_None) { _arg0 = NULL; }
9816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9818 return NULL;
9819 }
9820 }
9821{
9822 wxPy_BEGIN_ALLOW_THREADS;
9823 _result = (bool )wxGrid_CanDragColSize(_arg0);
9824
9825 wxPy_END_ALLOW_THREADS;
4dfaa61e 9826 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9827} _resultobj = Py_BuildValue("i",_result);
9828 return _resultobj;
9829}
9830
9831#define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9832static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9833 PyObject * _resultobj;
9834 wxGrid * _arg0;
9835 bool _arg1 = (bool ) TRUE;
9836 PyObject * _argo0 = 0;
9837 int tempbool1 = (int) TRUE;
9838 char *_kwnames[] = { "self","enable", NULL };
9839
9840 self = self;
9841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9842 return NULL;
9843 if (_argo0) {
9844 if (_argo0 == Py_None) { _arg0 = NULL; }
9845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9847 return NULL;
9848 }
9849 }
9850 _arg1 = (bool ) tempbool1;
9851{
9852 wxPy_BEGIN_ALLOW_THREADS;
9853 wxGrid_EnableDragGridSize(_arg0,_arg1);
9854
9855 wxPy_END_ALLOW_THREADS;
4dfaa61e 9856 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9857} Py_INCREF(Py_None);
9858 _resultobj = Py_None;
9859 return _resultobj;
9860}
9861
9862#define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9863static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject * _resultobj;
9865 wxGrid * _arg0;
9866 PyObject * _argo0 = 0;
9867 char *_kwnames[] = { "self", NULL };
9868
9869 self = self;
9870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9871 return NULL;
9872 if (_argo0) {
9873 if (_argo0 == Py_None) { _arg0 = NULL; }
9874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9876 return NULL;
9877 }
9878 }
9879{
9880 wxPy_BEGIN_ALLOW_THREADS;
9881 wxGrid_DisableDragGridSize(_arg0);
9882
9883 wxPy_END_ALLOW_THREADS;
4dfaa61e 9884 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9885} Py_INCREF(Py_None);
9886 _resultobj = Py_None;
9887 return _resultobj;
9888}
9889
9890#define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9891static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9892 PyObject * _resultobj;
9893 bool _result;
9894 wxGrid * _arg0;
9895 PyObject * _argo0 = 0;
9896 char *_kwnames[] = { "self", NULL };
9897
9898 self = self;
9899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9900 return NULL;
9901 if (_argo0) {
9902 if (_argo0 == Py_None) { _arg0 = NULL; }
9903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9905 return NULL;
9906 }
9907 }
9908{
9909 wxPy_BEGIN_ALLOW_THREADS;
9910 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9911
9912 wxPy_END_ALLOW_THREADS;
4dfaa61e 9913 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9914} _resultobj = Py_BuildValue("i",_result);
9915 return _resultobj;
9916}
9917
9918#define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9919static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject * _resultobj;
9921 wxGrid * _arg0;
9922 int _arg1;
9923 wxGridCellAttr * _arg2;
9924 PyObject * _argo0 = 0;
9925 PyObject * _argo2 = 0;
9926 char *_kwnames[] = { "self","row","attr", NULL };
9927
9928 self = self;
9929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9930 return NULL;
9931 if (_argo0) {
9932 if (_argo0 == Py_None) { _arg0 = NULL; }
9933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9935 return NULL;
9936 }
9937 }
9938 if (_argo2) {
9939 if (_argo2 == Py_None) { _arg2 = NULL; }
9940 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9941 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9942 return NULL;
9943 }
9944 }
9945{
9946 wxPy_BEGIN_ALLOW_THREADS;
9947 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
9948
9949 wxPy_END_ALLOW_THREADS;
4dfaa61e 9950 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9951} Py_INCREF(Py_None);
9952 _resultobj = Py_None;
9953 return _resultobj;
9954}
9955
9956#define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9957static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9958 PyObject * _resultobj;
9959 wxGrid * _arg0;
9960 int _arg1;
9961 wxGridCellAttr * _arg2;
9962 PyObject * _argo0 = 0;
9963 PyObject * _argo2 = 0;
9964 char *_kwnames[] = { "self","col","attr", NULL };
9965
9966 self = self;
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9968 return NULL;
9969 if (_argo0) {
9970 if (_argo0 == Py_None) { _arg0 = NULL; }
9971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9973 return NULL;
9974 }
9975 }
9976 if (_argo2) {
9977 if (_argo2 == Py_None) { _arg2 = NULL; }
9978 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9979 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9980 return NULL;
9981 }
9982 }
9983{
9984 wxPy_BEGIN_ALLOW_THREADS;
9985 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
9986
9987 wxPy_END_ALLOW_THREADS;
4dfaa61e 9988 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9989} Py_INCREF(Py_None);
9990 _resultobj = Py_None;
9991 return _resultobj;
9992}
9993
9994#define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9995static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9996 PyObject * _resultobj;
9997 wxGrid * _arg0;
9998 int _arg1;
9999 PyObject * _argo0 = 0;
10000 char *_kwnames[] = { "self","col", NULL };
10001
10002 self = self;
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10004 return NULL;
10005 if (_argo0) {
10006 if (_argo0 == Py_None) { _arg0 = NULL; }
10007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10009 return NULL;
10010 }
10011 }
10012{
10013 wxPy_BEGIN_ALLOW_THREADS;
10014 wxGrid_SetColFormatBool(_arg0,_arg1);
10015
10016 wxPy_END_ALLOW_THREADS;
4dfaa61e 10017 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10018} Py_INCREF(Py_None);
10019 _resultobj = Py_None;
10020 return _resultobj;
10021}
10022
10023#define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10024static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10025 PyObject * _resultobj;
10026 wxGrid * _arg0;
10027 int _arg1;
10028 PyObject * _argo0 = 0;
10029 char *_kwnames[] = { "self","col", NULL };
10030
10031 self = self;
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10033 return NULL;
10034 if (_argo0) {
10035 if (_argo0 == Py_None) { _arg0 = NULL; }
10036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10038 return NULL;
10039 }
10040 }
10041{
10042 wxPy_BEGIN_ALLOW_THREADS;
10043 wxGrid_SetColFormatNumber(_arg0,_arg1);
10044
10045 wxPy_END_ALLOW_THREADS;
4dfaa61e 10046 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10047} Py_INCREF(Py_None);
10048 _resultobj = Py_None;
10049 return _resultobj;
10050}
10051
10052#define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10053static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject * _resultobj;
10055 wxGrid * _arg0;
10056 int _arg1;
10057 int _arg2 = (int ) -1;
10058 int _arg3 = (int ) -1;
10059 PyObject * _argo0 = 0;
10060 char *_kwnames[] = { "self","col","width","precision", NULL };
10061
10062 self = self;
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10064 return NULL;
10065 if (_argo0) {
10066 if (_argo0 == Py_None) { _arg0 = NULL; }
10067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10069 return NULL;
10070 }
10071 }
10072{
10073 wxPy_BEGIN_ALLOW_THREADS;
10074 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10075
10076 wxPy_END_ALLOW_THREADS;
4dfaa61e 10077 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10078} Py_INCREF(Py_None);
10079 _resultobj = Py_None;
10080 return _resultobj;
10081}
10082
10083#define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10084static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject * _resultobj;
10086 wxGrid * _arg0;
10087 int _arg1;
10088 wxString * _arg2;
10089 PyObject * _argo0 = 0;
10090 PyObject * _obj2 = 0;
10091 char *_kwnames[] = { "self","col","typeName", NULL };
10092
10093 self = self;
10094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10095 return NULL;
10096 if (_argo0) {
10097 if (_argo0 == Py_None) { _arg0 = NULL; }
10098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10100 return NULL;
10101 }
10102 }
10103{
2cd2fac8
RD
10104#if PYTHON_API_VERSION >= 1009
10105 char* tmpPtr; int tmpSize;
10106 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 10107 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
10108 return NULL;
10109 }
10110 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
10111 return NULL;
10112 _arg2 = new wxString(tmpPtr, tmpSize);
10113#else
f6bcfd97
BP
10114 if (!PyString_Check(_obj2)) {
10115 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10116 return NULL;
10117 }
2cd2fac8
RD
10118 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
10119#endif
f6bcfd97
BP
10120}
10121{
10122 wxPy_BEGIN_ALLOW_THREADS;
10123 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10124
10125 wxPy_END_ALLOW_THREADS;
4dfaa61e 10126 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10127} Py_INCREF(Py_None);
10128 _resultobj = Py_None;
10129{
10130 if (_obj2)
10131 delete _arg2;
10132}
10133 return _resultobj;
10134}
10135
10136#define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10137static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10138 PyObject * _resultobj;
10139 wxGrid * _arg0;
10140 bool _arg1 = (bool ) TRUE;
10141 PyObject * _argo0 = 0;
10142 int tempbool1 = (int) TRUE;
10143 char *_kwnames[] = { "self","enable", NULL };
10144
10145 self = self;
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10147 return NULL;
10148 if (_argo0) {
10149 if (_argo0 == Py_None) { _arg0 = NULL; }
10150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10152 return NULL;
10153 }
10154 }
10155 _arg1 = (bool ) tempbool1;
10156{
10157 wxPy_BEGIN_ALLOW_THREADS;
10158 wxGrid_EnableGridLines(_arg0,_arg1);
10159
10160 wxPy_END_ALLOW_THREADS;
4dfaa61e 10161 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10162} Py_INCREF(Py_None);
10163 _resultobj = Py_None;
10164 return _resultobj;
10165}
10166
10167#define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10168static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10169 PyObject * _resultobj;
10170 bool _result;
10171 wxGrid * _arg0;
10172 PyObject * _argo0 = 0;
10173 char *_kwnames[] = { "self", NULL };
10174
10175 self = self;
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10177 return NULL;
10178 if (_argo0) {
10179 if (_argo0 == Py_None) { _arg0 = NULL; }
10180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10182 return NULL;
10183 }
10184 }
10185{
10186 wxPy_BEGIN_ALLOW_THREADS;
10187 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
10188
10189 wxPy_END_ALLOW_THREADS;
4dfaa61e 10190 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10191} _resultobj = Py_BuildValue("i",_result);
10192 return _resultobj;
10193}
10194
10195#define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10196static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10197 PyObject * _resultobj;
10198 int _result;
10199 wxGrid * _arg0;
10200 PyObject * _argo0 = 0;
10201 char *_kwnames[] = { "self", NULL };
10202
10203 self = self;
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10205 return NULL;
10206 if (_argo0) {
10207 if (_argo0 == Py_None) { _arg0 = NULL; }
10208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10210 return NULL;
10211 }
10212 }
10213{
10214 wxPy_BEGIN_ALLOW_THREADS;
10215 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
10216
10217 wxPy_END_ALLOW_THREADS;
4dfaa61e 10218 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10219} _resultobj = Py_BuildValue("i",_result);
10220 return _resultobj;
10221}
10222
10223#define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10224static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10225 PyObject * _resultobj;
10226 int _result;
10227 wxGrid * _arg0;
10228 int _arg1;
10229 PyObject * _argo0 = 0;
10230 char *_kwnames[] = { "self","row", NULL };
10231
10232 self = self;
10233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10234 return NULL;
10235 if (_argo0) {
10236 if (_argo0 == Py_None) { _arg0 = NULL; }
10237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10239 return NULL;
10240 }
10241 }
10242{
10243 wxPy_BEGIN_ALLOW_THREADS;
10244 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
10245
10246 wxPy_END_ALLOW_THREADS;
4dfaa61e 10247 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10248} _resultobj = Py_BuildValue("i",_result);
10249 return _resultobj;
10250}
10251
10252#define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10253static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject * _resultobj;
10255 int _result;
10256 wxGrid * _arg0;
10257 PyObject * _argo0 = 0;
10258 char *_kwnames[] = { "self", NULL };
10259
10260 self = self;
10261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
10262 return NULL;
10263 if (_argo0) {
10264 if (_argo0 == Py_None) { _arg0 = NULL; }
10265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10267 return NULL;
10268 }
10269 }
10270{
10271 wxPy_BEGIN_ALLOW_THREADS;
10272 _result = (int )wxGrid_GetDefaultColSize(_arg0);
10273
10274 wxPy_END_ALLOW_THREADS;
4dfaa61e 10275 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10276} _resultobj = Py_BuildValue("i",_result);
10277 return _resultobj;
10278}
10279
10280#define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10281static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10282 PyObject * _resultobj;
10283 int _result;
10284 wxGrid * _arg0;
10285 int _arg1;
10286 PyObject * _argo0 = 0;
10287 char *_kwnames[] = { "self","col", NULL };
10288
10289 self = self;
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10291 return NULL;
10292 if (_argo0) {
10293 if (_argo0 == Py_None) { _arg0 = NULL; }
10294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10296 return NULL;
10297 }
10298 }
10299{
10300 wxPy_BEGIN_ALLOW_THREADS;
10301 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10302
10303 wxPy_END_ALLOW_THREADS;
4dfaa61e 10304 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10305} _resultobj = Py_BuildValue("i",_result);
10306 return _resultobj;
10307}
10308
10309#define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10310static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10311 PyObject * _resultobj;
10312 wxColour * _result;
10313 wxGrid * _arg0;
10314 PyObject * _argo0 = 0;
10315 char *_kwnames[] = { "self", NULL };
10316 char _ptemp[128];
10317
10318 self = self;
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10320 return NULL;
10321 if (_argo0) {
10322 if (_argo0 == Py_None) { _arg0 = NULL; }
10323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10325 return NULL;
10326 }
10327 }
10328{
10329 wxPy_BEGIN_ALLOW_THREADS;
10330 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10331
10332 wxPy_END_ALLOW_THREADS;
4dfaa61e 10333 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10334} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10335 _resultobj = Py_BuildValue("s",_ptemp);
10336 return _resultobj;
10337}
10338
10339#define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10340static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject * _resultobj;
10342 wxColour * _result;
10343 wxGrid * _arg0;
10344 int _arg1;
10345 int _arg2;
10346 PyObject * _argo0 = 0;
10347 char *_kwnames[] = { "self","row","col", NULL };
10348 char _ptemp[128];
10349
10350 self = self;
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10352 return NULL;
10353 if (_argo0) {
10354 if (_argo0 == Py_None) { _arg0 = NULL; }
10355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10357 return NULL;
10358 }
10359 }
10360{
10361 wxPy_BEGIN_ALLOW_THREADS;
10362 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
10363
10364 wxPy_END_ALLOW_THREADS;
4dfaa61e 10365 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10366} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10367 _resultobj = Py_BuildValue("s",_ptemp);
10368 return _resultobj;
10369}
10370
10371#define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10372static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10373 PyObject * _resultobj;
10374 wxColour * _result;
10375 wxGrid * _arg0;
10376 PyObject * _argo0 = 0;
10377 char *_kwnames[] = { "self", NULL };
10378 char _ptemp[128];
10379
10380 self = self;
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10382 return NULL;
10383 if (_argo0) {
10384 if (_argo0 == Py_None) { _arg0 = NULL; }
10385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10387 return NULL;
10388 }
10389 }
10390{
10391 wxPy_BEGIN_ALLOW_THREADS;
10392 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
10393
10394 wxPy_END_ALLOW_THREADS;
4dfaa61e 10395 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10396} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10397 _resultobj = Py_BuildValue("s",_ptemp);
10398 return _resultobj;
10399}
10400
10401#define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10402static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10403 PyObject * _resultobj;
10404 wxColour * _result;
10405 wxGrid * _arg0;
10406 int _arg1;
10407 int _arg2;
10408 PyObject * _argo0 = 0;
10409 char *_kwnames[] = { "self","row","col", NULL };
10410 char _ptemp[128];
10411
10412 self = self;
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10414 return NULL;
10415 if (_argo0) {
10416 if (_argo0 == Py_None) { _arg0 = NULL; }
10417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10419 return NULL;
10420 }
10421 }
10422{
10423 wxPy_BEGIN_ALLOW_THREADS;
10424 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
10425
10426 wxPy_END_ALLOW_THREADS;
4dfaa61e 10427 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10428} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10429 _resultobj = Py_BuildValue("s",_ptemp);
10430 return _resultobj;
10431}
10432
10433#define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10434static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10435 PyObject * _resultobj;
10436 wxFont * _result;
10437 wxGrid * _arg0;
10438 PyObject * _argo0 = 0;
10439 char *_kwnames[] = { "self", NULL };
10440 char _ptemp[128];
10441
10442 self = self;
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10444 return NULL;
10445 if (_argo0) {
10446 if (_argo0 == Py_None) { _arg0 = NULL; }
10447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10449 return NULL;
10450 }
10451 }
10452{
10453 wxPy_BEGIN_ALLOW_THREADS;
10454 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
10455
10456 wxPy_END_ALLOW_THREADS;
4dfaa61e 10457 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10458} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10459 _resultobj = Py_BuildValue("s",_ptemp);
10460 return _resultobj;
10461}
10462
10463#define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10464static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10465 PyObject * _resultobj;
10466 wxFont * _result;
10467 wxGrid * _arg0;
10468 int _arg1;
10469 int _arg2;
10470 PyObject * _argo0 = 0;
10471 char *_kwnames[] = { "self","row","col", NULL };
10472 char _ptemp[128];
10473
10474 self = self;
10475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10476 return NULL;
10477 if (_argo0) {
10478 if (_argo0 == Py_None) { _arg0 = NULL; }
10479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10481 return NULL;
10482 }
10483 }
10484{
10485 wxPy_BEGIN_ALLOW_THREADS;
10486 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
10487
10488 wxPy_END_ALLOW_THREADS;
4dfaa61e 10489 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10490} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10491 _resultobj = Py_BuildValue("s",_ptemp);
10492 return _resultobj;
10493}
10494
10495#define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10496static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10497 PyObject * _resultobj;
10498 wxGrid * _arg0;
10499 int * _arg1;
10500 int * _arg2;
10501 PyObject * _argo0 = 0;
10502 PyObject * _argo1 = 0;
10503 PyObject * _argo2 = 0;
10504 char *_kwnames[] = { "self","horiz","vert", NULL };
10505
10506 self = self;
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10508 return NULL;
10509 if (_argo0) {
10510 if (_argo0 == Py_None) { _arg0 = NULL; }
10511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10513 return NULL;
10514 }
10515 }
10516 if (_argo1) {
10517 if (_argo1 == Py_None) { _arg1 = NULL; }
10518 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10519 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10520 return NULL;
10521 }
10522 }
10523 if (_argo2) {
10524 if (_argo2 == Py_None) { _arg2 = NULL; }
10525 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10526 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10527 return NULL;
10528 }
10529 }
10530{
10531 wxPy_BEGIN_ALLOW_THREADS;
10532 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10533
10534 wxPy_END_ALLOW_THREADS;
4dfaa61e 10535 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10536} Py_INCREF(Py_None);
10537 _resultobj = Py_None;
10538 return _resultobj;
10539}
10540
10541#define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10542static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10543 PyObject * _resultobj;
10544 wxGrid * _arg0;
10545 int _arg1;
10546 int _arg2;
10547 int * _arg3;
10548 int * _arg4;
10549 PyObject * _argo0 = 0;
10550 PyObject * _argo3 = 0;
10551 PyObject * _argo4 = 0;
10552 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10553
10554 self = self;
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10556 return NULL;
10557 if (_argo0) {
10558 if (_argo0 == Py_None) { _arg0 = NULL; }
10559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10561 return NULL;
10562 }
10563 }
10564 if (_argo3) {
10565 if (_argo3 == Py_None) { _arg3 = NULL; }
10566 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10567 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10568 return NULL;
10569 }
10570 }
10571 if (_argo4) {
10572 if (_argo4 == Py_None) { _arg4 = NULL; }
10573 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10574 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10575 return NULL;
10576 }
10577 }
10578{
10579 wxPy_BEGIN_ALLOW_THREADS;
10580 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10581
10582 wxPy_END_ALLOW_THREADS;
4dfaa61e 10583 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10584} Py_INCREF(Py_None);
10585 _resultobj = Py_None;
10586 return _resultobj;
10587}
10588
10589#define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10590static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject * _resultobj;
10592 wxGrid * _arg0;
10593 int _arg1;
10594 bool _arg2 = (bool ) FALSE;
10595 PyObject * _argo0 = 0;
10596 int tempbool2 = (int) FALSE;
10597 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10598
10599 self = self;
10600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10601 return NULL;
10602 if (_argo0) {
10603 if (_argo0 == Py_None) { _arg0 = NULL; }
10604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10606 return NULL;
10607 }
10608 }
10609 _arg2 = (bool ) tempbool2;
10610{
10611 wxPy_BEGIN_ALLOW_THREADS;
10612 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10613
10614 wxPy_END_ALLOW_THREADS;
4dfaa61e 10615 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10616} Py_INCREF(Py_None);
10617 _resultobj = Py_None;
10618 return _resultobj;
10619}
10620
10621#define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10622static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject * _resultobj;
10624 wxGrid * _arg0;
10625 int _arg1;
10626 int _arg2;
10627 PyObject * _argo0 = 0;
10628 char *_kwnames[] = { "self","row","height", NULL };
10629
10630 self = self;
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10632 return NULL;
10633 if (_argo0) {
10634 if (_argo0 == Py_None) { _arg0 = NULL; }
10635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10637 return NULL;
10638 }
10639 }
10640{
10641 wxPy_BEGIN_ALLOW_THREADS;
10642 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10643
10644 wxPy_END_ALLOW_THREADS;
4dfaa61e 10645 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10646} Py_INCREF(Py_None);
10647 _resultobj = Py_None;
10648 return _resultobj;
10649}
10650
10651#define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10652static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject * _resultobj;
10654 wxGrid * _arg0;
10655 int _arg1;
10656 bool _arg2 = (bool ) FALSE;
10657 PyObject * _argo0 = 0;
10658 int tempbool2 = (int) FALSE;
10659 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10660
10661 self = self;
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10663 return NULL;
10664 if (_argo0) {
10665 if (_argo0 == Py_None) { _arg0 = NULL; }
10666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10668 return NULL;
10669 }
10670 }
10671 _arg2 = (bool ) tempbool2;
10672{
10673 wxPy_BEGIN_ALLOW_THREADS;
10674 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10675
10676 wxPy_END_ALLOW_THREADS;
4dfaa61e 10677 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10678} Py_INCREF(Py_None);
10679 _resultobj = Py_None;
10680 return _resultobj;
10681}
10682
10683#define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10684static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10685 PyObject * _resultobj;
10686 wxGrid * _arg0;
10687 int _arg1;
10688 int _arg2;
10689 PyObject * _argo0 = 0;
10690 char *_kwnames[] = { "self","col","width", NULL };
10691
10692 self = self;
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10694 return NULL;
10695 if (_argo0) {
10696 if (_argo0 == Py_None) { _arg0 = NULL; }
10697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10699 return NULL;
10700 }
10701 }
10702{
10703 wxPy_BEGIN_ALLOW_THREADS;
10704 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10705
10706 wxPy_END_ALLOW_THREADS;
4dfaa61e 10707 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10708} Py_INCREF(Py_None);
10709 _resultobj = Py_None;
10710 return _resultobj;
10711}
10712
10713#define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10714static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10715 PyObject * _resultobj;
10716 wxGrid * _arg0;
10717 int _arg1;
10718 bool _arg2 = (bool ) TRUE;
10719 PyObject * _argo0 = 0;
10720 int tempbool2 = (int) TRUE;
10721 char *_kwnames[] = { "self","col","setAsMin", NULL };
10722
10723 self = self;
10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10725 return NULL;
10726 if (_argo0) {
10727 if (_argo0 == Py_None) { _arg0 = NULL; }
10728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10730 return NULL;
10731 }
10732 }
10733 _arg2 = (bool ) tempbool2;
10734{
10735 wxPy_BEGIN_ALLOW_THREADS;
10736 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10737
10738 wxPy_END_ALLOW_THREADS;
4dfaa61e 10739 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10740} Py_INCREF(Py_None);
10741 _resultobj = Py_None;
10742 return _resultobj;
10743}
10744
10745#define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10746static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10747 PyObject * _resultobj;
10748 wxGrid * _arg0;
10749 int _arg1;
10750 bool _arg2 = (bool ) TRUE;
10751 PyObject * _argo0 = 0;
10752 int tempbool2 = (int) TRUE;
10753 char *_kwnames[] = { "self","row","setAsMin", NULL };
10754
10755 self = self;
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10757 return NULL;
10758 if (_argo0) {
10759 if (_argo0 == Py_None) { _arg0 = NULL; }
10760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10762 return NULL;
10763 }
10764 }
10765 _arg2 = (bool ) tempbool2;
10766{
10767 wxPy_BEGIN_ALLOW_THREADS;
10768 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10769
10770 wxPy_END_ALLOW_THREADS;
4dfaa61e 10771 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10772} Py_INCREF(Py_None);
10773 _resultobj = Py_None;
10774 return _resultobj;
10775}
10776
10777#define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10778static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10779 PyObject * _resultobj;
10780 wxGrid * _arg0;
10781 bool _arg1 = (bool ) TRUE;
10782 PyObject * _argo0 = 0;
10783 int tempbool1 = (int) TRUE;
10784 char *_kwnames[] = { "self","setAsMin", NULL };
10785
10786 self = self;
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10788 return NULL;
10789 if (_argo0) {
10790 if (_argo0 == Py_None) { _arg0 = NULL; }
10791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10793 return NULL;
10794 }
10795 }
10796 _arg1 = (bool ) tempbool1;
10797{
10798 wxPy_BEGIN_ALLOW_THREADS;
10799 wxGrid_AutoSizeColumns(_arg0,_arg1);
10800
10801 wxPy_END_ALLOW_THREADS;
4dfaa61e 10802 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10803} Py_INCREF(Py_None);
10804 _resultobj = Py_None;
10805 return _resultobj;
10806}
10807
10808#define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10809static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject * _resultobj;
10811 wxGrid * _arg0;
10812 bool _arg1 = (bool ) TRUE;
10813 PyObject * _argo0 = 0;
10814 int tempbool1 = (int) TRUE;
10815 char *_kwnames[] = { "self","setAsMin", NULL };
10816
10817 self = self;
10818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10819 return NULL;
10820 if (_argo0) {
10821 if (_argo0 == Py_None) { _arg0 = NULL; }
10822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10824 return NULL;
10825 }
10826 }
10827 _arg1 = (bool ) tempbool1;
10828{
10829 wxPy_BEGIN_ALLOW_THREADS;
10830 wxGrid_AutoSizeRows(_arg0,_arg1);
10831
10832 wxPy_END_ALLOW_THREADS;
4dfaa61e 10833 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10834} Py_INCREF(Py_None);
10835 _resultobj = Py_None;
10836 return _resultobj;
10837}
10838
10839#define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10840static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject * _resultobj;
10842 wxGrid * _arg0;
10843 PyObject * _argo0 = 0;
10844 char *_kwnames[] = { "self", NULL };
10845
10846 self = self;
10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10848 return NULL;
10849 if (_argo0) {
10850 if (_argo0 == Py_None) { _arg0 = NULL; }
10851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10853 return NULL;
10854 }
10855 }
10856{
10857 wxPy_BEGIN_ALLOW_THREADS;
10858 wxGrid_AutoSize(_arg0);
10859
10860 wxPy_END_ALLOW_THREADS;
4dfaa61e 10861 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10862} Py_INCREF(Py_None);
10863 _resultobj = Py_None;
10864 return _resultobj;
10865}
10866
10867#define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10868static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10869 PyObject * _resultobj;
10870 wxGrid * _arg0;
10871 int _arg1;
10872 int _arg2;
10873 PyObject * _argo0 = 0;
10874 char *_kwnames[] = { "self","col","width", NULL };
10875
10876 self = self;
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10878 return NULL;
10879 if (_argo0) {
10880 if (_argo0 == Py_None) { _arg0 = NULL; }
10881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10883 return NULL;
10884 }
10885 }
10886{
10887 wxPy_BEGIN_ALLOW_THREADS;
10888 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10889
10890 wxPy_END_ALLOW_THREADS;
4dfaa61e 10891 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10892} Py_INCREF(Py_None);
10893 _resultobj = Py_None;
10894 return _resultobj;
10895}
10896
10897#define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10898static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10899 PyObject * _resultobj;
10900 wxGrid * _arg0;
10901 int _arg1;
10902 int _arg2;
10903 PyObject * _argo0 = 0;
10904 char *_kwnames[] = { "self","row","width", NULL };
10905
10906 self = self;
10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10908 return NULL;
10909 if (_argo0) {
10910 if (_argo0 == Py_None) { _arg0 = NULL; }
10911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10913 return NULL;
10914 }
10915 }
10916{
10917 wxPy_BEGIN_ALLOW_THREADS;
10918 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10919
10920 wxPy_END_ALLOW_THREADS;
4dfaa61e 10921 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10922} Py_INCREF(Py_None);
10923 _resultobj = Py_None;
10924 return _resultobj;
10925}
10926
10927#define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10928static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10929 PyObject * _resultobj;
10930 wxGrid * _arg0;
10931 wxColour * _arg1;
10932 PyObject * _argo0 = 0;
10933 wxColour temp;
10934 PyObject * _obj1 = 0;
10935 char *_kwnames[] = { "self","arg2", NULL };
10936
10937 self = self;
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10939 return NULL;
10940 if (_argo0) {
10941 if (_argo0 == Py_None) { _arg0 = NULL; }
10942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10944 return NULL;
10945 }
10946 }
10947{
10948 _arg1 = &temp;
10949 if (! wxColour_helper(_obj1, &_arg1))
10950 return NULL;
10951}
10952{
10953 wxPy_BEGIN_ALLOW_THREADS;
10954 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10955
10956 wxPy_END_ALLOW_THREADS;
4dfaa61e 10957 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10958} Py_INCREF(Py_None);
10959 _resultobj = Py_None;
10960 return _resultobj;
10961}
10962
10963#define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10964static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10965 PyObject * _resultobj;
10966 wxGrid * _arg0;
10967 int _arg1;
10968 int _arg2;
10969 wxColour * _arg3;
10970 PyObject * _argo0 = 0;
10971 wxColour temp;
10972 PyObject * _obj3 = 0;
10973 char *_kwnames[] = { "self","row","col","arg4", NULL };
10974
10975 self = self;
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10977 return NULL;
10978 if (_argo0) {
10979 if (_argo0 == Py_None) { _arg0 = NULL; }
10980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10982 return NULL;
10983 }
10984 }
10985{
10986 _arg3 = &temp;
10987 if (! wxColour_helper(_obj3, &_arg3))
10988 return NULL;
10989}
10990{
10991 wxPy_BEGIN_ALLOW_THREADS;
10992 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
10993
10994 wxPy_END_ALLOW_THREADS;
4dfaa61e 10995 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10996} Py_INCREF(Py_None);
10997 _resultobj = Py_None;
10998 return _resultobj;
10999}
11000
11001#define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11002static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11003 PyObject * _resultobj;
11004 wxGrid * _arg0;
11005 wxColour * _arg1;
11006 PyObject * _argo0 = 0;
11007 wxColour temp;
11008 PyObject * _obj1 = 0;
11009 char *_kwnames[] = { "self","arg2", NULL };
11010
11011 self = self;
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
11013 return NULL;
11014 if (_argo0) {
11015 if (_argo0 == Py_None) { _arg0 = NULL; }
11016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11018 return NULL;
11019 }
11020 }
11021{
11022 _arg1 = &temp;
11023 if (! wxColour_helper(_obj1, &_arg1))
11024 return NULL;
11025}
11026{
11027 wxPy_BEGIN_ALLOW_THREADS;
11028 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
11029
11030 wxPy_END_ALLOW_THREADS;
4dfaa61e 11031 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11032} Py_INCREF(Py_None);
11033 _resultobj = Py_None;
11034 return _resultobj;
11035}
11036
11037#define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11038static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11039 PyObject * _resultobj;
11040 wxGrid * _arg0;
11041 int _arg1;
11042 int _arg2;
11043 wxColour * _arg3;
11044 PyObject * _argo0 = 0;
11045 wxColour temp;
11046 PyObject * _obj3 = 0;
11047 char *_kwnames[] = { "self","row","col","arg4", NULL };
11048
11049 self = self;
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11051 return NULL;
11052 if (_argo0) {
11053 if (_argo0 == Py_None) { _arg0 = NULL; }
11054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11056 return NULL;
11057 }
11058 }
11059{
11060 _arg3 = &temp;
11061 if (! wxColour_helper(_obj3, &_arg3))
11062 return NULL;
11063}
11064{
11065 wxPy_BEGIN_ALLOW_THREADS;
11066 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
11067
11068 wxPy_END_ALLOW_THREADS;
4dfaa61e 11069 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11070} Py_INCREF(Py_None);
11071 _resultobj = Py_None;
11072 return _resultobj;
11073}
11074
11075#define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11076static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11077 PyObject * _resultobj;
11078 wxGrid * _arg0;
11079 wxFont * _arg1;
11080 PyObject * _argo0 = 0;
11081 PyObject * _argo1 = 0;
11082 char *_kwnames[] = { "self","arg2", NULL };
11083
11084 self = self;
11085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11086 return NULL;
11087 if (_argo0) {
11088 if (_argo0 == Py_None) { _arg0 = NULL; }
11089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11091 return NULL;
11092 }
11093 }
11094 if (_argo1) {
11095 if (_argo1 == Py_None) { _arg1 = NULL; }
11096 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11097 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11098 return NULL;
11099 }
11100 }
11101{
11102 wxPy_BEGIN_ALLOW_THREADS;
11103 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
11104
11105 wxPy_END_ALLOW_THREADS;
4dfaa61e 11106 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11107} Py_INCREF(Py_None);
11108 _resultobj = Py_None;
11109 return _resultobj;
11110}
11111
11112#define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11113static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11114 PyObject * _resultobj;
11115 wxGrid * _arg0;
11116 int _arg1;
11117 int _arg2;
11118 wxFont * _arg3;
11119 PyObject * _argo0 = 0;
11120 PyObject * _argo3 = 0;
11121 char *_kwnames[] = { "self","row","col","arg4", NULL };
11122
11123 self = self;
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11125 return NULL;
11126 if (_argo0) {
11127 if (_argo0 == Py_None) { _arg0 = NULL; }
11128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11130 return NULL;
11131 }
11132 }
11133 if (_argo3) {
11134 if (_argo3 == Py_None) { _arg3 = NULL; }
11135 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11136 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11137 return NULL;
11138 }
11139 }
11140{
11141 wxPy_BEGIN_ALLOW_THREADS;
11142 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
11143
11144 wxPy_END_ALLOW_THREADS;
4dfaa61e 11145 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11146} Py_INCREF(Py_None);
11147 _resultobj = Py_None;
11148 return _resultobj;
11149}
11150
11151#define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11152static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11153 PyObject * _resultobj;
11154 wxGrid * _arg0;
11155 int _arg1;
11156 int _arg2;
11157 PyObject * _argo0 = 0;
11158 char *_kwnames[] = { "self","horiz","vert", NULL };
11159
11160 self = self;
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11162 return NULL;
11163 if (_argo0) {
11164 if (_argo0 == Py_None) { _arg0 = NULL; }
11165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11167 return NULL;
11168 }
11169 }
11170{
11171 wxPy_BEGIN_ALLOW_THREADS;
11172 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
11173
11174 wxPy_END_ALLOW_THREADS;
4dfaa61e 11175 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11176} Py_INCREF(Py_None);
11177 _resultobj = Py_None;
11178 return _resultobj;
11179}
11180
11181#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11182static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11183 PyObject * _resultobj;
11184 wxGrid * _arg0;
11185 int _arg1;
11186 int _arg2;
11187 int _arg3;
11188 int _arg4;
11189 PyObject * _argo0 = 0;
11190 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11191
11192 self = self;
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11194 return NULL;
11195 if (_argo0) {
11196 if (_argo0 == Py_None) { _arg0 = NULL; }
11197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11199 return NULL;
11200 }
11201 }
11202{
11203 wxPy_BEGIN_ALLOW_THREADS;
11204 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11205
11206 wxPy_END_ALLOW_THREADS;
4dfaa61e 11207 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11208} Py_INCREF(Py_None);
11209 _resultobj = Py_None;
11210 return _resultobj;
11211}
11212
11213#define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11214static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11215 PyObject * _resultobj;
11216 wxGrid * _arg0;
11217 wxGridCellRenderer * _arg1;
11218 PyObject * _argo0 = 0;
11219 PyObject * _argo1 = 0;
11220 char *_kwnames[] = { "self","renderer", NULL };
11221
11222 self = self;
11223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
11224 return NULL;
11225 if (_argo0) {
11226 if (_argo0 == Py_None) { _arg0 = NULL; }
11227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11229 return NULL;
11230 }
11231 }
11232 if (_argo1) {
11233 if (_argo1 == Py_None) { _arg1 = NULL; }
11234 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
11235 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11236 return NULL;
11237 }
11238 }
11239{
11240 wxPy_BEGIN_ALLOW_THREADS;
11241 wxGrid_SetDefaultRenderer(_arg0,_arg1);
11242
11243 wxPy_END_ALLOW_THREADS;
4dfaa61e 11244 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11245} Py_INCREF(Py_None);
11246 _resultobj = Py_None;
11247 return _resultobj;
11248}
11249
11250#define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11251static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11252 PyObject * _resultobj;
11253 wxGrid * _arg0;
11254 int _arg1;
11255 int _arg2;
11256 wxGridCellRenderer * _arg3;
11257 PyObject * _argo0 = 0;
11258 PyObject * _argo3 = 0;
11259 char *_kwnames[] = { "self","row","col","renderer", NULL };
11260
11261 self = self;
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11263 return NULL;
11264 if (_argo0) {
11265 if (_argo0 == Py_None) { _arg0 = NULL; }
11266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11268 return NULL;
11269 }
11270 }
11271 if (_argo3) {
11272 if (_argo3 == Py_None) { _arg3 = NULL; }
11273 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
11274 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11275 return NULL;
11276 }
11277 }
11278{
11279 wxPy_BEGIN_ALLOW_THREADS;
11280 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
11281
11282 wxPy_END_ALLOW_THREADS;
4dfaa61e 11283 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11284} Py_INCREF(Py_None);
11285 _resultobj = Py_None;
11286 return _resultobj;
11287}
11288
11289#define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11290static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11291 PyObject * _resultobj;
11292 wxGridCellRenderer * _result;
11293 wxGrid * _arg0;
11294 PyObject * _argo0 = 0;
11295 char *_kwnames[] = { "self", NULL };
11296 char _ptemp[128];
11297
11298 self = self;
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
11300 return NULL;
11301 if (_argo0) {
11302 if (_argo0 == Py_None) { _arg0 = NULL; }
11303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11305 return NULL;
11306 }
11307 }
11308{
11309 wxPy_BEGIN_ALLOW_THREADS;
11310 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
11311
11312 wxPy_END_ALLOW_THREADS;
4dfaa61e 11313 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11314} if (_result) {
11315 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11316 _resultobj = Py_BuildValue("s",_ptemp);
11317 } else {
11318 Py_INCREF(Py_None);
11319 _resultobj = Py_None;
11320 }
11321 return _resultobj;
11322}
11323
11324#define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11325static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject * _resultobj;
11327 wxGridCellRenderer * _result;
11328 wxGrid * _arg0;
11329 int _arg1;
11330 int _arg2;
11331 PyObject * _argo0 = 0;
11332 char *_kwnames[] = { "self","row","col", NULL };
11333 char _ptemp[128];
11334
11335 self = self;
11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11337 return NULL;
11338 if (_argo0) {
11339 if (_argo0 == Py_None) { _arg0 = NULL; }
11340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11342 return NULL;
11343 }
11344 }
11345{
11346 wxPy_BEGIN_ALLOW_THREADS;
11347 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
11348
11349 wxPy_END_ALLOW_THREADS;
4dfaa61e 11350 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11351} if (_result) {
11352 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11353 _resultobj = Py_BuildValue("s",_ptemp);
11354 } else {
11355 Py_INCREF(Py_None);
11356 _resultobj = Py_None;
11357 }
11358 return _resultobj;
11359}
11360
11361#define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11362static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11363 PyObject * _resultobj;
11364 wxGrid * _arg0;
11365 wxGridCellEditor * _arg1;
11366 PyObject * _argo0 = 0;
11367 PyObject * _argo1 = 0;
11368 char *_kwnames[] = { "self","editor", NULL };
11369
11370 self = self;
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
11372 return NULL;
11373 if (_argo0) {
11374 if (_argo0 == Py_None) { _arg0 = NULL; }
11375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11377 return NULL;
11378 }
11379 }
11380 if (_argo1) {
11381 if (_argo1 == Py_None) { _arg1 = NULL; }
11382 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
11383 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11384 return NULL;
11385 }
11386 }
11387{
11388 wxPy_BEGIN_ALLOW_THREADS;
11389 wxGrid_SetDefaultEditor(_arg0,_arg1);
11390
11391 wxPy_END_ALLOW_THREADS;
4dfaa61e 11392 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11393} Py_INCREF(Py_None);
11394 _resultobj = Py_None;
11395 return _resultobj;
11396}
11397
11398#define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11399static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11400 PyObject * _resultobj;
11401 wxGrid * _arg0;
11402 int _arg1;
11403 int _arg2;
11404 wxGridCellEditor * _arg3;
11405 PyObject * _argo0 = 0;
11406 PyObject * _argo3 = 0;
11407 char *_kwnames[] = { "self","row","col","editor", NULL };
11408
11409 self = self;
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11411 return NULL;
11412 if (_argo0) {
11413 if (_argo0 == Py_None) { _arg0 = NULL; }
11414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11416 return NULL;
11417 }
11418 }
11419 if (_argo3) {
11420 if (_argo3 == Py_None) { _arg3 = NULL; }
11421 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11422 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11423 return NULL;
11424 }
11425 }
11426{
11427 wxPy_BEGIN_ALLOW_THREADS;
11428 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
11429
11430 wxPy_END_ALLOW_THREADS;
4dfaa61e 11431 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11432} Py_INCREF(Py_None);
11433 _resultobj = Py_None;
11434 return _resultobj;
11435}
11436
11437#define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11438static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11439 PyObject * _resultobj;
11440 wxGridCellEditor * _result;
11441 wxGrid * _arg0;
11442 PyObject * _argo0 = 0;
11443 char *_kwnames[] = { "self", NULL };
11444 char _ptemp[128];
11445
11446 self = self;
11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
11448 return NULL;
11449 if (_argo0) {
11450 if (_argo0 == Py_None) { _arg0 = NULL; }
11451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11453 return NULL;
11454 }
11455 }
11456{
11457 wxPy_BEGIN_ALLOW_THREADS;
11458 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
11459
11460 wxPy_END_ALLOW_THREADS;
4dfaa61e 11461 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11462} if (_result) {
11463 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11464 _resultobj = Py_BuildValue("s",_ptemp);
11465 } else {
11466 Py_INCREF(Py_None);
11467 _resultobj = Py_None;
11468 }
11469 return _resultobj;
11470}
11471
11472#define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11473static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11474 PyObject * _resultobj;
11475 wxGridCellEditor * _result;
11476 wxGrid * _arg0;
11477 int _arg1;
11478 int _arg2;
11479 PyObject * _argo0 = 0;
11480 char *_kwnames[] = { "self","row","col", NULL };
11481 char _ptemp[128];
11482
11483 self = self;
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
11485 return NULL;
11486 if (_argo0) {
11487 if (_argo0 == Py_None) { _arg0 = NULL; }
11488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11490 return NULL;
11491 }
11492 }
11493{
11494 wxPy_BEGIN_ALLOW_THREADS;
11495 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
11496
11497 wxPy_END_ALLOW_THREADS;
4dfaa61e 11498 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11499} if (_result) {
11500 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11501 _resultobj = Py_BuildValue("s",_ptemp);
11502 } else {
11503 Py_INCREF(Py_None);
11504 _resultobj = Py_None;
11505 }
11506 return _resultobj;
11507}
11508
11509#define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11510static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject * _resultobj;
11512 wxString * _result;
11513 wxGrid * _arg0;
11514 int _arg1;
11515 int _arg2;
11516 PyObject * _argo0 = 0;
11517 char *_kwnames[] = { "self","row","col", NULL };
11518
11519 self = self;
11520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
11521 return NULL;
11522 if (_argo0) {
11523 if (_argo0 == Py_None) { _arg0 = NULL; }
11524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11526 return NULL;
11527 }
11528 }
11529{
11530 wxPy_BEGIN_ALLOW_THREADS;
11531 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11532
11533 wxPy_END_ALLOW_THREADS;
4dfaa61e 11534 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11535}{
11536 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11537}
11538{
11539 delete _result;
11540}
11541 return _resultobj;
11542}
11543
11544#define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11545static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject * _resultobj;
11547 wxGrid * _arg0;
11548 int _arg1;
11549 int _arg2;
11550 wxString * _arg3;
11551 PyObject * _argo0 = 0;
11552 PyObject * _obj3 = 0;
11553 char *_kwnames[] = { "self","row","col","s", NULL };
11554
11555 self = self;
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11557 return NULL;
11558 if (_argo0) {
11559 if (_argo0 == Py_None) { _arg0 = NULL; }
11560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11562 return NULL;
11563 }
11564 }
11565{
2cd2fac8
RD
11566#if PYTHON_API_VERSION >= 1009
11567 char* tmpPtr; int tmpSize;
11568 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 11569 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
11570 return NULL;
11571 }
11572 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11573 return NULL;
11574 _arg3 = new wxString(tmpPtr, tmpSize);
11575#else
f6bcfd97
BP
11576 if (!PyString_Check(_obj3)) {
11577 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11578 return NULL;
11579 }
2cd2fac8
RD
11580 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11581#endif
f6bcfd97
BP
11582}
11583{
11584 wxPy_BEGIN_ALLOW_THREADS;
11585 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11586
11587 wxPy_END_ALLOW_THREADS;
4dfaa61e 11588 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11589} Py_INCREF(Py_None);
11590 _resultobj = Py_None;
11591{
11592 if (_obj3)
11593 delete _arg3;
11594}
11595 return _resultobj;
11596}
11597
11598#define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11599static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11600 PyObject * _resultobj;
11601 bool _result;
11602 wxGrid * _arg0;
11603 int _arg1;
11604 int _arg2;
11605 PyObject * _argo0 = 0;
11606 char *_kwnames[] = { "self","row","col", NULL };
11607
11608 self = self;
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11610 return NULL;
11611 if (_argo0) {
11612 if (_argo0 == Py_None) { _arg0 = NULL; }
11613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11615 return NULL;
11616 }
11617 }
11618{
11619 wxPy_BEGIN_ALLOW_THREADS;
11620 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11621
11622 wxPy_END_ALLOW_THREADS;
4dfaa61e 11623 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11624} _resultobj = Py_BuildValue("i",_result);
11625 return _resultobj;
11626}
11627
11628#define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11629static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11630 PyObject * _resultobj;
11631 wxGrid * _arg0;
11632 int _arg1;
11633 int _arg2;
11634 bool _arg3 = (bool ) TRUE;
11635 PyObject * _argo0 = 0;
11636 int tempbool3 = (int) TRUE;
11637 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11638
11639 self = self;
11640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11641 return NULL;
11642 if (_argo0) {
11643 if (_argo0 == Py_None) { _arg0 = NULL; }
11644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11646 return NULL;
11647 }
11648 }
11649 _arg3 = (bool ) tempbool3;
11650{
11651 wxPy_BEGIN_ALLOW_THREADS;
11652 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11653
11654 wxPy_END_ALLOW_THREADS;
4dfaa61e 11655 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11656} Py_INCREF(Py_None);
11657 _resultobj = Py_None;
11658 return _resultobj;
11659}
11660
11661#define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11662static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11663 PyObject * _resultobj;
11664 wxGrid * _arg0;
11665 int _arg1;
11666 bool _arg2 = (bool ) FALSE;
11667 PyObject * _argo0 = 0;
11668 int tempbool2 = (int) FALSE;
11669 char *_kwnames[] = { "self","row","addToSelected", NULL };
11670
11671 self = self;
11672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11673 return NULL;
11674 if (_argo0) {
11675 if (_argo0 == Py_None) { _arg0 = NULL; }
11676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11678 return NULL;
11679 }
11680 }
11681 _arg2 = (bool ) tempbool2;
11682{
11683 wxPy_BEGIN_ALLOW_THREADS;
11684 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11685
11686 wxPy_END_ALLOW_THREADS;
4dfaa61e 11687 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11688} Py_INCREF(Py_None);
11689 _resultobj = Py_None;
11690 return _resultobj;
11691}
11692
11693#define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11694static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11695 PyObject * _resultobj;
11696 wxGrid * _arg0;
11697 int _arg1;
11698 bool _arg2 = (bool ) FALSE;
11699 PyObject * _argo0 = 0;
11700 int tempbool2 = (int) FALSE;
11701 char *_kwnames[] = { "self","col","addToSelected", NULL };
11702
11703 self = self;
11704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11705 return NULL;
11706 if (_argo0) {
11707 if (_argo0 == Py_None) { _arg0 = NULL; }
11708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11710 return NULL;
11711 }
11712 }
11713 _arg2 = (bool ) tempbool2;
11714{
11715 wxPy_BEGIN_ALLOW_THREADS;
11716 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11717
11718 wxPy_END_ALLOW_THREADS;
4dfaa61e 11719 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11720} Py_INCREF(Py_None);
11721 _resultobj = Py_None;
11722 return _resultobj;
11723}
11724
c368d904 11725#define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
f6bcfd97
BP
11726static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11727 PyObject * _resultobj;
11728 wxGrid * _arg0;
11729 int _arg1;
11730 int _arg2;
11731 int _arg3;
11732 int _arg4;
c368d904 11733 bool _arg5 = (bool ) FALSE;
f6bcfd97 11734 PyObject * _argo0 = 0;
c368d904
RD
11735 int tempbool5 = (int) FALSE;
11736 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
f6bcfd97
BP
11737
11738 self = self;
c368d904 11739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
f6bcfd97
BP
11740 return NULL;
11741 if (_argo0) {
11742 if (_argo0 == Py_None) { _arg0 = NULL; }
11743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11745 return NULL;
11746 }
11747 }
c368d904 11748 _arg5 = (bool ) tempbool5;
f6bcfd97
BP
11749{
11750 wxPy_BEGIN_ALLOW_THREADS;
c368d904 11751 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
f6bcfd97
BP
11752
11753 wxPy_END_ALLOW_THREADS;
4dfaa61e 11754 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11755} Py_INCREF(Py_None);
11756 _resultobj = Py_None;
11757 return _resultobj;
11758}
11759
11760#define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11761static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11762 PyObject * _resultobj;
11763 wxGrid * _arg0;
11764 PyObject * _argo0 = 0;
11765 char *_kwnames[] = { "self", NULL };
11766
11767 self = self;
11768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11769 return NULL;
11770 if (_argo0) {
11771 if (_argo0 == Py_None) { _arg0 = NULL; }
11772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11774 return NULL;
11775 }
11776 }
11777{
11778 wxPy_BEGIN_ALLOW_THREADS;
11779 wxGrid_SelectAll(_arg0);
11780
11781 wxPy_END_ALLOW_THREADS;
4dfaa61e 11782 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11783} Py_INCREF(Py_None);
11784 _resultobj = Py_None;
11785 return _resultobj;
11786}
11787
11788#define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11789static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject * _resultobj;
11791 bool _result;
11792 wxGrid * _arg0;
11793 PyObject * _argo0 = 0;
11794 char *_kwnames[] = { "self", NULL };
11795
11796 self = self;
11797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11798 return NULL;
11799 if (_argo0) {
11800 if (_argo0 == Py_None) { _arg0 = NULL; }
11801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11803 return NULL;
11804 }
11805 }
11806{
11807 wxPy_BEGIN_ALLOW_THREADS;
11808 _result = (bool )wxGrid_IsSelection(_arg0);
11809
11810 wxPy_END_ALLOW_THREADS;
4dfaa61e 11811 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11812} _resultobj = Py_BuildValue("i",_result);
11813 return _resultobj;
11814}
11815
11816#define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11817static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11818 PyObject * _resultobj;
11819 wxGrid * _arg0;
11820 PyObject * _argo0 = 0;
11821 char *_kwnames[] = { "self", NULL };
11822
11823 self = self;
11824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11825 return NULL;
11826 if (_argo0) {
11827 if (_argo0 == Py_None) { _arg0 = NULL; }
11828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11830 return NULL;
11831 }
11832 }
11833{
11834 wxPy_BEGIN_ALLOW_THREADS;
11835 wxGrid_ClearSelection(_arg0);
11836
11837 wxPy_END_ALLOW_THREADS;
4dfaa61e 11838 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11839} Py_INCREF(Py_None);
11840 _resultobj = Py_None;
11841 return _resultobj;
11842}
11843
11844#define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11845static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11846 PyObject * _resultobj;
11847 bool _result;
11848 wxGrid * _arg0;
11849 int _arg1;
11850 int _arg2;
11851 PyObject * _argo0 = 0;
11852 char *_kwnames[] = { "self","row","col", NULL };
11853
11854 self = self;
11855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11856 return NULL;
11857 if (_argo0) {
11858 if (_argo0 == Py_None) { _arg0 = NULL; }
11859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11861 return NULL;
11862 }
11863 }
11864{
11865 wxPy_BEGIN_ALLOW_THREADS;
11866 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11867
11868 wxPy_END_ALLOW_THREADS;
4dfaa61e 11869 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11870} _resultobj = Py_BuildValue("i",_result);
11871 return _resultobj;
11872}
11873
11874#define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11875static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11876 PyObject * _resultobj;
11877 wxRect * _result;
11878 wxGrid * _arg0;
11879 wxGridCellCoords * _arg1;
11880 wxGridCellCoords * _arg2;
11881 PyObject * _argo0 = 0;
11882 wxGridCellCoords temp;
11883 PyObject * _obj1 = 0;
11884 wxGridCellCoords temp0;
11885 PyObject * _obj2 = 0;
11886 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11887 char _ptemp[128];
11888
11889 self = self;
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11891 return NULL;
11892 if (_argo0) {
11893 if (_argo0 == Py_None) { _arg0 = NULL; }
11894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11896 return NULL;
11897 }
11898 }
11899{
11900 _arg1 = &temp;
11901 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11902 return NULL;
11903}
11904{
11905 _arg2 = &temp0;
11906 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11907 return NULL;
11908}
11909{
11910 wxPy_BEGIN_ALLOW_THREADS;
11911 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11912
11913 wxPy_END_ALLOW_THREADS;
4dfaa61e 11914 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11915} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11916 _resultobj = Py_BuildValue("s",_ptemp);
11917 return _resultobj;
11918}
11919
11920#define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11921static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11922 PyObject * _resultobj;
11923 wxColour * _result;
11924 wxGrid * _arg0;
11925 PyObject * _argo0 = 0;
11926 char *_kwnames[] = { "self", NULL };
11927 char _ptemp[128];
11928
11929 self = self;
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11931 return NULL;
11932 if (_argo0) {
11933 if (_argo0 == Py_None) { _arg0 = NULL; }
11934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11936 return NULL;
11937 }
11938 }
11939{
11940 wxPy_BEGIN_ALLOW_THREADS;
11941 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11942
11943 wxPy_END_ALLOW_THREADS;
4dfaa61e 11944 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11945} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11946 _resultobj = Py_BuildValue("s",_ptemp);
11947 return _resultobj;
11948}
11949
11950#define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11951static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11952 PyObject * _resultobj;
11953 wxColour * _result;
11954 wxGrid * _arg0;
11955 PyObject * _argo0 = 0;
11956 char *_kwnames[] = { "self", NULL };
11957 char _ptemp[128];
11958
11959 self = self;
11960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11961 return NULL;
11962 if (_argo0) {
11963 if (_argo0 == Py_None) { _arg0 = NULL; }
11964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11966 return NULL;
11967 }
11968 }
11969{
11970 wxPy_BEGIN_ALLOW_THREADS;
11971 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
11972
11973 wxPy_END_ALLOW_THREADS;
4dfaa61e 11974 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11975} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11976 _resultobj = Py_BuildValue("s",_ptemp);
11977 return _resultobj;
11978}
11979
11980#define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11981static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11982 PyObject * _resultobj;
11983 wxGrid * _arg0;
11984 wxColour * _arg1;
11985 PyObject * _argo0 = 0;
11986 wxColour temp;
11987 PyObject * _obj1 = 0;
11988 char *_kwnames[] = { "self","c", NULL };
11989
11990 self = self;
11991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
11992 return NULL;
11993 if (_argo0) {
11994 if (_argo0 == Py_None) { _arg0 = NULL; }
11995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11997 return NULL;
11998 }
11999 }
12000{
12001 _arg1 = &temp;
12002 if (! wxColour_helper(_obj1, &_arg1))
12003 return NULL;
12004}
12005{
12006 wxPy_BEGIN_ALLOW_THREADS;
12007 wxGrid_SetSelectionBackground(_arg0,*_arg1);
12008
12009 wxPy_END_ALLOW_THREADS;
4dfaa61e 12010 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12011} Py_INCREF(Py_None);
12012 _resultobj = Py_None;
12013 return _resultobj;
12014}
12015
12016#define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12017static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12018 PyObject * _resultobj;
12019 wxGrid * _arg0;
12020 wxColour * _arg1;
12021 PyObject * _argo0 = 0;
12022 wxColour temp;
12023 PyObject * _obj1 = 0;
12024 char *_kwnames[] = { "self","c", NULL };
12025
12026 self = self;
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
12028 return NULL;
12029 if (_argo0) {
12030 if (_argo0 == Py_None) { _arg0 = NULL; }
12031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12033 return NULL;
12034 }
12035 }
12036{
12037 _arg1 = &temp;
12038 if (! wxColour_helper(_obj1, &_arg1))
12039 return NULL;
12040}
12041{
12042 wxPy_BEGIN_ALLOW_THREADS;
12043 wxGrid_SetSelectionForeground(_arg0,*_arg1);
12044
12045 wxPy_END_ALLOW_THREADS;
4dfaa61e 12046 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12047} Py_INCREF(Py_None);
12048 _resultobj = Py_None;
12049 return _resultobj;
12050}
12051
12052#define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12053static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12054 PyObject * _resultobj;
12055 wxGrid * _arg0;
12056 wxString * _arg1;
12057 wxGridCellRenderer * _arg2;
12058 wxGridCellEditor * _arg3;
12059 PyObject * _argo0 = 0;
12060 PyObject * _obj1 = 0;
12061 PyObject * _argo2 = 0;
12062 PyObject * _argo3 = 0;
12063 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
12064
12065 self = self;
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
12067 return NULL;
12068 if (_argo0) {
12069 if (_argo0 == Py_None) { _arg0 = NULL; }
12070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12072 return NULL;
12073 }
12074 }
12075{
2cd2fac8
RD
12076#if PYTHON_API_VERSION >= 1009
12077 char* tmpPtr; int tmpSize;
12078 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 12079 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
12080 return NULL;
12081 }
12082 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12083 return NULL;
12084 _arg1 = new wxString(tmpPtr, tmpSize);
12085#else
f6bcfd97
BP
12086 if (!PyString_Check(_obj1)) {
12087 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12088 return NULL;
12089 }
2cd2fac8
RD
12090 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12091#endif
f6bcfd97
BP
12092}
12093 if (_argo2) {
12094 if (_argo2 == Py_None) { _arg2 = NULL; }
12095 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
12096 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12097 return NULL;
12098 }
12099 }
12100 if (_argo3) {
12101 if (_argo3 == Py_None) { _arg3 = NULL; }
12102 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12103 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12104 return NULL;
12105 }
12106 }
12107{
12108 wxPy_BEGIN_ALLOW_THREADS;
12109 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
12110
12111 wxPy_END_ALLOW_THREADS;
4dfaa61e 12112 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12113} Py_INCREF(Py_None);
12114 _resultobj = Py_None;
12115{
12116 if (_obj1)
12117 delete _arg1;
12118}
12119 return _resultobj;
12120}
12121
12122#define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12123static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12124 PyObject * _resultobj;
12125 wxGridCellEditor * _result;
12126 wxGrid * _arg0;
12127 int _arg1;
12128 int _arg2;
12129 PyObject * _argo0 = 0;
12130 char *_kwnames[] = { "self","row","col", NULL };
12131 char _ptemp[128];
12132
12133 self = self;
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12135 return NULL;
12136 if (_argo0) {
12137 if (_argo0 == Py_None) { _arg0 = NULL; }
12138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12140 return NULL;
12141 }
12142 }
12143{
12144 wxPy_BEGIN_ALLOW_THREADS;
12145 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
12146
12147 wxPy_END_ALLOW_THREADS;
4dfaa61e 12148 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12149} if (_result) {
12150 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12151 _resultobj = Py_BuildValue("s",_ptemp);
12152 } else {
12153 Py_INCREF(Py_None);
12154 _resultobj = Py_None;
12155 }
12156 return _resultobj;
12157}
12158
12159#define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12160static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12161 PyObject * _resultobj;
12162 wxGridCellRenderer * _result;
12163 wxGrid * _arg0;
12164 int _arg1;
12165 int _arg2;
12166 PyObject * _argo0 = 0;
12167 char *_kwnames[] = { "self","row","col", NULL };
12168 char _ptemp[128];
12169
12170 self = self;
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12172 return NULL;
12173 if (_argo0) {
12174 if (_argo0 == Py_None) { _arg0 = NULL; }
12175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12177 return NULL;
12178 }
12179 }
12180{
12181 wxPy_BEGIN_ALLOW_THREADS;
12182 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
12183
12184 wxPy_END_ALLOW_THREADS;
4dfaa61e 12185 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12186} if (_result) {
12187 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12188 _resultobj = Py_BuildValue("s",_ptemp);
12189 } else {
12190 Py_INCREF(Py_None);
12191 _resultobj = Py_None;
12192 }
12193 return _resultobj;
12194}
12195
12196#define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12197static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12198 PyObject * _resultobj;
12199 wxGridCellEditor * _result;
12200 wxGrid * _arg0;
12201 wxString * _arg1;
12202 PyObject * _argo0 = 0;
12203 PyObject * _obj1 = 0;
12204 char *_kwnames[] = { "self","typeName", NULL };
12205 char _ptemp[128];
12206
12207 self = self;
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
12209 return NULL;
12210 if (_argo0) {
12211 if (_argo0 == Py_None) { _arg0 = NULL; }
12212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12214 return NULL;
12215 }
12216 }
12217{
2cd2fac8
RD
12218#if PYTHON_API_VERSION >= 1009
12219 char* tmpPtr; int tmpSize;
12220 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 12221 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
12222 return NULL;
12223 }
12224 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12225 return NULL;
12226 _arg1 = new wxString(tmpPtr, tmpSize);
12227#else
f6bcfd97
BP
12228 if (!PyString_Check(_obj1)) {
12229 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12230 return NULL;
12231 }
2cd2fac8
RD
12232 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12233#endif
f6bcfd97
BP
12234}
12235{
12236 wxPy_BEGIN_ALLOW_THREADS;
12237 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
12238
12239 wxPy_END_ALLOW_THREADS;
4dfaa61e 12240 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12241} if (_result) {
12242 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12243 _resultobj = Py_BuildValue("s",_ptemp);
12244 } else {
12245 Py_INCREF(Py_None);
12246 _resultobj = Py_None;
12247 }
12248{
12249 if (_obj1)
12250 delete _arg1;
12251}
12252 return _resultobj;
12253}
12254
12255#define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12256static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12257 PyObject * _resultobj;
12258 wxGridCellRenderer * _result;
12259 wxGrid * _arg0;
12260 wxString * _arg1;
12261 PyObject * _argo0 = 0;
12262 PyObject * _obj1 = 0;
12263 char *_kwnames[] = { "self","typeName", NULL };
12264 char _ptemp[128];
12265
12266 self = self;
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
12268 return NULL;
12269 if (_argo0) {
12270 if (_argo0 == Py_None) { _arg0 = NULL; }
12271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12273 return NULL;
12274 }
12275 }
12276{
2cd2fac8
RD
12277#if PYTHON_API_VERSION >= 1009
12278 char* tmpPtr; int tmpSize;
12279 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 12280 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
12281 return NULL;
12282 }
12283 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12284 return NULL;
12285 _arg1 = new wxString(tmpPtr, tmpSize);
12286#else
f6bcfd97
BP
12287 if (!PyString_Check(_obj1)) {
12288 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12289 return NULL;
12290 }
2cd2fac8
RD
12291 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12292#endif
f6bcfd97
BP
12293}
12294{
12295 wxPy_BEGIN_ALLOW_THREADS;
12296 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
12297
12298 wxPy_END_ALLOW_THREADS;
4dfaa61e 12299 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12300} if (_result) {
12301 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12302 _resultobj = Py_BuildValue("s",_ptemp);
12303 } else {
12304 Py_INCREF(Py_None);
12305 _resultobj = Py_None;
12306 }
12307{
12308 if (_obj1)
12309 delete _arg1;
12310}
12311 return _resultobj;
12312}
12313
12314#define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12315static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12316 PyObject * _resultobj;
12317 wxGrid * _arg0;
12318 int _arg1;
12319 int _arg2;
12320 PyObject * _argo0 = 0;
12321 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
12322
12323 self = self;
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
12325 return NULL;
12326 if (_argo0) {
12327 if (_argo0 == Py_None) { _arg0 = NULL; }
12328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12330 return NULL;
12331 }
12332 }
12333{
12334 wxPy_BEGIN_ALLOW_THREADS;
12335 wxGrid_SetMargins(_arg0,_arg1,_arg2);
12336
12337 wxPy_END_ALLOW_THREADS;
4dfaa61e 12338 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12339} Py_INCREF(Py_None);
12340 _resultobj = Py_None;
12341 return _resultobj;
12342}
12343
9df61a29
RD
12344#define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12345static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12346 PyObject * _resultobj;
12347 wxWindow * _result;
12348 wxGrid * _arg0;
12349 PyObject * _argo0 = 0;
12350 char *_kwnames[] = { "self", NULL };
12351
12352 self = self;
12353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
12354 return NULL;
12355 if (_argo0) {
12356 if (_argo0 == Py_None) { _arg0 = NULL; }
12357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12359 return NULL;
12360 }
12361 }
12362{
12363 wxPy_BEGIN_ALLOW_THREADS;
12364 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
12365
12366 wxPy_END_ALLOW_THREADS;
4dfaa61e 12367 if (PyErr_Occurred()) return NULL;
9df61a29
RD
12368}{ _resultobj = wxPyMake_wxObject(_result); }
12369 return _resultobj;
12370}
12371
12372#define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12373static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12374 PyObject * _resultobj;
12375 wxWindow * _result;
12376 wxGrid * _arg0;
12377 PyObject * _argo0 = 0;
12378 char *_kwnames[] = { "self", NULL };
12379
12380 self = self;
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12382 return NULL;
12383 if (_argo0) {
12384 if (_argo0 == Py_None) { _arg0 = NULL; }
12385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12387 return NULL;
12388 }
12389 }
12390{
12391 wxPy_BEGIN_ALLOW_THREADS;
12392 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
12393
12394 wxPy_END_ALLOW_THREADS;
4dfaa61e 12395 if (PyErr_Occurred()) return NULL;
9df61a29
RD
12396}{ _resultobj = wxPyMake_wxObject(_result); }
12397 return _resultobj;
12398}
12399
12400#define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12401static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12402 PyObject * _resultobj;
12403 wxWindow * _result;
12404 wxGrid * _arg0;
12405 PyObject * _argo0 = 0;
12406 char *_kwnames[] = { "self", NULL };
12407
12408 self = self;
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12410 return NULL;
12411 if (_argo0) {
12412 if (_argo0 == Py_None) { _arg0 = NULL; }
12413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12415 return NULL;
12416 }
12417 }
12418{
12419 wxPy_BEGIN_ALLOW_THREADS;
12420 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
12421
12422 wxPy_END_ALLOW_THREADS;
4dfaa61e 12423 if (PyErr_Occurred()) return NULL;
9df61a29
RD
12424}{ _resultobj = wxPyMake_wxObject(_result); }
12425 return _resultobj;
12426}
12427
12428#define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12429static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12430 PyObject * _resultobj;
12431 wxWindow * _result;
12432 wxGrid * _arg0;
12433 PyObject * _argo0 = 0;
12434 char *_kwnames[] = { "self", NULL };
12435
12436 self = self;
12437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
12438 return NULL;
12439 if (_argo0) {
12440 if (_argo0 == Py_None) { _arg0 = NULL; }
12441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12443 return NULL;
12444 }
12445 }
12446{
12447 wxPy_BEGIN_ALLOW_THREADS;
12448 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
12449
12450 wxPy_END_ALLOW_THREADS;
4dfaa61e 12451 if (PyErr_Occurred()) return NULL;
9df61a29
RD
12452}{ _resultobj = wxPyMake_wxObject(_result); }
12453 return _resultobj;
12454}
12455
f6bcfd97
BP
12456static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
12457 wxGridEvent *src;
12458 wxNotifyEvent *dest;
12459 src = (wxGridEvent *) ptr;
12460 dest = (wxNotifyEvent *) src;
12461 return (void *) dest;
12462}
12463
12464static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
12465 wxGridEvent *src;
12466 wxCommandEvent *dest;
12467 src = (wxGridEvent *) ptr;
12468 dest = (wxCommandEvent *) src;
12469 return (void *) dest;
12470}
12471
12472static void *SwigwxGridEventTowxEvent(void *ptr) {
12473 wxGridEvent *src;
12474 wxEvent *dest;
12475 src = (wxGridEvent *) ptr;
12476 dest = (wxEvent *) src;
12477 return (void *) dest;
12478}
12479
9df61a29
RD
12480static void *SwigwxGridEventTowxObject(void *ptr) {
12481 wxGridEvent *src;
12482 wxObject *dest;
12483 src = (wxGridEvent *) ptr;
12484 dest = (wxObject *) src;
12485 return (void *) dest;
12486}
12487
f6bcfd97
BP
12488#define new_wxGridEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11) (new wxGridEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11))
12489static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12490 PyObject * _resultobj;
12491 wxGridEvent * _result;
12492 int _arg0;
12493 wxEventType _arg1;
12494 wxGrid * _arg2;
12495 int _arg3 = (int ) -1;
12496 int _arg4 = (int ) -1;
12497 int _arg5 = (int ) -1;
12498 int _arg6 = (int ) -1;
12499 bool _arg7 = (bool ) TRUE;
12500 bool _arg8 = (bool ) FALSE;
12501 bool _arg9 = (bool ) FALSE;
12502 bool _arg10 = (bool ) FALSE;
12503 bool _arg11 = (bool ) FALSE;
12504 PyObject * _argo2 = 0;
12505 int tempbool7 = (int) TRUE;
12506 int tempbool8 = (int) FALSE;
12507 int tempbool9 = (int) FALSE;
12508 int tempbool10 = (int) FALSE;
12509 int tempbool11 = (int) FALSE;
12510 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
12511 char _ptemp[128];
12512
12513 self = self;
12514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
12515 return NULL;
12516 if (_argo2) {
12517 if (_argo2 == Py_None) { _arg2 = NULL; }
12518 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12519 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12520 return NULL;
12521 }
12522 }
12523 _arg7 = (bool ) tempbool7;
12524 _arg8 = (bool ) tempbool8;
12525 _arg9 = (bool ) tempbool9;
12526 _arg10 = (bool ) tempbool10;
12527 _arg11 = (bool ) tempbool11;
12528{
12529 wxPy_BEGIN_ALLOW_THREADS;
12530 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
12531
12532 wxPy_END_ALLOW_THREADS;
4dfaa61e 12533 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12534} if (_result) {
12535 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
12536 _resultobj = Py_BuildValue("s",_ptemp);
12537 } else {
12538 Py_INCREF(Py_None);
12539 _resultobj = Py_None;
12540 }
12541 return _resultobj;
12542}
12543
12544#define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12545static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12546 PyObject * _resultobj;
12547 int _result;
12548 wxGridEvent * _arg0;
12549 PyObject * _argo0 = 0;
12550 char *_kwnames[] = { "self", NULL };
12551
12552 self = self;
12553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
12554 return NULL;
12555 if (_argo0) {
12556 if (_argo0 == Py_None) { _arg0 = NULL; }
12557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12559 return NULL;
12560 }
12561 }
12562{
12563 wxPy_BEGIN_ALLOW_THREADS;
12564 _result = (int )wxGridEvent_GetRow(_arg0);
12565
12566 wxPy_END_ALLOW_THREADS;
4dfaa61e 12567 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12568} _resultobj = Py_BuildValue("i",_result);
12569 return _resultobj;
12570}
12571
12572#define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12573static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12574 PyObject * _resultobj;
12575 int _result;
12576 wxGridEvent * _arg0;
12577 PyObject * _argo0 = 0;
12578 char *_kwnames[] = { "self", NULL };
12579
12580 self = self;
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
12582 return NULL;
12583 if (_argo0) {
12584 if (_argo0 == Py_None) { _arg0 = NULL; }
12585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12587 return NULL;
12588 }
12589 }
12590{
12591 wxPy_BEGIN_ALLOW_THREADS;
12592 _result = (int )wxGridEvent_GetCol(_arg0);
12593
12594 wxPy_END_ALLOW_THREADS;
4dfaa61e 12595 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12596} _resultobj = Py_BuildValue("i",_result);
12597 return _resultobj;
12598}
12599
12600#define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12601static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12602 PyObject * _resultobj;
12603 wxPoint * _result;
12604 wxGridEvent * _arg0;
12605 PyObject * _argo0 = 0;
12606 char *_kwnames[] = { "self", NULL };
12607 char _ptemp[128];
12608
12609 self = self;
12610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
12611 return NULL;
12612 if (_argo0) {
12613 if (_argo0 == Py_None) { _arg0 = NULL; }
12614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12616 return NULL;
12617 }
12618 }
12619{
12620 wxPy_BEGIN_ALLOW_THREADS;
12621 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
12622
12623 wxPy_END_ALLOW_THREADS;
4dfaa61e 12624 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12625} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12626 _resultobj = Py_BuildValue("s",_ptemp);
12627 return _resultobj;
12628}
12629
12630#define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12631static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12632 PyObject * _resultobj;
12633 bool _result;
12634 wxGridEvent * _arg0;
12635 PyObject * _argo0 = 0;
12636 char *_kwnames[] = { "self", NULL };
12637
12638 self = self;
12639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
12640 return NULL;
12641 if (_argo0) {
12642 if (_argo0 == Py_None) { _arg0 = NULL; }
12643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12645 return NULL;
12646 }
12647 }
12648{
12649 wxPy_BEGIN_ALLOW_THREADS;
12650 _result = (bool )wxGridEvent_Selecting(_arg0);
12651
12652 wxPy_END_ALLOW_THREADS;
4dfaa61e 12653 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12654} _resultobj = Py_BuildValue("i",_result);
12655 return _resultobj;
12656}
12657
12658#define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12659static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12660 PyObject * _resultobj;
12661 bool _result;
12662 wxGridEvent * _arg0;
12663 PyObject * _argo0 = 0;
12664 char *_kwnames[] = { "self", NULL };
12665
12666 self = self;
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
12668 return NULL;
12669 if (_argo0) {
12670 if (_argo0 == Py_None) { _arg0 = NULL; }
12671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12673 return NULL;
12674 }
12675 }
12676{
12677 wxPy_BEGIN_ALLOW_THREADS;
12678 _result = (bool )wxGridEvent_ControlDown(_arg0);
12679
12680 wxPy_END_ALLOW_THREADS;
4dfaa61e 12681 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12682} _resultobj = Py_BuildValue("i",_result);
12683 return _resultobj;
12684}
12685
12686#define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12687static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12688 PyObject * _resultobj;
12689 bool _result;
12690 wxGridEvent * _arg0;
12691 PyObject * _argo0 = 0;
12692 char *_kwnames[] = { "self", NULL };
12693
12694 self = self;
12695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12696 return NULL;
12697 if (_argo0) {
12698 if (_argo0 == Py_None) { _arg0 = NULL; }
12699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12701 return NULL;
12702 }
12703 }
12704{
12705 wxPy_BEGIN_ALLOW_THREADS;
12706 _result = (bool )wxGridEvent_MetaDown(_arg0);
12707
12708 wxPy_END_ALLOW_THREADS;
4dfaa61e 12709 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12710} _resultobj = Py_BuildValue("i",_result);
12711 return _resultobj;
12712}
12713
12714#define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12715static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12716 PyObject * _resultobj;
12717 bool _result;
12718 wxGridEvent * _arg0;
12719 PyObject * _argo0 = 0;
12720 char *_kwnames[] = { "self", NULL };
12721
12722 self = self;
12723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12724 return NULL;
12725 if (_argo0) {
12726 if (_argo0 == Py_None) { _arg0 = NULL; }
12727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12729 return NULL;
12730 }
12731 }
12732{
12733 wxPy_BEGIN_ALLOW_THREADS;
12734 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12735
12736 wxPy_END_ALLOW_THREADS;
4dfaa61e 12737 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12738} _resultobj = Py_BuildValue("i",_result);
12739 return _resultobj;
12740}
12741
12742#define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12743static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12744 PyObject * _resultobj;
12745 bool _result;
12746 wxGridEvent * _arg0;
12747 PyObject * _argo0 = 0;
12748 char *_kwnames[] = { "self", NULL };
12749
12750 self = self;
12751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12752 return NULL;
12753 if (_argo0) {
12754 if (_argo0 == Py_None) { _arg0 = NULL; }
12755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12757 return NULL;
12758 }
12759 }
12760{
12761 wxPy_BEGIN_ALLOW_THREADS;
12762 _result = (bool )wxGridEvent_AltDown(_arg0);
12763
12764 wxPy_END_ALLOW_THREADS;
4dfaa61e 12765 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12766} _resultobj = Py_BuildValue("i",_result);
12767 return _resultobj;
12768}
12769
12770static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12771 wxGridSizeEvent *src;
12772 wxNotifyEvent *dest;
12773 src = (wxGridSizeEvent *) ptr;
12774 dest = (wxNotifyEvent *) src;
12775 return (void *) dest;
12776}
12777
12778static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12779 wxGridSizeEvent *src;
12780 wxCommandEvent *dest;
12781 src = (wxGridSizeEvent *) ptr;
12782 dest = (wxCommandEvent *) src;
12783 return (void *) dest;
12784}
12785
12786static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12787 wxGridSizeEvent *src;
12788 wxEvent *dest;
12789 src = (wxGridSizeEvent *) ptr;
12790 dest = (wxEvent *) src;
12791 return (void *) dest;
12792}
12793
9df61a29
RD
12794static void *SwigwxGridSizeEventTowxObject(void *ptr) {
12795 wxGridSizeEvent *src;
12796 wxObject *dest;
12797 src = (wxGridSizeEvent *) ptr;
12798 dest = (wxObject *) src;
12799 return (void *) dest;
12800}
12801
f6bcfd97
BP
12802#define new_wxGridSizeEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxGridSizeEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
12803static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12804 PyObject * _resultobj;
12805 wxGridSizeEvent * _result;
12806 int _arg0;
12807 wxEventType _arg1;
12808 wxGrid * _arg2;
12809 int _arg3 = (int ) -1;
12810 int _arg4 = (int ) -1;
12811 int _arg5 = (int ) -1;
12812 bool _arg6 = (bool ) FALSE;
12813 bool _arg7 = (bool ) FALSE;
12814 bool _arg8 = (bool ) FALSE;
12815 bool _arg9 = (bool ) FALSE;
12816 PyObject * _argo2 = 0;
12817 int tempbool6 = (int) FALSE;
12818 int tempbool7 = (int) FALSE;
12819 int tempbool8 = (int) FALSE;
12820 int tempbool9 = (int) FALSE;
12821 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12822 char _ptemp[128];
12823
12824 self = self;
12825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12826 return NULL;
12827 if (_argo2) {
12828 if (_argo2 == Py_None) { _arg2 = NULL; }
12829 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12830 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12831 return NULL;
12832 }
12833 }
12834 _arg6 = (bool ) tempbool6;
12835 _arg7 = (bool ) tempbool7;
12836 _arg8 = (bool ) tempbool8;
12837 _arg9 = (bool ) tempbool9;
12838{
12839 wxPy_BEGIN_ALLOW_THREADS;
12840 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12841
12842 wxPy_END_ALLOW_THREADS;
4dfaa61e 12843 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12844} if (_result) {
12845 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12846 _resultobj = Py_BuildValue("s",_ptemp);
12847 } else {
12848 Py_INCREF(Py_None);
12849 _resultobj = Py_None;
12850 }
12851 return _resultobj;
12852}
12853
12854#define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12855static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject * _resultobj;
12857 int _result;
12858 wxGridSizeEvent * _arg0;
12859 PyObject * _argo0 = 0;
12860 char *_kwnames[] = { "self", NULL };
12861
12862 self = self;
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12864 return NULL;
12865 if (_argo0) {
12866 if (_argo0 == Py_None) { _arg0 = NULL; }
12867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12869 return NULL;
12870 }
12871 }
12872{
12873 wxPy_BEGIN_ALLOW_THREADS;
12874 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12875
12876 wxPy_END_ALLOW_THREADS;
4dfaa61e 12877 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12878} _resultobj = Py_BuildValue("i",_result);
12879 return _resultobj;
12880}
12881
12882#define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12883static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12884 PyObject * _resultobj;
12885 wxPoint * _result;
12886 wxGridSizeEvent * _arg0;
12887 PyObject * _argo0 = 0;
12888 char *_kwnames[] = { "self", NULL };
12889 char _ptemp[128];
12890
12891 self = self;
12892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12893 return NULL;
12894 if (_argo0) {
12895 if (_argo0 == Py_None) { _arg0 = NULL; }
12896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12898 return NULL;
12899 }
12900 }
12901{
12902 wxPy_BEGIN_ALLOW_THREADS;
12903 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12904
12905 wxPy_END_ALLOW_THREADS;
4dfaa61e 12906 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12907} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12908 _resultobj = Py_BuildValue("s",_ptemp);
12909 return _resultobj;
12910}
12911
12912#define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12913static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject * _resultobj;
12915 bool _result;
12916 wxGridSizeEvent * _arg0;
12917 PyObject * _argo0 = 0;
12918 char *_kwnames[] = { "self", NULL };
12919
12920 self = self;
12921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12922 return NULL;
12923 if (_argo0) {
12924 if (_argo0 == Py_None) { _arg0 = NULL; }
12925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12927 return NULL;
12928 }
12929 }
12930{
12931 wxPy_BEGIN_ALLOW_THREADS;
12932 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
12933
12934 wxPy_END_ALLOW_THREADS;
4dfaa61e 12935 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12936} _resultobj = Py_BuildValue("i",_result);
12937 return _resultobj;
12938}
12939
12940#define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12941static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12942 PyObject * _resultobj;
12943 bool _result;
12944 wxGridSizeEvent * _arg0;
12945 PyObject * _argo0 = 0;
12946 char *_kwnames[] = { "self", NULL };
12947
12948 self = self;
12949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12950 return NULL;
12951 if (_argo0) {
12952 if (_argo0 == Py_None) { _arg0 = NULL; }
12953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12955 return NULL;
12956 }
12957 }
12958{
12959 wxPy_BEGIN_ALLOW_THREADS;
12960 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12961
12962 wxPy_END_ALLOW_THREADS;
4dfaa61e 12963 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12964} _resultobj = Py_BuildValue("i",_result);
12965 return _resultobj;
12966}
12967
12968#define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12969static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12970 PyObject * _resultobj;
12971 bool _result;
12972 wxGridSizeEvent * _arg0;
12973 PyObject * _argo0 = 0;
12974 char *_kwnames[] = { "self", NULL };
12975
12976 self = self;
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12978 return NULL;
12979 if (_argo0) {
12980 if (_argo0 == Py_None) { _arg0 = NULL; }
12981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12983 return NULL;
12984 }
12985 }
12986{
12987 wxPy_BEGIN_ALLOW_THREADS;
12988 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12989
12990 wxPy_END_ALLOW_THREADS;
4dfaa61e 12991 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12992} _resultobj = Py_BuildValue("i",_result);
12993 return _resultobj;
12994}
12995
12996#define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12997static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12998 PyObject * _resultobj;
12999 bool _result;
13000 wxGridSizeEvent * _arg0;
13001 PyObject * _argo0 = 0;
13002 char *_kwnames[] = { "self", NULL };
13003
13004 self = self;
13005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
13006 return NULL;
13007 if (_argo0) {
13008 if (_argo0 == Py_None) { _arg0 = NULL; }
13009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13011 return NULL;
13012 }
13013 }
13014{
13015 wxPy_BEGIN_ALLOW_THREADS;
13016 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
13017
13018 wxPy_END_ALLOW_THREADS;
4dfaa61e 13019 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13020} _resultobj = Py_BuildValue("i",_result);
13021 return _resultobj;
13022}
13023
13024static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
13025 wxGridRangeSelectEvent *src;
13026 wxNotifyEvent *dest;
13027 src = (wxGridRangeSelectEvent *) ptr;
13028 dest = (wxNotifyEvent *) src;
13029 return (void *) dest;
13030}
13031
13032static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
13033 wxGridRangeSelectEvent *src;
13034 wxCommandEvent *dest;
13035 src = (wxGridRangeSelectEvent *) ptr;
13036 dest = (wxCommandEvent *) src;
13037 return (void *) dest;
13038}
13039
13040static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
13041 wxGridRangeSelectEvent *src;
13042 wxEvent *dest;
13043 src = (wxGridRangeSelectEvent *) ptr;
13044 dest = (wxEvent *) src;
13045 return (void *) dest;
13046}
13047
9df61a29
RD
13048static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
13049 wxGridRangeSelectEvent *src;
13050 wxObject *dest;
13051 src = (wxGridRangeSelectEvent *) ptr;
13052 dest = (wxObject *) src;
13053 return (void *) dest;
13054}
13055
f6bcfd97
BP
13056#define new_wxGridRangeSelectEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxGridRangeSelectEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
13057static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13058 PyObject * _resultobj;
13059 wxGridRangeSelectEvent * _result;
13060 int _arg0;
13061 wxEventType _arg1;
13062 wxGrid * _arg2;
13063 wxGridCellCoords * _arg3;
13064 wxGridCellCoords * _arg4;
13065 bool _arg5 = (bool ) TRUE;
13066 bool _arg6 = (bool ) FALSE;
13067 bool _arg7 = (bool ) FALSE;
13068 bool _arg8 = (bool ) FALSE;
13069 bool _arg9 = (bool ) FALSE;
13070 PyObject * _argo2 = 0;
13071 wxGridCellCoords temp;
13072 PyObject * _obj3 = 0;
13073 wxGridCellCoords temp0;
13074 PyObject * _obj4 = 0;
13075 int tempbool5 = (int) TRUE;
13076 int tempbool6 = (int) FALSE;
13077 int tempbool7 = (int) FALSE;
13078 int tempbool8 = (int) FALSE;
13079 int tempbool9 = (int) FALSE;
13080 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
13081 char _ptemp[128];
13082
13083 self = self;
13084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13085 return NULL;
13086 if (_argo2) {
13087 if (_argo2 == Py_None) { _arg2 = NULL; }
13088 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13089 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13090 return NULL;
13091 }
13092 }
13093{
13094 _arg3 = &temp;
13095 if (! wxGridCellCoords_helper(_obj3, &_arg3))
13096 return NULL;
13097}
13098{
13099 _arg4 = &temp0;
13100 if (! wxGridCellCoords_helper(_obj4, &_arg4))
13101 return NULL;
13102}
13103 _arg5 = (bool ) tempbool5;
13104 _arg6 = (bool ) tempbool6;
13105 _arg7 = (bool ) tempbool7;
13106 _arg8 = (bool ) tempbool8;
13107 _arg9 = (bool ) tempbool9;
13108{
13109 wxPy_BEGIN_ALLOW_THREADS;
13110 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13111
13112 wxPy_END_ALLOW_THREADS;
4dfaa61e 13113 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13114} if (_result) {
13115 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
13116 _resultobj = Py_BuildValue("s",_ptemp);
13117 } else {
13118 Py_INCREF(Py_None);
13119 _resultobj = Py_None;
13120 }
13121 return _resultobj;
13122}
13123
13124#define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13125static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13126 PyObject * _resultobj;
13127 wxGridCellCoords * _result;
13128 wxGridRangeSelectEvent * _arg0;
13129 PyObject * _argo0 = 0;
13130 char *_kwnames[] = { "self", NULL };
13131 char _ptemp[128];
13132
13133 self = self;
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
13135 return NULL;
13136 if (_argo0) {
13137 if (_argo0 == Py_None) { _arg0 = NULL; }
13138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13140 return NULL;
13141 }
13142 }
13143{
13144 wxPy_BEGIN_ALLOW_THREADS;
13145 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
13146
13147 wxPy_END_ALLOW_THREADS;
4dfaa61e 13148 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13149} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13150 _resultobj = Py_BuildValue("s",_ptemp);
13151 return _resultobj;
13152}
13153
13154#define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13155static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13156 PyObject * _resultobj;
13157 wxGridCellCoords * _result;
13158 wxGridRangeSelectEvent * _arg0;
13159 PyObject * _argo0 = 0;
13160 char *_kwnames[] = { "self", NULL };
13161 char _ptemp[128];
13162
13163 self = self;
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
13165 return NULL;
13166 if (_argo0) {
13167 if (_argo0 == Py_None) { _arg0 = NULL; }
13168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13170 return NULL;
13171 }
13172 }
13173{
13174 wxPy_BEGIN_ALLOW_THREADS;
13175 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
13176
13177 wxPy_END_ALLOW_THREADS;
4dfaa61e 13178 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13179} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13180 _resultobj = Py_BuildValue("s",_ptemp);
13181 return _resultobj;
13182}
13183
13184#define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13185static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13186 PyObject * _resultobj;
13187 int _result;
13188 wxGridRangeSelectEvent * _arg0;
13189 PyObject * _argo0 = 0;
13190 char *_kwnames[] = { "self", NULL };
13191
13192 self = self;
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
13194 return NULL;
13195 if (_argo0) {
13196 if (_argo0 == Py_None) { _arg0 = NULL; }
13197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13199 return NULL;
13200 }
13201 }
13202{
13203 wxPy_BEGIN_ALLOW_THREADS;
13204 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
13205
13206 wxPy_END_ALLOW_THREADS;
4dfaa61e 13207 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13208} _resultobj = Py_BuildValue("i",_result);
13209 return _resultobj;
13210}
13211
13212#define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13213static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13214 PyObject * _resultobj;
13215 int _result;
13216 wxGridRangeSelectEvent * _arg0;
13217 PyObject * _argo0 = 0;
13218 char *_kwnames[] = { "self", NULL };
13219
13220 self = self;
13221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
13222 return NULL;
13223 if (_argo0) {
13224 if (_argo0 == Py_None) { _arg0 = NULL; }
13225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13227 return NULL;
13228 }
13229 }
13230{
13231 wxPy_BEGIN_ALLOW_THREADS;
13232 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
13233
13234 wxPy_END_ALLOW_THREADS;
4dfaa61e 13235 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13236} _resultobj = Py_BuildValue("i",_result);
13237 return _resultobj;
13238}
13239
13240#define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13241static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13242 PyObject * _resultobj;
13243 int _result;
13244 wxGridRangeSelectEvent * _arg0;
13245 PyObject * _argo0 = 0;
13246 char *_kwnames[] = { "self", NULL };
13247
13248 self = self;
13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
13250 return NULL;
13251 if (_argo0) {
13252 if (_argo0 == Py_None) { _arg0 = NULL; }
13253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13255 return NULL;
13256 }
13257 }
13258{
13259 wxPy_BEGIN_ALLOW_THREADS;
13260 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
13261
13262 wxPy_END_ALLOW_THREADS;
4dfaa61e 13263 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13264} _resultobj = Py_BuildValue("i",_result);
13265 return _resultobj;
13266}
13267
13268#define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13269static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13270 PyObject * _resultobj;
13271 int _result;
13272 wxGridRangeSelectEvent * _arg0;
13273 PyObject * _argo0 = 0;
13274 char *_kwnames[] = { "self", NULL };
13275
13276 self = self;
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
13278 return NULL;
13279 if (_argo0) {
13280 if (_argo0 == Py_None) { _arg0 = NULL; }
13281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13283 return NULL;
13284 }
13285 }
13286{
13287 wxPy_BEGIN_ALLOW_THREADS;
13288 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
13289
13290 wxPy_END_ALLOW_THREADS;
4dfaa61e 13291 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13292} _resultobj = Py_BuildValue("i",_result);
13293 return _resultobj;
13294}
13295
13296#define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13297static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13298 PyObject * _resultobj;
13299 bool _result;
13300 wxGridRangeSelectEvent * _arg0;
13301 PyObject * _argo0 = 0;
13302 char *_kwnames[] = { "self", NULL };
13303
13304 self = self;
13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
13306 return NULL;
13307 if (_argo0) {
13308 if (_argo0 == Py_None) { _arg0 = NULL; }
13309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13311 return NULL;
13312 }
13313 }
13314{
13315 wxPy_BEGIN_ALLOW_THREADS;
13316 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
13317
13318 wxPy_END_ALLOW_THREADS;
4dfaa61e 13319 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13320} _resultobj = Py_BuildValue("i",_result);
13321 return _resultobj;
13322}
13323
13324#define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13325static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13326 PyObject * _resultobj;
13327 bool _result;
13328 wxGridRangeSelectEvent * _arg0;
13329 PyObject * _argo0 = 0;
13330 char *_kwnames[] = { "self", NULL };
13331
13332 self = self;
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
13334 return NULL;
13335 if (_argo0) {
13336 if (_argo0 == Py_None) { _arg0 = NULL; }
13337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13339 return NULL;
13340 }
13341 }
13342{
13343 wxPy_BEGIN_ALLOW_THREADS;
13344 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
13345
13346 wxPy_END_ALLOW_THREADS;
4dfaa61e 13347 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13348} _resultobj = Py_BuildValue("i",_result);
13349 return _resultobj;
13350}
13351
13352#define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13353static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13354 PyObject * _resultobj;
13355 bool _result;
13356 wxGridRangeSelectEvent * _arg0;
13357 PyObject * _argo0 = 0;
13358 char *_kwnames[] = { "self", NULL };
13359
13360 self = self;
13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
13362 return NULL;
13363 if (_argo0) {
13364 if (_argo0 == Py_None) { _arg0 = NULL; }
13365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13367 return NULL;
13368 }
13369 }
13370{
13371 wxPy_BEGIN_ALLOW_THREADS;
13372 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
13373
13374 wxPy_END_ALLOW_THREADS;
4dfaa61e 13375 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13376} _resultobj = Py_BuildValue("i",_result);
13377 return _resultobj;
13378}
13379
13380#define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13381static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject * _resultobj;
13383 bool _result;
13384 wxGridRangeSelectEvent * _arg0;
13385 PyObject * _argo0 = 0;
13386 char *_kwnames[] = { "self", NULL };
13387
13388 self = self;
13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13390 return NULL;
13391 if (_argo0) {
13392 if (_argo0 == Py_None) { _arg0 = NULL; }
13393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13395 return NULL;
13396 }
13397 }
13398{
13399 wxPy_BEGIN_ALLOW_THREADS;
13400 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
13401
13402 wxPy_END_ALLOW_THREADS;
4dfaa61e 13403 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13404} _resultobj = Py_BuildValue("i",_result);
13405 return _resultobj;
13406}
13407
13408#define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13409static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13410 PyObject * _resultobj;
13411 bool _result;
13412 wxGridRangeSelectEvent * _arg0;
13413 PyObject * _argo0 = 0;
13414 char *_kwnames[] = { "self", NULL };
13415
13416 self = self;
13417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13418 return NULL;
13419 if (_argo0) {
13420 if (_argo0 == Py_None) { _arg0 = NULL; }
13421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13423 return NULL;
13424 }
13425 }
13426{
13427 wxPy_BEGIN_ALLOW_THREADS;
13428 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
13429
13430 wxPy_END_ALLOW_THREADS;
4dfaa61e 13431 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13432} _resultobj = Py_BuildValue("i",_result);
13433 return _resultobj;
13434}
13435
9d6da64a
RD
13436static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
13437 wxGridEditorCreatedEvent *src;
13438 wxCommandEvent *dest;
13439 src = (wxGridEditorCreatedEvent *) ptr;
13440 dest = (wxCommandEvent *) src;
13441 return (void *) dest;
13442}
13443
13444static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
13445 wxGridEditorCreatedEvent *src;
13446 wxEvent *dest;
13447 src = (wxGridEditorCreatedEvent *) ptr;
13448 dest = (wxEvent *) src;
13449 return (void *) dest;
13450}
13451
13452static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
13453 wxGridEditorCreatedEvent *src;
13454 wxObject *dest;
13455 src = (wxGridEditorCreatedEvent *) ptr;
13456 dest = (wxObject *) src;
13457 return (void *) dest;
13458}
13459
13460#define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13461static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13462 PyObject * _resultobj;
13463 wxGridEditorCreatedEvent * _result;
13464 int _arg0;
13465 wxEventType _arg1;
13466 wxObject * _arg2;
13467 int _arg3;
13468 int _arg4;
13469 wxControl * _arg5;
13470 PyObject * _argo2 = 0;
13471 PyObject * _argo5 = 0;
13472 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
13473 char _ptemp[128];
13474
13475 self = self;
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
13477 return NULL;
13478 if (_argo2) {
13479 if (_argo2 == Py_None) { _arg2 = NULL; }
13480 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
13481 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13482 return NULL;
13483 }
13484 }
13485 if (_argo5) {
13486 if (_argo5 == Py_None) { _arg5 = NULL; }
13487 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
13488 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13489 return NULL;
13490 }
13491 }
13492{
13493 wxPy_BEGIN_ALLOW_THREADS;
13494 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
13495
13496 wxPy_END_ALLOW_THREADS;
13497 if (PyErr_Occurred()) return NULL;
13498} if (_result) {
13499 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
13500 _resultobj = Py_BuildValue("s",_ptemp);
13501 } else {
13502 Py_INCREF(Py_None);
13503 _resultobj = Py_None;
13504 }
13505 return _resultobj;
13506}
13507
13508#define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13509static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13510 PyObject * _resultobj;
13511 int _result;
13512 wxGridEditorCreatedEvent * _arg0;
13513 PyObject * _argo0 = 0;
13514 char *_kwnames[] = { "self", NULL };
13515
13516 self = self;
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
13518 return NULL;
13519 if (_argo0) {
13520 if (_argo0 == Py_None) { _arg0 = NULL; }
13521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13523 return NULL;
13524 }
13525 }
13526{
13527 wxPy_BEGIN_ALLOW_THREADS;
13528 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
13529
13530 wxPy_END_ALLOW_THREADS;
13531 if (PyErr_Occurred()) return NULL;
13532} _resultobj = Py_BuildValue("i",_result);
13533 return _resultobj;
13534}
13535
13536#define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13537static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13538 PyObject * _resultobj;
13539 int _result;
13540 wxGridEditorCreatedEvent * _arg0;
13541 PyObject * _argo0 = 0;
13542 char *_kwnames[] = { "self", NULL };
13543
13544 self = self;
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
13546 return NULL;
13547 if (_argo0) {
13548 if (_argo0 == Py_None) { _arg0 = NULL; }
13549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13551 return NULL;
13552 }
13553 }
13554{
13555 wxPy_BEGIN_ALLOW_THREADS;
13556 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
13557
13558 wxPy_END_ALLOW_THREADS;
13559 if (PyErr_Occurred()) return NULL;
13560} _resultobj = Py_BuildValue("i",_result);
13561 return _resultobj;
13562}
13563
13564#define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13565static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject * _resultobj;
13567 wxControl * _result;
13568 wxGridEditorCreatedEvent * _arg0;
13569 PyObject * _argo0 = 0;
13570 char *_kwnames[] = { "self", NULL };
13571
13572 self = self;
13573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
13574 return NULL;
13575 if (_argo0) {
13576 if (_argo0 == Py_None) { _arg0 = NULL; }
13577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13579 return NULL;
13580 }
13581 }
13582{
13583 wxPy_BEGIN_ALLOW_THREADS;
13584 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
13585
13586 wxPy_END_ALLOW_THREADS;
13587 if (PyErr_Occurred()) return NULL;
13588}{ _resultobj = wxPyMake_wxObject(_result); }
13589 return _resultobj;
13590}
13591
13592#define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13593static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13594 PyObject * _resultobj;
13595 wxGridEditorCreatedEvent * _arg0;
13596 int _arg1;
13597 PyObject * _argo0 = 0;
13598 char *_kwnames[] = { "self","row", NULL };
13599
13600 self = self;
13601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
13602 return NULL;
13603 if (_argo0) {
13604 if (_argo0 == Py_None) { _arg0 = NULL; }
13605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13607 return NULL;
13608 }
13609 }
13610{
13611 wxPy_BEGIN_ALLOW_THREADS;
13612 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
13613
13614 wxPy_END_ALLOW_THREADS;
13615 if (PyErr_Occurred()) return NULL;
13616} Py_INCREF(Py_None);
13617 _resultobj = Py_None;
13618 return _resultobj;
13619}
13620
13621#define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13622static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject * _resultobj;
13624 wxGridEditorCreatedEvent * _arg0;
13625 int _arg1;
13626 PyObject * _argo0 = 0;
13627 char *_kwnames[] = { "self","col", NULL };
13628
13629 self = self;
13630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
13631 return NULL;
13632 if (_argo0) {
13633 if (_argo0 == Py_None) { _arg0 = NULL; }
13634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13636 return NULL;
13637 }
13638 }
13639{
13640 wxPy_BEGIN_ALLOW_THREADS;
13641 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
13642
13643 wxPy_END_ALLOW_THREADS;
13644 if (PyErr_Occurred()) return NULL;
13645} Py_INCREF(Py_None);
13646 _resultobj = Py_None;
13647 return _resultobj;
13648}
13649
13650#define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13651static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13652 PyObject * _resultobj;
13653 wxGridEditorCreatedEvent * _arg0;
13654 wxControl * _arg1;
13655 PyObject * _argo0 = 0;
13656 PyObject * _argo1 = 0;
13657 char *_kwnames[] = { "self","ctrl", NULL };
13658
13659 self = self;
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
13661 return NULL;
13662 if (_argo0) {
13663 if (_argo0 == Py_None) { _arg0 = NULL; }
13664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13666 return NULL;
13667 }
13668 }
13669 if (_argo1) {
13670 if (_argo1 == Py_None) { _arg1 = NULL; }
13671 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
13672 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13673 return NULL;
13674 }
13675 }
13676{
13677 wxPy_BEGIN_ALLOW_THREADS;
13678 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
13679
13680 wxPy_END_ALLOW_THREADS;
13681 if (PyErr_Occurred()) return NULL;
13682} Py_INCREF(Py_None);
13683 _resultobj = Py_None;
13684 return _resultobj;
13685}
13686
f6bcfd97 13687static PyMethodDef gridcMethods[] = {
9d6da64a
RD
13688 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
13689 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
13690 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
13691 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
13692 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13693 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13694 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13695 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13696 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13697 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13698 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13699 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13700 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
13701 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
13702 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
13703 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
13704 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
13705 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
13706 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
13707 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13708 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13709 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13710 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13711 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13712 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
13713 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
13714 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13715 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13716 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13717 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13718 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13719 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13720 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13721 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13722 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
9df61a29
RD
13723 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
13724 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
13725 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
13726 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13727 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
13728 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
13729 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
13730 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
13731 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
13732 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
13733 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13734 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13735 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13736 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13737 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
13738 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
13739 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
13740 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
13741 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
13742 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
13743 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
13744 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
13745 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13746 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13747 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
13748 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
13749 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
13750 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13751 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
13752 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13753 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13754 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13755 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13756 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13757 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13758 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13759 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
13760 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13761 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13762 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13763 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13764 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13765 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
13766 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
13767 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
13768 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
13769 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
13770 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
13771 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
13772 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
13773 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13774 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
13775 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13776 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13777 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13778 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
13779 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13780 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13781 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13782 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13783 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13784 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
13785 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13786 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
13787 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13788 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
13789 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
13790 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
13791 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
13792 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
13793 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
13794 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13795 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13796 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
13797 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13798 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13799 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
13800 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
13801 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
13802 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
13803 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13804 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
9df61a29
RD
13805 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13806 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13807 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13808 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13809 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13810 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13811 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13812 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13813 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
13814 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13815 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13816 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13817 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
9df61a29
RD
13818 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13819 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13820 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13821 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13822 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13823 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13824 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13825 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13826 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
13827 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13828 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13829 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13830 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
13831 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13832 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13833 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
13834 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
13835 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
13836 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
13837 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
13838 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
13839 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
13840 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
13841 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
13842 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
13843 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
13844 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
13845 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
13846 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
13847 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
13848 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
13849 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
13850 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
13851 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
13852 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
13853 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
13854 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
13855 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
13856 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
13857 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
13858 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
13859 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
13860 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
13861 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13862 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13863 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
13864 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
9a08cd12 13865 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13866 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
13867 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
13868 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
13869 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
13870 { "wxGrid_StringToLines", (PyCFunction) _wrap_wxGrid_StringToLines, METH_VARARGS | METH_KEYWORDS },
13871 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
13872 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
13873 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13874 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
13875 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
13876 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13877 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
13878 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
13879 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
13880 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
13881 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
13882 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
13883 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13884 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13885 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13886 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
13887 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
13888 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
13889 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
13890 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
13891 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
13892 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
13893 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
13894 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
13895 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13896 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13897 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13898 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13899 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
13900 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
13901 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
13902 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
13903 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
13904 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
13905 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13906 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13907 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
13908 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13909 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13910 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13911 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13912 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13913 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13914 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13915 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13916 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13917 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13918 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
13919 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
13920 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13921 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
13922 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
13923 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
13924 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13925 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13926 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13927 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
13928 { "wxPyGridTableBase__setSelf", (PyCFunction) _wrap_wxPyGridTableBase__setSelf, METH_VARARGS | METH_KEYWORDS },
13929 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
13930 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13931 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13932 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
13933 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
13934 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13935 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13936 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13937 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13938 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13939 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13940 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
13941 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
13942 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13943 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
13944 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
13945 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
13946 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13947 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13948 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13949 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13950 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13951 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13952 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13953 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13954 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13955 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
13956 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
13957 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
13958 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13959 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13960 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
13961 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
13962 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13963 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13964 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13965 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13966 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13967 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13968 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setSelf, METH_VARARGS | METH_KEYWORDS },
13969 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13970 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
13971 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
13972 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13973 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13974 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
13975 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
13976 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13977 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
13978 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13979 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
13980 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
13981 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13982 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13983 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13984 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9df61a29 13985 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13986 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13987 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13988 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13989 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13990 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13991 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
9df61a29 13992 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13993 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13994 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13995 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13996 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13997 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13998 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13999 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
14000 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
14001 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
9df61a29 14002 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
14003 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
14004 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
14005 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
14006 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
14007 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
14008 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
14009 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
14010 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14011 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
14012 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14013 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
14014 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
2cd2fac8 14015 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
14016 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14017 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
14018 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
14019 { "wxPyGridCellEditor__setSelf", (PyCFunction) _wrap_wxPyGridCellEditor__setSelf, METH_VARARGS | METH_KEYWORDS },
14020 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
14021 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
14022 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14023 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
14024 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
14025 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14026 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14027 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
14028 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
14029 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
14030 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
14031 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
14032 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
14033 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
14034 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
14035 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
14036 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
14037 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
14038 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
14039 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
14040 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
14041 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
14042 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
14043 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
14044 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
14045 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
14046 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
14047 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
14048 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14049 { "wxPyGridCellRenderer__setSelf", (PyCFunction) _wrap_wxPyGridCellRenderer__setSelf, METH_VARARGS | METH_KEYWORDS },
14050 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
14051 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
14052 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
14053 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
14054 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
14055 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
14056 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
14057 { NULL, NULL }
14058};
14059#ifdef __cplusplus
14060}
14061#endif
14062/*
14063 * This table is used by the pointer type-checker
14064 */
14065static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
9d6da64a
RD
14066 { "_wxEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14067 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
f6bcfd97
BP
14068 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14069 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14070 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14071 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14072 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
14073 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
f6bcfd97 14074 { "_signed_long","_long",0},
f6bcfd97
BP
14075 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14076 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14077 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14078 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14079 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14080 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14081 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14082 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14083 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14084 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
f6bcfd97
BP
14085 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14086 { "_wxPrintQuality","_wxCoord",0},
14087 { "_wxPrintQuality","_int",0},
14088 { "_wxPrintQuality","_signed_int",0},
14089 { "_wxPrintQuality","_unsigned_int",0},
14090 { "_wxPrintQuality","_wxWindowID",0},
14091 { "_wxPrintQuality","_uint",0},
14092 { "_wxPrintQuality","_EBool",0},
14093 { "_wxPrintQuality","_size_t",0},
c368d904 14094 { "_wxPrintQuality","_time_t",0},
f6bcfd97
BP
14095 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
14096 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
f6bcfd97
BP
14097 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14098 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14099 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14100 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14101 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14102 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
f6bcfd97 14103 { "_byte","_unsigned_char",0},
f6bcfd97
BP
14104 { "_long","_unsigned_long",0},
14105 { "_long","_signed_long",0},
9d6da64a
RD
14106 { "_class_wxObject","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14107 { "_class_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
9df61a29
RD
14108 { "_class_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14109 { "_class_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14110 { "_class_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14111 { "_class_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14112 { "_class_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject},
14113 { "_class_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14114 { "_class_wxObject","_class_wxGrid",SwigwxGridTowxObject},
14115 { "_class_wxObject","_wxGrid",SwigwxGridTowxObject},
14116 { "_class_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject},
14117 { "_class_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14118 { "_class_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14119 { "_class_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14120 { "_class_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14121 { "_class_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
f6bcfd97
BP
14122 { "_size_t","_WXGRIDSELECTIONMODES",0},
14123 { "_size_t","_wxCoord",0},
14124 { "_size_t","_wxPrintQuality",0},
c368d904 14125 { "_size_t","_time_t",0},
f6bcfd97
BP
14126 { "_size_t","_unsigned_int",0},
14127 { "_size_t","_int",0},
14128 { "_size_t","_wxWindowID",0},
14129 { "_size_t","_uint",0},
f6bcfd97
BP
14130 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
14131 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
f6bcfd97
BP
14132 { "_uint","_WXGRIDSELECTIONMODES",0},
14133 { "_uint","_wxCoord",0},
14134 { "_uint","_wxPrintQuality",0},
c368d904 14135 { "_uint","_time_t",0},
f6bcfd97
BP
14136 { "_uint","_size_t",0},
14137 { "_uint","_unsigned_int",0},
14138 { "_uint","_int",0},
14139 { "_uint","_wxWindowID",0},
14140 { "_wxChar","_char",0},
9d6da64a
RD
14141 { "_class_wxEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14142 { "_class_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
f6bcfd97
BP
14143 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14144 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14145 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14146 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14147 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
14148 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
9d6da64a
RD
14149 { "_wxCommandEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14150 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
f6bcfd97
BP
14151 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14152 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14153 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14154 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14155 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14156 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
f6bcfd97 14157 { "_char","_wxChar",0},
f6bcfd97
BP
14158 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14159 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14160 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14161 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
f6bcfd97
BP
14162 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14163 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14164 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14165 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14166 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14167 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
f6bcfd97
BP
14168 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14169 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14170 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14171 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
f6bcfd97
BP
14172 { "_EBool","_WXGRIDSELECTIONMODES",0},
14173 { "_EBool","_wxCoord",0},
14174 { "_EBool","_wxPrintQuality",0},
14175 { "_EBool","_signed_int",0},
14176 { "_EBool","_int",0},
14177 { "_EBool","_wxWindowID",0},
f6bcfd97
BP
14178 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14179 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14180 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14181 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
f6bcfd97 14182 { "_unsigned_long","_long",0},
f6bcfd97
BP
14183 { "_WXGRIDSELECTIONMODES","_int",0},
14184 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14185 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14186 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14187 { "_WXGRIDSELECTIONMODES","_uint",0},
14188 { "_WXGRIDSELECTIONMODES","_EBool",0},
14189 { "_WXGRIDSELECTIONMODES","_size_t",0},
c368d904 14190 { "_WXGRIDSELECTIONMODES","_time_t",0},
f6bcfd97
BP
14191 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14192 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
f6bcfd97
BP
14193 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14194 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14195 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14196 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
f6bcfd97
BP
14197 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
14198 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
f6bcfd97
BP
14199 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14200 { "_signed_int","_wxCoord",0},
14201 { "_signed_int","_wxPrintQuality",0},
14202 { "_signed_int","_EBool",0},
14203 { "_signed_int","_wxWindowID",0},
14204 { "_signed_int","_int",0},
f6bcfd97
BP
14205 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14206 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14207 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14208 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14209 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14210 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14211 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14212 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14213 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14214 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14215 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14216 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
f6bcfd97
BP
14217 { "_WXTYPE","_short",0},
14218 { "_WXTYPE","_signed_short",0},
14219 { "_WXTYPE","_unsigned_short",0},
14220 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14221 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
f6bcfd97
BP
14222 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14223 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14224 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14225 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
f6bcfd97
BP
14226 { "_unsigned_short","_WXTYPE",0},
14227 { "_unsigned_short","_short",0},
14228 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
14229 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
9d6da64a
RD
14230 { "_wxObject","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14231 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
9df61a29
RD
14232 { "_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14233 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14234 { "_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14235 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14236 { "_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject},
14237 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14238 { "_wxObject","_class_wxGrid",SwigwxGridTowxObject},
14239 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
14240 { "_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject},
14241 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14242 { "_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14243 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14244 { "_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14245 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
f6bcfd97
BP
14246 { "_signed_short","_WXTYPE",0},
14247 { "_signed_short","_short",0},
f6bcfd97
BP
14248 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
14249 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
f6bcfd97 14250 { "_unsigned_char","_byte",0},
f6bcfd97
BP
14251 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14252 { "_unsigned_int","_wxCoord",0},
14253 { "_unsigned_int","_wxPrintQuality",0},
c368d904 14254 { "_unsigned_int","_time_t",0},
f6bcfd97
BP
14255 { "_unsigned_int","_size_t",0},
14256 { "_unsigned_int","_uint",0},
14257 { "_unsigned_int","_wxWindowID",0},
14258 { "_unsigned_int","_int",0},
f6bcfd97
BP
14259 { "_short","_WXTYPE",0},
14260 { "_short","_unsigned_short",0},
14261 { "_short","_signed_short",0},
f6bcfd97
BP
14262 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14263 { "_wxWindowID","_wxCoord",0},
14264 { "_wxWindowID","_wxPrintQuality",0},
c368d904 14265 { "_wxWindowID","_time_t",0},
f6bcfd97
BP
14266 { "_wxWindowID","_size_t",0},
14267 { "_wxWindowID","_EBool",0},
14268 { "_wxWindowID","_uint",0},
14269 { "_wxWindowID","_int",0},
14270 { "_wxWindowID","_signed_int",0},
14271 { "_wxWindowID","_unsigned_int",0},
f6bcfd97
BP
14272 { "_int","_WXGRIDSELECTIONMODES",0},
14273 { "_int","_wxCoord",0},
14274 { "_int","_wxPrintQuality",0},
c368d904 14275 { "_int","_time_t",0},
f6bcfd97
BP
14276 { "_int","_size_t",0},
14277 { "_int","_EBool",0},
14278 { "_int","_uint",0},
14279 { "_int","_wxWindowID",0},
14280 { "_int","_unsigned_int",0},
14281 { "_int","_signed_int",0},
c368d904
RD
14282 { "_time_t","_WXGRIDSELECTIONMODES",0},
14283 { "_time_t","_wxCoord",0},
14284 { "_time_t","_wxPrintQuality",0},
14285 { "_time_t","_unsigned_int",0},
14286 { "_time_t","_int",0},
14287 { "_time_t","_wxWindowID",0},
14288 { "_time_t","_uint",0},
14289 { "_time_t","_size_t",0},
f6bcfd97
BP
14290 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14291 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14292 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14293 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14294 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14295 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14296 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14297 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14298 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14299 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14300 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14301 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
f6bcfd97
BP
14302 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14303 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
f6bcfd97
BP
14304 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14305 { "_wxCoord","_int",0},
14306 { "_wxCoord","_signed_int",0},
14307 { "_wxCoord","_unsigned_int",0},
14308 { "_wxCoord","_wxWindowID",0},
14309 { "_wxCoord","_uint",0},
14310 { "_wxCoord","_EBool",0},
14311 { "_wxCoord","_size_t",0},
c368d904 14312 { "_wxCoord","_time_t",0},
f6bcfd97 14313 { "_wxCoord","_wxPrintQuality",0},
f6bcfd97
BP
14314 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14315 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14316 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14317 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14318 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14319 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14320 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14321 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14322 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14323 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
f6bcfd97
BP
14324 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14325 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14326 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14327 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
9d6da64a
RD
14328 { "_class_wxCommandEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14329 { "_class_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
f6bcfd97
BP
14330 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14331 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14332 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14333 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14334 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14335 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
f6bcfd97
BP
14336 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
14337 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
f6bcfd97
BP
14338 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
14339 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
f6bcfd97
BP
14340 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
14341 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
f6bcfd97
BP
14342{0,0,0}};
14343
14344static PyObject *SWIG_globals;
14345#ifdef __cplusplus
14346extern "C"
14347#endif
14348SWIGEXPORT(void) initgridc() {
14349 PyObject *m, *d;
14350 SWIG_globals = SWIG_newvarlink();
14351 m = Py_InitModule("gridc", gridcMethods);
14352 d = PyModule_GetDict(m);
14353 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14354 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14355 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14356 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14357 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14358 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14359 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14360 PyDict_SetItemString(d,"cvar", SWIG_globals);
14361 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14362 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14363 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14364 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14365 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14366 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14367 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14368 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14369 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14370 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14371 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14372 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14373 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14374 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14375 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14376 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14377 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14378 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14379 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14380 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14381 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14382 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14383 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14384 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14385 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
9d6da64a 14386 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
3a70a282
RD
14387
14388 wxClassInfo::CleanUpClasses();
14389 wxClassInfo::InitializeClasses();
9df61a29
RD
14390 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14391 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14392 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14393 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14394 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14395 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
f6bcfd97
BP
14396 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14397 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14398 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14399{
14400 int i;
14401 for (i = 0; _swig_mapping[i].n1; i++)
14402 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14403}
14404}