]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/grid.cpp
Demo updates
[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__)
3bcd5e1c 30# define SWIGEXPORT(a) a _export
f6bcfd97 31# else
3bcd5e1c 32# define SWIGEXPORT(a) a
f6bcfd97
BP
33# endif
34# endif
35#else
3bcd5e1c 36# define SWIGEXPORT(a) a
f6bcfd97
BP
37#endif
38
3bcd5e1c
RD
39#include "Python.h"
40
f6bcfd97
BP
41#ifdef __cplusplus
42extern "C" {
43#endif
3bcd5e1c 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 59#include <wx/grid.h>
059a841c 60#include <wx/generic/gridctrl.h>
f6bcfd97 61
f6bcfd97
BP
62
63static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
3bcd5e1c 67 if (!target) {
f6bcfd97 68 target = o;
3bcd5e1c 69 } else if (target == Py_None) {
f6bcfd97
BP
70 Py_DECREF(Py_None);
71 target = o;
3bcd5e1c 72 } else {
f6bcfd97
BP
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
3bcd5e1c
RD
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
f6bcfd97
BP
80
81 o2 = target;
3bcd5e1c
RD
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
f6bcfd97
BP
84 Py_DECREF(o3);
85 }
86 return target;
87}
88
9a74fcaf
RD
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr);
91
9df61a29
RD
92#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
93 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
94 wxGridCellAttr* rval = NULL; \
059a841c 95 bool found; \
474c48f9 96 wxPyBeginBlockThreads(); \
059a841c 97 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
9df61a29
RD
98 PyObject* ro; \
99 wxGridCellAttr* ptr; \
100 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
101 if (ro) { \
f6bcfd97 102 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
9df61a29
RD
103 rval = ptr; \
104 Py_DECREF(ro); \
105 } \
106 } \
474c48f9 107 wxPyEndBlockThreads(); \
059a841c 108 if (! found) \
9df61a29 109 rval = PCLASS::CBNAME(a, b, c); \
9df61a29
RD
110 return rval; \
111 } \
112 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
113 return PCLASS::CBNAME(a, b, c); \
f6bcfd97
BP
114 }
115
116
117
059a841c
RD
118#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
119 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
474c48f9 120 wxPyBeginBlockThreads(); \
059a841c
RD
121 bool found; \
122 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
b68dc582
RD
123 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
124 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
059a841c
RD
125 Py_DECREF(obj); \
126 } \
474c48f9 127 wxPyEndBlockThreads(); \
059a841c
RD
128 if (! found) \
129 PCLASS::CBNAME(attr, a, b); \
130 } \
131 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
132 PCLASS::CBNAME(attr, a, b); \
f6bcfd97
BP
133 }
134
135
136
059a841c
RD
137#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
138 void CBNAME(wxGridCellAttr *attr, int val) { \
474c48f9 139 wxPyBeginBlockThreads(); \
059a841c
RD
140 bool found; \
141 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
b68dc582 142 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
059a841c
RD
143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
144 Py_DECREF(obj); \
145 } \
474c48f9 146 wxPyEndBlockThreads(); \
059a841c
RD
147 if (! found) \
148 PCLASS::CBNAME(attr, val); \
149 } \
150 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
151 PCLASS::CBNAME(attr, val); \
f6bcfd97
BP
152 }
153
154
155
059a841c
RD
156#define PYCALLBACK_INT__pure(CBNAME) \
157 int CBNAME() { \
474c48f9 158 wxPyBeginBlockThreads(); \
059a841c
RD
159 int rval = 0; \
160 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
161 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
474c48f9 162 wxPyEndBlockThreads(); \
059a841c 163 return rval; \
f6bcfd97
BP
164 }
165
166
167
059a841c
RD
168#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
169 bool CBNAME(int a, int b) { \
474c48f9 170 wxPyBeginBlockThreads(); \
059a841c
RD
171 bool rval = 0; \
172 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
173 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
474c48f9 174 wxPyEndBlockThreads(); \
059a841c 175 return rval; \
f6bcfd97 176 }
059a841c
RD
177
178
059a841c
RD
179#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
180 wxString CBNAME(int a, int b) { \
49df1f52 181 wxPyBeginBlockThreads(); \
059a841c
RD
182 wxString rval; \
183 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
184 PyObject* ro; \
185 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
186 if (ro) { \
49df1f52
RD
187 rval = Py2wxString(ro); \
188 Py_DECREF(ro); \
059a841c
RD
189 } \
190 } \
49df1f52 191 wxPyEndBlockThreads(); \
059a841c 192 return rval; \
f6bcfd97
BP
193 }
194
195
059a841c
RD
196#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
197 void CBNAME(int a, int b, const wxString& c) { \
49df1f52 198 wxPyBeginBlockThreads(); \
059a841c 199 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
49df1f52
RD
200 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,wx2PyString(c)));\
201 wxPyEndBlockThreads(); \
f6bcfd97
BP
202 }
203
49df1f52 204
059a841c
RD
205#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
206 wxString CBNAME(int a, int b) { \
207 bool found; \
49df1f52 208 wxPyBeginBlockThreads(); \
059a841c
RD
209 wxString rval; \
210 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
211 PyObject* ro; \
212 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
213 if (ro) { \
49df1f52
RD
214 rval = Py2wxString(ro); \
215 Py_DECREF(ro); \
059a841c
RD
216 } \
217 } \
49df1f52 218 wxPyEndBlockThreads(); \
059a841c
RD
219 if (! found) \
220 rval = PCLASS::CBNAME(a, b); \
221 return rval; \
222 } \
223 wxString base_##CBNAME(int a, int b) { \
224 return PCLASS::CBNAME(a, b); \
225 }
226
f6bcfd97 227
059a841c
RD
228#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
229 bool CBNAME(int a, int b, const wxString& c) { \
36fd8ec3 230 bool rval = 0; \
059a841c 231 bool found; \
49df1f52 232 wxPyBeginBlockThreads(); \
059a841c 233 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
49df1f52
RD
234 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", a,b,wx2PyString(c)));\
235 wxPyEndBlockThreads(); \
059a841c
RD
236 if (! found) \
237 rval = PCLASS::CBNAME(a,b,c); \
238 return rval; \
239 } \
240 bool base_##CBNAME(int a, int b, const wxString& c) { \
241 return PCLASS::CBNAME(a,b,c); \
f6bcfd97
BP
242 }
243
244
245
059a841c
RD
246
247#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
248 long CBNAME(int a, int b) { \
249 long rval; \
250 bool found; \
474c48f9 251 wxPyBeginBlockThreads(); \
059a841c
RD
252 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
253 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
474c48f9 254 wxPyEndBlockThreads(); \
059a841c
RD
255 if (! found) \
256 rval = PCLASS::CBNAME(a,b); \
257 return rval; \
258 } \
259 long base_##CBNAME(int a, int b) { \
260 return PCLASS::CBNAME(a,b); \
f6bcfd97
BP
261 }
262
263
264
059a841c
RD
265#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b) { \
36fd8ec3 267 bool rval = 0; \
059a841c 268 bool found; \
474c48f9 269 wxPyBeginBlockThreads(); \
059a841c
RD
270 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
271 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
474c48f9 272 wxPyEndBlockThreads(); \
059a841c
RD
273 if (! found) \
274 rval = PCLASS::CBNAME(a,b); \
275 return rval; \
276 } \
277 bool base_##CBNAME(int a, int b) { \
278 return PCLASS::CBNAME(a,b); \
279 }
280
f6bcfd97 281
059a841c
RD
282
283#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
284 double CBNAME(int a, int b) { \
285 bool found; \
474c48f9 286 wxPyBeginBlockThreads(); \
059a841c
RD
287 double rval; \
288 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
289 PyObject* ro; \
290 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
291 if (ro) { \
292 PyObject* str = PyObject_Str(ro); \
293 rval = PyFloat_AsDouble(str); \
294 Py_DECREF(ro); Py_DECREF(str); \
295 } \
296 } \
474c48f9 297 wxPyEndBlockThreads(); \
059a841c
RD
298 if (! found) \
299 rval = PCLASS::CBNAME(a, b); \
300 return rval; \
301 } \
302 double base_##CBNAME(int a, int b) { \
303 return PCLASS::CBNAME(a, b); \
304 }
305
306
307
308#define PYCALLBACK__(PCLASS, CBNAME) \
309 void CBNAME() { \
310 bool found; \
474c48f9 311 wxPyBeginBlockThreads(); \
059a841c
RD
312 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
313 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
474c48f9 314 wxPyEndBlockThreads(); \
059a841c
RD
315 if (! found) \
316 PCLASS::CBNAME(); \
317 } \
318 void base_##CBNAME() { \
319 PCLASS::CBNAME(); \
320 }
321
322
323
324
325#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
326 bool CBNAME(size_t a, size_t b) { \
36fd8ec3 327 bool rval = 0; \
059a841c 328 bool found; \
474c48f9 329 wxPyBeginBlockThreads(); \
059a841c
RD
330 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
331 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
474c48f9 332 wxPyEndBlockThreads(); \
059a841c
RD
333 if (! found) \
334 rval = PCLASS::CBNAME(a,b); \
335 return rval; \
336 } \
337 bool base_##CBNAME(size_t a, size_t b) { \
338 return PCLASS::CBNAME(a,b); \
339 }
340
341
342
343#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
344 bool CBNAME(size_t a) { \
36fd8ec3 345 bool rval = 0; \
059a841c 346 bool found; \
474c48f9 347 wxPyBeginBlockThreads(); \
059a841c
RD
348 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
349 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
474c48f9 350 wxPyEndBlockThreads(); \
059a841c
RD
351 if (! found) \
352 rval = PCLASS::CBNAME(a); \
353 return rval; \
354 } \
355 bool base_##CBNAME(size_t a) { \
356 return PCLASS::CBNAME(a); \
f6bcfd97
BP
357 }
358
359
059a841c
RD
360#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
361 wxString CBNAME(int a) { \
362 bool found; \
49df1f52 363 wxPyBeginBlockThreads(); \
059a841c
RD
364 wxString rval; \
365 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
366 PyObject* ro; \
367 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
368 if (ro) { \
49df1f52
RD
369 rval = Py2wxString(ro); \
370 Py_DECREF(ro); \
059a841c
RD
371 } \
372 } \
49df1f52 373 wxPyEndBlockThreads(); \
059a841c
RD
374 if (! found) \
375 rval = PCLASS::CBNAME(a); \
376 return rval; \
377 } \
378 wxString base_##CBNAME(int a) { \
379 return PCLASS::CBNAME(a); \
380 }
381
382
059a841c
RD
383#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
384 void CBNAME(int a, const wxString& c) { \
385 bool found; \
49df1f52 386 wxPyBeginBlockThreads(); \
059a841c 387 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
49df1f52
RD
388 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", a, wx2PyString(c))); \
389 wxPyEndBlockThreads(); \
059a841c
RD
390 if (! found) \
391 PCLASS::CBNAME(a,c); \
392 } \
393 void base_##CBNAME(int a, const wxString& c) { \
394 PCLASS::CBNAME(a,c); \
f6bcfd97
BP
395 }
396
397
398
059a841c
RD
399
400#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
401 bool CBNAME() { \
36fd8ec3 402 bool rval = 0; \
059a841c 403 bool found; \
49df1f52 404 wxPyBeginBlockThreads(); \
059a841c
RD
405 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
406 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
49df1f52 407 wxPyEndBlockThreads(); \
059a841c
RD
408 if (! found) \
409 rval = PCLASS::CBNAME(); \
410 return rval; \
411 } \
412 bool base_##CBNAME() { \
413 return PCLASS::CBNAME(); \
414 }
415
416
417
418#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
419 void CBNAME(size_t a, int b) { \
420 bool found; \
49df1f52 421 wxPyBeginBlockThreads(); \
059a841c
RD
422 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
423 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
49df1f52 424 wxPyEndBlockThreads(); \
059a841c
RD
425 if (! found) \
426 PCLASS::CBNAME(a,b); \
427 } \
428 void base_##CBNAME(size_t a, int b) { \
429 PCLASS::CBNAME(a,b); \
430 }
431
432
433
434
435#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
436 void CBNAME(int a, int b, long c) { \
437 bool found; \
49df1f52 438 wxPyBeginBlockThreads(); \
059a841c
RD
439 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
440 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
49df1f52 441 wxPyEndBlockThreads(); \
059a841c
RD
442 if (! found) \
443 PCLASS::CBNAME(a,b,c); \
444 } \
445 void base_##CBNAME(int a, int b, long c) { \
446 PCLASS::CBNAME(a,b,c); \
447 }
448
449
450
451
452#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
453 void CBNAME(int a, int b, double c) { \
454 bool found; \
49df1f52 455 wxPyBeginBlockThreads(); \
059a841c
RD
456 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
457 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
49df1f52 458 wxPyEndBlockThreads(); \
059a841c
RD
459 if (! found) \
460 PCLASS::CBNAME(a,b,c); \
461 } \
462 void base_##CBNAME(int a, int b, double c) { \
463 PCLASS::CBNAME(a,b,c); \
464 }
465
466
467
468#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
469 void CBNAME(int a, int b, bool c) { \
470 bool found; \
49df1f52 471 wxPyBeginBlockThreads(); \
059a841c
RD
472 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
473 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
49df1f52 474 wxPyEndBlockThreads(); \
059a841c
RD
475 if (! found) \
476 PCLASS::CBNAME(a,b,c); \
477 } \
478 void base_##CBNAME(int a, int b, bool c) { \
479 PCLASS::CBNAME(a,b,c); \
f6bcfd97
BP
480 }
481
482
483
484
485
486class wxPyGridCellRenderer : public wxGridCellRenderer
487{
488public:
489 wxPyGridCellRenderer() : wxGridCellRenderer() {};
490
491 // Implement Python callback aware virtual methods
492 void Draw(wxGrid& grid, wxGridCellAttr& attr,
493 wxDC& dc, const wxRect& rect,
494 int row, int col, bool isSelected) {
474c48f9 495 wxPyBeginBlockThreads();
b68dc582
RD
496 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
497 wxPyCBH_callCallback(m_myInst,
f6bcfd97 498 Py_BuildValue("(OOOOiii)",
b68dc582
RD
499 wxPyConstructObject((void*)&grid, "wxGrid", 0),
500 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
501 wxPyConstructObject((void*)&dc, "wxDC", 0),
502 wxPyConstructObject((void*)&rect, "wxRect", 0),
f6bcfd97
BP
503 row, col, isSelected));
504 }
474c48f9 505 wxPyEndBlockThreads();
f6bcfd97
BP
506 }
507
508 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
509 int row, int col) {
510 wxSize rval;
474c48f9 511 wxPyBeginBlockThreads();
b68dc582 512 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
f6bcfd97
BP
513 PyObject* ro;
514 wxSize* ptr;
b68dc582 515 ro = wxPyCBH_callCallbackObj(m_myInst,
f6bcfd97 516 Py_BuildValue("(OOOii)",
b68dc582
RD
517 wxPyConstructObject((void*)&grid, "wxGrid", 0),
518 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
519 wxPyConstructObject((void*)&dc, "wxDC", 0),
f6bcfd97
BP
520 row, col));
521 if (ro) {
87439dd8
RD
522 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
523 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p")) {
f6bcfd97 524 rval = *ptr;
87439dd8
RD
525 }
526 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
527 PyObject* o1 = PySequence_GetItem(ro, 0);
528 PyObject* o2 = PySequence_GetItem(ro, 1);
529 if (PyNumber_Check(o1) && PyNumber_Check(o2))
530 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
531 else
532 PyErr_SetString(PyExc_TypeError, errmsg);
533 Py_DECREF(o1);
534 Py_DECREF(o2);
535 }
536 else {
537 PyErr_SetString(PyExc_TypeError, errmsg);
538 }
f6bcfd97
BP
539 Py_DECREF(ro);
540 }
541 }
474c48f9 542 wxPyEndBlockThreads();
f6bcfd97
BP
543 return rval;
544 }
545
546
547 wxGridCellRenderer *Clone() const {
548 wxGridCellRenderer* rval = NULL;
474c48f9 549 wxPyBeginBlockThreads();
b68dc582 550 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
f6bcfd97
BP
551 PyObject* ro;
552 wxGridCellRenderer* ptr;
b68dc582 553 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
f6bcfd97
BP
554 if (ro) {
555 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
556 rval = ptr;
557 Py_DECREF(ro);
558 }
559 }
474c48f9 560 wxPyEndBlockThreads();
f6bcfd97
BP
561 return rval;
562 }
563
564 DEC_PYCALLBACK__STRING(SetParameters);
565
566 PYPRIVATE;
567};
568
569IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
570
571
572class wxPyGridCellEditor : public wxGridCellEditor
573{
574public:
575 wxPyGridCellEditor() : wxGridCellEditor() {}
576
577 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
474c48f9 578 wxPyBeginBlockThreads();
b68dc582
RD
579 if (wxPyCBH_findCallback(m_myInst, "Create")) {
580 wxPyCBH_callCallback(m_myInst,
f6bcfd97 581 Py_BuildValue("(OiO)",
b68dc582 582 wxPyConstructObject((void*)parent, "wxWindow", 0),
f6bcfd97 583 id,
b68dc582 584 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
f6bcfd97 585 }
474c48f9 586 wxPyEndBlockThreads();
f6bcfd97
BP
587 }
588
589
590 void BeginEdit(int row, int col, wxGrid* grid) {
474c48f9 591 wxPyBeginBlockThreads();
b68dc582
RD
592 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
593 wxPyCBH_callCallback(m_myInst,
f6bcfd97 594 Py_BuildValue("(iiO)", row, col,
b68dc582 595 wxPyConstructObject((void*)grid, "wxGrid", 0)));
f6bcfd97 596 }
474c48f9 597 wxPyEndBlockThreads();
f6bcfd97
BP
598 }
599
600
601 bool EndEdit(int row, int col, wxGrid* grid) {
602 bool rv = FALSE;
474c48f9 603 wxPyBeginBlockThreads();
b68dc582
RD
604 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
605 rv = wxPyCBH_callCallback(m_myInst,
f6bcfd97 606 Py_BuildValue("(iiO)", row, col,
b68dc582 607 wxPyConstructObject((void*)grid, "wxGrid", 0)));
f6bcfd97 608 }
474c48f9 609 wxPyEndBlockThreads();
f6bcfd97
BP
610 return rv;
611 }
612
613
c368d904 614 wxGridCellEditor*Clone() const {
f6bcfd97 615 wxGridCellEditor* rval = NULL;
474c48f9 616 wxPyBeginBlockThreads();
b68dc582 617 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
f6bcfd97
BP
618 PyObject* ro;
619 wxGridCellEditor* ptr;
b68dc582 620 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
f6bcfd97
BP
621 if (ro) {
622 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
623 rval = ptr;
624 Py_DECREF(ro);
625 }
626 }
474c48f9 627 wxPyEndBlockThreads();
f6bcfd97
BP
628 return rval;
629 }
630
631
632 void Show(bool show, wxGridCellAttr *attr) {
059a841c 633 bool found;
474c48f9 634 wxPyBeginBlockThreads();
059a841c 635 if ((found = wxPyCBH_findCallback(m_myInst, "Show")))
b68dc582 636 wxPyCBH_callCallback(m_myInst,
f6bcfd97 637 Py_BuildValue("(iO)", show,
b68dc582 638 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
474c48f9 639 wxPyEndBlockThreads();
059a841c 640 if (! found)
f6bcfd97 641 wxGridCellEditor::Show(show, attr);
f6bcfd97
BP
642 }
643 void base_Show(bool show, wxGridCellAttr *attr) {
644 wxGridCellEditor::Show(show, attr);
645 }
646
647
648 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
059a841c 649 bool found; \
474c48f9 650 wxPyBeginBlockThreads();
059a841c 651 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)")))
b68dc582 652 wxPyCBH_callCallback(m_myInst,
f6bcfd97 653 Py_BuildValue("(OO)",
b68dc582
RD
654 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
655 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
474c48f9 656 wxPyEndBlockThreads();
059a841c 657 if (! found)
f6bcfd97 658 wxGridCellEditor::PaintBackground(rectCell, attr);
f6bcfd97
BP
659 }
660 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
661 wxGridCellEditor::PaintBackground(rectCell, attr);
662 }
663
664
665 DEC_PYCALLBACK___pure(Reset);
666 DEC_PYCALLBACK__constany(SetSize, wxRect);
667 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
668 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
669 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
670 DEC_PYCALLBACK__(StartingClick);
671 DEC_PYCALLBACK__(Destroy);
672 DEC_PYCALLBACK__STRING(SetParameters);
673
674 PYPRIVATE;
675};
676
677
678IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
679IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
680IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
681IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
682IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
683IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
684IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
685IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
686
687
688class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
689{
690public:
691 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
692
9df61a29 693 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
f6bcfd97
BP
694 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
695 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
696 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
697
698 PYPRIVATE;
699};
700
701class wxPyGridTableBase : public wxGridTableBase
702{
703public:
704 wxPyGridTableBase() : wxGridTableBase() {}
705
706 PYCALLBACK_INT__pure(GetNumberRows);
707 PYCALLBACK_INT__pure(GetNumberCols);
708 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
709 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
710 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
711 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
712 PYCALLBACK__(wxGridTableBase, Clear);
713 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
714 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
715 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
716 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
717 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
718 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
719 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
720 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
721 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
722 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
723 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
9df61a29 724 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
f6bcfd97
BP
725 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
726 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
727 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
728
729
f6bcfd97 730 wxString GetValue(int row, int col) {
474c48f9 731 wxPyBeginBlockThreads();
f6bcfd97 732 wxString rval;
b68dc582 733 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97 734 PyObject* ro;
b68dc582 735 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
f6bcfd97 736 if (ro) {
49df1f52 737 rval = Py2wxString(ro);
f6bcfd97
BP
738 Py_DECREF(ro);
739 }
740 }
474c48f9 741 wxPyEndBlockThreads();
f6bcfd97
BP
742 return rval;
743 }
744
745 void SetValue(int row, int col, const wxString& val) {
474c48f9 746 wxPyBeginBlockThreads();
c8bc7bb8 747 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
49df1f52 748 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,wx2PyString(val)));
c8bc7bb8 749 }
474c48f9 750 wxPyEndBlockThreads();
f6bcfd97
BP
751 }
752
753
754 // Map the Get/Set methods for the standard non-string types to
755 // the GetValue and SetValue python methods.
756 long GetValueAsLong( int row, int col ) {
757 long rval = 0;
474c48f9 758 wxPyBeginBlockThreads();
b68dc582 759 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97
BP
760 PyObject* ro;
761 PyObject* num;
b68dc582 762 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
f6bcfd97
BP
763 if (ro && PyNumber_Check(ro)) {
764 num = PyNumber_Int(ro);
765 if (num) {
766 rval = PyInt_AsLong(num);
767 Py_DECREF(num);
768 }
769 Py_DECREF(ro);
770 }
771 }
474c48f9 772 wxPyEndBlockThreads();
f6bcfd97
BP
773 return rval;
774 }
775
776 double GetValueAsDouble( int row, int col ) {
777 double rval = 0.0;
474c48f9 778 wxPyBeginBlockThreads();
b68dc582 779 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97
BP
780 PyObject* ro;
781 PyObject* num;
b68dc582 782 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
f6bcfd97
BP
783 if (ro && PyNumber_Check(ro)) {
784 num = PyNumber_Float(ro);
785 if (num) {
786 rval = PyFloat_AsDouble(num);
787 Py_DECREF(num);
788 }
789 Py_DECREF(ro);
790 }
791 }
474c48f9 792 wxPyEndBlockThreads();
f6bcfd97
BP
793 return rval;
794 }
795
796 bool GetValueAsBool( int row, int col ) {
797 return (bool)GetValueAsLong(row, col);
798 }
799
800 void SetValueAsLong( int row, int col, long value ) {
474c48f9 801 wxPyBeginBlockThreads();
b68dc582
RD
802 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
803 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
f6bcfd97 804 }
474c48f9 805 wxPyEndBlockThreads();
f6bcfd97
BP
806 }
807
808 void SetValueAsDouble( int row, int col, double value ) {
474c48f9 809 wxPyBeginBlockThreads();
b68dc582
RD
810 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
811 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
f6bcfd97 812 }
474c48f9 813 wxPyEndBlockThreads();
f6bcfd97
BP
814 }
815
816 void SetValueAsBool( int row, int col, bool value ) {
817 SetValueAsLong( row, col, (long)value );
818 }
819
820
821 PYPRIVATE;
822};
823
824bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
825
826 // If source is an object instance then it may already be the right type
827 if (PyInstance_Check(source)) {
828 wxGridCellCoords* ptr;
829 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
830 goto error;
831 *obj = ptr;
832 return TRUE;
833 }
834 // otherwise a 2-tuple of integers is expected
835 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
836 PyObject* o1 = PySequence_GetItem(source, 0);
837 PyObject* o2 = PySequence_GetItem(source, 1);
838 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
839 return TRUE;
840 }
841
842 error:
843 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
844 return FALSE;
845}
846
847typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
848#ifdef __cplusplus
849extern "C" {
850#endif
851static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
852
853 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
854 return 1;
855}
856
857static PyObject *_wrap_wxGridNoCellCoords_get() {
858 PyObject * pyobj;
859 char ptemp[128];
860
861 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
862 pyobj = PyString_FromString(ptemp);
863 return pyobj;
864}
865
866static int _wrap_wxGridNoCellRect_set(PyObject *val) {
867
868 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
869 return 1;
870}
871
872static PyObject *_wrap_wxGridNoCellRect_get() {
873 PyObject * pyobj;
874 char ptemp[128];
875
876 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
877 pyobj = PyString_FromString(ptemp);
878 return pyobj;
879}
880
881#define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
882static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
883 PyObject * _resultobj;
884 wxGridCellRenderer * _arg0;
885 wxString * _arg1;
886 PyObject * _argo0 = 0;
887 PyObject * _obj1 = 0;
888 char *_kwnames[] = { "self","params", NULL };
889
890 self = self;
891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
892 return NULL;
893 if (_argo0) {
894 if (_argo0 == Py_None) { _arg0 = NULL; }
895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
897 return NULL;
898 }
899 }
900{
c8bc7bb8
RD
901 _arg1 = wxString_in_helper(_obj1);
902 if (_arg1 == NULL)
2cd2fac8 903 return NULL;
f6bcfd97
BP
904}
905{
474c48f9 906 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 907 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
f6bcfd97 908
474c48f9 909 wxPyEndAllowThreads(__tstate);
4dfaa61e 910 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
911} Py_INCREF(Py_None);
912 _resultobj = Py_None;
913{
914 if (_obj1)
915 delete _arg1;
916}
917 return _resultobj;
918}
919
920#define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
921static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
922 PyObject * _resultobj;
923 wxGridCellRenderer * _arg0;
924 PyObject * _argo0 = 0;
925 char *_kwnames[] = { "self", NULL };
926
927 self = self;
928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
929 return NULL;
930 if (_argo0) {
931 if (_argo0 == Py_None) { _arg0 = NULL; }
932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
934 return NULL;
935 }
936 }
937{
474c48f9 938 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 939 wxGridCellRenderer_IncRef(_arg0);
f6bcfd97 940
474c48f9 941 wxPyEndAllowThreads(__tstate);
4dfaa61e 942 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
943} Py_INCREF(Py_None);
944 _resultobj = Py_None;
945 return _resultobj;
946}
947
948#define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
949static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
950 PyObject * _resultobj;
951 wxGridCellRenderer * _arg0;
952 PyObject * _argo0 = 0;
953 char *_kwnames[] = { "self", NULL };
954
955 self = self;
956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
957 return NULL;
958 if (_argo0) {
959 if (_argo0 == Py_None) { _arg0 = NULL; }
960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
962 return NULL;
963 }
964 }
965{
474c48f9 966 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 967 wxGridCellRenderer_DecRef(_arg0);
f6bcfd97 968
474c48f9 969 wxPyEndAllowThreads(__tstate);
4dfaa61e 970 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
971} Py_INCREF(Py_None);
972 _resultobj = Py_None;
973 return _resultobj;
974}
975
976#define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
977static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
978 PyObject * _resultobj;
979 wxGridCellRenderer * _arg0;
980 wxGrid * _arg1;
981 wxGridCellAttr * _arg2;
982 wxDC * _arg3;
983 wxRect * _arg4;
984 int _arg5;
985 int _arg6;
986 bool _arg7;
987 PyObject * _argo0 = 0;
988 PyObject * _argo1 = 0;
989 PyObject * _argo2 = 0;
990 PyObject * _argo3 = 0;
991 wxRect temp;
992 PyObject * _obj4 = 0;
993 int tempbool7;
994 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
995
996 self = self;
997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
998 return NULL;
999 if (_argo0) {
1000 if (_argo0 == Py_None) { _arg0 = NULL; }
1001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1003 return NULL;
1004 }
1005 }
1006 if (_argo1) {
1007 if (_argo1 == Py_None) { _arg1 = NULL; }
1008 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1009 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1010 return NULL;
1011 }
1012 }
1013 if (_argo2) {
1014 if (_argo2 == Py_None) { _arg2 = NULL; }
1015 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1016 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1017 return NULL;
1018 }
1019 }
1020 if (_argo3) {
1021 if (_argo3 == Py_None) { _arg3 = NULL; }
1022 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1023 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1024 return NULL;
1025 }
1026 }
1027{
1028 _arg4 = &temp;
1029 if (! wxRect_helper(_obj4, &_arg4))
1030 return NULL;
1031}
1032 _arg7 = (bool ) tempbool7;
1033{
474c48f9 1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1035 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
f6bcfd97 1036
474c48f9 1037 wxPyEndAllowThreads(__tstate);
4dfaa61e 1038 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1039} Py_INCREF(Py_None);
1040 _resultobj = Py_None;
1041 return _resultobj;
1042}
1043
1044#define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1045static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1046 PyObject * _resultobj;
1047 wxSize * _result;
1048 wxGridCellRenderer * _arg0;
1049 wxGrid * _arg1;
1050 wxGridCellAttr * _arg2;
1051 wxDC * _arg3;
1052 int _arg4;
1053 int _arg5;
1054 PyObject * _argo0 = 0;
1055 PyObject * _argo1 = 0;
1056 PyObject * _argo2 = 0;
1057 PyObject * _argo3 = 0;
1058 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1059 char _ptemp[128];
1060
1061 self = self;
1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1063 return NULL;
1064 if (_argo0) {
1065 if (_argo0 == Py_None) { _arg0 = NULL; }
1066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1068 return NULL;
1069 }
1070 }
1071 if (_argo1) {
1072 if (_argo1 == Py_None) { _arg1 = NULL; }
1073 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1075 return NULL;
1076 }
1077 }
1078 if (_argo2) {
1079 if (_argo2 == Py_None) { _arg2 = NULL; }
1080 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1081 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1082 return NULL;
1083 }
1084 }
1085 if (_argo3) {
1086 if (_argo3 == Py_None) { _arg3 = NULL; }
1087 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1088 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1089 return NULL;
1090 }
1091 }
1092{
474c48f9 1093 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1094 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
f6bcfd97 1095
474c48f9 1096 wxPyEndAllowThreads(__tstate);
4dfaa61e 1097 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1098} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1099 _resultobj = Py_BuildValue("s",_ptemp);
1100 return _resultobj;
1101}
1102
1103#define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1104static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1105 PyObject * _resultobj;
1106 wxGridCellRenderer * _result;
1107 wxGridCellRenderer * _arg0;
1108 PyObject * _argo0 = 0;
1109 char *_kwnames[] = { "self", NULL };
1110 char _ptemp[128];
1111
1112 self = self;
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1114 return NULL;
1115 if (_argo0) {
1116 if (_argo0 == Py_None) { _arg0 = NULL; }
1117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1119 return NULL;
1120 }
1121 }
1122{
474c48f9 1123 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1124 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
f6bcfd97 1125
474c48f9 1126 wxPyEndAllowThreads(__tstate);
4dfaa61e 1127 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1128} if (_result) {
1129 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1130 _resultobj = Py_BuildValue("s",_ptemp);
1131 } else {
1132 Py_INCREF(Py_None);
1133 _resultobj = Py_None;
1134 }
1135 return _resultobj;
1136}
1137
1138static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1139 wxPyGridCellRenderer *src;
1140 wxGridCellRenderer *dest;
1141 src = (wxPyGridCellRenderer *) ptr;
1142 dest = (wxGridCellRenderer *) src;
1143 return (void *) dest;
1144}
1145
1146#define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1147static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1148 PyObject * _resultobj;
1149 wxPyGridCellRenderer * _result;
1150 char *_kwnames[] = { NULL };
1151 char _ptemp[128];
1152
1153 self = self;
1154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1155 return NULL;
1156{
474c48f9 1157 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1158 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
f6bcfd97 1159
474c48f9 1160 wxPyEndAllowThreads(__tstate);
4dfaa61e 1161 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1162} if (_result) {
1163 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1164 _resultobj = Py_BuildValue("s",_ptemp);
1165 } else {
1166 Py_INCREF(Py_None);
1167 _resultobj = Py_None;
1168 }
1169 return _resultobj;
1170}
1171
0220cbc1
RD
1172#define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1173static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1174 PyObject * _resultobj;
1175 wxPyGridCellRenderer * _arg0;
1176 PyObject * _arg1;
1177 PyObject * _arg2;
1178 PyObject * _argo0 = 0;
1179 PyObject * _obj1 = 0;
1180 PyObject * _obj2 = 0;
1181 char *_kwnames[] = { "self","self","_class", NULL };
1182
1183 self = self;
0220cbc1 1184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
f6bcfd97
BP
1185 return NULL;
1186 if (_argo0) {
1187 if (_argo0 == Py_None) { _arg0 = NULL; }
1188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
0220cbc1 1189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
f6bcfd97
BP
1190 return NULL;
1191 }
1192 }
1193{
1194 _arg1 = _obj1;
1195}
1196{
1197 _arg2 = _obj2;
1198}
1199{
474c48f9 1200 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1201 wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2);
f6bcfd97 1202
474c48f9 1203 wxPyEndAllowThreads(__tstate);
4dfaa61e 1204 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1205} Py_INCREF(Py_None);
1206 _resultobj = Py_None;
1207 return _resultobj;
1208}
1209
1210#define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1211static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1212 PyObject * _resultobj;
1213 wxPyGridCellRenderer * _arg0;
1214 wxString * _arg1;
1215 PyObject * _argo0 = 0;
1216 PyObject * _obj1 = 0;
1217 char *_kwnames[] = { "self","params", NULL };
1218
1219 self = self;
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1221 return NULL;
1222 if (_argo0) {
1223 if (_argo0 == Py_None) { _arg0 = NULL; }
1224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1226 return NULL;
1227 }
1228 }
1229{
c8bc7bb8
RD
1230 _arg1 = wxString_in_helper(_obj1);
1231 if (_arg1 == NULL)
2cd2fac8 1232 return NULL;
f6bcfd97
BP
1233}
1234{
474c48f9 1235 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1236 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
f6bcfd97 1237
474c48f9 1238 wxPyEndAllowThreads(__tstate);
4dfaa61e 1239 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1240} Py_INCREF(Py_None);
1241 _resultobj = Py_None;
1242{
1243 if (_obj1)
1244 delete _arg1;
1245}
1246 return _resultobj;
1247}
1248
1249static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1250 wxGridCellStringRenderer *src;
1251 wxGridCellRenderer *dest;
1252 src = (wxGridCellStringRenderer *) ptr;
1253 dest = (wxGridCellRenderer *) src;
1254 return (void *) dest;
1255}
1256
1257#define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1258static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1259 PyObject * _resultobj;
1260 wxGridCellStringRenderer * _result;
1261 char *_kwnames[] = { NULL };
1262 char _ptemp[128];
1263
1264 self = self;
1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1266 return NULL;
1267{
474c48f9 1268 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1269 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
f6bcfd97 1270
474c48f9 1271 wxPyEndAllowThreads(__tstate);
4dfaa61e 1272 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1273} if (_result) {
1274 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1275 _resultobj = Py_BuildValue("s",_ptemp);
1276 } else {
1277 Py_INCREF(Py_None);
1278 _resultobj = Py_None;
1279 }
1280 return _resultobj;
1281}
1282
1283static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1284 wxGridCellNumberRenderer *src;
1285 wxGridCellStringRenderer *dest;
1286 src = (wxGridCellNumberRenderer *) ptr;
1287 dest = (wxGridCellStringRenderer *) src;
1288 return (void *) dest;
1289}
1290
1291static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1292 wxGridCellNumberRenderer *src;
1293 wxGridCellRenderer *dest;
1294 src = (wxGridCellNumberRenderer *) ptr;
1295 dest = (wxGridCellRenderer *) src;
1296 return (void *) dest;
1297}
1298
1299#define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1300static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1301 PyObject * _resultobj;
1302 wxGridCellNumberRenderer * _result;
1303 char *_kwnames[] = { NULL };
1304 char _ptemp[128];
1305
1306 self = self;
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1308 return NULL;
1309{
474c48f9 1310 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1311 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
f6bcfd97 1312
474c48f9 1313 wxPyEndAllowThreads(__tstate);
4dfaa61e 1314 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1315} if (_result) {
1316 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1317 _resultobj = Py_BuildValue("s",_ptemp);
1318 } else {
1319 Py_INCREF(Py_None);
1320 _resultobj = Py_None;
1321 }
1322 return _resultobj;
1323}
1324
1325static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1326 wxGridCellFloatRenderer *src;
1327 wxGridCellStringRenderer *dest;
1328 src = (wxGridCellFloatRenderer *) ptr;
1329 dest = (wxGridCellStringRenderer *) src;
1330 return (void *) dest;
1331}
1332
1333static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1334 wxGridCellFloatRenderer *src;
1335 wxGridCellRenderer *dest;
1336 src = (wxGridCellFloatRenderer *) ptr;
1337 dest = (wxGridCellRenderer *) src;
1338 return (void *) dest;
1339}
1340
1341#define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1342static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1343 PyObject * _resultobj;
1344 wxGridCellFloatRenderer * _result;
1345 int _arg0 = (int ) -1;
1346 int _arg1 = (int ) -1;
1347 char *_kwnames[] = { "width","precision", NULL };
1348 char _ptemp[128];
1349
1350 self = self;
1351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1352 return NULL;
1353{
474c48f9 1354 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1355 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
f6bcfd97 1356
474c48f9 1357 wxPyEndAllowThreads(__tstate);
4dfaa61e 1358 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1359} if (_result) {
1360 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1361 _resultobj = Py_BuildValue("s",_ptemp);
1362 } else {
1363 Py_INCREF(Py_None);
1364 _resultobj = Py_None;
1365 }
1366 return _resultobj;
1367}
1368
1369#define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1370static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject * _resultobj;
1372 int _result;
1373 wxGridCellFloatRenderer * _arg0;
1374 PyObject * _argo0 = 0;
1375 char *_kwnames[] = { "self", NULL };
1376
1377 self = self;
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1379 return NULL;
1380 if (_argo0) {
1381 if (_argo0 == Py_None) { _arg0 = NULL; }
1382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1384 return NULL;
1385 }
1386 }
1387{
474c48f9 1388 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1389 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
f6bcfd97 1390
474c48f9 1391 wxPyEndAllowThreads(__tstate);
4dfaa61e 1392 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1393} _resultobj = Py_BuildValue("i",_result);
1394 return _resultobj;
1395}
1396
1397#define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1398static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1399 PyObject * _resultobj;
1400 wxGridCellFloatRenderer * _arg0;
1401 int _arg1;
1402 PyObject * _argo0 = 0;
1403 char *_kwnames[] = { "self","width", NULL };
1404
1405 self = self;
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1407 return NULL;
1408 if (_argo0) {
1409 if (_argo0 == Py_None) { _arg0 = NULL; }
1410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1412 return NULL;
1413 }
1414 }
1415{
474c48f9 1416 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1417 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
f6bcfd97 1418
474c48f9 1419 wxPyEndAllowThreads(__tstate);
4dfaa61e 1420 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1421} Py_INCREF(Py_None);
1422 _resultobj = Py_None;
1423 return _resultobj;
1424}
1425
1426#define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1427static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject * _resultobj;
1429 int _result;
1430 wxGridCellFloatRenderer * _arg0;
1431 PyObject * _argo0 = 0;
1432 char *_kwnames[] = { "self", NULL };
1433
1434 self = self;
1435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1436 return NULL;
1437 if (_argo0) {
1438 if (_argo0 == Py_None) { _arg0 = NULL; }
1439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1441 return NULL;
1442 }
1443 }
1444{
474c48f9 1445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1446 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
f6bcfd97 1447
474c48f9 1448 wxPyEndAllowThreads(__tstate);
4dfaa61e 1449 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1450} _resultobj = Py_BuildValue("i",_result);
1451 return _resultobj;
1452}
1453
1454#define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1455static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1456 PyObject * _resultobj;
1457 wxGridCellFloatRenderer * _arg0;
1458 int _arg1;
1459 PyObject * _argo0 = 0;
1460 char *_kwnames[] = { "self","precision", NULL };
1461
1462 self = self;
1463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1464 return NULL;
1465 if (_argo0) {
1466 if (_argo0 == Py_None) { _arg0 = NULL; }
1467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1469 return NULL;
1470 }
1471 }
1472{
474c48f9 1473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1474 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
f6bcfd97 1475
474c48f9 1476 wxPyEndAllowThreads(__tstate);
4dfaa61e 1477 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1478} Py_INCREF(Py_None);
1479 _resultobj = Py_None;
1480 return _resultobj;
1481}
1482
1483static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1484 wxGridCellBoolRenderer *src;
1485 wxGridCellRenderer *dest;
1486 src = (wxGridCellBoolRenderer *) ptr;
1487 dest = (wxGridCellRenderer *) src;
1488 return (void *) dest;
1489}
1490
1491#define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1492static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject * _resultobj;
1494 wxGridCellBoolRenderer * _result;
1495 char *_kwnames[] = { NULL };
1496 char _ptemp[128];
1497
1498 self = self;
1499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1500 return NULL;
1501{
474c48f9 1502 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1503 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
f6bcfd97 1504
474c48f9 1505 wxPyEndAllowThreads(__tstate);
4dfaa61e 1506 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1507} if (_result) {
1508 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1509 _resultobj = Py_BuildValue("s",_ptemp);
1510 } else {
1511 Py_INCREF(Py_None);
1512 _resultobj = Py_None;
1513 }
1514 return _resultobj;
1515}
1516
059a841c
RD
1517static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) {
1518 wxGridCellDateTimeRenderer *src;
1519 wxGridCellStringRenderer *dest;
1520 src = (wxGridCellDateTimeRenderer *) ptr;
1521 dest = (wxGridCellStringRenderer *) src;
1522 return (void *) dest;
1523}
1524
1525static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) {
1526 wxGridCellDateTimeRenderer *src;
1527 wxGridCellRenderer *dest;
1528 src = (wxGridCellDateTimeRenderer *) ptr;
1529 dest = (wxGridCellRenderer *) src;
1530 return (void *) dest;
1531}
1532
1533#define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1534static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1535 PyObject * _resultobj;
1536 wxGridCellDateTimeRenderer * _result;
1537 wxString * _arg0 = (wxString *) &"%c";
1538 wxString * _arg1 = (wxString *) &"%c";
1539 PyObject * _obj0 = 0;
1540 PyObject * _obj1 = 0;
1541 char *_kwnames[] = { "outformat","informat", NULL };
1542 char _ptemp[128];
1543
1544 self = self;
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1))
1546 return NULL;
1547 if (_obj0)
1548{
c8bc7bb8
RD
1549 _arg0 = wxString_in_helper(_obj0);
1550 if (_arg0 == NULL)
059a841c 1551 return NULL;
059a841c
RD
1552}
1553 if (_obj1)
1554{
c8bc7bb8
RD
1555 _arg1 = wxString_in_helper(_obj1);
1556 if (_arg1 == NULL)
059a841c 1557 return NULL;
059a841c
RD
1558}
1559{
474c48f9 1560 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1561 _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1);
059a841c 1562
474c48f9 1563 wxPyEndAllowThreads(__tstate);
059a841c
RD
1564 if (PyErr_Occurred()) return NULL;
1565} if (_result) {
1566 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p");
1567 _resultobj = Py_BuildValue("s",_ptemp);
1568 } else {
1569 Py_INCREF(Py_None);
1570 _resultobj = Py_None;
1571 }
1572{
1573 if (_obj0)
1574 delete _arg0;
1575}
1576{
1577 if (_obj1)
1578 delete _arg1;
1579}
1580 return _resultobj;
1581}
1582
1583static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) {
1584 wxGridCellEnumRenderer *src;
1585 wxGridCellStringRenderer *dest;
1586 src = (wxGridCellEnumRenderer *) ptr;
1587 dest = (wxGridCellStringRenderer *) src;
1588 return (void *) dest;
1589}
1590
1591static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) {
1592 wxGridCellEnumRenderer *src;
1593 wxGridCellRenderer *dest;
1594 src = (wxGridCellEnumRenderer *) ptr;
1595 dest = (wxGridCellRenderer *) src;
1596 return (void *) dest;
1597}
1598
1599#define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1600static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1601 PyObject * _resultobj;
1602 wxGridCellEnumRenderer * _result;
1603 wxString * _arg0 = (wxString *) &"";
1604 PyObject * _obj0 = 0;
1605 char *_kwnames[] = { "choices", NULL };
1606 char _ptemp[128];
1607
1608 self = self;
1609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0))
1610 return NULL;
1611 if (_obj0)
1612{
1613 _arg0 = wxString_LIST_helper(_obj0);
1614 if (_arg0 == NULL) {
1615 return NULL;
1616 }
1617}
1618{
474c48f9 1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1620 _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0);
059a841c 1621
474c48f9 1622 wxPyEndAllowThreads(__tstate);
059a841c
RD
1623 if (PyErr_Occurred()) return NULL;
1624} if (_result) {
1625 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p");
1626 _resultobj = Py_BuildValue("s",_ptemp);
1627 } else {
1628 Py_INCREF(Py_None);
1629 _resultobj = Py_None;
1630 }
1631{
1632 delete [] _arg0;
1633}
1634 return _resultobj;
1635}
1636
1637static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) {
1638 wxGridCellAutoWrapStringRenderer *src;
1639 wxGridCellStringRenderer *dest;
1640 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1641 dest = (wxGridCellStringRenderer *) src;
1642 return (void *) dest;
1643}
1644
1645static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) {
1646 wxGridCellAutoWrapStringRenderer *src;
1647 wxGridCellRenderer *dest;
1648 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1649 dest = (wxGridCellRenderer *) src;
1650 return (void *) dest;
1651}
1652
1653#define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1654static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1655 PyObject * _resultobj;
1656 wxGridCellAutoWrapStringRenderer * _result;
1657 char *_kwnames[] = { NULL };
1658 char _ptemp[128];
1659
1660 self = self;
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames))
1662 return NULL;
1663{
474c48f9 1664 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1665 _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer();
059a841c 1666
474c48f9 1667 wxPyEndAllowThreads(__tstate);
059a841c
RD
1668 if (PyErr_Occurred()) return NULL;
1669} if (_result) {
1670 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p");
1671 _resultobj = Py_BuildValue("s",_ptemp);
1672 } else {
1673 Py_INCREF(Py_None);
1674 _resultobj = Py_None;
1675 }
1676 return _resultobj;
1677}
1678
f6bcfd97
BP
1679#define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1680static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject * _resultobj;
1682 bool _result;
1683 wxGridCellEditor * _arg0;
1684 PyObject * _argo0 = 0;
1685 char *_kwnames[] = { "self", NULL };
1686
1687 self = self;
1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1689 return NULL;
1690 if (_argo0) {
1691 if (_argo0 == Py_None) { _arg0 = NULL; }
1692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1694 return NULL;
1695 }
1696 }
1697{
474c48f9 1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1699 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
f6bcfd97 1700
474c48f9 1701 wxPyEndAllowThreads(__tstate);
4dfaa61e 1702 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1703} _resultobj = Py_BuildValue("i",_result);
1704 return _resultobj;
1705}
1706
1707#define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1708static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject * _resultobj;
1710 wxControl * _result;
1711 wxGridCellEditor * _arg0;
1712 PyObject * _argo0 = 0;
1713 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
1714
1715 self = self;
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1717 return NULL;
1718 if (_argo0) {
1719 if (_argo0 == Py_None) { _arg0 = NULL; }
1720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1722 return NULL;
1723 }
1724 }
1725{
474c48f9 1726 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1727 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
f6bcfd97 1728
474c48f9 1729 wxPyEndAllowThreads(__tstate);
4dfaa61e 1730 if (PyErr_Occurred()) return NULL;
9df61a29 1731}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
1732 return _resultobj;
1733}
1734
1735#define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1736static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject * _resultobj;
1738 wxGridCellEditor * _arg0;
1739 wxControl * _arg1;
1740 PyObject * _argo0 = 0;
1741 PyObject * _argo1 = 0;
1742 char *_kwnames[] = { "self","control", NULL };
1743
1744 self = self;
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1746 return NULL;
1747 if (_argo0) {
1748 if (_argo0 == Py_None) { _arg0 = NULL; }
1749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1751 return NULL;
1752 }
1753 }
1754 if (_argo1) {
1755 if (_argo1 == Py_None) { _arg1 = NULL; }
1756 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1757 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1758 return NULL;
1759 }
1760 }
1761{
474c48f9 1762 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1763 wxGridCellEditor_SetControl(_arg0,_arg1);
f6bcfd97 1764
474c48f9 1765 wxPyEndAllowThreads(__tstate);
4dfaa61e 1766 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1767} Py_INCREF(Py_None);
1768 _resultobj = Py_None;
1769 return _resultobj;
1770}
1771
1772#define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1773static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1774 PyObject * _resultobj;
1775 wxGridCellEditor * _arg0;
1776 wxString * _arg1;
1777 PyObject * _argo0 = 0;
1778 PyObject * _obj1 = 0;
1779 char *_kwnames[] = { "self","params", NULL };
1780
1781 self = self;
1782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1783 return NULL;
1784 if (_argo0) {
1785 if (_argo0 == Py_None) { _arg0 = NULL; }
1786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1788 return NULL;
1789 }
1790 }
1791{
c8bc7bb8
RD
1792 _arg1 = wxString_in_helper(_obj1);
1793 if (_arg1 == NULL)
2cd2fac8 1794 return NULL;
f6bcfd97
BP
1795}
1796{
474c48f9 1797 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1798 wxGridCellEditor_SetParameters(_arg0,*_arg1);
f6bcfd97 1799
474c48f9 1800 wxPyEndAllowThreads(__tstate);
4dfaa61e 1801 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1802} Py_INCREF(Py_None);
1803 _resultobj = Py_None;
1804{
1805 if (_obj1)
1806 delete _arg1;
1807}
1808 return _resultobj;
1809}
1810
1811#define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1812static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1813 PyObject * _resultobj;
1814 wxGridCellEditor * _arg0;
1815 PyObject * _argo0 = 0;
1816 char *_kwnames[] = { "self", NULL };
1817
1818 self = self;
1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1820 return NULL;
1821 if (_argo0) {
1822 if (_argo0 == Py_None) { _arg0 = NULL; }
1823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1825 return NULL;
1826 }
1827 }
1828{
474c48f9 1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1830 wxGridCellEditor_IncRef(_arg0);
f6bcfd97 1831
474c48f9 1832 wxPyEndAllowThreads(__tstate);
4dfaa61e 1833 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1834} Py_INCREF(Py_None);
1835 _resultobj = Py_None;
1836 return _resultobj;
1837}
1838
1839#define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1840static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1841 PyObject * _resultobj;
1842 wxGridCellEditor * _arg0;
1843 PyObject * _argo0 = 0;
1844 char *_kwnames[] = { "self", NULL };
1845
1846 self = self;
1847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1848 return NULL;
1849 if (_argo0) {
1850 if (_argo0 == Py_None) { _arg0 = NULL; }
1851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1853 return NULL;
1854 }
1855 }
1856{
474c48f9 1857 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1858 wxGridCellEditor_DecRef(_arg0);
f6bcfd97 1859
474c48f9 1860 wxPyEndAllowThreads(__tstate);
4dfaa61e 1861 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1862} Py_INCREF(Py_None);
1863 _resultobj = Py_None;
1864 return _resultobj;
1865}
1866
1867#define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1868static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject * _resultobj;
1870 wxGridCellEditor * _arg0;
1871 wxWindow * _arg1;
1872 wxWindowID _arg2;
1873 wxEvtHandler * _arg3;
1874 PyObject * _argo0 = 0;
1875 PyObject * _argo1 = 0;
1876 PyObject * _argo3 = 0;
1877 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1878
1879 self = self;
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
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_Create. Expected _wxGridCellEditor_p.");
1886 return NULL;
1887 }
1888 }
1889 if (_argo1) {
1890 if (_argo1 == Py_None) { _arg1 = NULL; }
1891 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1893 return NULL;
1894 }
1895 }
1896 if (_argo3) {
1897 if (_argo3 == Py_None) { _arg3 = NULL; }
1898 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1899 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1900 return NULL;
1901 }
1902 }
1903{
474c48f9 1904 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1905 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 1906
474c48f9 1907 wxPyEndAllowThreads(__tstate);
4dfaa61e 1908 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1909} Py_INCREF(Py_None);
1910 _resultobj = Py_None;
1911 return _resultobj;
1912}
1913
1914#define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1915static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1916 PyObject * _resultobj;
1917 wxGridCellEditor * _arg0;
1918 int _arg1;
1919 int _arg2;
1920 wxGrid * _arg3;
1921 PyObject * _argo0 = 0;
1922 PyObject * _argo3 = 0;
1923 char *_kwnames[] = { "self","row","col","grid", NULL };
1924
1925 self = self;
1926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1927 return NULL;
1928 if (_argo0) {
1929 if (_argo0 == Py_None) { _arg0 = NULL; }
1930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1932 return NULL;
1933 }
1934 }
1935 if (_argo3) {
1936 if (_argo3 == Py_None) { _arg3 = NULL; }
1937 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1938 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1939 return NULL;
1940 }
1941 }
1942{
474c48f9 1943 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1944 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 1945
474c48f9 1946 wxPyEndAllowThreads(__tstate);
4dfaa61e 1947 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1948} Py_INCREF(Py_None);
1949 _resultobj = Py_None;
1950 return _resultobj;
1951}
1952
1953#define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1954static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1955 PyObject * _resultobj;
1956 bool _result;
1957 wxGridCellEditor * _arg0;
1958 int _arg1;
1959 int _arg2;
1960 wxGrid * _arg3;
1961 PyObject * _argo0 = 0;
1962 PyObject * _argo3 = 0;
1963 char *_kwnames[] = { "self","row","col","grid", NULL };
1964
1965 self = self;
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1967 return NULL;
1968 if (_argo0) {
1969 if (_argo0 == Py_None) { _arg0 = NULL; }
1970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1972 return NULL;
1973 }
1974 }
1975 if (_argo3) {
1976 if (_argo3 == Py_None) { _arg3 = NULL; }
1977 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1978 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1979 return NULL;
1980 }
1981 }
1982{
474c48f9 1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1984 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 1985
474c48f9 1986 wxPyEndAllowThreads(__tstate);
4dfaa61e 1987 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1988} _resultobj = Py_BuildValue("i",_result);
1989 return _resultobj;
1990}
1991
1992#define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1993static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1994 PyObject * _resultobj;
1995 wxGridCellEditor * _arg0;
1996 PyObject * _argo0 = 0;
1997 char *_kwnames[] = { "self", NULL };
1998
1999 self = self;
2000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
2001 return NULL;
2002 if (_argo0) {
2003 if (_argo0 == Py_None) { _arg0 = NULL; }
2004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2006 return NULL;
2007 }
2008 }
2009{
474c48f9 2010 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2011 wxGridCellEditor_Reset(_arg0);
f6bcfd97 2012
474c48f9 2013 wxPyEndAllowThreads(__tstate);
4dfaa61e 2014 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2015} Py_INCREF(Py_None);
2016 _resultobj = Py_None;
2017 return _resultobj;
2018}
2019
2020#define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2021static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2022 PyObject * _resultobj;
2023 wxGridCellEditor * _result;
2024 wxGridCellEditor * _arg0;
2025 PyObject * _argo0 = 0;
2026 char *_kwnames[] = { "self", NULL };
2027 char _ptemp[128];
2028
2029 self = self;
2030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
2031 return NULL;
2032 if (_argo0) {
2033 if (_argo0 == Py_None) { _arg0 = NULL; }
2034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2036 return NULL;
2037 }
2038 }
2039{
474c48f9 2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2041 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
f6bcfd97 2042
474c48f9 2043 wxPyEndAllowThreads(__tstate);
4dfaa61e 2044 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2045} if (_result) {
2046 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
2047 _resultobj = Py_BuildValue("s",_ptemp);
2048 } else {
2049 Py_INCREF(Py_None);
2050 _resultobj = Py_None;
2051 }
2052 return _resultobj;
2053}
2054
2055#define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2056static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2057 PyObject * _resultobj;
2058 wxGridCellEditor * _arg0;
2059 wxRect * _arg1;
2060 PyObject * _argo0 = 0;
2061 wxRect temp;
2062 PyObject * _obj1 = 0;
2063 char *_kwnames[] = { "self","rect", NULL };
2064
2065 self = self;
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
2067 return NULL;
2068 if (_argo0) {
2069 if (_argo0 == Py_None) { _arg0 = NULL; }
2070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2072 return NULL;
2073 }
2074 }
2075{
2076 _arg1 = &temp;
2077 if (! wxRect_helper(_obj1, &_arg1))
2078 return NULL;
2079}
2080{
474c48f9 2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2082 wxGridCellEditor_SetSize(_arg0,*_arg1);
f6bcfd97 2083
474c48f9 2084 wxPyEndAllowThreads(__tstate);
4dfaa61e 2085 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2086} Py_INCREF(Py_None);
2087 _resultobj = Py_None;
2088 return _resultobj;
2089}
2090
2091#define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2092static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2093 PyObject * _resultobj;
2094 wxGridCellEditor * _arg0;
2095 bool _arg1;
2096 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2097 PyObject * _argo0 = 0;
2098 int tempbool1;
2099 PyObject * _argo2 = 0;
2100 char *_kwnames[] = { "self","show","attr", NULL };
2101
2102 self = self;
2103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2104 return NULL;
2105 if (_argo0) {
2106 if (_argo0 == Py_None) { _arg0 = NULL; }
2107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2109 return NULL;
2110 }
2111 }
2112 _arg1 = (bool ) tempbool1;
2113 if (_argo2) {
2114 if (_argo2 == Py_None) { _arg2 = NULL; }
2115 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2116 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2117 return NULL;
2118 }
2119 }
2120{
474c48f9 2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2122 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
f6bcfd97 2123
474c48f9 2124 wxPyEndAllowThreads(__tstate);
4dfaa61e 2125 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2126} Py_INCREF(Py_None);
2127 _resultobj = Py_None;
2128 return _resultobj;
2129}
2130
2131#define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2132static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2133 PyObject * _resultobj;
2134 wxGridCellEditor * _arg0;
2135 wxRect * _arg1;
2136 wxGridCellAttr * _arg2;
2137 PyObject * _argo0 = 0;
2138 wxRect temp;
2139 PyObject * _obj1 = 0;
2140 PyObject * _argo2 = 0;
2141 char *_kwnames[] = { "self","rectCell","attr", NULL };
2142
2143 self = self;
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2145 return NULL;
2146 if (_argo0) {
2147 if (_argo0 == Py_None) { _arg0 = NULL; }
2148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2150 return NULL;
2151 }
2152 }
2153{
2154 _arg1 = &temp;
2155 if (! wxRect_helper(_obj1, &_arg1))
2156 return NULL;
2157}
2158 if (_argo2) {
2159 if (_argo2 == Py_None) { _arg2 = NULL; }
2160 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2161 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2162 return NULL;
2163 }
2164 }
2165{
474c48f9 2166 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2167 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
f6bcfd97 2168
474c48f9 2169 wxPyEndAllowThreads(__tstate);
4dfaa61e 2170 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2171} Py_INCREF(Py_None);
2172 _resultobj = Py_None;
2173 return _resultobj;
2174}
2175
2176#define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2177static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2178 PyObject * _resultobj;
2179 bool _result;
2180 wxGridCellEditor * _arg0;
2181 wxKeyEvent * _arg1;
2182 PyObject * _argo0 = 0;
2183 PyObject * _argo1 = 0;
2184 char *_kwnames[] = { "self","event", NULL };
2185
2186 self = self;
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2188 return NULL;
2189 if (_argo0) {
2190 if (_argo0 == Py_None) { _arg0 = NULL; }
2191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2193 return NULL;
2194 }
2195 }
2196 if (_argo1) {
2197 if (_argo1 == Py_None) { _arg1 = NULL; }
2198 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2199 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2200 return NULL;
2201 }
2202 }
2203{
474c48f9 2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2205 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
f6bcfd97 2206
474c48f9 2207 wxPyEndAllowThreads(__tstate);
4dfaa61e 2208 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2209} _resultobj = Py_BuildValue("i",_result);
2210 return _resultobj;
2211}
2212
2213#define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2214static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject * _resultobj;
2216 wxGridCellEditor * _arg0;
2217 wxKeyEvent * _arg1;
2218 PyObject * _argo0 = 0;
2219 PyObject * _argo1 = 0;
2220 char *_kwnames[] = { "self","event", NULL };
2221
2222 self = self;
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2224 return NULL;
2225 if (_argo0) {
2226 if (_argo0 == Py_None) { _arg0 = NULL; }
2227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2229 return NULL;
2230 }
2231 }
2232 if (_argo1) {
2233 if (_argo1 == Py_None) { _arg1 = NULL; }
2234 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2235 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2236 return NULL;
2237 }
2238 }
2239{
474c48f9 2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2241 wxGridCellEditor_StartingKey(_arg0,*_arg1);
f6bcfd97 2242
474c48f9 2243 wxPyEndAllowThreads(__tstate);
4dfaa61e 2244 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2245} Py_INCREF(Py_None);
2246 _resultobj = Py_None;
2247 return _resultobj;
2248}
2249
2250#define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2251static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2252 PyObject * _resultobj;
2253 wxGridCellEditor * _arg0;
2254 PyObject * _argo0 = 0;
2255 char *_kwnames[] = { "self", NULL };
2256
2257 self = self;
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2259 return NULL;
2260 if (_argo0) {
2261 if (_argo0 == Py_None) { _arg0 = NULL; }
2262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2264 return NULL;
2265 }
2266 }
2267{
474c48f9 2268 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2269 wxGridCellEditor_StartingClick(_arg0);
f6bcfd97 2270
474c48f9 2271 wxPyEndAllowThreads(__tstate);
4dfaa61e 2272 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2273} Py_INCREF(Py_None);
2274 _resultobj = Py_None;
2275 return _resultobj;
2276}
2277
2278#define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2279static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject * _resultobj;
2281 wxGridCellEditor * _arg0;
2282 wxKeyEvent * _arg1;
2283 PyObject * _argo0 = 0;
2284 PyObject * _argo1 = 0;
2285 char *_kwnames[] = { "self","event", NULL };
2286
2287 self = self;
2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2289 return NULL;
2290 if (_argo0) {
2291 if (_argo0 == Py_None) { _arg0 = NULL; }
2292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2294 return NULL;
2295 }
2296 }
2297 if (_argo1) {
2298 if (_argo1 == Py_None) { _arg1 = NULL; }
2299 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2300 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2301 return NULL;
2302 }
2303 }
2304{
474c48f9 2305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2306 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
f6bcfd97 2307
474c48f9 2308 wxPyEndAllowThreads(__tstate);
4dfaa61e 2309 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2310} Py_INCREF(Py_None);
2311 _resultobj = Py_None;
2312 return _resultobj;
2313}
2314
2315#define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2316static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject * _resultobj;
2318 wxGridCellEditor * _arg0;
2319 PyObject * _argo0 = 0;
2320 char *_kwnames[] = { "self", NULL };
2321
2322 self = self;
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2324 return NULL;
2325 if (_argo0) {
2326 if (_argo0 == Py_None) { _arg0 = NULL; }
2327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2329 return NULL;
2330 }
2331 }
2332{
474c48f9 2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2334 wxGridCellEditor_Destroy(_arg0);
f6bcfd97 2335
474c48f9 2336 wxPyEndAllowThreads(__tstate);
4dfaa61e 2337 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2338} Py_INCREF(Py_None);
2339 _resultobj = Py_None;
2340 return _resultobj;
2341}
2342
2343static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2344 wxPyGridCellEditor *src;
2345 wxGridCellEditor *dest;
2346 src = (wxPyGridCellEditor *) ptr;
2347 dest = (wxGridCellEditor *) src;
2348 return (void *) dest;
2349}
2350
2351#define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2352static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2353 PyObject * _resultobj;
2354 wxPyGridCellEditor * _result;
2355 char *_kwnames[] = { NULL };
2356 char _ptemp[128];
2357
2358 self = self;
2359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2360 return NULL;
2361{
474c48f9 2362 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2363 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
f6bcfd97 2364
474c48f9 2365 wxPyEndAllowThreads(__tstate);
4dfaa61e 2366 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2367} if (_result) {
2368 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2369 _resultobj = Py_BuildValue("s",_ptemp);
2370 } else {
2371 Py_INCREF(Py_None);
2372 _resultobj = Py_None;
2373 }
2374 return _resultobj;
2375}
2376
0220cbc1
RD
2377#define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2378static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2379 PyObject * _resultobj;
2380 wxPyGridCellEditor * _arg0;
2381 PyObject * _arg1;
2382 PyObject * _arg2;
2383 PyObject * _argo0 = 0;
2384 PyObject * _obj1 = 0;
2385 PyObject * _obj2 = 0;
2386 char *_kwnames[] = { "self","self","_class", NULL };
2387
2388 self = self;
0220cbc1 2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
f6bcfd97
BP
2390 return NULL;
2391 if (_argo0) {
2392 if (_argo0 == Py_None) { _arg0 = NULL; }
2393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
0220cbc1 2394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
f6bcfd97
BP
2395 return NULL;
2396 }
2397 }
2398{
2399 _arg1 = _obj1;
2400}
2401{
2402 _arg2 = _obj2;
2403}
2404{
474c48f9 2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2406 wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2);
f6bcfd97 2407
474c48f9 2408 wxPyEndAllowThreads(__tstate);
4dfaa61e 2409 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2410} Py_INCREF(Py_None);
2411 _resultobj = Py_None;
2412 return _resultobj;
2413}
2414
2415#define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2416static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2417 PyObject * _resultobj;
2418 wxPyGridCellEditor * _arg0;
2419 wxRect * _arg1;
2420 PyObject * _argo0 = 0;
2421 wxRect temp;
2422 PyObject * _obj1 = 0;
2423 char *_kwnames[] = { "self","rect", NULL };
2424
2425 self = self;
2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2427 return NULL;
2428 if (_argo0) {
2429 if (_argo0 == Py_None) { _arg0 = NULL; }
2430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2432 return NULL;
2433 }
2434 }
2435{
2436 _arg1 = &temp;
2437 if (! wxRect_helper(_obj1, &_arg1))
2438 return NULL;
2439}
2440{
474c48f9 2441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2442 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
f6bcfd97 2443
474c48f9 2444 wxPyEndAllowThreads(__tstate);
4dfaa61e 2445 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2446} Py_INCREF(Py_None);
2447 _resultobj = Py_None;
2448 return _resultobj;
2449}
2450
2451#define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2452static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2453 PyObject * _resultobj;
2454 wxPyGridCellEditor * _arg0;
2455 bool _arg1;
2456 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2457 PyObject * _argo0 = 0;
2458 int tempbool1;
2459 PyObject * _argo2 = 0;
2460 char *_kwnames[] = { "self","show","attr", NULL };
2461
2462 self = self;
2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2464 return NULL;
2465 if (_argo0) {
2466 if (_argo0 == Py_None) { _arg0 = NULL; }
2467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2469 return NULL;
2470 }
2471 }
2472 _arg1 = (bool ) tempbool1;
2473 if (_argo2) {
2474 if (_argo2 == Py_None) { _arg2 = NULL; }
2475 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2476 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2477 return NULL;
2478 }
2479 }
2480{
474c48f9 2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2482 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
f6bcfd97 2483
474c48f9 2484 wxPyEndAllowThreads(__tstate);
4dfaa61e 2485 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2486} Py_INCREF(Py_None);
2487 _resultobj = Py_None;
2488 return _resultobj;
2489}
2490
2491#define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2492static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2493 PyObject * _resultobj;
2494 wxPyGridCellEditor * _arg0;
2495 wxRect * _arg1;
2496 wxGridCellAttr * _arg2;
2497 PyObject * _argo0 = 0;
2498 wxRect temp;
2499 PyObject * _obj1 = 0;
2500 PyObject * _argo2 = 0;
2501 char *_kwnames[] = { "self","rectCell","attr", NULL };
2502
2503 self = self;
2504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2505 return NULL;
2506 if (_argo0) {
2507 if (_argo0 == Py_None) { _arg0 = NULL; }
2508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2510 return NULL;
2511 }
2512 }
2513{
2514 _arg1 = &temp;
2515 if (! wxRect_helper(_obj1, &_arg1))
2516 return NULL;
2517}
2518 if (_argo2) {
2519 if (_argo2 == Py_None) { _arg2 = NULL; }
2520 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2521 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2522 return NULL;
2523 }
2524 }
2525{
474c48f9 2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2527 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
f6bcfd97 2528
474c48f9 2529 wxPyEndAllowThreads(__tstate);
4dfaa61e 2530 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2531} Py_INCREF(Py_None);
2532 _resultobj = Py_None;
2533 return _resultobj;
2534}
2535
2cd2fac8
RD
2536#define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2537static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2538 PyObject * _resultobj;
2539 wxPyGridCellEditor * _arg0;
2540 wxKeyEvent * _arg1;
2541 PyObject * _argo0 = 0;
2542 PyObject * _argo1 = 0;
2543 char *_kwnames[] = { "self","event", NULL };
2544
2545 self = self;
2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2547 return NULL;
2548 if (_argo0) {
2549 if (_argo0 == Py_None) { _arg0 = NULL; }
2550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2552 return NULL;
2553 }
2554 }
2555 if (_argo1) {
2556 if (_argo1 == Py_None) { _arg1 = NULL; }
2557 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2558 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2559 return NULL;
2560 }
2561 }
2562{
474c48f9 2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2564 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2cd2fac8 2565
474c48f9 2566 wxPyEndAllowThreads(__tstate);
4dfaa61e 2567 if (PyErr_Occurred()) return NULL;
2cd2fac8
RD
2568} Py_INCREF(Py_None);
2569 _resultobj = Py_None;
2570 return _resultobj;
2571}
2572
f6bcfd97
BP
2573#define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2574static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2575 PyObject * _resultobj;
2576 wxPyGridCellEditor * _arg0;
2577 wxKeyEvent * _arg1;
2578 PyObject * _argo0 = 0;
2579 PyObject * _argo1 = 0;
2580 char *_kwnames[] = { "self","event", NULL };
2581
2582 self = self;
2583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2584 return NULL;
2585 if (_argo0) {
2586 if (_argo0 == Py_None) { _arg0 = NULL; }
2587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2589 return NULL;
2590 }
2591 }
2592 if (_argo1) {
2593 if (_argo1 == Py_None) { _arg1 = NULL; }
2594 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2596 return NULL;
2597 }
2598 }
2599{
474c48f9 2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2601 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
f6bcfd97 2602
474c48f9 2603 wxPyEndAllowThreads(__tstate);
4dfaa61e 2604 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2605} Py_INCREF(Py_None);
2606 _resultobj = Py_None;
2607 return _resultobj;
2608}
2609
2610#define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2611static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2612 PyObject * _resultobj;
2613 wxPyGridCellEditor * _arg0;
2614 PyObject * _argo0 = 0;
2615 char *_kwnames[] = { "self", NULL };
2616
2617 self = self;
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2619 return NULL;
2620 if (_argo0) {
2621 if (_argo0 == Py_None) { _arg0 = NULL; }
2622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2624 return NULL;
2625 }
2626 }
2627{
474c48f9 2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2629 wxPyGridCellEditor_base_StartingClick(_arg0);
f6bcfd97 2630
474c48f9 2631 wxPyEndAllowThreads(__tstate);
4dfaa61e 2632 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2633} Py_INCREF(Py_None);
2634 _resultobj = Py_None;
2635 return _resultobj;
2636}
2637
2638#define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2639static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2640 PyObject * _resultobj;
2641 wxPyGridCellEditor * _arg0;
2642 wxKeyEvent * _arg1;
2643 PyObject * _argo0 = 0;
2644 PyObject * _argo1 = 0;
2645 char *_kwnames[] = { "self","event", NULL };
2646
2647 self = self;
2648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2649 return NULL;
2650 if (_argo0) {
2651 if (_argo0 == Py_None) { _arg0 = NULL; }
2652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2654 return NULL;
2655 }
2656 }
2657 if (_argo1) {
2658 if (_argo1 == Py_None) { _arg1 = NULL; }
2659 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2660 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2661 return NULL;
2662 }
2663 }
2664{
474c48f9 2665 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2666 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
f6bcfd97 2667
474c48f9 2668 wxPyEndAllowThreads(__tstate);
4dfaa61e 2669 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2670} Py_INCREF(Py_None);
2671 _resultobj = Py_None;
2672 return _resultobj;
2673}
2674
2675#define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2676static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2677 PyObject * _resultobj;
2678 wxPyGridCellEditor * _arg0;
2679 PyObject * _argo0 = 0;
2680 char *_kwnames[] = { "self", NULL };
2681
2682 self = self;
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2684 return NULL;
2685 if (_argo0) {
2686 if (_argo0 == Py_None) { _arg0 = NULL; }
2687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2689 return NULL;
2690 }
2691 }
2692{
474c48f9 2693 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2694 wxPyGridCellEditor_base_Destroy(_arg0);
f6bcfd97 2695
474c48f9 2696 wxPyEndAllowThreads(__tstate);
4dfaa61e 2697 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2698} Py_INCREF(Py_None);
2699 _resultobj = Py_None;
2700 return _resultobj;
2701}
2702
2703#define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2704static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2705 PyObject * _resultobj;
2706 wxPyGridCellEditor * _arg0;
2707 wxString * _arg1;
2708 PyObject * _argo0 = 0;
2709 PyObject * _obj1 = 0;
2710 char *_kwnames[] = { "self","params", NULL };
2711
2712 self = self;
2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2714 return NULL;
2715 if (_argo0) {
2716 if (_argo0 == Py_None) { _arg0 = NULL; }
2717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2719 return NULL;
2720 }
2721 }
2722{
c8bc7bb8
RD
2723 _arg1 = wxString_in_helper(_obj1);
2724 if (_arg1 == NULL)
2cd2fac8 2725 return NULL;
f6bcfd97
BP
2726}
2727{
474c48f9 2728 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2729 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
f6bcfd97 2730
474c48f9 2731 wxPyEndAllowThreads(__tstate);
4dfaa61e 2732 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2733} Py_INCREF(Py_None);
2734 _resultobj = Py_None;
2735{
2736 if (_obj1)
2737 delete _arg1;
2738}
2739 return _resultobj;
2740}
2741
2742static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2743 wxGridCellTextEditor *src;
2744 wxGridCellEditor *dest;
2745 src = (wxGridCellTextEditor *) ptr;
2746 dest = (wxGridCellEditor *) src;
2747 return (void *) dest;
2748}
2749
2750#define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2751static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject * _resultobj;
2753 wxGridCellTextEditor * _result;
2754 char *_kwnames[] = { NULL };
2755 char _ptemp[128];
2756
2757 self = self;
2758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2759 return NULL;
2760{
474c48f9 2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2762 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
f6bcfd97 2763
474c48f9 2764 wxPyEndAllowThreads(__tstate);
4dfaa61e 2765 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2766} if (_result) {
2767 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2768 _resultobj = Py_BuildValue("s",_ptemp);
2769 } else {
2770 Py_INCREF(Py_None);
2771 _resultobj = Py_None;
2772 }
2773 return _resultobj;
2774}
2775
2776static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2777 wxGridCellNumberEditor *src;
2778 wxGridCellTextEditor *dest;
2779 src = (wxGridCellNumberEditor *) ptr;
2780 dest = (wxGridCellTextEditor *) src;
2781 return (void *) dest;
2782}
2783
2784static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2785 wxGridCellNumberEditor *src;
2786 wxGridCellEditor *dest;
2787 src = (wxGridCellNumberEditor *) ptr;
2788 dest = (wxGridCellEditor *) src;
2789 return (void *) dest;
2790}
2791
2792#define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2793static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject * _resultobj;
2795 wxGridCellNumberEditor * _result;
2796 int _arg0 = (int ) -1;
2797 int _arg1 = (int ) -1;
2798 char *_kwnames[] = { "min","max", NULL };
2799 char _ptemp[128];
2800
2801 self = self;
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2803 return NULL;
2804{
474c48f9 2805 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2806 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
f6bcfd97 2807
474c48f9 2808 wxPyEndAllowThreads(__tstate);
4dfaa61e 2809 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2810} if (_result) {
2811 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2812 _resultobj = Py_BuildValue("s",_ptemp);
2813 } else {
2814 Py_INCREF(Py_None);
2815 _resultobj = Py_None;
2816 }
2817 return _resultobj;
2818}
2819
2820static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2821 wxGridCellFloatEditor *src;
2822 wxGridCellTextEditor *dest;
2823 src = (wxGridCellFloatEditor *) ptr;
2824 dest = (wxGridCellTextEditor *) src;
2825 return (void *) dest;
2826}
2827
2828static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2829 wxGridCellFloatEditor *src;
2830 wxGridCellEditor *dest;
2831 src = (wxGridCellFloatEditor *) ptr;
2832 dest = (wxGridCellEditor *) src;
2833 return (void *) dest;
2834}
2835
2836#define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2837static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2838 PyObject * _resultobj;
2839 wxGridCellFloatEditor * _result;
2840 char *_kwnames[] = { NULL };
2841 char _ptemp[128];
2842
2843 self = self;
2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2845 return NULL;
2846{
474c48f9 2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2848 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
f6bcfd97 2849
474c48f9 2850 wxPyEndAllowThreads(__tstate);
4dfaa61e 2851 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2852} if (_result) {
2853 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2854 _resultobj = Py_BuildValue("s",_ptemp);
2855 } else {
2856 Py_INCREF(Py_None);
2857 _resultobj = Py_None;
2858 }
2859 return _resultobj;
2860}
2861
2862static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2863 wxGridCellBoolEditor *src;
2864 wxGridCellEditor *dest;
2865 src = (wxGridCellBoolEditor *) ptr;
2866 dest = (wxGridCellEditor *) src;
2867 return (void *) dest;
2868}
2869
2870#define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2871static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject * _resultobj;
2873 wxGridCellBoolEditor * _result;
2874 char *_kwnames[] = { NULL };
2875 char _ptemp[128];
2876
2877 self = self;
2878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2879 return NULL;
2880{
474c48f9 2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2882 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
f6bcfd97 2883
474c48f9 2884 wxPyEndAllowThreads(__tstate);
4dfaa61e 2885 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2886} if (_result) {
2887 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2888 _resultobj = Py_BuildValue("s",_ptemp);
2889 } else {
2890 Py_INCREF(Py_None);
2891 _resultobj = Py_None;
2892 }
2893 return _resultobj;
2894}
2895
2896static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2897 wxGridCellChoiceEditor *src;
2898 wxGridCellEditor *dest;
2899 src = (wxGridCellChoiceEditor *) ptr;
2900 dest = (wxGridCellEditor *) src;
2901 return (void *) dest;
2902}
2903
2904#define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2905static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2906 PyObject * _resultobj;
2907 wxGridCellChoiceEditor * _result;
2908 int _arg0 = (int ) 0;
2909 wxString * _arg1 = (wxString *) NULL;
2910 bool _arg2 = (bool ) FALSE;
2911 PyObject * _obj1 = 0;
2912 int tempbool2 = (int) FALSE;
2913 char *_kwnames[] = { "choices","allowOthers", NULL };
2914 char _ptemp[128];
2915
2916 self = self;
2917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2918 return NULL;
2919 if (_obj1)
2920{
2921 _arg1 = wxString_LIST_helper(_obj1);
2922 if (_arg1 == NULL) {
2923 return NULL;
2924 }
2925}
2926 _arg2 = (bool ) tempbool2;
2927{
2928 if (_obj1) {
2929 _arg0 = PyList_Size(_obj1);
2930 }
2931 else {
2932 _arg0 = 0;
2933 }
2934}
2935{
474c48f9 2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2937 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
f6bcfd97 2938
474c48f9 2939 wxPyEndAllowThreads(__tstate);
4dfaa61e 2940 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2941} if (_result) {
2942 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2943 _resultobj = Py_BuildValue("s",_ptemp);
2944 } else {
2945 Py_INCREF(Py_None);
2946 _resultobj = Py_None;
2947 }
2948{
2949 delete [] _arg1;
2950}
2951 return _resultobj;
2952}
2953
059a841c
RD
2954static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) {
2955 wxGridCellEnumEditor *src;
2956 wxGridCellChoiceEditor *dest;
2957 src = (wxGridCellEnumEditor *) ptr;
2958 dest = (wxGridCellChoiceEditor *) src;
2959 return (void *) dest;
2960}
2961
2962static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) {
2963 wxGridCellEnumEditor *src;
2964 wxGridCellEditor *dest;
2965 src = (wxGridCellEnumEditor *) ptr;
2966 dest = (wxGridCellEditor *) src;
2967 return (void *) dest;
2968}
2969
2970#define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
2971static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject * _resultobj;
2973 wxGridCellEnumEditor * _result;
2974 wxString * _arg0 = (wxString *) &"";
2975 PyObject * _obj0 = 0;
2976 char *_kwnames[] = { "choices", NULL };
2977 char _ptemp[128];
2978
2979 self = self;
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0))
2981 return NULL;
2982 if (_obj0)
2983{
2984 _arg0 = wxString_LIST_helper(_obj0);
2985 if (_arg0 == NULL) {
2986 return NULL;
2987 }
2988}
2989{
474c48f9 2990 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2991 _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0);
059a841c 2992
474c48f9 2993 wxPyEndAllowThreads(__tstate);
059a841c
RD
2994 if (PyErr_Occurred()) return NULL;
2995} if (_result) {
2996 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p");
2997 _resultobj = Py_BuildValue("s",_ptemp);
2998 } else {
2999 Py_INCREF(Py_None);
3000 _resultobj = Py_None;
3001 }
3002{
3003 delete [] _arg0;
3004}
3005 return _resultobj;
3006}
3007
3008static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) {
3009 wxGridCellAutoWrapStringEditor *src;
3010 wxGridCellTextEditor *dest;
3011 src = (wxGridCellAutoWrapStringEditor *) ptr;
3012 dest = (wxGridCellTextEditor *) src;
3013 return (void *) dest;
3014}
3015
3016static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) {
3017 wxGridCellAutoWrapStringEditor *src;
3018 wxGridCellEditor *dest;
3019 src = (wxGridCellAutoWrapStringEditor *) ptr;
3020 dest = (wxGridCellEditor *) src;
3021 return (void *) dest;
3022}
3023
3024#define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3025static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3026 PyObject * _resultobj;
3027 wxGridCellAutoWrapStringEditor * _result;
3028 char *_kwnames[] = { NULL };
3029 char _ptemp[128];
3030
3031 self = self;
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames))
3033 return NULL;
3034{
474c48f9 3035 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3036 _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor();
059a841c 3037
474c48f9 3038 wxPyEndAllowThreads(__tstate);
059a841c
RD
3039 if (PyErr_Occurred()) return NULL;
3040} if (_result) {
3041 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p");
3042 _resultobj = Py_BuildValue("s",_ptemp);
3043 } else {
3044 Py_INCREF(Py_None);
3045 _resultobj = Py_None;
3046 }
3047 return _resultobj;
3048}
3049
1893b029 3050#define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
f6bcfd97
BP
3051static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3052 PyObject * _resultobj;
3053 wxGridCellAttr * _result;
1893b029
RD
3054 wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL;
3055 PyObject * _argo0 = 0;
3056 char *_kwnames[] = { "attrDefault", NULL };
f6bcfd97
BP
3057 char _ptemp[128];
3058
3059 self = self;
1893b029 3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0))
f6bcfd97 3061 return NULL;
1893b029
RD
3062 if (_argo0) {
3063 if (_argo0 == Py_None) { _arg0 = NULL; }
3064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3066 return NULL;
3067 }
3068 }
f6bcfd97 3069{
474c48f9 3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3071 _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0);
f6bcfd97 3072
474c48f9 3073 wxPyEndAllowThreads(__tstate);
4dfaa61e 3074 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3075} if (_result) {
3076 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3077 _resultobj = Py_BuildValue("s",_ptemp);
3078 } else {
3079 Py_INCREF(Py_None);
3080 _resultobj = Py_None;
3081 }
3082 return _resultobj;
3083}
3084
3085#define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3086static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3087 PyObject * _resultobj;
3088 wxGridCellAttr * _result;
3089 wxGridCellAttr * _arg0;
3090 PyObject * _argo0 = 0;
3091 char *_kwnames[] = { "self", NULL };
3092 char _ptemp[128];
3093
3094 self = self;
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
3096 return NULL;
3097 if (_argo0) {
3098 if (_argo0 == Py_None) { _arg0 = NULL; }
3099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3101 return NULL;
3102 }
3103 }
3104{
474c48f9 3105 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3106 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
f6bcfd97 3107
474c48f9 3108 wxPyEndAllowThreads(__tstate);
4dfaa61e 3109 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3110} if (_result) {
3111 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3112 _resultobj = Py_BuildValue("s",_ptemp);
3113 } else {
3114 Py_INCREF(Py_None);
3115 _resultobj = Py_None;
3116 }
3117 return _resultobj;
3118}
3119
9df61a29
RD
3120#define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3121static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3122 PyObject * _resultobj;
3123 wxGridCellAttr * _arg0;
3124 wxGridCellAttr * _arg1;
3125 PyObject * _argo0 = 0;
3126 PyObject * _argo1 = 0;
3127 char *_kwnames[] = { "self","mergefrom", NULL };
3128
3129 self = self;
3130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
3131 return NULL;
3132 if (_argo0) {
3133 if (_argo0 == Py_None) { _arg0 = NULL; }
3134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3136 return NULL;
3137 }
3138 }
3139 if (_argo1) {
3140 if (_argo1 == Py_None) { _arg1 = NULL; }
3141 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3142 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3143 return NULL;
3144 }
3145 }
3146{
474c48f9 3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3148 wxGridCellAttr_MergeWith(_arg0,_arg1);
9df61a29 3149
474c48f9 3150 wxPyEndAllowThreads(__tstate);
4dfaa61e 3151 if (PyErr_Occurred()) return NULL;
9df61a29
RD
3152} Py_INCREF(Py_None);
3153 _resultobj = Py_None;
3154 return _resultobj;
3155}
3156
f6bcfd97
BP
3157#define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3158static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3159 PyObject * _resultobj;
3160 wxGridCellAttr * _arg0;
3161 PyObject * _argo0 = 0;
3162 char *_kwnames[] = { "self", NULL };
3163
3164 self = self;
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
3166 return NULL;
3167 if (_argo0) {
3168 if (_argo0 == Py_None) { _arg0 = NULL; }
3169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3171 return NULL;
3172 }
3173 }
3174{
474c48f9 3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3176 wxGridCellAttr_IncRef(_arg0);
f6bcfd97 3177
474c48f9 3178 wxPyEndAllowThreads(__tstate);
4dfaa61e 3179 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3180} Py_INCREF(Py_None);
3181 _resultobj = Py_None;
3182 return _resultobj;
3183}
3184
3185#define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3186static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3187 PyObject * _resultobj;
3188 wxGridCellAttr * _arg0;
3189 PyObject * _argo0 = 0;
3190 char *_kwnames[] = { "self", NULL };
3191
3192 self = self;
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
3194 return NULL;
3195 if (_argo0) {
3196 if (_argo0 == Py_None) { _arg0 = NULL; }
3197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3199 return NULL;
3200 }
3201 }
3202{
474c48f9 3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3204 wxGridCellAttr_DecRef(_arg0);
f6bcfd97 3205
474c48f9 3206 wxPyEndAllowThreads(__tstate);
4dfaa61e 3207 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3208} Py_INCREF(Py_None);
3209 _resultobj = Py_None;
3210 return _resultobj;
3211}
3212
3213#define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3214static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject * _resultobj;
3216 wxGridCellAttr * _arg0;
3217 wxColour * _arg1;
3218 PyObject * _argo0 = 0;
3219 wxColour temp;
3220 PyObject * _obj1 = 0;
3221 char *_kwnames[] = { "self","colText", NULL };
3222
3223 self = self;
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
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_SetTextColour. Expected _wxGridCellAttr_p.");
3230 return NULL;
3231 }
3232 }
3233{
3234 _arg1 = &temp;
3235 if (! wxColour_helper(_obj1, &_arg1))
3236 return NULL;
3237}
3238{
474c48f9 3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3240 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
f6bcfd97 3241
474c48f9 3242 wxPyEndAllowThreads(__tstate);
4dfaa61e 3243 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3244} Py_INCREF(Py_None);
3245 _resultobj = Py_None;
3246 return _resultobj;
3247}
3248
3249#define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3250static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject * _resultobj;
3252 wxGridCellAttr * _arg0;
3253 wxColour * _arg1;
3254 PyObject * _argo0 = 0;
3255 wxColour temp;
3256 PyObject * _obj1 = 0;
3257 char *_kwnames[] = { "self","colBack", NULL };
3258
3259 self = self;
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3261 return NULL;
3262 if (_argo0) {
3263 if (_argo0 == Py_None) { _arg0 = NULL; }
3264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3266 return NULL;
3267 }
3268 }
3269{
3270 _arg1 = &temp;
3271 if (! wxColour_helper(_obj1, &_arg1))
3272 return NULL;
3273}
3274{
474c48f9 3275 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3276 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
f6bcfd97 3277
474c48f9 3278 wxPyEndAllowThreads(__tstate);
4dfaa61e 3279 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3280} Py_INCREF(Py_None);
3281 _resultobj = Py_None;
3282 return _resultobj;
3283}
3284
3285#define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3286static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject * _resultobj;
3288 wxGridCellAttr * _arg0;
3289 wxFont * _arg1;
3290 PyObject * _argo0 = 0;
3291 PyObject * _argo1 = 0;
3292 char *_kwnames[] = { "self","font", NULL };
3293
3294 self = self;
3295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3296 return NULL;
3297 if (_argo0) {
3298 if (_argo0 == Py_None) { _arg0 = NULL; }
3299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3301 return NULL;
3302 }
3303 }
3304 if (_argo1) {
3305 if (_argo1 == Py_None) { _arg1 = NULL; }
3306 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3307 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3308 return NULL;
3309 }
3310 }
3311{
474c48f9 3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3313 wxGridCellAttr_SetFont(_arg0,*_arg1);
f6bcfd97 3314
474c48f9 3315 wxPyEndAllowThreads(__tstate);
4dfaa61e 3316 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3317} Py_INCREF(Py_None);
3318 _resultobj = Py_None;
3319 return _resultobj;
3320}
3321
3322#define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3323static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject * _resultobj;
3325 wxGridCellAttr * _arg0;
3326 int _arg1;
3327 int _arg2;
3328 PyObject * _argo0 = 0;
3329 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3330
3331 self = self;
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3333 return NULL;
3334 if (_argo0) {
3335 if (_argo0 == Py_None) { _arg0 = NULL; }
3336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3338 return NULL;
3339 }
3340 }
3341{
474c48f9 3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3343 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
f6bcfd97 3344
474c48f9 3345 wxPyEndAllowThreads(__tstate);
4dfaa61e 3346 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3347} Py_INCREF(Py_None);
3348 _resultobj = Py_None;
3349 return _resultobj;
3350}
3351
3352#define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3353static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject * _resultobj;
3355 wxGridCellAttr * _arg0;
3356 bool _arg1 = (bool ) TRUE;
3357 PyObject * _argo0 = 0;
3358 int tempbool1 = (int) TRUE;
3359 char *_kwnames[] = { "self","isReadOnly", NULL };
3360
3361 self = self;
3362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3363 return NULL;
3364 if (_argo0) {
3365 if (_argo0 == Py_None) { _arg0 = NULL; }
3366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3368 return NULL;
3369 }
3370 }
3371 _arg1 = (bool ) tempbool1;
3372{
474c48f9 3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3374 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
f6bcfd97 3375
474c48f9 3376 wxPyEndAllowThreads(__tstate);
4dfaa61e 3377 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3378} Py_INCREF(Py_None);
3379 _resultobj = Py_None;
3380 return _resultobj;
3381}
3382
3383#define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3384static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3385 PyObject * _resultobj;
3386 wxGridCellAttr * _arg0;
3387 wxGridCellRenderer * _arg1;
3388 PyObject * _argo0 = 0;
3389 PyObject * _argo1 = 0;
3390 char *_kwnames[] = { "self","renderer", NULL };
3391
3392 self = self;
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
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_SetRenderer. Expected _wxGridCellAttr_p.");
3399 return NULL;
3400 }
3401 }
3402 if (_argo1) {
3403 if (_argo1 == Py_None) { _arg1 = NULL; }
3404 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3405 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3406 return NULL;
3407 }
3408 }
3409{
474c48f9 3410 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3411 wxGridCellAttr_SetRenderer(_arg0,_arg1);
f6bcfd97 3412
474c48f9 3413 wxPyEndAllowThreads(__tstate);
4dfaa61e 3414 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3415} Py_INCREF(Py_None);
3416 _resultobj = Py_None;
3417 return _resultobj;
3418}
3419
3420#define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3421static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3422 PyObject * _resultobj;
3423 wxGridCellAttr * _arg0;
3424 wxGridCellEditor * _arg1;
3425 PyObject * _argo0 = 0;
3426 PyObject * _argo1 = 0;
3427 char *_kwnames[] = { "self","editor", NULL };
3428
3429 self = self;
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3431 return NULL;
3432 if (_argo0) {
3433 if (_argo0 == Py_None) { _arg0 = NULL; }
3434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3436 return NULL;
3437 }
3438 }
3439 if (_argo1) {
3440 if (_argo1 == Py_None) { _arg1 = NULL; }
3441 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3442 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3443 return NULL;
3444 }
3445 }
3446{
474c48f9 3447 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3448 wxGridCellAttr_SetEditor(_arg0,_arg1);
f6bcfd97 3449
474c48f9 3450 wxPyEndAllowThreads(__tstate);
4dfaa61e 3451 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3452} Py_INCREF(Py_None);
3453 _resultobj = Py_None;
3454 return _resultobj;
3455}
3456
9df61a29
RD
3457#define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3458static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3459 PyObject * _resultobj;
3460 wxGridCellAttr * _arg0;
3461 wxGridCellAttr::wxAttrKind _arg1;
3462 PyObject * _argo0 = 0;
3463 char *_kwnames[] = { "self","kind", NULL };
3464
3465 self = self;
3466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3467 return NULL;
3468 if (_argo0) {
3469 if (_argo0 == Py_None) { _arg0 = NULL; }
3470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3472 return NULL;
3473 }
3474 }
3475{
474c48f9 3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3477 wxGridCellAttr_SetKind(_arg0,_arg1);
9df61a29 3478
474c48f9 3479 wxPyEndAllowThreads(__tstate);
4dfaa61e 3480 if (PyErr_Occurred()) return NULL;
9df61a29
RD
3481} Py_INCREF(Py_None);
3482 _resultobj = Py_None;
3483 return _resultobj;
3484}
3485
f6bcfd97
BP
3486#define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3487static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3488 PyObject * _resultobj;
3489 bool _result;
3490 wxGridCellAttr * _arg0;
3491 PyObject * _argo0 = 0;
3492 char *_kwnames[] = { "self", NULL };
3493
3494 self = self;
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3496 return NULL;
3497 if (_argo0) {
3498 if (_argo0 == Py_None) { _arg0 = NULL; }
3499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3501 return NULL;
3502 }
3503 }
3504{
474c48f9 3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3506 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
f6bcfd97 3507
474c48f9 3508 wxPyEndAllowThreads(__tstate);
4dfaa61e 3509 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3510} _resultobj = Py_BuildValue("i",_result);
3511 return _resultobj;
3512}
3513
3514#define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3515static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3516 PyObject * _resultobj;
3517 bool _result;
3518 wxGridCellAttr * _arg0;
3519 PyObject * _argo0 = 0;
3520 char *_kwnames[] = { "self", NULL };
3521
3522 self = self;
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3524 return NULL;
3525 if (_argo0) {
3526 if (_argo0 == Py_None) { _arg0 = NULL; }
3527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3529 return NULL;
3530 }
3531 }
3532{
474c48f9 3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3534 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
f6bcfd97 3535
474c48f9 3536 wxPyEndAllowThreads(__tstate);
4dfaa61e 3537 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3538} _resultobj = Py_BuildValue("i",_result);
3539 return _resultobj;
3540}
3541
3542#define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3543static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3544 PyObject * _resultobj;
3545 bool _result;
3546 wxGridCellAttr * _arg0;
3547 PyObject * _argo0 = 0;
3548 char *_kwnames[] = { "self", NULL };
3549
3550 self = self;
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3552 return NULL;
3553 if (_argo0) {
3554 if (_argo0 == Py_None) { _arg0 = NULL; }
3555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3557 return NULL;
3558 }
3559 }
3560{
474c48f9 3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3562 _result = (bool )wxGridCellAttr_HasFont(_arg0);
f6bcfd97 3563
474c48f9 3564 wxPyEndAllowThreads(__tstate);
4dfaa61e 3565 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3566} _resultobj = Py_BuildValue("i",_result);
3567 return _resultobj;
3568}
3569
3570#define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3571static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3572 PyObject * _resultobj;
3573 bool _result;
3574 wxGridCellAttr * _arg0;
3575 PyObject * _argo0 = 0;
3576 char *_kwnames[] = { "self", NULL };
3577
3578 self = self;
3579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3580 return NULL;
3581 if (_argo0) {
3582 if (_argo0 == Py_None) { _arg0 = NULL; }
3583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3585 return NULL;
3586 }
3587 }
3588{
474c48f9 3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3590 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
f6bcfd97 3591
474c48f9 3592 wxPyEndAllowThreads(__tstate);
4dfaa61e 3593 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3594} _resultobj = Py_BuildValue("i",_result);
3595 return _resultobj;
3596}
3597
3598#define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3599static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3600 PyObject * _resultobj;
3601 bool _result;
3602 wxGridCellAttr * _arg0;
3603 PyObject * _argo0 = 0;
3604 char *_kwnames[] = { "self", NULL };
3605
3606 self = self;
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3608 return NULL;
3609 if (_argo0) {
3610 if (_argo0 == Py_None) { _arg0 = NULL; }
3611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3613 return NULL;
3614 }
3615 }
3616{
474c48f9 3617 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3618 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
f6bcfd97 3619
474c48f9 3620 wxPyEndAllowThreads(__tstate);
4dfaa61e 3621 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3622} _resultobj = Py_BuildValue("i",_result);
3623 return _resultobj;
3624}
3625
3626#define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3627static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject * _resultobj;
3629 bool _result;
3630 wxGridCellAttr * _arg0;
3631 PyObject * _argo0 = 0;
3632 char *_kwnames[] = { "self", NULL };
3633
3634 self = self;
3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3636 return NULL;
3637 if (_argo0) {
3638 if (_argo0 == Py_None) { _arg0 = NULL; }
3639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3641 return NULL;
3642 }
3643 }
3644{
474c48f9 3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3646 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
f6bcfd97 3647
474c48f9 3648 wxPyEndAllowThreads(__tstate);
4dfaa61e 3649 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3650} _resultobj = Py_BuildValue("i",_result);
3651 return _resultobj;
3652}
3653
9df61a29
RD
3654#define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3655static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject * _resultobj;
3657 bool _result;
3658 wxGridCellAttr * _arg0;
3659 PyObject * _argo0 = 0;
3660 char *_kwnames[] = { "self", NULL };
3661
3662 self = self;
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3664 return NULL;
3665 if (_argo0) {
3666 if (_argo0 == Py_None) { _arg0 = NULL; }
3667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3669 return NULL;
3670 }
3671 }
3672{
474c48f9 3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3674 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
9df61a29 3675
474c48f9 3676 wxPyEndAllowThreads(__tstate);
4dfaa61e 3677 if (PyErr_Occurred()) return NULL;
9df61a29
RD
3678} _resultobj = Py_BuildValue("i",_result);
3679 return _resultobj;
3680}
3681
f6bcfd97
BP
3682#define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3683static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3684 PyObject * _resultobj;
3685 wxColour * _result;
3686 wxGridCellAttr * _arg0;
3687 PyObject * _argo0 = 0;
3688 char *_kwnames[] = { "self", NULL };
3689 char _ptemp[128];
3690
3691 self = self;
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3693 return NULL;
3694 if (_argo0) {
3695 if (_argo0 == Py_None) { _arg0 = NULL; }
3696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3698 return NULL;
3699 }
3700 }
3701{
474c48f9 3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3703 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
f6bcfd97 3704
474c48f9 3705 wxPyEndAllowThreads(__tstate);
4dfaa61e 3706 if (PyErr_Occurred()) return NULL;
3e212503
RD
3707} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3708 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
3709 return _resultobj;
3710}
3711
3712#define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3713static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3714 PyObject * _resultobj;
3715 wxColour * _result;
3716 wxGridCellAttr * _arg0;
3717 PyObject * _argo0 = 0;
3718 char *_kwnames[] = { "self", NULL };
3719 char _ptemp[128];
3720
3721 self = self;
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3723 return NULL;
3724 if (_argo0) {
3725 if (_argo0 == Py_None) { _arg0 = NULL; }
3726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3728 return NULL;
3729 }
3730 }
3731{
474c48f9 3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3733 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
f6bcfd97 3734
474c48f9 3735 wxPyEndAllowThreads(__tstate);
4dfaa61e 3736 if (PyErr_Occurred()) return NULL;
3e212503
RD
3737} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3738 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
3739 return _resultobj;
3740}
3741
3742#define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3743static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3744 PyObject * _resultobj;
3745 wxFont * _result;
3746 wxGridCellAttr * _arg0;
3747 PyObject * _argo0 = 0;
3748 char *_kwnames[] = { "self", NULL };
3749 char _ptemp[128];
3750
3751 self = self;
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3753 return NULL;
3754 if (_argo0) {
3755 if (_argo0 == Py_None) { _arg0 = NULL; }
3756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3758 return NULL;
3759 }
3760 }
3761{
474c48f9 3762 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3763 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
f6bcfd97 3764
474c48f9 3765 wxPyEndAllowThreads(__tstate);
4dfaa61e 3766 if (PyErr_Occurred()) return NULL;
3e212503
RD
3767} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
3768 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
3769 return _resultobj;
3770}
3771
3772#define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3773static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3774 PyObject * _resultobj;
3775 wxGridCellAttr * _arg0;
3776 int * _arg1;
3777 int temp;
3778 int * _arg2;
3779 int temp0;
3780 PyObject * _argo0 = 0;
3781 char *_kwnames[] = { "self", NULL };
3782
3783 self = self;
3784{
3785 _arg1 = &temp;
3786}
3787{
3788 _arg2 = &temp0;
3789}
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3791 return NULL;
3792 if (_argo0) {
3793 if (_argo0 == Py_None) { _arg0 = NULL; }
3794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3796 return NULL;
3797 }
3798 }
3799{
474c48f9 3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3801 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
f6bcfd97 3802
474c48f9 3803 wxPyEndAllowThreads(__tstate);
4dfaa61e 3804 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3805} Py_INCREF(Py_None);
3806 _resultobj = Py_None;
3807{
3808 PyObject *o;
3809 o = PyInt_FromLong((long) (*_arg1));
3810 _resultobj = t_output_helper(_resultobj, o);
3811}
3812{
3813 PyObject *o;
3814 o = PyInt_FromLong((long) (*_arg2));
3815 _resultobj = t_output_helper(_resultobj, o);
3816}
3817 return _resultobj;
3818}
3819
3820#define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3821static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3822 PyObject * _resultobj;
3823 wxGridCellRenderer * _result;
3824 wxGridCellAttr * _arg0;
3825 wxGrid * _arg1;
3826 int _arg2;
3827 int _arg3;
3828 PyObject * _argo0 = 0;
3829 PyObject * _argo1 = 0;
3830 char *_kwnames[] = { "self","grid","row","col", NULL };
3831 char _ptemp[128];
3832
3833 self = self;
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3835 return NULL;
3836 if (_argo0) {
3837 if (_argo0 == Py_None) { _arg0 = NULL; }
3838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3840 return NULL;
3841 }
3842 }
3843 if (_argo1) {
3844 if (_argo1 == Py_None) { _arg1 = NULL; }
3845 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3846 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3847 return NULL;
3848 }
3849 }
3850{
474c48f9 3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3852 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 3853
474c48f9 3854 wxPyEndAllowThreads(__tstate);
4dfaa61e 3855 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3856} if (_result) {
3857 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3858 _resultobj = Py_BuildValue("s",_ptemp);
3859 } else {
3860 Py_INCREF(Py_None);
3861 _resultobj = Py_None;
3862 }
3863 return _resultobj;
3864}
3865
3866#define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3867static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject * _resultobj;
3869 wxGridCellEditor * _result;
3870 wxGridCellAttr * _arg0;
3871 wxGrid * _arg1;
3872 int _arg2;
3873 int _arg3;
3874 PyObject * _argo0 = 0;
3875 PyObject * _argo1 = 0;
3876 char *_kwnames[] = { "self","grid","row","col", NULL };
3877 char _ptemp[128];
3878
3879 self = self;
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3881 return NULL;
3882 if (_argo0) {
3883 if (_argo0 == Py_None) { _arg0 = NULL; }
3884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3886 return NULL;
3887 }
3888 }
3889 if (_argo1) {
3890 if (_argo1 == Py_None) { _arg1 = NULL; }
3891 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3892 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3893 return NULL;
3894 }
3895 }
3896{
474c48f9 3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3898 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 3899
474c48f9 3900 wxPyEndAllowThreads(__tstate);
4dfaa61e 3901 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3902} if (_result) {
3903 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3904 _resultobj = Py_BuildValue("s",_ptemp);
3905 } else {
3906 Py_INCREF(Py_None);
3907 _resultobj = Py_None;
3908 }
3909 return _resultobj;
3910}
3911
3912#define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3913static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3914 PyObject * _resultobj;
3915 bool _result;
3916 wxGridCellAttr * _arg0;
3917 PyObject * _argo0 = 0;
3918 char *_kwnames[] = { "self", NULL };
3919
3920 self = self;
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3922 return NULL;
3923 if (_argo0) {
3924 if (_argo0 == Py_None) { _arg0 = NULL; }
3925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3927 return NULL;
3928 }
3929 }
3930{
474c48f9 3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3932 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
f6bcfd97 3933
474c48f9 3934 wxPyEndAllowThreads(__tstate);
4dfaa61e 3935 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3936} _resultobj = Py_BuildValue("i",_result);
3937 return _resultobj;
3938}
3939
3940#define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3941static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject * _resultobj;
3943 wxGridCellAttr * _arg0;
3944 wxGridCellAttr * _arg1;
3945 PyObject * _argo0 = 0;
3946 PyObject * _argo1 = 0;
3947 char *_kwnames[] = { "self","defAttr", NULL };
3948
3949 self = self;
3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3951 return NULL;
3952 if (_argo0) {
3953 if (_argo0 == Py_None) { _arg0 = NULL; }
3954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3956 return NULL;
3957 }
3958 }
3959 if (_argo1) {
3960 if (_argo1 == Py_None) { _arg1 = NULL; }
3961 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3962 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3963 return NULL;
3964 }
3965 }
3966{
474c48f9 3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3968 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
f6bcfd97 3969
474c48f9 3970 wxPyEndAllowThreads(__tstate);
4dfaa61e 3971 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3972} Py_INCREF(Py_None);
3973 _resultobj = Py_None;
3974 return _resultobj;
3975}
3976
3977#define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3978static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3979 PyObject * _resultobj;
3980 wxGridCellAttrProvider * _result;
3981 char *_kwnames[] = { NULL };
3982 char _ptemp[128];
3983
3984 self = self;
3985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3986 return NULL;
3987{
474c48f9 3988 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3989 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
f6bcfd97 3990
474c48f9 3991 wxPyEndAllowThreads(__tstate);
4dfaa61e 3992 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3993} if (_result) {
3994 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3995 _resultobj = Py_BuildValue("s",_ptemp);
3996 } else {
3997 Py_INCREF(Py_None);
3998 _resultobj = Py_None;
3999 }
4000 return _resultobj;
4001}
4002
9df61a29 4003#define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
4004static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4005 PyObject * _resultobj;
4006 wxGridCellAttr * _result;
4007 wxGridCellAttrProvider * _arg0;
4008 int _arg1;
4009 int _arg2;
9df61a29 4010 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 4011 PyObject * _argo0 = 0;
9df61a29 4012 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
4013 char _ptemp[128];
4014
4015 self = self;
9df61a29 4016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
4017 return NULL;
4018 if (_argo0) {
4019 if (_argo0 == Py_None) { _arg0 = NULL; }
4020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4022 return NULL;
4023 }
4024 }
4025{
474c48f9 4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4027 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 4028
474c48f9 4029 wxPyEndAllowThreads(__tstate);
4dfaa61e 4030 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4031} if (_result) {
4032 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4033 _resultobj = Py_BuildValue("s",_ptemp);
4034 } else {
4035 Py_INCREF(Py_None);
4036 _resultobj = Py_None;
4037 }
4038 return _resultobj;
4039}
4040
4041#define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4042static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4043 PyObject * _resultobj;
4044 wxGridCellAttrProvider * _arg0;
4045 wxGridCellAttr * _arg1;
4046 int _arg2;
4047 int _arg3;
4048 PyObject * _argo0 = 0;
4049 PyObject * _argo1 = 0;
4050 char *_kwnames[] = { "self","attr","row","col", NULL };
4051
4052 self = self;
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4054 return NULL;
4055 if (_argo0) {
4056 if (_argo0 == Py_None) { _arg0 = NULL; }
4057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4059 return NULL;
4060 }
4061 }
4062 if (_argo1) {
4063 if (_argo1 == Py_None) { _arg1 = NULL; }
4064 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4065 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4066 return NULL;
4067 }
4068 }
4069{
474c48f9 4070 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4071 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 4072
474c48f9 4073 wxPyEndAllowThreads(__tstate);
4dfaa61e 4074 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4075} Py_INCREF(Py_None);
4076 _resultobj = Py_None;
4077 return _resultobj;
4078}
4079
4080#define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4081static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4082 PyObject * _resultobj;
4083 wxGridCellAttrProvider * _arg0;
4084 wxGridCellAttr * _arg1;
4085 int _arg2;
4086 PyObject * _argo0 = 0;
4087 PyObject * _argo1 = 0;
4088 char *_kwnames[] = { "self","attr","row", NULL };
4089
4090 self = self;
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4092 return NULL;
4093 if (_argo0) {
4094 if (_argo0 == Py_None) { _arg0 = NULL; }
4095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4097 return NULL;
4098 }
4099 }
4100 if (_argo1) {
4101 if (_argo1 == Py_None) { _arg1 = NULL; }
4102 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4103 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4104 return NULL;
4105 }
4106 }
4107{
474c48f9 4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4109 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
f6bcfd97 4110
474c48f9 4111 wxPyEndAllowThreads(__tstate);
4dfaa61e 4112 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4113} Py_INCREF(Py_None);
4114 _resultobj = Py_None;
4115 return _resultobj;
4116}
4117
4118#define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4119static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4120 PyObject * _resultobj;
4121 wxGridCellAttrProvider * _arg0;
4122 wxGridCellAttr * _arg1;
4123 int _arg2;
4124 PyObject * _argo0 = 0;
4125 PyObject * _argo1 = 0;
4126 char *_kwnames[] = { "self","attr","col", NULL };
4127
4128 self = self;
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4130 return NULL;
4131 if (_argo0) {
4132 if (_argo0 == Py_None) { _arg0 = NULL; }
4133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4135 return NULL;
4136 }
4137 }
4138 if (_argo1) {
4139 if (_argo1 == Py_None) { _arg1 = NULL; }
4140 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4141 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4142 return NULL;
4143 }
4144 }
4145{
474c48f9 4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4147 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
f6bcfd97 4148
474c48f9 4149 wxPyEndAllowThreads(__tstate);
4dfaa61e 4150 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4151} Py_INCREF(Py_None);
4152 _resultobj = Py_None;
4153 return _resultobj;
4154}
4155
4156#define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4157static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4158 PyObject * _resultobj;
4159 wxGridCellAttrProvider * _arg0;
4160 size_t _arg1;
4161 int _arg2;
4162 PyObject * _argo0 = 0;
4163 char *_kwnames[] = { "self","pos","numRows", NULL };
4164
4165 self = self;
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4167 return NULL;
4168 if (_argo0) {
4169 if (_argo0 == Py_None) { _arg0 = NULL; }
4170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4172 return NULL;
4173 }
4174 }
4175{
474c48f9 4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4177 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
f6bcfd97 4178
474c48f9 4179 wxPyEndAllowThreads(__tstate);
4dfaa61e 4180 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4181} Py_INCREF(Py_None);
4182 _resultobj = Py_None;
4183 return _resultobj;
4184}
4185
4186#define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4187static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4188 PyObject * _resultobj;
4189 wxGridCellAttrProvider * _arg0;
4190 size_t _arg1;
4191 int _arg2;
4192 PyObject * _argo0 = 0;
4193 char *_kwnames[] = { "self","pos","numCols", NULL };
4194
4195 self = self;
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4197 return NULL;
4198 if (_argo0) {
4199 if (_argo0 == Py_None) { _arg0 = NULL; }
4200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4202 return NULL;
4203 }
4204 }
4205{
474c48f9 4206 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4207 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
f6bcfd97 4208
474c48f9 4209 wxPyEndAllowThreads(__tstate);
4dfaa61e 4210 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4211} Py_INCREF(Py_None);
4212 _resultobj = Py_None;
4213 return _resultobj;
4214}
4215
4216static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4217 wxPyGridCellAttrProvider *src;
4218 wxGridCellAttrProvider *dest;
4219 src = (wxPyGridCellAttrProvider *) ptr;
4220 dest = (wxGridCellAttrProvider *) src;
4221 return (void *) dest;
4222}
4223
4224#define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4225static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject * _resultobj;
4227 wxPyGridCellAttrProvider * _result;
4228 char *_kwnames[] = { NULL };
4229 char _ptemp[128];
4230
4231 self = self;
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4233 return NULL;
4234{
474c48f9 4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4236 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
f6bcfd97 4237
474c48f9 4238 wxPyEndAllowThreads(__tstate);
4dfaa61e 4239 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4240} if (_result) {
4241 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4242 _resultobj = Py_BuildValue("s",_ptemp);
4243 } else {
4244 Py_INCREF(Py_None);
4245 _resultobj = Py_None;
4246 }
4247 return _resultobj;
4248}
4249
0220cbc1
RD
4250#define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4251static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4252 PyObject * _resultobj;
4253 wxPyGridCellAttrProvider * _arg0;
4254 PyObject * _arg1;
4255 PyObject * _arg2;
4256 PyObject * _argo0 = 0;
4257 PyObject * _obj1 = 0;
4258 PyObject * _obj2 = 0;
4259 char *_kwnames[] = { "self","self","_class", NULL };
4260
4261 self = self;
0220cbc1 4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
f6bcfd97
BP
4263 return NULL;
4264 if (_argo0) {
4265 if (_argo0 == Py_None) { _arg0 = NULL; }
4266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
0220cbc1 4267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
f6bcfd97
BP
4268 return NULL;
4269 }
4270 }
4271{
4272 _arg1 = _obj1;
4273}
4274{
4275 _arg2 = _obj2;
4276}
4277{
474c48f9 4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4279 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
f6bcfd97 4280
474c48f9 4281 wxPyEndAllowThreads(__tstate);
4dfaa61e 4282 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4283} Py_INCREF(Py_None);
4284 _resultobj = Py_None;
4285 return _resultobj;
4286}
4287
9df61a29 4288#define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
4289static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject * _resultobj;
4291 wxGridCellAttr * _result;
4292 wxPyGridCellAttrProvider * _arg0;
4293 int _arg1;
4294 int _arg2;
9df61a29 4295 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 4296 PyObject * _argo0 = 0;
9df61a29 4297 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
4298 char _ptemp[128];
4299
4300 self = self;
9df61a29 4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
4302 return NULL;
4303 if (_argo0) {
4304 if (_argo0 == Py_None) { _arg0 = NULL; }
4305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4307 return NULL;
4308 }
4309 }
4310{
474c48f9 4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4312 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 4313
474c48f9 4314 wxPyEndAllowThreads(__tstate);
4dfaa61e 4315 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4316} if (_result) {
4317 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4318 _resultobj = Py_BuildValue("s",_ptemp);
4319 } else {
4320 Py_INCREF(Py_None);
4321 _resultobj = Py_None;
4322 }
4323 return _resultobj;
4324}
4325
4326#define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4327static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4328 PyObject * _resultobj;
4329 wxPyGridCellAttrProvider * _arg0;
4330 wxGridCellAttr * _arg1;
4331 int _arg2;
4332 int _arg3;
4333 PyObject * _argo0 = 0;
4334 PyObject * _argo1 = 0;
4335 char *_kwnames[] = { "self","attr","row","col", NULL };
4336
4337 self = self;
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4339 return NULL;
4340 if (_argo0) {
4341 if (_argo0 == Py_None) { _arg0 = NULL; }
4342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4344 return NULL;
4345 }
4346 }
4347 if (_argo1) {
4348 if (_argo1 == Py_None) { _arg1 = NULL; }
4349 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4350 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4351 return NULL;
4352 }
4353 }
4354{
474c48f9 4355 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4356 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 4357
474c48f9 4358 wxPyEndAllowThreads(__tstate);
4dfaa61e 4359 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4360} Py_INCREF(Py_None);
4361 _resultobj = Py_None;
4362 return _resultobj;
4363}
4364
4365#define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4366static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject * _resultobj;
4368 wxPyGridCellAttrProvider * _arg0;
4369 wxGridCellAttr * _arg1;
4370 int _arg2;
4371 PyObject * _argo0 = 0;
4372 PyObject * _argo1 = 0;
4373 char *_kwnames[] = { "self","attr","row", NULL };
4374
4375 self = self;
4376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4377 return NULL;
4378 if (_argo0) {
4379 if (_argo0 == Py_None) { _arg0 = NULL; }
4380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4382 return NULL;
4383 }
4384 }
4385 if (_argo1) {
4386 if (_argo1 == Py_None) { _arg1 = NULL; }
4387 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4388 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4389 return NULL;
4390 }
4391 }
4392{
474c48f9 4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4394 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
f6bcfd97 4395
474c48f9 4396 wxPyEndAllowThreads(__tstate);
4dfaa61e 4397 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4398} Py_INCREF(Py_None);
4399 _resultobj = Py_None;
4400 return _resultobj;
4401}
4402
4403#define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4404static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4405 PyObject * _resultobj;
4406 wxPyGridCellAttrProvider * _arg0;
4407 wxGridCellAttr * _arg1;
4408 int _arg2;
4409 PyObject * _argo0 = 0;
4410 PyObject * _argo1 = 0;
4411 char *_kwnames[] = { "self","attr","col", NULL };
4412
4413 self = self;
4414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4415 return NULL;
4416 if (_argo0) {
4417 if (_argo0 == Py_None) { _arg0 = NULL; }
4418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4420 return NULL;
4421 }
4422 }
4423 if (_argo1) {
4424 if (_argo1 == Py_None) { _arg1 = NULL; }
4425 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4426 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4427 return NULL;
4428 }
4429 }
4430{
474c48f9 4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4432 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
f6bcfd97 4433
474c48f9 4434 wxPyEndAllowThreads(__tstate);
4dfaa61e 4435 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4436} Py_INCREF(Py_None);
4437 _resultobj = Py_None;
4438 return _resultobj;
4439}
4440
9df61a29
RD
4441static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4442 wxGridTableBase *src;
4443 wxObject *dest;
4444 src = (wxGridTableBase *) ptr;
4445 dest = (wxObject *) src;
4446 return (void *) dest;
4447}
4448
f6bcfd97
BP
4449#define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4450static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4451 PyObject * _resultobj;
4452 wxGridTableBase * _arg0;
4453 wxGridCellAttrProvider * _arg1;
4454 PyObject * _argo0 = 0;
4455 PyObject * _argo1 = 0;
4456 char *_kwnames[] = { "self","attrProvider", NULL };
4457
4458 self = self;
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
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_SetAttrProvider. Expected _wxGridTableBase_p.");
4465 return NULL;
4466 }
4467 }
4468 if (_argo1) {
4469 if (_argo1 == Py_None) { _arg1 = NULL; }
4470 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4471 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4472 return NULL;
4473 }
4474 }
4475{
474c48f9 4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4477 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
f6bcfd97 4478
474c48f9 4479 wxPyEndAllowThreads(__tstate);
4dfaa61e 4480 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4481} Py_INCREF(Py_None);
4482 _resultobj = Py_None;
4483 return _resultobj;
4484}
4485
4486#define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4487static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4488 PyObject * _resultobj;
4489 wxGridCellAttrProvider * _result;
4490 wxGridTableBase * _arg0;
4491 PyObject * _argo0 = 0;
4492 char *_kwnames[] = { "self", NULL };
4493 char _ptemp[128];
4494
4495 self = self;
4496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4497 return NULL;
4498 if (_argo0) {
4499 if (_argo0 == Py_None) { _arg0 = NULL; }
4500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4502 return NULL;
4503 }
4504 }
4505{
474c48f9 4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4507 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
f6bcfd97 4508
474c48f9 4509 wxPyEndAllowThreads(__tstate);
4dfaa61e 4510 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4511} if (_result) {
4512 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4513 _resultobj = Py_BuildValue("s",_ptemp);
4514 } else {
4515 Py_INCREF(Py_None);
4516 _resultobj = Py_None;
4517 }
4518 return _resultobj;
4519}
4520
4521#define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4522static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4523 PyObject * _resultobj;
4524 wxGridTableBase * _arg0;
4525 wxGrid * _arg1;
4526 PyObject * _argo0 = 0;
4527 PyObject * _argo1 = 0;
4528 char *_kwnames[] = { "self","grid", NULL };
4529
4530 self = self;
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4532 return NULL;
4533 if (_argo0) {
4534 if (_argo0 == Py_None) { _arg0 = NULL; }
4535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4537 return NULL;
4538 }
4539 }
4540 if (_argo1) {
4541 if (_argo1 == Py_None) { _arg1 = NULL; }
4542 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4544 return NULL;
4545 }
4546 }
4547{
474c48f9 4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4549 wxGridTableBase_SetView(_arg0,_arg1);
f6bcfd97 4550
474c48f9 4551 wxPyEndAllowThreads(__tstate);
4dfaa61e 4552 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4553} Py_INCREF(Py_None);
4554 _resultobj = Py_None;
4555 return _resultobj;
4556}
4557
4558#define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4559static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject * _resultobj;
4561 wxGrid * _result;
4562 wxGridTableBase * _arg0;
4563 PyObject * _argo0 = 0;
4564 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4565
4566 self = self;
4567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4568 return NULL;
4569 if (_argo0) {
4570 if (_argo0 == Py_None) { _arg0 = NULL; }
4571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4573 return NULL;
4574 }
4575 }
4576{
474c48f9 4577 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4578 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
f6bcfd97 4579
474c48f9 4580 wxPyEndAllowThreads(__tstate);
4dfaa61e 4581 if (PyErr_Occurred()) return NULL;
9df61a29 4582}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
4583 return _resultobj;
4584}
4585
4586#define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4587static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4588 PyObject * _resultobj;
4589 int _result;
4590 wxGridTableBase * _arg0;
4591 PyObject * _argo0 = 0;
4592 char *_kwnames[] = { "self", NULL };
4593
4594 self = self;
4595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4596 return NULL;
4597 if (_argo0) {
4598 if (_argo0 == Py_None) { _arg0 = NULL; }
4599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4601 return NULL;
4602 }
4603 }
4604{
474c48f9 4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4606 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
f6bcfd97 4607
474c48f9 4608 wxPyEndAllowThreads(__tstate);
4dfaa61e 4609 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4610} _resultobj = Py_BuildValue("i",_result);
4611 return _resultobj;
4612}
4613
4614#define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4615static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject * _resultobj;
4617 int _result;
4618 wxGridTableBase * _arg0;
4619 PyObject * _argo0 = 0;
4620 char *_kwnames[] = { "self", NULL };
4621
4622 self = self;
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4624 return NULL;
4625 if (_argo0) {
4626 if (_argo0 == Py_None) { _arg0 = NULL; }
4627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4629 return NULL;
4630 }
4631 }
4632{
474c48f9 4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4634 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
f6bcfd97 4635
474c48f9 4636 wxPyEndAllowThreads(__tstate);
4dfaa61e 4637 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4638} _resultobj = Py_BuildValue("i",_result);
4639 return _resultobj;
4640}
4641
4642#define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4643static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4644 PyObject * _resultobj;
4645 bool _result;
4646 wxGridTableBase * _arg0;
4647 int _arg1;
4648 int _arg2;
4649 PyObject * _argo0 = 0;
4650 char *_kwnames[] = { "self","row","col", NULL };
4651
4652 self = self;
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4654 return NULL;
4655 if (_argo0) {
4656 if (_argo0 == Py_None) { _arg0 = NULL; }
4657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4659 return NULL;
4660 }
4661 }
4662{
474c48f9 4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4664 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
f6bcfd97 4665
474c48f9 4666 wxPyEndAllowThreads(__tstate);
4dfaa61e 4667 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4668} _resultobj = Py_BuildValue("i",_result);
4669 return _resultobj;
4670}
4671
4672#define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4673static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject * _resultobj;
4675 wxString * _result;
4676 wxGridTableBase * _arg0;
4677 int _arg1;
4678 int _arg2;
4679 PyObject * _argo0 = 0;
4680 char *_kwnames[] = { "self","row","col", NULL };
4681
4682 self = self;
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4684 return NULL;
4685 if (_argo0) {
4686 if (_argo0 == Py_None) { _arg0 = NULL; }
4687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4689 return NULL;
4690 }
4691 }
4692{
474c48f9 4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4694 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
f6bcfd97 4695
474c48f9 4696 wxPyEndAllowThreads(__tstate);
4dfaa61e 4697 if (PyErr_Occurred()) return NULL;
f6bcfd97 4698}{
c8bc7bb8
RD
4699#if wxUSE_UNICODE
4700 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4701#else
f6bcfd97 4702 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4703#endif
f6bcfd97
BP
4704}
4705{
4706 delete _result;
4707}
4708 return _resultobj;
4709}
4710
4711#define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4712static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4713 PyObject * _resultobj;
4714 wxGridTableBase * _arg0;
4715 int _arg1;
4716 int _arg2;
4717 wxString * _arg3;
4718 PyObject * _argo0 = 0;
4719 PyObject * _obj3 = 0;
4720 char *_kwnames[] = { "self","row","col","value", NULL };
4721
4722 self = self;
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4724 return NULL;
4725 if (_argo0) {
4726 if (_argo0 == Py_None) { _arg0 = NULL; }
4727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4729 return NULL;
4730 }
4731 }
4732{
c8bc7bb8
RD
4733 _arg3 = wxString_in_helper(_obj3);
4734 if (_arg3 == NULL)
f6bcfd97 4735 return NULL;
f6bcfd97
BP
4736}
4737{
474c48f9 4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4739 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
f6bcfd97 4740
474c48f9 4741 wxPyEndAllowThreads(__tstate);
4dfaa61e 4742 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4743} Py_INCREF(Py_None);
4744 _resultobj = Py_None;
4745{
4746 if (_obj3)
4747 delete _arg3;
4748}
4749 return _resultobj;
4750}
4751
4752#define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4753static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4754 PyObject * _resultobj;
4755 wxString * _result;
4756 wxGridTableBase * _arg0;
4757 int _arg1;
4758 int _arg2;
4759 PyObject * _argo0 = 0;
4760 char *_kwnames[] = { "self","row","col", NULL };
4761
4762 self = self;
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4764 return NULL;
4765 if (_argo0) {
4766 if (_argo0 == Py_None) { _arg0 = NULL; }
4767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4769 return NULL;
4770 }
4771 }
4772{
474c48f9 4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4774 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
f6bcfd97 4775
474c48f9 4776 wxPyEndAllowThreads(__tstate);
4dfaa61e 4777 if (PyErr_Occurred()) return NULL;
f6bcfd97 4778}{
c8bc7bb8
RD
4779#if wxUSE_UNICODE
4780 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4781#else
f6bcfd97 4782 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4783#endif
f6bcfd97
BP
4784}
4785{
4786 delete _result;
4787}
4788 return _resultobj;
4789}
4790
4791#define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4792static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4793 PyObject * _resultobj;
4794 bool _result;
4795 wxGridTableBase * _arg0;
4796 int _arg1;
4797 int _arg2;
4798 wxString * _arg3;
4799 PyObject * _argo0 = 0;
4800 PyObject * _obj3 = 0;
4801 char *_kwnames[] = { "self","row","col","typeName", NULL };
4802
4803 self = self;
4804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4805 return NULL;
4806 if (_argo0) {
4807 if (_argo0 == Py_None) { _arg0 = NULL; }
4808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4810 return NULL;
4811 }
4812 }
4813{
c8bc7bb8
RD
4814 _arg3 = wxString_in_helper(_obj3);
4815 if (_arg3 == NULL)
2cd2fac8 4816 return NULL;
f6bcfd97
BP
4817}
4818{
474c48f9 4819 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4820 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
f6bcfd97 4821
474c48f9 4822 wxPyEndAllowThreads(__tstate);
4dfaa61e 4823 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4824} _resultobj = Py_BuildValue("i",_result);
4825{
4826 if (_obj3)
4827 delete _arg3;
4828}
4829 return _resultobj;
4830}
4831
4832#define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4833static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject * _resultobj;
4835 bool _result;
4836 wxGridTableBase * _arg0;
4837 int _arg1;
4838 int _arg2;
4839 wxString * _arg3;
4840 PyObject * _argo0 = 0;
4841 PyObject * _obj3 = 0;
4842 char *_kwnames[] = { "self","row","col","typeName", NULL };
4843
4844 self = self;
4845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4846 return NULL;
4847 if (_argo0) {
4848 if (_argo0 == Py_None) { _arg0 = NULL; }
4849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4851 return NULL;
4852 }
4853 }
4854{
c8bc7bb8
RD
4855 _arg3 = wxString_in_helper(_obj3);
4856 if (_arg3 == NULL)
2cd2fac8 4857 return NULL;
f6bcfd97
BP
4858}
4859{
474c48f9 4860 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4861 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
f6bcfd97 4862
474c48f9 4863 wxPyEndAllowThreads(__tstate);
4dfaa61e 4864 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4865} _resultobj = Py_BuildValue("i",_result);
4866{
4867 if (_obj3)
4868 delete _arg3;
4869}
4870 return _resultobj;
4871}
4872
4873#define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4874static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject * _resultobj;
4876 long _result;
4877 wxGridTableBase * _arg0;
4878 int _arg1;
4879 int _arg2;
4880 PyObject * _argo0 = 0;
4881 char *_kwnames[] = { "self","row","col", NULL };
4882
4883 self = self;
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4885 return NULL;
4886 if (_argo0) {
4887 if (_argo0 == Py_None) { _arg0 = NULL; }
4888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4890 return NULL;
4891 }
4892 }
4893{
474c48f9 4894 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4895 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
f6bcfd97 4896
474c48f9 4897 wxPyEndAllowThreads(__tstate);
4dfaa61e 4898 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4899} _resultobj = Py_BuildValue("l",_result);
4900 return _resultobj;
4901}
4902
4903#define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4904static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4905 PyObject * _resultobj;
4906 double _result;
4907 wxGridTableBase * _arg0;
4908 int _arg1;
4909 int _arg2;
4910 PyObject * _argo0 = 0;
4911 char *_kwnames[] = { "self","row","col", NULL };
4912
4913 self = self;
4914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4915 return NULL;
4916 if (_argo0) {
4917 if (_argo0 == Py_None) { _arg0 = NULL; }
4918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4920 return NULL;
4921 }
4922 }
4923{
474c48f9 4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4925 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
f6bcfd97 4926
474c48f9 4927 wxPyEndAllowThreads(__tstate);
4dfaa61e 4928 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4929} _resultobj = Py_BuildValue("d",_result);
4930 return _resultobj;
4931}
4932
4933#define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4934static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4935 PyObject * _resultobj;
4936 bool _result;
4937 wxGridTableBase * _arg0;
4938 int _arg1;
4939 int _arg2;
4940 PyObject * _argo0 = 0;
4941 char *_kwnames[] = { "self","row","col", NULL };
4942
4943 self = self;
4944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4945 return NULL;
4946 if (_argo0) {
4947 if (_argo0 == Py_None) { _arg0 = NULL; }
4948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4950 return NULL;
4951 }
4952 }
4953{
474c48f9 4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4955 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
f6bcfd97 4956
474c48f9 4957 wxPyEndAllowThreads(__tstate);
4dfaa61e 4958 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4959} _resultobj = Py_BuildValue("i",_result);
4960 return _resultobj;
4961}
4962
4963#define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4964static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject * _resultobj;
4966 wxGridTableBase * _arg0;
4967 int _arg1;
4968 int _arg2;
4969 long _arg3;
4970 PyObject * _argo0 = 0;
4971 char *_kwnames[] = { "self","row","col","value", NULL };
4972
4973 self = self;
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4975 return NULL;
4976 if (_argo0) {
4977 if (_argo0 == Py_None) { _arg0 = NULL; }
4978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4980 return NULL;
4981 }
4982 }
4983{
474c48f9 4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4985 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 4986
474c48f9 4987 wxPyEndAllowThreads(__tstate);
4dfaa61e 4988 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4989} Py_INCREF(Py_None);
4990 _resultobj = Py_None;
4991 return _resultobj;
4992}
4993
4994#define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4995static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4996 PyObject * _resultobj;
4997 wxGridTableBase * _arg0;
4998 int _arg1;
4999 int _arg2;
5000 double _arg3;
5001 PyObject * _argo0 = 0;
5002 char *_kwnames[] = { "self","row","col","value", NULL };
5003
5004 self = self;
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5006 return NULL;
5007 if (_argo0) {
5008 if (_argo0 == Py_None) { _arg0 = NULL; }
5009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5011 return NULL;
5012 }
5013 }
5014{
474c48f9 5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5016 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 5017
474c48f9 5018 wxPyEndAllowThreads(__tstate);
4dfaa61e 5019 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5020} Py_INCREF(Py_None);
5021 _resultobj = Py_None;
5022 return _resultobj;
5023}
5024
5025#define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5026static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5027 PyObject * _resultobj;
5028 wxGridTableBase * _arg0;
5029 int _arg1;
5030 int _arg2;
5031 bool _arg3;
5032 PyObject * _argo0 = 0;
5033 int tempbool3;
5034 char *_kwnames[] = { "self","row","col","value", NULL };
5035
5036 self = self;
5037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5038 return NULL;
5039 if (_argo0) {
5040 if (_argo0 == Py_None) { _arg0 = NULL; }
5041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5043 return NULL;
5044 }
5045 }
5046 _arg3 = (bool ) tempbool3;
5047{
474c48f9 5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5049 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 5050
474c48f9 5051 wxPyEndAllowThreads(__tstate);
4dfaa61e 5052 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5053} Py_INCREF(Py_None);
5054 _resultobj = Py_None;
5055 return _resultobj;
5056}
5057
5058#define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5059static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject * _resultobj;
5061 wxGridTableBase * _arg0;
5062 PyObject * _argo0 = 0;
5063 char *_kwnames[] = { "self", NULL };
5064
5065 self = self;
5066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5067 return NULL;
5068 if (_argo0) {
5069 if (_argo0 == Py_None) { _arg0 = NULL; }
5070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5072 return NULL;
5073 }
5074 }
5075{
474c48f9 5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5077 wxGridTableBase_Clear(_arg0);
f6bcfd97 5078
474c48f9 5079 wxPyEndAllowThreads(__tstate);
4dfaa61e 5080 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5081} Py_INCREF(Py_None);
5082 _resultobj = Py_None;
5083 return _resultobj;
5084}
5085
5086#define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5087static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject * _resultobj;
5089 bool _result;
5090 wxGridTableBase * _arg0;
5091 size_t _arg1 = (size_t ) 0;
5092 size_t _arg2 = (size_t ) 1;
5093 PyObject * _argo0 = 0;
5094 char *_kwnames[] = { "self","pos","numRows", NULL };
5095
5096 self = self;
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5098 return NULL;
5099 if (_argo0) {
5100 if (_argo0 == Py_None) { _arg0 = NULL; }
5101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5103 return NULL;
5104 }
5105 }
5106{
474c48f9 5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5108 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
f6bcfd97 5109
474c48f9 5110 wxPyEndAllowThreads(__tstate);
4dfaa61e 5111 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5112} _resultobj = Py_BuildValue("i",_result);
5113 return _resultobj;
5114}
5115
5116#define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5117static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5118 PyObject * _resultobj;
5119 bool _result;
5120 wxGridTableBase * _arg0;
5121 size_t _arg1 = (size_t ) 1;
5122 PyObject * _argo0 = 0;
5123 char *_kwnames[] = { "self","numRows", NULL };
5124
5125 self = self;
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5127 return NULL;
5128 if (_argo0) {
5129 if (_argo0 == Py_None) { _arg0 = NULL; }
5130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5132 return NULL;
5133 }
5134 }
5135{
474c48f9 5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5137 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
f6bcfd97 5138
474c48f9 5139 wxPyEndAllowThreads(__tstate);
4dfaa61e 5140 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5141} _resultobj = Py_BuildValue("i",_result);
5142 return _resultobj;
5143}
5144
5145#define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5146static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject * _resultobj;
5148 bool _result;
5149 wxGridTableBase * _arg0;
5150 size_t _arg1 = (size_t ) 0;
5151 size_t _arg2 = (size_t ) 1;
5152 PyObject * _argo0 = 0;
5153 char *_kwnames[] = { "self","pos","numRows", NULL };
5154
5155 self = self;
5156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5157 return NULL;
5158 if (_argo0) {
5159 if (_argo0 == Py_None) { _arg0 = NULL; }
5160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5162 return NULL;
5163 }
5164 }
5165{
474c48f9 5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5167 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
f6bcfd97 5168
474c48f9 5169 wxPyEndAllowThreads(__tstate);
4dfaa61e 5170 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5171} _resultobj = Py_BuildValue("i",_result);
5172 return _resultobj;
5173}
5174
5175#define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5176static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5177 PyObject * _resultobj;
5178 bool _result;
5179 wxGridTableBase * _arg0;
5180 size_t _arg1 = (size_t ) 0;
5181 size_t _arg2 = (size_t ) 1;
5182 PyObject * _argo0 = 0;
5183 char *_kwnames[] = { "self","pos","numCols", NULL };
5184
5185 self = self;
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5187 return NULL;
5188 if (_argo0) {
5189 if (_argo0 == Py_None) { _arg0 = NULL; }
5190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5192 return NULL;
5193 }
5194 }
5195{
474c48f9 5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5197 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
f6bcfd97 5198
474c48f9 5199 wxPyEndAllowThreads(__tstate);
4dfaa61e 5200 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5201} _resultobj = Py_BuildValue("i",_result);
5202 return _resultobj;
5203}
5204
5205#define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5206static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5207 PyObject * _resultobj;
5208 bool _result;
5209 wxGridTableBase * _arg0;
5210 size_t _arg1 = (size_t ) 1;
5211 PyObject * _argo0 = 0;
5212 char *_kwnames[] = { "self","numCols", NULL };
5213
5214 self = self;
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5216 return NULL;
5217 if (_argo0) {
5218 if (_argo0 == Py_None) { _arg0 = NULL; }
5219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5221 return NULL;
5222 }
5223 }
5224{
474c48f9 5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5226 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
f6bcfd97 5227
474c48f9 5228 wxPyEndAllowThreads(__tstate);
4dfaa61e 5229 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5230} _resultobj = Py_BuildValue("i",_result);
5231 return _resultobj;
5232}
5233
5234#define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5235static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5236 PyObject * _resultobj;
5237 bool _result;
5238 wxGridTableBase * _arg0;
5239 size_t _arg1 = (size_t ) 0;
5240 size_t _arg2 = (size_t ) 1;
5241 PyObject * _argo0 = 0;
5242 char *_kwnames[] = { "self","pos","numCols", NULL };
5243
5244 self = self;
5245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5246 return NULL;
5247 if (_argo0) {
5248 if (_argo0 == Py_None) { _arg0 = NULL; }
5249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5251 return NULL;
5252 }
5253 }
5254{
474c48f9 5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5256 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
f6bcfd97 5257
474c48f9 5258 wxPyEndAllowThreads(__tstate);
4dfaa61e 5259 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5260} _resultobj = Py_BuildValue("i",_result);
5261 return _resultobj;
5262}
5263
5264#define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5265static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5266 PyObject * _resultobj;
5267 wxString * _result;
5268 wxGridTableBase * _arg0;
5269 int _arg1;
5270 PyObject * _argo0 = 0;
5271 char *_kwnames[] = { "self","row", NULL };
5272
5273 self = self;
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5275 return NULL;
5276 if (_argo0) {
5277 if (_argo0 == Py_None) { _arg0 = NULL; }
5278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5280 return NULL;
5281 }
5282 }
5283{
474c48f9 5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5285 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
f6bcfd97 5286
474c48f9 5287 wxPyEndAllowThreads(__tstate);
4dfaa61e 5288 if (PyErr_Occurred()) return NULL;
f6bcfd97 5289}{
c8bc7bb8
RD
5290#if wxUSE_UNICODE
5291 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5292#else
f6bcfd97 5293 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 5294#endif
f6bcfd97
BP
5295}
5296{
5297 delete _result;
5298}
5299 return _resultobj;
5300}
5301
5302#define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5303static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5304 PyObject * _resultobj;
5305 wxString * _result;
5306 wxGridTableBase * _arg0;
5307 int _arg1;
5308 PyObject * _argo0 = 0;
5309 char *_kwnames[] = { "self","col", NULL };
5310
5311 self = self;
5312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5313 return NULL;
5314 if (_argo0) {
5315 if (_argo0 == Py_None) { _arg0 = NULL; }
5316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5318 return NULL;
5319 }
5320 }
5321{
474c48f9 5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5323 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
f6bcfd97 5324
474c48f9 5325 wxPyEndAllowThreads(__tstate);
4dfaa61e 5326 if (PyErr_Occurred()) return NULL;
f6bcfd97 5327}{
c8bc7bb8
RD
5328#if wxUSE_UNICODE
5329 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5330#else
f6bcfd97 5331 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 5332#endif
f6bcfd97
BP
5333}
5334{
5335 delete _result;
5336}
5337 return _resultobj;
5338}
5339
5340#define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5341static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5342 PyObject * _resultobj;
5343 wxGridTableBase * _arg0;
5344 int _arg1;
5345 wxString * _arg2;
5346 PyObject * _argo0 = 0;
5347 PyObject * _obj2 = 0;
5348 char *_kwnames[] = { "self","row","value", NULL };
5349
5350 self = self;
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5352 return NULL;
5353 if (_argo0) {
5354 if (_argo0 == Py_None) { _arg0 = NULL; }
5355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5357 return NULL;
5358 }
5359 }
5360{
c8bc7bb8
RD
5361 _arg2 = wxString_in_helper(_obj2);
5362 if (_arg2 == NULL)
2cd2fac8 5363 return NULL;
f6bcfd97
BP
5364}
5365{
474c48f9 5366 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5367 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
f6bcfd97 5368
474c48f9 5369 wxPyEndAllowThreads(__tstate);
4dfaa61e 5370 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5371} Py_INCREF(Py_None);
5372 _resultobj = Py_None;
5373{
5374 if (_obj2)
5375 delete _arg2;
5376}
5377 return _resultobj;
5378}
5379
5380#define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5381static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5382 PyObject * _resultobj;
5383 wxGridTableBase * _arg0;
5384 int _arg1;
5385 wxString * _arg2;
5386 PyObject * _argo0 = 0;
5387 PyObject * _obj2 = 0;
5388 char *_kwnames[] = { "self","col","value", NULL };
5389
5390 self = self;
5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5392 return NULL;
5393 if (_argo0) {
5394 if (_argo0 == Py_None) { _arg0 = NULL; }
5395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5397 return NULL;
5398 }
5399 }
5400{
c8bc7bb8
RD
5401 _arg2 = wxString_in_helper(_obj2);
5402 if (_arg2 == NULL)
2cd2fac8 5403 return NULL;
f6bcfd97
BP
5404}
5405{
474c48f9 5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5407 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
f6bcfd97 5408
474c48f9 5409 wxPyEndAllowThreads(__tstate);
4dfaa61e 5410 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5411} Py_INCREF(Py_None);
5412 _resultobj = Py_None;
5413{
5414 if (_obj2)
5415 delete _arg2;
5416}
5417 return _resultobj;
5418}
5419
5420#define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5421static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5422 PyObject * _resultobj;
5423 bool _result;
5424 wxGridTableBase * _arg0;
5425 PyObject * _argo0 = 0;
5426 char *_kwnames[] = { "self", NULL };
5427
5428 self = self;
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5430 return NULL;
5431 if (_argo0) {
5432 if (_argo0 == Py_None) { _arg0 = NULL; }
5433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5435 return NULL;
5436 }
5437 }
5438{
474c48f9 5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5440 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
f6bcfd97 5441
474c48f9 5442 wxPyEndAllowThreads(__tstate);
4dfaa61e 5443 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5444} _resultobj = Py_BuildValue("i",_result);
5445 return _resultobj;
5446}
5447
9df61a29 5448#define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
5449static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject * _resultobj;
5451 wxGridCellAttr * _result;
5452 wxGridTableBase * _arg0;
5453 int _arg1;
5454 int _arg2;
9df61a29 5455 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 5456 PyObject * _argo0 = 0;
9df61a29 5457 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
5458 char _ptemp[128];
5459
5460 self = self;
9df61a29 5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
5462 return NULL;
5463 if (_argo0) {
5464 if (_argo0 == Py_None) { _arg0 = NULL; }
5465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5467 return NULL;
5468 }
5469 }
5470{
474c48f9 5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5472 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 5473
474c48f9 5474 wxPyEndAllowThreads(__tstate);
4dfaa61e 5475 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5476} if (_result) {
5477 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5478 _resultobj = Py_BuildValue("s",_ptemp);
5479 } else {
5480 Py_INCREF(Py_None);
5481 _resultobj = Py_None;
5482 }
5483 return _resultobj;
5484}
5485
5486#define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5487static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject * _resultobj;
5489 wxGridTableBase * _arg0;
5490 wxGridCellAttr * _arg1;
5491 int _arg2;
5492 int _arg3;
5493 PyObject * _argo0 = 0;
5494 PyObject * _argo1 = 0;
5495 char *_kwnames[] = { "self","attr","row","col", NULL };
5496
5497 self = self;
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5499 return NULL;
5500 if (_argo0) {
5501 if (_argo0 == Py_None) { _arg0 = NULL; }
5502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5504 return NULL;
5505 }
5506 }
5507 if (_argo1) {
5508 if (_argo1 == Py_None) { _arg1 = NULL; }
5509 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5510 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5511 return NULL;
5512 }
5513 }
5514{
474c48f9 5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5516 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 5517
474c48f9 5518 wxPyEndAllowThreads(__tstate);
4dfaa61e 5519 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5520} Py_INCREF(Py_None);
5521 _resultobj = Py_None;
5522 return _resultobj;
5523}
5524
5525#define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5526static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5527 PyObject * _resultobj;
5528 wxGridTableBase * _arg0;
5529 wxGridCellAttr * _arg1;
5530 int _arg2;
5531 PyObject * _argo0 = 0;
5532 PyObject * _argo1 = 0;
5533 char *_kwnames[] = { "self","attr","row", NULL };
5534
5535 self = self;
5536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5537 return NULL;
5538 if (_argo0) {
5539 if (_argo0 == Py_None) { _arg0 = NULL; }
5540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5542 return NULL;
5543 }
5544 }
5545 if (_argo1) {
5546 if (_argo1 == Py_None) { _arg1 = NULL; }
5547 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5549 return NULL;
5550 }
5551 }
5552{
474c48f9 5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5554 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
f6bcfd97 5555
474c48f9 5556 wxPyEndAllowThreads(__tstate);
4dfaa61e 5557 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5558} Py_INCREF(Py_None);
5559 _resultobj = Py_None;
5560 return _resultobj;
5561}
5562
5563#define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5564static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5565 PyObject * _resultobj;
5566 wxGridTableBase * _arg0;
5567 wxGridCellAttr * _arg1;
5568 int _arg2;
5569 PyObject * _argo0 = 0;
5570 PyObject * _argo1 = 0;
5571 char *_kwnames[] = { "self","attr","col", NULL };
5572
5573 self = self;
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5575 return NULL;
5576 if (_argo0) {
5577 if (_argo0 == Py_None) { _arg0 = NULL; }
5578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5580 return NULL;
5581 }
5582 }
5583 if (_argo1) {
5584 if (_argo1 == Py_None) { _arg1 = NULL; }
5585 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5586 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5587 return NULL;
5588 }
5589 }
5590{
474c48f9 5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5592 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
f6bcfd97 5593
474c48f9 5594 wxPyEndAllowThreads(__tstate);
4dfaa61e 5595 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5596} Py_INCREF(Py_None);
5597 _resultobj = Py_None;
5598 return _resultobj;
5599}
5600
5601static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5602 wxPyGridTableBase *src;
5603 wxGridTableBase *dest;
5604 src = (wxPyGridTableBase *) ptr;
5605 dest = (wxGridTableBase *) src;
5606 return (void *) dest;
5607}
5608
9df61a29
RD
5609static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5610 wxPyGridTableBase *src;
5611 wxObject *dest;
5612 src = (wxPyGridTableBase *) ptr;
5613 dest = (wxObject *) src;
5614 return (void *) dest;
5615}
5616
f6bcfd97
BP
5617#define new_wxPyGridTableBase() (new wxPyGridTableBase())
5618static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5619 PyObject * _resultobj;
5620 wxPyGridTableBase * _result;
5621 char *_kwnames[] = { NULL };
5622 char _ptemp[128];
5623
5624 self = self;
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5626 return NULL;
5627{
474c48f9 5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5629 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
f6bcfd97 5630
474c48f9 5631 wxPyEndAllowThreads(__tstate);
4dfaa61e 5632 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5633} if (_result) {
5634 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5635 _resultobj = Py_BuildValue("s",_ptemp);
5636 } else {
5637 Py_INCREF(Py_None);
5638 _resultobj = Py_None;
5639 }
5640 return _resultobj;
5641}
5642
0220cbc1
RD
5643#define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5644static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
5645 PyObject * _resultobj;
5646 wxPyGridTableBase * _arg0;
5647 PyObject * _arg1;
5648 PyObject * _arg2;
5649 PyObject * _argo0 = 0;
5650 PyObject * _obj1 = 0;
5651 PyObject * _obj2 = 0;
5652 char *_kwnames[] = { "self","self","_class", NULL };
5653
5654 self = self;
0220cbc1 5655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
f6bcfd97
BP
5656 return NULL;
5657 if (_argo0) {
5658 if (_argo0 == Py_None) { _arg0 = NULL; }
5659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
0220cbc1 5660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
f6bcfd97
BP
5661 return NULL;
5662 }
5663 }
5664{
5665 _arg1 = _obj1;
5666}
5667{
5668 _arg2 = _obj2;
5669}
5670{
474c48f9 5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5672 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
f6bcfd97 5673
474c48f9 5674 wxPyEndAllowThreads(__tstate);
4dfaa61e 5675 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5676} Py_INCREF(Py_None);
5677 _resultobj = Py_None;
5678 return _resultobj;
5679}
5680
5681static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5682static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5683 PyObject * _resultobj;
5684 wxPyGridTableBase * _arg0;
5685 PyObject * _argo0 = 0;
5686 char *_kwnames[] = { "self", NULL };
5687
5688 self = self;
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5690 return NULL;
5691 if (_argo0) {
5692 if (_argo0 == Py_None) { _arg0 = NULL; }
5693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5695 return NULL;
5696 }
5697 }
5698{
474c48f9 5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5700 wxPyGridTableBase_Destroy(_arg0);
f6bcfd97 5701
474c48f9 5702 wxPyEndAllowThreads(__tstate);
4dfaa61e 5703 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5704} Py_INCREF(Py_None);
5705 _resultobj = Py_None;
5706 return _resultobj;
5707}
5708
5709#define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5710static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5711 PyObject * _resultobj;
5712 wxString * _result;
5713 wxPyGridTableBase * _arg0;
5714 int _arg1;
5715 int _arg2;
5716 PyObject * _argo0 = 0;
5717 char *_kwnames[] = { "self","row","col", NULL };
5718
5719 self = self;
5720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5721 return NULL;
5722 if (_argo0) {
5723 if (_argo0 == Py_None) { _arg0 = NULL; }
5724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5726 return NULL;
5727 }
5728 }
5729{
474c48f9 5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5731 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
f6bcfd97 5732
474c48f9 5733 wxPyEndAllowThreads(__tstate);
4dfaa61e 5734 if (PyErr_Occurred()) return NULL;
f6bcfd97 5735}{
c8bc7bb8
RD
5736#if wxUSE_UNICODE
5737 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5738#else
f6bcfd97 5739 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 5740#endif
f6bcfd97
BP
5741}
5742{
5743 delete _result;
5744}
5745 return _resultobj;
5746}
5747
5748#define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5749static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5750 PyObject * _resultobj;
5751 bool _result;
5752 wxPyGridTableBase * _arg0;
5753 int _arg1;
5754 int _arg2;
5755 wxString * _arg3;
5756 PyObject * _argo0 = 0;
5757 PyObject * _obj3 = 0;
5758 char *_kwnames[] = { "self","row","col","typeName", NULL };
5759
5760 self = self;
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5762 return NULL;
5763 if (_argo0) {
5764 if (_argo0 == Py_None) { _arg0 = NULL; }
5765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5767 return NULL;
5768 }
5769 }
5770{
c8bc7bb8
RD
5771 _arg3 = wxString_in_helper(_obj3);
5772 if (_arg3 == NULL)
2cd2fac8 5773 return NULL;
f6bcfd97
BP
5774}
5775{
474c48f9 5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5777 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
f6bcfd97 5778
474c48f9 5779 wxPyEndAllowThreads(__tstate);
4dfaa61e 5780 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5781} _resultobj = Py_BuildValue("i",_result);
5782{
5783 if (_obj3)
5784 delete _arg3;
5785}
5786 return _resultobj;
5787}
5788
5789#define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5790static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5791 PyObject * _resultobj;
5792 bool _result;
5793 wxPyGridTableBase * _arg0;
5794 int _arg1;
5795 int _arg2;
5796 wxString * _arg3;
5797 PyObject * _argo0 = 0;
5798 PyObject * _obj3 = 0;
5799 char *_kwnames[] = { "self","row","col","typeName", NULL };
5800
5801 self = self;
5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5803 return NULL;
5804 if (_argo0) {
5805 if (_argo0 == Py_None) { _arg0 = NULL; }
5806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5808 return NULL;
5809 }
5810 }
5811{
c8bc7bb8
RD
5812 _arg3 = wxString_in_helper(_obj3);
5813 if (_arg3 == NULL)
2cd2fac8 5814 return NULL;
f6bcfd97
BP
5815}
5816{
474c48f9 5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5818 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
f6bcfd97 5819
474c48f9 5820 wxPyEndAllowThreads(__tstate);
4dfaa61e 5821 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5822} _resultobj = Py_BuildValue("i",_result);
5823{
5824 if (_obj3)
5825 delete _arg3;
5826}
5827 return _resultobj;
5828}
5829
5830#define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5831static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject * _resultobj;
5833 wxPyGridTableBase * _arg0;
5834 PyObject * _argo0 = 0;
5835 char *_kwnames[] = { "self", NULL };
5836
5837 self = self;
5838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5839 return NULL;
5840 if (_argo0) {
5841 if (_argo0 == Py_None) { _arg0 = NULL; }
5842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5844 return NULL;
5845 }
5846 }
5847{
474c48f9 5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5849 wxPyGridTableBase_base_Clear(_arg0);
f6bcfd97 5850
474c48f9 5851 wxPyEndAllowThreads(__tstate);
4dfaa61e 5852 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5853} Py_INCREF(Py_None);
5854 _resultobj = Py_None;
5855 return _resultobj;
5856}
5857
5858#define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5859static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject * _resultobj;
5861 bool _result;
5862 wxPyGridTableBase * _arg0;
5863 size_t _arg1 = (size_t ) 0;
5864 size_t _arg2 = (size_t ) 1;
5865 PyObject * _argo0 = 0;
5866 char *_kwnames[] = { "self","pos","numRows", NULL };
5867
5868 self = self;
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5870 return NULL;
5871 if (_argo0) {
5872 if (_argo0 == Py_None) { _arg0 = NULL; }
5873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5875 return NULL;
5876 }
5877 }
5878{
474c48f9 5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5880 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
f6bcfd97 5881
474c48f9 5882 wxPyEndAllowThreads(__tstate);
4dfaa61e 5883 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5884} _resultobj = Py_BuildValue("i",_result);
5885 return _resultobj;
5886}
5887
5888#define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5889static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5890 PyObject * _resultobj;
5891 bool _result;
5892 wxPyGridTableBase * _arg0;
5893 size_t _arg1 = (size_t ) 1;
5894 PyObject * _argo0 = 0;
5895 char *_kwnames[] = { "self","numRows", NULL };
5896
5897 self = self;
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5899 return NULL;
5900 if (_argo0) {
5901 if (_argo0 == Py_None) { _arg0 = NULL; }
5902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5904 return NULL;
5905 }
5906 }
5907{
474c48f9 5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5909 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
f6bcfd97 5910
474c48f9 5911 wxPyEndAllowThreads(__tstate);
4dfaa61e 5912 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5913} _resultobj = Py_BuildValue("i",_result);
5914 return _resultobj;
5915}
5916
5917#define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5918static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5919 PyObject * _resultobj;
5920 bool _result;
5921 wxPyGridTableBase * _arg0;
5922 size_t _arg1 = (size_t ) 0;
5923 size_t _arg2 = (size_t ) 1;
5924 PyObject * _argo0 = 0;
5925 char *_kwnames[] = { "self","pos","numRows", NULL };
5926
5927 self = self;
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5929 return NULL;
5930 if (_argo0) {
5931 if (_argo0 == Py_None) { _arg0 = NULL; }
5932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5934 return NULL;
5935 }
5936 }
5937{
474c48f9 5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5939 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
f6bcfd97 5940
474c48f9 5941 wxPyEndAllowThreads(__tstate);
4dfaa61e 5942 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5943} _resultobj = Py_BuildValue("i",_result);
5944 return _resultobj;
5945}
5946
5947#define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5948static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject * _resultobj;
5950 bool _result;
5951 wxPyGridTableBase * _arg0;
5952 size_t _arg1 = (size_t ) 0;
5953 size_t _arg2 = (size_t ) 1;
5954 PyObject * _argo0 = 0;
5955 char *_kwnames[] = { "self","pos","numCols", NULL };
5956
5957 self = self;
5958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5959 return NULL;
5960 if (_argo0) {
5961 if (_argo0 == Py_None) { _arg0 = NULL; }
5962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5964 return NULL;
5965 }
5966 }
5967{
474c48f9 5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5969 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
f6bcfd97 5970
474c48f9 5971 wxPyEndAllowThreads(__tstate);
4dfaa61e 5972 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5973} _resultobj = Py_BuildValue("i",_result);
5974 return _resultobj;
5975}
5976
5977#define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5978static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject * _resultobj;
5980 bool _result;
5981 wxPyGridTableBase * _arg0;
5982 size_t _arg1 = (size_t ) 1;
5983 PyObject * _argo0 = 0;
5984 char *_kwnames[] = { "self","numCols", NULL };
5985
5986 self = self;
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5988 return NULL;
5989 if (_argo0) {
5990 if (_argo0 == Py_None) { _arg0 = NULL; }
5991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5993 return NULL;
5994 }
5995 }
5996{
474c48f9 5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5998 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
f6bcfd97 5999
474c48f9 6000 wxPyEndAllowThreads(__tstate);
4dfaa61e 6001 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6002} _resultobj = Py_BuildValue("i",_result);
6003 return _resultobj;
6004}
6005
6006#define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6007static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6008 PyObject * _resultobj;
6009 bool _result;
6010 wxPyGridTableBase * _arg0;
6011 size_t _arg1 = (size_t ) 0;
6012 size_t _arg2 = (size_t ) 1;
6013 PyObject * _argo0 = 0;
6014 char *_kwnames[] = { "self","pos","numCols", NULL };
6015
6016 self = self;
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
6018 return NULL;
6019 if (_argo0) {
6020 if (_argo0 == Py_None) { _arg0 = NULL; }
6021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6023 return NULL;
6024 }
6025 }
6026{
474c48f9 6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6028 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
f6bcfd97 6029
474c48f9 6030 wxPyEndAllowThreads(__tstate);
4dfaa61e 6031 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6032} _resultobj = Py_BuildValue("i",_result);
6033 return _resultobj;
6034}
6035
6036#define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6037static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6038 PyObject * _resultobj;
6039 wxString * _result;
6040 wxPyGridTableBase * _arg0;
6041 int _arg1;
6042 PyObject * _argo0 = 0;
6043 char *_kwnames[] = { "self","row", NULL };
6044
6045 self = self;
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
6047 return NULL;
6048 if (_argo0) {
6049 if (_argo0 == Py_None) { _arg0 = NULL; }
6050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6052 return NULL;
6053 }
6054 }
6055{
474c48f9 6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6057 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
f6bcfd97 6058
474c48f9 6059 wxPyEndAllowThreads(__tstate);
4dfaa61e 6060 if (PyErr_Occurred()) return NULL;
f6bcfd97 6061}{
c8bc7bb8
RD
6062#if wxUSE_UNICODE
6063 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6064#else
f6bcfd97 6065 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6066#endif
f6bcfd97
BP
6067}
6068{
6069 delete _result;
6070}
6071 return _resultobj;
6072}
6073
6074#define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6075static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject * _resultobj;
6077 wxString * _result;
6078 wxPyGridTableBase * _arg0;
6079 int _arg1;
6080 PyObject * _argo0 = 0;
6081 char *_kwnames[] = { "self","col", NULL };
6082
6083 self = self;
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6085 return NULL;
6086 if (_argo0) {
6087 if (_argo0 == Py_None) { _arg0 = NULL; }
6088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6090 return NULL;
6091 }
6092 }
6093{
474c48f9 6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6095 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
f6bcfd97 6096
474c48f9 6097 wxPyEndAllowThreads(__tstate);
4dfaa61e 6098 if (PyErr_Occurred()) return NULL;
f6bcfd97 6099}{
c8bc7bb8
RD
6100#if wxUSE_UNICODE
6101 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6102#else
f6bcfd97 6103 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6104#endif
f6bcfd97
BP
6105}
6106{
6107 delete _result;
6108}
6109 return _resultobj;
6110}
6111
6112#define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6113static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6114 PyObject * _resultobj;
6115 wxPyGridTableBase * _arg0;
6116 int _arg1;
6117 wxString * _arg2;
6118 PyObject * _argo0 = 0;
6119 PyObject * _obj2 = 0;
6120 char *_kwnames[] = { "self","row","value", NULL };
6121
6122 self = self;
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6124 return NULL;
6125 if (_argo0) {
6126 if (_argo0 == Py_None) { _arg0 = NULL; }
6127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6129 return NULL;
6130 }
6131 }
6132{
c8bc7bb8
RD
6133 _arg2 = wxString_in_helper(_obj2);
6134 if (_arg2 == NULL)
f6bcfd97 6135 return NULL;
f6bcfd97
BP
6136}
6137{
474c48f9 6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6139 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
f6bcfd97 6140
474c48f9 6141 wxPyEndAllowThreads(__tstate);
4dfaa61e 6142 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6143} Py_INCREF(Py_None);
6144 _resultobj = Py_None;
6145{
6146 if (_obj2)
6147 delete _arg2;
6148}
6149 return _resultobj;
6150}
6151
6152#define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6153static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject * _resultobj;
6155 wxPyGridTableBase * _arg0;
6156 int _arg1;
6157 wxString * _arg2;
6158 PyObject * _argo0 = 0;
6159 PyObject * _obj2 = 0;
6160 char *_kwnames[] = { "self","col","value", NULL };
6161
6162 self = self;
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6164 return NULL;
6165 if (_argo0) {
6166 if (_argo0 == Py_None) { _arg0 = NULL; }
6167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6169 return NULL;
6170 }
6171 }
6172{
c8bc7bb8
RD
6173 _arg2 = wxString_in_helper(_obj2);
6174 if (_arg2 == NULL)
2cd2fac8 6175 return NULL;
f6bcfd97
BP
6176}
6177{
474c48f9 6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6179 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
f6bcfd97 6180
474c48f9 6181 wxPyEndAllowThreads(__tstate);
4dfaa61e 6182 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6183} Py_INCREF(Py_None);
6184 _resultobj = Py_None;
6185{
6186 if (_obj2)
6187 delete _arg2;
6188}
6189 return _resultobj;
6190}
6191
6192#define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6193static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject * _resultobj;
6195 bool _result;
6196 wxPyGridTableBase * _arg0;
6197 PyObject * _argo0 = 0;
6198 char *_kwnames[] = { "self", NULL };
6199
6200 self = self;
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6202 return NULL;
6203 if (_argo0) {
6204 if (_argo0 == Py_None) { _arg0 = NULL; }
6205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6207 return NULL;
6208 }
6209 }
6210{
474c48f9 6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6212 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
f6bcfd97 6213
474c48f9 6214 wxPyEndAllowThreads(__tstate);
4dfaa61e 6215 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6216} _resultobj = Py_BuildValue("i",_result);
6217 return _resultobj;
6218}
6219
9df61a29 6220#define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
6221static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject * _resultobj;
6223 wxGridCellAttr * _result;
6224 wxPyGridTableBase * _arg0;
6225 int _arg1;
6226 int _arg2;
9df61a29 6227 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 6228 PyObject * _argo0 = 0;
9df61a29 6229 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
6230 char _ptemp[128];
6231
6232 self = self;
9df61a29 6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
6234 return NULL;
6235 if (_argo0) {
6236 if (_argo0 == Py_None) { _arg0 = NULL; }
6237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6239 return NULL;
6240 }
6241 }
6242{
474c48f9 6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6244 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 6245
474c48f9 6246 wxPyEndAllowThreads(__tstate);
4dfaa61e 6247 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6248} if (_result) {
6249 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
6250 _resultobj = Py_BuildValue("s",_ptemp);
6251 } else {
6252 Py_INCREF(Py_None);
6253 _resultobj = Py_None;
6254 }
6255 return _resultobj;
6256}
6257
6258#define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6259static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6260 PyObject * _resultobj;
6261 wxPyGridTableBase * _arg0;
6262 wxGridCellAttr * _arg1;
6263 int _arg2;
6264 int _arg3;
6265 PyObject * _argo0 = 0;
6266 PyObject * _argo1 = 0;
6267 char *_kwnames[] = { "self","attr","row","col", NULL };
6268
6269 self = self;
6270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6271 return NULL;
6272 if (_argo0) {
6273 if (_argo0 == Py_None) { _arg0 = NULL; }
6274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6276 return NULL;
6277 }
6278 }
6279 if (_argo1) {
6280 if (_argo1 == Py_None) { _arg1 = NULL; }
6281 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6282 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6283 return NULL;
6284 }
6285 }
6286{
474c48f9 6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6288 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 6289
474c48f9 6290 wxPyEndAllowThreads(__tstate);
4dfaa61e 6291 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6292} Py_INCREF(Py_None);
6293 _resultobj = Py_None;
6294 return _resultobj;
6295}
6296
6297#define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6298static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6299 PyObject * _resultobj;
6300 wxPyGridTableBase * _arg0;
6301 wxGridCellAttr * _arg1;
6302 int _arg2;
6303 PyObject * _argo0 = 0;
6304 PyObject * _argo1 = 0;
6305 char *_kwnames[] = { "self","attr","row", NULL };
6306
6307 self = self;
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6309 return NULL;
6310 if (_argo0) {
6311 if (_argo0 == Py_None) { _arg0 = NULL; }
6312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6314 return NULL;
6315 }
6316 }
6317 if (_argo1) {
6318 if (_argo1 == Py_None) { _arg1 = NULL; }
6319 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6320 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6321 return NULL;
6322 }
6323 }
6324{
474c48f9 6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6326 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
f6bcfd97 6327
474c48f9 6328 wxPyEndAllowThreads(__tstate);
4dfaa61e 6329 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6330} Py_INCREF(Py_None);
6331 _resultobj = Py_None;
6332 return _resultobj;
6333}
6334
6335#define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6336static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6337 PyObject * _resultobj;
6338 wxPyGridTableBase * _arg0;
6339 wxGridCellAttr * _arg1;
6340 int _arg2;
6341 PyObject * _argo0 = 0;
6342 PyObject * _argo1 = 0;
6343 char *_kwnames[] = { "self","attr","col", NULL };
6344
6345 self = self;
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6347 return NULL;
6348 if (_argo0) {
6349 if (_argo0 == Py_None) { _arg0 = NULL; }
6350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6352 return NULL;
6353 }
6354 }
6355 if (_argo1) {
6356 if (_argo1 == Py_None) { _arg1 = NULL; }
6357 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6358 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6359 return NULL;
6360 }
6361 }
6362{
474c48f9 6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6364 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
f6bcfd97 6365
474c48f9 6366 wxPyEndAllowThreads(__tstate);
4dfaa61e 6367 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6368} Py_INCREF(Py_None);
6369 _resultobj = Py_None;
6370 return _resultobj;
6371}
6372
6373static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6374 wxGridStringTable *src;
6375 wxGridTableBase *dest;
6376 src = (wxGridStringTable *) ptr;
6377 dest = (wxGridTableBase *) src;
6378 return (void *) dest;
6379}
6380
9df61a29
RD
6381static void *SwigwxGridStringTableTowxObject(void *ptr) {
6382 wxGridStringTable *src;
6383 wxObject *dest;
6384 src = (wxGridStringTable *) ptr;
6385 dest = (wxObject *) src;
6386 return (void *) dest;
6387}
6388
f6bcfd97
BP
6389#define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6390static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject * _resultobj;
6392 wxGridStringTable * _result;
6393 int _arg0 = (int ) 0;
6394 int _arg1 = (int ) 0;
6395 char *_kwnames[] = { "numRows","numCols", NULL };
6396 char _ptemp[128];
6397
6398 self = self;
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6400 return NULL;
6401{
474c48f9 6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6403 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
f6bcfd97 6404
474c48f9 6405 wxPyEndAllowThreads(__tstate);
4dfaa61e 6406 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6407} if (_result) {
6408 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6409 _resultobj = Py_BuildValue("s",_ptemp);
6410 } else {
6411 Py_INCREF(Py_None);
6412 _resultobj = Py_None;
6413 }
6414 return _resultobj;
6415}
6416
6417#define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6418static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6419 PyObject * _resultobj;
6420 wxGridTableMessage * _result;
6421 wxGridTableBase * _arg0;
6422 int _arg1;
6423 int _arg2 = (int ) -1;
6424 int _arg3 = (int ) -1;
6425 PyObject * _argo0 = 0;
6426 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6427 char _ptemp[128];
6428
6429 self = self;
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6431 return NULL;
6432 if (_argo0) {
6433 if (_argo0 == Py_None) { _arg0 = NULL; }
6434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6436 return NULL;
6437 }
6438 }
6439{
474c48f9 6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6441 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 6442
474c48f9 6443 wxPyEndAllowThreads(__tstate);
4dfaa61e 6444 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6445} if (_result) {
6446 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6447 _resultobj = Py_BuildValue("s",_ptemp);
6448 } else {
6449 Py_INCREF(Py_None);
6450 _resultobj = Py_None;
6451 }
6452 return _resultobj;
6453}
6454
6455#define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6456static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject * _resultobj;
6458 wxGridTableMessage * _arg0;
6459 PyObject * _argo0 = 0;
6460 char *_kwnames[] = { "self", NULL };
6461
6462 self = self;
6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6464 return NULL;
6465 if (_argo0) {
6466 if (_argo0 == Py_None) { _arg0 = NULL; }
6467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6469 return NULL;
6470 }
6471 }
6472{
474c48f9 6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6474 delete_wxGridTableMessage(_arg0);
f6bcfd97 6475
474c48f9 6476 wxPyEndAllowThreads(__tstate);
4dfaa61e 6477 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6478} Py_INCREF(Py_None);
6479 _resultobj = Py_None;
6480 return _resultobj;
6481}
6482
6483#define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6484static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6485 PyObject * _resultobj;
6486 wxGridTableMessage * _arg0;
6487 wxGridTableBase * _arg1;
6488 PyObject * _argo0 = 0;
6489 PyObject * _argo1 = 0;
6490 char *_kwnames[] = { "self","table", NULL };
6491
6492 self = self;
6493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6494 return NULL;
6495 if (_argo0) {
6496 if (_argo0 == Py_None) { _arg0 = NULL; }
6497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6499 return NULL;
6500 }
6501 }
6502 if (_argo1) {
6503 if (_argo1 == Py_None) { _arg1 = NULL; }
6504 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6505 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6506 return NULL;
6507 }
6508 }
6509{
474c48f9 6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6511 wxGridTableMessage_SetTableObject(_arg0,_arg1);
f6bcfd97 6512
474c48f9 6513 wxPyEndAllowThreads(__tstate);
4dfaa61e 6514 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6515} Py_INCREF(Py_None);
6516 _resultobj = Py_None;
6517 return _resultobj;
6518}
6519
6520#define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6521static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6522 PyObject * _resultobj;
6523 wxGridTableBase * _result;
6524 wxGridTableMessage * _arg0;
6525 PyObject * _argo0 = 0;
6526 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
6527
6528 self = self;
6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6530 return NULL;
6531 if (_argo0) {
6532 if (_argo0 == Py_None) { _arg0 = NULL; }
6533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6535 return NULL;
6536 }
6537 }
6538{
474c48f9 6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6540 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
f6bcfd97 6541
474c48f9 6542 wxPyEndAllowThreads(__tstate);
4dfaa61e 6543 if (PyErr_Occurred()) return NULL;
9df61a29 6544}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
6545 return _resultobj;
6546}
6547
6548#define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6549static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6550 PyObject * _resultobj;
6551 wxGridTableMessage * _arg0;
6552 int _arg1;
6553 PyObject * _argo0 = 0;
6554 char *_kwnames[] = { "self","id", NULL };
6555
6556 self = self;
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6558 return NULL;
6559 if (_argo0) {
6560 if (_argo0 == Py_None) { _arg0 = NULL; }
6561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6563 return NULL;
6564 }
6565 }
6566{
474c48f9 6567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6568 wxGridTableMessage_SetId(_arg0,_arg1);
f6bcfd97 6569
474c48f9 6570 wxPyEndAllowThreads(__tstate);
4dfaa61e 6571 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6572} Py_INCREF(Py_None);
6573 _resultobj = Py_None;
6574 return _resultobj;
6575}
6576
6577#define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6578static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6579 PyObject * _resultobj;
6580 int _result;
6581 wxGridTableMessage * _arg0;
6582 PyObject * _argo0 = 0;
6583 char *_kwnames[] = { "self", NULL };
6584
6585 self = self;
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6587 return NULL;
6588 if (_argo0) {
6589 if (_argo0 == Py_None) { _arg0 = NULL; }
6590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6592 return NULL;
6593 }
6594 }
6595{
474c48f9 6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6597 _result = (int )wxGridTableMessage_GetId(_arg0);
f6bcfd97 6598
474c48f9 6599 wxPyEndAllowThreads(__tstate);
4dfaa61e 6600 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6601} _resultobj = Py_BuildValue("i",_result);
6602 return _resultobj;
6603}
6604
6605#define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6606static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject * _resultobj;
6608 wxGridTableMessage * _arg0;
6609 int _arg1;
6610 PyObject * _argo0 = 0;
6611 char *_kwnames[] = { "self","comInt1", NULL };
6612
6613 self = self;
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6615 return NULL;
6616 if (_argo0) {
6617 if (_argo0 == Py_None) { _arg0 = NULL; }
6618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6620 return NULL;
6621 }
6622 }
6623{
474c48f9 6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6625 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
f6bcfd97 6626
474c48f9 6627 wxPyEndAllowThreads(__tstate);
4dfaa61e 6628 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6629} Py_INCREF(Py_None);
6630 _resultobj = Py_None;
6631 return _resultobj;
6632}
6633
6634#define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6635static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject * _resultobj;
6637 int _result;
6638 wxGridTableMessage * _arg0;
6639 PyObject * _argo0 = 0;
6640 char *_kwnames[] = { "self", NULL };
6641
6642 self = self;
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6644 return NULL;
6645 if (_argo0) {
6646 if (_argo0 == Py_None) { _arg0 = NULL; }
6647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6649 return NULL;
6650 }
6651 }
6652{
474c48f9 6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6654 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
f6bcfd97 6655
474c48f9 6656 wxPyEndAllowThreads(__tstate);
4dfaa61e 6657 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6658} _resultobj = Py_BuildValue("i",_result);
6659 return _resultobj;
6660}
6661
6662#define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6663static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6664 PyObject * _resultobj;
6665 wxGridTableMessage * _arg0;
6666 int _arg1;
6667 PyObject * _argo0 = 0;
6668 char *_kwnames[] = { "self","comInt2", NULL };
6669
6670 self = self;
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6672 return NULL;
6673 if (_argo0) {
6674 if (_argo0 == Py_None) { _arg0 = NULL; }
6675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6677 return NULL;
6678 }
6679 }
6680{
474c48f9 6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6682 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
f6bcfd97 6683
474c48f9 6684 wxPyEndAllowThreads(__tstate);
4dfaa61e 6685 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6686} Py_INCREF(Py_None);
6687 _resultobj = Py_None;
6688 return _resultobj;
6689}
6690
6691#define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6692static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6693 PyObject * _resultobj;
6694 int _result;
6695 wxGridTableMessage * _arg0;
6696 PyObject * _argo0 = 0;
6697 char *_kwnames[] = { "self", NULL };
6698
6699 self = self;
6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6701 return NULL;
6702 if (_argo0) {
6703 if (_argo0 == Py_None) { _arg0 = NULL; }
6704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6706 return NULL;
6707 }
6708 }
6709{
474c48f9 6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6711 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
f6bcfd97 6712
474c48f9 6713 wxPyEndAllowThreads(__tstate);
4dfaa61e 6714 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6715} _resultobj = Py_BuildValue("i",_result);
6716 return _resultobj;
6717}
6718
6719#define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6720static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6721 PyObject * _resultobj;
6722 wxGridCellCoords * _result;
6723 int _arg0 = (int ) -1;
6724 int _arg1 = (int ) -1;
6725 char *_kwnames[] = { "r","c", NULL };
6726 char _ptemp[128];
6727
6728 self = self;
6729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6730 return NULL;
6731{
474c48f9 6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6733 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
f6bcfd97 6734
474c48f9 6735 wxPyEndAllowThreads(__tstate);
4dfaa61e 6736 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6737} if (_result) {
6738 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6739 _resultobj = Py_BuildValue("s",_ptemp);
6740 } else {
6741 Py_INCREF(Py_None);
6742 _resultobj = Py_None;
6743 }
6744 return _resultobj;
6745}
6746
6747#define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6748static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject * _resultobj;
6750 wxGridCellCoords * _arg0;
6751 PyObject * _argo0 = 0;
6752 char *_kwnames[] = { "self", NULL };
6753
6754 self = self;
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6756 return NULL;
6757 if (_argo0) {
6758 if (_argo0 == Py_None) { _arg0 = NULL; }
6759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6761 return NULL;
6762 }
6763 }
6764{
474c48f9 6765 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6766 delete_wxGridCellCoords(_arg0);
f6bcfd97 6767
474c48f9 6768 wxPyEndAllowThreads(__tstate);
4dfaa61e 6769 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6770} Py_INCREF(Py_None);
6771 _resultobj = Py_None;
6772 return _resultobj;
6773}
6774
6775#define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6776static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6777 PyObject * _resultobj;
6778 int _result;
6779 wxGridCellCoords * _arg0;
6780 PyObject * _argo0 = 0;
6781 char *_kwnames[] = { "self", NULL };
6782
6783 self = self;
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6785 return NULL;
6786 if (_argo0) {
6787 if (_argo0 == Py_None) { _arg0 = NULL; }
6788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6790 return NULL;
6791 }
6792 }
6793{
474c48f9 6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6795 _result = (int )wxGridCellCoords_GetRow(_arg0);
f6bcfd97 6796
474c48f9 6797 wxPyEndAllowThreads(__tstate);
4dfaa61e 6798 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6799} _resultobj = Py_BuildValue("i",_result);
6800 return _resultobj;
6801}
6802
6803#define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6804static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject * _resultobj;
6806 wxGridCellCoords * _arg0;
6807 int _arg1;
6808 PyObject * _argo0 = 0;
6809 char *_kwnames[] = { "self","n", NULL };
6810
6811 self = self;
6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6813 return NULL;
6814 if (_argo0) {
6815 if (_argo0 == Py_None) { _arg0 = NULL; }
6816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6818 return NULL;
6819 }
6820 }
6821{
474c48f9 6822 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6823 wxGridCellCoords_SetRow(_arg0,_arg1);
f6bcfd97 6824
474c48f9 6825 wxPyEndAllowThreads(__tstate);
4dfaa61e 6826 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6827} Py_INCREF(Py_None);
6828 _resultobj = Py_None;
6829 return _resultobj;
6830}
6831
6832#define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6833static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6834 PyObject * _resultobj;
6835 int _result;
6836 wxGridCellCoords * _arg0;
6837 PyObject * _argo0 = 0;
6838 char *_kwnames[] = { "self", NULL };
6839
6840 self = self;
6841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6842 return NULL;
6843 if (_argo0) {
6844 if (_argo0 == Py_None) { _arg0 = NULL; }
6845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6847 return NULL;
6848 }
6849 }
6850{
474c48f9 6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6852 _result = (int )wxGridCellCoords_GetCol(_arg0);
f6bcfd97 6853
474c48f9 6854 wxPyEndAllowThreads(__tstate);
4dfaa61e 6855 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6856} _resultobj = Py_BuildValue("i",_result);
6857 return _resultobj;
6858}
6859
6860#define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6861static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6862 PyObject * _resultobj;
6863 wxGridCellCoords * _arg0;
6864 int _arg1;
6865 PyObject * _argo0 = 0;
6866 char *_kwnames[] = { "self","n", NULL };
6867
6868 self = self;
6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6870 return NULL;
6871 if (_argo0) {
6872 if (_argo0 == Py_None) { _arg0 = NULL; }
6873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6875 return NULL;
6876 }
6877 }
6878{
474c48f9 6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6880 wxGridCellCoords_SetCol(_arg0,_arg1);
f6bcfd97 6881
474c48f9 6882 wxPyEndAllowThreads(__tstate);
4dfaa61e 6883 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6884} Py_INCREF(Py_None);
6885 _resultobj = Py_None;
6886 return _resultobj;
6887}
6888
6889#define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6890static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6891 PyObject * _resultobj;
6892 wxGridCellCoords * _arg0;
6893 int _arg1;
6894 int _arg2;
6895 PyObject * _argo0 = 0;
6896 char *_kwnames[] = { "self","row","col", NULL };
6897
6898 self = self;
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6900 return NULL;
6901 if (_argo0) {
6902 if (_argo0 == Py_None) { _arg0 = NULL; }
6903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6905 return NULL;
6906 }
6907 }
6908{
474c48f9 6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6910 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
f6bcfd97 6911
474c48f9 6912 wxPyEndAllowThreads(__tstate);
4dfaa61e 6913 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6914} Py_INCREF(Py_None);
6915 _resultobj = Py_None;
6916 return _resultobj;
6917}
6918
6919static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6920 PyObject* tup = PyTuple_New(2);
6921 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6922 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6923 return tup;
6924 }
6925static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6926 PyObject * _resultobj;
6927 PyObject * _result;
6928 wxGridCellCoords * _arg0;
6929 PyObject * _argo0 = 0;
6930 char *_kwnames[] = { "self", NULL };
6931
6932 self = self;
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6934 return NULL;
6935 if (_argo0) {
6936 if (_argo0 == Py_None) { _arg0 = NULL; }
6937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6939 return NULL;
6940 }
6941 }
6942{
474c48f9 6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6944 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
f6bcfd97 6945
474c48f9 6946 wxPyEndAllowThreads(__tstate);
4dfaa61e 6947 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6948}{
6949 _resultobj = _result;
6950}
6951 return _resultobj;
6952}
6953
6954static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6955 return *self != other;
6956 }
6957static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6958 PyObject * _resultobj;
6959 int _result;
6960 wxGridCellCoords * _arg0;
6961 wxGridCellCoords * _arg1;
6962 PyObject * _argo0 = 0;
6963 PyObject * _argo1 = 0;
6964 char *_kwnames[] = { "self","other", NULL };
6965
6966 self = self;
6967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6968 return NULL;
6969 if (_argo0) {
6970 if (_argo0 == Py_None) { _arg0 = NULL; }
6971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6973 return NULL;
6974 }
6975 }
6976 if (_argo1) {
6977 if (_argo1 == Py_None) { _arg1 = NULL; }
6978 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6979 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6980 return NULL;
6981 }
6982 }
6983{
474c48f9 6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6985 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
f6bcfd97 6986
474c48f9 6987 wxPyEndAllowThreads(__tstate);
4dfaa61e 6988 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6989} _resultobj = Py_BuildValue("i",_result);
6990 return _resultobj;
6991}
6992
6993static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6994 wxGrid *src;
6995 wxScrolledWindow *dest;
6996 src = (wxGrid *) ptr;
6997 dest = (wxScrolledWindow *) src;
6998 return (void *) dest;
6999}
7000
7001static void *SwigwxGridTowxPanel(void *ptr) {
7002 wxGrid *src;
7003 wxPanel *dest;
7004 src = (wxGrid *) ptr;
7005 dest = (wxPanel *) src;
7006 return (void *) dest;
7007}
7008
7009static void *SwigwxGridTowxWindow(void *ptr) {
7010 wxGrid *src;
7011 wxWindow *dest;
7012 src = (wxGrid *) ptr;
7013 dest = (wxWindow *) src;
7014 return (void *) dest;
7015}
7016
7017static void *SwigwxGridTowxEvtHandler(void *ptr) {
7018 wxGrid *src;
7019 wxEvtHandler *dest;
7020 src = (wxGrid *) ptr;
7021 dest = (wxEvtHandler *) src;
7022 return (void *) dest;
7023}
7024
9df61a29
RD
7025static void *SwigwxGridTowxObject(void *ptr) {
7026 wxGrid *src;
7027 wxObject *dest;
7028 src = (wxGrid *) ptr;
7029 dest = (wxObject *) src;
7030 return (void *) dest;
7031}
7032
f6bcfd97
BP
7033#define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7034static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject * _resultobj;
7036 wxGrid * _result;
7037 wxWindow * _arg0;
7038 wxWindowID _arg1;
7039 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7040 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7041 long _arg4 = (long ) wxWANTS_CHARS;
9a74fcaf 7042 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
f6bcfd97
BP
7043 PyObject * _argo0 = 0;
7044 wxPoint temp;
7045 PyObject * _obj2 = 0;
7046 wxSize temp0;
7047 PyObject * _obj3 = 0;
9a74fcaf 7048 PyObject * _obj5 = 0;
f6bcfd97
BP
7049 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7050 char _ptemp[128];
7051
7052 self = self;
9a74fcaf 7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
f6bcfd97
BP
7054 return NULL;
7055 if (_argo0) {
7056 if (_argo0 == Py_None) { _arg0 = NULL; }
7057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7059 return NULL;
7060 }
7061 }
7062 if (_obj2)
7063{
7064 _arg2 = &temp;
7065 if (! wxPoint_helper(_obj2, &_arg2))
7066 return NULL;
7067}
7068 if (_obj3)
7069{
7070 _arg3 = &temp0;
7071 if (! wxSize_helper(_obj3, &_arg3))
7072 return NULL;
9a74fcaf
RD
7073}
7074 if (_obj5)
7075{
7076 _arg5 = wxString_in_helper(_obj5);
7077 if (_arg5 == NULL)
7078 return NULL;
f6bcfd97
BP
7079}
7080{
474c48f9 7081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 7082 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
f6bcfd97 7083
474c48f9 7084 wxPyEndAllowThreads(__tstate);
4dfaa61e 7085 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7086} if (_result) {
7087 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7088 _resultobj = Py_BuildValue("s",_ptemp);
7089 } else {
7090 Py_INCREF(Py_None);
7091 _resultobj = Py_None;
7092 }
9a74fcaf
RD
7093{
7094 if (_obj5)
7095 delete _arg5;
7096}
f6bcfd97
BP
7097 return _resultobj;
7098}
7099
7100#define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7101static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7102 PyObject * _resultobj;
7103 bool _result;
7104 wxGrid * _arg0;
7105 int _arg1;
7106 int _arg2;
7107 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7108 PyObject * _argo0 = 0;
7109 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7110
7111 self = self;
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7113 return NULL;
7114 if (_argo0) {
7115 if (_argo0 == Py_None) { _arg0 = NULL; }
7116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7118 return NULL;
7119 }
7120 }
7121{
474c48f9 7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7123 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 7124
474c48f9 7125 wxPyEndAllowThreads(__tstate);
4dfaa61e 7126 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7127} _resultobj = Py_BuildValue("i",_result);
7128 return _resultobj;
7129}
7130
7131#define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7132static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7133 PyObject * _resultobj;
7134 wxGrid * _arg0;
7135 WXGRIDSELECTIONMODES _arg1;
7136 PyObject * _argo0 = 0;
7137 char *_kwnames[] = { "self","selmode", NULL };
7138
7139 self = self;
7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
7141 return NULL;
7142 if (_argo0) {
7143 if (_argo0 == Py_None) { _arg0 = NULL; }
7144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7146 return NULL;
7147 }
7148 }
7149{
474c48f9 7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7151 wxGrid_SetSelectionMode(_arg0,_arg1);
f6bcfd97 7152
474c48f9 7153 wxPyEndAllowThreads(__tstate);
4dfaa61e 7154 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7155} Py_INCREF(Py_None);
7156 _resultobj = Py_None;
7157 return _resultobj;
7158}
7159
7160#define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7161static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7162 PyObject * _resultobj;
7163 int _result;
7164 wxGrid * _arg0;
7165 PyObject * _argo0 = 0;
7166 char *_kwnames[] = { "self", NULL };
7167
7168 self = self;
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7170 return NULL;
7171 if (_argo0) {
7172 if (_argo0 == Py_None) { _arg0 = NULL; }
7173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7175 return NULL;
7176 }
7177 }
7178{
474c48f9 7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7180 _result = (int )wxGrid_GetNumberRows(_arg0);
f6bcfd97 7181
474c48f9 7182 wxPyEndAllowThreads(__tstate);
4dfaa61e 7183 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7184} _resultobj = Py_BuildValue("i",_result);
7185 return _resultobj;
7186}
7187
7188#define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7189static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject * _resultobj;
7191 int _result;
7192 wxGrid * _arg0;
7193 PyObject * _argo0 = 0;
7194 char *_kwnames[] = { "self", NULL };
7195
7196 self = self;
7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7198 return NULL;
7199 if (_argo0) {
7200 if (_argo0 == Py_None) { _arg0 = NULL; }
7201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7203 return NULL;
7204 }
7205 }
7206{
474c48f9 7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7208 _result = (int )wxGrid_GetNumberCols(_arg0);
f6bcfd97 7209
474c48f9 7210 wxPyEndAllowThreads(__tstate);
4dfaa61e 7211 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7212} _resultobj = Py_BuildValue("i",_result);
7213 return _resultobj;
7214}
7215
7216#define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7217static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7218 PyObject * _resultobj;
7219 bool _result;
7220 wxGrid * _arg0;
7221 wxGridTableMessage * _arg1;
7222 PyObject * _argo0 = 0;
7223 PyObject * _argo1 = 0;
7224 char *_kwnames[] = { "self","arg2", NULL };
7225
7226 self = self;
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7228 return NULL;
7229 if (_argo0) {
7230 if (_argo0 == Py_None) { _arg0 = NULL; }
7231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7233 return NULL;
7234 }
7235 }
7236 if (_argo1) {
7237 if (_argo1 == Py_None) { _arg1 = NULL; }
7238 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7239 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7240 return NULL;
7241 }
7242 }
7243{
474c48f9 7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7245 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
f6bcfd97 7246
474c48f9 7247 wxPyEndAllowThreads(__tstate);
4dfaa61e 7248 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7249} _resultobj = Py_BuildValue("i",_result);
7250 return _resultobj;
7251}
7252
7253#define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7254static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject * _resultobj;
7256 wxGridTableBase * _result;
7257 wxGrid * _arg0;
7258 PyObject * _argo0 = 0;
7259 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
7260
7261 self = self;
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7263 return NULL;
7264 if (_argo0) {
7265 if (_argo0 == Py_None) { _arg0 = NULL; }
7266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7268 return NULL;
7269 }
7270 }
7271{
474c48f9 7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7273 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
f6bcfd97 7274
474c48f9 7275 wxPyEndAllowThreads(__tstate);
4dfaa61e 7276 if (PyErr_Occurred()) return NULL;
9df61a29 7277}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
7278 return _resultobj;
7279}
7280
7281#define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7282static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7283 PyObject * _resultobj;
7284 bool _result;
7285 wxGrid * _arg0;
7286 wxGridTableBase * _arg1;
7287 bool _arg2 = (bool ) FALSE;
7288 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7289 PyObject * _argo0 = 0;
7290 PyObject * _argo1 = 0;
7291 int tempbool2 = (int) FALSE;
7292 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7293
7294 self = self;
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7296 return NULL;
7297 if (_argo0) {
7298 if (_argo0 == Py_None) { _arg0 = NULL; }
7299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7301 return NULL;
7302 }
7303 }
7304 if (_argo1) {
7305 if (_argo1 == Py_None) { _arg1 = NULL; }
7306 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7307 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7308 return NULL;
7309 }
7310 }
7311 _arg2 = (bool ) tempbool2;
7312{
474c48f9 7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7314 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 7315
474c48f9 7316 wxPyEndAllowThreads(__tstate);
4dfaa61e 7317 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7318} _resultobj = Py_BuildValue("i",_result);
7319 return _resultobj;
7320}
7321
7322#define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7323static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7324 PyObject * _resultobj;
7325 wxGrid * _arg0;
7326 PyObject * _argo0 = 0;
7327 char *_kwnames[] = { "self", NULL };
7328
7329 self = self;
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7331 return NULL;
7332 if (_argo0) {
7333 if (_argo0 == Py_None) { _arg0 = NULL; }
7334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7336 return NULL;
7337 }
7338 }
7339{
474c48f9 7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7341 wxGrid_ClearGrid(_arg0);
f6bcfd97 7342
474c48f9 7343 wxPyEndAllowThreads(__tstate);
4dfaa61e 7344 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7345} Py_INCREF(Py_None);
7346 _resultobj = Py_None;
7347 return _resultobj;
7348}
7349
7350#define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7351static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject * _resultobj;
7353 bool _result;
7354 wxGrid * _arg0;
7355 int _arg1 = (int ) 0;
7356 int _arg2 = (int ) 1;
7357 bool _arg3 = (bool ) TRUE;
7358 PyObject * _argo0 = 0;
7359 int tempbool3 = (int) TRUE;
7360 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7361
7362 self = self;
7363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7364 return NULL;
7365 if (_argo0) {
7366 if (_argo0 == Py_None) { _arg0 = NULL; }
7367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7369 return NULL;
7370 }
7371 }
7372 _arg3 = (bool ) tempbool3;
7373{
474c48f9 7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7375 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 7376
474c48f9 7377 wxPyEndAllowThreads(__tstate);
4dfaa61e 7378 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7379} _resultobj = Py_BuildValue("i",_result);
7380 return _resultobj;
7381}
7382
7383#define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7384static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7385 PyObject * _resultobj;
7386 bool _result;
7387 wxGrid * _arg0;
7388 int _arg1 = (int ) 1;
7389 bool _arg2 = (bool ) TRUE;
7390 PyObject * _argo0 = 0;
7391 int tempbool2 = (int) TRUE;
7392 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7393
7394 self = self;
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7396 return NULL;
7397 if (_argo0) {
7398 if (_argo0 == Py_None) { _arg0 = NULL; }
7399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7401 return NULL;
7402 }
7403 }
7404 _arg2 = (bool ) tempbool2;
7405{
474c48f9 7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7407 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
f6bcfd97 7408
474c48f9 7409 wxPyEndAllowThreads(__tstate);
4dfaa61e 7410 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7411} _resultobj = Py_BuildValue("i",_result);
7412 return _resultobj;
7413}
7414
7415#define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7416static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject * _resultobj;
7418 bool _result;
7419 wxGrid * _arg0;
7420 int _arg1 = (int ) 0;
7421 int _arg2 = (int ) 1;
7422 bool _arg3 = (bool ) TRUE;
7423 PyObject * _argo0 = 0;
7424 int tempbool3 = (int) TRUE;
7425 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7426
7427 self = self;
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7429 return NULL;
7430 if (_argo0) {
7431 if (_argo0 == Py_None) { _arg0 = NULL; }
7432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7434 return NULL;
7435 }
7436 }
7437 _arg3 = (bool ) tempbool3;
7438{
474c48f9 7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7440 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 7441
474c48f9 7442 wxPyEndAllowThreads(__tstate);
4dfaa61e 7443 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7444} _resultobj = Py_BuildValue("i",_result);
7445 return _resultobj;
7446}
7447
7448#define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7449static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject * _resultobj;
7451 bool _result;
7452 wxGrid * _arg0;
7453 int _arg1 = (int ) 0;
7454 int _arg2 = (int ) 1;
7455 bool _arg3 = (bool ) TRUE;
7456 PyObject * _argo0 = 0;
7457 int tempbool3 = (int) TRUE;
7458 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7459
7460 self = self;
7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7462 return NULL;
7463 if (_argo0) {
7464 if (_argo0 == Py_None) { _arg0 = NULL; }
7465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7467 return NULL;
7468 }
7469 }
7470 _arg3 = (bool ) tempbool3;
7471{
474c48f9 7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7473 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 7474
474c48f9 7475 wxPyEndAllowThreads(__tstate);
4dfaa61e 7476 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7477} _resultobj = Py_BuildValue("i",_result);
7478 return _resultobj;
7479}
7480
7481#define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7482static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7483 PyObject * _resultobj;
7484 bool _result;
7485 wxGrid * _arg0;
7486 int _arg1 = (int ) 1;
7487 bool _arg2 = (bool ) TRUE;
7488 PyObject * _argo0 = 0;
7489 int tempbool2 = (int) TRUE;
7490 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7491
7492 self = self;
7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7494 return NULL;
7495 if (_argo0) {
7496 if (_argo0 == Py_None) { _arg0 = NULL; }
7497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7499 return NULL;
7500 }
7501 }
7502 _arg2 = (bool ) tempbool2;
7503{
474c48f9 7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7505 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
f6bcfd97 7506
474c48f9 7507 wxPyEndAllowThreads(__tstate);
4dfaa61e 7508 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7509} _resultobj = Py_BuildValue("i",_result);
7510 return _resultobj;
7511}
7512
7513#define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7514static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7515 PyObject * _resultobj;
7516 bool _result;
7517 wxGrid * _arg0;
7518 int _arg1 = (int ) 0;
7519 int _arg2 = (int ) 1;
7520 bool _arg3 = (bool ) TRUE;
7521 PyObject * _argo0 = 0;
7522 int tempbool3 = (int) TRUE;
7523 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7524
7525 self = self;
7526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7527 return NULL;
7528 if (_argo0) {
7529 if (_argo0 == Py_None) { _arg0 = NULL; }
7530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7532 return NULL;
7533 }
7534 }
7535 _arg3 = (bool ) tempbool3;
7536{
474c48f9 7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7538 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 7539
474c48f9 7540 wxPyEndAllowThreads(__tstate);
4dfaa61e 7541 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7542} _resultobj = Py_BuildValue("i",_result);
7543 return _resultobj;
7544}
7545
7546#define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7547static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7548 PyObject * _resultobj;
7549 wxGrid * _arg0;
7550 wxDC * _arg1;
7551 wxGridCellAttr * _arg2;
7552 PyObject * _argo0 = 0;
7553 PyObject * _argo1 = 0;
7554 PyObject * _argo2 = 0;
7555 char *_kwnames[] = { "self","dc","attr", NULL };
7556
7557 self = self;
7558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7559 return NULL;
7560 if (_argo0) {
7561 if (_argo0 == Py_None) { _arg0 = NULL; }
7562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7564 return NULL;
7565 }
7566 }
7567 if (_argo1) {
7568 if (_argo1 == Py_None) { _arg1 = NULL; }
7569 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7570 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7571 return NULL;
7572 }
7573 }
7574 if (_argo2) {
7575 if (_argo2 == Py_None) { _arg2 = NULL; }
7576 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7577 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7578 return NULL;
7579 }
7580 }
7581{
474c48f9 7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7583 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
f6bcfd97 7584
474c48f9 7585 wxPyEndAllowThreads(__tstate);
4dfaa61e 7586 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7587} Py_INCREF(Py_None);
7588 _resultobj = Py_None;
7589 return _resultobj;
7590}
7591
7592#define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7593static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7594 PyObject * _resultobj;
7595 wxGrid * _arg0;
7596 wxDC * _arg1;
7597 wxString * _arg2;
7598 wxRect * _arg3;
7599 int _arg4 = (int ) wxLEFT;
7600 int _arg5 = (int ) wxTOP;
7601 PyObject * _argo0 = 0;
7602 PyObject * _argo1 = 0;
7603 PyObject * _obj2 = 0;
7604 wxRect temp;
7605 PyObject * _obj3 = 0;
7606 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7607
7608 self = self;
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7610 return NULL;
7611 if (_argo0) {
7612 if (_argo0 == Py_None) { _arg0 = NULL; }
7613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7615 return NULL;
7616 }
7617 }
7618 if (_argo1) {
7619 if (_argo1 == Py_None) { _arg1 = NULL; }
7620 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7621 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7622 return NULL;
7623 }
7624 }
7625{
c8bc7bb8
RD
7626 _arg2 = wxString_in_helper(_obj2);
7627 if (_arg2 == NULL)
2cd2fac8 7628 return NULL;
f6bcfd97
BP
7629}
7630{
7631 _arg3 = &temp;
7632 if (! wxRect_helper(_obj3, &_arg3))
7633 return NULL;
7634}
7635{
474c48f9 7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7637 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
f6bcfd97 7638
474c48f9 7639 wxPyEndAllowThreads(__tstate);
4dfaa61e 7640 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7641} Py_INCREF(Py_None);
7642 _resultobj = Py_None;
7643{
7644 if (_obj2)
7645 delete _arg2;
7646}
7647 return _resultobj;
7648}
7649
f6bcfd97
BP
7650#define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7651static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7652 PyObject * _resultobj;
7653 wxGrid * _arg0;
7654 wxDC * _arg1;
7655 wxArrayString * _arg2;
7656 long * _arg3;
7657 long temp;
7658 long * _arg4;
7659 long temp0;
7660 PyObject * _argo0 = 0;
7661 PyObject * _argo1 = 0;
5c0282d5 7662 PyObject * _obj2 = 0;
f6bcfd97
BP
7663 char *_kwnames[] = { "self","dc","lines", NULL };
7664
7665 self = self;
7666{
7667 _arg3 = &temp;
7668}
7669{
7670 _arg4 = &temp0;
7671}
5c0282d5 7672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
f6bcfd97
BP
7673 return NULL;
7674 if (_argo0) {
7675 if (_argo0 == Py_None) { _arg0 = NULL; }
7676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7678 return NULL;
7679 }
7680 }
7681 if (_argo1) {
7682 if (_argo1 == Py_None) { _arg1 = NULL; }
7683 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7684 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7685 return NULL;
7686 }
7687 }
5c0282d5
RD
7688{
7689 if (! PySequence_Check(_obj2)) {
7690 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
f6bcfd97 7691 return NULL;
f6bcfd97 7692 }
5c0282d5
RD
7693 _arg2 = new wxArrayString;
7694 int i, len=PySequence_Length(_obj2);
7695 for (i=0; i<len; i++) {
7696 PyObject* item = PySequence_GetItem(_obj2, i);
c8bc7bb8
RD
7697#if wxUSE_UNICODE
7698 PyObject* str = PyObject_Unicode(item);
7699 _arg2->Add(PyUnicode_AsUnicode(str));
7700#else
5c0282d5 7701 PyObject* str = PyObject_Str(item);
85247b36 7702 _arg2->Add(PyString_AsString(str));
c8bc7bb8 7703#endif
5c0282d5
RD
7704 Py_DECREF(item);
7705 Py_DECREF(str);
7706 }
7707}
f6bcfd97 7708{
474c48f9 7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7710 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
f6bcfd97 7711
474c48f9 7712 wxPyEndAllowThreads(__tstate);
4dfaa61e 7713 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7714} Py_INCREF(Py_None);
7715 _resultobj = Py_None;
7716{
7717 PyObject *o;
7718 o = PyInt_FromLong((long) (*_arg3));
7719 _resultobj = t_output_helper(_resultobj, o);
7720}
7721{
7722 PyObject *o;
7723 o = PyInt_FromLong((long) (*_arg4));
7724 _resultobj = t_output_helper(_resultobj, o);
5c0282d5
RD
7725}
7726{
7727 if (_obj2)
7728 delete _arg2;
f6bcfd97
BP
7729}
7730 return _resultobj;
7731}
7732
7733#define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7734static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7735 PyObject * _resultobj;
7736 wxGrid * _arg0;
7737 PyObject * _argo0 = 0;
7738 char *_kwnames[] = { "self", NULL };
7739
7740 self = self;
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7742 return NULL;
7743 if (_argo0) {
7744 if (_argo0 == Py_None) { _arg0 = NULL; }
7745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7747 return NULL;
7748 }
7749 }
7750{
474c48f9 7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7752 wxGrid_BeginBatch(_arg0);
f6bcfd97 7753
474c48f9 7754 wxPyEndAllowThreads(__tstate);
4dfaa61e 7755 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7756} Py_INCREF(Py_None);
7757 _resultobj = Py_None;
7758 return _resultobj;
7759}
7760
7761#define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7762static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7763 PyObject * _resultobj;
7764 wxGrid * _arg0;
7765 PyObject * _argo0 = 0;
7766 char *_kwnames[] = { "self", NULL };
7767
7768 self = self;
7769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7770 return NULL;
7771 if (_argo0) {
7772 if (_argo0 == Py_None) { _arg0 = NULL; }
7773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7775 return NULL;
7776 }
7777 }
7778{
474c48f9 7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7780 wxGrid_EndBatch(_arg0);
f6bcfd97 7781
474c48f9 7782 wxPyEndAllowThreads(__tstate);
4dfaa61e 7783 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7784} Py_INCREF(Py_None);
7785 _resultobj = Py_None;
7786 return _resultobj;
7787}
7788
7789#define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7790static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7791 PyObject * _resultobj;
7792 int _result;
7793 wxGrid * _arg0;
7794 PyObject * _argo0 = 0;
7795 char *_kwnames[] = { "self", NULL };
7796
7797 self = self;
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7799 return NULL;
7800 if (_argo0) {
7801 if (_argo0 == Py_None) { _arg0 = NULL; }
7802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7804 return NULL;
7805 }
7806 }
7807{
474c48f9 7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7809 _result = (int )wxGrid_GetBatchCount(_arg0);
f6bcfd97 7810
474c48f9 7811 wxPyEndAllowThreads(__tstate);
4dfaa61e 7812 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7813} _resultobj = Py_BuildValue("i",_result);
7814 return _resultobj;
7815}
7816
9a08cd12
RD
7817#define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7818static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7819 PyObject * _resultobj;
7820 wxGrid * _arg0;
7821 PyObject * _argo0 = 0;
7822 char *_kwnames[] = { "self", NULL };
7823
7824 self = self;
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
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_ForceRefresh. Expected _wxGrid_p.");
7831 return NULL;
7832 }
7833 }
7834{
474c48f9 7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7836 wxGrid_ForceRefresh(_arg0);
9a08cd12 7837
474c48f9 7838 wxPyEndAllowThreads(__tstate);
9a08cd12
RD
7839 if (PyErr_Occurred()) return NULL;
7840} Py_INCREF(Py_None);
7841 _resultobj = Py_None;
7842 return _resultobj;
7843}
7844
f6bcfd97
BP
7845#define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7846static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7847 PyObject * _resultobj;
7848 bool _result;
7849 wxGrid * _arg0;
7850 PyObject * _argo0 = 0;
7851 char *_kwnames[] = { "self", NULL };
7852
7853 self = self;
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_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_IsEditable. Expected _wxGrid_p.");
7860 return NULL;
7861 }
7862 }
7863{
474c48f9 7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7865 _result = (bool )wxGrid_IsEditable(_arg0);
f6bcfd97 7866
474c48f9 7867 wxPyEndAllowThreads(__tstate);
4dfaa61e 7868 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7869} _resultobj = Py_BuildValue("i",_result);
7870 return _resultobj;
7871}
7872
7873#define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7874static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7875 PyObject * _resultobj;
7876 wxGrid * _arg0;
7877 bool _arg1;
7878 PyObject * _argo0 = 0;
7879 int tempbool1;
7880 char *_kwnames[] = { "self","edit", NULL };
7881
7882 self = self;
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
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_EnableEditing. Expected _wxGrid_p.");
7889 return NULL;
7890 }
7891 }
7892 _arg1 = (bool ) tempbool1;
7893{
474c48f9 7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7895 wxGrid_EnableEditing(_arg0,_arg1);
f6bcfd97 7896
474c48f9 7897 wxPyEndAllowThreads(__tstate);
4dfaa61e 7898 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7899} Py_INCREF(Py_None);
7900 _resultobj = Py_None;
7901 return _resultobj;
7902}
7903
7904#define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7905static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7906 PyObject * _resultobj;
7907 wxGrid * _arg0;
7908 bool _arg1 = (bool ) TRUE;
7909 PyObject * _argo0 = 0;
7910 int tempbool1 = (int) TRUE;
7911 char *_kwnames[] = { "self","enable", NULL };
7912
7913 self = self;
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7915 return NULL;
7916 if (_argo0) {
7917 if (_argo0 == Py_None) { _arg0 = NULL; }
7918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7920 return NULL;
7921 }
7922 }
7923 _arg1 = (bool ) tempbool1;
7924{
474c48f9 7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7926 wxGrid_EnableCellEditControl(_arg0,_arg1);
f6bcfd97 7927
474c48f9 7928 wxPyEndAllowThreads(__tstate);
4dfaa61e 7929 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7930} Py_INCREF(Py_None);
7931 _resultobj = Py_None;
7932 return _resultobj;
7933}
7934
7935#define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7936static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7937 PyObject * _resultobj;
7938 wxGrid * _arg0;
7939 PyObject * _argo0 = 0;
7940 char *_kwnames[] = { "self", NULL };
7941
7942 self = self;
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7944 return NULL;
7945 if (_argo0) {
7946 if (_argo0 == Py_None) { _arg0 = NULL; }
7947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7949 return NULL;
7950 }
7951 }
7952{
474c48f9 7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7954 wxGrid_DisableCellEditControl(_arg0);
f6bcfd97 7955
474c48f9 7956 wxPyEndAllowThreads(__tstate);
4dfaa61e 7957 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7958} Py_INCREF(Py_None);
7959 _resultobj = Py_None;
7960 return _resultobj;
7961}
7962
7963#define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7964static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7965 PyObject * _resultobj;
7966 bool _result;
7967 wxGrid * _arg0;
7968 PyObject * _argo0 = 0;
7969 char *_kwnames[] = { "self", NULL };
7970
7971 self = self;
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7973 return NULL;
7974 if (_argo0) {
7975 if (_argo0 == Py_None) { _arg0 = NULL; }
7976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7978 return NULL;
7979 }
7980 }
7981{
474c48f9 7982 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7983 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
f6bcfd97 7984
474c48f9 7985 wxPyEndAllowThreads(__tstate);
4dfaa61e 7986 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7987} _resultobj = Py_BuildValue("i",_result);
7988 return _resultobj;
7989}
7990
7991#define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7992static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7993 PyObject * _resultobj;
7994 bool _result;
7995 wxGrid * _arg0;
7996 PyObject * _argo0 = 0;
7997 char *_kwnames[] = { "self", NULL };
7998
7999 self = self;
8000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
8001 return NULL;
8002 if (_argo0) {
8003 if (_argo0 == Py_None) { _arg0 = NULL; }
8004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8006 return NULL;
8007 }
8008 }
8009{
474c48f9 8010 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8011 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
f6bcfd97 8012
474c48f9 8013 wxPyEndAllowThreads(__tstate);
4dfaa61e 8014 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8015} _resultobj = Py_BuildValue("i",_result);
8016 return _resultobj;
8017}
8018
8019#define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8020static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8021 PyObject * _resultobj;
8022 bool _result;
8023 wxGrid * _arg0;
8024 PyObject * _argo0 = 0;
8025 char *_kwnames[] = { "self", NULL };
8026
8027 self = self;
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
8029 return NULL;
8030 if (_argo0) {
8031 if (_argo0 == Py_None) { _arg0 = NULL; }
8032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8034 return NULL;
8035 }
8036 }
8037{
474c48f9 8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8039 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
f6bcfd97 8040
474c48f9 8041 wxPyEndAllowThreads(__tstate);
4dfaa61e 8042 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8043} _resultobj = Py_BuildValue("i",_result);
8044 return _resultobj;
8045}
8046
8047#define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8048static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8049 PyObject * _resultobj;
8050 bool _result;
8051 wxGrid * _arg0;
8052 PyObject * _argo0 = 0;
8053 char *_kwnames[] = { "self", NULL };
8054
8055 self = self;
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8057 return NULL;
8058 if (_argo0) {
8059 if (_argo0 == Py_None) { _arg0 = NULL; }
8060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8062 return NULL;
8063 }
8064 }
8065{
474c48f9 8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8067 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
f6bcfd97 8068
474c48f9 8069 wxPyEndAllowThreads(__tstate);
4dfaa61e 8070 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8071} _resultobj = Py_BuildValue("i",_result);
8072 return _resultobj;
8073}
8074
8075#define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8076static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8077 PyObject * _resultobj;
8078 wxGrid * _arg0;
8079 PyObject * _argo0 = 0;
8080 char *_kwnames[] = { "self", NULL };
8081
8082 self = self;
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
8084 return NULL;
8085 if (_argo0) {
8086 if (_argo0 == Py_None) { _arg0 = NULL; }
8087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8089 return NULL;
8090 }
8091 }
8092{
474c48f9 8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8094 wxGrid_ShowCellEditControl(_arg0);
f6bcfd97 8095
474c48f9 8096 wxPyEndAllowThreads(__tstate);
4dfaa61e 8097 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8098} Py_INCREF(Py_None);
8099 _resultobj = Py_None;
8100 return _resultobj;
8101}
8102
8103#define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8104static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8105 PyObject * _resultobj;
8106 wxGrid * _arg0;
8107 PyObject * _argo0 = 0;
8108 char *_kwnames[] = { "self", NULL };
8109
8110 self = self;
8111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8112 return NULL;
8113 if (_argo0) {
8114 if (_argo0 == Py_None) { _arg0 = NULL; }
8115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8117 return NULL;
8118 }
8119 }
8120{
474c48f9 8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8122 wxGrid_HideCellEditControl(_arg0);
f6bcfd97 8123
474c48f9 8124 wxPyEndAllowThreads(__tstate);
4dfaa61e 8125 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8126} Py_INCREF(Py_None);
8127 _resultobj = Py_None;
8128 return _resultobj;
8129}
8130
8131#define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8132static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject * _resultobj;
8134 wxGrid * _arg0;
8135 PyObject * _argo0 = 0;
8136 char *_kwnames[] = { "self", NULL };
8137
8138 self = self;
8139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8140 return NULL;
8141 if (_argo0) {
8142 if (_argo0 == Py_None) { _arg0 = NULL; }
8143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8145 return NULL;
8146 }
8147 }
8148{
474c48f9 8149 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8150 wxGrid_SaveEditControlValue(_arg0);
f6bcfd97 8151
474c48f9 8152 wxPyEndAllowThreads(__tstate);
4dfaa61e 8153 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8154} Py_INCREF(Py_None);
8155 _resultobj = Py_None;
8156 return _resultobj;
8157}
8158
8159static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8160 wxGridCellCoords rv;
8161 self->XYToCell(x, y, rv);
8162 return new wxGridCellCoords(rv);
8163 }
8164static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8165 PyObject * _resultobj;
8166 wxGridCellCoords * _result;
8167 wxGrid * _arg0;
8168 int _arg1;
8169 int _arg2;
8170 PyObject * _argo0 = 0;
8171 char *_kwnames[] = { "self","x","y", NULL };
8172 char _ptemp[128];
8173
8174 self = self;
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8176 return NULL;
8177 if (_argo0) {
8178 if (_argo0 == Py_None) { _arg0 = NULL; }
8179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8181 return NULL;
8182 }
8183 }
8184{
474c48f9 8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8186 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
f6bcfd97 8187
474c48f9 8188 wxPyEndAllowThreads(__tstate);
4dfaa61e 8189 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8190} if (_result) {
8191 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8192 _resultobj = Py_BuildValue("s",_ptemp);
8193 } else {
8194 Py_INCREF(Py_None);
8195 _resultobj = Py_None;
8196 }
8197 return _resultobj;
8198}
8199
8200#define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8201static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8202 PyObject * _resultobj;
8203 int _result;
8204 wxGrid * _arg0;
8205 int _arg1;
8206 PyObject * _argo0 = 0;
8207 char *_kwnames[] = { "self","y", NULL };
8208
8209 self = self;
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8211 return NULL;
8212 if (_argo0) {
8213 if (_argo0 == Py_None) { _arg0 = NULL; }
8214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8216 return NULL;
8217 }
8218 }
8219{
474c48f9 8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8221 _result = (int )wxGrid_YToRow(_arg0,_arg1);
f6bcfd97 8222
474c48f9 8223 wxPyEndAllowThreads(__tstate);
4dfaa61e 8224 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8225} _resultobj = Py_BuildValue("i",_result);
8226 return _resultobj;
8227}
8228
8229#define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8230static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8231 PyObject * _resultobj;
8232 int _result;
8233 wxGrid * _arg0;
8234 int _arg1;
8235 PyObject * _argo0 = 0;
8236 char *_kwnames[] = { "self","x", NULL };
8237
8238 self = self;
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
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_XToCol. Expected _wxGrid_p.");
8245 return NULL;
8246 }
8247 }
8248{
474c48f9 8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8250 _result = (int )wxGrid_XToCol(_arg0,_arg1);
f6bcfd97 8251
474c48f9 8252 wxPyEndAllowThreads(__tstate);
4dfaa61e 8253 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8254} _resultobj = Py_BuildValue("i",_result);
8255 return _resultobj;
8256}
8257
8258#define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8259static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8260 PyObject * _resultobj;
8261 int _result;
8262 wxGrid * _arg0;
8263 int _arg1;
8264 PyObject * _argo0 = 0;
8265 char *_kwnames[] = { "self","y", NULL };
8266
8267 self = self;
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
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_YToEdgeOfRow. Expected _wxGrid_p.");
8274 return NULL;
8275 }
8276 }
8277{
474c48f9 8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8279 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
f6bcfd97 8280
474c48f9 8281 wxPyEndAllowThreads(__tstate);
4dfaa61e 8282 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8283} _resultobj = Py_BuildValue("i",_result);
8284 return _resultobj;
8285}
8286
8287#define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8288static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8289 PyObject * _resultobj;
8290 int _result;
8291 wxGrid * _arg0;
8292 int _arg1;
8293 PyObject * _argo0 = 0;
8294 char *_kwnames[] = { "self","x", NULL };
8295
8296 self = self;
8297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8298 return NULL;
8299 if (_argo0) {
8300 if (_argo0 == Py_None) { _arg0 = NULL; }
8301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8303 return NULL;
8304 }
8305 }
8306{
474c48f9 8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8308 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
f6bcfd97 8309
474c48f9 8310 wxPyEndAllowThreads(__tstate);
4dfaa61e 8311 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8312} _resultobj = Py_BuildValue("i",_result);
8313 return _resultobj;
8314}
8315
8316#define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8317static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8318 PyObject * _resultobj;
8319 wxRect * _result;
8320 wxGrid * _arg0;
8321 int _arg1;
8322 int _arg2;
8323 PyObject * _argo0 = 0;
8324 char *_kwnames[] = { "self","row","col", NULL };
8325 char _ptemp[128];
8326
8327 self = self;
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
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_CellToRect. Expected _wxGrid_p.");
8334 return NULL;
8335 }
8336 }
8337{
474c48f9 8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8339 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
f6bcfd97 8340
474c48f9 8341 wxPyEndAllowThreads(__tstate);
4dfaa61e 8342 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8343} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8344 _resultobj = Py_BuildValue("s",_ptemp);
8345 return _resultobj;
8346}
8347
8348#define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8349static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8350 PyObject * _resultobj;
8351 int _result;
8352 wxGrid * _arg0;
8353 PyObject * _argo0 = 0;
8354 char *_kwnames[] = { "self", NULL };
8355
8356 self = self;
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8358 return NULL;
8359 if (_argo0) {
8360 if (_argo0 == Py_None) { _arg0 = NULL; }
8361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8363 return NULL;
8364 }
8365 }
8366{
474c48f9 8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8368 _result = (int )wxGrid_GetGridCursorRow(_arg0);
f6bcfd97 8369
474c48f9 8370 wxPyEndAllowThreads(__tstate);
4dfaa61e 8371 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8372} _resultobj = Py_BuildValue("i",_result);
8373 return _resultobj;
8374}
8375
8376#define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8377static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8378 PyObject * _resultobj;
8379 int _result;
8380 wxGrid * _arg0;
8381 PyObject * _argo0 = 0;
8382 char *_kwnames[] = { "self", NULL };
8383
8384 self = self;
8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8386 return NULL;
8387 if (_argo0) {
8388 if (_argo0 == Py_None) { _arg0 = NULL; }
8389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8391 return NULL;
8392 }
8393 }
8394{
474c48f9 8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8396 _result = (int )wxGrid_GetGridCursorCol(_arg0);
f6bcfd97 8397
474c48f9 8398 wxPyEndAllowThreads(__tstate);
4dfaa61e 8399 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8400} _resultobj = Py_BuildValue("i",_result);
8401 return _resultobj;
8402}
8403
8404#define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8405static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8406 PyObject * _resultobj;
8407 bool _result;
8408 wxGrid * _arg0;
8409 int _arg1;
8410 int _arg2;
8411 bool _arg3 = (bool ) TRUE;
8412 PyObject * _argo0 = 0;
8413 int tempbool3 = (int) TRUE;
8414 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8415
8416 self = self;
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8418 return NULL;
8419 if (_argo0) {
8420 if (_argo0 == Py_None) { _arg0 = NULL; }
8421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8423 return NULL;
8424 }
8425 }
8426 _arg3 = (bool ) tempbool3;
8427{
474c48f9 8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8429 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 8430
474c48f9 8431 wxPyEndAllowThreads(__tstate);
4dfaa61e 8432 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8433} _resultobj = Py_BuildValue("i",_result);
8434 return _resultobj;
8435}
8436
8437#define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8438static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8439 PyObject * _resultobj;
8440 wxGrid * _arg0;
8441 int _arg1;
8442 int _arg2;
8443 PyObject * _argo0 = 0;
8444 char *_kwnames[] = { "self","row","col", NULL };
8445
8446 self = self;
8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8448 return NULL;
8449 if (_argo0) {
8450 if (_argo0 == Py_None) { _arg0 = NULL; }
8451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8453 return NULL;
8454 }
8455 }
8456{
474c48f9 8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8458 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
f6bcfd97 8459
474c48f9 8460 wxPyEndAllowThreads(__tstate);
4dfaa61e 8461 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8462} Py_INCREF(Py_None);
8463 _resultobj = Py_None;
8464 return _resultobj;
8465}
8466
8467#define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8468static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8469 PyObject * _resultobj;
8470 wxGrid * _arg0;
8471 int _arg1;
8472 int _arg2;
8473 PyObject * _argo0 = 0;
8474 char *_kwnames[] = { "self","row","col", NULL };
8475
8476 self = self;
8477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8478 return NULL;
8479 if (_argo0) {
8480 if (_argo0 == Py_None) { _arg0 = NULL; }
8481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8483 return NULL;
8484 }
8485 }
8486{
474c48f9 8487 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8488 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
f6bcfd97 8489
474c48f9 8490 wxPyEndAllowThreads(__tstate);
4dfaa61e 8491 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8492} Py_INCREF(Py_None);
8493 _resultobj = Py_None;
8494 return _resultobj;
8495}
8496
8497#define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8498static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8499 PyObject * _resultobj;
8500 bool _result;
8501 wxGrid * _arg0;
8502 bool _arg1;
8503 PyObject * _argo0 = 0;
8504 int tempbool1;
8505 char *_kwnames[] = { "self","expandSelection", NULL };
8506
8507 self = self;
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8509 return NULL;
8510 if (_argo0) {
8511 if (_argo0 == Py_None) { _arg0 = NULL; }
8512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8514 return NULL;
8515 }
8516 }
8517 _arg1 = (bool ) tempbool1;
8518{
474c48f9 8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8520 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
f6bcfd97 8521
474c48f9 8522 wxPyEndAllowThreads(__tstate);
4dfaa61e 8523 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8524} _resultobj = Py_BuildValue("i",_result);
8525 return _resultobj;
8526}
8527
8528#define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8529static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8530 PyObject * _resultobj;
8531 bool _result;
8532 wxGrid * _arg0;
8533 bool _arg1;
8534 PyObject * _argo0 = 0;
8535 int tempbool1;
8536 char *_kwnames[] = { "self","expandSelection", NULL };
8537
8538 self = self;
8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8540 return NULL;
8541 if (_argo0) {
8542 if (_argo0 == Py_None) { _arg0 = NULL; }
8543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8545 return NULL;
8546 }
8547 }
8548 _arg1 = (bool ) tempbool1;
8549{
474c48f9 8550 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8551 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
f6bcfd97 8552
474c48f9 8553 wxPyEndAllowThreads(__tstate);
4dfaa61e 8554 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8555} _resultobj = Py_BuildValue("i",_result);
8556 return _resultobj;
8557}
8558
8559#define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8560static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8561 PyObject * _resultobj;
8562 bool _result;
8563 wxGrid * _arg0;
8564 bool _arg1;
8565 PyObject * _argo0 = 0;
8566 int tempbool1;
8567 char *_kwnames[] = { "self","expandSelection", NULL };
8568
8569 self = self;
8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8571 return NULL;
8572 if (_argo0) {
8573 if (_argo0 == Py_None) { _arg0 = NULL; }
8574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8576 return NULL;
8577 }
8578 }
8579 _arg1 = (bool ) tempbool1;
8580{
474c48f9 8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8582 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
f6bcfd97 8583
474c48f9 8584 wxPyEndAllowThreads(__tstate);
4dfaa61e 8585 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8586} _resultobj = Py_BuildValue("i",_result);
8587 return _resultobj;
8588}
8589
8590#define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8591static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8592 PyObject * _resultobj;
8593 bool _result;
8594 wxGrid * _arg0;
8595 bool _arg1;
8596 PyObject * _argo0 = 0;
8597 int tempbool1;
8598 char *_kwnames[] = { "self","expandSelection", NULL };
8599
8600 self = self;
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8602 return NULL;
8603 if (_argo0) {
8604 if (_argo0 == Py_None) { _arg0 = NULL; }
8605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8607 return NULL;
8608 }
8609 }
8610 _arg1 = (bool ) tempbool1;
8611{
474c48f9 8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8613 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
f6bcfd97 8614
474c48f9 8615 wxPyEndAllowThreads(__tstate);
4dfaa61e 8616 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8617} _resultobj = Py_BuildValue("i",_result);
8618 return _resultobj;
8619}
8620
8621#define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8622static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8623 PyObject * _resultobj;
8624 bool _result;
8625 wxGrid * _arg0;
8626 PyObject * _argo0 = 0;
8627 char *_kwnames[] = { "self", NULL };
8628
8629 self = self;
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
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_MovePageDown. Expected _wxGrid_p.");
8636 return NULL;
8637 }
8638 }
8639{
474c48f9 8640 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8641 _result = (bool )wxGrid_MovePageDown(_arg0);
f6bcfd97 8642
474c48f9 8643 wxPyEndAllowThreads(__tstate);
4dfaa61e 8644 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8645} _resultobj = Py_BuildValue("i",_result);
8646 return _resultobj;
8647}
8648
8649#define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8650static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8651 PyObject * _resultobj;
8652 bool _result;
8653 wxGrid * _arg0;
8654 PyObject * _argo0 = 0;
8655 char *_kwnames[] = { "self", NULL };
8656
8657 self = self;
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8659 return NULL;
8660 if (_argo0) {
8661 if (_argo0 == Py_None) { _arg0 = NULL; }
8662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8664 return NULL;
8665 }
8666 }
8667{
474c48f9 8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8669 _result = (bool )wxGrid_MovePageUp(_arg0);
f6bcfd97 8670
474c48f9 8671 wxPyEndAllowThreads(__tstate);
4dfaa61e 8672 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8673} _resultobj = Py_BuildValue("i",_result);
8674 return _resultobj;
8675}
8676
8677#define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8678static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8679 PyObject * _resultobj;
8680 bool _result;
8681 wxGrid * _arg0;
8682 bool _arg1;
8683 PyObject * _argo0 = 0;
8684 int tempbool1;
8685 char *_kwnames[] = { "self","expandSelection", NULL };
8686
8687 self = self;
8688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8689 return NULL;
8690 if (_argo0) {
8691 if (_argo0 == Py_None) { _arg0 = NULL; }
8692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8694 return NULL;
8695 }
8696 }
8697 _arg1 = (bool ) tempbool1;
8698{
474c48f9 8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8700 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
f6bcfd97 8701
474c48f9 8702 wxPyEndAllowThreads(__tstate);
4dfaa61e 8703 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8704} _resultobj = Py_BuildValue("i",_result);
8705 return _resultobj;
8706}
8707
8708#define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8709static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8710 PyObject * _resultobj;
8711 bool _result;
8712 wxGrid * _arg0;
8713 bool _arg1;
8714 PyObject * _argo0 = 0;
8715 int tempbool1;
8716 char *_kwnames[] = { "self","expandSelection", NULL };
8717
8718 self = self;
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8720 return NULL;
8721 if (_argo0) {
8722 if (_argo0 == Py_None) { _arg0 = NULL; }
8723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8725 return NULL;
8726 }
8727 }
8728 _arg1 = (bool ) tempbool1;
8729{
474c48f9 8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8731 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
f6bcfd97 8732
474c48f9 8733 wxPyEndAllowThreads(__tstate);
4dfaa61e 8734 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8735} _resultobj = Py_BuildValue("i",_result);
8736 return _resultobj;
8737}
8738
8739#define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8740static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8741 PyObject * _resultobj;
8742 bool _result;
8743 wxGrid * _arg0;
8744 bool _arg1;
8745 PyObject * _argo0 = 0;
8746 int tempbool1;
8747 char *_kwnames[] = { "self","expandSelection", NULL };
8748
8749 self = self;
8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8751 return NULL;
8752 if (_argo0) {
8753 if (_argo0 == Py_None) { _arg0 = NULL; }
8754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8756 return NULL;
8757 }
8758 }
8759 _arg1 = (bool ) tempbool1;
8760{
474c48f9 8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8762 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
f6bcfd97 8763
474c48f9 8764 wxPyEndAllowThreads(__tstate);
4dfaa61e 8765 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8766} _resultobj = Py_BuildValue("i",_result);
8767 return _resultobj;
8768}
8769
8770#define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8771static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8772 PyObject * _resultobj;
8773 bool _result;
8774 wxGrid * _arg0;
8775 bool _arg1;
8776 PyObject * _argo0 = 0;
8777 int tempbool1;
8778 char *_kwnames[] = { "self","expandSelection", NULL };
8779
8780 self = self;
8781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8782 return NULL;
8783 if (_argo0) {
8784 if (_argo0 == Py_None) { _arg0 = NULL; }
8785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8787 return NULL;
8788 }
8789 }
8790 _arg1 = (bool ) tempbool1;
8791{
474c48f9 8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8793 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
f6bcfd97 8794
474c48f9 8795 wxPyEndAllowThreads(__tstate);
4dfaa61e 8796 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8797} _resultobj = Py_BuildValue("i",_result);
8798 return _resultobj;
8799}
8800
8801#define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8802static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8803 PyObject * _resultobj;
8804 int _result;
8805 wxGrid * _arg0;
8806 PyObject * _argo0 = 0;
8807 char *_kwnames[] = { "self", NULL };
8808
8809 self = self;
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8811 return NULL;
8812 if (_argo0) {
8813 if (_argo0 == Py_None) { _arg0 = NULL; }
8814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8816 return NULL;
8817 }
8818 }
8819{
474c48f9 8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8821 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
f6bcfd97 8822
474c48f9 8823 wxPyEndAllowThreads(__tstate);
4dfaa61e 8824 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8825} _resultobj = Py_BuildValue("i",_result);
8826 return _resultobj;
8827}
8828
8829#define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8830static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8831 PyObject * _resultobj;
8832 int _result;
8833 wxGrid * _arg0;
8834 PyObject * _argo0 = 0;
8835 char *_kwnames[] = { "self", NULL };
8836
8837 self = self;
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8839 return NULL;
8840 if (_argo0) {
8841 if (_argo0 == Py_None) { _arg0 = NULL; }
8842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8844 return NULL;
8845 }
8846 }
8847{
474c48f9 8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8849 _result = (int )wxGrid_GetRowLabelSize(_arg0);
f6bcfd97 8850
474c48f9 8851 wxPyEndAllowThreads(__tstate);
4dfaa61e 8852 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8853} _resultobj = Py_BuildValue("i",_result);
8854 return _resultobj;
8855}
8856
8857#define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8858static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8859 PyObject * _resultobj;
8860 int _result;
8861 wxGrid * _arg0;
8862 PyObject * _argo0 = 0;
8863 char *_kwnames[] = { "self", NULL };
8864
8865 self = self;
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8867 return NULL;
8868 if (_argo0) {
8869 if (_argo0 == Py_None) { _arg0 = NULL; }
8870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8872 return NULL;
8873 }
8874 }
8875{
474c48f9 8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8877 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
f6bcfd97 8878
474c48f9 8879 wxPyEndAllowThreads(__tstate);
4dfaa61e 8880 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8881} _resultobj = Py_BuildValue("i",_result);
8882 return _resultobj;
8883}
8884
8885#define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8886static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8887 PyObject * _resultobj;
8888 int _result;
8889 wxGrid * _arg0;
8890 PyObject * _argo0 = 0;
8891 char *_kwnames[] = { "self", NULL };
8892
8893 self = self;
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_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_GetColLabelSize. Expected _wxGrid_p.");
8900 return NULL;
8901 }
8902 }
8903{
474c48f9 8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8905 _result = (int )wxGrid_GetColLabelSize(_arg0);
f6bcfd97 8906
474c48f9 8907 wxPyEndAllowThreads(__tstate);
4dfaa61e 8908 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8909} _resultobj = Py_BuildValue("i",_result);
8910 return _resultobj;
8911}
8912
8913#define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8914static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject * _resultobj;
8916 wxColour * _result;
8917 wxGrid * _arg0;
8918 PyObject * _argo0 = 0;
8919 char *_kwnames[] = { "self", NULL };
8920 char _ptemp[128];
8921
8922 self = self;
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8924 return NULL;
8925 if (_argo0) {
8926 if (_argo0 == Py_None) { _arg0 = NULL; }
8927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8929 return NULL;
8930 }
8931 }
8932{
474c48f9 8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8934 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
f6bcfd97 8935
474c48f9 8936 wxPyEndAllowThreads(__tstate);
4dfaa61e 8937 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8938} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8939 _resultobj = Py_BuildValue("s",_ptemp);
8940 return _resultobj;
8941}
8942
8943#define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8944static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8945 PyObject * _resultobj;
8946 wxColour * _result;
8947 wxGrid * _arg0;
8948 PyObject * _argo0 = 0;
8949 char *_kwnames[] = { "self", NULL };
8950 char _ptemp[128];
8951
8952 self = self;
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8954 return NULL;
8955 if (_argo0) {
8956 if (_argo0 == Py_None) { _arg0 = NULL; }
8957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8959 return NULL;
8960 }
8961 }
8962{
474c48f9 8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8964 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
f6bcfd97 8965
474c48f9 8966 wxPyEndAllowThreads(__tstate);
4dfaa61e 8967 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8968} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8969 _resultobj = Py_BuildValue("s",_ptemp);
8970 return _resultobj;
8971}
8972
8973#define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8974static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8975 PyObject * _resultobj;
8976 wxFont * _result;
8977 wxGrid * _arg0;
8978 PyObject * _argo0 = 0;
8979 char *_kwnames[] = { "self", NULL };
8980 char _ptemp[128];
8981
8982 self = self;
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8984 return NULL;
8985 if (_argo0) {
8986 if (_argo0 == Py_None) { _arg0 = NULL; }
8987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8989 return NULL;
8990 }
8991 }
8992{
474c48f9 8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8994 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
f6bcfd97 8995
474c48f9 8996 wxPyEndAllowThreads(__tstate);
4dfaa61e 8997 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8998} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8999 _resultobj = Py_BuildValue("s",_ptemp);
9000 return _resultobj;
9001}
9002
9003#define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9004static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9005 PyObject * _resultobj;
9006 wxGrid * _arg0;
9007 int * _arg1;
9008 int temp;
9009 int * _arg2;
9010 int temp0;
9011 PyObject * _argo0 = 0;
9012 char *_kwnames[] = { "self", NULL };
9013
9014 self = self;
9015{
9016 _arg1 = &temp;
9017}
9018{
9019 _arg2 = &temp0;
9020}
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
9022 return NULL;
9023 if (_argo0) {
9024 if (_argo0 == Py_None) { _arg0 = NULL; }
9025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9027 return NULL;
9028 }
9029 }
9030{
474c48f9 9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9032 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
f6bcfd97 9033
474c48f9 9034 wxPyEndAllowThreads(__tstate);
4dfaa61e 9035 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9036} Py_INCREF(Py_None);
9037 _resultobj = Py_None;
9038{
9039 PyObject *o;
9040 o = PyInt_FromLong((long) (*_arg1));
9041 _resultobj = t_output_helper(_resultobj, o);
9042}
9043{
9044 PyObject *o;
9045 o = PyInt_FromLong((long) (*_arg2));
9046 _resultobj = t_output_helper(_resultobj, o);
9047}
9048 return _resultobj;
9049}
9050
9051#define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9052static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9053 PyObject * _resultobj;
9054 wxGrid * _arg0;
9055 int * _arg1;
9056 int temp;
9057 int * _arg2;
9058 int temp0;
9059 PyObject * _argo0 = 0;
9060 char *_kwnames[] = { "self", NULL };
9061
9062 self = self;
9063{
9064 _arg1 = &temp;
9065}
9066{
9067 _arg2 = &temp0;
9068}
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9070 return NULL;
9071 if (_argo0) {
9072 if (_argo0 == Py_None) { _arg0 = NULL; }
9073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9075 return NULL;
9076 }
9077 }
9078{
474c48f9 9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9080 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
f6bcfd97 9081
474c48f9 9082 wxPyEndAllowThreads(__tstate);
4dfaa61e 9083 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9084} Py_INCREF(Py_None);
9085 _resultobj = Py_None;
9086{
9087 PyObject *o;
9088 o = PyInt_FromLong((long) (*_arg1));
9089 _resultobj = t_output_helper(_resultobj, o);
9090}
9091{
9092 PyObject *o;
9093 o = PyInt_FromLong((long) (*_arg2));
9094 _resultobj = t_output_helper(_resultobj, o);
9095}
9096 return _resultobj;
9097}
9098
9099#define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9100static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject * _resultobj;
9102 wxString * _result;
9103 wxGrid * _arg0;
9104 int _arg1;
9105 PyObject * _argo0 = 0;
9106 char *_kwnames[] = { "self","row", NULL };
9107
9108 self = self;
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9110 return NULL;
9111 if (_argo0) {
9112 if (_argo0 == Py_None) { _arg0 = NULL; }
9113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9115 return NULL;
9116 }
9117 }
9118{
474c48f9 9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9120 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
f6bcfd97 9121
474c48f9 9122 wxPyEndAllowThreads(__tstate);
4dfaa61e 9123 if (PyErr_Occurred()) return NULL;
f6bcfd97 9124}{
c8bc7bb8
RD
9125#if wxUSE_UNICODE
9126 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9127#else
f6bcfd97 9128 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9129#endif
f6bcfd97
BP
9130}
9131{
9132 delete _result;
9133}
9134 return _resultobj;
9135}
9136
9137#define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9138static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9139 PyObject * _resultobj;
9140 wxString * _result;
9141 wxGrid * _arg0;
9142 int _arg1;
9143 PyObject * _argo0 = 0;
9144 char *_kwnames[] = { "self","col", NULL };
9145
9146 self = self;
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
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_GetColLabelValue. Expected _wxGrid_p.");
9153 return NULL;
9154 }
9155 }
9156{
474c48f9 9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9158 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
f6bcfd97 9159
474c48f9 9160 wxPyEndAllowThreads(__tstate);
4dfaa61e 9161 if (PyErr_Occurred()) return NULL;
f6bcfd97 9162}{
c8bc7bb8
RD
9163#if wxUSE_UNICODE
9164 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9165#else
f6bcfd97 9166 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9167#endif
f6bcfd97
BP
9168}
9169{
9170 delete _result;
9171}
9172 return _resultobj;
9173}
9174
9175#define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9176static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9177 PyObject * _resultobj;
9178 wxColour * _result;
9179 wxGrid * _arg0;
9180 PyObject * _argo0 = 0;
9181 char *_kwnames[] = { "self", NULL };
9182 char _ptemp[128];
9183
9184 self = self;
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9186 return NULL;
9187 if (_argo0) {
9188 if (_argo0 == Py_None) { _arg0 = NULL; }
9189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9191 return NULL;
9192 }
9193 }
9194{
474c48f9 9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9196 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
f6bcfd97 9197
474c48f9 9198 wxPyEndAllowThreads(__tstate);
4dfaa61e 9199 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9200} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9201 _resultobj = Py_BuildValue("s",_ptemp);
9202 return _resultobj;
9203}
9204
9205#define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9206static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9207 PyObject * _resultobj;
9208 wxColour * _result;
9209 wxGrid * _arg0;
9210 PyObject * _argo0 = 0;
9211 char *_kwnames[] = { "self", NULL };
9212 char _ptemp[128];
9213
9214 self = self;
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9216 return NULL;
9217 if (_argo0) {
9218 if (_argo0 == Py_None) { _arg0 = NULL; }
9219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9221 return NULL;
9222 }
9223 }
9224{
474c48f9 9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9226 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
f6bcfd97 9227
474c48f9 9228 wxPyEndAllowThreads(__tstate);
4dfaa61e 9229 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9230} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9231 _resultobj = Py_BuildValue("s",_ptemp);
9232 return _resultobj;
9233}
9234
9df61a29
RD
9235#define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9236static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9237 PyObject * _resultobj;
9238 int _result;
9239 wxGrid * _arg0;
9240 PyObject * _argo0 = 0;
9241 char *_kwnames[] = { "self", NULL };
9242
9243 self = self;
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9245 return NULL;
9246 if (_argo0) {
9247 if (_argo0 == Py_None) { _arg0 = NULL; }
9248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9250 return NULL;
9251 }
9252 }
9253{
474c48f9 9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9255 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9df61a29 9256
474c48f9 9257 wxPyEndAllowThreads(__tstate);
4dfaa61e 9258 if (PyErr_Occurred()) return NULL;
9df61a29
RD
9259} _resultobj = Py_BuildValue("i",_result);
9260 return _resultobj;
9261}
9262
9263#define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9264static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9265 PyObject * _resultobj;
9266 int _result;
9267 wxGrid * _arg0;
9268 PyObject * _argo0 = 0;
9269 char *_kwnames[] = { "self", NULL };
9270
9271 self = self;
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9273 return NULL;
9274 if (_argo0) {
9275 if (_argo0 == Py_None) { _arg0 = NULL; }
9276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9278 return NULL;
9279 }
9280 }
9281{
474c48f9 9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9283 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9df61a29 9284
474c48f9 9285 wxPyEndAllowThreads(__tstate);
4dfaa61e 9286 if (PyErr_Occurred()) return NULL;
9df61a29
RD
9287} _resultobj = Py_BuildValue("i",_result);
9288 return _resultobj;
9289}
9290
f6bcfd97
BP
9291#define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9292static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9293 PyObject * _resultobj;
9294 wxGrid * _arg0;
9295 int _arg1;
9296 PyObject * _argo0 = 0;
9297 char *_kwnames[] = { "self","width", NULL };
9298
9299 self = self;
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9301 return NULL;
9302 if (_argo0) {
9303 if (_argo0 == Py_None) { _arg0 = NULL; }
9304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9306 return NULL;
9307 }
9308 }
9309{
474c48f9 9310 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9311 wxGrid_SetRowLabelSize(_arg0,_arg1);
f6bcfd97 9312
474c48f9 9313 wxPyEndAllowThreads(__tstate);
4dfaa61e 9314 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9315} Py_INCREF(Py_None);
9316 _resultobj = Py_None;
9317 return _resultobj;
9318}
9319
9320#define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9321static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9322 PyObject * _resultobj;
9323 wxGrid * _arg0;
9324 int _arg1;
9325 PyObject * _argo0 = 0;
9326 char *_kwnames[] = { "self","height", NULL };
9327
9328 self = self;
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9330 return NULL;
9331 if (_argo0) {
9332 if (_argo0 == Py_None) { _arg0 = NULL; }
9333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9335 return NULL;
9336 }
9337 }
9338{
474c48f9 9339 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9340 wxGrid_SetColLabelSize(_arg0,_arg1);
f6bcfd97 9341
474c48f9 9342 wxPyEndAllowThreads(__tstate);
4dfaa61e 9343 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9344} Py_INCREF(Py_None);
9345 _resultobj = Py_None;
9346 return _resultobj;
9347}
9348
9349#define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9350static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9351 PyObject * _resultobj;
9352 wxGrid * _arg0;
9353 wxColour * _arg1;
9354 PyObject * _argo0 = 0;
9355 wxColour temp;
9356 PyObject * _obj1 = 0;
9357 char *_kwnames[] = { "self","arg2", NULL };
9358
9359 self = self;
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9361 return NULL;
9362 if (_argo0) {
9363 if (_argo0 == Py_None) { _arg0 = NULL; }
9364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9366 return NULL;
9367 }
9368 }
9369{
9370 _arg1 = &temp;
9371 if (! wxColour_helper(_obj1, &_arg1))
9372 return NULL;
9373}
9374{
474c48f9 9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9376 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
f6bcfd97 9377
474c48f9 9378 wxPyEndAllowThreads(__tstate);
4dfaa61e 9379 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9380} Py_INCREF(Py_None);
9381 _resultobj = Py_None;
9382 return _resultobj;
9383}
9384
9385#define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9386static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject * _resultobj;
9388 wxGrid * _arg0;
9389 wxColour * _arg1;
9390 PyObject * _argo0 = 0;
9391 wxColour temp;
9392 PyObject * _obj1 = 0;
9393 char *_kwnames[] = { "self","arg2", NULL };
9394
9395 self = self;
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9397 return NULL;
9398 if (_argo0) {
9399 if (_argo0 == Py_None) { _arg0 = NULL; }
9400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9402 return NULL;
9403 }
9404 }
9405{
9406 _arg1 = &temp;
9407 if (! wxColour_helper(_obj1, &_arg1))
9408 return NULL;
9409}
9410{
474c48f9 9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9412 wxGrid_SetLabelTextColour(_arg0,*_arg1);
f6bcfd97 9413
474c48f9 9414 wxPyEndAllowThreads(__tstate);
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_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9422static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9423 PyObject * _resultobj;
9424 wxGrid * _arg0;
9425 wxFont * _arg1;
9426 PyObject * _argo0 = 0;
9427 PyObject * _argo1 = 0;
9428 char *_kwnames[] = { "self","arg2", NULL };
9429
9430 self = self;
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9432 return NULL;
9433 if (_argo0) {
9434 if (_argo0 == Py_None) { _arg0 = NULL; }
9435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9437 return NULL;
9438 }
9439 }
9440 if (_argo1) {
9441 if (_argo1 == Py_None) { _arg1 = NULL; }
9442 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9443 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9444 return NULL;
9445 }
9446 }
9447{
474c48f9 9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9449 wxGrid_SetLabelFont(_arg0,*_arg1);
f6bcfd97 9450
474c48f9 9451 wxPyEndAllowThreads(__tstate);
4dfaa61e 9452 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9453} Py_INCREF(Py_None);
9454 _resultobj = Py_None;
9455 return _resultobj;
9456}
9457
9458#define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9459static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9460 PyObject * _resultobj;
9461 wxGrid * _arg0;
9462 int _arg1;
9463 int _arg2;
9464 PyObject * _argo0 = 0;
9465 char *_kwnames[] = { "self","horiz","vert", NULL };
9466
9467 self = self;
9468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9469 return NULL;
9470 if (_argo0) {
9471 if (_argo0 == Py_None) { _arg0 = NULL; }
9472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9474 return NULL;
9475 }
9476 }
9477{
474c48f9 9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9479 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
f6bcfd97 9480
474c48f9 9481 wxPyEndAllowThreads(__tstate);
4dfaa61e 9482 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9483} Py_INCREF(Py_None);
9484 _resultobj = Py_None;
9485 return _resultobj;
9486}
9487
9488#define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9489static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9490 PyObject * _resultobj;
9491 wxGrid * _arg0;
9492 int _arg1;
9493 int _arg2;
9494 PyObject * _argo0 = 0;
9495 char *_kwnames[] = { "self","horiz","vert", NULL };
9496
9497 self = self;
9498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9499 return NULL;
9500 if (_argo0) {
9501 if (_argo0 == Py_None) { _arg0 = NULL; }
9502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9504 return NULL;
9505 }
9506 }
9507{
474c48f9 9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9509 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
f6bcfd97 9510
474c48f9 9511 wxPyEndAllowThreads(__tstate);
4dfaa61e 9512 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9513} Py_INCREF(Py_None);
9514 _resultobj = Py_None;
9515 return _resultobj;
9516}
9517
9518#define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9519static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9520 PyObject * _resultobj;
9521 wxGrid * _arg0;
9522 int _arg1;
9523 wxString * _arg2;
9524 PyObject * _argo0 = 0;
9525 PyObject * _obj2 = 0;
9526 char *_kwnames[] = { "self","row","arg3", NULL };
9527
9528 self = self;
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9530 return NULL;
9531 if (_argo0) {
9532 if (_argo0 == Py_None) { _arg0 = NULL; }
9533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9535 return NULL;
9536 }
9537 }
9538{
c8bc7bb8
RD
9539 _arg2 = wxString_in_helper(_obj2);
9540 if (_arg2 == NULL)
2cd2fac8 9541 return NULL;
f6bcfd97
BP
9542}
9543{
474c48f9 9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9545 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
f6bcfd97 9546
474c48f9 9547 wxPyEndAllowThreads(__tstate);
4dfaa61e 9548 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9549} Py_INCREF(Py_None);
9550 _resultobj = Py_None;
9551{
9552 if (_obj2)
9553 delete _arg2;
9554}
9555 return _resultobj;
9556}
9557
9558#define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9559static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9560 PyObject * _resultobj;
9561 wxGrid * _arg0;
9562 int _arg1;
9563 wxString * _arg2;
9564 PyObject * _argo0 = 0;
9565 PyObject * _obj2 = 0;
9566 char *_kwnames[] = { "self","col","arg3", NULL };
9567
9568 self = self;
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9570 return NULL;
9571 if (_argo0) {
9572 if (_argo0 == Py_None) { _arg0 = NULL; }
9573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9575 return NULL;
9576 }
9577 }
9578{
c8bc7bb8
RD
9579 _arg2 = wxString_in_helper(_obj2);
9580 if (_arg2 == NULL)
2cd2fac8 9581 return NULL;
f6bcfd97
BP
9582}
9583{
474c48f9 9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9585 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
f6bcfd97 9586
474c48f9 9587 wxPyEndAllowThreads(__tstate);
4dfaa61e 9588 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9589} Py_INCREF(Py_None);
9590 _resultobj = Py_None;
9591{
9592 if (_obj2)
9593 delete _arg2;
9594}
9595 return _resultobj;
9596}
9597
9598#define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9599static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9600 PyObject * _resultobj;
9601 wxGrid * _arg0;
9602 wxColour * _arg1;
9603 PyObject * _argo0 = 0;
9604 wxColour temp;
9605 PyObject * _obj1 = 0;
9606 char *_kwnames[] = { "self","arg2", NULL };
9607
9608 self = self;
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9610 return NULL;
9611 if (_argo0) {
9612 if (_argo0 == Py_None) { _arg0 = NULL; }
9613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9615 return NULL;
9616 }
9617 }
9618{
9619 _arg1 = &temp;
9620 if (! wxColour_helper(_obj1, &_arg1))
9621 return NULL;
9622}
9623{
474c48f9 9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9625 wxGrid_SetGridLineColour(_arg0,*_arg1);
f6bcfd97 9626
474c48f9 9627 wxPyEndAllowThreads(__tstate);
4dfaa61e 9628 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9629} Py_INCREF(Py_None);
9630 _resultobj = Py_None;
9631 return _resultobj;
9632}
9633
9634#define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9635static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9636 PyObject * _resultobj;
9637 wxGrid * _arg0;
9638 wxColour * _arg1;
9639 PyObject * _argo0 = 0;
9640 wxColour temp;
9641 PyObject * _obj1 = 0;
9642 char *_kwnames[] = { "self","arg2", NULL };
9643
9644 self = self;
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9646 return NULL;
9647 if (_argo0) {
9648 if (_argo0 == Py_None) { _arg0 = NULL; }
9649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9651 return NULL;
9652 }
9653 }
9654{
9655 _arg1 = &temp;
9656 if (! wxColour_helper(_obj1, &_arg1))
9657 return NULL;
9658}
9659{
474c48f9 9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9661 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
f6bcfd97 9662
474c48f9 9663 wxPyEndAllowThreads(__tstate);
4dfaa61e 9664 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9665} Py_INCREF(Py_None);
9666 _resultobj = Py_None;
9667 return _resultobj;
9668}
9669
9df61a29
RD
9670#define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9671static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9672 PyObject * _resultobj;
9673 wxGrid * _arg0;
9674 int _arg1;
9675 PyObject * _argo0 = 0;
9676 char *_kwnames[] = { "self","width", NULL };
9677
9678 self = self;
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
9680 return NULL;
9681 if (_argo0) {
9682 if (_argo0 == Py_None) { _arg0 = NULL; }
9683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9685 return NULL;
9686 }
9687 }
9688{
474c48f9 9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9690 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
9df61a29 9691
474c48f9 9692 wxPyEndAllowThreads(__tstate);
4dfaa61e 9693 if (PyErr_Occurred()) return NULL;
9df61a29
RD
9694} Py_INCREF(Py_None);
9695 _resultobj = Py_None;
9696 return _resultobj;
9697}
9698
9699#define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9700static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9701 PyObject * _resultobj;
9702 wxGrid * _arg0;
9703 int _arg1;
9704 PyObject * _argo0 = 0;
9705 char *_kwnames[] = { "self","width", NULL };
9706
9707 self = self;
9708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
9709 return NULL;
9710 if (_argo0) {
9711 if (_argo0 == Py_None) { _arg0 = NULL; }
9712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9714 return NULL;
9715 }
9716 }
9717{
474c48f9 9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9719 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
9df61a29 9720
474c48f9 9721 wxPyEndAllowThreads(__tstate);
4dfaa61e 9722 if (PyErr_Occurred()) return NULL;
9df61a29
RD
9723} Py_INCREF(Py_None);
9724 _resultobj = Py_None;
9725 return _resultobj;
9726}
9727
f6bcfd97
BP
9728#define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9729static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9730 PyObject * _resultobj;
9731 wxGrid * _arg0;
9732 bool _arg1 = (bool ) TRUE;
9733 PyObject * _argo0 = 0;
9734 int tempbool1 = (int) TRUE;
9735 char *_kwnames[] = { "self","enable", NULL };
9736
9737 self = self;
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9739 return NULL;
9740 if (_argo0) {
9741 if (_argo0 == Py_None) { _arg0 = NULL; }
9742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9744 return NULL;
9745 }
9746 }
9747 _arg1 = (bool ) tempbool1;
9748{
474c48f9 9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9750 wxGrid_EnableDragRowSize(_arg0,_arg1);
f6bcfd97 9751
474c48f9 9752 wxPyEndAllowThreads(__tstate);
4dfaa61e 9753 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9754} Py_INCREF(Py_None);
9755 _resultobj = Py_None;
9756 return _resultobj;
9757}
9758
9759#define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9760static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9761 PyObject * _resultobj;
9762 wxGrid * _arg0;
9763 PyObject * _argo0 = 0;
9764 char *_kwnames[] = { "self", NULL };
9765
9766 self = self;
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9768 return NULL;
9769 if (_argo0) {
9770 if (_argo0 == Py_None) { _arg0 = NULL; }
9771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9773 return NULL;
9774 }
9775 }
9776{
474c48f9 9777 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9778 wxGrid_DisableDragRowSize(_arg0);
f6bcfd97 9779
474c48f9 9780 wxPyEndAllowThreads(__tstate);
4dfaa61e 9781 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9782} Py_INCREF(Py_None);
9783 _resultobj = Py_None;
9784 return _resultobj;
9785}
9786
9787#define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9788static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject * _resultobj;
9790 bool _result;
9791 wxGrid * _arg0;
9792 PyObject * _argo0 = 0;
9793 char *_kwnames[] = { "self", NULL };
9794
9795 self = self;
9796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9797 return NULL;
9798 if (_argo0) {
9799 if (_argo0 == Py_None) { _arg0 = NULL; }
9800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9802 return NULL;
9803 }
9804 }
9805{
474c48f9 9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9807 _result = (bool )wxGrid_CanDragRowSize(_arg0);
f6bcfd97 9808
474c48f9 9809 wxPyEndAllowThreads(__tstate);
4dfaa61e 9810 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9811} _resultobj = Py_BuildValue("i",_result);
9812 return _resultobj;
9813}
9814
9815#define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9816static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9817 PyObject * _resultobj;
9818 wxGrid * _arg0;
9819 bool _arg1 = (bool ) TRUE;
9820 PyObject * _argo0 = 0;
9821 int tempbool1 = (int) TRUE;
9822 char *_kwnames[] = { "self","enable", NULL };
9823
9824 self = self;
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9826 return NULL;
9827 if (_argo0) {
9828 if (_argo0 == Py_None) { _arg0 = NULL; }
9829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9831 return NULL;
9832 }
9833 }
9834 _arg1 = (bool ) tempbool1;
9835{
474c48f9 9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9837 wxGrid_EnableDragColSize(_arg0,_arg1);
f6bcfd97 9838
474c48f9 9839 wxPyEndAllowThreads(__tstate);
4dfaa61e 9840 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9841} Py_INCREF(Py_None);
9842 _resultobj = Py_None;
9843 return _resultobj;
9844}
9845
9846#define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9847static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9848 PyObject * _resultobj;
9849 wxGrid * _arg0;
9850 PyObject * _argo0 = 0;
9851 char *_kwnames[] = { "self", NULL };
9852
9853 self = self;
9854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9855 return NULL;
9856 if (_argo0) {
9857 if (_argo0 == Py_None) { _arg0 = NULL; }
9858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9860 return NULL;
9861 }
9862 }
9863{
474c48f9 9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9865 wxGrid_DisableDragColSize(_arg0);
f6bcfd97 9866
474c48f9 9867 wxPyEndAllowThreads(__tstate);
4dfaa61e 9868 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9869} Py_INCREF(Py_None);
9870 _resultobj = Py_None;
9871 return _resultobj;
9872}
9873
9874#define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9875static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9876 PyObject * _resultobj;
9877 bool _result;
9878 wxGrid * _arg0;
9879 PyObject * _argo0 = 0;
9880 char *_kwnames[] = { "self", NULL };
9881
9882 self = self;
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9884 return NULL;
9885 if (_argo0) {
9886 if (_argo0 == Py_None) { _arg0 = NULL; }
9887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9889 return NULL;
9890 }
9891 }
9892{
474c48f9 9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9894 _result = (bool )wxGrid_CanDragColSize(_arg0);
f6bcfd97 9895
474c48f9 9896 wxPyEndAllowThreads(__tstate);
4dfaa61e 9897 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9898} _resultobj = Py_BuildValue("i",_result);
9899 return _resultobj;
9900}
9901
9902#define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9903static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject * _resultobj;
9905 wxGrid * _arg0;
9906 bool _arg1 = (bool ) TRUE;
9907 PyObject * _argo0 = 0;
9908 int tempbool1 = (int) TRUE;
9909 char *_kwnames[] = { "self","enable", NULL };
9910
9911 self = self;
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9913 return NULL;
9914 if (_argo0) {
9915 if (_argo0 == Py_None) { _arg0 = NULL; }
9916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9918 return NULL;
9919 }
9920 }
9921 _arg1 = (bool ) tempbool1;
9922{
474c48f9 9923 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9924 wxGrid_EnableDragGridSize(_arg0,_arg1);
f6bcfd97 9925
474c48f9 9926 wxPyEndAllowThreads(__tstate);
4dfaa61e 9927 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9928} Py_INCREF(Py_None);
9929 _resultobj = Py_None;
9930 return _resultobj;
9931}
9932
9933#define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9934static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9935 PyObject * _resultobj;
9936 wxGrid * _arg0;
9937 PyObject * _argo0 = 0;
9938 char *_kwnames[] = { "self", NULL };
9939
9940 self = self;
9941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9942 return NULL;
9943 if (_argo0) {
9944 if (_argo0 == Py_None) { _arg0 = NULL; }
9945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9947 return NULL;
9948 }
9949 }
9950{
474c48f9 9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9952 wxGrid_DisableDragGridSize(_arg0);
f6bcfd97 9953
474c48f9 9954 wxPyEndAllowThreads(__tstate);
4dfaa61e 9955 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9956} Py_INCREF(Py_None);
9957 _resultobj = Py_None;
9958 return _resultobj;
9959}
9960
9961#define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9962static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9963 PyObject * _resultobj;
9964 bool _result;
9965 wxGrid * _arg0;
9966 PyObject * _argo0 = 0;
9967 char *_kwnames[] = { "self", NULL };
9968
9969 self = self;
9970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9971 return NULL;
9972 if (_argo0) {
9973 if (_argo0 == Py_None) { _arg0 = NULL; }
9974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9976 return NULL;
9977 }
9978 }
9979{
474c48f9 9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9981 _result = (bool )wxGrid_CanDragGridSize(_arg0);
f6bcfd97 9982
474c48f9 9983 wxPyEndAllowThreads(__tstate);
4dfaa61e 9984 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9985} _resultobj = Py_BuildValue("i",_result);
9986 return _resultobj;
9987}
9988
9989#define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9990static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9991 PyObject * _resultobj;
9992 wxGrid * _arg0;
9993 int _arg1;
9994 wxGridCellAttr * _arg2;
9995 PyObject * _argo0 = 0;
9996 PyObject * _argo2 = 0;
9997 char *_kwnames[] = { "self","row","attr", NULL };
9998
9999 self = self;
10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10001 return NULL;
10002 if (_argo0) {
10003 if (_argo0 == Py_None) { _arg0 = NULL; }
10004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10006 return NULL;
10007 }
10008 }
10009 if (_argo2) {
10010 if (_argo2 == Py_None) { _arg2 = NULL; }
10011 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10012 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10013 return NULL;
10014 }
10015 }
10016{
474c48f9 10017 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10018 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
f6bcfd97 10019
474c48f9 10020 wxPyEndAllowThreads(__tstate);
4dfaa61e 10021 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10022} Py_INCREF(Py_None);
10023 _resultobj = Py_None;
10024 return _resultobj;
10025}
10026
10027#define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10028static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10029 PyObject * _resultobj;
10030 wxGrid * _arg0;
10031 int _arg1;
10032 wxGridCellAttr * _arg2;
10033 PyObject * _argo0 = 0;
10034 PyObject * _argo2 = 0;
10035 char *_kwnames[] = { "self","col","attr", NULL };
10036
10037 self = self;
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10039 return NULL;
10040 if (_argo0) {
10041 if (_argo0 == Py_None) { _arg0 = NULL; }
10042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10044 return NULL;
10045 }
10046 }
10047 if (_argo2) {
10048 if (_argo2 == Py_None) { _arg2 = NULL; }
10049 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10050 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10051 return NULL;
10052 }
10053 }
10054{
474c48f9 10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10056 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
f6bcfd97 10057
474c48f9 10058 wxPyEndAllowThreads(__tstate);
4dfaa61e 10059 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10060} Py_INCREF(Py_None);
10061 _resultobj = Py_None;
10062 return _resultobj;
10063}
10064
10065#define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10066static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10067 PyObject * _resultobj;
10068 wxGrid * _arg0;
10069 int _arg1;
10070 PyObject * _argo0 = 0;
10071 char *_kwnames[] = { "self","col", NULL };
10072
10073 self = self;
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10075 return NULL;
10076 if (_argo0) {
10077 if (_argo0 == Py_None) { _arg0 = NULL; }
10078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10080 return NULL;
10081 }
10082 }
10083{
474c48f9 10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10085 wxGrid_SetColFormatBool(_arg0,_arg1);
f6bcfd97 10086
474c48f9 10087 wxPyEndAllowThreads(__tstate);
4dfaa61e 10088 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10089} Py_INCREF(Py_None);
10090 _resultobj = Py_None;
10091 return _resultobj;
10092}
10093
10094#define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10095static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10096 PyObject * _resultobj;
10097 wxGrid * _arg0;
10098 int _arg1;
10099 PyObject * _argo0 = 0;
10100 char *_kwnames[] = { "self","col", NULL };
10101
10102 self = self;
10103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10104 return NULL;
10105 if (_argo0) {
10106 if (_argo0 == Py_None) { _arg0 = NULL; }
10107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10109 return NULL;
10110 }
10111 }
10112{
474c48f9 10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10114 wxGrid_SetColFormatNumber(_arg0,_arg1);
f6bcfd97 10115
474c48f9 10116 wxPyEndAllowThreads(__tstate);
4dfaa61e 10117 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10118} Py_INCREF(Py_None);
10119 _resultobj = Py_None;
10120 return _resultobj;
10121}
10122
10123#define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10124static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10125 PyObject * _resultobj;
10126 wxGrid * _arg0;
10127 int _arg1;
10128 int _arg2 = (int ) -1;
10129 int _arg3 = (int ) -1;
10130 PyObject * _argo0 = 0;
10131 char *_kwnames[] = { "self","col","width","precision", NULL };
10132
10133 self = self;
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10135 return NULL;
10136 if (_argo0) {
10137 if (_argo0 == Py_None) { _arg0 = NULL; }
10138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10140 return NULL;
10141 }
10142 }
10143{
474c48f9 10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10145 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 10146
474c48f9 10147 wxPyEndAllowThreads(__tstate);
4dfaa61e 10148 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10149} Py_INCREF(Py_None);
10150 _resultobj = Py_None;
10151 return _resultobj;
10152}
10153
10154#define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10155static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10156 PyObject * _resultobj;
10157 wxGrid * _arg0;
10158 int _arg1;
10159 wxString * _arg2;
10160 PyObject * _argo0 = 0;
10161 PyObject * _obj2 = 0;
10162 char *_kwnames[] = { "self","col","typeName", NULL };
10163
10164 self = self;
10165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10166 return NULL;
10167 if (_argo0) {
10168 if (_argo0 == Py_None) { _arg0 = NULL; }
10169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10171 return NULL;
10172 }
10173 }
10174{
c8bc7bb8
RD
10175 _arg2 = wxString_in_helper(_obj2);
10176 if (_arg2 == NULL)
2cd2fac8 10177 return NULL;
f6bcfd97
BP
10178}
10179{
474c48f9 10180 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10181 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
f6bcfd97 10182
474c48f9 10183 wxPyEndAllowThreads(__tstate);
4dfaa61e 10184 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10185} Py_INCREF(Py_None);
10186 _resultobj = Py_None;
10187{
10188 if (_obj2)
10189 delete _arg2;
10190}
10191 return _resultobj;
10192}
10193
10194#define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10195static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10196 PyObject * _resultobj;
10197 wxGrid * _arg0;
10198 bool _arg1 = (bool ) TRUE;
10199 PyObject * _argo0 = 0;
10200 int tempbool1 = (int) TRUE;
10201 char *_kwnames[] = { "self","enable", NULL };
10202
10203 self = self;
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
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_EnableGridLines. Expected _wxGrid_p.");
10210 return NULL;
10211 }
10212 }
10213 _arg1 = (bool ) tempbool1;
10214{
474c48f9 10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10216 wxGrid_EnableGridLines(_arg0,_arg1);
f6bcfd97 10217
474c48f9 10218 wxPyEndAllowThreads(__tstate);
4dfaa61e 10219 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10220} Py_INCREF(Py_None);
10221 _resultobj = Py_None;
10222 return _resultobj;
10223}
10224
10225#define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10226static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10227 PyObject * _resultobj;
10228 bool _result;
10229 wxGrid * _arg0;
10230 PyObject * _argo0 = 0;
10231 char *_kwnames[] = { "self", NULL };
10232
10233 self = self;
10234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10235 return NULL;
10236 if (_argo0) {
10237 if (_argo0 == Py_None) { _arg0 = NULL; }
10238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10240 return NULL;
10241 }
10242 }
10243{
474c48f9 10244 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10245 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
f6bcfd97 10246
474c48f9 10247 wxPyEndAllowThreads(__tstate);
4dfaa61e 10248 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10249} _resultobj = Py_BuildValue("i",_result);
10250 return _resultobj;
10251}
10252
10253#define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10254static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10255 PyObject * _resultobj;
10256 int _result;
10257 wxGrid * _arg0;
10258 PyObject * _argo0 = 0;
10259 char *_kwnames[] = { "self", NULL };
10260
10261 self = self;
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10263 return NULL;
10264 if (_argo0) {
10265 if (_argo0 == Py_None) { _arg0 = NULL; }
10266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10268 return NULL;
10269 }
10270 }
10271{
474c48f9 10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10273 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
f6bcfd97 10274
474c48f9 10275 wxPyEndAllowThreads(__tstate);
4dfaa61e 10276 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10277} _resultobj = Py_BuildValue("i",_result);
10278 return _resultobj;
10279}
10280
10281#define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10282static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10283 PyObject * _resultobj;
10284 int _result;
10285 wxGrid * _arg0;
10286 int _arg1;
10287 PyObject * _argo0 = 0;
10288 char *_kwnames[] = { "self","row", NULL };
10289
10290 self = self;
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10292 return NULL;
10293 if (_argo0) {
10294 if (_argo0 == Py_None) { _arg0 = NULL; }
10295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10297 return NULL;
10298 }
10299 }
10300{
474c48f9 10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10302 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
f6bcfd97 10303
474c48f9 10304 wxPyEndAllowThreads(__tstate);
4dfaa61e 10305 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10306} _resultobj = Py_BuildValue("i",_result);
10307 return _resultobj;
10308}
10309
10310#define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10311static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10312 PyObject * _resultobj;
10313 int _result;
10314 wxGrid * _arg0;
10315 PyObject * _argo0 = 0;
10316 char *_kwnames[] = { "self", NULL };
10317
10318 self = self;
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_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_GetDefaultColSize. Expected _wxGrid_p.");
10325 return NULL;
10326 }
10327 }
10328{
474c48f9 10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10330 _result = (int )wxGrid_GetDefaultColSize(_arg0);
f6bcfd97 10331
474c48f9 10332 wxPyEndAllowThreads(__tstate);
4dfaa61e 10333 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10334} _resultobj = Py_BuildValue("i",_result);
10335 return _resultobj;
10336}
10337
10338#define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10339static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject * _resultobj;
10341 int _result;
10342 wxGrid * _arg0;
10343 int _arg1;
10344 PyObject * _argo0 = 0;
10345 char *_kwnames[] = { "self","col", NULL };
10346
10347 self = self;
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10349 return NULL;
10350 if (_argo0) {
10351 if (_argo0 == Py_None) { _arg0 = NULL; }
10352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10354 return NULL;
10355 }
10356 }
10357{
474c48f9 10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10359 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
f6bcfd97 10360
474c48f9 10361 wxPyEndAllowThreads(__tstate);
4dfaa61e 10362 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10363} _resultobj = Py_BuildValue("i",_result);
10364 return _resultobj;
10365}
10366
10367#define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10368static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10369 PyObject * _resultobj;
10370 wxColour * _result;
10371 wxGrid * _arg0;
10372 PyObject * _argo0 = 0;
10373 char *_kwnames[] = { "self", NULL };
10374 char _ptemp[128];
10375
10376 self = self;
10377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10378 return NULL;
10379 if (_argo0) {
10380 if (_argo0 == Py_None) { _arg0 = NULL; }
10381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10383 return NULL;
10384 }
10385 }
10386{
474c48f9 10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10388 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
f6bcfd97 10389
474c48f9 10390 wxPyEndAllowThreads(__tstate);
4dfaa61e 10391 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10392} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10393 _resultobj = Py_BuildValue("s",_ptemp);
10394 return _resultobj;
10395}
10396
10397#define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10398static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10399 PyObject * _resultobj;
10400 wxColour * _result;
10401 wxGrid * _arg0;
10402 int _arg1;
10403 int _arg2;
10404 PyObject * _argo0 = 0;
10405 char *_kwnames[] = { "self","row","col", NULL };
10406 char _ptemp[128];
10407
10408 self = self;
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10410 return NULL;
10411 if (_argo0) {
10412 if (_argo0 == Py_None) { _arg0 = NULL; }
10413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10415 return NULL;
10416 }
10417 }
10418{
474c48f9 10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10420 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
f6bcfd97 10421
474c48f9 10422 wxPyEndAllowThreads(__tstate);
4dfaa61e 10423 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10424} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10425 _resultobj = Py_BuildValue("s",_ptemp);
10426 return _resultobj;
10427}
10428
10429#define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10430static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10431 PyObject * _resultobj;
10432 wxColour * _result;
10433 wxGrid * _arg0;
10434 PyObject * _argo0 = 0;
10435 char *_kwnames[] = { "self", NULL };
10436 char _ptemp[128];
10437
10438 self = self;
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10440 return NULL;
10441 if (_argo0) {
10442 if (_argo0 == Py_None) { _arg0 = NULL; }
10443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10445 return NULL;
10446 }
10447 }
10448{
474c48f9 10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10450 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
f6bcfd97 10451
474c48f9 10452 wxPyEndAllowThreads(__tstate);
4dfaa61e 10453 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10454} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10455 _resultobj = Py_BuildValue("s",_ptemp);
10456 return _resultobj;
10457}
10458
10459#define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10460static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10461 PyObject * _resultobj;
10462 wxColour * _result;
10463 wxGrid * _arg0;
10464 int _arg1;
10465 int _arg2;
10466 PyObject * _argo0 = 0;
10467 char *_kwnames[] = { "self","row","col", NULL };
10468 char _ptemp[128];
10469
10470 self = self;
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10472 return NULL;
10473 if (_argo0) {
10474 if (_argo0 == Py_None) { _arg0 = NULL; }
10475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10477 return NULL;
10478 }
10479 }
10480{
474c48f9 10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10482 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
f6bcfd97 10483
474c48f9 10484 wxPyEndAllowThreads(__tstate);
4dfaa61e 10485 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10486} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10487 _resultobj = Py_BuildValue("s",_ptemp);
10488 return _resultobj;
10489}
10490
10491#define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10492static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10493 PyObject * _resultobj;
10494 wxFont * _result;
10495 wxGrid * _arg0;
10496 PyObject * _argo0 = 0;
10497 char *_kwnames[] = { "self", NULL };
10498 char _ptemp[128];
10499
10500 self = self;
10501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10502 return NULL;
10503 if (_argo0) {
10504 if (_argo0 == Py_None) { _arg0 = NULL; }
10505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10507 return NULL;
10508 }
10509 }
10510{
474c48f9 10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10512 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
f6bcfd97 10513
474c48f9 10514 wxPyEndAllowThreads(__tstate);
4dfaa61e 10515 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10516} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10517 _resultobj = Py_BuildValue("s",_ptemp);
10518 return _resultobj;
10519}
10520
10521#define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10522static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10523 PyObject * _resultobj;
10524 wxFont * _result;
10525 wxGrid * _arg0;
10526 int _arg1;
10527 int _arg2;
10528 PyObject * _argo0 = 0;
10529 char *_kwnames[] = { "self","row","col", NULL };
10530 char _ptemp[128];
10531
10532 self = self;
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10534 return NULL;
10535 if (_argo0) {
10536 if (_argo0 == Py_None) { _arg0 = NULL; }
10537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10539 return NULL;
10540 }
10541 }
10542{
474c48f9 10543 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10544 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
f6bcfd97 10545
474c48f9 10546 wxPyEndAllowThreads(__tstate);
4dfaa61e 10547 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10548} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10549 _resultobj = Py_BuildValue("s",_ptemp);
10550 return _resultobj;
10551}
10552
10553#define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10554static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10555 PyObject * _resultobj;
10556 wxGrid * _arg0;
10557 int * _arg1;
10558 int * _arg2;
10559 PyObject * _argo0 = 0;
10560 PyObject * _argo1 = 0;
10561 PyObject * _argo2 = 0;
10562 char *_kwnames[] = { "self","horiz","vert", NULL };
10563
10564 self = self;
10565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10566 return NULL;
10567 if (_argo0) {
10568 if (_argo0 == Py_None) { _arg0 = NULL; }
10569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10571 return NULL;
10572 }
10573 }
10574 if (_argo1) {
10575 if (_argo1 == Py_None) { _arg1 = NULL; }
10576 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10577 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10578 return NULL;
10579 }
10580 }
10581 if (_argo2) {
10582 if (_argo2 == Py_None) { _arg2 = NULL; }
10583 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10584 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10585 return NULL;
10586 }
10587 }
10588{
474c48f9 10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10590 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
f6bcfd97 10591
474c48f9 10592 wxPyEndAllowThreads(__tstate);
4dfaa61e 10593 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10594} Py_INCREF(Py_None);
10595 _resultobj = Py_None;
10596 return _resultobj;
10597}
10598
10599#define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10600static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10601 PyObject * _resultobj;
10602 wxGrid * _arg0;
10603 int _arg1;
10604 int _arg2;
10605 int * _arg3;
10606 int * _arg4;
10607 PyObject * _argo0 = 0;
10608 PyObject * _argo3 = 0;
10609 PyObject * _argo4 = 0;
10610 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10611
10612 self = self;
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10614 return NULL;
10615 if (_argo0) {
10616 if (_argo0 == Py_None) { _arg0 = NULL; }
10617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10619 return NULL;
10620 }
10621 }
10622 if (_argo3) {
10623 if (_argo3 == Py_None) { _arg3 = NULL; }
10624 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10625 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10626 return NULL;
10627 }
10628 }
10629 if (_argo4) {
10630 if (_argo4 == Py_None) { _arg4 = NULL; }
10631 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10632 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10633 return NULL;
10634 }
10635 }
10636{
474c48f9 10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10638 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
f6bcfd97 10639
474c48f9 10640 wxPyEndAllowThreads(__tstate);
4dfaa61e 10641 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10642} Py_INCREF(Py_None);
10643 _resultobj = Py_None;
10644 return _resultobj;
10645}
10646
10647#define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10648static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10649 PyObject * _resultobj;
10650 wxGrid * _arg0;
10651 int _arg1;
10652 bool _arg2 = (bool ) FALSE;
10653 PyObject * _argo0 = 0;
10654 int tempbool2 = (int) FALSE;
10655 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10656
10657 self = self;
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10659 return NULL;
10660 if (_argo0) {
10661 if (_argo0 == Py_None) { _arg0 = NULL; }
10662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10664 return NULL;
10665 }
10666 }
10667 _arg2 = (bool ) tempbool2;
10668{
474c48f9 10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10670 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
f6bcfd97 10671
474c48f9 10672 wxPyEndAllowThreads(__tstate);
4dfaa61e 10673 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10674} Py_INCREF(Py_None);
10675 _resultobj = Py_None;
10676 return _resultobj;
10677}
10678
10679#define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10680static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject * _resultobj;
10682 wxGrid * _arg0;
10683 int _arg1;
10684 int _arg2;
10685 PyObject * _argo0 = 0;
10686 char *_kwnames[] = { "self","row","height", NULL };
10687
10688 self = self;
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10690 return NULL;
10691 if (_argo0) {
10692 if (_argo0 == Py_None) { _arg0 = NULL; }
10693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10695 return NULL;
10696 }
10697 }
10698{
474c48f9 10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10700 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
f6bcfd97 10701
474c48f9 10702 wxPyEndAllowThreads(__tstate);
4dfaa61e 10703 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10704} Py_INCREF(Py_None);
10705 _resultobj = Py_None;
10706 return _resultobj;
10707}
10708
10709#define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10710static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10711 PyObject * _resultobj;
10712 wxGrid * _arg0;
10713 int _arg1;
10714 bool _arg2 = (bool ) FALSE;
10715 PyObject * _argo0 = 0;
10716 int tempbool2 = (int) FALSE;
10717 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10718
10719 self = self;
10720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10721 return NULL;
10722 if (_argo0) {
10723 if (_argo0 == Py_None) { _arg0 = NULL; }
10724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10726 return NULL;
10727 }
10728 }
10729 _arg2 = (bool ) tempbool2;
10730{
474c48f9 10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10732 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
f6bcfd97 10733
474c48f9 10734 wxPyEndAllowThreads(__tstate);
4dfaa61e 10735 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10736} Py_INCREF(Py_None);
10737 _resultobj = Py_None;
10738 return _resultobj;
10739}
10740
10741#define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10742static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10743 PyObject * _resultobj;
10744 wxGrid * _arg0;
10745 int _arg1;
10746 int _arg2;
10747 PyObject * _argo0 = 0;
10748 char *_kwnames[] = { "self","col","width", NULL };
10749
10750 self = self;
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10752 return NULL;
10753 if (_argo0) {
10754 if (_argo0 == Py_None) { _arg0 = NULL; }
10755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10757 return NULL;
10758 }
10759 }
10760{
474c48f9 10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10762 wxGrid_SetColSize(_arg0,_arg1,_arg2);
f6bcfd97 10763
474c48f9 10764 wxPyEndAllowThreads(__tstate);
4dfaa61e 10765 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10766} Py_INCREF(Py_None);
10767 _resultobj = Py_None;
10768 return _resultobj;
10769}
10770
10771#define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10772static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10773 PyObject * _resultobj;
10774 wxGrid * _arg0;
10775 int _arg1;
10776 bool _arg2 = (bool ) TRUE;
10777 PyObject * _argo0 = 0;
10778 int tempbool2 = (int) TRUE;
10779 char *_kwnames[] = { "self","col","setAsMin", NULL };
10780
10781 self = self;
10782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10783 return NULL;
10784 if (_argo0) {
10785 if (_argo0 == Py_None) { _arg0 = NULL; }
10786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10788 return NULL;
10789 }
10790 }
10791 _arg2 = (bool ) tempbool2;
10792{
474c48f9 10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10794 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
f6bcfd97 10795
474c48f9 10796 wxPyEndAllowThreads(__tstate);
4dfaa61e 10797 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10798} Py_INCREF(Py_None);
10799 _resultobj = Py_None;
10800 return _resultobj;
10801}
10802
10803#define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10804static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10805 PyObject * _resultobj;
10806 wxGrid * _arg0;
10807 int _arg1;
10808 bool _arg2 = (bool ) TRUE;
10809 PyObject * _argo0 = 0;
10810 int tempbool2 = (int) TRUE;
10811 char *_kwnames[] = { "self","row","setAsMin", NULL };
10812
10813 self = self;
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10815 return NULL;
10816 if (_argo0) {
10817 if (_argo0 == Py_None) { _arg0 = NULL; }
10818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10820 return NULL;
10821 }
10822 }
10823 _arg2 = (bool ) tempbool2;
10824{
474c48f9 10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10826 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
f6bcfd97 10827
474c48f9 10828 wxPyEndAllowThreads(__tstate);
4dfaa61e 10829 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10830} Py_INCREF(Py_None);
10831 _resultobj = Py_None;
10832 return _resultobj;
10833}
10834
10835#define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10836static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10837 PyObject * _resultobj;
10838 wxGrid * _arg0;
10839 bool _arg1 = (bool ) TRUE;
10840 PyObject * _argo0 = 0;
10841 int tempbool1 = (int) TRUE;
10842 char *_kwnames[] = { "self","setAsMin", NULL };
10843
10844 self = self;
10845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10846 return NULL;
10847 if (_argo0) {
10848 if (_argo0 == Py_None) { _arg0 = NULL; }
10849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10851 return NULL;
10852 }
10853 }
10854 _arg1 = (bool ) tempbool1;
10855{
474c48f9 10856 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10857 wxGrid_AutoSizeColumns(_arg0,_arg1);
f6bcfd97 10858
474c48f9 10859 wxPyEndAllowThreads(__tstate);
4dfaa61e 10860 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10861} Py_INCREF(Py_None);
10862 _resultobj = Py_None;
10863 return _resultobj;
10864}
10865
10866#define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10867static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10868 PyObject * _resultobj;
10869 wxGrid * _arg0;
10870 bool _arg1 = (bool ) TRUE;
10871 PyObject * _argo0 = 0;
10872 int tempbool1 = (int) TRUE;
10873 char *_kwnames[] = { "self","setAsMin", NULL };
10874
10875 self = self;
10876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10877 return NULL;
10878 if (_argo0) {
10879 if (_argo0 == Py_None) { _arg0 = NULL; }
10880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10882 return NULL;
10883 }
10884 }
10885 _arg1 = (bool ) tempbool1;
10886{
474c48f9 10887 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10888 wxGrid_AutoSizeRows(_arg0,_arg1);
f6bcfd97 10889
474c48f9 10890 wxPyEndAllowThreads(__tstate);
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_AutoSize(_swigobj) (_swigobj->AutoSize())
10898static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10899 PyObject * _resultobj;
10900 wxGrid * _arg0;
10901 PyObject * _argo0 = 0;
10902 char *_kwnames[] = { "self", NULL };
10903
10904 self = self;
10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10906 return NULL;
10907 if (_argo0) {
10908 if (_argo0 == Py_None) { _arg0 = NULL; }
10909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10911 return NULL;
10912 }
10913 }
10914{
474c48f9 10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10916 wxGrid_AutoSize(_arg0);
f6bcfd97 10917
474c48f9 10918 wxPyEndAllowThreads(__tstate);
4dfaa61e 10919 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10920} Py_INCREF(Py_None);
10921 _resultobj = Py_None;
10922 return _resultobj;
10923}
10924
10925#define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10926static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10927 PyObject * _resultobj;
10928 wxGrid * _arg0;
10929 int _arg1;
10930 int _arg2;
10931 PyObject * _argo0 = 0;
10932 char *_kwnames[] = { "self","col","width", NULL };
10933
10934 self = self;
10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10936 return NULL;
10937 if (_argo0) {
10938 if (_argo0 == Py_None) { _arg0 = NULL; }
10939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10941 return NULL;
10942 }
10943 }
10944{
474c48f9 10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10946 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
f6bcfd97 10947
474c48f9 10948 wxPyEndAllowThreads(__tstate);
4dfaa61e 10949 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10950} Py_INCREF(Py_None);
10951 _resultobj = Py_None;
10952 return _resultobj;
10953}
10954
10955#define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10956static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10957 PyObject * _resultobj;
10958 wxGrid * _arg0;
10959 int _arg1;
10960 int _arg2;
10961 PyObject * _argo0 = 0;
10962 char *_kwnames[] = { "self","row","width", NULL };
10963
10964 self = self;
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10966 return NULL;
10967 if (_argo0) {
10968 if (_argo0 == Py_None) { _arg0 = NULL; }
10969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10971 return NULL;
10972 }
10973 }
10974{
474c48f9 10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10976 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
f6bcfd97 10977
474c48f9 10978 wxPyEndAllowThreads(__tstate);
4dfaa61e 10979 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10980} Py_INCREF(Py_None);
10981 _resultobj = Py_None;
10982 return _resultobj;
10983}
10984
10985#define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10986static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10987 PyObject * _resultobj;
10988 wxGrid * _arg0;
10989 wxColour * _arg1;
10990 PyObject * _argo0 = 0;
10991 wxColour temp;
10992 PyObject * _obj1 = 0;
10993 char *_kwnames[] = { "self","arg2", NULL };
10994
10995 self = self;
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10997 return NULL;
10998 if (_argo0) {
10999 if (_argo0 == Py_None) { _arg0 = NULL; }
11000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11002 return NULL;
11003 }
11004 }
11005{
11006 _arg1 = &temp;
11007 if (! wxColour_helper(_obj1, &_arg1))
11008 return NULL;
11009}
11010{
474c48f9 11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11012 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
f6bcfd97 11013
474c48f9 11014 wxPyEndAllowThreads(__tstate);
4dfaa61e 11015 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11016} Py_INCREF(Py_None);
11017 _resultobj = Py_None;
11018 return _resultobj;
11019}
11020
11021#define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11022static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11023 PyObject * _resultobj;
11024 wxGrid * _arg0;
11025 int _arg1;
11026 int _arg2;
11027 wxColour * _arg3;
11028 PyObject * _argo0 = 0;
11029 wxColour temp;
11030 PyObject * _obj3 = 0;
11031 char *_kwnames[] = { "self","row","col","arg4", NULL };
11032
11033 self = self;
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11035 return NULL;
11036 if (_argo0) {
11037 if (_argo0 == Py_None) { _arg0 = NULL; }
11038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11040 return NULL;
11041 }
11042 }
11043{
11044 _arg3 = &temp;
11045 if (! wxColour_helper(_obj3, &_arg3))
11046 return NULL;
11047}
11048{
474c48f9 11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11050 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
f6bcfd97 11051
474c48f9 11052 wxPyEndAllowThreads(__tstate);
4dfaa61e 11053 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11054} Py_INCREF(Py_None);
11055 _resultobj = Py_None;
11056 return _resultobj;
11057}
11058
11059#define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11060static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11061 PyObject * _resultobj;
11062 wxGrid * _arg0;
11063 wxColour * _arg1;
11064 PyObject * _argo0 = 0;
11065 wxColour temp;
11066 PyObject * _obj1 = 0;
11067 char *_kwnames[] = { "self","arg2", NULL };
11068
11069 self = self;
11070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
11071 return NULL;
11072 if (_argo0) {
11073 if (_argo0 == Py_None) { _arg0 = NULL; }
11074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11076 return NULL;
11077 }
11078 }
11079{
11080 _arg1 = &temp;
11081 if (! wxColour_helper(_obj1, &_arg1))
11082 return NULL;
11083}
11084{
474c48f9 11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11086 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
f6bcfd97 11087
474c48f9 11088 wxPyEndAllowThreads(__tstate);
4dfaa61e 11089 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11090} Py_INCREF(Py_None);
11091 _resultobj = Py_None;
11092 return _resultobj;
11093}
11094
11095#define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11096static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11097 PyObject * _resultobj;
11098 wxGrid * _arg0;
11099 int _arg1;
11100 int _arg2;
11101 wxColour * _arg3;
11102 PyObject * _argo0 = 0;
11103 wxColour temp;
11104 PyObject * _obj3 = 0;
11105 char *_kwnames[] = { "self","row","col","arg4", NULL };
11106
11107 self = self;
11108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11109 return NULL;
11110 if (_argo0) {
11111 if (_argo0 == Py_None) { _arg0 = NULL; }
11112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11114 return NULL;
11115 }
11116 }
11117{
11118 _arg3 = &temp;
11119 if (! wxColour_helper(_obj3, &_arg3))
11120 return NULL;
11121}
11122{
474c48f9 11123 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11124 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
f6bcfd97 11125
474c48f9 11126 wxPyEndAllowThreads(__tstate);
4dfaa61e 11127 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11128} Py_INCREF(Py_None);
11129 _resultobj = Py_None;
11130 return _resultobj;
11131}
11132
11133#define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11134static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11135 PyObject * _resultobj;
11136 wxGrid * _arg0;
11137 wxFont * _arg1;
11138 PyObject * _argo0 = 0;
11139 PyObject * _argo1 = 0;
11140 char *_kwnames[] = { "self","arg2", NULL };
11141
11142 self = self;
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11144 return NULL;
11145 if (_argo0) {
11146 if (_argo0 == Py_None) { _arg0 = NULL; }
11147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11149 return NULL;
11150 }
11151 }
11152 if (_argo1) {
11153 if (_argo1 == Py_None) { _arg1 = NULL; }
11154 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11155 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11156 return NULL;
11157 }
11158 }
11159{
474c48f9 11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11161 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
f6bcfd97 11162
474c48f9 11163 wxPyEndAllowThreads(__tstate);
4dfaa61e 11164 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11165} Py_INCREF(Py_None);
11166 _resultobj = Py_None;
11167 return _resultobj;
11168}
11169
11170#define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11171static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11172 PyObject * _resultobj;
11173 wxGrid * _arg0;
11174 int _arg1;
11175 int _arg2;
11176 wxFont * _arg3;
11177 PyObject * _argo0 = 0;
11178 PyObject * _argo3 = 0;
11179 char *_kwnames[] = { "self","row","col","arg4", NULL };
11180
11181 self = self;
11182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11183 return NULL;
11184 if (_argo0) {
11185 if (_argo0 == Py_None) { _arg0 = NULL; }
11186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11188 return NULL;
11189 }
11190 }
11191 if (_argo3) {
11192 if (_argo3 == Py_None) { _arg3 = NULL; }
11193 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11194 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11195 return NULL;
11196 }
11197 }
11198{
474c48f9 11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11200 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
f6bcfd97 11201
474c48f9 11202 wxPyEndAllowThreads(__tstate);
4dfaa61e 11203 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11204} Py_INCREF(Py_None);
11205 _resultobj = Py_None;
11206 return _resultobj;
11207}
11208
11209#define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11210static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11211 PyObject * _resultobj;
11212 wxGrid * _arg0;
11213 int _arg1;
11214 int _arg2;
11215 PyObject * _argo0 = 0;
11216 char *_kwnames[] = { "self","horiz","vert", NULL };
11217
11218 self = self;
11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11220 return NULL;
11221 if (_argo0) {
11222 if (_argo0 == Py_None) { _arg0 = NULL; }
11223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11225 return NULL;
11226 }
11227 }
11228{
474c48f9 11229 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11230 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
f6bcfd97 11231
474c48f9 11232 wxPyEndAllowThreads(__tstate);
4dfaa61e 11233 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11234} Py_INCREF(Py_None);
11235 _resultobj = Py_None;
11236 return _resultobj;
11237}
11238
11239#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11240static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11241 PyObject * _resultobj;
11242 wxGrid * _arg0;
11243 int _arg1;
11244 int _arg2;
11245 int _arg3;
11246 int _arg4;
11247 PyObject * _argo0 = 0;
11248 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11249
11250 self = self;
11251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11252 return NULL;
11253 if (_argo0) {
11254 if (_argo0 == Py_None) { _arg0 = NULL; }
11255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11257 return NULL;
11258 }
11259 }
11260{
474c48f9 11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11262 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
f6bcfd97 11263
474c48f9 11264 wxPyEndAllowThreads(__tstate);
4dfaa61e 11265 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11266} Py_INCREF(Py_None);
11267 _resultobj = Py_None;
11268 return _resultobj;
11269}
11270
11271#define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11272static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11273 PyObject * _resultobj;
11274 wxGrid * _arg0;
11275 wxGridCellRenderer * _arg1;
11276 PyObject * _argo0 = 0;
11277 PyObject * _argo1 = 0;
11278 char *_kwnames[] = { "self","renderer", NULL };
11279
11280 self = self;
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
11282 return NULL;
11283 if (_argo0) {
11284 if (_argo0 == Py_None) { _arg0 = NULL; }
11285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11287 return NULL;
11288 }
11289 }
11290 if (_argo1) {
11291 if (_argo1 == Py_None) { _arg1 = NULL; }
11292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
11293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11294 return NULL;
11295 }
11296 }
11297{
474c48f9 11298 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11299 wxGrid_SetDefaultRenderer(_arg0,_arg1);
f6bcfd97 11300
474c48f9 11301 wxPyEndAllowThreads(__tstate);
4dfaa61e 11302 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11303} Py_INCREF(Py_None);
11304 _resultobj = Py_None;
11305 return _resultobj;
11306}
11307
11308#define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11309static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11310 PyObject * _resultobj;
11311 wxGrid * _arg0;
11312 int _arg1;
11313 int _arg2;
11314 wxGridCellRenderer * _arg3;
11315 PyObject * _argo0 = 0;
11316 PyObject * _argo3 = 0;
11317 char *_kwnames[] = { "self","row","col","renderer", NULL };
11318
11319 self = self;
11320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11321 return NULL;
11322 if (_argo0) {
11323 if (_argo0 == Py_None) { _arg0 = NULL; }
11324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11326 return NULL;
11327 }
11328 }
11329 if (_argo3) {
11330 if (_argo3 == Py_None) { _arg3 = NULL; }
11331 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
11332 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11333 return NULL;
11334 }
11335 }
11336{
474c48f9 11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11338 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 11339
474c48f9 11340 wxPyEndAllowThreads(__tstate);
4dfaa61e 11341 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11342} Py_INCREF(Py_None);
11343 _resultobj = Py_None;
11344 return _resultobj;
11345}
11346
11347#define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11348static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11349 PyObject * _resultobj;
11350 wxGridCellRenderer * _result;
11351 wxGrid * _arg0;
11352 PyObject * _argo0 = 0;
11353 char *_kwnames[] = { "self", NULL };
11354 char _ptemp[128];
11355
11356 self = self;
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
11358 return NULL;
11359 if (_argo0) {
11360 if (_argo0 == Py_None) { _arg0 = NULL; }
11361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11363 return NULL;
11364 }
11365 }
11366{
474c48f9 11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11368 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
f6bcfd97 11369
474c48f9 11370 wxPyEndAllowThreads(__tstate);
4dfaa61e 11371 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11372} if (_result) {
11373 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11374 _resultobj = Py_BuildValue("s",_ptemp);
11375 } else {
11376 Py_INCREF(Py_None);
11377 _resultobj = Py_None;
11378 }
11379 return _resultobj;
11380}
11381
11382#define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11383static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11384 PyObject * _resultobj;
11385 wxGridCellRenderer * _result;
11386 wxGrid * _arg0;
11387 int _arg1;
11388 int _arg2;
11389 PyObject * _argo0 = 0;
11390 char *_kwnames[] = { "self","row","col", NULL };
11391 char _ptemp[128];
11392
11393 self = self;
11394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11395 return NULL;
11396 if (_argo0) {
11397 if (_argo0 == Py_None) { _arg0 = NULL; }
11398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11400 return NULL;
11401 }
11402 }
11403{
474c48f9 11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11405 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
f6bcfd97 11406
474c48f9 11407 wxPyEndAllowThreads(__tstate);
4dfaa61e 11408 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11409} if (_result) {
11410 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11411 _resultobj = Py_BuildValue("s",_ptemp);
11412 } else {
11413 Py_INCREF(Py_None);
11414 _resultobj = Py_None;
11415 }
11416 return _resultobj;
11417}
11418
11419#define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11420static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11421 PyObject * _resultobj;
11422 wxGrid * _arg0;
11423 wxGridCellEditor * _arg1;
11424 PyObject * _argo0 = 0;
11425 PyObject * _argo1 = 0;
11426 char *_kwnames[] = { "self","editor", NULL };
11427
11428 self = self;
11429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
11430 return NULL;
11431 if (_argo0) {
11432 if (_argo0 == Py_None) { _arg0 = NULL; }
11433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11435 return NULL;
11436 }
11437 }
11438 if (_argo1) {
11439 if (_argo1 == Py_None) { _arg1 = NULL; }
11440 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
11441 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11442 return NULL;
11443 }
11444 }
11445{
474c48f9 11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11447 wxGrid_SetDefaultEditor(_arg0,_arg1);
f6bcfd97 11448
474c48f9 11449 wxPyEndAllowThreads(__tstate);
4dfaa61e 11450 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11451} Py_INCREF(Py_None);
11452 _resultobj = Py_None;
11453 return _resultobj;
11454}
11455
11456#define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11457static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11458 PyObject * _resultobj;
11459 wxGrid * _arg0;
11460 int _arg1;
11461 int _arg2;
11462 wxGridCellEditor * _arg3;
11463 PyObject * _argo0 = 0;
11464 PyObject * _argo3 = 0;
11465 char *_kwnames[] = { "self","row","col","editor", NULL };
11466
11467 self = self;
11468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11469 return NULL;
11470 if (_argo0) {
11471 if (_argo0 == Py_None) { _arg0 = NULL; }
11472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11474 return NULL;
11475 }
11476 }
11477 if (_argo3) {
11478 if (_argo3 == Py_None) { _arg3 = NULL; }
11479 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11480 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11481 return NULL;
11482 }
11483 }
11484{
474c48f9 11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11486 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 11487
474c48f9 11488 wxPyEndAllowThreads(__tstate);
4dfaa61e 11489 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11490} Py_INCREF(Py_None);
11491 _resultobj = Py_None;
11492 return _resultobj;
11493}
11494
11495#define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11496static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11497 PyObject * _resultobj;
11498 wxGridCellEditor * _result;
11499 wxGrid * _arg0;
11500 PyObject * _argo0 = 0;
11501 char *_kwnames[] = { "self", NULL };
11502 char _ptemp[128];
11503
11504 self = self;
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
11506 return NULL;
11507 if (_argo0) {
11508 if (_argo0 == Py_None) { _arg0 = NULL; }
11509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11511 return NULL;
11512 }
11513 }
11514{
474c48f9 11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11516 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
f6bcfd97 11517
474c48f9 11518 wxPyEndAllowThreads(__tstate);
4dfaa61e 11519 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11520} if (_result) {
11521 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11522 _resultobj = Py_BuildValue("s",_ptemp);
11523 } else {
11524 Py_INCREF(Py_None);
11525 _resultobj = Py_None;
11526 }
11527 return _resultobj;
11528}
11529
11530#define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11531static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11532 PyObject * _resultobj;
11533 wxGridCellEditor * _result;
11534 wxGrid * _arg0;
11535 int _arg1;
11536 int _arg2;
11537 PyObject * _argo0 = 0;
11538 char *_kwnames[] = { "self","row","col", NULL };
11539 char _ptemp[128];
11540
11541 self = self;
11542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
11543 return NULL;
11544 if (_argo0) {
11545 if (_argo0 == Py_None) { _arg0 = NULL; }
11546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11548 return NULL;
11549 }
11550 }
11551{
474c48f9 11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11553 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
f6bcfd97 11554
474c48f9 11555 wxPyEndAllowThreads(__tstate);
4dfaa61e 11556 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11557} if (_result) {
11558 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11559 _resultobj = Py_BuildValue("s",_ptemp);
11560 } else {
11561 Py_INCREF(Py_None);
11562 _resultobj = Py_None;
11563 }
11564 return _resultobj;
11565}
11566
11567#define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11568static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11569 PyObject * _resultobj;
11570 wxString * _result;
11571 wxGrid * _arg0;
11572 int _arg1;
11573 int _arg2;
11574 PyObject * _argo0 = 0;
11575 char *_kwnames[] = { "self","row","col", NULL };
11576
11577 self = self;
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
11579 return NULL;
11580 if (_argo0) {
11581 if (_argo0 == Py_None) { _arg0 = NULL; }
11582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11584 return NULL;
11585 }
11586 }
11587{
474c48f9 11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11589 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
f6bcfd97 11590
474c48f9 11591 wxPyEndAllowThreads(__tstate);
4dfaa61e 11592 if (PyErr_Occurred()) return NULL;
f6bcfd97 11593}{
c8bc7bb8
RD
11594#if wxUSE_UNICODE
11595 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11596#else
f6bcfd97 11597 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 11598#endif
f6bcfd97
BP
11599}
11600{
11601 delete _result;
11602}
11603 return _resultobj;
11604}
11605
11606#define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11607static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11608 PyObject * _resultobj;
11609 wxGrid * _arg0;
11610 int _arg1;
11611 int _arg2;
11612 wxString * _arg3;
11613 PyObject * _argo0 = 0;
11614 PyObject * _obj3 = 0;
11615 char *_kwnames[] = { "self","row","col","s", NULL };
11616
11617 self = self;
11618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11619 return NULL;
11620 if (_argo0) {
11621 if (_argo0 == Py_None) { _arg0 = NULL; }
11622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11624 return NULL;
11625 }
11626 }
11627{
c8bc7bb8
RD
11628 _arg3 = wxString_in_helper(_obj3);
11629 if (_arg3 == NULL)
2cd2fac8 11630 return NULL;
f6bcfd97
BP
11631}
11632{
474c48f9 11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11634 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
f6bcfd97 11635
474c48f9 11636 wxPyEndAllowThreads(__tstate);
4dfaa61e 11637 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11638} Py_INCREF(Py_None);
11639 _resultobj = Py_None;
11640{
11641 if (_obj3)
11642 delete _arg3;
11643}
11644 return _resultobj;
11645}
11646
11647#define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11648static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11649 PyObject * _resultobj;
11650 bool _result;
11651 wxGrid * _arg0;
11652 int _arg1;
11653 int _arg2;
11654 PyObject * _argo0 = 0;
11655 char *_kwnames[] = { "self","row","col", NULL };
11656
11657 self = self;
11658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11659 return NULL;
11660 if (_argo0) {
11661 if (_argo0 == Py_None) { _arg0 = NULL; }
11662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11664 return NULL;
11665 }
11666 }
11667{
474c48f9 11668 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11669 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
f6bcfd97 11670
474c48f9 11671 wxPyEndAllowThreads(__tstate);
4dfaa61e 11672 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11673} _resultobj = Py_BuildValue("i",_result);
11674 return _resultobj;
11675}
11676
11677#define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11678static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11679 PyObject * _resultobj;
11680 wxGrid * _arg0;
11681 int _arg1;
11682 int _arg2;
11683 bool _arg3 = (bool ) TRUE;
11684 PyObject * _argo0 = 0;
11685 int tempbool3 = (int) TRUE;
11686 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11687
11688 self = self;
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11690 return NULL;
11691 if (_argo0) {
11692 if (_argo0 == Py_None) { _arg0 = NULL; }
11693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11695 return NULL;
11696 }
11697 }
11698 _arg3 = (bool ) tempbool3;
11699{
474c48f9 11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11701 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 11702
474c48f9 11703 wxPyEndAllowThreads(__tstate);
4dfaa61e 11704 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11705} Py_INCREF(Py_None);
11706 _resultobj = Py_None;
11707 return _resultobj;
11708}
11709
11710#define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11711static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11712 PyObject * _resultobj;
11713 wxGrid * _arg0;
11714 int _arg1;
11715 bool _arg2 = (bool ) FALSE;
11716 PyObject * _argo0 = 0;
11717 int tempbool2 = (int) FALSE;
11718 char *_kwnames[] = { "self","row","addToSelected", NULL };
11719
11720 self = self;
11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11722 return NULL;
11723 if (_argo0) {
11724 if (_argo0 == Py_None) { _arg0 = NULL; }
11725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11727 return NULL;
11728 }
11729 }
11730 _arg2 = (bool ) tempbool2;
11731{
474c48f9 11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11733 wxGrid_SelectRow(_arg0,_arg1,_arg2);
f6bcfd97 11734
474c48f9 11735 wxPyEndAllowThreads(__tstate);
4dfaa61e 11736 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11737} Py_INCREF(Py_None);
11738 _resultobj = Py_None;
11739 return _resultobj;
11740}
11741
11742#define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11743static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11744 PyObject * _resultobj;
11745 wxGrid * _arg0;
11746 int _arg1;
11747 bool _arg2 = (bool ) FALSE;
11748 PyObject * _argo0 = 0;
11749 int tempbool2 = (int) FALSE;
11750 char *_kwnames[] = { "self","col","addToSelected", NULL };
11751
11752 self = self;
11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11754 return NULL;
11755 if (_argo0) {
11756 if (_argo0 == Py_None) { _arg0 = NULL; }
11757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11759 return NULL;
11760 }
11761 }
11762 _arg2 = (bool ) tempbool2;
11763{
474c48f9 11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11765 wxGrid_SelectCol(_arg0,_arg1,_arg2);
f6bcfd97 11766
474c48f9 11767 wxPyEndAllowThreads(__tstate);
4dfaa61e 11768 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11769} Py_INCREF(Py_None);
11770 _resultobj = Py_None;
11771 return _resultobj;
11772}
11773
c368d904 11774#define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
f6bcfd97
BP
11775static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11776 PyObject * _resultobj;
11777 wxGrid * _arg0;
11778 int _arg1;
11779 int _arg2;
11780 int _arg3;
11781 int _arg4;
c368d904 11782 bool _arg5 = (bool ) FALSE;
f6bcfd97 11783 PyObject * _argo0 = 0;
c368d904
RD
11784 int tempbool5 = (int) FALSE;
11785 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
f6bcfd97
BP
11786
11787 self = self;
c368d904 11788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
f6bcfd97
BP
11789 return NULL;
11790 if (_argo0) {
11791 if (_argo0 == Py_None) { _arg0 = NULL; }
11792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11794 return NULL;
11795 }
11796 }
c368d904 11797 _arg5 = (bool ) tempbool5;
f6bcfd97 11798{
474c48f9 11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11800 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
f6bcfd97 11801
474c48f9 11802 wxPyEndAllowThreads(__tstate);
4dfaa61e 11803 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11804} Py_INCREF(Py_None);
11805 _resultobj = Py_None;
11806 return _resultobj;
11807}
11808
11809#define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11810static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11811 PyObject * _resultobj;
11812 wxGrid * _arg0;
11813 PyObject * _argo0 = 0;
11814 char *_kwnames[] = { "self", NULL };
11815
11816 self = self;
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11818 return NULL;
11819 if (_argo0) {
11820 if (_argo0 == Py_None) { _arg0 = NULL; }
11821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11823 return NULL;
11824 }
11825 }
11826{
474c48f9 11827 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11828 wxGrid_SelectAll(_arg0);
f6bcfd97 11829
474c48f9 11830 wxPyEndAllowThreads(__tstate);
4dfaa61e 11831 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11832} Py_INCREF(Py_None);
11833 _resultobj = Py_None;
11834 return _resultobj;
11835}
11836
11837#define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11838static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11839 PyObject * _resultobj;
11840 bool _result;
11841 wxGrid * _arg0;
11842 PyObject * _argo0 = 0;
11843 char *_kwnames[] = { "self", NULL };
11844
11845 self = self;
11846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11847 return NULL;
11848 if (_argo0) {
11849 if (_argo0 == Py_None) { _arg0 = NULL; }
11850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11852 return NULL;
11853 }
11854 }
11855{
474c48f9 11856 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11857 _result = (bool )wxGrid_IsSelection(_arg0);
f6bcfd97 11858
474c48f9 11859 wxPyEndAllowThreads(__tstate);
4dfaa61e 11860 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11861} _resultobj = Py_BuildValue("i",_result);
11862 return _resultobj;
11863}
11864
11865#define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11866static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject * _resultobj;
11868 wxGrid * _arg0;
11869 PyObject * _argo0 = 0;
11870 char *_kwnames[] = { "self", NULL };
11871
11872 self = self;
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11874 return NULL;
11875 if (_argo0) {
11876 if (_argo0 == Py_None) { _arg0 = NULL; }
11877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11879 return NULL;
11880 }
11881 }
11882{
474c48f9 11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11884 wxGrid_ClearSelection(_arg0);
f6bcfd97 11885
474c48f9 11886 wxPyEndAllowThreads(__tstate);
4dfaa61e 11887 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11888} Py_INCREF(Py_None);
11889 _resultobj = Py_None;
11890 return _resultobj;
11891}
11892
11893#define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11894static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11895 PyObject * _resultobj;
11896 bool _result;
11897 wxGrid * _arg0;
11898 int _arg1;
11899 int _arg2;
11900 PyObject * _argo0 = 0;
11901 char *_kwnames[] = { "self","row","col", NULL };
11902
11903 self = self;
11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11905 return NULL;
11906 if (_argo0) {
11907 if (_argo0 == Py_None) { _arg0 = NULL; }
11908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11910 return NULL;
11911 }
11912 }
11913{
474c48f9 11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11915 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
f6bcfd97 11916
474c48f9 11917 wxPyEndAllowThreads(__tstate);
4dfaa61e 11918 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11919} _resultobj = Py_BuildValue("i",_result);
11920 return _resultobj;
11921}
11922
11923#define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11924static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11925 PyObject * _resultobj;
11926 wxRect * _result;
11927 wxGrid * _arg0;
11928 wxGridCellCoords * _arg1;
11929 wxGridCellCoords * _arg2;
11930 PyObject * _argo0 = 0;
11931 wxGridCellCoords temp;
11932 PyObject * _obj1 = 0;
11933 wxGridCellCoords temp0;
11934 PyObject * _obj2 = 0;
11935 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11936 char _ptemp[128];
11937
11938 self = self;
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11940 return NULL;
11941 if (_argo0) {
11942 if (_argo0 == Py_None) { _arg0 = NULL; }
11943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11945 return NULL;
11946 }
11947 }
11948{
11949 _arg1 = &temp;
11950 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11951 return NULL;
11952}
11953{
11954 _arg2 = &temp0;
11955 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11956 return NULL;
11957}
11958{
474c48f9 11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11960 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
f6bcfd97 11961
474c48f9 11962 wxPyEndAllowThreads(__tstate);
4dfaa61e 11963 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11964} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11965 _resultobj = Py_BuildValue("s",_ptemp);
11966 return _resultobj;
11967}
11968
11969#define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11970static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11971 PyObject * _resultobj;
11972 wxColour * _result;
11973 wxGrid * _arg0;
11974 PyObject * _argo0 = 0;
11975 char *_kwnames[] = { "self", NULL };
11976 char _ptemp[128];
11977
11978 self = self;
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11980 return NULL;
11981 if (_argo0) {
11982 if (_argo0 == Py_None) { _arg0 = NULL; }
11983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11985 return NULL;
11986 }
11987 }
11988{
474c48f9 11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11990 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
f6bcfd97 11991
474c48f9 11992 wxPyEndAllowThreads(__tstate);
4dfaa61e 11993 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11994} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11995 _resultobj = Py_BuildValue("s",_ptemp);
11996 return _resultobj;
11997}
11998
11999#define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12000static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12001 PyObject * _resultobj;
12002 wxColour * _result;
12003 wxGrid * _arg0;
12004 PyObject * _argo0 = 0;
12005 char *_kwnames[] = { "self", NULL };
12006 char _ptemp[128];
12007
12008 self = self;
12009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
12010 return NULL;
12011 if (_argo0) {
12012 if (_argo0 == Py_None) { _arg0 = NULL; }
12013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12015 return NULL;
12016 }
12017 }
12018{
474c48f9 12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12020 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
f6bcfd97 12021
474c48f9 12022 wxPyEndAllowThreads(__tstate);
4dfaa61e 12023 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12024} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12025 _resultobj = Py_BuildValue("s",_ptemp);
12026 return _resultobj;
12027}
12028
12029#define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12030static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject * _resultobj;
12032 wxGrid * _arg0;
12033 wxColour * _arg1;
12034 PyObject * _argo0 = 0;
12035 wxColour temp;
12036 PyObject * _obj1 = 0;
12037 char *_kwnames[] = { "self","c", NULL };
12038
12039 self = self;
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
12041 return NULL;
12042 if (_argo0) {
12043 if (_argo0 == Py_None) { _arg0 = NULL; }
12044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12046 return NULL;
12047 }
12048 }
12049{
12050 _arg1 = &temp;
12051 if (! wxColour_helper(_obj1, &_arg1))
12052 return NULL;
12053}
12054{
474c48f9 12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12056 wxGrid_SetSelectionBackground(_arg0,*_arg1);
f6bcfd97 12057
474c48f9 12058 wxPyEndAllowThreads(__tstate);
4dfaa61e 12059 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12060} Py_INCREF(Py_None);
12061 _resultobj = Py_None;
12062 return _resultobj;
12063}
12064
12065#define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12066static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12067 PyObject * _resultobj;
12068 wxGrid * _arg0;
12069 wxColour * _arg1;
12070 PyObject * _argo0 = 0;
12071 wxColour temp;
12072 PyObject * _obj1 = 0;
12073 char *_kwnames[] = { "self","c", NULL };
12074
12075 self = self;
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
12077 return NULL;
12078 if (_argo0) {
12079 if (_argo0 == Py_None) { _arg0 = NULL; }
12080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12082 return NULL;
12083 }
12084 }
12085{
12086 _arg1 = &temp;
12087 if (! wxColour_helper(_obj1, &_arg1))
12088 return NULL;
12089}
12090{
474c48f9 12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12092 wxGrid_SetSelectionForeground(_arg0,*_arg1);
f6bcfd97 12093
474c48f9 12094 wxPyEndAllowThreads(__tstate);
4dfaa61e 12095 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12096} Py_INCREF(Py_None);
12097 _resultobj = Py_None;
12098 return _resultobj;
12099}
12100
12101#define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12102static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject * _resultobj;
12104 wxGrid * _arg0;
12105 wxString * _arg1;
12106 wxGridCellRenderer * _arg2;
12107 wxGridCellEditor * _arg3;
12108 PyObject * _argo0 = 0;
12109 PyObject * _obj1 = 0;
12110 PyObject * _argo2 = 0;
12111 PyObject * _argo3 = 0;
12112 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
12113
12114 self = self;
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
12116 return NULL;
12117 if (_argo0) {
12118 if (_argo0 == Py_None) { _arg0 = NULL; }
12119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12121 return NULL;
12122 }
12123 }
12124{
c8bc7bb8
RD
12125 _arg1 = wxString_in_helper(_obj1);
12126 if (_arg1 == NULL)
2cd2fac8 12127 return NULL;
f6bcfd97
BP
12128}
12129 if (_argo2) {
12130 if (_argo2 == Py_None) { _arg2 = NULL; }
12131 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
12132 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12133 return NULL;
12134 }
12135 }
12136 if (_argo3) {
12137 if (_argo3 == Py_None) { _arg3 = NULL; }
12138 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12139 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12140 return NULL;
12141 }
12142 }
12143{
474c48f9 12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12145 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
f6bcfd97 12146
474c48f9 12147 wxPyEndAllowThreads(__tstate);
4dfaa61e 12148 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12149} Py_INCREF(Py_None);
12150 _resultobj = Py_None;
12151{
12152 if (_obj1)
12153 delete _arg1;
12154}
12155 return _resultobj;
12156}
12157
12158#define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12159static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12160 PyObject * _resultobj;
12161 wxGridCellEditor * _result;
12162 wxGrid * _arg0;
12163 int _arg1;
12164 int _arg2;
12165 PyObject * _argo0 = 0;
12166 char *_kwnames[] = { "self","row","col", NULL };
12167 char _ptemp[128];
12168
12169 self = self;
12170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12171 return NULL;
12172 if (_argo0) {
12173 if (_argo0 == Py_None) { _arg0 = NULL; }
12174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12176 return NULL;
12177 }
12178 }
12179{
474c48f9 12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12181 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
f6bcfd97 12182
474c48f9 12183 wxPyEndAllowThreads(__tstate);
4dfaa61e 12184 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12185} if (_result) {
12186 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12187 _resultobj = Py_BuildValue("s",_ptemp);
12188 } else {
12189 Py_INCREF(Py_None);
12190 _resultobj = Py_None;
12191 }
12192 return _resultobj;
12193}
12194
12195#define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12196static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12197 PyObject * _resultobj;
12198 wxGridCellRenderer * _result;
12199 wxGrid * _arg0;
12200 int _arg1;
12201 int _arg2;
12202 PyObject * _argo0 = 0;
12203 char *_kwnames[] = { "self","row","col", NULL };
12204 char _ptemp[128];
12205
12206 self = self;
12207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12208 return NULL;
12209 if (_argo0) {
12210 if (_argo0 == Py_None) { _arg0 = NULL; }
12211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12213 return NULL;
12214 }
12215 }
12216{
474c48f9 12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12218 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
f6bcfd97 12219
474c48f9 12220 wxPyEndAllowThreads(__tstate);
4dfaa61e 12221 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12222} if (_result) {
12223 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12224 _resultobj = Py_BuildValue("s",_ptemp);
12225 } else {
12226 Py_INCREF(Py_None);
12227 _resultobj = Py_None;
12228 }
12229 return _resultobj;
12230}
12231
12232#define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12233static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12234 PyObject * _resultobj;
12235 wxGridCellEditor * _result;
12236 wxGrid * _arg0;
12237 wxString * _arg1;
12238 PyObject * _argo0 = 0;
12239 PyObject * _obj1 = 0;
12240 char *_kwnames[] = { "self","typeName", NULL };
12241 char _ptemp[128];
12242
12243 self = self;
12244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
12245 return NULL;
12246 if (_argo0) {
12247 if (_argo0 == Py_None) { _arg0 = NULL; }
12248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12250 return NULL;
12251 }
12252 }
12253{
c8bc7bb8
RD
12254 _arg1 = wxString_in_helper(_obj1);
12255 if (_arg1 == NULL)
2cd2fac8 12256 return NULL;
f6bcfd97
BP
12257}
12258{
474c48f9 12259 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12260 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
f6bcfd97 12261
474c48f9 12262 wxPyEndAllowThreads(__tstate);
4dfaa61e 12263 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12264} if (_result) {
12265 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12266 _resultobj = Py_BuildValue("s",_ptemp);
12267 } else {
12268 Py_INCREF(Py_None);
12269 _resultobj = Py_None;
12270 }
12271{
12272 if (_obj1)
12273 delete _arg1;
12274}
12275 return _resultobj;
12276}
12277
12278#define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12279static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12280 PyObject * _resultobj;
12281 wxGridCellRenderer * _result;
12282 wxGrid * _arg0;
12283 wxString * _arg1;
12284 PyObject * _argo0 = 0;
12285 PyObject * _obj1 = 0;
12286 char *_kwnames[] = { "self","typeName", NULL };
12287 char _ptemp[128];
12288
12289 self = self;
12290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
12291 return NULL;
12292 if (_argo0) {
12293 if (_argo0 == Py_None) { _arg0 = NULL; }
12294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12296 return NULL;
12297 }
12298 }
12299{
c8bc7bb8
RD
12300 _arg1 = wxString_in_helper(_obj1);
12301 if (_arg1 == NULL)
f6bcfd97 12302 return NULL;
f6bcfd97
BP
12303}
12304{
474c48f9 12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12306 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
f6bcfd97 12307
474c48f9 12308 wxPyEndAllowThreads(__tstate);
4dfaa61e 12309 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12310} if (_result) {
12311 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12312 _resultobj = Py_BuildValue("s",_ptemp);
12313 } else {
12314 Py_INCREF(Py_None);
12315 _resultobj = Py_None;
12316 }
12317{
12318 if (_obj1)
12319 delete _arg1;
12320}
12321 return _resultobj;
12322}
12323
12324#define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12325static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12326 PyObject * _resultobj;
12327 wxGrid * _arg0;
12328 int _arg1;
12329 int _arg2;
12330 PyObject * _argo0 = 0;
12331 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
12332
12333 self = self;
12334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
12335 return NULL;
12336 if (_argo0) {
12337 if (_argo0 == Py_None) { _arg0 = NULL; }
12338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12340 return NULL;
12341 }
12342 }
12343{
474c48f9 12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12345 wxGrid_SetMargins(_arg0,_arg1,_arg2);
f6bcfd97 12346
474c48f9 12347 wxPyEndAllowThreads(__tstate);
4dfaa61e 12348 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12349} Py_INCREF(Py_None);
12350 _resultobj = Py_None;
12351 return _resultobj;
12352}
12353
9df61a29
RD
12354#define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12355static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12356 PyObject * _resultobj;
12357 wxWindow * _result;
12358 wxGrid * _arg0;
12359 PyObject * _argo0 = 0;
12360 char *_kwnames[] = { "self", NULL };
12361
12362 self = self;
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
12364 return NULL;
12365 if (_argo0) {
12366 if (_argo0 == Py_None) { _arg0 = NULL; }
12367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12369 return NULL;
12370 }
12371 }
12372{
474c48f9 12373 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12374 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
9df61a29 12375
474c48f9 12376 wxPyEndAllowThreads(__tstate);
4dfaa61e 12377 if (PyErr_Occurred()) return NULL;
9df61a29
RD
12378}{ _resultobj = wxPyMake_wxObject(_result); }
12379 return _resultobj;
12380}
12381
12382#define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12383static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12384 PyObject * _resultobj;
12385 wxWindow * _result;
12386 wxGrid * _arg0;
12387 PyObject * _argo0 = 0;
12388 char *_kwnames[] = { "self", NULL };
12389
12390 self = self;
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12392 return NULL;
12393 if (_argo0) {
12394 if (_argo0 == Py_None) { _arg0 = NULL; }
12395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12397 return NULL;
12398 }
12399 }
12400{
474c48f9 12401 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12402 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
9df61a29 12403
474c48f9 12404 wxPyEndAllowThreads(__tstate);
4dfaa61e 12405 if (PyErr_Occurred()) return NULL;
9df61a29
RD
12406}{ _resultobj = wxPyMake_wxObject(_result); }
12407 return _resultobj;
12408}
12409
12410#define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12411static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12412 PyObject * _resultobj;
12413 wxWindow * _result;
12414 wxGrid * _arg0;
12415 PyObject * _argo0 = 0;
12416 char *_kwnames[] = { "self", NULL };
12417
12418 self = self;
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12420 return NULL;
12421 if (_argo0) {
12422 if (_argo0 == Py_None) { _arg0 = NULL; }
12423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12425 return NULL;
12426 }
12427 }
12428{
474c48f9 12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12430 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
9df61a29 12431
474c48f9 12432 wxPyEndAllowThreads(__tstate);
4dfaa61e 12433 if (PyErr_Occurred()) return NULL;
9df61a29
RD
12434}{ _resultobj = wxPyMake_wxObject(_result); }
12435 return _resultobj;
12436}
12437
12438#define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12439static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject * _resultobj;
12441 wxWindow * _result;
12442 wxGrid * _arg0;
12443 PyObject * _argo0 = 0;
12444 char *_kwnames[] = { "self", NULL };
12445
12446 self = self;
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
12448 return NULL;
12449 if (_argo0) {
12450 if (_argo0 == Py_None) { _arg0 = NULL; }
12451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12453 return NULL;
12454 }
12455 }
12456{
474c48f9 12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12458 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
9df61a29 12459
474c48f9 12460 wxPyEndAllowThreads(__tstate);
4dfaa61e 12461 if (PyErr_Occurred()) return NULL;
9df61a29
RD
12462}{ _resultobj = wxPyMake_wxObject(_result); }
12463 return _resultobj;
12464}
12465
f6bcfd97
BP
12466static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
12467 wxGridEvent *src;
12468 wxNotifyEvent *dest;
12469 src = (wxGridEvent *) ptr;
12470 dest = (wxNotifyEvent *) src;
12471 return (void *) dest;
12472}
12473
12474static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
12475 wxGridEvent *src;
12476 wxCommandEvent *dest;
12477 src = (wxGridEvent *) ptr;
12478 dest = (wxCommandEvent *) src;
12479 return (void *) dest;
12480}
12481
12482static void *SwigwxGridEventTowxEvent(void *ptr) {
12483 wxGridEvent *src;
12484 wxEvent *dest;
12485 src = (wxGridEvent *) ptr;
12486 dest = (wxEvent *) src;
12487 return (void *) dest;
12488}
12489
9df61a29
RD
12490static void *SwigwxGridEventTowxObject(void *ptr) {
12491 wxGridEvent *src;
12492 wxObject *dest;
12493 src = (wxGridEvent *) ptr;
12494 dest = (wxObject *) src;
12495 return (void *) dest;
12496}
12497
f6bcfd97
BP
12498#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))
12499static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12500 PyObject * _resultobj;
12501 wxGridEvent * _result;
12502 int _arg0;
12503 wxEventType _arg1;
12504 wxGrid * _arg2;
12505 int _arg3 = (int ) -1;
12506 int _arg4 = (int ) -1;
12507 int _arg5 = (int ) -1;
12508 int _arg6 = (int ) -1;
12509 bool _arg7 = (bool ) TRUE;
12510 bool _arg8 = (bool ) FALSE;
12511 bool _arg9 = (bool ) FALSE;
12512 bool _arg10 = (bool ) FALSE;
12513 bool _arg11 = (bool ) FALSE;
12514 PyObject * _argo2 = 0;
12515 int tempbool7 = (int) TRUE;
12516 int tempbool8 = (int) FALSE;
12517 int tempbool9 = (int) FALSE;
12518 int tempbool10 = (int) FALSE;
12519 int tempbool11 = (int) FALSE;
12520 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
12521 char _ptemp[128];
12522
12523 self = self;
12524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
12525 return NULL;
12526 if (_argo2) {
12527 if (_argo2 == Py_None) { _arg2 = NULL; }
12528 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12529 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12530 return NULL;
12531 }
12532 }
12533 _arg7 = (bool ) tempbool7;
12534 _arg8 = (bool ) tempbool8;
12535 _arg9 = (bool ) tempbool9;
12536 _arg10 = (bool ) tempbool10;
12537 _arg11 = (bool ) tempbool11;
12538{
474c48f9 12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12540 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
f6bcfd97 12541
474c48f9 12542 wxPyEndAllowThreads(__tstate);
4dfaa61e 12543 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12544} if (_result) {
12545 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
12546 _resultobj = Py_BuildValue("s",_ptemp);
12547 } else {
12548 Py_INCREF(Py_None);
12549 _resultobj = Py_None;
12550 }
12551 return _resultobj;
12552}
12553
12554#define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12555static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12556 PyObject * _resultobj;
12557 int _result;
12558 wxGridEvent * _arg0;
12559 PyObject * _argo0 = 0;
12560 char *_kwnames[] = { "self", NULL };
12561
12562 self = self;
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
12564 return NULL;
12565 if (_argo0) {
12566 if (_argo0 == Py_None) { _arg0 = NULL; }
12567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12569 return NULL;
12570 }
12571 }
12572{
474c48f9 12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12574 _result = (int )wxGridEvent_GetRow(_arg0);
f6bcfd97 12575
474c48f9 12576 wxPyEndAllowThreads(__tstate);
4dfaa61e 12577 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12578} _resultobj = Py_BuildValue("i",_result);
12579 return _resultobj;
12580}
12581
12582#define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12583static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12584 PyObject * _resultobj;
12585 int _result;
12586 wxGridEvent * _arg0;
12587 PyObject * _argo0 = 0;
12588 char *_kwnames[] = { "self", NULL };
12589
12590 self = self;
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
12592 return NULL;
12593 if (_argo0) {
12594 if (_argo0 == Py_None) { _arg0 = NULL; }
12595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12597 return NULL;
12598 }
12599 }
12600{
474c48f9 12601 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12602 _result = (int )wxGridEvent_GetCol(_arg0);
f6bcfd97 12603
474c48f9 12604 wxPyEndAllowThreads(__tstate);
4dfaa61e 12605 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12606} _resultobj = Py_BuildValue("i",_result);
12607 return _resultobj;
12608}
12609
12610#define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12611static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12612 PyObject * _resultobj;
12613 wxPoint * _result;
12614 wxGridEvent * _arg0;
12615 PyObject * _argo0 = 0;
12616 char *_kwnames[] = { "self", NULL };
12617 char _ptemp[128];
12618
12619 self = self;
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
12621 return NULL;
12622 if (_argo0) {
12623 if (_argo0 == Py_None) { _arg0 = NULL; }
12624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12626 return NULL;
12627 }
12628 }
12629{
474c48f9 12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12631 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
f6bcfd97 12632
474c48f9 12633 wxPyEndAllowThreads(__tstate);
4dfaa61e 12634 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12635} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12636 _resultobj = Py_BuildValue("s",_ptemp);
12637 return _resultobj;
12638}
12639
12640#define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12641static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12642 PyObject * _resultobj;
12643 bool _result;
12644 wxGridEvent * _arg0;
12645 PyObject * _argo0 = 0;
12646 char *_kwnames[] = { "self", NULL };
12647
12648 self = self;
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
12650 return NULL;
12651 if (_argo0) {
12652 if (_argo0 == Py_None) { _arg0 = NULL; }
12653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12655 return NULL;
12656 }
12657 }
12658{
474c48f9 12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12660 _result = (bool )wxGridEvent_Selecting(_arg0);
f6bcfd97 12661
474c48f9 12662 wxPyEndAllowThreads(__tstate);
4dfaa61e 12663 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12664} _resultobj = Py_BuildValue("i",_result);
12665 return _resultobj;
12666}
12667
12668#define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12669static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12670 PyObject * _resultobj;
12671 bool _result;
12672 wxGridEvent * _arg0;
12673 PyObject * _argo0 = 0;
12674 char *_kwnames[] = { "self", NULL };
12675
12676 self = self;
12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
12678 return NULL;
12679 if (_argo0) {
12680 if (_argo0 == Py_None) { _arg0 = NULL; }
12681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12683 return NULL;
12684 }
12685 }
12686{
474c48f9 12687 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12688 _result = (bool )wxGridEvent_ControlDown(_arg0);
f6bcfd97 12689
474c48f9 12690 wxPyEndAllowThreads(__tstate);
4dfaa61e 12691 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12692} _resultobj = Py_BuildValue("i",_result);
12693 return _resultobj;
12694}
12695
12696#define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12697static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12698 PyObject * _resultobj;
12699 bool _result;
12700 wxGridEvent * _arg0;
12701 PyObject * _argo0 = 0;
12702 char *_kwnames[] = { "self", NULL };
12703
12704 self = self;
12705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12706 return NULL;
12707 if (_argo0) {
12708 if (_argo0 == Py_None) { _arg0 = NULL; }
12709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12711 return NULL;
12712 }
12713 }
12714{
474c48f9 12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12716 _result = (bool )wxGridEvent_MetaDown(_arg0);
f6bcfd97 12717
474c48f9 12718 wxPyEndAllowThreads(__tstate);
4dfaa61e 12719 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12720} _resultobj = Py_BuildValue("i",_result);
12721 return _resultobj;
12722}
12723
12724#define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12725static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject * _resultobj;
12727 bool _result;
12728 wxGridEvent * _arg0;
12729 PyObject * _argo0 = 0;
12730 char *_kwnames[] = { "self", NULL };
12731
12732 self = self;
12733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12734 return NULL;
12735 if (_argo0) {
12736 if (_argo0 == Py_None) { _arg0 = NULL; }
12737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12739 return NULL;
12740 }
12741 }
12742{
474c48f9 12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12744 _result = (bool )wxGridEvent_ShiftDown(_arg0);
f6bcfd97 12745
474c48f9 12746 wxPyEndAllowThreads(__tstate);
4dfaa61e 12747 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12748} _resultobj = Py_BuildValue("i",_result);
12749 return _resultobj;
12750}
12751
12752#define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12753static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12754 PyObject * _resultobj;
12755 bool _result;
12756 wxGridEvent * _arg0;
12757 PyObject * _argo0 = 0;
12758 char *_kwnames[] = { "self", NULL };
12759
12760 self = self;
12761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12762 return NULL;
12763 if (_argo0) {
12764 if (_argo0 == Py_None) { _arg0 = NULL; }
12765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12767 return NULL;
12768 }
12769 }
12770{
474c48f9 12771 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12772 _result = (bool )wxGridEvent_AltDown(_arg0);
f6bcfd97 12773
474c48f9 12774 wxPyEndAllowThreads(__tstate);
4dfaa61e 12775 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12776} _resultobj = Py_BuildValue("i",_result);
12777 return _resultobj;
12778}
12779
12780static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12781 wxGridSizeEvent *src;
12782 wxNotifyEvent *dest;
12783 src = (wxGridSizeEvent *) ptr;
12784 dest = (wxNotifyEvent *) src;
12785 return (void *) dest;
12786}
12787
12788static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12789 wxGridSizeEvent *src;
12790 wxCommandEvent *dest;
12791 src = (wxGridSizeEvent *) ptr;
12792 dest = (wxCommandEvent *) src;
12793 return (void *) dest;
12794}
12795
12796static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12797 wxGridSizeEvent *src;
12798 wxEvent *dest;
12799 src = (wxGridSizeEvent *) ptr;
12800 dest = (wxEvent *) src;
12801 return (void *) dest;
12802}
12803
9df61a29
RD
12804static void *SwigwxGridSizeEventTowxObject(void *ptr) {
12805 wxGridSizeEvent *src;
12806 wxObject *dest;
12807 src = (wxGridSizeEvent *) ptr;
12808 dest = (wxObject *) src;
12809 return (void *) dest;
12810}
12811
f6bcfd97
BP
12812#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))
12813static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12814 PyObject * _resultobj;
12815 wxGridSizeEvent * _result;
12816 int _arg0;
12817 wxEventType _arg1;
12818 wxGrid * _arg2;
12819 int _arg3 = (int ) -1;
12820 int _arg4 = (int ) -1;
12821 int _arg5 = (int ) -1;
12822 bool _arg6 = (bool ) FALSE;
12823 bool _arg7 = (bool ) FALSE;
12824 bool _arg8 = (bool ) FALSE;
12825 bool _arg9 = (bool ) FALSE;
12826 PyObject * _argo2 = 0;
12827 int tempbool6 = (int) FALSE;
12828 int tempbool7 = (int) FALSE;
12829 int tempbool8 = (int) FALSE;
12830 int tempbool9 = (int) FALSE;
12831 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12832 char _ptemp[128];
12833
12834 self = self;
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12836 return NULL;
12837 if (_argo2) {
12838 if (_argo2 == Py_None) { _arg2 = NULL; }
12839 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12840 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12841 return NULL;
12842 }
12843 }
12844 _arg6 = (bool ) tempbool6;
12845 _arg7 = (bool ) tempbool7;
12846 _arg8 = (bool ) tempbool8;
12847 _arg9 = (bool ) tempbool9;
12848{
474c48f9 12849 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12850 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
f6bcfd97 12851
474c48f9 12852 wxPyEndAllowThreads(__tstate);
4dfaa61e 12853 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12854} if (_result) {
12855 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12856 _resultobj = Py_BuildValue("s",_ptemp);
12857 } else {
12858 Py_INCREF(Py_None);
12859 _resultobj = Py_None;
12860 }
12861 return _resultobj;
12862}
12863
12864#define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12865static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12866 PyObject * _resultobj;
12867 int _result;
12868 wxGridSizeEvent * _arg0;
12869 PyObject * _argo0 = 0;
12870 char *_kwnames[] = { "self", NULL };
12871
12872 self = self;
12873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12874 return NULL;
12875 if (_argo0) {
12876 if (_argo0 == Py_None) { _arg0 = NULL; }
12877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12879 return NULL;
12880 }
12881 }
12882{
474c48f9 12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12884 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
f6bcfd97 12885
474c48f9 12886 wxPyEndAllowThreads(__tstate);
4dfaa61e 12887 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12888} _resultobj = Py_BuildValue("i",_result);
12889 return _resultobj;
12890}
12891
12892#define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12893static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12894 PyObject * _resultobj;
12895 wxPoint * _result;
12896 wxGridSizeEvent * _arg0;
12897 PyObject * _argo0 = 0;
12898 char *_kwnames[] = { "self", NULL };
12899 char _ptemp[128];
12900
12901 self = self;
12902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12903 return NULL;
12904 if (_argo0) {
12905 if (_argo0 == Py_None) { _arg0 = NULL; }
12906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12908 return NULL;
12909 }
12910 }
12911{
474c48f9 12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12913 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
f6bcfd97 12914
474c48f9 12915 wxPyEndAllowThreads(__tstate);
4dfaa61e 12916 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12917} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12918 _resultobj = Py_BuildValue("s",_ptemp);
12919 return _resultobj;
12920}
12921
12922#define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12923static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12924 PyObject * _resultobj;
12925 bool _result;
12926 wxGridSizeEvent * _arg0;
12927 PyObject * _argo0 = 0;
12928 char *_kwnames[] = { "self", NULL };
12929
12930 self = self;
12931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12932 return NULL;
12933 if (_argo0) {
12934 if (_argo0 == Py_None) { _arg0 = NULL; }
12935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12937 return NULL;
12938 }
12939 }
12940{
474c48f9 12941 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12942 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
f6bcfd97 12943
474c48f9 12944 wxPyEndAllowThreads(__tstate);
4dfaa61e 12945 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12946} _resultobj = Py_BuildValue("i",_result);
12947 return _resultobj;
12948}
12949
12950#define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12951static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12952 PyObject * _resultobj;
12953 bool _result;
12954 wxGridSizeEvent * _arg0;
12955 PyObject * _argo0 = 0;
12956 char *_kwnames[] = { "self", NULL };
12957
12958 self = self;
12959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12960 return NULL;
12961 if (_argo0) {
12962 if (_argo0 == Py_None) { _arg0 = NULL; }
12963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12965 return NULL;
12966 }
12967 }
12968{
474c48f9 12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12970 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
f6bcfd97 12971
474c48f9 12972 wxPyEndAllowThreads(__tstate);
4dfaa61e 12973 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
12974} _resultobj = Py_BuildValue("i",_result);
12975 return _resultobj;
12976}
12977
12978#define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12979static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12980 PyObject * _resultobj;
12981 bool _result;
12982 wxGridSizeEvent * _arg0;
12983 PyObject * _argo0 = 0;
12984 char *_kwnames[] = { "self", NULL };
12985
12986 self = self;
12987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12988 return NULL;
12989 if (_argo0) {
12990 if (_argo0 == Py_None) { _arg0 = NULL; }
12991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12993 return NULL;
12994 }
12995 }
12996{
474c48f9 12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12998 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
f6bcfd97 12999
474c48f9 13000 wxPyEndAllowThreads(__tstate);
4dfaa61e 13001 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13002} _resultobj = Py_BuildValue("i",_result);
13003 return _resultobj;
13004}
13005
13006#define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13007static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13008 PyObject * _resultobj;
13009 bool _result;
13010 wxGridSizeEvent * _arg0;
13011 PyObject * _argo0 = 0;
13012 char *_kwnames[] = { "self", NULL };
13013
13014 self = self;
13015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
13016 return NULL;
13017 if (_argo0) {
13018 if (_argo0 == Py_None) { _arg0 = NULL; }
13019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13021 return NULL;
13022 }
13023 }
13024{
474c48f9 13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13026 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
f6bcfd97 13027
474c48f9 13028 wxPyEndAllowThreads(__tstate);
4dfaa61e 13029 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13030} _resultobj = Py_BuildValue("i",_result);
13031 return _resultobj;
13032}
13033
13034static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
13035 wxGridRangeSelectEvent *src;
13036 wxNotifyEvent *dest;
13037 src = (wxGridRangeSelectEvent *) ptr;
13038 dest = (wxNotifyEvent *) src;
13039 return (void *) dest;
13040}
13041
13042static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
13043 wxGridRangeSelectEvent *src;
13044 wxCommandEvent *dest;
13045 src = (wxGridRangeSelectEvent *) ptr;
13046 dest = (wxCommandEvent *) src;
13047 return (void *) dest;
13048}
13049
13050static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
13051 wxGridRangeSelectEvent *src;
13052 wxEvent *dest;
13053 src = (wxGridRangeSelectEvent *) ptr;
13054 dest = (wxEvent *) src;
13055 return (void *) dest;
13056}
13057
9df61a29
RD
13058static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
13059 wxGridRangeSelectEvent *src;
13060 wxObject *dest;
13061 src = (wxGridRangeSelectEvent *) ptr;
13062 dest = (wxObject *) src;
13063 return (void *) dest;
13064}
13065
f6bcfd97
BP
13066#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))
13067static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13068 PyObject * _resultobj;
13069 wxGridRangeSelectEvent * _result;
13070 int _arg0;
13071 wxEventType _arg1;
13072 wxGrid * _arg2;
13073 wxGridCellCoords * _arg3;
13074 wxGridCellCoords * _arg4;
13075 bool _arg5 = (bool ) TRUE;
13076 bool _arg6 = (bool ) FALSE;
13077 bool _arg7 = (bool ) FALSE;
13078 bool _arg8 = (bool ) FALSE;
13079 bool _arg9 = (bool ) FALSE;
13080 PyObject * _argo2 = 0;
13081 wxGridCellCoords temp;
13082 PyObject * _obj3 = 0;
13083 wxGridCellCoords temp0;
13084 PyObject * _obj4 = 0;
13085 int tempbool5 = (int) TRUE;
13086 int tempbool6 = (int) FALSE;
13087 int tempbool7 = (int) FALSE;
13088 int tempbool8 = (int) FALSE;
13089 int tempbool9 = (int) FALSE;
13090 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
13091 char _ptemp[128];
13092
13093 self = self;
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13095 return NULL;
13096 if (_argo2) {
13097 if (_argo2 == Py_None) { _arg2 = NULL; }
13098 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13099 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13100 return NULL;
13101 }
13102 }
13103{
13104 _arg3 = &temp;
13105 if (! wxGridCellCoords_helper(_obj3, &_arg3))
13106 return NULL;
13107}
13108{
13109 _arg4 = &temp0;
13110 if (! wxGridCellCoords_helper(_obj4, &_arg4))
13111 return NULL;
13112}
13113 _arg5 = (bool ) tempbool5;
13114 _arg6 = (bool ) tempbool6;
13115 _arg7 = (bool ) tempbool7;
13116 _arg8 = (bool ) tempbool8;
13117 _arg9 = (bool ) tempbool9;
13118{
474c48f9 13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13120 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
f6bcfd97 13121
474c48f9 13122 wxPyEndAllowThreads(__tstate);
4dfaa61e 13123 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13124} if (_result) {
13125 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
13126 _resultobj = Py_BuildValue("s",_ptemp);
13127 } else {
13128 Py_INCREF(Py_None);
13129 _resultobj = Py_None;
13130 }
13131 return _resultobj;
13132}
13133
13134#define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13135static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13136 PyObject * _resultobj;
13137 wxGridCellCoords * _result;
13138 wxGridRangeSelectEvent * _arg0;
13139 PyObject * _argo0 = 0;
13140 char *_kwnames[] = { "self", NULL };
13141 char _ptemp[128];
13142
13143 self = self;
13144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
13145 return NULL;
13146 if (_argo0) {
13147 if (_argo0 == Py_None) { _arg0 = NULL; }
13148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13150 return NULL;
13151 }
13152 }
13153{
474c48f9 13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13155 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
f6bcfd97 13156
474c48f9 13157 wxPyEndAllowThreads(__tstate);
4dfaa61e 13158 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13159} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13160 _resultobj = Py_BuildValue("s",_ptemp);
13161 return _resultobj;
13162}
13163
13164#define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13165static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13166 PyObject * _resultobj;
13167 wxGridCellCoords * _result;
13168 wxGridRangeSelectEvent * _arg0;
13169 PyObject * _argo0 = 0;
13170 char *_kwnames[] = { "self", NULL };
13171 char _ptemp[128];
13172
13173 self = self;
13174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
13175 return NULL;
13176 if (_argo0) {
13177 if (_argo0 == Py_None) { _arg0 = NULL; }
13178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13180 return NULL;
13181 }
13182 }
13183{
474c48f9 13184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13185 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
f6bcfd97 13186
474c48f9 13187 wxPyEndAllowThreads(__tstate);
4dfaa61e 13188 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13189} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13190 _resultobj = Py_BuildValue("s",_ptemp);
13191 return _resultobj;
13192}
13193
13194#define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13195static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13196 PyObject * _resultobj;
13197 int _result;
13198 wxGridRangeSelectEvent * _arg0;
13199 PyObject * _argo0 = 0;
13200 char *_kwnames[] = { "self", NULL };
13201
13202 self = self;
13203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
13204 return NULL;
13205 if (_argo0) {
13206 if (_argo0 == Py_None) { _arg0 = NULL; }
13207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13209 return NULL;
13210 }
13211 }
13212{
474c48f9 13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13214 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
f6bcfd97 13215
474c48f9 13216 wxPyEndAllowThreads(__tstate);
4dfaa61e 13217 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13218} _resultobj = Py_BuildValue("i",_result);
13219 return _resultobj;
13220}
13221
13222#define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13223static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13224 PyObject * _resultobj;
13225 int _result;
13226 wxGridRangeSelectEvent * _arg0;
13227 PyObject * _argo0 = 0;
13228 char *_kwnames[] = { "self", NULL };
13229
13230 self = self;
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
13232 return NULL;
13233 if (_argo0) {
13234 if (_argo0 == Py_None) { _arg0 = NULL; }
13235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13237 return NULL;
13238 }
13239 }
13240{
474c48f9 13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13242 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
f6bcfd97 13243
474c48f9 13244 wxPyEndAllowThreads(__tstate);
4dfaa61e 13245 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13246} _resultobj = Py_BuildValue("i",_result);
13247 return _resultobj;
13248}
13249
13250#define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13251static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13252 PyObject * _resultobj;
13253 int _result;
13254 wxGridRangeSelectEvent * _arg0;
13255 PyObject * _argo0 = 0;
13256 char *_kwnames[] = { "self", NULL };
13257
13258 self = self;
13259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
13260 return NULL;
13261 if (_argo0) {
13262 if (_argo0 == Py_None) { _arg0 = NULL; }
13263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13265 return NULL;
13266 }
13267 }
13268{
474c48f9 13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13270 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
f6bcfd97 13271
474c48f9 13272 wxPyEndAllowThreads(__tstate);
4dfaa61e 13273 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13274} _resultobj = Py_BuildValue("i",_result);
13275 return _resultobj;
13276}
13277
13278#define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13279static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13280 PyObject * _resultobj;
13281 int _result;
13282 wxGridRangeSelectEvent * _arg0;
13283 PyObject * _argo0 = 0;
13284 char *_kwnames[] = { "self", NULL };
13285
13286 self = self;
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
13288 return NULL;
13289 if (_argo0) {
13290 if (_argo0 == Py_None) { _arg0 = NULL; }
13291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13293 return NULL;
13294 }
13295 }
13296{
474c48f9 13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13298 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
f6bcfd97 13299
474c48f9 13300 wxPyEndAllowThreads(__tstate);
4dfaa61e 13301 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13302} _resultobj = Py_BuildValue("i",_result);
13303 return _resultobj;
13304}
13305
13306#define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13307static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13308 PyObject * _resultobj;
13309 bool _result;
13310 wxGridRangeSelectEvent * _arg0;
13311 PyObject * _argo0 = 0;
13312 char *_kwnames[] = { "self", NULL };
13313
13314 self = self;
13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
13316 return NULL;
13317 if (_argo0) {
13318 if (_argo0 == Py_None) { _arg0 = NULL; }
13319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13321 return NULL;
13322 }
13323 }
13324{
474c48f9 13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13326 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
f6bcfd97 13327
474c48f9 13328 wxPyEndAllowThreads(__tstate);
4dfaa61e 13329 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13330} _resultobj = Py_BuildValue("i",_result);
13331 return _resultobj;
13332}
13333
13334#define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13335static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject * _resultobj;
13337 bool _result;
13338 wxGridRangeSelectEvent * _arg0;
13339 PyObject * _argo0 = 0;
13340 char *_kwnames[] = { "self", NULL };
13341
13342 self = self;
13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
13344 return NULL;
13345 if (_argo0) {
13346 if (_argo0 == Py_None) { _arg0 = NULL; }
13347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13349 return NULL;
13350 }
13351 }
13352{
474c48f9 13353 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13354 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
f6bcfd97 13355
474c48f9 13356 wxPyEndAllowThreads(__tstate);
4dfaa61e 13357 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13358} _resultobj = Py_BuildValue("i",_result);
13359 return _resultobj;
13360}
13361
13362#define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13363static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13364 PyObject * _resultobj;
13365 bool _result;
13366 wxGridRangeSelectEvent * _arg0;
13367 PyObject * _argo0 = 0;
13368 char *_kwnames[] = { "self", NULL };
13369
13370 self = self;
13371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
13372 return NULL;
13373 if (_argo0) {
13374 if (_argo0 == Py_None) { _arg0 = NULL; }
13375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13377 return NULL;
13378 }
13379 }
13380{
474c48f9 13381 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13382 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
f6bcfd97 13383
474c48f9 13384 wxPyEndAllowThreads(__tstate);
4dfaa61e 13385 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13386} _resultobj = Py_BuildValue("i",_result);
13387 return _resultobj;
13388}
13389
13390#define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13391static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13392 PyObject * _resultobj;
13393 bool _result;
13394 wxGridRangeSelectEvent * _arg0;
13395 PyObject * _argo0 = 0;
13396 char *_kwnames[] = { "self", NULL };
13397
13398 self = self;
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13400 return NULL;
13401 if (_argo0) {
13402 if (_argo0 == Py_None) { _arg0 = NULL; }
13403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13405 return NULL;
13406 }
13407 }
13408{
474c48f9 13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13410 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
f6bcfd97 13411
474c48f9 13412 wxPyEndAllowThreads(__tstate);
4dfaa61e 13413 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13414} _resultobj = Py_BuildValue("i",_result);
13415 return _resultobj;
13416}
13417
13418#define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13419static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13420 PyObject * _resultobj;
13421 bool _result;
13422 wxGridRangeSelectEvent * _arg0;
13423 PyObject * _argo0 = 0;
13424 char *_kwnames[] = { "self", NULL };
13425
13426 self = self;
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13428 return NULL;
13429 if (_argo0) {
13430 if (_argo0 == Py_None) { _arg0 = NULL; }
13431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13433 return NULL;
13434 }
13435 }
13436{
474c48f9 13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13438 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
f6bcfd97 13439
474c48f9 13440 wxPyEndAllowThreads(__tstate);
4dfaa61e 13441 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
13442} _resultobj = Py_BuildValue("i",_result);
13443 return _resultobj;
13444}
13445
9d6da64a
RD
13446static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
13447 wxGridEditorCreatedEvent *src;
13448 wxCommandEvent *dest;
13449 src = (wxGridEditorCreatedEvent *) ptr;
13450 dest = (wxCommandEvent *) src;
13451 return (void *) dest;
13452}
13453
13454static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
13455 wxGridEditorCreatedEvent *src;
13456 wxEvent *dest;
13457 src = (wxGridEditorCreatedEvent *) ptr;
13458 dest = (wxEvent *) src;
13459 return (void *) dest;
13460}
13461
13462static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
13463 wxGridEditorCreatedEvent *src;
13464 wxObject *dest;
13465 src = (wxGridEditorCreatedEvent *) ptr;
13466 dest = (wxObject *) src;
13467 return (void *) dest;
13468}
13469
13470#define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13471static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13472 PyObject * _resultobj;
13473 wxGridEditorCreatedEvent * _result;
13474 int _arg0;
13475 wxEventType _arg1;
13476 wxObject * _arg2;
13477 int _arg3;
13478 int _arg4;
13479 wxControl * _arg5;
13480 PyObject * _argo2 = 0;
13481 PyObject * _argo5 = 0;
13482 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
13483 char _ptemp[128];
13484
13485 self = self;
13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
13487 return NULL;
13488 if (_argo2) {
13489 if (_argo2 == Py_None) { _arg2 = NULL; }
13490 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
13491 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13492 return NULL;
13493 }
13494 }
13495 if (_argo5) {
13496 if (_argo5 == Py_None) { _arg5 = NULL; }
13497 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
13498 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13499 return NULL;
13500 }
13501 }
13502{
474c48f9 13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13504 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9d6da64a 13505
474c48f9 13506 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
13507 if (PyErr_Occurred()) return NULL;
13508} if (_result) {
13509 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
13510 _resultobj = Py_BuildValue("s",_ptemp);
13511 } else {
13512 Py_INCREF(Py_None);
13513 _resultobj = Py_None;
13514 }
13515 return _resultobj;
13516}
13517
13518#define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13519static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13520 PyObject * _resultobj;
13521 int _result;
13522 wxGridEditorCreatedEvent * _arg0;
13523 PyObject * _argo0 = 0;
13524 char *_kwnames[] = { "self", NULL };
13525
13526 self = self;
13527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
13528 return NULL;
13529 if (_argo0) {
13530 if (_argo0 == Py_None) { _arg0 = NULL; }
13531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13533 return NULL;
13534 }
13535 }
13536{
474c48f9 13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13538 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
9d6da64a 13539
474c48f9 13540 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
13541 if (PyErr_Occurred()) return NULL;
13542} _resultobj = Py_BuildValue("i",_result);
13543 return _resultobj;
13544}
13545
13546#define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13547static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13548 PyObject * _resultobj;
13549 int _result;
13550 wxGridEditorCreatedEvent * _arg0;
13551 PyObject * _argo0 = 0;
13552 char *_kwnames[] = { "self", NULL };
13553
13554 self = self;
13555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
13556 return NULL;
13557 if (_argo0) {
13558 if (_argo0 == Py_None) { _arg0 = NULL; }
13559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13561 return NULL;
13562 }
13563 }
13564{
474c48f9 13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13566 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
9d6da64a 13567
474c48f9 13568 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
13569 if (PyErr_Occurred()) return NULL;
13570} _resultobj = Py_BuildValue("i",_result);
13571 return _resultobj;
13572}
13573
13574#define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13575static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13576 PyObject * _resultobj;
13577 wxControl * _result;
13578 wxGridEditorCreatedEvent * _arg0;
13579 PyObject * _argo0 = 0;
13580 char *_kwnames[] = { "self", NULL };
13581
13582 self = self;
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
13584 return NULL;
13585 if (_argo0) {
13586 if (_argo0 == Py_None) { _arg0 = NULL; }
13587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13589 return NULL;
13590 }
13591 }
13592{
474c48f9 13593 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13594 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
9d6da64a 13595
474c48f9 13596 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
13597 if (PyErr_Occurred()) return NULL;
13598}{ _resultobj = wxPyMake_wxObject(_result); }
13599 return _resultobj;
13600}
13601
13602#define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13603static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13604 PyObject * _resultobj;
13605 wxGridEditorCreatedEvent * _arg0;
13606 int _arg1;
13607 PyObject * _argo0 = 0;
13608 char *_kwnames[] = { "self","row", NULL };
13609
13610 self = self;
13611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
13612 return NULL;
13613 if (_argo0) {
13614 if (_argo0 == Py_None) { _arg0 = NULL; }
13615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13617 return NULL;
13618 }
13619 }
13620{
474c48f9 13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13622 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
9d6da64a 13623
474c48f9 13624 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
13625 if (PyErr_Occurred()) return NULL;
13626} Py_INCREF(Py_None);
13627 _resultobj = Py_None;
13628 return _resultobj;
13629}
13630
13631#define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13632static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13633 PyObject * _resultobj;
13634 wxGridEditorCreatedEvent * _arg0;
13635 int _arg1;
13636 PyObject * _argo0 = 0;
13637 char *_kwnames[] = { "self","col", NULL };
13638
13639 self = self;
13640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
13641 return NULL;
13642 if (_argo0) {
13643 if (_argo0 == Py_None) { _arg0 = NULL; }
13644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13646 return NULL;
13647 }
13648 }
13649{
474c48f9 13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13651 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
9d6da64a 13652
474c48f9 13653 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
13654 if (PyErr_Occurred()) return NULL;
13655} Py_INCREF(Py_None);
13656 _resultobj = Py_None;
13657 return _resultobj;
13658}
13659
13660#define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13661static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13662 PyObject * _resultobj;
13663 wxGridEditorCreatedEvent * _arg0;
13664 wxControl * _arg1;
13665 PyObject * _argo0 = 0;
13666 PyObject * _argo1 = 0;
13667 char *_kwnames[] = { "self","ctrl", NULL };
13668
13669 self = self;
13670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
13671 return NULL;
13672 if (_argo0) {
13673 if (_argo0 == Py_None) { _arg0 = NULL; }
13674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13676 return NULL;
13677 }
13678 }
13679 if (_argo1) {
13680 if (_argo1 == Py_None) { _arg1 = NULL; }
13681 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
13682 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13683 return NULL;
13684 }
13685 }
13686{
474c48f9 13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13688 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
9d6da64a 13689
474c48f9 13690 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
13691 if (PyErr_Occurred()) return NULL;
13692} Py_INCREF(Py_None);
13693 _resultobj = Py_None;
13694 return _resultobj;
13695}
13696
f6bcfd97 13697static PyMethodDef gridcMethods[] = {
9d6da64a
RD
13698 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
13699 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
13700 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
13701 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
13702 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13703 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13704 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13705 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13706 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13707 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13708 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13709 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13710 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
13711 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
13712 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
13713 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
13714 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
13715 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
13716 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
13717 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13718 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13719 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13720 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13721 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13722 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
13723 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
13724 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13725 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13726 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13727 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13728 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13729 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13730 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13731 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13732 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
9df61a29
RD
13733 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
13734 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
13735 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
13736 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13737 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
13738 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
13739 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
13740 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
13741 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
13742 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
13743 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13744 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13745 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13746 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13747 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
13748 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
13749 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
13750 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
13751 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
13752 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
13753 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
13754 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
13755 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13756 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13757 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
13758 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
13759 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
13760 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13761 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
13762 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13763 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13764 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13765 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13766 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13767 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13768 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13769 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
13770 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13771 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13772 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13773 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13774 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13775 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
13776 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
13777 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
13778 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
13779 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
13780 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
13781 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
13782 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
13783 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13784 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
13785 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13786 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13787 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13788 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
13789 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13790 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13791 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13792 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13793 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13794 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
13795 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13796 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
13797 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13798 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
13799 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
13800 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
13801 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
13802 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
13803 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
13804 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13805 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13806 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
13807 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13808 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13809 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
13810 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
13811 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
13812 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
13813 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13814 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
9df61a29
RD
13815 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13816 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13817 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13818 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13819 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13820 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13821 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13822 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13823 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
13824 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13825 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13826 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13827 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
9df61a29
RD
13828 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13829 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13830 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13831 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13832 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13833 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13834 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13835 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13836 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
13837 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13838 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13839 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13840 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
13841 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13842 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13843 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
13844 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
13845 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
13846 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
13847 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
13848 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
13849 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
13850 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
13851 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
13852 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
13853 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
13854 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
13855 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
13856 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
13857 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
13858 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
13859 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
13860 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
13861 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
13862 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
13863 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
13864 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
13865 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
13866 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
13867 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
13868 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
13869 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
13870 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
13871 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13872 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13873 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
13874 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
9a08cd12 13875 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13876 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
13877 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
13878 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
13879 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13880 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
13881 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
13882 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13883 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
13884 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
13885 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13886 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
13887 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
13888 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
13889 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
13890 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
13891 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
13892 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13893 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13894 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13895 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
13896 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
13897 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
13898 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
13899 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
13900 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
13901 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
13902 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
13903 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
13904 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13905 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13906 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13907 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13908 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
13909 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
13910 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
13911 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
13912 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
13913 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
13914 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13915 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13916 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
13917 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13918 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13919 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13920 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13921 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13922 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13923 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13924 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13925 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13926 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13927 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
13928 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
13929 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13930 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
13931 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
13932 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
13933 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13934 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13935 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13936 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
0220cbc1 13937 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13938 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
13939 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13940 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13941 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
13942 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
13943 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13944 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13945 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13946 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13947 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13948 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13949 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
13950 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
13951 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13952 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
13953 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
13954 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
13955 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13956 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13957 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13958 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13959 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13960 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13961 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13962 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13963 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13964 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
13965 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
13966 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
13967 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13968 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13969 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
13970 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
13971 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13972 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13973 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13974 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13975 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13976 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
0220cbc1 13977 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13978 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13979 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
13980 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
13981 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13982 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13983 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
13984 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
13985 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13986 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
13987 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13988 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
13989 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
13990 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13991 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13992 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13993 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9df61a29 13994 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13995 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13996 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13997 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13998 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13999 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14000 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
9df61a29 14001 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
14002 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
14003 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
14004 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14005 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
14006 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
14007 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14008 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
14009 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
14010 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
9df61a29 14011 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
14012 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
14013 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
14014 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
14015 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
14016 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
14017 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
14018 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
14019 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
14020 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
14021 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14022 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
14023 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14024 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
14025 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
2cd2fac8 14026 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
14027 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14028 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
14029 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
0220cbc1 14030 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
14031 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
14032 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
14033 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14034 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
14035 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
14036 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14037 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14038 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
14039 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
14040 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
14041 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
14042 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
14043 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
14044 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
14045 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
14046 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
14047 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
14048 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
14049 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
14050 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
14051 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
14052 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
14053 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
14054 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
14055 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
14056 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
14057 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
14058 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
14059 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
14060 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
14061 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
14062 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
0220cbc1 14063 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
14064 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
14065 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
14066 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
14067 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
14068 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
14069 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
14070 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
14071 { NULL, NULL }
14072};
14073#ifdef __cplusplus
14074}
14075#endif
14076/*
14077 * This table is used by the pointer type-checker
14078 */
14079static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
9d6da64a 14080 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
f6bcfd97 14081 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
f6bcfd97 14082 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
f6bcfd97 14083 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
f6bcfd97 14084 { "_signed_long","_long",0},
059a841c 14085 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
f6bcfd97
BP
14086 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14087 { "_wxPrintQuality","_wxCoord",0},
14088 { "_wxPrintQuality","_int",0},
14089 { "_wxPrintQuality","_signed_int",0},
14090 { "_wxPrintQuality","_unsigned_int",0},
14091 { "_wxPrintQuality","_wxWindowID",0},
14092 { "_wxPrintQuality","_uint",0},
14093 { "_wxPrintQuality","_EBool",0},
14094 { "_wxPrintQuality","_size_t",0},
c368d904 14095 { "_wxPrintQuality","_time_t",0},
f6bcfd97 14096 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
f6bcfd97 14097 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
f6bcfd97 14098 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
f6bcfd97 14099 { "_byte","_unsigned_char",0},
f6bcfd97
BP
14100 { "_long","_unsigned_long",0},
14101 { "_long","_signed_long",0},
f6bcfd97
BP
14102 { "_size_t","_WXGRIDSELECTIONMODES",0},
14103 { "_size_t","_wxCoord",0},
14104 { "_size_t","_wxPrintQuality",0},
c368d904 14105 { "_size_t","_time_t",0},
f6bcfd97
BP
14106 { "_size_t","_unsigned_int",0},
14107 { "_size_t","_int",0},
14108 { "_size_t","_wxWindowID",0},
14109 { "_size_t","_uint",0},
f6bcfd97 14110 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
f6bcfd97
BP
14111 { "_uint","_WXGRIDSELECTIONMODES",0},
14112 { "_uint","_wxCoord",0},
14113 { "_uint","_wxPrintQuality",0},
c368d904 14114 { "_uint","_time_t",0},
f6bcfd97
BP
14115 { "_uint","_size_t",0},
14116 { "_uint","_unsigned_int",0},
14117 { "_uint","_int",0},
14118 { "_uint","_wxWindowID",0},
14119 { "_wxChar","_char",0},
9d6da64a 14120 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
f6bcfd97 14121 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
f6bcfd97 14122 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
f6bcfd97 14123 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
f6bcfd97 14124 { "_char","_wxChar",0},
059a841c 14125 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
059a841c 14126 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
059a841c 14127 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
f6bcfd97 14128 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
f6bcfd97 14129 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
059a841c 14130 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
f6bcfd97 14131 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
f6bcfd97 14132 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
f6bcfd97
BP
14133 { "_EBool","_WXGRIDSELECTIONMODES",0},
14134 { "_EBool","_wxCoord",0},
14135 { "_EBool","_wxPrintQuality",0},
14136 { "_EBool","_signed_int",0},
14137 { "_EBool","_int",0},
14138 { "_EBool","_wxWindowID",0},
f6bcfd97 14139 { "_unsigned_long","_long",0},
f6bcfd97
BP
14140 { "_WXGRIDSELECTIONMODES","_int",0},
14141 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14142 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14143 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14144 { "_WXGRIDSELECTIONMODES","_uint",0},
14145 { "_WXGRIDSELECTIONMODES","_EBool",0},
14146 { "_WXGRIDSELECTIONMODES","_size_t",0},
c368d904 14147 { "_WXGRIDSELECTIONMODES","_time_t",0},
f6bcfd97
BP
14148 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14149 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
059a841c 14150 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
f6bcfd97
BP
14151 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14152 { "_signed_int","_wxCoord",0},
14153 { "_signed_int","_wxPrintQuality",0},
14154 { "_signed_int","_EBool",0},
14155 { "_signed_int","_wxWindowID",0},
14156 { "_signed_int","_int",0},
059a841c 14157 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
059a841c 14158 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
f6bcfd97 14159 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
f6bcfd97 14160 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
f6bcfd97 14161 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
f6bcfd97 14162 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
f6bcfd97 14163 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
f6bcfd97 14164 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
f6bcfd97
BP
14165 { "_WXTYPE","_short",0},
14166 { "_WXTYPE","_signed_short",0},
14167 { "_WXTYPE","_unsigned_short",0},
f6bcfd97 14168 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
f6bcfd97
BP
14169 { "_unsigned_short","_WXTYPE",0},
14170 { "_unsigned_short","_short",0},
9d6da64a 14171 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
9df61a29 14172 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
9df61a29 14173 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
9df61a29 14174 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
9df61a29 14175 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
9df61a29 14176 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
9df61a29 14177 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
9df61a29 14178 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
f6bcfd97
BP
14179 { "_signed_short","_WXTYPE",0},
14180 { "_signed_short","_short",0},
f6bcfd97 14181 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
f6bcfd97 14182 { "_unsigned_char","_byte",0},
f6bcfd97
BP
14183 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14184 { "_unsigned_int","_wxCoord",0},
14185 { "_unsigned_int","_wxPrintQuality",0},
c368d904 14186 { "_unsigned_int","_time_t",0},
f6bcfd97
BP
14187 { "_unsigned_int","_size_t",0},
14188 { "_unsigned_int","_uint",0},
14189 { "_unsigned_int","_wxWindowID",0},
14190 { "_unsigned_int","_int",0},
f6bcfd97
BP
14191 { "_short","_WXTYPE",0},
14192 { "_short","_unsigned_short",0},
14193 { "_short","_signed_short",0},
f6bcfd97
BP
14194 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14195 { "_wxWindowID","_wxCoord",0},
14196 { "_wxWindowID","_wxPrintQuality",0},
c368d904 14197 { "_wxWindowID","_time_t",0},
f6bcfd97
BP
14198 { "_wxWindowID","_size_t",0},
14199 { "_wxWindowID","_EBool",0},
14200 { "_wxWindowID","_uint",0},
14201 { "_wxWindowID","_int",0},
14202 { "_wxWindowID","_signed_int",0},
14203 { "_wxWindowID","_unsigned_int",0},
f6bcfd97
BP
14204 { "_int","_WXGRIDSELECTIONMODES",0},
14205 { "_int","_wxCoord",0},
14206 { "_int","_wxPrintQuality",0},
c368d904 14207 { "_int","_time_t",0},
f6bcfd97
BP
14208 { "_int","_size_t",0},
14209 { "_int","_EBool",0},
14210 { "_int","_uint",0},
14211 { "_int","_wxWindowID",0},
14212 { "_int","_unsigned_int",0},
14213 { "_int","_signed_int",0},
c368d904
RD
14214 { "_time_t","_WXGRIDSELECTIONMODES",0},
14215 { "_time_t","_wxCoord",0},
14216 { "_time_t","_wxPrintQuality",0},
14217 { "_time_t","_unsigned_int",0},
14218 { "_time_t","_int",0},
14219 { "_time_t","_wxWindowID",0},
14220 { "_time_t","_uint",0},
14221 { "_time_t","_size_t",0},
f6bcfd97
BP
14222 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14223 { "_wxCoord","_int",0},
14224 { "_wxCoord","_signed_int",0},
14225 { "_wxCoord","_unsigned_int",0},
14226 { "_wxCoord","_wxWindowID",0},
14227 { "_wxCoord","_uint",0},
14228 { "_wxCoord","_EBool",0},
14229 { "_wxCoord","_size_t",0},
c368d904 14230 { "_wxCoord","_time_t",0},
f6bcfd97 14231 { "_wxCoord","_wxPrintQuality",0},
059a841c 14232 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
059a841c 14233 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
059a841c 14234 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
f6bcfd97 14235 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
f6bcfd97 14236 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
f6bcfd97 14237 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
f6bcfd97 14238 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
f6bcfd97 14239 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
059a841c 14240 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
f6bcfd97 14241 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
f6bcfd97 14242 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
f6bcfd97 14243 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
f6bcfd97 14244 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
f6bcfd97
BP
14245{0,0,0}};
14246
14247static PyObject *SWIG_globals;
14248#ifdef __cplusplus
14249extern "C"
14250#endif
14251SWIGEXPORT(void) initgridc() {
14252 PyObject *m, *d;
14253 SWIG_globals = SWIG_newvarlink();
14254 m = Py_InitModule("gridc", gridcMethods);
14255 d = PyModule_GetDict(m);
14256 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14257 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14258 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14259 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14260 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14261 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14262 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14263 PyDict_SetItemString(d,"cvar", SWIG_globals);
14264 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14265 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14266 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14267 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14268 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14269 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14270 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14271 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14272 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14273 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14274 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14275 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14276 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14277 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14278 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14279 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14280 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14281 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14282 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14283 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14284 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14285 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14286 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14287 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14288 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
9d6da64a 14289 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
3a70a282
RD
14290
14291 wxClassInfo::CleanUpClasses();
14292 wxClassInfo::InitializeClasses();
9df61a29
RD
14293 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14294 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14295 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14296 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14297 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14298 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
f6bcfd97
BP
14299 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14300 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14301 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14302{
14303 int i;
14304 for (i = 0; _swig_mapping[i].n1; i++)
14305 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14306}
14307}