]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/grid.cpp
attempts to make wxCondition::Broadcast() and Signal() work simultaneously - currentl...
[wxWidgets.git] / wxPython / src / mac / grid.cpp
CommitLineData
e6056257
RD
1/*
2 * FILE : src/mac/grid.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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__)
30# define SWIGEXPORT(a) a _export
31# else
32# define SWIGEXPORT(a) a
33# endif
34# endif
35#else
36# define SWIGEXPORT(a) a
37#endif
38
39#include "Python.h"
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
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
58#include "export.h"
59#include <wx/grid.h>
60#include <wx/generic/gridctrl.h>
61
62
63static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
80
81 o2 = target;
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
84 Py_DECREF(o3);
85 }
86 return target;
87}
88
89#if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg = "String or Unicode type required";
91#else
92 static char* wxStringErrorMsg = "String type required";
93#endif
94
95#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
96 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
97 wxGridCellAttr* rval = NULL; \
98 bool found; \
0e2ff151 99 wxPyBeginBlockThreads(); \
e6056257
RD
100 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
101 PyObject* ro; \
102 wxGridCellAttr* ptr; \
103 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
104 if (ro) { \
105 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
106 rval = ptr; \
107 Py_DECREF(ro); \
108 } \
109 } \
0e2ff151 110 wxPyEndBlockThreads(); \
e6056257
RD
111 if (! found) \
112 rval = PCLASS::CBNAME(a, b, c); \
113 return rval; \
114 } \
115 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
116 return PCLASS::CBNAME(a, b, c); \
117 }
118
119
120
121#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
122 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
0e2ff151 123 wxPyBeginBlockThreads(); \
e6056257
RD
124 bool found; \
125 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
126 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
127 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
128 Py_DECREF(obj); \
129 } \
0e2ff151 130 wxPyEndBlockThreads(); \
e6056257
RD
131 if (! found) \
132 PCLASS::CBNAME(attr, a, b); \
133 } \
134 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
135 PCLASS::CBNAME(attr, a, b); \
136 }
137
138
139
140#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
141 void CBNAME(wxGridCellAttr *attr, int val) { \
0e2ff151 142 wxPyBeginBlockThreads(); \
e6056257
RD
143 bool found; \
144 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
145 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
146 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
147 Py_DECREF(obj); \
148 } \
0e2ff151 149 wxPyEndBlockThreads(); \
e6056257
RD
150 if (! found) \
151 PCLASS::CBNAME(attr, val); \
152 } \
153 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
154 PCLASS::CBNAME(attr, val); \
155 }
156
157
158
159#define PYCALLBACK_INT__pure(CBNAME) \
160 int CBNAME() { \
0e2ff151 161 wxPyBeginBlockThreads(); \
e6056257
RD
162 int rval = 0; \
163 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
164 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
0e2ff151 165 wxPyEndBlockThreads(); \
e6056257
RD
166 return rval; \
167 }
168
169
170
171#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
172 bool CBNAME(int a, int b) { \
0e2ff151 173 wxPyBeginBlockThreads(); \
e6056257
RD
174 bool rval = 0; \
175 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
176 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
0e2ff151 177 wxPyEndBlockThreads(); \
e6056257
RD
178 return rval; \
179 }
180
181
182
183#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
184 wxString CBNAME(int a, int b) { \
0e2ff151 185 wxPyBeginBlockThreads(); \
e6056257
RD
186 wxString rval; \
187 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
188 PyObject* ro; \
189 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
190 if (ro) { \
191 PyObject* str = PyObject_Str(ro); \
192 rval = PyString_AsString(str); \
193 Py_DECREF(ro); Py_DECREF(str); \
194 } \
195 } \
0e2ff151 196 wxPyEndBlockThreads(); \
e6056257
RD
197 return rval; \
198 }
199
200
201
202#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
203 void CBNAME(int a, int b, const wxString& c) { \
0e2ff151 204 wxPyBeginBlockThreads(); \
e6056257
RD
205 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
206 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str()));\
0e2ff151 207 wxPyEndBlockThreads(); \
e6056257
RD
208 }
209
210
211#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
212 wxString CBNAME(int a, int b) { \
213 bool found; \
0e2ff151 214 wxPyBeginBlockThreads(); \
e6056257
RD
215 wxString rval; \
216 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
217 PyObject* ro; \
218 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
219 if (ro) { \
220 PyObject* str = PyObject_Str(ro); \
221 rval = PyString_AsString(str); \
222 Py_DECREF(ro); Py_DECREF(str); \
223 } \
224 } \
0e2ff151 225 wxPyEndBlockThreads(); \
e6056257
RD
226 if (! found) \
227 rval = PCLASS::CBNAME(a, b); \
228 return rval; \
229 } \
230 wxString base_##CBNAME(int a, int b) { \
231 return PCLASS::CBNAME(a, b); \
232 }
233
234
235
236#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
237 bool CBNAME(int a, int b, const wxString& c) { \
80cb3dbc 238 bool rval = 0; \
e6056257 239 bool found; \
0e2ff151 240 wxPyBeginBlockThreads(); \
e6056257
RD
241 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
242 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str()));\
0e2ff151 243 wxPyEndBlockThreads(); \
e6056257
RD
244 if (! found) \
245 rval = PCLASS::CBNAME(a,b,c); \
246 return rval; \
247 } \
248 bool base_##CBNAME(int a, int b, const wxString& c) { \
249 return PCLASS::CBNAME(a,b,c); \
250 }
251
252
253
254
255#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
256 long CBNAME(int a, int b) { \
257 long rval; \
258 bool found; \
0e2ff151 259 wxPyBeginBlockThreads(); \
e6056257
RD
260 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
261 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
0e2ff151 262 wxPyEndBlockThreads(); \
e6056257
RD
263 if (! found) \
264 rval = PCLASS::CBNAME(a,b); \
265 return rval; \
266 } \
267 long base_##CBNAME(int a, int b) { \
268 return PCLASS::CBNAME(a,b); \
269 }
270
271
272
273#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
274 bool CBNAME(int a, int b) { \
80cb3dbc 275 bool rval = 0; \
e6056257 276 bool found; \
0e2ff151 277 wxPyBeginBlockThreads(); \
e6056257
RD
278 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
279 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
0e2ff151 280 wxPyEndBlockThreads(); \
e6056257
RD
281 if (! found) \
282 rval = PCLASS::CBNAME(a,b); \
283 return rval; \
284 } \
285 bool base_##CBNAME(int a, int b) { \
286 return PCLASS::CBNAME(a,b); \
287 }
288
289
290
291#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
292 double CBNAME(int a, int b) { \
293 bool found; \
0e2ff151 294 wxPyBeginBlockThreads(); \
e6056257
RD
295 double rval; \
296 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
297 PyObject* ro; \
298 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
299 if (ro) { \
300 PyObject* str = PyObject_Str(ro); \
301 rval = PyFloat_AsDouble(str); \
302 Py_DECREF(ro); Py_DECREF(str); \
303 } \
304 } \
0e2ff151 305 wxPyEndBlockThreads(); \
e6056257
RD
306 if (! found) \
307 rval = PCLASS::CBNAME(a, b); \
308 return rval; \
309 } \
310 double base_##CBNAME(int a, int b) { \
311 return PCLASS::CBNAME(a, b); \
312 }
313
314
315
316#define PYCALLBACK__(PCLASS, CBNAME) \
317 void CBNAME() { \
318 bool found; \
0e2ff151 319 wxPyBeginBlockThreads(); \
e6056257
RD
320 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
321 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
0e2ff151 322 wxPyEndBlockThreads(); \
e6056257
RD
323 if (! found) \
324 PCLASS::CBNAME(); \
325 } \
326 void base_##CBNAME() { \
327 PCLASS::CBNAME(); \
328 }
329
330
331
332
333#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
334 bool CBNAME(size_t a, size_t b) { \
80cb3dbc 335 bool rval = 0; \
e6056257 336 bool found; \
0e2ff151 337 wxPyBeginBlockThreads(); \
e6056257
RD
338 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
339 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
0e2ff151 340 wxPyEndBlockThreads(); \
e6056257
RD
341 if (! found) \
342 rval = PCLASS::CBNAME(a,b); \
343 return rval; \
344 } \
345 bool base_##CBNAME(size_t a, size_t b) { \
346 return PCLASS::CBNAME(a,b); \
347 }
348
349
350
351#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
352 bool CBNAME(size_t a) { \
80cb3dbc 353 bool rval = 0; \
e6056257 354 bool found; \
0e2ff151 355 wxPyBeginBlockThreads(); \
e6056257
RD
356 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
357 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
0e2ff151 358 wxPyEndBlockThreads(); \
e6056257
RD
359 if (! found) \
360 rval = PCLASS::CBNAME(a); \
361 return rval; \
362 } \
363 bool base_##CBNAME(size_t a) { \
364 return PCLASS::CBNAME(a); \
365 }
366
367
368
369#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
370 wxString CBNAME(int a) { \
371 bool found; \
0e2ff151 372 wxPyBeginBlockThreads(); \
e6056257
RD
373 wxString rval; \
374 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
375 PyObject* ro; \
376 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
377 if (ro) { \
378 PyObject* str = PyObject_Str(ro); \
379 rval = PyString_AsString(str); \
380 Py_DECREF(ro); Py_DECREF(str); \
381 } \
382 } \
0e2ff151 383 wxPyEndBlockThreads(); \
e6056257
RD
384 if (! found) \
385 rval = PCLASS::CBNAME(a); \
386 return rval; \
387 } \
388 wxString base_##CBNAME(int a) { \
389 return PCLASS::CBNAME(a); \
390 }
391
392
393
394#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
395 void CBNAME(int a, const wxString& c) { \
396 bool found; \
0e2ff151 397 wxPyBeginBlockThreads(); \
e6056257
RD
398 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
399 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
0e2ff151 400 wxPyEndBlockThreads(); \
e6056257
RD
401 if (! found) \
402 PCLASS::CBNAME(a,c); \
403 } \
404 void base_##CBNAME(int a, const wxString& c) { \
405 PCLASS::CBNAME(a,c); \
406 }
407
408
409
410
411#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
412 bool CBNAME() { \
80cb3dbc 413 bool rval = 0; \
e6056257 414 bool found; \
0e2ff151 415 wxPyBeginBlockThreads(); \
e6056257
RD
416 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
417 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
0e2ff151 418 wxPyEndBlockThreads(); \
e6056257
RD
419 if (! found) \
420 rval = PCLASS::CBNAME(); \
421 return rval; \
422 } \
423 bool base_##CBNAME() { \
424 return PCLASS::CBNAME(); \
425 }
426
427
428
429#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
430 void CBNAME(size_t a, int b) { \
431 bool found; \
0e2ff151 432 wxPyBeginBlockThreads(); \
e6056257
RD
433 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
0e2ff151 435 wxPyEndBlockThreads(); \
e6056257
RD
436 if (! found) \
437 PCLASS::CBNAME(a,b); \
438 } \
439 void base_##CBNAME(size_t a, int b) { \
440 PCLASS::CBNAME(a,b); \
441 }
442
443
444
445
446#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
447 void CBNAME(int a, int b, long c) { \
448 bool found; \
0e2ff151 449 wxPyBeginBlockThreads(); \
e6056257
RD
450 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
451 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
0e2ff151 452 wxPyEndBlockThreads(); \
e6056257
RD
453 if (! found) \
454 PCLASS::CBNAME(a,b,c); \
455 } \
456 void base_##CBNAME(int a, int b, long c) { \
457 PCLASS::CBNAME(a,b,c); \
458 }
459
460
461
462
463#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
464 void CBNAME(int a, int b, double c) { \
465 bool found; \
0e2ff151 466 wxPyBeginBlockThreads(); \
e6056257
RD
467 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
468 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
0e2ff151 469 wxPyEndBlockThreads(); \
e6056257
RD
470 if (! found) \
471 PCLASS::CBNAME(a,b,c); \
472 } \
473 void base_##CBNAME(int a, int b, double c) { \
474 PCLASS::CBNAME(a,b,c); \
475 }
476
477
478
479#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
480 void CBNAME(int a, int b, bool c) { \
481 bool found; \
0e2ff151 482 wxPyBeginBlockThreads(); \
e6056257
RD
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
484 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
0e2ff151 485 wxPyEndBlockThreads(); \
e6056257
RD
486 if (! found) \
487 PCLASS::CBNAME(a,b,c); \
488 } \
489 void base_##CBNAME(int a, int b, bool c) { \
490 PCLASS::CBNAME(a,b,c); \
491 }
492
493
494
495
496
497class wxPyGridCellRenderer : public wxGridCellRenderer
498{
499public:
500 wxPyGridCellRenderer() : wxGridCellRenderer() {};
501
502 // Implement Python callback aware virtual methods
503 void Draw(wxGrid& grid, wxGridCellAttr& attr,
504 wxDC& dc, const wxRect& rect,
505 int row, int col, bool isSelected) {
0e2ff151 506 wxPyBeginBlockThreads();
e6056257
RD
507 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
508 wxPyCBH_callCallback(m_myInst,
509 Py_BuildValue("(OOOOiii)",
510 wxPyConstructObject((void*)&grid, "wxGrid", 0),
511 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
512 wxPyConstructObject((void*)&dc, "wxDC", 0),
513 wxPyConstructObject((void*)&rect, "wxRect", 0),
514 row, col, isSelected));
515 }
0e2ff151 516 wxPyEndBlockThreads();
e6056257
RD
517 }
518
519 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
520 int row, int col) {
521 wxSize rval;
0e2ff151 522 wxPyBeginBlockThreads();
e6056257
RD
523 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
524 PyObject* ro;
525 wxSize* ptr;
526 ro = wxPyCBH_callCallbackObj(m_myInst,
527 Py_BuildValue("(OOOii)",
528 wxPyConstructObject((void*)&grid, "wxGrid", 0),
529 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
530 wxPyConstructObject((void*)&dc, "wxDC", 0),
531 row, col));
532 if (ro) {
533 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
534 rval = *ptr;
535 Py_DECREF(ro);
536 }
537 }
0e2ff151 538 wxPyEndBlockThreads();
e6056257
RD
539 return rval;
540 }
541
542
543 wxGridCellRenderer *Clone() const {
544 wxGridCellRenderer* rval = NULL;
0e2ff151 545 wxPyBeginBlockThreads();
e6056257
RD
546 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
547 PyObject* ro;
548 wxGridCellRenderer* ptr;
549 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
550 if (ro) {
551 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
552 rval = ptr;
553 Py_DECREF(ro);
554 }
555 }
0e2ff151 556 wxPyEndBlockThreads();
e6056257
RD
557 return rval;
558 }
559
560 DEC_PYCALLBACK__STRING(SetParameters);
561
562 PYPRIVATE;
563};
564
565IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
566
567
568class wxPyGridCellEditor : public wxGridCellEditor
569{
570public:
571 wxPyGridCellEditor() : wxGridCellEditor() {}
572
573 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
0e2ff151 574 wxPyBeginBlockThreads();
e6056257
RD
575 if (wxPyCBH_findCallback(m_myInst, "Create")) {
576 wxPyCBH_callCallback(m_myInst,
577 Py_BuildValue("(OiO)",
578 wxPyConstructObject((void*)parent, "wxWindow", 0),
579 id,
580 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
581 }
0e2ff151 582 wxPyEndBlockThreads();
e6056257
RD
583 }
584
585
586 void BeginEdit(int row, int col, wxGrid* grid) {
0e2ff151 587 wxPyBeginBlockThreads();
e6056257
RD
588 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
589 wxPyCBH_callCallback(m_myInst,
590 Py_BuildValue("(iiO)", row, col,
591 wxPyConstructObject((void*)grid, "wxGrid", 0)));
592 }
0e2ff151 593 wxPyEndBlockThreads();
e6056257
RD
594 }
595
596
597 bool EndEdit(int row, int col, wxGrid* grid) {
598 bool rv = FALSE;
0e2ff151 599 wxPyBeginBlockThreads();
e6056257
RD
600 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
601 rv = wxPyCBH_callCallback(m_myInst,
602 Py_BuildValue("(iiO)", row, col,
603 wxPyConstructObject((void*)grid, "wxGrid", 0)));
604 }
0e2ff151 605 wxPyEndBlockThreads();
e6056257
RD
606 return rv;
607 }
608
609
610 wxGridCellEditor*Clone() const {
611 wxGridCellEditor* rval = NULL;
0e2ff151 612 wxPyBeginBlockThreads();
e6056257
RD
613 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
614 PyObject* ro;
615 wxGridCellEditor* ptr;
616 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
617 if (ro) {
618 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
619 rval = ptr;
620 Py_DECREF(ro);
621 }
622 }
0e2ff151 623 wxPyEndBlockThreads();
e6056257
RD
624 return rval;
625 }
626
627
628 void Show(bool show, wxGridCellAttr *attr) {
629 bool found;
0e2ff151 630 wxPyBeginBlockThreads();
e6056257
RD
631 if ((found = wxPyCBH_findCallback(m_myInst, "Show")))
632 wxPyCBH_callCallback(m_myInst,
633 Py_BuildValue("(iO)", show,
634 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
0e2ff151 635 wxPyEndBlockThreads();
e6056257
RD
636 if (! found)
637 wxGridCellEditor::Show(show, attr);
638 }
639 void base_Show(bool show, wxGridCellAttr *attr) {
640 wxGridCellEditor::Show(show, attr);
641 }
642
643
644 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
645 bool found; \
0e2ff151 646 wxPyBeginBlockThreads();
e6056257
RD
647 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)")))
648 wxPyCBH_callCallback(m_myInst,
649 Py_BuildValue("(OO)",
650 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
651 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
0e2ff151 652 wxPyEndBlockThreads();
e6056257
RD
653 if (! found)
654 wxGridCellEditor::PaintBackground(rectCell, attr);
655 }
656 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
657 wxGridCellEditor::PaintBackground(rectCell, attr);
658 }
659
660
661 DEC_PYCALLBACK___pure(Reset);
662 DEC_PYCALLBACK__constany(SetSize, wxRect);
663 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
664 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
665 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
666 DEC_PYCALLBACK__(StartingClick);
667 DEC_PYCALLBACK__(Destroy);
668 DEC_PYCALLBACK__STRING(SetParameters);
669
670 PYPRIVATE;
671};
672
673
674IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
675IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
676IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
677IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
678IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
679IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
680IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
681IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
682
683
684class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
685{
686public:
687 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
688
689 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
690 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
691 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
692 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
693
694 PYPRIVATE;
695};
696
697class wxPyGridTableBase : public wxGridTableBase
698{
699public:
700 wxPyGridTableBase() : wxGridTableBase() {}
701
702 PYCALLBACK_INT__pure(GetNumberRows);
703 PYCALLBACK_INT__pure(GetNumberCols);
704 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
705 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
706 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
707 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
708 PYCALLBACK__(wxGridTableBase, Clear);
709 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
710 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
711 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
712 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
713 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
714 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
715 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
716 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
717 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
718 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
719 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
720 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
721 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
722 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
723 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
724
725
726 wxString GetValue(int row, int col) {
0e2ff151 727 wxPyBeginBlockThreads();
e6056257
RD
728 wxString rval;
729 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
730 PyObject* ro;
731 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
732 if (ro) {
733 PyObject* str = PyObject_Str(ro);
734 rval = PyString_AsString(str);
735 Py_DECREF(ro);
736 Py_DECREF(str);
737 }
738 }
0e2ff151 739 wxPyEndBlockThreads();
e6056257
RD
740 return rval;
741 }
742
743 void SetValue(int row, int col, const wxString& val) {
0e2ff151 744 wxPyBeginBlockThreads();
e6056257
RD
745 if (wxPyCBH_findCallback(m_myInst, "SetValue"))
746 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str()));
0e2ff151 747 wxPyEndBlockThreads();
e6056257
RD
748 }
749
750
751 // Map the Get/Set methods for the standard non-string types to
752 // the GetValue and SetValue python methods.
753 long GetValueAsLong( int row, int col ) {
754 long rval = 0;
0e2ff151 755 wxPyBeginBlockThreads();
e6056257
RD
756 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
757 PyObject* ro;
758 PyObject* num;
759 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
760 if (ro && PyNumber_Check(ro)) {
761 num = PyNumber_Int(ro);
762 if (num) {
763 rval = PyInt_AsLong(num);
764 Py_DECREF(num);
765 }
766 Py_DECREF(ro);
767 }
768 }
0e2ff151 769 wxPyEndBlockThreads();
e6056257
RD
770 return rval;
771 }
772
773 double GetValueAsDouble( int row, int col ) {
774 double rval = 0.0;
0e2ff151 775 wxPyBeginBlockThreads();
e6056257
RD
776 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
777 PyObject* ro;
778 PyObject* num;
779 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
780 if (ro && PyNumber_Check(ro)) {
781 num = PyNumber_Float(ro);
782 if (num) {
783 rval = PyFloat_AsDouble(num);
784 Py_DECREF(num);
785 }
786 Py_DECREF(ro);
787 }
788 }
0e2ff151 789 wxPyEndBlockThreads();
e6056257
RD
790 return rval;
791 }
792
793 bool GetValueAsBool( int row, int col ) {
794 return (bool)GetValueAsLong(row, col);
795 }
796
797 void SetValueAsLong( int row, int col, long value ) {
0e2ff151 798 wxPyBeginBlockThreads();
e6056257
RD
799 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
800 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
801 }
0e2ff151 802 wxPyEndBlockThreads();
e6056257
RD
803 }
804
805 void SetValueAsDouble( int row, int col, double value ) {
0e2ff151 806 wxPyBeginBlockThreads();
e6056257
RD
807 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
808 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
809 }
0e2ff151 810 wxPyEndBlockThreads();
e6056257
RD
811 }
812
813 void SetValueAsBool( int row, int col, bool value ) {
814 SetValueAsLong( row, col, (long)value );
815 }
816
817
818 PYPRIVATE;
819};
820
821bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
822
823 // If source is an object instance then it may already be the right type
824 if (PyInstance_Check(source)) {
825 wxGridCellCoords* ptr;
826 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
827 goto error;
828 *obj = ptr;
829 return TRUE;
830 }
831 // otherwise a 2-tuple of integers is expected
832 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
833 PyObject* o1 = PySequence_GetItem(source, 0);
834 PyObject* o2 = PySequence_GetItem(source, 1);
835 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
836 return TRUE;
837 }
838
839 error:
840 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
841 return FALSE;
842}
843
844typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
845#ifdef __cplusplus
846extern "C" {
847#endif
848static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
849
850 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
851 return 1;
852}
853
854static PyObject *_wrap_wxGridNoCellCoords_get() {
855 PyObject * pyobj;
856 char ptemp[128];
857
858 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
859 pyobj = PyString_FromString(ptemp);
860 return pyobj;
861}
862
863static int _wrap_wxGridNoCellRect_set(PyObject *val) {
864
865 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
866 return 1;
867}
868
869static PyObject *_wrap_wxGridNoCellRect_get() {
870 PyObject * pyobj;
871 char ptemp[128];
872
873 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
874 pyobj = PyString_FromString(ptemp);
875 return pyobj;
876}
877
878#define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
879static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
880 PyObject * _resultobj;
881 wxGridCellRenderer * _arg0;
882 wxString * _arg1;
883 PyObject * _argo0 = 0;
884 PyObject * _obj1 = 0;
885 char *_kwnames[] = { "self","params", NULL };
886
887 self = self;
888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
889 return NULL;
890 if (_argo0) {
891 if (_argo0 == Py_None) { _arg0 = NULL; }
892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
894 return NULL;
895 }
896 }
897{
898#if PYTHON_API_VERSION >= 1009
899 char* tmpPtr; int tmpSize;
900 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
901 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
902 return NULL;
903 }
904 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
905 return NULL;
906 _arg1 = new wxString(tmpPtr, tmpSize);
907#else
908 if (!PyString_Check(_obj1)) {
909 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
910 return NULL;
911 }
912 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
913#endif
914}
915{
0e2ff151 916 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
917 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
918
0e2ff151 919 wxPyEndAllowThreads(__tstate);
e6056257
RD
920 if (PyErr_Occurred()) return NULL;
921} Py_INCREF(Py_None);
922 _resultobj = Py_None;
923{
924 if (_obj1)
925 delete _arg1;
926}
927 return _resultobj;
928}
929
930#define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
931static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
932 PyObject * _resultobj;
933 wxGridCellRenderer * _arg0;
934 PyObject * _argo0 = 0;
935 char *_kwnames[] = { "self", NULL };
936
937 self = self;
938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
939 return NULL;
940 if (_argo0) {
941 if (_argo0 == Py_None) { _arg0 = NULL; }
942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
944 return NULL;
945 }
946 }
947{
0e2ff151 948 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
949 wxGridCellRenderer_IncRef(_arg0);
950
0e2ff151 951 wxPyEndAllowThreads(__tstate);
e6056257
RD
952 if (PyErr_Occurred()) return NULL;
953} Py_INCREF(Py_None);
954 _resultobj = Py_None;
955 return _resultobj;
956}
957
958#define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
959static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
960 PyObject * _resultobj;
961 wxGridCellRenderer * _arg0;
962 PyObject * _argo0 = 0;
963 char *_kwnames[] = { "self", NULL };
964
965 self = self;
966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
967 return NULL;
968 if (_argo0) {
969 if (_argo0 == Py_None) { _arg0 = NULL; }
970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
972 return NULL;
973 }
974 }
975{
0e2ff151 976 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
977 wxGridCellRenderer_DecRef(_arg0);
978
0e2ff151 979 wxPyEndAllowThreads(__tstate);
e6056257
RD
980 if (PyErr_Occurred()) return NULL;
981} Py_INCREF(Py_None);
982 _resultobj = Py_None;
983 return _resultobj;
984}
985
986#define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
987static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
988 PyObject * _resultobj;
989 wxGridCellRenderer * _arg0;
990 wxGrid * _arg1;
991 wxGridCellAttr * _arg2;
992 wxDC * _arg3;
993 wxRect * _arg4;
994 int _arg5;
995 int _arg6;
996 bool _arg7;
997 PyObject * _argo0 = 0;
998 PyObject * _argo1 = 0;
999 PyObject * _argo2 = 0;
1000 PyObject * _argo3 = 0;
1001 wxRect temp;
1002 PyObject * _obj4 = 0;
1003 int tempbool7;
1004 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
1005
1006 self = self;
1007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
1008 return NULL;
1009 if (_argo0) {
1010 if (_argo0 == Py_None) { _arg0 = NULL; }
1011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1013 return NULL;
1014 }
1015 }
1016 if (_argo1) {
1017 if (_argo1 == Py_None) { _arg1 = NULL; }
1018 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1019 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1020 return NULL;
1021 }
1022 }
1023 if (_argo2) {
1024 if (_argo2 == Py_None) { _arg2 = NULL; }
1025 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1026 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1027 return NULL;
1028 }
1029 }
1030 if (_argo3) {
1031 if (_argo3 == Py_None) { _arg3 = NULL; }
1032 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1033 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1034 return NULL;
1035 }
1036 }
1037{
1038 _arg4 = &temp;
1039 if (! wxRect_helper(_obj4, &_arg4))
1040 return NULL;
1041}
1042 _arg7 = (bool ) tempbool7;
1043{
0e2ff151 1044 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1045 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1046
0e2ff151 1047 wxPyEndAllowThreads(__tstate);
e6056257
RD
1048 if (PyErr_Occurred()) return NULL;
1049} Py_INCREF(Py_None);
1050 _resultobj = Py_None;
1051 return _resultobj;
1052}
1053
1054#define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1055static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1056 PyObject * _resultobj;
1057 wxSize * _result;
1058 wxGridCellRenderer * _arg0;
1059 wxGrid * _arg1;
1060 wxGridCellAttr * _arg2;
1061 wxDC * _arg3;
1062 int _arg4;
1063 int _arg5;
1064 PyObject * _argo0 = 0;
1065 PyObject * _argo1 = 0;
1066 PyObject * _argo2 = 0;
1067 PyObject * _argo3 = 0;
1068 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1069 char _ptemp[128];
1070
1071 self = self;
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1073 return NULL;
1074 if (_argo0) {
1075 if (_argo0 == Py_None) { _arg0 = NULL; }
1076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1078 return NULL;
1079 }
1080 }
1081 if (_argo1) {
1082 if (_argo1 == Py_None) { _arg1 = NULL; }
1083 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1084 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1085 return NULL;
1086 }
1087 }
1088 if (_argo2) {
1089 if (_argo2 == Py_None) { _arg2 = NULL; }
1090 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1091 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1092 return NULL;
1093 }
1094 }
1095 if (_argo3) {
1096 if (_argo3 == Py_None) { _arg3 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1099 return NULL;
1100 }
1101 }
1102{
0e2ff151 1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1104 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1105
0e2ff151 1106 wxPyEndAllowThreads(__tstate);
e6056257
RD
1107 if (PyErr_Occurred()) return NULL;
1108} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1109 _resultobj = Py_BuildValue("s",_ptemp);
1110 return _resultobj;
1111}
1112
1113#define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1114static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1115 PyObject * _resultobj;
1116 wxGridCellRenderer * _result;
1117 wxGridCellRenderer * _arg0;
1118 PyObject * _argo0 = 0;
1119 char *_kwnames[] = { "self", NULL };
1120 char _ptemp[128];
1121
1122 self = self;
1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1124 return NULL;
1125 if (_argo0) {
1126 if (_argo0 == Py_None) { _arg0 = NULL; }
1127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1129 return NULL;
1130 }
1131 }
1132{
0e2ff151 1133 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1134 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1135
0e2ff151 1136 wxPyEndAllowThreads(__tstate);
e6056257
RD
1137 if (PyErr_Occurred()) return NULL;
1138} if (_result) {
1139 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1140 _resultobj = Py_BuildValue("s",_ptemp);
1141 } else {
1142 Py_INCREF(Py_None);
1143 _resultobj = Py_None;
1144 }
1145 return _resultobj;
1146}
1147
1148static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1149 wxPyGridCellRenderer *src;
1150 wxGridCellRenderer *dest;
1151 src = (wxPyGridCellRenderer *) ptr;
1152 dest = (wxGridCellRenderer *) src;
1153 return (void *) dest;
1154}
1155
1156#define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1157static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1158 PyObject * _resultobj;
1159 wxPyGridCellRenderer * _result;
1160 char *_kwnames[] = { NULL };
1161 char _ptemp[128];
1162
1163 self = self;
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1165 return NULL;
1166{
0e2ff151 1167 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1168 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1169
0e2ff151 1170 wxPyEndAllowThreads(__tstate);
e6056257
RD
1171 if (PyErr_Occurred()) return NULL;
1172} if (_result) {
1173 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1174 _resultobj = Py_BuildValue("s",_ptemp);
1175 } else {
1176 Py_INCREF(Py_None);
1177 _resultobj = Py_None;
1178 }
1179 return _resultobj;
1180}
1181
1182#define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1183static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1184 PyObject * _resultobj;
1185 wxPyGridCellRenderer * _arg0;
1186 PyObject * _arg1;
1187 PyObject * _arg2;
1188 PyObject * _argo0 = 0;
1189 PyObject * _obj1 = 0;
1190 PyObject * _obj2 = 0;
1191 char *_kwnames[] = { "self","self","_class", NULL };
1192
1193 self = self;
1194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1195 return NULL;
1196 if (_argo0) {
1197 if (_argo0 == Py_None) { _arg0 = NULL; }
1198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1200 return NULL;
1201 }
1202 }
1203{
1204 _arg1 = _obj1;
1205}
1206{
1207 _arg2 = _obj2;
1208}
1209{
0e2ff151 1210 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1211 wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2);
1212
0e2ff151 1213 wxPyEndAllowThreads(__tstate);
e6056257
RD
1214 if (PyErr_Occurred()) return NULL;
1215} Py_INCREF(Py_None);
1216 _resultobj = Py_None;
1217 return _resultobj;
1218}
1219
1220#define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1221static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1222 PyObject * _resultobj;
1223 wxPyGridCellRenderer * _arg0;
1224 wxString * _arg1;
1225 PyObject * _argo0 = 0;
1226 PyObject * _obj1 = 0;
1227 char *_kwnames[] = { "self","params", NULL };
1228
1229 self = self;
1230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1231 return NULL;
1232 if (_argo0) {
1233 if (_argo0 == Py_None) { _arg0 = NULL; }
1234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1236 return NULL;
1237 }
1238 }
1239{
1240#if PYTHON_API_VERSION >= 1009
1241 char* tmpPtr; int tmpSize;
1242 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1243 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1244 return NULL;
1245 }
1246 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1247 return NULL;
1248 _arg1 = new wxString(tmpPtr, tmpSize);
1249#else
1250 if (!PyString_Check(_obj1)) {
1251 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1252 return NULL;
1253 }
1254 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1255#endif
1256}
1257{
0e2ff151 1258 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1259 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1260
0e2ff151 1261 wxPyEndAllowThreads(__tstate);
e6056257
RD
1262 if (PyErr_Occurred()) return NULL;
1263} Py_INCREF(Py_None);
1264 _resultobj = Py_None;
1265{
1266 if (_obj1)
1267 delete _arg1;
1268}
1269 return _resultobj;
1270}
1271
1272static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1273 wxGridCellStringRenderer *src;
1274 wxGridCellRenderer *dest;
1275 src = (wxGridCellStringRenderer *) ptr;
1276 dest = (wxGridCellRenderer *) src;
1277 return (void *) dest;
1278}
1279
1280#define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1281static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1282 PyObject * _resultobj;
1283 wxGridCellStringRenderer * _result;
1284 char *_kwnames[] = { NULL };
1285 char _ptemp[128];
1286
1287 self = self;
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1289 return NULL;
1290{
0e2ff151 1291 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1292 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1293
0e2ff151 1294 wxPyEndAllowThreads(__tstate);
e6056257
RD
1295 if (PyErr_Occurred()) return NULL;
1296} if (_result) {
1297 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1298 _resultobj = Py_BuildValue("s",_ptemp);
1299 } else {
1300 Py_INCREF(Py_None);
1301 _resultobj = Py_None;
1302 }
1303 return _resultobj;
1304}
1305
1306static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1307 wxGridCellNumberRenderer *src;
1308 wxGridCellStringRenderer *dest;
1309 src = (wxGridCellNumberRenderer *) ptr;
1310 dest = (wxGridCellStringRenderer *) src;
1311 return (void *) dest;
1312}
1313
1314static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1315 wxGridCellNumberRenderer *src;
1316 wxGridCellRenderer *dest;
1317 src = (wxGridCellNumberRenderer *) ptr;
1318 dest = (wxGridCellRenderer *) src;
1319 return (void *) dest;
1320}
1321
1322#define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1323static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1324 PyObject * _resultobj;
1325 wxGridCellNumberRenderer * _result;
1326 char *_kwnames[] = { NULL };
1327 char _ptemp[128];
1328
1329 self = self;
1330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1331 return NULL;
1332{
0e2ff151 1333 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1334 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1335
0e2ff151 1336 wxPyEndAllowThreads(__tstate);
e6056257
RD
1337 if (PyErr_Occurred()) return NULL;
1338} if (_result) {
1339 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1340 _resultobj = Py_BuildValue("s",_ptemp);
1341 } else {
1342 Py_INCREF(Py_None);
1343 _resultobj = Py_None;
1344 }
1345 return _resultobj;
1346}
1347
1348static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1349 wxGridCellFloatRenderer *src;
1350 wxGridCellStringRenderer *dest;
1351 src = (wxGridCellFloatRenderer *) ptr;
1352 dest = (wxGridCellStringRenderer *) src;
1353 return (void *) dest;
1354}
1355
1356static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1357 wxGridCellFloatRenderer *src;
1358 wxGridCellRenderer *dest;
1359 src = (wxGridCellFloatRenderer *) ptr;
1360 dest = (wxGridCellRenderer *) src;
1361 return (void *) dest;
1362}
1363
1364#define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1365static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1366 PyObject * _resultobj;
1367 wxGridCellFloatRenderer * _result;
1368 int _arg0 = (int ) -1;
1369 int _arg1 = (int ) -1;
1370 char *_kwnames[] = { "width","precision", NULL };
1371 char _ptemp[128];
1372
1373 self = self;
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1375 return NULL;
1376{
0e2ff151 1377 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1378 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1379
0e2ff151 1380 wxPyEndAllowThreads(__tstate);
e6056257
RD
1381 if (PyErr_Occurred()) return NULL;
1382} if (_result) {
1383 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1384 _resultobj = Py_BuildValue("s",_ptemp);
1385 } else {
1386 Py_INCREF(Py_None);
1387 _resultobj = Py_None;
1388 }
1389 return _resultobj;
1390}
1391
1392#define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1393static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1394 PyObject * _resultobj;
1395 int _result;
1396 wxGridCellFloatRenderer * _arg0;
1397 PyObject * _argo0 = 0;
1398 char *_kwnames[] = { "self", NULL };
1399
1400 self = self;
1401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1402 return NULL;
1403 if (_argo0) {
1404 if (_argo0 == Py_None) { _arg0 = NULL; }
1405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1407 return NULL;
1408 }
1409 }
1410{
0e2ff151 1411 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1412 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1413
0e2ff151 1414 wxPyEndAllowThreads(__tstate);
e6056257
RD
1415 if (PyErr_Occurred()) return NULL;
1416} _resultobj = Py_BuildValue("i",_result);
1417 return _resultobj;
1418}
1419
1420#define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1421static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1422 PyObject * _resultobj;
1423 wxGridCellFloatRenderer * _arg0;
1424 int _arg1;
1425 PyObject * _argo0 = 0;
1426 char *_kwnames[] = { "self","width", NULL };
1427
1428 self = self;
1429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1430 return NULL;
1431 if (_argo0) {
1432 if (_argo0 == Py_None) { _arg0 = NULL; }
1433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1435 return NULL;
1436 }
1437 }
1438{
0e2ff151 1439 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1440 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1441
0e2ff151 1442 wxPyEndAllowThreads(__tstate);
e6056257
RD
1443 if (PyErr_Occurred()) return NULL;
1444} Py_INCREF(Py_None);
1445 _resultobj = Py_None;
1446 return _resultobj;
1447}
1448
1449#define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1450static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1451 PyObject * _resultobj;
1452 int _result;
1453 wxGridCellFloatRenderer * _arg0;
1454 PyObject * _argo0 = 0;
1455 char *_kwnames[] = { "self", NULL };
1456
1457 self = self;
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1459 return NULL;
1460 if (_argo0) {
1461 if (_argo0 == Py_None) { _arg0 = NULL; }
1462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1464 return NULL;
1465 }
1466 }
1467{
0e2ff151 1468 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1469 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1470
0e2ff151 1471 wxPyEndAllowThreads(__tstate);
e6056257
RD
1472 if (PyErr_Occurred()) return NULL;
1473} _resultobj = Py_BuildValue("i",_result);
1474 return _resultobj;
1475}
1476
1477#define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1478static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1479 PyObject * _resultobj;
1480 wxGridCellFloatRenderer * _arg0;
1481 int _arg1;
1482 PyObject * _argo0 = 0;
1483 char *_kwnames[] = { "self","precision", NULL };
1484
1485 self = self;
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1487 return NULL;
1488 if (_argo0) {
1489 if (_argo0 == Py_None) { _arg0 = NULL; }
1490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1492 return NULL;
1493 }
1494 }
1495{
0e2ff151 1496 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1497 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1498
0e2ff151 1499 wxPyEndAllowThreads(__tstate);
e6056257
RD
1500 if (PyErr_Occurred()) return NULL;
1501} Py_INCREF(Py_None);
1502 _resultobj = Py_None;
1503 return _resultobj;
1504}
1505
1506static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1507 wxGridCellBoolRenderer *src;
1508 wxGridCellRenderer *dest;
1509 src = (wxGridCellBoolRenderer *) ptr;
1510 dest = (wxGridCellRenderer *) src;
1511 return (void *) dest;
1512}
1513
1514#define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1515static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1516 PyObject * _resultobj;
1517 wxGridCellBoolRenderer * _result;
1518 char *_kwnames[] = { NULL };
1519 char _ptemp[128];
1520
1521 self = self;
1522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1523 return NULL;
1524{
0e2ff151 1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1526 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1527
0e2ff151 1528 wxPyEndAllowThreads(__tstate);
e6056257
RD
1529 if (PyErr_Occurred()) return NULL;
1530} if (_result) {
1531 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1532 _resultobj = Py_BuildValue("s",_ptemp);
1533 } else {
1534 Py_INCREF(Py_None);
1535 _resultobj = Py_None;
1536 }
1537 return _resultobj;
1538}
1539
1540static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) {
1541 wxGridCellDateTimeRenderer *src;
1542 wxGridCellStringRenderer *dest;
1543 src = (wxGridCellDateTimeRenderer *) ptr;
1544 dest = (wxGridCellStringRenderer *) src;
1545 return (void *) dest;
1546}
1547
1548static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) {
1549 wxGridCellDateTimeRenderer *src;
1550 wxGridCellRenderer *dest;
1551 src = (wxGridCellDateTimeRenderer *) ptr;
1552 dest = (wxGridCellRenderer *) src;
1553 return (void *) dest;
1554}
1555
1556#define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1557static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1558 PyObject * _resultobj;
1559 wxGridCellDateTimeRenderer * _result;
1560 wxString * _arg0 = (wxString *) &"%c";
1561 wxString * _arg1 = (wxString *) &"%c";
1562 PyObject * _obj0 = 0;
1563 PyObject * _obj1 = 0;
1564 char *_kwnames[] = { "outformat","informat", NULL };
1565 char _ptemp[128];
1566
1567 self = self;
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1))
1569 return NULL;
1570 if (_obj0)
1571{
1572#if PYTHON_API_VERSION >= 1009
1573 char* tmpPtr; int tmpSize;
1574 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
1575 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1576 return NULL;
1577 }
1578 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1579 return NULL;
1580 _arg0 = new wxString(tmpPtr, tmpSize);
1581#else
1582 if (!PyString_Check(_obj0)) {
1583 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1584 return NULL;
1585 }
1586 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1587#endif
1588}
1589 if (_obj1)
1590{
1591#if PYTHON_API_VERSION >= 1009
1592 char* tmpPtr; int tmpSize;
1593 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1594 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1595 return NULL;
1596 }
1597 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1598 return NULL;
1599 _arg1 = new wxString(tmpPtr, tmpSize);
1600#else
1601 if (!PyString_Check(_obj1)) {
1602 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1603 return NULL;
1604 }
1605 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1606#endif
1607}
1608{
0e2ff151 1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1610 _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1);
1611
0e2ff151 1612 wxPyEndAllowThreads(__tstate);
e6056257
RD
1613 if (PyErr_Occurred()) return NULL;
1614} if (_result) {
1615 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p");
1616 _resultobj = Py_BuildValue("s",_ptemp);
1617 } else {
1618 Py_INCREF(Py_None);
1619 _resultobj = Py_None;
1620 }
1621{
1622 if (_obj0)
1623 delete _arg0;
1624}
1625{
1626 if (_obj1)
1627 delete _arg1;
1628}
1629 return _resultobj;
1630}
1631
1632static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) {
1633 wxGridCellEnumRenderer *src;
1634 wxGridCellStringRenderer *dest;
1635 src = (wxGridCellEnumRenderer *) ptr;
1636 dest = (wxGridCellStringRenderer *) src;
1637 return (void *) dest;
1638}
1639
1640static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) {
1641 wxGridCellEnumRenderer *src;
1642 wxGridCellRenderer *dest;
1643 src = (wxGridCellEnumRenderer *) ptr;
1644 dest = (wxGridCellRenderer *) src;
1645 return (void *) dest;
1646}
1647
1648#define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1649static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject * _resultobj;
1651 wxGridCellEnumRenderer * _result;
1652 wxString * _arg0 = (wxString *) &"";
1653 PyObject * _obj0 = 0;
1654 char *_kwnames[] = { "choices", NULL };
1655 char _ptemp[128];
1656
1657 self = self;
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0))
1659 return NULL;
1660 if (_obj0)
1661{
1662 _arg0 = wxString_LIST_helper(_obj0);
1663 if (_arg0 == NULL) {
1664 return NULL;
1665 }
1666}
1667{
0e2ff151 1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1669 _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0);
1670
0e2ff151 1671 wxPyEndAllowThreads(__tstate);
e6056257
RD
1672 if (PyErr_Occurred()) return NULL;
1673} if (_result) {
1674 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p");
1675 _resultobj = Py_BuildValue("s",_ptemp);
1676 } else {
1677 Py_INCREF(Py_None);
1678 _resultobj = Py_None;
1679 }
1680{
1681 delete [] _arg0;
1682}
1683 return _resultobj;
1684}
1685
1686static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) {
1687 wxGridCellAutoWrapStringRenderer *src;
1688 wxGridCellStringRenderer *dest;
1689 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1690 dest = (wxGridCellStringRenderer *) src;
1691 return (void *) dest;
1692}
1693
1694static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) {
1695 wxGridCellAutoWrapStringRenderer *src;
1696 wxGridCellRenderer *dest;
1697 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1698 dest = (wxGridCellRenderer *) src;
1699 return (void *) dest;
1700}
1701
1702#define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1703static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject * _resultobj;
1705 wxGridCellAutoWrapStringRenderer * _result;
1706 char *_kwnames[] = { NULL };
1707 char _ptemp[128];
1708
1709 self = self;
1710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames))
1711 return NULL;
1712{
0e2ff151 1713 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1714 _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer();
1715
0e2ff151 1716 wxPyEndAllowThreads(__tstate);
e6056257
RD
1717 if (PyErr_Occurred()) return NULL;
1718} if (_result) {
1719 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p");
1720 _resultobj = Py_BuildValue("s",_ptemp);
1721 } else {
1722 Py_INCREF(Py_None);
1723 _resultobj = Py_None;
1724 }
1725 return _resultobj;
1726}
1727
1728#define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1729static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject * _resultobj;
1731 bool _result;
1732 wxGridCellEditor * _arg0;
1733 PyObject * _argo0 = 0;
1734 char *_kwnames[] = { "self", NULL };
1735
1736 self = self;
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1738 return NULL;
1739 if (_argo0) {
1740 if (_argo0 == Py_None) { _arg0 = NULL; }
1741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1743 return NULL;
1744 }
1745 }
1746{
0e2ff151 1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1748 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1749
0e2ff151 1750 wxPyEndAllowThreads(__tstate);
e6056257
RD
1751 if (PyErr_Occurred()) return NULL;
1752} _resultobj = Py_BuildValue("i",_result);
1753 return _resultobj;
1754}
1755
1756#define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1757static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1758 PyObject * _resultobj;
1759 wxControl * _result;
1760 wxGridCellEditor * _arg0;
1761 PyObject * _argo0 = 0;
1762 char *_kwnames[] = { "self", NULL };
1763
1764 self = self;
1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1766 return NULL;
1767 if (_argo0) {
1768 if (_argo0 == Py_None) { _arg0 = NULL; }
1769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1771 return NULL;
1772 }
1773 }
1774{
0e2ff151 1775 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1776 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1777
0e2ff151 1778 wxPyEndAllowThreads(__tstate);
e6056257
RD
1779 if (PyErr_Occurred()) return NULL;
1780}{ _resultobj = wxPyMake_wxObject(_result); }
1781 return _resultobj;
1782}
1783
1784#define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1785static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject * _resultobj;
1787 wxGridCellEditor * _arg0;
1788 wxControl * _arg1;
1789 PyObject * _argo0 = 0;
1790 PyObject * _argo1 = 0;
1791 char *_kwnames[] = { "self","control", NULL };
1792
1793 self = self;
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1795 return NULL;
1796 if (_argo0) {
1797 if (_argo0 == Py_None) { _arg0 = NULL; }
1798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1800 return NULL;
1801 }
1802 }
1803 if (_argo1) {
1804 if (_argo1 == Py_None) { _arg1 = NULL; }
1805 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1806 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1807 return NULL;
1808 }
1809 }
1810{
0e2ff151 1811 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1812 wxGridCellEditor_SetControl(_arg0,_arg1);
1813
0e2ff151 1814 wxPyEndAllowThreads(__tstate);
e6056257
RD
1815 if (PyErr_Occurred()) return NULL;
1816} Py_INCREF(Py_None);
1817 _resultobj = Py_None;
1818 return _resultobj;
1819}
1820
1821#define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1822static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject * _resultobj;
1824 wxGridCellEditor * _arg0;
1825 wxString * _arg1;
1826 PyObject * _argo0 = 0;
1827 PyObject * _obj1 = 0;
1828 char *_kwnames[] = { "self","params", NULL };
1829
1830 self = self;
1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1832 return NULL;
1833 if (_argo0) {
1834 if (_argo0 == Py_None) { _arg0 = NULL; }
1835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1837 return NULL;
1838 }
1839 }
1840{
1841#if PYTHON_API_VERSION >= 1009
1842 char* tmpPtr; int tmpSize;
1843 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1844 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1845 return NULL;
1846 }
1847 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1848 return NULL;
1849 _arg1 = new wxString(tmpPtr, tmpSize);
1850#else
1851 if (!PyString_Check(_obj1)) {
1852 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1853 return NULL;
1854 }
1855 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1856#endif
1857}
1858{
0e2ff151 1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1860 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1861
0e2ff151 1862 wxPyEndAllowThreads(__tstate);
e6056257
RD
1863 if (PyErr_Occurred()) return NULL;
1864} Py_INCREF(Py_None);
1865 _resultobj = Py_None;
1866{
1867 if (_obj1)
1868 delete _arg1;
1869}
1870 return _resultobj;
1871}
1872
1873#define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1874static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1875 PyObject * _resultobj;
1876 wxGridCellEditor * _arg0;
1877 PyObject * _argo0 = 0;
1878 char *_kwnames[] = { "self", NULL };
1879
1880 self = self;
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1882 return NULL;
1883 if (_argo0) {
1884 if (_argo0 == Py_None) { _arg0 = NULL; }
1885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1887 return NULL;
1888 }
1889 }
1890{
0e2ff151 1891 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1892 wxGridCellEditor_IncRef(_arg0);
1893
0e2ff151 1894 wxPyEndAllowThreads(__tstate);
e6056257
RD
1895 if (PyErr_Occurred()) return NULL;
1896} Py_INCREF(Py_None);
1897 _resultobj = Py_None;
1898 return _resultobj;
1899}
1900
1901#define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1902static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1903 PyObject * _resultobj;
1904 wxGridCellEditor * _arg0;
1905 PyObject * _argo0 = 0;
1906 char *_kwnames[] = { "self", NULL };
1907
1908 self = self;
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1910 return NULL;
1911 if (_argo0) {
1912 if (_argo0 == Py_None) { _arg0 = NULL; }
1913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1915 return NULL;
1916 }
1917 }
1918{
0e2ff151 1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1920 wxGridCellEditor_DecRef(_arg0);
1921
0e2ff151 1922 wxPyEndAllowThreads(__tstate);
e6056257
RD
1923 if (PyErr_Occurred()) return NULL;
1924} Py_INCREF(Py_None);
1925 _resultobj = Py_None;
1926 return _resultobj;
1927}
1928
1929#define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1930static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1931 PyObject * _resultobj;
1932 wxGridCellEditor * _arg0;
1933 wxWindow * _arg1;
1934 wxWindowID _arg2;
1935 wxEvtHandler * _arg3;
1936 PyObject * _argo0 = 0;
1937 PyObject * _argo1 = 0;
1938 PyObject * _argo3 = 0;
1939 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1940
1941 self = self;
1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1943 return NULL;
1944 if (_argo0) {
1945 if (_argo0 == Py_None) { _arg0 = NULL; }
1946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1948 return NULL;
1949 }
1950 }
1951 if (_argo1) {
1952 if (_argo1 == Py_None) { _arg1 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1955 return NULL;
1956 }
1957 }
1958 if (_argo3) {
1959 if (_argo3 == Py_None) { _arg3 = NULL; }
1960 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1961 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1962 return NULL;
1963 }
1964 }
1965{
0e2ff151 1966 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
1967 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1968
0e2ff151 1969 wxPyEndAllowThreads(__tstate);
e6056257
RD
1970 if (PyErr_Occurred()) return NULL;
1971} Py_INCREF(Py_None);
1972 _resultobj = Py_None;
1973 return _resultobj;
1974}
1975
1976#define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1977static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject * _resultobj;
1979 wxGridCellEditor * _arg0;
1980 int _arg1;
1981 int _arg2;
1982 wxGrid * _arg3;
1983 PyObject * _argo0 = 0;
1984 PyObject * _argo3 = 0;
1985 char *_kwnames[] = { "self","row","col","grid", NULL };
1986
1987 self = self;
1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1989 return NULL;
1990 if (_argo0) {
1991 if (_argo0 == Py_None) { _arg0 = NULL; }
1992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1994 return NULL;
1995 }
1996 }
1997 if (_argo3) {
1998 if (_argo3 == Py_None) { _arg3 = NULL; }
1999 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2000 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2001 return NULL;
2002 }
2003 }
2004{
0e2ff151 2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2006 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
2007
0e2ff151 2008 wxPyEndAllowThreads(__tstate);
e6056257
RD
2009 if (PyErr_Occurred()) return NULL;
2010} Py_INCREF(Py_None);
2011 _resultobj = Py_None;
2012 return _resultobj;
2013}
2014
2015#define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2016static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject * _resultobj;
2018 bool _result;
2019 wxGridCellEditor * _arg0;
2020 int _arg1;
2021 int _arg2;
2022 wxGrid * _arg3;
2023 PyObject * _argo0 = 0;
2024 PyObject * _argo3 = 0;
2025 char *_kwnames[] = { "self","row","col","grid", NULL };
2026
2027 self = self;
2028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2029 return NULL;
2030 if (_argo0) {
2031 if (_argo0 == Py_None) { _arg0 = NULL; }
2032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2034 return NULL;
2035 }
2036 }
2037 if (_argo3) {
2038 if (_argo3 == Py_None) { _arg3 = NULL; }
2039 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2040 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2041 return NULL;
2042 }
2043 }
2044{
0e2ff151 2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2046 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
2047
0e2ff151 2048 wxPyEndAllowThreads(__tstate);
e6056257
RD
2049 if (PyErr_Occurred()) return NULL;
2050} _resultobj = Py_BuildValue("i",_result);
2051 return _resultobj;
2052}
2053
2054#define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2055static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2056 PyObject * _resultobj;
2057 wxGridCellEditor * _arg0;
2058 PyObject * _argo0 = 0;
2059 char *_kwnames[] = { "self", NULL };
2060
2061 self = self;
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
2063 return NULL;
2064 if (_argo0) {
2065 if (_argo0 == Py_None) { _arg0 = NULL; }
2066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2068 return NULL;
2069 }
2070 }
2071{
0e2ff151 2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2073 wxGridCellEditor_Reset(_arg0);
2074
0e2ff151 2075 wxPyEndAllowThreads(__tstate);
e6056257
RD
2076 if (PyErr_Occurred()) return NULL;
2077} Py_INCREF(Py_None);
2078 _resultobj = Py_None;
2079 return _resultobj;
2080}
2081
2082#define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2083static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2084 PyObject * _resultobj;
2085 wxGridCellEditor * _result;
2086 wxGridCellEditor * _arg0;
2087 PyObject * _argo0 = 0;
2088 char *_kwnames[] = { "self", NULL };
2089 char _ptemp[128];
2090
2091 self = self;
2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
2093 return NULL;
2094 if (_argo0) {
2095 if (_argo0 == Py_None) { _arg0 = NULL; }
2096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2098 return NULL;
2099 }
2100 }
2101{
0e2ff151 2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2103 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
2104
0e2ff151 2105 wxPyEndAllowThreads(__tstate);
e6056257
RD
2106 if (PyErr_Occurred()) return NULL;
2107} if (_result) {
2108 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
2109 _resultobj = Py_BuildValue("s",_ptemp);
2110 } else {
2111 Py_INCREF(Py_None);
2112 _resultobj = Py_None;
2113 }
2114 return _resultobj;
2115}
2116
2117#define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2118static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject * _resultobj;
2120 wxGridCellEditor * _arg0;
2121 wxRect * _arg1;
2122 PyObject * _argo0 = 0;
2123 wxRect temp;
2124 PyObject * _obj1 = 0;
2125 char *_kwnames[] = { "self","rect", NULL };
2126
2127 self = self;
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
2129 return NULL;
2130 if (_argo0) {
2131 if (_argo0 == Py_None) { _arg0 = NULL; }
2132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2134 return NULL;
2135 }
2136 }
2137{
2138 _arg1 = &temp;
2139 if (! wxRect_helper(_obj1, &_arg1))
2140 return NULL;
2141}
2142{
0e2ff151 2143 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2144 wxGridCellEditor_SetSize(_arg0,*_arg1);
2145
0e2ff151 2146 wxPyEndAllowThreads(__tstate);
e6056257
RD
2147 if (PyErr_Occurred()) return NULL;
2148} Py_INCREF(Py_None);
2149 _resultobj = Py_None;
2150 return _resultobj;
2151}
2152
2153#define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2154static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject * _resultobj;
2156 wxGridCellEditor * _arg0;
2157 bool _arg1;
2158 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2159 PyObject * _argo0 = 0;
2160 int tempbool1;
2161 PyObject * _argo2 = 0;
2162 char *_kwnames[] = { "self","show","attr", NULL };
2163
2164 self = self;
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2166 return NULL;
2167 if (_argo0) {
2168 if (_argo0 == Py_None) { _arg0 = NULL; }
2169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2171 return NULL;
2172 }
2173 }
2174 _arg1 = (bool ) tempbool1;
2175 if (_argo2) {
2176 if (_argo2 == Py_None) { _arg2 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2179 return NULL;
2180 }
2181 }
2182{
0e2ff151 2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2184 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
2185
0e2ff151 2186 wxPyEndAllowThreads(__tstate);
e6056257
RD
2187 if (PyErr_Occurred()) return NULL;
2188} Py_INCREF(Py_None);
2189 _resultobj = Py_None;
2190 return _resultobj;
2191}
2192
2193#define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2194static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2195 PyObject * _resultobj;
2196 wxGridCellEditor * _arg0;
2197 wxRect * _arg1;
2198 wxGridCellAttr * _arg2;
2199 PyObject * _argo0 = 0;
2200 wxRect temp;
2201 PyObject * _obj1 = 0;
2202 PyObject * _argo2 = 0;
2203 char *_kwnames[] = { "self","rectCell","attr", NULL };
2204
2205 self = self;
2206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2207 return NULL;
2208 if (_argo0) {
2209 if (_argo0 == Py_None) { _arg0 = NULL; }
2210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2212 return NULL;
2213 }
2214 }
2215{
2216 _arg1 = &temp;
2217 if (! wxRect_helper(_obj1, &_arg1))
2218 return NULL;
2219}
2220 if (_argo2) {
2221 if (_argo2 == Py_None) { _arg2 = NULL; }
2222 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2223 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2224 return NULL;
2225 }
2226 }
2227{
0e2ff151 2228 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2229 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2230
0e2ff151 2231 wxPyEndAllowThreads(__tstate);
e6056257
RD
2232 if (PyErr_Occurred()) return NULL;
2233} Py_INCREF(Py_None);
2234 _resultobj = Py_None;
2235 return _resultobj;
2236}
2237
2238#define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2239static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject * _resultobj;
2241 bool _result;
2242 wxGridCellEditor * _arg0;
2243 wxKeyEvent * _arg1;
2244 PyObject * _argo0 = 0;
2245 PyObject * _argo1 = 0;
2246 char *_kwnames[] = { "self","event", NULL };
2247
2248 self = self;
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2250 return NULL;
2251 if (_argo0) {
2252 if (_argo0 == Py_None) { _arg0 = NULL; }
2253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2255 return NULL;
2256 }
2257 }
2258 if (_argo1) {
2259 if (_argo1 == Py_None) { _arg1 = NULL; }
2260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2262 return NULL;
2263 }
2264 }
2265{
0e2ff151 2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2267 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2268
0e2ff151 2269 wxPyEndAllowThreads(__tstate);
e6056257
RD
2270 if (PyErr_Occurred()) return NULL;
2271} _resultobj = Py_BuildValue("i",_result);
2272 return _resultobj;
2273}
2274
2275#define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2276static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject * _resultobj;
2278 wxGridCellEditor * _arg0;
2279 wxKeyEvent * _arg1;
2280 PyObject * _argo0 = 0;
2281 PyObject * _argo1 = 0;
2282 char *_kwnames[] = { "self","event", NULL };
2283
2284 self = self;
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2286 return NULL;
2287 if (_argo0) {
2288 if (_argo0 == Py_None) { _arg0 = NULL; }
2289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2291 return NULL;
2292 }
2293 }
2294 if (_argo1) {
2295 if (_argo1 == Py_None) { _arg1 = NULL; }
2296 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2297 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2298 return NULL;
2299 }
2300 }
2301{
0e2ff151 2302 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2303 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2304
0e2ff151 2305 wxPyEndAllowThreads(__tstate);
e6056257
RD
2306 if (PyErr_Occurred()) return NULL;
2307} Py_INCREF(Py_None);
2308 _resultobj = Py_None;
2309 return _resultobj;
2310}
2311
2312#define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2313static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject * _resultobj;
2315 wxGridCellEditor * _arg0;
2316 PyObject * _argo0 = 0;
2317 char *_kwnames[] = { "self", NULL };
2318
2319 self = self;
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2321 return NULL;
2322 if (_argo0) {
2323 if (_argo0 == Py_None) { _arg0 = NULL; }
2324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2326 return NULL;
2327 }
2328 }
2329{
0e2ff151 2330 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2331 wxGridCellEditor_StartingClick(_arg0);
2332
0e2ff151 2333 wxPyEndAllowThreads(__tstate);
e6056257
RD
2334 if (PyErr_Occurred()) return NULL;
2335} Py_INCREF(Py_None);
2336 _resultobj = Py_None;
2337 return _resultobj;
2338}
2339
2340#define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2341static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject * _resultobj;
2343 wxGridCellEditor * _arg0;
2344 wxKeyEvent * _arg1;
2345 PyObject * _argo0 = 0;
2346 PyObject * _argo1 = 0;
2347 char *_kwnames[] = { "self","event", NULL };
2348
2349 self = self;
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2351 return NULL;
2352 if (_argo0) {
2353 if (_argo0 == Py_None) { _arg0 = NULL; }
2354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2356 return NULL;
2357 }
2358 }
2359 if (_argo1) {
2360 if (_argo1 == Py_None) { _arg1 = NULL; }
2361 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2362 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2363 return NULL;
2364 }
2365 }
2366{
0e2ff151 2367 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2368 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2369
0e2ff151 2370 wxPyEndAllowThreads(__tstate);
e6056257
RD
2371 if (PyErr_Occurred()) return NULL;
2372} Py_INCREF(Py_None);
2373 _resultobj = Py_None;
2374 return _resultobj;
2375}
2376
2377#define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2378static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject * _resultobj;
2380 wxGridCellEditor * _arg0;
2381 PyObject * _argo0 = 0;
2382 char *_kwnames[] = { "self", NULL };
2383
2384 self = self;
2385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2386 return NULL;
2387 if (_argo0) {
2388 if (_argo0 == Py_None) { _arg0 = NULL; }
2389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2391 return NULL;
2392 }
2393 }
2394{
0e2ff151 2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2396 wxGridCellEditor_Destroy(_arg0);
2397
0e2ff151 2398 wxPyEndAllowThreads(__tstate);
e6056257
RD
2399 if (PyErr_Occurred()) return NULL;
2400} Py_INCREF(Py_None);
2401 _resultobj = Py_None;
2402 return _resultobj;
2403}
2404
2405static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2406 wxPyGridCellEditor *src;
2407 wxGridCellEditor *dest;
2408 src = (wxPyGridCellEditor *) ptr;
2409 dest = (wxGridCellEditor *) src;
2410 return (void *) dest;
2411}
2412
2413#define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2414static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2415 PyObject * _resultobj;
2416 wxPyGridCellEditor * _result;
2417 char *_kwnames[] = { NULL };
2418 char _ptemp[128];
2419
2420 self = self;
2421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2422 return NULL;
2423{
0e2ff151 2424 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2425 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2426
0e2ff151 2427 wxPyEndAllowThreads(__tstate);
e6056257
RD
2428 if (PyErr_Occurred()) return NULL;
2429} if (_result) {
2430 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2431 _resultobj = Py_BuildValue("s",_ptemp);
2432 } else {
2433 Py_INCREF(Py_None);
2434 _resultobj = Py_None;
2435 }
2436 return _resultobj;
2437}
2438
2439#define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2440static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject * _resultobj;
2442 wxPyGridCellEditor * _arg0;
2443 PyObject * _arg1;
2444 PyObject * _arg2;
2445 PyObject * _argo0 = 0;
2446 PyObject * _obj1 = 0;
2447 PyObject * _obj2 = 0;
2448 char *_kwnames[] = { "self","self","_class", NULL };
2449
2450 self = self;
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2452 return NULL;
2453 if (_argo0) {
2454 if (_argo0 == Py_None) { _arg0 = NULL; }
2455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2457 return NULL;
2458 }
2459 }
2460{
2461 _arg1 = _obj1;
2462}
2463{
2464 _arg2 = _obj2;
2465}
2466{
0e2ff151 2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2468 wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2);
2469
0e2ff151 2470 wxPyEndAllowThreads(__tstate);
e6056257
RD
2471 if (PyErr_Occurred()) return NULL;
2472} Py_INCREF(Py_None);
2473 _resultobj = Py_None;
2474 return _resultobj;
2475}
2476
2477#define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2478static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2479 PyObject * _resultobj;
2480 wxPyGridCellEditor * _arg0;
2481 wxRect * _arg1;
2482 PyObject * _argo0 = 0;
2483 wxRect temp;
2484 PyObject * _obj1 = 0;
2485 char *_kwnames[] = { "self","rect", NULL };
2486
2487 self = self;
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2489 return NULL;
2490 if (_argo0) {
2491 if (_argo0 == Py_None) { _arg0 = NULL; }
2492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2494 return NULL;
2495 }
2496 }
2497{
2498 _arg1 = &temp;
2499 if (! wxRect_helper(_obj1, &_arg1))
2500 return NULL;
2501}
2502{
0e2ff151 2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2504 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2505
0e2ff151 2506 wxPyEndAllowThreads(__tstate);
e6056257
RD
2507 if (PyErr_Occurred()) return NULL;
2508} Py_INCREF(Py_None);
2509 _resultobj = Py_None;
2510 return _resultobj;
2511}
2512
2513#define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2514static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2515 PyObject * _resultobj;
2516 wxPyGridCellEditor * _arg0;
2517 bool _arg1;
2518 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2519 PyObject * _argo0 = 0;
2520 int tempbool1;
2521 PyObject * _argo2 = 0;
2522 char *_kwnames[] = { "self","show","attr", NULL };
2523
2524 self = self;
2525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2526 return NULL;
2527 if (_argo0) {
2528 if (_argo0 == Py_None) { _arg0 = NULL; }
2529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2531 return NULL;
2532 }
2533 }
2534 _arg1 = (bool ) tempbool1;
2535 if (_argo2) {
2536 if (_argo2 == Py_None) { _arg2 = NULL; }
2537 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2538 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2539 return NULL;
2540 }
2541 }
2542{
0e2ff151 2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2544 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2545
0e2ff151 2546 wxPyEndAllowThreads(__tstate);
e6056257
RD
2547 if (PyErr_Occurred()) return NULL;
2548} Py_INCREF(Py_None);
2549 _resultobj = Py_None;
2550 return _resultobj;
2551}
2552
2553#define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2554static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject * _resultobj;
2556 wxPyGridCellEditor * _arg0;
2557 wxRect * _arg1;
2558 wxGridCellAttr * _arg2;
2559 PyObject * _argo0 = 0;
2560 wxRect temp;
2561 PyObject * _obj1 = 0;
2562 PyObject * _argo2 = 0;
2563 char *_kwnames[] = { "self","rectCell","attr", NULL };
2564
2565 self = self;
2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2567 return NULL;
2568 if (_argo0) {
2569 if (_argo0 == Py_None) { _arg0 = NULL; }
2570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2572 return NULL;
2573 }
2574 }
2575{
2576 _arg1 = &temp;
2577 if (! wxRect_helper(_obj1, &_arg1))
2578 return NULL;
2579}
2580 if (_argo2) {
2581 if (_argo2 == Py_None) { _arg2 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2584 return NULL;
2585 }
2586 }
2587{
0e2ff151 2588 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2589 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2590
0e2ff151 2591 wxPyEndAllowThreads(__tstate);
e6056257
RD
2592 if (PyErr_Occurred()) return NULL;
2593} Py_INCREF(Py_None);
2594 _resultobj = Py_None;
2595 return _resultobj;
2596}
2597
2598#define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2599static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2600 PyObject * _resultobj;
2601 wxPyGridCellEditor * _arg0;
2602 wxKeyEvent * _arg1;
2603 PyObject * _argo0 = 0;
2604 PyObject * _argo1 = 0;
2605 char *_kwnames[] = { "self","event", NULL };
2606
2607 self = self;
2608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2609 return NULL;
2610 if (_argo0) {
2611 if (_argo0 == Py_None) { _arg0 = NULL; }
2612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2614 return NULL;
2615 }
2616 }
2617 if (_argo1) {
2618 if (_argo1 == Py_None) { _arg1 = NULL; }
2619 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2620 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2621 return NULL;
2622 }
2623 }
2624{
0e2ff151 2625 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2626 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2627
0e2ff151 2628 wxPyEndAllowThreads(__tstate);
e6056257
RD
2629 if (PyErr_Occurred()) return NULL;
2630} Py_INCREF(Py_None);
2631 _resultobj = Py_None;
2632 return _resultobj;
2633}
2634
2635#define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2636static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject * _resultobj;
2638 wxPyGridCellEditor * _arg0;
2639 wxKeyEvent * _arg1;
2640 PyObject * _argo0 = 0;
2641 PyObject * _argo1 = 0;
2642 char *_kwnames[] = { "self","event", NULL };
2643
2644 self = self;
2645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2646 return NULL;
2647 if (_argo0) {
2648 if (_argo0 == Py_None) { _arg0 = NULL; }
2649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2651 return NULL;
2652 }
2653 }
2654 if (_argo1) {
2655 if (_argo1 == Py_None) { _arg1 = NULL; }
2656 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2658 return NULL;
2659 }
2660 }
2661{
0e2ff151 2662 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2663 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2664
0e2ff151 2665 wxPyEndAllowThreads(__tstate);
e6056257
RD
2666 if (PyErr_Occurred()) return NULL;
2667} Py_INCREF(Py_None);
2668 _resultobj = Py_None;
2669 return _resultobj;
2670}
2671
2672#define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2673static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject * _resultobj;
2675 wxPyGridCellEditor * _arg0;
2676 PyObject * _argo0 = 0;
2677 char *_kwnames[] = { "self", NULL };
2678
2679 self = self;
2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2681 return NULL;
2682 if (_argo0) {
2683 if (_argo0 == Py_None) { _arg0 = NULL; }
2684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2686 return NULL;
2687 }
2688 }
2689{
0e2ff151 2690 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2691 wxPyGridCellEditor_base_StartingClick(_arg0);
2692
0e2ff151 2693 wxPyEndAllowThreads(__tstate);
e6056257
RD
2694 if (PyErr_Occurred()) return NULL;
2695} Py_INCREF(Py_None);
2696 _resultobj = Py_None;
2697 return _resultobj;
2698}
2699
2700#define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2701static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2702 PyObject * _resultobj;
2703 wxPyGridCellEditor * _arg0;
2704 wxKeyEvent * _arg1;
2705 PyObject * _argo0 = 0;
2706 PyObject * _argo1 = 0;
2707 char *_kwnames[] = { "self","event", NULL };
2708
2709 self = self;
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2711 return NULL;
2712 if (_argo0) {
2713 if (_argo0 == Py_None) { _arg0 = NULL; }
2714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2716 return NULL;
2717 }
2718 }
2719 if (_argo1) {
2720 if (_argo1 == Py_None) { _arg1 = NULL; }
2721 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2722 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2723 return NULL;
2724 }
2725 }
2726{
0e2ff151 2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2728 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2729
0e2ff151 2730 wxPyEndAllowThreads(__tstate);
e6056257
RD
2731 if (PyErr_Occurred()) return NULL;
2732} Py_INCREF(Py_None);
2733 _resultobj = Py_None;
2734 return _resultobj;
2735}
2736
2737#define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2738static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2739 PyObject * _resultobj;
2740 wxPyGridCellEditor * _arg0;
2741 PyObject * _argo0 = 0;
2742 char *_kwnames[] = { "self", NULL };
2743
2744 self = self;
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2746 return NULL;
2747 if (_argo0) {
2748 if (_argo0 == Py_None) { _arg0 = NULL; }
2749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2751 return NULL;
2752 }
2753 }
2754{
0e2ff151 2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2756 wxPyGridCellEditor_base_Destroy(_arg0);
2757
0e2ff151 2758 wxPyEndAllowThreads(__tstate);
e6056257
RD
2759 if (PyErr_Occurred()) return NULL;
2760} Py_INCREF(Py_None);
2761 _resultobj = Py_None;
2762 return _resultobj;
2763}
2764
2765#define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2766static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2767 PyObject * _resultobj;
2768 wxPyGridCellEditor * _arg0;
2769 wxString * _arg1;
2770 PyObject * _argo0 = 0;
2771 PyObject * _obj1 = 0;
2772 char *_kwnames[] = { "self","params", NULL };
2773
2774 self = self;
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2776 return NULL;
2777 if (_argo0) {
2778 if (_argo0 == Py_None) { _arg0 = NULL; }
2779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2781 return NULL;
2782 }
2783 }
2784{
2785#if PYTHON_API_VERSION >= 1009
2786 char* tmpPtr; int tmpSize;
2787 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2788 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2789 return NULL;
2790 }
2791 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2792 return NULL;
2793 _arg1 = new wxString(tmpPtr, tmpSize);
2794#else
2795 if (!PyString_Check(_obj1)) {
2796 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2797 return NULL;
2798 }
2799 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2800#endif
2801}
2802{
0e2ff151 2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2804 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2805
0e2ff151 2806 wxPyEndAllowThreads(__tstate);
e6056257
RD
2807 if (PyErr_Occurred()) return NULL;
2808} Py_INCREF(Py_None);
2809 _resultobj = Py_None;
2810{
2811 if (_obj1)
2812 delete _arg1;
2813}
2814 return _resultobj;
2815}
2816
2817static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2818 wxGridCellTextEditor *src;
2819 wxGridCellEditor *dest;
2820 src = (wxGridCellTextEditor *) ptr;
2821 dest = (wxGridCellEditor *) src;
2822 return (void *) dest;
2823}
2824
2825#define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2826static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject * _resultobj;
2828 wxGridCellTextEditor * _result;
2829 char *_kwnames[] = { NULL };
2830 char _ptemp[128];
2831
2832 self = self;
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2834 return NULL;
2835{
0e2ff151 2836 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2837 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2838
0e2ff151 2839 wxPyEndAllowThreads(__tstate);
e6056257
RD
2840 if (PyErr_Occurred()) return NULL;
2841} if (_result) {
2842 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2843 _resultobj = Py_BuildValue("s",_ptemp);
2844 } else {
2845 Py_INCREF(Py_None);
2846 _resultobj = Py_None;
2847 }
2848 return _resultobj;
2849}
2850
2851static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2852 wxGridCellNumberEditor *src;
2853 wxGridCellTextEditor *dest;
2854 src = (wxGridCellNumberEditor *) ptr;
2855 dest = (wxGridCellTextEditor *) src;
2856 return (void *) dest;
2857}
2858
2859static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2860 wxGridCellNumberEditor *src;
2861 wxGridCellEditor *dest;
2862 src = (wxGridCellNumberEditor *) ptr;
2863 dest = (wxGridCellEditor *) src;
2864 return (void *) dest;
2865}
2866
2867#define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2868static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject * _resultobj;
2870 wxGridCellNumberEditor * _result;
2871 int _arg0 = (int ) -1;
2872 int _arg1 = (int ) -1;
2873 char *_kwnames[] = { "min","max", NULL };
2874 char _ptemp[128];
2875
2876 self = self;
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2878 return NULL;
2879{
0e2ff151 2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2881 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2882
0e2ff151 2883 wxPyEndAllowThreads(__tstate);
e6056257
RD
2884 if (PyErr_Occurred()) return NULL;
2885} if (_result) {
2886 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2887 _resultobj = Py_BuildValue("s",_ptemp);
2888 } else {
2889 Py_INCREF(Py_None);
2890 _resultobj = Py_None;
2891 }
2892 return _resultobj;
2893}
2894
2895static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2896 wxGridCellFloatEditor *src;
2897 wxGridCellTextEditor *dest;
2898 src = (wxGridCellFloatEditor *) ptr;
2899 dest = (wxGridCellTextEditor *) src;
2900 return (void *) dest;
2901}
2902
2903static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2904 wxGridCellFloatEditor *src;
2905 wxGridCellEditor *dest;
2906 src = (wxGridCellFloatEditor *) ptr;
2907 dest = (wxGridCellEditor *) src;
2908 return (void *) dest;
2909}
2910
2911#define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2912static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2913 PyObject * _resultobj;
2914 wxGridCellFloatEditor * _result;
2915 char *_kwnames[] = { NULL };
2916 char _ptemp[128];
2917
2918 self = self;
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2920 return NULL;
2921{
0e2ff151 2922 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2923 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2924
0e2ff151 2925 wxPyEndAllowThreads(__tstate);
e6056257
RD
2926 if (PyErr_Occurred()) return NULL;
2927} if (_result) {
2928 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2929 _resultobj = Py_BuildValue("s",_ptemp);
2930 } else {
2931 Py_INCREF(Py_None);
2932 _resultobj = Py_None;
2933 }
2934 return _resultobj;
2935}
2936
2937static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2938 wxGridCellBoolEditor *src;
2939 wxGridCellEditor *dest;
2940 src = (wxGridCellBoolEditor *) ptr;
2941 dest = (wxGridCellEditor *) src;
2942 return (void *) dest;
2943}
2944
2945#define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2946static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2947 PyObject * _resultobj;
2948 wxGridCellBoolEditor * _result;
2949 char *_kwnames[] = { NULL };
2950 char _ptemp[128];
2951
2952 self = self;
2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2954 return NULL;
2955{
0e2ff151 2956 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
2957 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2958
0e2ff151 2959 wxPyEndAllowThreads(__tstate);
e6056257
RD
2960 if (PyErr_Occurred()) return NULL;
2961} if (_result) {
2962 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2963 _resultobj = Py_BuildValue("s",_ptemp);
2964 } else {
2965 Py_INCREF(Py_None);
2966 _resultobj = Py_None;
2967 }
2968 return _resultobj;
2969}
2970
2971static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2972 wxGridCellChoiceEditor *src;
2973 wxGridCellEditor *dest;
2974 src = (wxGridCellChoiceEditor *) ptr;
2975 dest = (wxGridCellEditor *) src;
2976 return (void *) dest;
2977}
2978
2979#define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2980static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject * _resultobj;
2982 wxGridCellChoiceEditor * _result;
2983 int _arg0 = (int ) 0;
2984 wxString * _arg1 = (wxString *) NULL;
2985 bool _arg2 = (bool ) FALSE;
2986 PyObject * _obj1 = 0;
2987 int tempbool2 = (int) FALSE;
2988 char *_kwnames[] = { "choices","allowOthers", NULL };
2989 char _ptemp[128];
2990
2991 self = self;
2992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2993 return NULL;
2994 if (_obj1)
2995{
2996 _arg1 = wxString_LIST_helper(_obj1);
2997 if (_arg1 == NULL) {
2998 return NULL;
2999 }
3000}
3001 _arg2 = (bool ) tempbool2;
3002{
3003 if (_obj1) {
3004 _arg0 = PyList_Size(_obj1);
3005 }
3006 else {
3007 _arg0 = 0;
3008 }
3009}
3010{
0e2ff151 3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3012 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
3013
0e2ff151 3014 wxPyEndAllowThreads(__tstate);
e6056257
RD
3015 if (PyErr_Occurred()) return NULL;
3016} if (_result) {
3017 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
3018 _resultobj = Py_BuildValue("s",_ptemp);
3019 } else {
3020 Py_INCREF(Py_None);
3021 _resultobj = Py_None;
3022 }
3023{
3024 delete [] _arg1;
3025}
3026 return _resultobj;
3027}
3028
3029static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) {
3030 wxGridCellEnumEditor *src;
3031 wxGridCellChoiceEditor *dest;
3032 src = (wxGridCellEnumEditor *) ptr;
3033 dest = (wxGridCellChoiceEditor *) src;
3034 return (void *) dest;
3035}
3036
3037static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) {
3038 wxGridCellEnumEditor *src;
3039 wxGridCellEditor *dest;
3040 src = (wxGridCellEnumEditor *) ptr;
3041 dest = (wxGridCellEditor *) src;
3042 return (void *) dest;
3043}
3044
3045#define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3046static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3047 PyObject * _resultobj;
3048 wxGridCellEnumEditor * _result;
3049 wxString * _arg0 = (wxString *) &"";
3050 PyObject * _obj0 = 0;
3051 char *_kwnames[] = { "choices", NULL };
3052 char _ptemp[128];
3053
3054 self = self;
3055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0))
3056 return NULL;
3057 if (_obj0)
3058{
3059 _arg0 = wxString_LIST_helper(_obj0);
3060 if (_arg0 == NULL) {
3061 return NULL;
3062 }
3063}
3064{
0e2ff151 3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3066 _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0);
3067
0e2ff151 3068 wxPyEndAllowThreads(__tstate);
e6056257
RD
3069 if (PyErr_Occurred()) return NULL;
3070} if (_result) {
3071 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p");
3072 _resultobj = Py_BuildValue("s",_ptemp);
3073 } else {
3074 Py_INCREF(Py_None);
3075 _resultobj = Py_None;
3076 }
3077{
3078 delete [] _arg0;
3079}
3080 return _resultobj;
3081}
3082
3083static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) {
3084 wxGridCellAutoWrapStringEditor *src;
3085 wxGridCellTextEditor *dest;
3086 src = (wxGridCellAutoWrapStringEditor *) ptr;
3087 dest = (wxGridCellTextEditor *) src;
3088 return (void *) dest;
3089}
3090
3091static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) {
3092 wxGridCellAutoWrapStringEditor *src;
3093 wxGridCellEditor *dest;
3094 src = (wxGridCellAutoWrapStringEditor *) ptr;
3095 dest = (wxGridCellEditor *) src;
3096 return (void *) dest;
3097}
3098
3099#define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3100static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3101 PyObject * _resultobj;
3102 wxGridCellAutoWrapStringEditor * _result;
3103 char *_kwnames[] = { NULL };
3104 char _ptemp[128];
3105
3106 self = self;
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames))
3108 return NULL;
3109{
0e2ff151 3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3111 _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor();
3112
0e2ff151 3113 wxPyEndAllowThreads(__tstate);
e6056257
RD
3114 if (PyErr_Occurred()) return NULL;
3115} if (_result) {
3116 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p");
3117 _resultobj = Py_BuildValue("s",_ptemp);
3118 } else {
3119 Py_INCREF(Py_None);
3120 _resultobj = Py_None;
3121 }
3122 return _resultobj;
3123}
3124
6abe8375 3125#define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
e6056257
RD
3126static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3127 PyObject * _resultobj;
3128 wxGridCellAttr * _result;
6abe8375
RD
3129 wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL;
3130 PyObject * _argo0 = 0;
3131 char *_kwnames[] = { "attrDefault", NULL };
e6056257
RD
3132 char _ptemp[128];
3133
3134 self = self;
6abe8375 3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0))
e6056257 3136 return NULL;
6abe8375
RD
3137 if (_argo0) {
3138 if (_argo0 == Py_None) { _arg0 = NULL; }
3139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3141 return NULL;
3142 }
3143 }
e6056257 3144{
0e2ff151 3145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6abe8375 3146 _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0);
e6056257 3147
0e2ff151 3148 wxPyEndAllowThreads(__tstate);
e6056257
RD
3149 if (PyErr_Occurred()) return NULL;
3150} if (_result) {
3151 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3152 _resultobj = Py_BuildValue("s",_ptemp);
3153 } else {
3154 Py_INCREF(Py_None);
3155 _resultobj = Py_None;
3156 }
3157 return _resultobj;
3158}
3159
3160#define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3161static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3162 PyObject * _resultobj;
3163 wxGridCellAttr * _result;
3164 wxGridCellAttr * _arg0;
3165 PyObject * _argo0 = 0;
3166 char *_kwnames[] = { "self", NULL };
3167 char _ptemp[128];
3168
3169 self = self;
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
3171 return NULL;
3172 if (_argo0) {
3173 if (_argo0 == Py_None) { _arg0 = NULL; }
3174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3176 return NULL;
3177 }
3178 }
3179{
0e2ff151 3180 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3181 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
3182
0e2ff151 3183 wxPyEndAllowThreads(__tstate);
e6056257
RD
3184 if (PyErr_Occurred()) return NULL;
3185} if (_result) {
3186 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3187 _resultobj = Py_BuildValue("s",_ptemp);
3188 } else {
3189 Py_INCREF(Py_None);
3190 _resultobj = Py_None;
3191 }
3192 return _resultobj;
3193}
3194
3195#define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3196static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3197 PyObject * _resultobj;
3198 wxGridCellAttr * _arg0;
3199 wxGridCellAttr * _arg1;
3200 PyObject * _argo0 = 0;
3201 PyObject * _argo1 = 0;
3202 char *_kwnames[] = { "self","mergefrom", NULL };
3203
3204 self = self;
3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
3206 return NULL;
3207 if (_argo0) {
3208 if (_argo0 == Py_None) { _arg0 = NULL; }
3209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3211 return NULL;
3212 }
3213 }
3214 if (_argo1) {
3215 if (_argo1 == Py_None) { _arg1 = NULL; }
3216 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3218 return NULL;
3219 }
3220 }
3221{
0e2ff151 3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3223 wxGridCellAttr_MergeWith(_arg0,_arg1);
3224
0e2ff151 3225 wxPyEndAllowThreads(__tstate);
e6056257
RD
3226 if (PyErr_Occurred()) return NULL;
3227} Py_INCREF(Py_None);
3228 _resultobj = Py_None;
3229 return _resultobj;
3230}
3231
3232#define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3233static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3234 PyObject * _resultobj;
3235 wxGridCellAttr * _arg0;
3236 PyObject * _argo0 = 0;
3237 char *_kwnames[] = { "self", NULL };
3238
3239 self = self;
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
3241 return NULL;
3242 if (_argo0) {
3243 if (_argo0 == Py_None) { _arg0 = NULL; }
3244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3246 return NULL;
3247 }
3248 }
3249{
0e2ff151 3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3251 wxGridCellAttr_IncRef(_arg0);
3252
0e2ff151 3253 wxPyEndAllowThreads(__tstate);
e6056257
RD
3254 if (PyErr_Occurred()) return NULL;
3255} Py_INCREF(Py_None);
3256 _resultobj = Py_None;
3257 return _resultobj;
3258}
3259
3260#define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3261static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3262 PyObject * _resultobj;
3263 wxGridCellAttr * _arg0;
3264 PyObject * _argo0 = 0;
3265 char *_kwnames[] = { "self", NULL };
3266
3267 self = self;
3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
3269 return NULL;
3270 if (_argo0) {
3271 if (_argo0 == Py_None) { _arg0 = NULL; }
3272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3274 return NULL;
3275 }
3276 }
3277{
0e2ff151 3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3279 wxGridCellAttr_DecRef(_arg0);
3280
0e2ff151 3281 wxPyEndAllowThreads(__tstate);
e6056257
RD
3282 if (PyErr_Occurred()) return NULL;
3283} Py_INCREF(Py_None);
3284 _resultobj = Py_None;
3285 return _resultobj;
3286}
3287
3288#define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3289static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3290 PyObject * _resultobj;
3291 wxGridCellAttr * _arg0;
3292 wxColour * _arg1;
3293 PyObject * _argo0 = 0;
3294 wxColour temp;
3295 PyObject * _obj1 = 0;
3296 char *_kwnames[] = { "self","colText", NULL };
3297
3298 self = self;
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
3300 return NULL;
3301 if (_argo0) {
3302 if (_argo0 == Py_None) { _arg0 = NULL; }
3303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3305 return NULL;
3306 }
3307 }
3308{
3309 _arg1 = &temp;
3310 if (! wxColour_helper(_obj1, &_arg1))
3311 return NULL;
3312}
3313{
0e2ff151 3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3315 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
3316
0e2ff151 3317 wxPyEndAllowThreads(__tstate);
e6056257
RD
3318 if (PyErr_Occurred()) return NULL;
3319} Py_INCREF(Py_None);
3320 _resultobj = Py_None;
3321 return _resultobj;
3322}
3323
3324#define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3325static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3326 PyObject * _resultobj;
3327 wxGridCellAttr * _arg0;
3328 wxColour * _arg1;
3329 PyObject * _argo0 = 0;
3330 wxColour temp;
3331 PyObject * _obj1 = 0;
3332 char *_kwnames[] = { "self","colBack", NULL };
3333
3334 self = self;
3335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3336 return NULL;
3337 if (_argo0) {
3338 if (_argo0 == Py_None) { _arg0 = NULL; }
3339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3341 return NULL;
3342 }
3343 }
3344{
3345 _arg1 = &temp;
3346 if (! wxColour_helper(_obj1, &_arg1))
3347 return NULL;
3348}
3349{
0e2ff151 3350 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3351 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3352
0e2ff151 3353 wxPyEndAllowThreads(__tstate);
e6056257
RD
3354 if (PyErr_Occurred()) return NULL;
3355} Py_INCREF(Py_None);
3356 _resultobj = Py_None;
3357 return _resultobj;
3358}
3359
3360#define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3361static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3362 PyObject * _resultobj;
3363 wxGridCellAttr * _arg0;
3364 wxFont * _arg1;
3365 PyObject * _argo0 = 0;
3366 PyObject * _argo1 = 0;
3367 char *_kwnames[] = { "self","font", NULL };
3368
3369 self = self;
3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3371 return NULL;
3372 if (_argo0) {
3373 if (_argo0 == Py_None) { _arg0 = NULL; }
3374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3376 return NULL;
3377 }
3378 }
3379 if (_argo1) {
3380 if (_argo1 == Py_None) { _arg1 = NULL; }
3381 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3382 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3383 return NULL;
3384 }
3385 }
3386{
0e2ff151 3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3388 wxGridCellAttr_SetFont(_arg0,*_arg1);
3389
0e2ff151 3390 wxPyEndAllowThreads(__tstate);
e6056257
RD
3391 if (PyErr_Occurred()) return NULL;
3392} Py_INCREF(Py_None);
3393 _resultobj = Py_None;
3394 return _resultobj;
3395}
3396
3397#define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3398static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject * _resultobj;
3400 wxGridCellAttr * _arg0;
3401 int _arg1;
3402 int _arg2;
3403 PyObject * _argo0 = 0;
3404 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3405
3406 self = self;
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3408 return NULL;
3409 if (_argo0) {
3410 if (_argo0 == Py_None) { _arg0 = NULL; }
3411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3413 return NULL;
3414 }
3415 }
3416{
0e2ff151 3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3418 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3419
0e2ff151 3420 wxPyEndAllowThreads(__tstate);
e6056257
RD
3421 if (PyErr_Occurred()) return NULL;
3422} Py_INCREF(Py_None);
3423 _resultobj = Py_None;
3424 return _resultobj;
3425}
3426
3427#define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3428static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject * _resultobj;
3430 wxGridCellAttr * _arg0;
3431 bool _arg1 = (bool ) TRUE;
3432 PyObject * _argo0 = 0;
3433 int tempbool1 = (int) TRUE;
3434 char *_kwnames[] = { "self","isReadOnly", NULL };
3435
3436 self = self;
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3438 return NULL;
3439 if (_argo0) {
3440 if (_argo0 == Py_None) { _arg0 = NULL; }
3441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3443 return NULL;
3444 }
3445 }
3446 _arg1 = (bool ) tempbool1;
3447{
0e2ff151 3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3449 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3450
0e2ff151 3451 wxPyEndAllowThreads(__tstate);
e6056257
RD
3452 if (PyErr_Occurred()) return NULL;
3453} Py_INCREF(Py_None);
3454 _resultobj = Py_None;
3455 return _resultobj;
3456}
3457
3458#define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3459static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3460 PyObject * _resultobj;
3461 wxGridCellAttr * _arg0;
3462 wxGridCellRenderer * _arg1;
3463 PyObject * _argo0 = 0;
3464 PyObject * _argo1 = 0;
3465 char *_kwnames[] = { "self","renderer", NULL };
3466
3467 self = self;
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3469 return NULL;
3470 if (_argo0) {
3471 if (_argo0 == Py_None) { _arg0 = NULL; }
3472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3474 return NULL;
3475 }
3476 }
3477 if (_argo1) {
3478 if (_argo1 == Py_None) { _arg1 = NULL; }
3479 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3480 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3481 return NULL;
3482 }
3483 }
3484{
0e2ff151 3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3486 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3487
0e2ff151 3488 wxPyEndAllowThreads(__tstate);
e6056257
RD
3489 if (PyErr_Occurred()) return NULL;
3490} Py_INCREF(Py_None);
3491 _resultobj = Py_None;
3492 return _resultobj;
3493}
3494
3495#define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3496static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3497 PyObject * _resultobj;
3498 wxGridCellAttr * _arg0;
3499 wxGridCellEditor * _arg1;
3500 PyObject * _argo0 = 0;
3501 PyObject * _argo1 = 0;
3502 char *_kwnames[] = { "self","editor", NULL };
3503
3504 self = self;
3505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3506 return NULL;
3507 if (_argo0) {
3508 if (_argo0 == Py_None) { _arg0 = NULL; }
3509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3511 return NULL;
3512 }
3513 }
3514 if (_argo1) {
3515 if (_argo1 == Py_None) { _arg1 = NULL; }
3516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3518 return NULL;
3519 }
3520 }
3521{
0e2ff151 3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3523 wxGridCellAttr_SetEditor(_arg0,_arg1);
3524
0e2ff151 3525 wxPyEndAllowThreads(__tstate);
e6056257
RD
3526 if (PyErr_Occurred()) return NULL;
3527} Py_INCREF(Py_None);
3528 _resultobj = Py_None;
3529 return _resultobj;
3530}
3531
3532#define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3533static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3534 PyObject * _resultobj;
3535 wxGridCellAttr * _arg0;
3536 wxGridCellAttr::wxAttrKind _arg1;
3537 PyObject * _argo0 = 0;
3538 char *_kwnames[] = { "self","kind", NULL };
3539
3540 self = self;
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3542 return NULL;
3543 if (_argo0) {
3544 if (_argo0 == Py_None) { _arg0 = NULL; }
3545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3547 return NULL;
3548 }
3549 }
3550{
0e2ff151 3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3552 wxGridCellAttr_SetKind(_arg0,_arg1);
3553
0e2ff151 3554 wxPyEndAllowThreads(__tstate);
e6056257
RD
3555 if (PyErr_Occurred()) return NULL;
3556} Py_INCREF(Py_None);
3557 _resultobj = Py_None;
3558 return _resultobj;
3559}
3560
3561#define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3562static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject * _resultobj;
3564 bool _result;
3565 wxGridCellAttr * _arg0;
3566 PyObject * _argo0 = 0;
3567 char *_kwnames[] = { "self", NULL };
3568
3569 self = self;
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3571 return NULL;
3572 if (_argo0) {
3573 if (_argo0 == Py_None) { _arg0 = NULL; }
3574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3576 return NULL;
3577 }
3578 }
3579{
0e2ff151 3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3581 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3582
0e2ff151 3583 wxPyEndAllowThreads(__tstate);
e6056257
RD
3584 if (PyErr_Occurred()) return NULL;
3585} _resultobj = Py_BuildValue("i",_result);
3586 return _resultobj;
3587}
3588
3589#define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3590static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3591 PyObject * _resultobj;
3592 bool _result;
3593 wxGridCellAttr * _arg0;
3594 PyObject * _argo0 = 0;
3595 char *_kwnames[] = { "self", NULL };
3596
3597 self = self;
3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3599 return NULL;
3600 if (_argo0) {
3601 if (_argo0 == Py_None) { _arg0 = NULL; }
3602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3604 return NULL;
3605 }
3606 }
3607{
0e2ff151 3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3609 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3610
0e2ff151 3611 wxPyEndAllowThreads(__tstate);
e6056257
RD
3612 if (PyErr_Occurred()) return NULL;
3613} _resultobj = Py_BuildValue("i",_result);
3614 return _resultobj;
3615}
3616
3617#define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3618static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3619 PyObject * _resultobj;
3620 bool _result;
3621 wxGridCellAttr * _arg0;
3622 PyObject * _argo0 = 0;
3623 char *_kwnames[] = { "self", NULL };
3624
3625 self = self;
3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3627 return NULL;
3628 if (_argo0) {
3629 if (_argo0 == Py_None) { _arg0 = NULL; }
3630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3632 return NULL;
3633 }
3634 }
3635{
0e2ff151 3636 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3637 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3638
0e2ff151 3639 wxPyEndAllowThreads(__tstate);
e6056257
RD
3640 if (PyErr_Occurred()) return NULL;
3641} _resultobj = Py_BuildValue("i",_result);
3642 return _resultobj;
3643}
3644
3645#define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3646static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3647 PyObject * _resultobj;
3648 bool _result;
3649 wxGridCellAttr * _arg0;
3650 PyObject * _argo0 = 0;
3651 char *_kwnames[] = { "self", NULL };
3652
3653 self = self;
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3655 return NULL;
3656 if (_argo0) {
3657 if (_argo0 == Py_None) { _arg0 = NULL; }
3658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3660 return NULL;
3661 }
3662 }
3663{
0e2ff151 3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3665 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3666
0e2ff151 3667 wxPyEndAllowThreads(__tstate);
e6056257
RD
3668 if (PyErr_Occurred()) return NULL;
3669} _resultobj = Py_BuildValue("i",_result);
3670 return _resultobj;
3671}
3672
3673#define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3674static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject * _resultobj;
3676 bool _result;
3677 wxGridCellAttr * _arg0;
3678 PyObject * _argo0 = 0;
3679 char *_kwnames[] = { "self", NULL };
3680
3681 self = self;
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3683 return NULL;
3684 if (_argo0) {
3685 if (_argo0 == Py_None) { _arg0 = NULL; }
3686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3688 return NULL;
3689 }
3690 }
3691{
0e2ff151 3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3693 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3694
0e2ff151 3695 wxPyEndAllowThreads(__tstate);
e6056257
RD
3696 if (PyErr_Occurred()) return NULL;
3697} _resultobj = Py_BuildValue("i",_result);
3698 return _resultobj;
3699}
3700
3701#define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3702static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3703 PyObject * _resultobj;
3704 bool _result;
3705 wxGridCellAttr * _arg0;
3706 PyObject * _argo0 = 0;
3707 char *_kwnames[] = { "self", NULL };
3708
3709 self = self;
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3711 return NULL;
3712 if (_argo0) {
3713 if (_argo0 == Py_None) { _arg0 = NULL; }
3714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3716 return NULL;
3717 }
3718 }
3719{
0e2ff151 3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3721 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3722
0e2ff151 3723 wxPyEndAllowThreads(__tstate);
e6056257
RD
3724 if (PyErr_Occurred()) return NULL;
3725} _resultobj = Py_BuildValue("i",_result);
3726 return _resultobj;
3727}
3728
3729#define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3730static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject * _resultobj;
3732 bool _result;
3733 wxGridCellAttr * _arg0;
3734 PyObject * _argo0 = 0;
3735 char *_kwnames[] = { "self", NULL };
3736
3737 self = self;
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3739 return NULL;
3740 if (_argo0) {
3741 if (_argo0 == Py_None) { _arg0 = NULL; }
3742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3744 return NULL;
3745 }
3746 }
3747{
0e2ff151 3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3749 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
3750
0e2ff151 3751 wxPyEndAllowThreads(__tstate);
e6056257
RD
3752 if (PyErr_Occurred()) return NULL;
3753} _resultobj = Py_BuildValue("i",_result);
3754 return _resultobj;
3755}
3756
3757#define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3758static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject * _resultobj;
3760 wxColour * _result;
3761 wxGridCellAttr * _arg0;
3762 PyObject * _argo0 = 0;
3763 char *_kwnames[] = { "self", NULL };
3764 char _ptemp[128];
3765
3766 self = self;
3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3768 return NULL;
3769 if (_argo0) {
3770 if (_argo0 == Py_None) { _arg0 = NULL; }
3771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3773 return NULL;
3774 }
3775 }
3776{
0e2ff151 3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
00360d46 3778 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
e6056257 3779
0e2ff151 3780 wxPyEndAllowThreads(__tstate);
e6056257 3781 if (PyErr_Occurred()) return NULL;
00360d46
RD
3782} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3783 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
3784 return _resultobj;
3785}
3786
3787#define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3788static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3789 PyObject * _resultobj;
3790 wxColour * _result;
3791 wxGridCellAttr * _arg0;
3792 PyObject * _argo0 = 0;
3793 char *_kwnames[] = { "self", NULL };
3794 char _ptemp[128];
3795
3796 self = self;
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3798 return NULL;
3799 if (_argo0) {
3800 if (_argo0 == Py_None) { _arg0 = NULL; }
3801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3803 return NULL;
3804 }
3805 }
3806{
0e2ff151 3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
00360d46 3808 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
e6056257 3809
0e2ff151 3810 wxPyEndAllowThreads(__tstate);
e6056257 3811 if (PyErr_Occurred()) return NULL;
00360d46
RD
3812} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3813 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
3814 return _resultobj;
3815}
3816
3817#define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3818static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3819 PyObject * _resultobj;
3820 wxFont * _result;
3821 wxGridCellAttr * _arg0;
3822 PyObject * _argo0 = 0;
3823 char *_kwnames[] = { "self", NULL };
3824 char _ptemp[128];
3825
3826 self = self;
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3828 return NULL;
3829 if (_argo0) {
3830 if (_argo0 == Py_None) { _arg0 = NULL; }
3831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3833 return NULL;
3834 }
3835 }
3836{
0e2ff151 3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
00360d46 3838 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
e6056257 3839
0e2ff151 3840 wxPyEndAllowThreads(__tstate);
e6056257 3841 if (PyErr_Occurred()) return NULL;
00360d46
RD
3842} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
3843 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
3844 return _resultobj;
3845}
3846
3847#define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3848static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3849 PyObject * _resultobj;
3850 wxGridCellAttr * _arg0;
3851 int * _arg1;
3852 int temp;
3853 int * _arg2;
3854 int temp0;
3855 PyObject * _argo0 = 0;
3856 char *_kwnames[] = { "self", NULL };
3857
3858 self = self;
3859{
3860 _arg1 = &temp;
3861}
3862{
3863 _arg2 = &temp0;
3864}
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3866 return NULL;
3867 if (_argo0) {
3868 if (_argo0 == Py_None) { _arg0 = NULL; }
3869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3871 return NULL;
3872 }
3873 }
3874{
0e2ff151 3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3876 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3877
0e2ff151 3878 wxPyEndAllowThreads(__tstate);
e6056257
RD
3879 if (PyErr_Occurred()) return NULL;
3880} Py_INCREF(Py_None);
3881 _resultobj = Py_None;
3882{
3883 PyObject *o;
3884 o = PyInt_FromLong((long) (*_arg1));
3885 _resultobj = t_output_helper(_resultobj, o);
3886}
3887{
3888 PyObject *o;
3889 o = PyInt_FromLong((long) (*_arg2));
3890 _resultobj = t_output_helper(_resultobj, o);
3891}
3892 return _resultobj;
3893}
3894
3895#define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3896static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3897 PyObject * _resultobj;
3898 wxGridCellRenderer * _result;
3899 wxGridCellAttr * _arg0;
3900 wxGrid * _arg1;
3901 int _arg2;
3902 int _arg3;
3903 PyObject * _argo0 = 0;
3904 PyObject * _argo1 = 0;
3905 char *_kwnames[] = { "self","grid","row","col", NULL };
3906 char _ptemp[128];
3907
3908 self = self;
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3910 return NULL;
3911 if (_argo0) {
3912 if (_argo0 == Py_None) { _arg0 = NULL; }
3913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3915 return NULL;
3916 }
3917 }
3918 if (_argo1) {
3919 if (_argo1 == Py_None) { _arg1 = NULL; }
3920 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3921 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3922 return NULL;
3923 }
3924 }
3925{
0e2ff151 3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3927 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3928
0e2ff151 3929 wxPyEndAllowThreads(__tstate);
e6056257
RD
3930 if (PyErr_Occurred()) return NULL;
3931} if (_result) {
3932 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3933 _resultobj = Py_BuildValue("s",_ptemp);
3934 } else {
3935 Py_INCREF(Py_None);
3936 _resultobj = Py_None;
3937 }
3938 return _resultobj;
3939}
3940
3941#define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3942static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3943 PyObject * _resultobj;
3944 wxGridCellEditor * _result;
3945 wxGridCellAttr * _arg0;
3946 wxGrid * _arg1;
3947 int _arg2;
3948 int _arg3;
3949 PyObject * _argo0 = 0;
3950 PyObject * _argo1 = 0;
3951 char *_kwnames[] = { "self","grid","row","col", NULL };
3952 char _ptemp[128];
3953
3954 self = self;
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3956 return NULL;
3957 if (_argo0) {
3958 if (_argo0 == Py_None) { _arg0 = NULL; }
3959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3961 return NULL;
3962 }
3963 }
3964 if (_argo1) {
3965 if (_argo1 == Py_None) { _arg1 = NULL; }
3966 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3967 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3968 return NULL;
3969 }
3970 }
3971{
0e2ff151 3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
3973 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3974
0e2ff151 3975 wxPyEndAllowThreads(__tstate);
e6056257
RD
3976 if (PyErr_Occurred()) return NULL;
3977} if (_result) {
3978 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3979 _resultobj = Py_BuildValue("s",_ptemp);
3980 } else {
3981 Py_INCREF(Py_None);
3982 _resultobj = Py_None;
3983 }
3984 return _resultobj;
3985}
3986
3987#define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3988static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3989 PyObject * _resultobj;
3990 bool _result;
3991 wxGridCellAttr * _arg0;
3992 PyObject * _argo0 = 0;
3993 char *_kwnames[] = { "self", NULL };
3994
3995 self = self;
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3997 return NULL;
3998 if (_argo0) {
3999 if (_argo0 == Py_None) { _arg0 = NULL; }
4000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4002 return NULL;
4003 }
4004 }
4005{
0e2ff151 4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4007 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
4008
0e2ff151 4009 wxPyEndAllowThreads(__tstate);
e6056257
RD
4010 if (PyErr_Occurred()) return NULL;
4011} _resultobj = Py_BuildValue("i",_result);
4012 return _resultobj;
4013}
4014
4015#define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4016static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject * _resultobj;
4018 wxGridCellAttr * _arg0;
4019 wxGridCellAttr * _arg1;
4020 PyObject * _argo0 = 0;
4021 PyObject * _argo1 = 0;
4022 char *_kwnames[] = { "self","defAttr", NULL };
4023
4024 self = self;
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
4026 return NULL;
4027 if (_argo0) {
4028 if (_argo0 == Py_None) { _arg0 = NULL; }
4029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4031 return NULL;
4032 }
4033 }
4034 if (_argo1) {
4035 if (_argo1 == Py_None) { _arg1 = NULL; }
4036 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4037 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4038 return NULL;
4039 }
4040 }
4041{
0e2ff151 4042 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4043 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
4044
0e2ff151 4045 wxPyEndAllowThreads(__tstate);
e6056257
RD
4046 if (PyErr_Occurred()) return NULL;
4047} Py_INCREF(Py_None);
4048 _resultobj = Py_None;
4049 return _resultobj;
4050}
4051
4052#define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4053static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4054 PyObject * _resultobj;
4055 wxGridCellAttrProvider * _result;
4056 char *_kwnames[] = { NULL };
4057 char _ptemp[128];
4058
4059 self = self;
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
4061 return NULL;
4062{
0e2ff151 4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4064 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
4065
0e2ff151 4066 wxPyEndAllowThreads(__tstate);
e6056257
RD
4067 if (PyErr_Occurred()) return NULL;
4068} if (_result) {
4069 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4070 _resultobj = Py_BuildValue("s",_ptemp);
4071 } else {
4072 Py_INCREF(Py_None);
4073 _resultobj = Py_None;
4074 }
4075 return _resultobj;
4076}
4077
4078#define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4079static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject * _resultobj;
4081 wxGridCellAttr * _result;
4082 wxGridCellAttrProvider * _arg0;
4083 int _arg1;
4084 int _arg2;
4085 wxGridCellAttr::wxAttrKind _arg3;
4086 PyObject * _argo0 = 0;
4087 char *_kwnames[] = { "self","row","col","kind", NULL };
4088 char _ptemp[128];
4089
4090 self = self;
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
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_GetAttr. Expected _wxGridCellAttrProvider_p.");
4097 return NULL;
4098 }
4099 }
4100{
0e2ff151 4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4102 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
4103
0e2ff151 4104 wxPyEndAllowThreads(__tstate);
e6056257
RD
4105 if (PyErr_Occurred()) return NULL;
4106} if (_result) {
4107 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4108 _resultobj = Py_BuildValue("s",_ptemp);
4109 } else {
4110 Py_INCREF(Py_None);
4111 _resultobj = Py_None;
4112 }
4113 return _resultobj;
4114}
4115
4116#define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4117static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject * _resultobj;
4119 wxGridCellAttrProvider * _arg0;
4120 wxGridCellAttr * _arg1;
4121 int _arg2;
4122 int _arg3;
4123 PyObject * _argo0 = 0;
4124 PyObject * _argo1 = 0;
4125 char *_kwnames[] = { "self","attr","row","col", NULL };
4126
4127 self = self;
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4129 return NULL;
4130 if (_argo0) {
4131 if (_argo0 == Py_None) { _arg0 = NULL; }
4132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4134 return NULL;
4135 }
4136 }
4137 if (_argo1) {
4138 if (_argo1 == Py_None) { _arg1 = NULL; }
4139 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4141 return NULL;
4142 }
4143 }
4144{
0e2ff151 4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4146 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
4147
0e2ff151 4148 wxPyEndAllowThreads(__tstate);
e6056257
RD
4149 if (PyErr_Occurred()) return NULL;
4150} Py_INCREF(Py_None);
4151 _resultobj = Py_None;
4152 return _resultobj;
4153}
4154
4155#define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4156static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4157 PyObject * _resultobj;
4158 wxGridCellAttrProvider * _arg0;
4159 wxGridCellAttr * _arg1;
4160 int _arg2;
4161 PyObject * _argo0 = 0;
4162 PyObject * _argo1 = 0;
4163 char *_kwnames[] = { "self","attr","row", NULL };
4164
4165 self = self;
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_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_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4172 return NULL;
4173 }
4174 }
4175 if (_argo1) {
4176 if (_argo1 == Py_None) { _arg1 = NULL; }
4177 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4179 return NULL;
4180 }
4181 }
4182{
0e2ff151 4183 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4184 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
4185
0e2ff151 4186 wxPyEndAllowThreads(__tstate);
e6056257
RD
4187 if (PyErr_Occurred()) return NULL;
4188} Py_INCREF(Py_None);
4189 _resultobj = Py_None;
4190 return _resultobj;
4191}
4192
4193#define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4194static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4195 PyObject * _resultobj;
4196 wxGridCellAttrProvider * _arg0;
4197 wxGridCellAttr * _arg1;
4198 int _arg2;
4199 PyObject * _argo0 = 0;
4200 PyObject * _argo1 = 0;
4201 char *_kwnames[] = { "self","attr","col", NULL };
4202
4203 self = self;
4204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4205 return NULL;
4206 if (_argo0) {
4207 if (_argo0 == Py_None) { _arg0 = NULL; }
4208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4210 return NULL;
4211 }
4212 }
4213 if (_argo1) {
4214 if (_argo1 == Py_None) { _arg1 = NULL; }
4215 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4216 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4217 return NULL;
4218 }
4219 }
4220{
0e2ff151 4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4222 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
4223
0e2ff151 4224 wxPyEndAllowThreads(__tstate);
e6056257
RD
4225 if (PyErr_Occurred()) return NULL;
4226} Py_INCREF(Py_None);
4227 _resultobj = Py_None;
4228 return _resultobj;
4229}
4230
4231#define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4232static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4233 PyObject * _resultobj;
4234 wxGridCellAttrProvider * _arg0;
4235 size_t _arg1;
4236 int _arg2;
4237 PyObject * _argo0 = 0;
4238 char *_kwnames[] = { "self","pos","numRows", NULL };
4239
4240 self = self;
4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4242 return NULL;
4243 if (_argo0) {
4244 if (_argo0 == Py_None) { _arg0 = NULL; }
4245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4247 return NULL;
4248 }
4249 }
4250{
0e2ff151 4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4252 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
4253
0e2ff151 4254 wxPyEndAllowThreads(__tstate);
e6056257
RD
4255 if (PyErr_Occurred()) return NULL;
4256} Py_INCREF(Py_None);
4257 _resultobj = Py_None;
4258 return _resultobj;
4259}
4260
4261#define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4262static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject * _resultobj;
4264 wxGridCellAttrProvider * _arg0;
4265 size_t _arg1;
4266 int _arg2;
4267 PyObject * _argo0 = 0;
4268 char *_kwnames[] = { "self","pos","numCols", NULL };
4269
4270 self = self;
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4272 return NULL;
4273 if (_argo0) {
4274 if (_argo0 == Py_None) { _arg0 = NULL; }
4275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4277 return NULL;
4278 }
4279 }
4280{
0e2ff151 4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4282 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
4283
0e2ff151 4284 wxPyEndAllowThreads(__tstate);
e6056257
RD
4285 if (PyErr_Occurred()) return NULL;
4286} Py_INCREF(Py_None);
4287 _resultobj = Py_None;
4288 return _resultobj;
4289}
4290
4291static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4292 wxPyGridCellAttrProvider *src;
4293 wxGridCellAttrProvider *dest;
4294 src = (wxPyGridCellAttrProvider *) ptr;
4295 dest = (wxGridCellAttrProvider *) src;
4296 return (void *) dest;
4297}
4298
4299#define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4300static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4301 PyObject * _resultobj;
4302 wxPyGridCellAttrProvider * _result;
4303 char *_kwnames[] = { NULL };
4304 char _ptemp[128];
4305
4306 self = self;
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4308 return NULL;
4309{
0e2ff151 4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4311 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4312
0e2ff151 4313 wxPyEndAllowThreads(__tstate);
e6056257
RD
4314 if (PyErr_Occurred()) return NULL;
4315} if (_result) {
4316 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4317 _resultobj = Py_BuildValue("s",_ptemp);
4318 } else {
4319 Py_INCREF(Py_None);
4320 _resultobj = Py_None;
4321 }
4322 return _resultobj;
4323}
4324
4325#define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4326static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4327 PyObject * _resultobj;
4328 wxPyGridCellAttrProvider * _arg0;
4329 PyObject * _arg1;
4330 PyObject * _arg2;
4331 PyObject * _argo0 = 0;
4332 PyObject * _obj1 = 0;
4333 PyObject * _obj2 = 0;
4334 char *_kwnames[] = { "self","self","_class", NULL };
4335
4336 self = self;
4337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4338 return NULL;
4339 if (_argo0) {
4340 if (_argo0 == Py_None) { _arg0 = NULL; }
4341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4343 return NULL;
4344 }
4345 }
4346{
4347 _arg1 = _obj1;
4348}
4349{
4350 _arg2 = _obj2;
4351}
4352{
0e2ff151 4353 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4354 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
4355
0e2ff151 4356 wxPyEndAllowThreads(__tstate);
e6056257
RD
4357 if (PyErr_Occurred()) return NULL;
4358} Py_INCREF(Py_None);
4359 _resultobj = Py_None;
4360 return _resultobj;
4361}
4362
4363#define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4364static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4365 PyObject * _resultobj;
4366 wxGridCellAttr * _result;
4367 wxPyGridCellAttrProvider * _arg0;
4368 int _arg1;
4369 int _arg2;
4370 wxGridCellAttr::wxAttrKind _arg3;
4371 PyObject * _argo0 = 0;
4372 char *_kwnames[] = { "self","row","col","kind", NULL };
4373 char _ptemp[128];
4374
4375 self = self;
4376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
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_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4382 return NULL;
4383 }
4384 }
4385{
0e2ff151 4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4387 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4388
0e2ff151 4389 wxPyEndAllowThreads(__tstate);
e6056257
RD
4390 if (PyErr_Occurred()) return NULL;
4391} if (_result) {
4392 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4393 _resultobj = Py_BuildValue("s",_ptemp);
4394 } else {
4395 Py_INCREF(Py_None);
4396 _resultobj = Py_None;
4397 }
4398 return _resultobj;
4399}
4400
4401#define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4402static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject * _resultobj;
4404 wxPyGridCellAttrProvider * _arg0;
4405 wxGridCellAttr * _arg1;
4406 int _arg2;
4407 int _arg3;
4408 PyObject * _argo0 = 0;
4409 PyObject * _argo1 = 0;
4410 char *_kwnames[] = { "self","attr","row","col", NULL };
4411
4412 self = self;
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4414 return NULL;
4415 if (_argo0) {
4416 if (_argo0 == Py_None) { _arg0 = NULL; }
4417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4419 return NULL;
4420 }
4421 }
4422 if (_argo1) {
4423 if (_argo1 == Py_None) { _arg1 = NULL; }
4424 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4425 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4426 return NULL;
4427 }
4428 }
4429{
0e2ff151 4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4431 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4432
0e2ff151 4433 wxPyEndAllowThreads(__tstate);
e6056257
RD
4434 if (PyErr_Occurred()) return NULL;
4435} Py_INCREF(Py_None);
4436 _resultobj = Py_None;
4437 return _resultobj;
4438}
4439
4440#define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4441static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4442 PyObject * _resultobj;
4443 wxPyGridCellAttrProvider * _arg0;
4444 wxGridCellAttr * _arg1;
4445 int _arg2;
4446 PyObject * _argo0 = 0;
4447 PyObject * _argo1 = 0;
4448 char *_kwnames[] = { "self","attr","row", NULL };
4449
4450 self = self;
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4452 return NULL;
4453 if (_argo0) {
4454 if (_argo0 == Py_None) { _arg0 = NULL; }
4455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4457 return NULL;
4458 }
4459 }
4460 if (_argo1) {
4461 if (_argo1 == Py_None) { _arg1 = NULL; }
4462 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4463 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4464 return NULL;
4465 }
4466 }
4467{
0e2ff151 4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4469 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4470
0e2ff151 4471 wxPyEndAllowThreads(__tstate);
e6056257
RD
4472 if (PyErr_Occurred()) return NULL;
4473} Py_INCREF(Py_None);
4474 _resultobj = Py_None;
4475 return _resultobj;
4476}
4477
4478#define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4479static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4480 PyObject * _resultobj;
4481 wxPyGridCellAttrProvider * _arg0;
4482 wxGridCellAttr * _arg1;
4483 int _arg2;
4484 PyObject * _argo0 = 0;
4485 PyObject * _argo1 = 0;
4486 char *_kwnames[] = { "self","attr","col", NULL };
4487
4488 self = self;
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4490 return NULL;
4491 if (_argo0) {
4492 if (_argo0 == Py_None) { _arg0 = NULL; }
4493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4495 return NULL;
4496 }
4497 }
4498 if (_argo1) {
4499 if (_argo1 == Py_None) { _arg1 = NULL; }
4500 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4501 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4502 return NULL;
4503 }
4504 }
4505{
0e2ff151 4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4507 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4508
0e2ff151 4509 wxPyEndAllowThreads(__tstate);
e6056257
RD
4510 if (PyErr_Occurred()) return NULL;
4511} Py_INCREF(Py_None);
4512 _resultobj = Py_None;
4513 return _resultobj;
4514}
4515
4516static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4517 wxGridTableBase *src;
4518 wxObject *dest;
4519 src = (wxGridTableBase *) ptr;
4520 dest = (wxObject *) src;
4521 return (void *) dest;
4522}
4523
4524#define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4525static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject * _resultobj;
4527 wxGridTableBase * _arg0;
4528 wxGridCellAttrProvider * _arg1;
4529 PyObject * _argo0 = 0;
4530 PyObject * _argo1 = 0;
4531 char *_kwnames[] = { "self","attrProvider", NULL };
4532
4533 self = self;
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4535 return NULL;
4536 if (_argo0) {
4537 if (_argo0 == Py_None) { _arg0 = NULL; }
4538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4540 return NULL;
4541 }
4542 }
4543 if (_argo1) {
4544 if (_argo1 == Py_None) { _arg1 = NULL; }
4545 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4546 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4547 return NULL;
4548 }
4549 }
4550{
0e2ff151 4551 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4552 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4553
0e2ff151 4554 wxPyEndAllowThreads(__tstate);
e6056257
RD
4555 if (PyErr_Occurred()) return NULL;
4556} Py_INCREF(Py_None);
4557 _resultobj = Py_None;
4558 return _resultobj;
4559}
4560
4561#define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4562static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4563 PyObject * _resultobj;
4564 wxGridCellAttrProvider * _result;
4565 wxGridTableBase * _arg0;
4566 PyObject * _argo0 = 0;
4567 char *_kwnames[] = { "self", NULL };
4568 char _ptemp[128];
4569
4570 self = self;
4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4572 return NULL;
4573 if (_argo0) {
4574 if (_argo0 == Py_None) { _arg0 = NULL; }
4575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4577 return NULL;
4578 }
4579 }
4580{
0e2ff151 4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4582 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4583
0e2ff151 4584 wxPyEndAllowThreads(__tstate);
e6056257
RD
4585 if (PyErr_Occurred()) return NULL;
4586} if (_result) {
4587 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4588 _resultobj = Py_BuildValue("s",_ptemp);
4589 } else {
4590 Py_INCREF(Py_None);
4591 _resultobj = Py_None;
4592 }
4593 return _resultobj;
4594}
4595
4596#define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4597static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject * _resultobj;
4599 wxGridTableBase * _arg0;
4600 wxGrid * _arg1;
4601 PyObject * _argo0 = 0;
4602 PyObject * _argo1 = 0;
4603 char *_kwnames[] = { "self","grid", NULL };
4604
4605 self = self;
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4607 return NULL;
4608 if (_argo0) {
4609 if (_argo0 == Py_None) { _arg0 = NULL; }
4610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4612 return NULL;
4613 }
4614 }
4615 if (_argo1) {
4616 if (_argo1 == Py_None) { _arg1 = NULL; }
4617 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4618 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4619 return NULL;
4620 }
4621 }
4622{
0e2ff151 4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4624 wxGridTableBase_SetView(_arg0,_arg1);
4625
0e2ff151 4626 wxPyEndAllowThreads(__tstate);
e6056257
RD
4627 if (PyErr_Occurred()) return NULL;
4628} Py_INCREF(Py_None);
4629 _resultobj = Py_None;
4630 return _resultobj;
4631}
4632
4633#define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4634static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4635 PyObject * _resultobj;
4636 wxGrid * _result;
4637 wxGridTableBase * _arg0;
4638 PyObject * _argo0 = 0;
4639 char *_kwnames[] = { "self", NULL };
4640
4641 self = self;
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4643 return NULL;
4644 if (_argo0) {
4645 if (_argo0 == Py_None) { _arg0 = NULL; }
4646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4648 return NULL;
4649 }
4650 }
4651{
0e2ff151 4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4653 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4654
0e2ff151 4655 wxPyEndAllowThreads(__tstate);
e6056257
RD
4656 if (PyErr_Occurred()) return NULL;
4657}{ _resultobj = wxPyMake_wxObject(_result); }
4658 return _resultobj;
4659}
4660
4661#define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4662static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject * _resultobj;
4664 int _result;
4665 wxGridTableBase * _arg0;
4666 PyObject * _argo0 = 0;
4667 char *_kwnames[] = { "self", NULL };
4668
4669 self = self;
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4671 return NULL;
4672 if (_argo0) {
4673 if (_argo0 == Py_None) { _arg0 = NULL; }
4674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4676 return NULL;
4677 }
4678 }
4679{
0e2ff151 4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4681 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4682
0e2ff151 4683 wxPyEndAllowThreads(__tstate);
e6056257
RD
4684 if (PyErr_Occurred()) return NULL;
4685} _resultobj = Py_BuildValue("i",_result);
4686 return _resultobj;
4687}
4688
4689#define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4690static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4691 PyObject * _resultobj;
4692 int _result;
4693 wxGridTableBase * _arg0;
4694 PyObject * _argo0 = 0;
4695 char *_kwnames[] = { "self", NULL };
4696
4697 self = self;
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4699 return NULL;
4700 if (_argo0) {
4701 if (_argo0 == Py_None) { _arg0 = NULL; }
4702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4704 return NULL;
4705 }
4706 }
4707{
0e2ff151 4708 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4709 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4710
0e2ff151 4711 wxPyEndAllowThreads(__tstate);
e6056257
RD
4712 if (PyErr_Occurred()) return NULL;
4713} _resultobj = Py_BuildValue("i",_result);
4714 return _resultobj;
4715}
4716
4717#define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4718static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4719 PyObject * _resultobj;
4720 bool _result;
4721 wxGridTableBase * _arg0;
4722 int _arg1;
4723 int _arg2;
4724 PyObject * _argo0 = 0;
4725 char *_kwnames[] = { "self","row","col", NULL };
4726
4727 self = self;
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4729 return NULL;
4730 if (_argo0) {
4731 if (_argo0 == Py_None) { _arg0 = NULL; }
4732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4734 return NULL;
4735 }
4736 }
4737{
0e2ff151 4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4739 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4740
0e2ff151 4741 wxPyEndAllowThreads(__tstate);
e6056257
RD
4742 if (PyErr_Occurred()) return NULL;
4743} _resultobj = Py_BuildValue("i",_result);
4744 return _resultobj;
4745}
4746
4747#define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4748static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4749 PyObject * _resultobj;
4750 wxString * _result;
4751 wxGridTableBase * _arg0;
4752 int _arg1;
4753 int _arg2;
4754 PyObject * _argo0 = 0;
4755 char *_kwnames[] = { "self","row","col", NULL };
4756
4757 self = self;
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4759 return NULL;
4760 if (_argo0) {
4761 if (_argo0 == Py_None) { _arg0 = NULL; }
4762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4764 return NULL;
4765 }
4766 }
4767{
0e2ff151 4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4769 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4770
0e2ff151 4771 wxPyEndAllowThreads(__tstate);
e6056257
RD
4772 if (PyErr_Occurred()) return NULL;
4773}{
4774 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4775}
4776{
4777 delete _result;
4778}
4779 return _resultobj;
4780}
4781
4782#define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4783static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4784 PyObject * _resultobj;
4785 wxGridTableBase * _arg0;
4786 int _arg1;
4787 int _arg2;
4788 wxString * _arg3;
4789 PyObject * _argo0 = 0;
4790 PyObject * _obj3 = 0;
4791 char *_kwnames[] = { "self","row","col","value", NULL };
4792
4793 self = self;
4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4795 return NULL;
4796 if (_argo0) {
4797 if (_argo0 == Py_None) { _arg0 = NULL; }
4798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4800 return NULL;
4801 }
4802 }
4803{
4804#if PYTHON_API_VERSION >= 1009
4805 char* tmpPtr; int tmpSize;
4806 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4807 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4808 return NULL;
4809 }
4810 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4811 return NULL;
4812 _arg3 = new wxString(tmpPtr, tmpSize);
4813#else
4814 if (!PyString_Check(_obj3)) {
4815 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4816 return NULL;
4817 }
4818 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4819#endif
4820}
4821{
0e2ff151 4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4823 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4824
0e2ff151 4825 wxPyEndAllowThreads(__tstate);
e6056257
RD
4826 if (PyErr_Occurred()) return NULL;
4827} Py_INCREF(Py_None);
4828 _resultobj = Py_None;
4829{
4830 if (_obj3)
4831 delete _arg3;
4832}
4833 return _resultobj;
4834}
4835
4836#define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4837static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4838 PyObject * _resultobj;
4839 wxString * _result;
4840 wxGridTableBase * _arg0;
4841 int _arg1;
4842 int _arg2;
4843 PyObject * _argo0 = 0;
4844 char *_kwnames[] = { "self","row","col", NULL };
4845
4846 self = self;
4847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4848 return NULL;
4849 if (_argo0) {
4850 if (_argo0 == Py_None) { _arg0 = NULL; }
4851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4853 return NULL;
4854 }
4855 }
4856{
0e2ff151 4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4858 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4859
0e2ff151 4860 wxPyEndAllowThreads(__tstate);
e6056257
RD
4861 if (PyErr_Occurred()) return NULL;
4862}{
4863 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4864}
4865{
4866 delete _result;
4867}
4868 return _resultobj;
4869}
4870
4871#define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4872static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4873 PyObject * _resultobj;
4874 bool _result;
4875 wxGridTableBase * _arg0;
4876 int _arg1;
4877 int _arg2;
4878 wxString * _arg3;
4879 PyObject * _argo0 = 0;
4880 PyObject * _obj3 = 0;
4881 char *_kwnames[] = { "self","row","col","typeName", NULL };
4882
4883 self = self;
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
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_CanGetValueAs. Expected _wxGridTableBase_p.");
4890 return NULL;
4891 }
4892 }
4893{
4894#if PYTHON_API_VERSION >= 1009
4895 char* tmpPtr; int tmpSize;
4896 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4897 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4898 return NULL;
4899 }
4900 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4901 return NULL;
4902 _arg3 = new wxString(tmpPtr, tmpSize);
4903#else
4904 if (!PyString_Check(_obj3)) {
4905 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4906 return NULL;
4907 }
4908 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4909#endif
4910}
4911{
0e2ff151 4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4913 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4914
0e2ff151 4915 wxPyEndAllowThreads(__tstate);
e6056257
RD
4916 if (PyErr_Occurred()) return NULL;
4917} _resultobj = Py_BuildValue("i",_result);
4918{
4919 if (_obj3)
4920 delete _arg3;
4921}
4922 return _resultobj;
4923}
4924
4925#define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4926static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject * _resultobj;
4928 bool _result;
4929 wxGridTableBase * _arg0;
4930 int _arg1;
4931 int _arg2;
4932 wxString * _arg3;
4933 PyObject * _argo0 = 0;
4934 PyObject * _obj3 = 0;
4935 char *_kwnames[] = { "self","row","col","typeName", NULL };
4936
4937 self = self;
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4939 return NULL;
4940 if (_argo0) {
4941 if (_argo0 == Py_None) { _arg0 = NULL; }
4942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4944 return NULL;
4945 }
4946 }
4947{
4948#if PYTHON_API_VERSION >= 1009
4949 char* tmpPtr; int tmpSize;
4950 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4951 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4952 return NULL;
4953 }
4954 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4955 return NULL;
4956 _arg3 = new wxString(tmpPtr, tmpSize);
4957#else
4958 if (!PyString_Check(_obj3)) {
4959 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4960 return NULL;
4961 }
4962 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4963#endif
4964}
4965{
0e2ff151 4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
4967 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4968
0e2ff151 4969 wxPyEndAllowThreads(__tstate);
e6056257
RD
4970 if (PyErr_Occurred()) return NULL;
4971} _resultobj = Py_BuildValue("i",_result);
4972{
4973 if (_obj3)
4974 delete _arg3;
4975}
4976 return _resultobj;
4977}
4978
4979#define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4980static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4981 PyObject * _resultobj;
4982 long _result;
4983 wxGridTableBase * _arg0;
4984 int _arg1;
4985 int _arg2;
4986 PyObject * _argo0 = 0;
4987 char *_kwnames[] = { "self","row","col", NULL };
4988
4989 self = self;
4990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4991 return NULL;
4992 if (_argo0) {
4993 if (_argo0 == Py_None) { _arg0 = NULL; }
4994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4996 return NULL;
4997 }
4998 }
4999{
0e2ff151 5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5001 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
5002
0e2ff151 5003 wxPyEndAllowThreads(__tstate);
e6056257
RD
5004 if (PyErr_Occurred()) return NULL;
5005} _resultobj = Py_BuildValue("l",_result);
5006 return _resultobj;
5007}
5008
5009#define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5010static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5011 PyObject * _resultobj;
5012 double _result;
5013 wxGridTableBase * _arg0;
5014 int _arg1;
5015 int _arg2;
5016 PyObject * _argo0 = 0;
5017 char *_kwnames[] = { "self","row","col", NULL };
5018
5019 self = self;
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
5021 return NULL;
5022 if (_argo0) {
5023 if (_argo0 == Py_None) { _arg0 = NULL; }
5024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5026 return NULL;
5027 }
5028 }
5029{
0e2ff151 5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5031 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
5032
0e2ff151 5033 wxPyEndAllowThreads(__tstate);
e6056257
RD
5034 if (PyErr_Occurred()) return NULL;
5035} _resultobj = Py_BuildValue("d",_result);
5036 return _resultobj;
5037}
5038
5039#define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5040static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5041 PyObject * _resultobj;
5042 bool _result;
5043 wxGridTableBase * _arg0;
5044 int _arg1;
5045 int _arg2;
5046 PyObject * _argo0 = 0;
5047 char *_kwnames[] = { "self","row","col", NULL };
5048
5049 self = self;
5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
5051 return NULL;
5052 if (_argo0) {
5053 if (_argo0 == Py_None) { _arg0 = NULL; }
5054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5056 return NULL;
5057 }
5058 }
5059{
0e2ff151 5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5061 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
5062
0e2ff151 5063 wxPyEndAllowThreads(__tstate);
e6056257
RD
5064 if (PyErr_Occurred()) return NULL;
5065} _resultobj = Py_BuildValue("i",_result);
5066 return _resultobj;
5067}
5068
5069#define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5070static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5071 PyObject * _resultobj;
5072 wxGridTableBase * _arg0;
5073 int _arg1;
5074 int _arg2;
5075 long _arg3;
5076 PyObject * _argo0 = 0;
5077 char *_kwnames[] = { "self","row","col","value", NULL };
5078
5079 self = self;
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5081 return NULL;
5082 if (_argo0) {
5083 if (_argo0 == Py_None) { _arg0 = NULL; }
5084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5086 return NULL;
5087 }
5088 }
5089{
0e2ff151 5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5091 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
5092
0e2ff151 5093 wxPyEndAllowThreads(__tstate);
e6056257
RD
5094 if (PyErr_Occurred()) return NULL;
5095} Py_INCREF(Py_None);
5096 _resultobj = Py_None;
5097 return _resultobj;
5098}
5099
5100#define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5101static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5102 PyObject * _resultobj;
5103 wxGridTableBase * _arg0;
5104 int _arg1;
5105 int _arg2;
5106 double _arg3;
5107 PyObject * _argo0 = 0;
5108 char *_kwnames[] = { "self","row","col","value", NULL };
5109
5110 self = self;
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5112 return NULL;
5113 if (_argo0) {
5114 if (_argo0 == Py_None) { _arg0 = NULL; }
5115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5117 return NULL;
5118 }
5119 }
5120{
0e2ff151 5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5122 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
5123
0e2ff151 5124 wxPyEndAllowThreads(__tstate);
e6056257
RD
5125 if (PyErr_Occurred()) return NULL;
5126} Py_INCREF(Py_None);
5127 _resultobj = Py_None;
5128 return _resultobj;
5129}
5130
5131#define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5132static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject * _resultobj;
5134 wxGridTableBase * _arg0;
5135 int _arg1;
5136 int _arg2;
5137 bool _arg3;
5138 PyObject * _argo0 = 0;
5139 int tempbool3;
5140 char *_kwnames[] = { "self","row","col","value", NULL };
5141
5142 self = self;
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5144 return NULL;
5145 if (_argo0) {
5146 if (_argo0 == Py_None) { _arg0 = NULL; }
5147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5149 return NULL;
5150 }
5151 }
5152 _arg3 = (bool ) tempbool3;
5153{
0e2ff151 5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5155 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
5156
0e2ff151 5157 wxPyEndAllowThreads(__tstate);
e6056257
RD
5158 if (PyErr_Occurred()) return NULL;
5159} Py_INCREF(Py_None);
5160 _resultobj = Py_None;
5161 return _resultobj;
5162}
5163
5164#define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5165static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5166 PyObject * _resultobj;
5167 wxGridTableBase * _arg0;
5168 PyObject * _argo0 = 0;
5169 char *_kwnames[] = { "self", NULL };
5170
5171 self = self;
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5173 return NULL;
5174 if (_argo0) {
5175 if (_argo0 == Py_None) { _arg0 = NULL; }
5176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5178 return NULL;
5179 }
5180 }
5181{
0e2ff151 5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5183 wxGridTableBase_Clear(_arg0);
5184
0e2ff151 5185 wxPyEndAllowThreads(__tstate);
e6056257
RD
5186 if (PyErr_Occurred()) return NULL;
5187} Py_INCREF(Py_None);
5188 _resultobj = Py_None;
5189 return _resultobj;
5190}
5191
5192#define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5193static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject * _resultobj;
5195 bool _result;
5196 wxGridTableBase * _arg0;
5197 size_t _arg1 = (size_t ) 0;
5198 size_t _arg2 = (size_t ) 1;
5199 PyObject * _argo0 = 0;
5200 char *_kwnames[] = { "self","pos","numRows", NULL };
5201
5202 self = self;
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5204 return NULL;
5205 if (_argo0) {
5206 if (_argo0 == Py_None) { _arg0 = NULL; }
5207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5209 return NULL;
5210 }
5211 }
5212{
0e2ff151 5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5214 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
5215
0e2ff151 5216 wxPyEndAllowThreads(__tstate);
e6056257
RD
5217 if (PyErr_Occurred()) return NULL;
5218} _resultobj = Py_BuildValue("i",_result);
5219 return _resultobj;
5220}
5221
5222#define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5223static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5224 PyObject * _resultobj;
5225 bool _result;
5226 wxGridTableBase * _arg0;
5227 size_t _arg1 = (size_t ) 1;
5228 PyObject * _argo0 = 0;
5229 char *_kwnames[] = { "self","numRows", NULL };
5230
5231 self = self;
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5233 return NULL;
5234 if (_argo0) {
5235 if (_argo0 == Py_None) { _arg0 = NULL; }
5236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5238 return NULL;
5239 }
5240 }
5241{
0e2ff151 5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5243 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
5244
0e2ff151 5245 wxPyEndAllowThreads(__tstate);
e6056257
RD
5246 if (PyErr_Occurred()) return NULL;
5247} _resultobj = Py_BuildValue("i",_result);
5248 return _resultobj;
5249}
5250
5251#define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5252static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5253 PyObject * _resultobj;
5254 bool _result;
5255 wxGridTableBase * _arg0;
5256 size_t _arg1 = (size_t ) 0;
5257 size_t _arg2 = (size_t ) 1;
5258 PyObject * _argo0 = 0;
5259 char *_kwnames[] = { "self","pos","numRows", NULL };
5260
5261 self = self;
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5263 return NULL;
5264 if (_argo0) {
5265 if (_argo0 == Py_None) { _arg0 = NULL; }
5266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5268 return NULL;
5269 }
5270 }
5271{
0e2ff151 5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5273 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
5274
0e2ff151 5275 wxPyEndAllowThreads(__tstate);
e6056257
RD
5276 if (PyErr_Occurred()) return NULL;
5277} _resultobj = Py_BuildValue("i",_result);
5278 return _resultobj;
5279}
5280
5281#define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5282static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject * _resultobj;
5284 bool _result;
5285 wxGridTableBase * _arg0;
5286 size_t _arg1 = (size_t ) 0;
5287 size_t _arg2 = (size_t ) 1;
5288 PyObject * _argo0 = 0;
5289 char *_kwnames[] = { "self","pos","numCols", NULL };
5290
5291 self = self;
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5293 return NULL;
5294 if (_argo0) {
5295 if (_argo0 == Py_None) { _arg0 = NULL; }
5296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5298 return NULL;
5299 }
5300 }
5301{
0e2ff151 5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5303 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5304
0e2ff151 5305 wxPyEndAllowThreads(__tstate);
e6056257
RD
5306 if (PyErr_Occurred()) return NULL;
5307} _resultobj = Py_BuildValue("i",_result);
5308 return _resultobj;
5309}
5310
5311#define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5312static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5313 PyObject * _resultobj;
5314 bool _result;
5315 wxGridTableBase * _arg0;
5316 size_t _arg1 = (size_t ) 1;
5317 PyObject * _argo0 = 0;
5318 char *_kwnames[] = { "self","numCols", NULL };
5319
5320 self = self;
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5322 return NULL;
5323 if (_argo0) {
5324 if (_argo0 == Py_None) { _arg0 = NULL; }
5325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5327 return NULL;
5328 }
5329 }
5330{
0e2ff151 5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5332 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5333
0e2ff151 5334 wxPyEndAllowThreads(__tstate);
e6056257
RD
5335 if (PyErr_Occurred()) return NULL;
5336} _resultobj = Py_BuildValue("i",_result);
5337 return _resultobj;
5338}
5339
5340#define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5341static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5342 PyObject * _resultobj;
5343 bool _result;
5344 wxGridTableBase * _arg0;
5345 size_t _arg1 = (size_t ) 0;
5346 size_t _arg2 = (size_t ) 1;
5347 PyObject * _argo0 = 0;
5348 char *_kwnames[] = { "self","pos","numCols", NULL };
5349
5350 self = self;
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
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_DeleteCols. Expected _wxGridTableBase_p.");
5357 return NULL;
5358 }
5359 }
5360{
0e2ff151 5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5362 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5363
0e2ff151 5364 wxPyEndAllowThreads(__tstate);
e6056257
RD
5365 if (PyErr_Occurred()) return NULL;
5366} _resultobj = Py_BuildValue("i",_result);
5367 return _resultobj;
5368}
5369
5370#define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5371static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5372 PyObject * _resultobj;
5373 wxString * _result;
5374 wxGridTableBase * _arg0;
5375 int _arg1;
5376 PyObject * _argo0 = 0;
5377 char *_kwnames[] = { "self","row", NULL };
5378
5379 self = self;
5380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5381 return NULL;
5382 if (_argo0) {
5383 if (_argo0 == Py_None) { _arg0 = NULL; }
5384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5386 return NULL;
5387 }
5388 }
5389{
0e2ff151 5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5391 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5392
0e2ff151 5393 wxPyEndAllowThreads(__tstate);
e6056257
RD
5394 if (PyErr_Occurred()) return NULL;
5395}{
5396 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5397}
5398{
5399 delete _result;
5400}
5401 return _resultobj;
5402}
5403
5404#define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5405static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5406 PyObject * _resultobj;
5407 wxString * _result;
5408 wxGridTableBase * _arg0;
5409 int _arg1;
5410 PyObject * _argo0 = 0;
5411 char *_kwnames[] = { "self","col", NULL };
5412
5413 self = self;
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5415 return NULL;
5416 if (_argo0) {
5417 if (_argo0 == Py_None) { _arg0 = NULL; }
5418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5420 return NULL;
5421 }
5422 }
5423{
0e2ff151 5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5425 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5426
0e2ff151 5427 wxPyEndAllowThreads(__tstate);
e6056257
RD
5428 if (PyErr_Occurred()) return NULL;
5429}{
5430 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5431}
5432{
5433 delete _result;
5434}
5435 return _resultobj;
5436}
5437
5438#define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5439static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject * _resultobj;
5441 wxGridTableBase * _arg0;
5442 int _arg1;
5443 wxString * _arg2;
5444 PyObject * _argo0 = 0;
5445 PyObject * _obj2 = 0;
5446 char *_kwnames[] = { "self","row","value", NULL };
5447
5448 self = self;
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5450 return NULL;
5451 if (_argo0) {
5452 if (_argo0 == Py_None) { _arg0 = NULL; }
5453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5455 return NULL;
5456 }
5457 }
5458{
5459#if PYTHON_API_VERSION >= 1009
5460 char* tmpPtr; int tmpSize;
5461 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5462 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5463 return NULL;
5464 }
5465 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5466 return NULL;
5467 _arg2 = new wxString(tmpPtr, tmpSize);
5468#else
5469 if (!PyString_Check(_obj2)) {
5470 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5471 return NULL;
5472 }
5473 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5474#endif
5475}
5476{
0e2ff151 5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5478 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5479
0e2ff151 5480 wxPyEndAllowThreads(__tstate);
e6056257
RD
5481 if (PyErr_Occurred()) return NULL;
5482} Py_INCREF(Py_None);
5483 _resultobj = Py_None;
5484{
5485 if (_obj2)
5486 delete _arg2;
5487}
5488 return _resultobj;
5489}
5490
5491#define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5492static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5493 PyObject * _resultobj;
5494 wxGridTableBase * _arg0;
5495 int _arg1;
5496 wxString * _arg2;
5497 PyObject * _argo0 = 0;
5498 PyObject * _obj2 = 0;
5499 char *_kwnames[] = { "self","col","value", NULL };
5500
5501 self = self;
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5503 return NULL;
5504 if (_argo0) {
5505 if (_argo0 == Py_None) { _arg0 = NULL; }
5506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5508 return NULL;
5509 }
5510 }
5511{
5512#if PYTHON_API_VERSION >= 1009
5513 char* tmpPtr; int tmpSize;
5514 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5515 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5516 return NULL;
5517 }
5518 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5519 return NULL;
5520 _arg2 = new wxString(tmpPtr, tmpSize);
5521#else
5522 if (!PyString_Check(_obj2)) {
5523 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5524 return NULL;
5525 }
5526 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5527#endif
5528}
5529{
0e2ff151 5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5531 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5532
0e2ff151 5533 wxPyEndAllowThreads(__tstate);
e6056257
RD
5534 if (PyErr_Occurred()) return NULL;
5535} Py_INCREF(Py_None);
5536 _resultobj = Py_None;
5537{
5538 if (_obj2)
5539 delete _arg2;
5540}
5541 return _resultobj;
5542}
5543
5544#define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5545static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject * _resultobj;
5547 bool _result;
5548 wxGridTableBase * _arg0;
5549 PyObject * _argo0 = 0;
5550 char *_kwnames[] = { "self", NULL };
5551
5552 self = self;
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5554 return NULL;
5555 if (_argo0) {
5556 if (_argo0 == Py_None) { _arg0 = NULL; }
5557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5559 return NULL;
5560 }
5561 }
5562{
0e2ff151 5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5564 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5565
0e2ff151 5566 wxPyEndAllowThreads(__tstate);
e6056257
RD
5567 if (PyErr_Occurred()) return NULL;
5568} _resultobj = Py_BuildValue("i",_result);
5569 return _resultobj;
5570}
5571
5572#define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5573static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject * _resultobj;
5575 wxGridCellAttr * _result;
5576 wxGridTableBase * _arg0;
5577 int _arg1;
5578 int _arg2;
5579 wxGridCellAttr::wxAttrKind _arg3;
5580 PyObject * _argo0 = 0;
5581 char *_kwnames[] = { "self","row","col","kind", NULL };
5582 char _ptemp[128];
5583
5584 self = self;
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5586 return NULL;
5587 if (_argo0) {
5588 if (_argo0 == Py_None) { _arg0 = NULL; }
5589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5591 return NULL;
5592 }
5593 }
5594{
0e2ff151 5595 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5596 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
5597
0e2ff151 5598 wxPyEndAllowThreads(__tstate);
e6056257
RD
5599 if (PyErr_Occurred()) return NULL;
5600} if (_result) {
5601 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5602 _resultobj = Py_BuildValue("s",_ptemp);
5603 } else {
5604 Py_INCREF(Py_None);
5605 _resultobj = Py_None;
5606 }
5607 return _resultobj;
5608}
5609
5610#define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5611static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5612 PyObject * _resultobj;
5613 wxGridTableBase * _arg0;
5614 wxGridCellAttr * _arg1;
5615 int _arg2;
5616 int _arg3;
5617 PyObject * _argo0 = 0;
5618 PyObject * _argo1 = 0;
5619 char *_kwnames[] = { "self","attr","row","col", NULL };
5620
5621 self = self;
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5623 return NULL;
5624 if (_argo0) {
5625 if (_argo0 == Py_None) { _arg0 = NULL; }
5626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5628 return NULL;
5629 }
5630 }
5631 if (_argo1) {
5632 if (_argo1 == Py_None) { _arg1 = NULL; }
5633 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5634 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5635 return NULL;
5636 }
5637 }
5638{
0e2ff151 5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5640 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5641
0e2ff151 5642 wxPyEndAllowThreads(__tstate);
e6056257
RD
5643 if (PyErr_Occurred()) return NULL;
5644} Py_INCREF(Py_None);
5645 _resultobj = Py_None;
5646 return _resultobj;
5647}
5648
5649#define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5650static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5651 PyObject * _resultobj;
5652 wxGridTableBase * _arg0;
5653 wxGridCellAttr * _arg1;
5654 int _arg2;
5655 PyObject * _argo0 = 0;
5656 PyObject * _argo1 = 0;
5657 char *_kwnames[] = { "self","attr","row", NULL };
5658
5659 self = self;
5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5661 return NULL;
5662 if (_argo0) {
5663 if (_argo0 == Py_None) { _arg0 = NULL; }
5664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5666 return NULL;
5667 }
5668 }
5669 if (_argo1) {
5670 if (_argo1 == Py_None) { _arg1 = NULL; }
5671 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5672 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5673 return NULL;
5674 }
5675 }
5676{
0e2ff151 5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5678 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5679
0e2ff151 5680 wxPyEndAllowThreads(__tstate);
e6056257
RD
5681 if (PyErr_Occurred()) return NULL;
5682} Py_INCREF(Py_None);
5683 _resultobj = Py_None;
5684 return _resultobj;
5685}
5686
5687#define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5688static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5689 PyObject * _resultobj;
5690 wxGridTableBase * _arg0;
5691 wxGridCellAttr * _arg1;
5692 int _arg2;
5693 PyObject * _argo0 = 0;
5694 PyObject * _argo1 = 0;
5695 char *_kwnames[] = { "self","attr","col", NULL };
5696
5697 self = self;
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5699 return NULL;
5700 if (_argo0) {
5701 if (_argo0 == Py_None) { _arg0 = NULL; }
5702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5704 return NULL;
5705 }
5706 }
5707 if (_argo1) {
5708 if (_argo1 == Py_None) { _arg1 = NULL; }
5709 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5710 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5711 return NULL;
5712 }
5713 }
5714{
0e2ff151 5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5716 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5717
0e2ff151 5718 wxPyEndAllowThreads(__tstate);
e6056257
RD
5719 if (PyErr_Occurred()) return NULL;
5720} Py_INCREF(Py_None);
5721 _resultobj = Py_None;
5722 return _resultobj;
5723}
5724
5725static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5726 wxPyGridTableBase *src;
5727 wxGridTableBase *dest;
5728 src = (wxPyGridTableBase *) ptr;
5729 dest = (wxGridTableBase *) src;
5730 return (void *) dest;
5731}
5732
5733static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5734 wxPyGridTableBase *src;
5735 wxObject *dest;
5736 src = (wxPyGridTableBase *) ptr;
5737 dest = (wxObject *) src;
5738 return (void *) dest;
5739}
5740
5741#define new_wxPyGridTableBase() (new wxPyGridTableBase())
5742static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject * _resultobj;
5744 wxPyGridTableBase * _result;
5745 char *_kwnames[] = { NULL };
5746 char _ptemp[128];
5747
5748 self = self;
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5750 return NULL;
5751{
0e2ff151 5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5753 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5754
0e2ff151 5755 wxPyEndAllowThreads(__tstate);
e6056257
RD
5756 if (PyErr_Occurred()) return NULL;
5757} if (_result) {
5758 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5759 _resultobj = Py_BuildValue("s",_ptemp);
5760 } else {
5761 Py_INCREF(Py_None);
5762 _resultobj = Py_None;
5763 }
5764 return _resultobj;
5765}
5766
5767#define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5768static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5769 PyObject * _resultobj;
5770 wxPyGridTableBase * _arg0;
5771 PyObject * _arg1;
5772 PyObject * _arg2;
5773 PyObject * _argo0 = 0;
5774 PyObject * _obj1 = 0;
5775 PyObject * _obj2 = 0;
5776 char *_kwnames[] = { "self","self","_class", NULL };
5777
5778 self = self;
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5780 return NULL;
5781 if (_argo0) {
5782 if (_argo0 == Py_None) { _arg0 = NULL; }
5783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5785 return NULL;
5786 }
5787 }
5788{
5789 _arg1 = _obj1;
5790}
5791{
5792 _arg2 = _obj2;
5793}
5794{
0e2ff151 5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5796 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
5797
0e2ff151 5798 wxPyEndAllowThreads(__tstate);
e6056257
RD
5799 if (PyErr_Occurred()) return NULL;
5800} Py_INCREF(Py_None);
5801 _resultobj = Py_None;
5802 return _resultobj;
5803}
5804
5805static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5806static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject * _resultobj;
5808 wxPyGridTableBase * _arg0;
5809 PyObject * _argo0 = 0;
5810 char *_kwnames[] = { "self", NULL };
5811
5812 self = self;
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5814 return NULL;
5815 if (_argo0) {
5816 if (_argo0 == Py_None) { _arg0 = NULL; }
5817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5819 return NULL;
5820 }
5821 }
5822{
0e2ff151 5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5824 wxPyGridTableBase_Destroy(_arg0);
5825
0e2ff151 5826 wxPyEndAllowThreads(__tstate);
e6056257
RD
5827 if (PyErr_Occurred()) return NULL;
5828} Py_INCREF(Py_None);
5829 _resultobj = Py_None;
5830 return _resultobj;
5831}
5832
5833#define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5834static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5835 PyObject * _resultobj;
5836 wxString * _result;
5837 wxPyGridTableBase * _arg0;
5838 int _arg1;
5839 int _arg2;
5840 PyObject * _argo0 = 0;
5841 char *_kwnames[] = { "self","row","col", NULL };
5842
5843 self = self;
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5845 return NULL;
5846 if (_argo0) {
5847 if (_argo0 == Py_None) { _arg0 = NULL; }
5848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5850 return NULL;
5851 }
5852 }
5853{
0e2ff151 5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5855 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5856
0e2ff151 5857 wxPyEndAllowThreads(__tstate);
e6056257
RD
5858 if (PyErr_Occurred()) return NULL;
5859}{
5860 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5861}
5862{
5863 delete _result;
5864}
5865 return _resultobj;
5866}
5867
5868#define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5869static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject * _resultobj;
5871 bool _result;
5872 wxPyGridTableBase * _arg0;
5873 int _arg1;
5874 int _arg2;
5875 wxString * _arg3;
5876 PyObject * _argo0 = 0;
5877 PyObject * _obj3 = 0;
5878 char *_kwnames[] = { "self","row","col","typeName", NULL };
5879
5880 self = self;
5881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5882 return NULL;
5883 if (_argo0) {
5884 if (_argo0 == Py_None) { _arg0 = NULL; }
5885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5887 return NULL;
5888 }
5889 }
5890{
5891#if PYTHON_API_VERSION >= 1009
5892 char* tmpPtr; int tmpSize;
5893 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5894 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5895 return NULL;
5896 }
5897 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5898 return NULL;
5899 _arg3 = new wxString(tmpPtr, tmpSize);
5900#else
5901 if (!PyString_Check(_obj3)) {
5902 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5903 return NULL;
5904 }
5905 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5906#endif
5907}
5908{
0e2ff151 5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5910 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5911
0e2ff151 5912 wxPyEndAllowThreads(__tstate);
e6056257
RD
5913 if (PyErr_Occurred()) return NULL;
5914} _resultobj = Py_BuildValue("i",_result);
5915{
5916 if (_obj3)
5917 delete _arg3;
5918}
5919 return _resultobj;
5920}
5921
5922#define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5923static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject * _resultobj;
5925 bool _result;
5926 wxPyGridTableBase * _arg0;
5927 int _arg1;
5928 int _arg2;
5929 wxString * _arg3;
5930 PyObject * _argo0 = 0;
5931 PyObject * _obj3 = 0;
5932 char *_kwnames[] = { "self","row","col","typeName", NULL };
5933
5934 self = self;
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5936 return NULL;
5937 if (_argo0) {
5938 if (_argo0 == Py_None) { _arg0 = NULL; }
5939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5941 return NULL;
5942 }
5943 }
5944{
5945#if PYTHON_API_VERSION >= 1009
5946 char* tmpPtr; int tmpSize;
5947 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5948 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5949 return NULL;
5950 }
5951 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5952 return NULL;
5953 _arg3 = new wxString(tmpPtr, tmpSize);
5954#else
5955 if (!PyString_Check(_obj3)) {
5956 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5957 return NULL;
5958 }
5959 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5960#endif
5961}
5962{
0e2ff151 5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5964 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5965
0e2ff151 5966 wxPyEndAllowThreads(__tstate);
e6056257
RD
5967 if (PyErr_Occurred()) return NULL;
5968} _resultobj = Py_BuildValue("i",_result);
5969{
5970 if (_obj3)
5971 delete _arg3;
5972}
5973 return _resultobj;
5974}
5975
5976#define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5977static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5978 PyObject * _resultobj;
5979 wxPyGridTableBase * _arg0;
5980 PyObject * _argo0 = 0;
5981 char *_kwnames[] = { "self", NULL };
5982
5983 self = self;
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5985 return NULL;
5986 if (_argo0) {
5987 if (_argo0 == Py_None) { _arg0 = NULL; }
5988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5990 return NULL;
5991 }
5992 }
5993{
0e2ff151 5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
5995 wxPyGridTableBase_base_Clear(_arg0);
5996
0e2ff151 5997 wxPyEndAllowThreads(__tstate);
e6056257
RD
5998 if (PyErr_Occurred()) return NULL;
5999} Py_INCREF(Py_None);
6000 _resultobj = Py_None;
6001 return _resultobj;
6002}
6003
6004#define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6005static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject * _resultobj;
6007 bool _result;
6008 wxPyGridTableBase * _arg0;
6009 size_t _arg1 = (size_t ) 0;
6010 size_t _arg2 = (size_t ) 1;
6011 PyObject * _argo0 = 0;
6012 char *_kwnames[] = { "self","pos","numRows", NULL };
6013
6014 self = self;
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
6016 return NULL;
6017 if (_argo0) {
6018 if (_argo0 == Py_None) { _arg0 = NULL; }
6019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6021 return NULL;
6022 }
6023 }
6024{
0e2ff151 6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6026 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
6027
0e2ff151 6028 wxPyEndAllowThreads(__tstate);
e6056257
RD
6029 if (PyErr_Occurred()) return NULL;
6030} _resultobj = Py_BuildValue("i",_result);
6031 return _resultobj;
6032}
6033
6034#define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6035static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject * _resultobj;
6037 bool _result;
6038 wxPyGridTableBase * _arg0;
6039 size_t _arg1 = (size_t ) 1;
6040 PyObject * _argo0 = 0;
6041 char *_kwnames[] = { "self","numRows", NULL };
6042
6043 self = self;
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
6045 return NULL;
6046 if (_argo0) {
6047 if (_argo0 == Py_None) { _arg0 = NULL; }
6048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6050 return NULL;
6051 }
6052 }
6053{
0e2ff151 6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6055 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
6056
0e2ff151 6057 wxPyEndAllowThreads(__tstate);
e6056257
RD
6058 if (PyErr_Occurred()) return NULL;
6059} _resultobj = Py_BuildValue("i",_result);
6060 return _resultobj;
6061}
6062
6063#define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6064static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6065 PyObject * _resultobj;
6066 bool _result;
6067 wxPyGridTableBase * _arg0;
6068 size_t _arg1 = (size_t ) 0;
6069 size_t _arg2 = (size_t ) 1;
6070 PyObject * _argo0 = 0;
6071 char *_kwnames[] = { "self","pos","numRows", NULL };
6072
6073 self = self;
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
6075 return NULL;
6076 if (_argo0) {
6077 if (_argo0 == Py_None) { _arg0 = NULL; }
6078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6080 return NULL;
6081 }
6082 }
6083{
0e2ff151 6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6085 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
6086
0e2ff151 6087 wxPyEndAllowThreads(__tstate);
e6056257
RD
6088 if (PyErr_Occurred()) return NULL;
6089} _resultobj = Py_BuildValue("i",_result);
6090 return _resultobj;
6091}
6092
6093#define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6094static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject * _resultobj;
6096 bool _result;
6097 wxPyGridTableBase * _arg0;
6098 size_t _arg1 = (size_t ) 0;
6099 size_t _arg2 = (size_t ) 1;
6100 PyObject * _argo0 = 0;
6101 char *_kwnames[] = { "self","pos","numCols", NULL };
6102
6103 self = self;
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
6105 return NULL;
6106 if (_argo0) {
6107 if (_argo0 == Py_None) { _arg0 = NULL; }
6108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6110 return NULL;
6111 }
6112 }
6113{
0e2ff151 6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6115 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
6116
0e2ff151 6117 wxPyEndAllowThreads(__tstate);
e6056257
RD
6118 if (PyErr_Occurred()) return NULL;
6119} _resultobj = Py_BuildValue("i",_result);
6120 return _resultobj;
6121}
6122
6123#define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6124static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject * _resultobj;
6126 bool _result;
6127 wxPyGridTableBase * _arg0;
6128 size_t _arg1 = (size_t ) 1;
6129 PyObject * _argo0 = 0;
6130 char *_kwnames[] = { "self","numCols", NULL };
6131
6132 self = self;
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
6134 return NULL;
6135 if (_argo0) {
6136 if (_argo0 == Py_None) { _arg0 = NULL; }
6137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6139 return NULL;
6140 }
6141 }
6142{
0e2ff151 6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6144 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
6145
0e2ff151 6146 wxPyEndAllowThreads(__tstate);
e6056257
RD
6147 if (PyErr_Occurred()) return NULL;
6148} _resultobj = Py_BuildValue("i",_result);
6149 return _resultobj;
6150}
6151
6152#define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6153static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject * _resultobj;
6155 bool _result;
6156 wxPyGridTableBase * _arg0;
6157 size_t _arg1 = (size_t ) 0;
6158 size_t _arg2 = (size_t ) 1;
6159 PyObject * _argo0 = 0;
6160 char *_kwnames[] = { "self","pos","numCols", NULL };
6161
6162 self = self;
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
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_DeleteCols. Expected _wxPyGridTableBase_p.");
6169 return NULL;
6170 }
6171 }
6172{
0e2ff151 6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6174 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
6175
0e2ff151 6176 wxPyEndAllowThreads(__tstate);
e6056257
RD
6177 if (PyErr_Occurred()) return NULL;
6178} _resultobj = Py_BuildValue("i",_result);
6179 return _resultobj;
6180}
6181
6182#define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6183static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6184 PyObject * _resultobj;
6185 wxString * _result;
6186 wxPyGridTableBase * _arg0;
6187 int _arg1;
6188 PyObject * _argo0 = 0;
6189 char *_kwnames[] = { "self","row", NULL };
6190
6191 self = self;
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
6193 return NULL;
6194 if (_argo0) {
6195 if (_argo0 == Py_None) { _arg0 = NULL; }
6196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6198 return NULL;
6199 }
6200 }
6201{
0e2ff151 6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6203 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
6204
0e2ff151 6205 wxPyEndAllowThreads(__tstate);
e6056257
RD
6206 if (PyErr_Occurred()) return NULL;
6207}{
6208 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6209}
6210{
6211 delete _result;
6212}
6213 return _resultobj;
6214}
6215
6216#define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6217static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6218 PyObject * _resultobj;
6219 wxString * _result;
6220 wxPyGridTableBase * _arg0;
6221 int _arg1;
6222 PyObject * _argo0 = 0;
6223 char *_kwnames[] = { "self","col", NULL };
6224
6225 self = self;
6226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6227 return NULL;
6228 if (_argo0) {
6229 if (_argo0 == Py_None) { _arg0 = NULL; }
6230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6232 return NULL;
6233 }
6234 }
6235{
0e2ff151 6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6237 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
6238
0e2ff151 6239 wxPyEndAllowThreads(__tstate);
e6056257
RD
6240 if (PyErr_Occurred()) return NULL;
6241}{
6242 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6243}
6244{
6245 delete _result;
6246}
6247 return _resultobj;
6248}
6249
6250#define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6251static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6252 PyObject * _resultobj;
6253 wxPyGridTableBase * _arg0;
6254 int _arg1;
6255 wxString * _arg2;
6256 PyObject * _argo0 = 0;
6257 PyObject * _obj2 = 0;
6258 char *_kwnames[] = { "self","row","value", NULL };
6259
6260 self = self;
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6262 return NULL;
6263 if (_argo0) {
6264 if (_argo0 == Py_None) { _arg0 = NULL; }
6265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6267 return NULL;
6268 }
6269 }
6270{
6271#if PYTHON_API_VERSION >= 1009
6272 char* tmpPtr; int tmpSize;
6273 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6274 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6275 return NULL;
6276 }
6277 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6278 return NULL;
6279 _arg2 = new wxString(tmpPtr, tmpSize);
6280#else
6281 if (!PyString_Check(_obj2)) {
6282 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6283 return NULL;
6284 }
6285 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6286#endif
6287}
6288{
0e2ff151 6289 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6290 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
6291
0e2ff151 6292 wxPyEndAllowThreads(__tstate);
e6056257
RD
6293 if (PyErr_Occurred()) return NULL;
6294} Py_INCREF(Py_None);
6295 _resultobj = Py_None;
6296{
6297 if (_obj2)
6298 delete _arg2;
6299}
6300 return _resultobj;
6301}
6302
6303#define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6304static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject * _resultobj;
6306 wxPyGridTableBase * _arg0;
6307 int _arg1;
6308 wxString * _arg2;
6309 PyObject * _argo0 = 0;
6310 PyObject * _obj2 = 0;
6311 char *_kwnames[] = { "self","col","value", NULL };
6312
6313 self = self;
6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6315 return NULL;
6316 if (_argo0) {
6317 if (_argo0 == Py_None) { _arg0 = NULL; }
6318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6320 return NULL;
6321 }
6322 }
6323{
6324#if PYTHON_API_VERSION >= 1009
6325 char* tmpPtr; int tmpSize;
6326 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6327 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6328 return NULL;
6329 }
6330 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6331 return NULL;
6332 _arg2 = new wxString(tmpPtr, tmpSize);
6333#else
6334 if (!PyString_Check(_obj2)) {
6335 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6336 return NULL;
6337 }
6338 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6339#endif
6340}
6341{
0e2ff151 6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6343 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6344
0e2ff151 6345 wxPyEndAllowThreads(__tstate);
e6056257
RD
6346 if (PyErr_Occurred()) return NULL;
6347} Py_INCREF(Py_None);
6348 _resultobj = Py_None;
6349{
6350 if (_obj2)
6351 delete _arg2;
6352}
6353 return _resultobj;
6354}
6355
6356#define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6357static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6358 PyObject * _resultobj;
6359 bool _result;
6360 wxPyGridTableBase * _arg0;
6361 PyObject * _argo0 = 0;
6362 char *_kwnames[] = { "self", NULL };
6363
6364 self = self;
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6366 return NULL;
6367 if (_argo0) {
6368 if (_argo0 == Py_None) { _arg0 = NULL; }
6369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6371 return NULL;
6372 }
6373 }
6374{
0e2ff151 6375 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6376 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6377
0e2ff151 6378 wxPyEndAllowThreads(__tstate);
e6056257
RD
6379 if (PyErr_Occurred()) return NULL;
6380} _resultobj = Py_BuildValue("i",_result);
6381 return _resultobj;
6382}
6383
6384#define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6385static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject * _resultobj;
6387 wxGridCellAttr * _result;
6388 wxPyGridTableBase * _arg0;
6389 int _arg1;
6390 int _arg2;
6391 wxGridCellAttr::wxAttrKind _arg3;
6392 PyObject * _argo0 = 0;
6393 char *_kwnames[] = { "self","row","col","kind", NULL };
6394 char _ptemp[128];
6395
6396 self = self;
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6398 return NULL;
6399 if (_argo0) {
6400 if (_argo0 == Py_None) { _arg0 = NULL; }
6401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6403 return NULL;
6404 }
6405 }
6406{
0e2ff151 6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6408 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6409
0e2ff151 6410 wxPyEndAllowThreads(__tstate);
e6056257
RD
6411 if (PyErr_Occurred()) return NULL;
6412} if (_result) {
6413 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
6414 _resultobj = Py_BuildValue("s",_ptemp);
6415 } else {
6416 Py_INCREF(Py_None);
6417 _resultobj = Py_None;
6418 }
6419 return _resultobj;
6420}
6421
6422#define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6423static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject * _resultobj;
6425 wxPyGridTableBase * _arg0;
6426 wxGridCellAttr * _arg1;
6427 int _arg2;
6428 int _arg3;
6429 PyObject * _argo0 = 0;
6430 PyObject * _argo1 = 0;
6431 char *_kwnames[] = { "self","attr","row","col", NULL };
6432
6433 self = self;
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6435 return NULL;
6436 if (_argo0) {
6437 if (_argo0 == Py_None) { _arg0 = NULL; }
6438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6440 return NULL;
6441 }
6442 }
6443 if (_argo1) {
6444 if (_argo1 == Py_None) { _arg1 = NULL; }
6445 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6446 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6447 return NULL;
6448 }
6449 }
6450{
0e2ff151 6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6452 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6453
0e2ff151 6454 wxPyEndAllowThreads(__tstate);
e6056257
RD
6455 if (PyErr_Occurred()) return NULL;
6456} Py_INCREF(Py_None);
6457 _resultobj = Py_None;
6458 return _resultobj;
6459}
6460
6461#define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6462static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6463 PyObject * _resultobj;
6464 wxPyGridTableBase * _arg0;
6465 wxGridCellAttr * _arg1;
6466 int _arg2;
6467 PyObject * _argo0 = 0;
6468 PyObject * _argo1 = 0;
6469 char *_kwnames[] = { "self","attr","row", NULL };
6470
6471 self = self;
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6473 return NULL;
6474 if (_argo0) {
6475 if (_argo0 == Py_None) { _arg0 = NULL; }
6476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6478 return NULL;
6479 }
6480 }
6481 if (_argo1) {
6482 if (_argo1 == Py_None) { _arg1 = NULL; }
6483 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6484 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6485 return NULL;
6486 }
6487 }
6488{
0e2ff151 6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6490 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6491
0e2ff151 6492 wxPyEndAllowThreads(__tstate);
e6056257
RD
6493 if (PyErr_Occurred()) return NULL;
6494} Py_INCREF(Py_None);
6495 _resultobj = Py_None;
6496 return _resultobj;
6497}
6498
6499#define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6500static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject * _resultobj;
6502 wxPyGridTableBase * _arg0;
6503 wxGridCellAttr * _arg1;
6504 int _arg2;
6505 PyObject * _argo0 = 0;
6506 PyObject * _argo1 = 0;
6507 char *_kwnames[] = { "self","attr","col", NULL };
6508
6509 self = self;
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6511 return NULL;
6512 if (_argo0) {
6513 if (_argo0 == Py_None) { _arg0 = NULL; }
6514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6516 return NULL;
6517 }
6518 }
6519 if (_argo1) {
6520 if (_argo1 == Py_None) { _arg1 = NULL; }
6521 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6522 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6523 return NULL;
6524 }
6525 }
6526{
0e2ff151 6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6528 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6529
0e2ff151 6530 wxPyEndAllowThreads(__tstate);
e6056257
RD
6531 if (PyErr_Occurred()) return NULL;
6532} Py_INCREF(Py_None);
6533 _resultobj = Py_None;
6534 return _resultobj;
6535}
6536
6537static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6538 wxGridStringTable *src;
6539 wxGridTableBase *dest;
6540 src = (wxGridStringTable *) ptr;
6541 dest = (wxGridTableBase *) src;
6542 return (void *) dest;
6543}
6544
6545static void *SwigwxGridStringTableTowxObject(void *ptr) {
6546 wxGridStringTable *src;
6547 wxObject *dest;
6548 src = (wxGridStringTable *) ptr;
6549 dest = (wxObject *) src;
6550 return (void *) dest;
6551}
6552
6553#define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6554static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject * _resultobj;
6556 wxGridStringTable * _result;
6557 int _arg0 = (int ) 0;
6558 int _arg1 = (int ) 0;
6559 char *_kwnames[] = { "numRows","numCols", NULL };
6560 char _ptemp[128];
6561
6562 self = self;
6563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6564 return NULL;
6565{
0e2ff151 6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6567 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6568
0e2ff151 6569 wxPyEndAllowThreads(__tstate);
e6056257
RD
6570 if (PyErr_Occurred()) return NULL;
6571} if (_result) {
6572 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6573 _resultobj = Py_BuildValue("s",_ptemp);
6574 } else {
6575 Py_INCREF(Py_None);
6576 _resultobj = Py_None;
6577 }
6578 return _resultobj;
6579}
6580
6581#define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6582static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6583 PyObject * _resultobj;
6584 wxGridTableMessage * _result;
6585 wxGridTableBase * _arg0;
6586 int _arg1;
6587 int _arg2 = (int ) -1;
6588 int _arg3 = (int ) -1;
6589 PyObject * _argo0 = 0;
6590 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6591 char _ptemp[128];
6592
6593 self = self;
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6595 return NULL;
6596 if (_argo0) {
6597 if (_argo0 == Py_None) { _arg0 = NULL; }
6598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6600 return NULL;
6601 }
6602 }
6603{
0e2ff151 6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6605 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6606
0e2ff151 6607 wxPyEndAllowThreads(__tstate);
e6056257
RD
6608 if (PyErr_Occurred()) return NULL;
6609} if (_result) {
6610 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6611 _resultobj = Py_BuildValue("s",_ptemp);
6612 } else {
6613 Py_INCREF(Py_None);
6614 _resultobj = Py_None;
6615 }
6616 return _resultobj;
6617}
6618
6619#define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6620static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6621 PyObject * _resultobj;
6622 wxGridTableMessage * _arg0;
6623 PyObject * _argo0 = 0;
6624 char *_kwnames[] = { "self", NULL };
6625
6626 self = self;
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6628 return NULL;
6629 if (_argo0) {
6630 if (_argo0 == Py_None) { _arg0 = NULL; }
6631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6633 return NULL;
6634 }
6635 }
6636{
0e2ff151 6637 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6638 delete_wxGridTableMessage(_arg0);
6639
0e2ff151 6640 wxPyEndAllowThreads(__tstate);
e6056257
RD
6641 if (PyErr_Occurred()) return NULL;
6642} Py_INCREF(Py_None);
6643 _resultobj = Py_None;
6644 return _resultobj;
6645}
6646
6647#define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6648static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6649 PyObject * _resultobj;
6650 wxGridTableMessage * _arg0;
6651 wxGridTableBase * _arg1;
6652 PyObject * _argo0 = 0;
6653 PyObject * _argo1 = 0;
6654 char *_kwnames[] = { "self","table", NULL };
6655
6656 self = self;
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6658 return NULL;
6659 if (_argo0) {
6660 if (_argo0 == Py_None) { _arg0 = NULL; }
6661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6663 return NULL;
6664 }
6665 }
6666 if (_argo1) {
6667 if (_argo1 == Py_None) { _arg1 = NULL; }
6668 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6669 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6670 return NULL;
6671 }
6672 }
6673{
0e2ff151 6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6675 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6676
0e2ff151 6677 wxPyEndAllowThreads(__tstate);
e6056257
RD
6678 if (PyErr_Occurred()) return NULL;
6679} Py_INCREF(Py_None);
6680 _resultobj = Py_None;
6681 return _resultobj;
6682}
6683
6684#define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6685static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6686 PyObject * _resultobj;
6687 wxGridTableBase * _result;
6688 wxGridTableMessage * _arg0;
6689 PyObject * _argo0 = 0;
6690 char *_kwnames[] = { "self", NULL };
6691
6692 self = self;
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6694 return NULL;
6695 if (_argo0) {
6696 if (_argo0 == Py_None) { _arg0 = NULL; }
6697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6699 return NULL;
6700 }
6701 }
6702{
0e2ff151 6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6704 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6705
0e2ff151 6706 wxPyEndAllowThreads(__tstate);
e6056257
RD
6707 if (PyErr_Occurred()) return NULL;
6708}{ _resultobj = wxPyMake_wxObject(_result); }
6709 return _resultobj;
6710}
6711
6712#define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6713static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject * _resultobj;
6715 wxGridTableMessage * _arg0;
6716 int _arg1;
6717 PyObject * _argo0 = 0;
6718 char *_kwnames[] = { "self","id", NULL };
6719
6720 self = self;
6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6722 return NULL;
6723 if (_argo0) {
6724 if (_argo0 == Py_None) { _arg0 = NULL; }
6725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6727 return NULL;
6728 }
6729 }
6730{
0e2ff151 6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6732 wxGridTableMessage_SetId(_arg0,_arg1);
6733
0e2ff151 6734 wxPyEndAllowThreads(__tstate);
e6056257
RD
6735 if (PyErr_Occurred()) return NULL;
6736} Py_INCREF(Py_None);
6737 _resultobj = Py_None;
6738 return _resultobj;
6739}
6740
6741#define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6742static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject * _resultobj;
6744 int _result;
6745 wxGridTableMessage * _arg0;
6746 PyObject * _argo0 = 0;
6747 char *_kwnames[] = { "self", NULL };
6748
6749 self = self;
6750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6751 return NULL;
6752 if (_argo0) {
6753 if (_argo0 == Py_None) { _arg0 = NULL; }
6754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6756 return NULL;
6757 }
6758 }
6759{
0e2ff151 6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6761 _result = (int )wxGridTableMessage_GetId(_arg0);
6762
0e2ff151 6763 wxPyEndAllowThreads(__tstate);
e6056257
RD
6764 if (PyErr_Occurred()) return NULL;
6765} _resultobj = Py_BuildValue("i",_result);
6766 return _resultobj;
6767}
6768
6769#define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6770static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6771 PyObject * _resultobj;
6772 wxGridTableMessage * _arg0;
6773 int _arg1;
6774 PyObject * _argo0 = 0;
6775 char *_kwnames[] = { "self","comInt1", NULL };
6776
6777 self = self;
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6779 return NULL;
6780 if (_argo0) {
6781 if (_argo0 == Py_None) { _arg0 = NULL; }
6782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6784 return NULL;
6785 }
6786 }
6787{
0e2ff151 6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6789 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6790
0e2ff151 6791 wxPyEndAllowThreads(__tstate);
e6056257
RD
6792 if (PyErr_Occurred()) return NULL;
6793} Py_INCREF(Py_None);
6794 _resultobj = Py_None;
6795 return _resultobj;
6796}
6797
6798#define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6799static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6800 PyObject * _resultobj;
6801 int _result;
6802 wxGridTableMessage * _arg0;
6803 PyObject * _argo0 = 0;
6804 char *_kwnames[] = { "self", NULL };
6805
6806 self = self;
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6808 return NULL;
6809 if (_argo0) {
6810 if (_argo0 == Py_None) { _arg0 = NULL; }
6811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6813 return NULL;
6814 }
6815 }
6816{
0e2ff151 6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6818 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6819
0e2ff151 6820 wxPyEndAllowThreads(__tstate);
e6056257
RD
6821 if (PyErr_Occurred()) return NULL;
6822} _resultobj = Py_BuildValue("i",_result);
6823 return _resultobj;
6824}
6825
6826#define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6827static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject * _resultobj;
6829 wxGridTableMessage * _arg0;
6830 int _arg1;
6831 PyObject * _argo0 = 0;
6832 char *_kwnames[] = { "self","comInt2", NULL };
6833
6834 self = self;
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6836 return NULL;
6837 if (_argo0) {
6838 if (_argo0 == Py_None) { _arg0 = NULL; }
6839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6841 return NULL;
6842 }
6843 }
6844{
0e2ff151 6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6846 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6847
0e2ff151 6848 wxPyEndAllowThreads(__tstate);
e6056257
RD
6849 if (PyErr_Occurred()) return NULL;
6850} Py_INCREF(Py_None);
6851 _resultobj = Py_None;
6852 return _resultobj;
6853}
6854
6855#define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6856static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6857 PyObject * _resultobj;
6858 int _result;
6859 wxGridTableMessage * _arg0;
6860 PyObject * _argo0 = 0;
6861 char *_kwnames[] = { "self", NULL };
6862
6863 self = self;
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6865 return NULL;
6866 if (_argo0) {
6867 if (_argo0 == Py_None) { _arg0 = NULL; }
6868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6870 return NULL;
6871 }
6872 }
6873{
0e2ff151 6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6875 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6876
0e2ff151 6877 wxPyEndAllowThreads(__tstate);
e6056257
RD
6878 if (PyErr_Occurred()) return NULL;
6879} _resultobj = Py_BuildValue("i",_result);
6880 return _resultobj;
6881}
6882
6883#define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6884static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6885 PyObject * _resultobj;
6886 wxGridCellCoords * _result;
6887 int _arg0 = (int ) -1;
6888 int _arg1 = (int ) -1;
6889 char *_kwnames[] = { "r","c", NULL };
6890 char _ptemp[128];
6891
6892 self = self;
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6894 return NULL;
6895{
0e2ff151 6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6897 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6898
0e2ff151 6899 wxPyEndAllowThreads(__tstate);
e6056257
RD
6900 if (PyErr_Occurred()) return NULL;
6901} if (_result) {
6902 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6903 _resultobj = Py_BuildValue("s",_ptemp);
6904 } else {
6905 Py_INCREF(Py_None);
6906 _resultobj = Py_None;
6907 }
6908 return _resultobj;
6909}
6910
6911#define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6912static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6913 PyObject * _resultobj;
6914 wxGridCellCoords * _arg0;
6915 PyObject * _argo0 = 0;
6916 char *_kwnames[] = { "self", NULL };
6917
6918 self = self;
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6920 return NULL;
6921 if (_argo0) {
6922 if (_argo0 == Py_None) { _arg0 = NULL; }
6923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6925 return NULL;
6926 }
6927 }
6928{
0e2ff151 6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6930 delete_wxGridCellCoords(_arg0);
6931
0e2ff151 6932 wxPyEndAllowThreads(__tstate);
e6056257
RD
6933 if (PyErr_Occurred()) return NULL;
6934} Py_INCREF(Py_None);
6935 _resultobj = Py_None;
6936 return _resultobj;
6937}
6938
6939#define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6940static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6941 PyObject * _resultobj;
6942 int _result;
6943 wxGridCellCoords * _arg0;
6944 PyObject * _argo0 = 0;
6945 char *_kwnames[] = { "self", NULL };
6946
6947 self = self;
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6949 return NULL;
6950 if (_argo0) {
6951 if (_argo0 == Py_None) { _arg0 = NULL; }
6952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6954 return NULL;
6955 }
6956 }
6957{
0e2ff151 6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6959 _result = (int )wxGridCellCoords_GetRow(_arg0);
6960
0e2ff151 6961 wxPyEndAllowThreads(__tstate);
e6056257
RD
6962 if (PyErr_Occurred()) return NULL;
6963} _resultobj = Py_BuildValue("i",_result);
6964 return _resultobj;
6965}
6966
6967#define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6968static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6969 PyObject * _resultobj;
6970 wxGridCellCoords * _arg0;
6971 int _arg1;
6972 PyObject * _argo0 = 0;
6973 char *_kwnames[] = { "self","n", NULL };
6974
6975 self = self;
6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6977 return NULL;
6978 if (_argo0) {
6979 if (_argo0 == Py_None) { _arg0 = NULL; }
6980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6982 return NULL;
6983 }
6984 }
6985{
0e2ff151 6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
6987 wxGridCellCoords_SetRow(_arg0,_arg1);
6988
0e2ff151 6989 wxPyEndAllowThreads(__tstate);
e6056257
RD
6990 if (PyErr_Occurred()) return NULL;
6991} Py_INCREF(Py_None);
6992 _resultobj = Py_None;
6993 return _resultobj;
6994}
6995
6996#define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6997static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6998 PyObject * _resultobj;
6999 int _result;
7000 wxGridCellCoords * _arg0;
7001 PyObject * _argo0 = 0;
7002 char *_kwnames[] = { "self", NULL };
7003
7004 self = self;
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
7006 return NULL;
7007 if (_argo0) {
7008 if (_argo0 == Py_None) { _arg0 = NULL; }
7009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7011 return NULL;
7012 }
7013 }
7014{
0e2ff151 7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7016 _result = (int )wxGridCellCoords_GetCol(_arg0);
7017
0e2ff151 7018 wxPyEndAllowThreads(__tstate);
e6056257
RD
7019 if (PyErr_Occurred()) return NULL;
7020} _resultobj = Py_BuildValue("i",_result);
7021 return _resultobj;
7022}
7023
7024#define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7025static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7026 PyObject * _resultobj;
7027 wxGridCellCoords * _arg0;
7028 int _arg1;
7029 PyObject * _argo0 = 0;
7030 char *_kwnames[] = { "self","n", NULL };
7031
7032 self = self;
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
7034 return NULL;
7035 if (_argo0) {
7036 if (_argo0 == Py_None) { _arg0 = NULL; }
7037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7039 return NULL;
7040 }
7041 }
7042{
0e2ff151 7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7044 wxGridCellCoords_SetCol(_arg0,_arg1);
7045
0e2ff151 7046 wxPyEndAllowThreads(__tstate);
e6056257
RD
7047 if (PyErr_Occurred()) return NULL;
7048} Py_INCREF(Py_None);
7049 _resultobj = Py_None;
7050 return _resultobj;
7051}
7052
7053#define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7054static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject * _resultobj;
7056 wxGridCellCoords * _arg0;
7057 int _arg1;
7058 int _arg2;
7059 PyObject * _argo0 = 0;
7060 char *_kwnames[] = { "self","row","col", NULL };
7061
7062 self = self;
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
7064 return NULL;
7065 if (_argo0) {
7066 if (_argo0 == Py_None) { _arg0 = NULL; }
7067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7069 return NULL;
7070 }
7071 }
7072{
0e2ff151 7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7074 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
7075
0e2ff151 7076 wxPyEndAllowThreads(__tstate);
e6056257
RD
7077 if (PyErr_Occurred()) return NULL;
7078} Py_INCREF(Py_None);
7079 _resultobj = Py_None;
7080 return _resultobj;
7081}
7082
7083static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
7084 PyObject* tup = PyTuple_New(2);
7085 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
7086 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
7087 return tup;
7088 }
7089static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7090 PyObject * _resultobj;
7091 PyObject * _result;
7092 wxGridCellCoords * _arg0;
7093 PyObject * _argo0 = 0;
7094 char *_kwnames[] = { "self", NULL };
7095
7096 self = self;
7097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
7098 return NULL;
7099 if (_argo0) {
7100 if (_argo0 == Py_None) { _arg0 = NULL; }
7101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7103 return NULL;
7104 }
7105 }
7106{
0e2ff151 7107 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7108 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
7109
0e2ff151 7110 wxPyEndAllowThreads(__tstate);
e6056257
RD
7111 if (PyErr_Occurred()) return NULL;
7112}{
7113 _resultobj = _result;
7114}
7115 return _resultobj;
7116}
7117
7118static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
7119 return *self != other;
7120 }
7121static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
7122 PyObject * _resultobj;
7123 int _result;
7124 wxGridCellCoords * _arg0;
7125 wxGridCellCoords * _arg1;
7126 PyObject * _argo0 = 0;
7127 PyObject * _argo1 = 0;
7128 char *_kwnames[] = { "self","other", NULL };
7129
7130 self = self;
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
7132 return NULL;
7133 if (_argo0) {
7134 if (_argo0 == Py_None) { _arg0 = NULL; }
7135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7137 return NULL;
7138 }
7139 }
7140 if (_argo1) {
7141 if (_argo1 == Py_None) { _arg1 = NULL; }
7142 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
7143 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7144 return NULL;
7145 }
7146 }
7147{
0e2ff151 7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7149 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
7150
0e2ff151 7151 wxPyEndAllowThreads(__tstate);
e6056257
RD
7152 if (PyErr_Occurred()) return NULL;
7153} _resultobj = Py_BuildValue("i",_result);
7154 return _resultobj;
7155}
7156
7157static void *SwigwxGridTowxScrolledWindow(void *ptr) {
7158 wxGrid *src;
7159 wxScrolledWindow *dest;
7160 src = (wxGrid *) ptr;
7161 dest = (wxScrolledWindow *) src;
7162 return (void *) dest;
7163}
7164
7165static void *SwigwxGridTowxPanel(void *ptr) {
7166 wxGrid *src;
7167 wxPanel *dest;
7168 src = (wxGrid *) ptr;
7169 dest = (wxPanel *) src;
7170 return (void *) dest;
7171}
7172
7173static void *SwigwxGridTowxWindow(void *ptr) {
7174 wxGrid *src;
7175 wxWindow *dest;
7176 src = (wxGrid *) ptr;
7177 dest = (wxWindow *) src;
7178 return (void *) dest;
7179}
7180
7181static void *SwigwxGridTowxEvtHandler(void *ptr) {
7182 wxGrid *src;
7183 wxEvtHandler *dest;
7184 src = (wxGrid *) ptr;
7185 dest = (wxEvtHandler *) src;
7186 return (void *) dest;
7187}
7188
7189static void *SwigwxGridTowxObject(void *ptr) {
7190 wxGrid *src;
7191 wxObject *dest;
7192 src = (wxGrid *) ptr;
7193 dest = (wxObject *) src;
7194 return (void *) dest;
7195}
7196
7197#define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7198static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7199 PyObject * _resultobj;
7200 wxGrid * _result;
7201 wxWindow * _arg0;
7202 wxWindowID _arg1;
7203 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7204 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7205 long _arg4 = (long ) wxWANTS_CHARS;
7206 char * _arg5 = (char *) wxPanelNameStr;
7207 PyObject * _argo0 = 0;
7208 wxPoint temp;
7209 PyObject * _obj2 = 0;
7210 wxSize temp0;
7211 PyObject * _obj3 = 0;
7212 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7213 char _ptemp[128];
7214
7215 self = self;
7216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
7217 return NULL;
7218 if (_argo0) {
7219 if (_argo0 == Py_None) { _arg0 = NULL; }
7220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7222 return NULL;
7223 }
7224 }
7225 if (_obj2)
7226{
7227 _arg2 = &temp;
7228 if (! wxPoint_helper(_obj2, &_arg2))
7229 return NULL;
7230}
7231 if (_obj3)
7232{
7233 _arg3 = &temp0;
7234 if (! wxSize_helper(_obj3, &_arg3))
7235 return NULL;
7236}
7237{
0e2ff151 7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7239 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
7240
0e2ff151 7241 wxPyEndAllowThreads(__tstate);
e6056257
RD
7242 if (PyErr_Occurred()) return NULL;
7243} if (_result) {
7244 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7245 _resultobj = Py_BuildValue("s",_ptemp);
7246 } else {
7247 Py_INCREF(Py_None);
7248 _resultobj = Py_None;
7249 }
7250 return _resultobj;
7251}
7252
7253#define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7254static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject * _resultobj;
7256 bool _result;
7257 wxGrid * _arg0;
7258 int _arg1;
7259 int _arg2;
7260 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7261 PyObject * _argo0 = 0;
7262 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7263
7264 self = self;
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7266 return NULL;
7267 if (_argo0) {
7268 if (_argo0 == Py_None) { _arg0 = NULL; }
7269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7271 return NULL;
7272 }
7273 }
7274{
0e2ff151 7275 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7276 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
7277
0e2ff151 7278 wxPyEndAllowThreads(__tstate);
e6056257
RD
7279 if (PyErr_Occurred()) return NULL;
7280} _resultobj = Py_BuildValue("i",_result);
7281 return _resultobj;
7282}
7283
7284#define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7285static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7286 PyObject * _resultobj;
7287 wxGrid * _arg0;
7288 WXGRIDSELECTIONMODES _arg1;
7289 PyObject * _argo0 = 0;
7290 char *_kwnames[] = { "self","selmode", NULL };
7291
7292 self = self;
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
7294 return NULL;
7295 if (_argo0) {
7296 if (_argo0 == Py_None) { _arg0 = NULL; }
7297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7299 return NULL;
7300 }
7301 }
7302{
0e2ff151 7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7304 wxGrid_SetSelectionMode(_arg0,_arg1);
7305
0e2ff151 7306 wxPyEndAllowThreads(__tstate);
e6056257
RD
7307 if (PyErr_Occurred()) return NULL;
7308} Py_INCREF(Py_None);
7309 _resultobj = Py_None;
7310 return _resultobj;
7311}
7312
7313#define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7314static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7315 PyObject * _resultobj;
7316 int _result;
7317 wxGrid * _arg0;
7318 PyObject * _argo0 = 0;
7319 char *_kwnames[] = { "self", NULL };
7320
7321 self = self;
7322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7323 return NULL;
7324 if (_argo0) {
7325 if (_argo0 == Py_None) { _arg0 = NULL; }
7326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7328 return NULL;
7329 }
7330 }
7331{
0e2ff151 7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7333 _result = (int )wxGrid_GetNumberRows(_arg0);
7334
0e2ff151 7335 wxPyEndAllowThreads(__tstate);
e6056257
RD
7336 if (PyErr_Occurred()) return NULL;
7337} _resultobj = Py_BuildValue("i",_result);
7338 return _resultobj;
7339}
7340
7341#define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7342static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7343 PyObject * _resultobj;
7344 int _result;
7345 wxGrid * _arg0;
7346 PyObject * _argo0 = 0;
7347 char *_kwnames[] = { "self", NULL };
7348
7349 self = self;
7350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7351 return NULL;
7352 if (_argo0) {
7353 if (_argo0 == Py_None) { _arg0 = NULL; }
7354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7356 return NULL;
7357 }
7358 }
7359{
0e2ff151 7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7361 _result = (int )wxGrid_GetNumberCols(_arg0);
7362
0e2ff151 7363 wxPyEndAllowThreads(__tstate);
e6056257
RD
7364 if (PyErr_Occurred()) return NULL;
7365} _resultobj = Py_BuildValue("i",_result);
7366 return _resultobj;
7367}
7368
7369#define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7370static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7371 PyObject * _resultobj;
7372 bool _result;
7373 wxGrid * _arg0;
7374 wxGridTableMessage * _arg1;
7375 PyObject * _argo0 = 0;
7376 PyObject * _argo1 = 0;
7377 char *_kwnames[] = { "self","arg2", NULL };
7378
7379 self = self;
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7381 return NULL;
7382 if (_argo0) {
7383 if (_argo0 == Py_None) { _arg0 = NULL; }
7384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7386 return NULL;
7387 }
7388 }
7389 if (_argo1) {
7390 if (_argo1 == Py_None) { _arg1 = NULL; }
7391 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7392 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7393 return NULL;
7394 }
7395 }
7396{
0e2ff151 7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7398 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7399
0e2ff151 7400 wxPyEndAllowThreads(__tstate);
e6056257
RD
7401 if (PyErr_Occurred()) return NULL;
7402} _resultobj = Py_BuildValue("i",_result);
7403 return _resultobj;
7404}
7405
7406#define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7407static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject * _resultobj;
7409 wxGridTableBase * _result;
7410 wxGrid * _arg0;
7411 PyObject * _argo0 = 0;
7412 char *_kwnames[] = { "self", NULL };
7413
7414 self = self;
7415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7416 return NULL;
7417 if (_argo0) {
7418 if (_argo0 == Py_None) { _arg0 = NULL; }
7419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7421 return NULL;
7422 }
7423 }
7424{
0e2ff151 7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7426 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7427
0e2ff151 7428 wxPyEndAllowThreads(__tstate);
e6056257
RD
7429 if (PyErr_Occurred()) return NULL;
7430}{ _resultobj = wxPyMake_wxObject(_result); }
7431 return _resultobj;
7432}
7433
7434#define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7435static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7436 PyObject * _resultobj;
7437 bool _result;
7438 wxGrid * _arg0;
7439 wxGridTableBase * _arg1;
7440 bool _arg2 = (bool ) FALSE;
7441 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7442 PyObject * _argo0 = 0;
7443 PyObject * _argo1 = 0;
7444 int tempbool2 = (int) FALSE;
7445 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7446
7447 self = self;
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7449 return NULL;
7450 if (_argo0) {
7451 if (_argo0 == Py_None) { _arg0 = NULL; }
7452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7454 return NULL;
7455 }
7456 }
7457 if (_argo1) {
7458 if (_argo1 == Py_None) { _arg1 = NULL; }
7459 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7460 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7461 return NULL;
7462 }
7463 }
7464 _arg2 = (bool ) tempbool2;
7465{
0e2ff151 7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7467 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7468
0e2ff151 7469 wxPyEndAllowThreads(__tstate);
e6056257
RD
7470 if (PyErr_Occurred()) return NULL;
7471} _resultobj = Py_BuildValue("i",_result);
7472 return _resultobj;
7473}
7474
7475#define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7476static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject * _resultobj;
7478 wxGrid * _arg0;
7479 PyObject * _argo0 = 0;
7480 char *_kwnames[] = { "self", NULL };
7481
7482 self = self;
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7484 return NULL;
7485 if (_argo0) {
7486 if (_argo0 == Py_None) { _arg0 = NULL; }
7487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7489 return NULL;
7490 }
7491 }
7492{
0e2ff151 7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7494 wxGrid_ClearGrid(_arg0);
7495
0e2ff151 7496 wxPyEndAllowThreads(__tstate);
e6056257
RD
7497 if (PyErr_Occurred()) return NULL;
7498} Py_INCREF(Py_None);
7499 _resultobj = Py_None;
7500 return _resultobj;
7501}
7502
7503#define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7504static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7505 PyObject * _resultobj;
7506 bool _result;
7507 wxGrid * _arg0;
7508 int _arg1 = (int ) 0;
7509 int _arg2 = (int ) 1;
7510 bool _arg3 = (bool ) TRUE;
7511 PyObject * _argo0 = 0;
7512 int tempbool3 = (int) TRUE;
7513 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7514
7515 self = self;
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7517 return NULL;
7518 if (_argo0) {
7519 if (_argo0 == Py_None) { _arg0 = NULL; }
7520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7522 return NULL;
7523 }
7524 }
7525 _arg3 = (bool ) tempbool3;
7526{
0e2ff151 7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7528 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7529
0e2ff151 7530 wxPyEndAllowThreads(__tstate);
e6056257
RD
7531 if (PyErr_Occurred()) return NULL;
7532} _resultobj = Py_BuildValue("i",_result);
7533 return _resultobj;
7534}
7535
7536#define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7537static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7538 PyObject * _resultobj;
7539 bool _result;
7540 wxGrid * _arg0;
7541 int _arg1 = (int ) 1;
7542 bool _arg2 = (bool ) TRUE;
7543 PyObject * _argo0 = 0;
7544 int tempbool2 = (int) TRUE;
7545 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7546
7547 self = self;
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7549 return NULL;
7550 if (_argo0) {
7551 if (_argo0 == Py_None) { _arg0 = NULL; }
7552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7554 return NULL;
7555 }
7556 }
7557 _arg2 = (bool ) tempbool2;
7558{
0e2ff151 7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7560 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7561
0e2ff151 7562 wxPyEndAllowThreads(__tstate);
e6056257
RD
7563 if (PyErr_Occurred()) return NULL;
7564} _resultobj = Py_BuildValue("i",_result);
7565 return _resultobj;
7566}
7567
7568#define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7569static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7570 PyObject * _resultobj;
7571 bool _result;
7572 wxGrid * _arg0;
7573 int _arg1 = (int ) 0;
7574 int _arg2 = (int ) 1;
7575 bool _arg3 = (bool ) TRUE;
7576 PyObject * _argo0 = 0;
7577 int tempbool3 = (int) TRUE;
7578 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7579
7580 self = self;
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7582 return NULL;
7583 if (_argo0) {
7584 if (_argo0 == Py_None) { _arg0 = NULL; }
7585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7587 return NULL;
7588 }
7589 }
7590 _arg3 = (bool ) tempbool3;
7591{
0e2ff151 7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7593 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7594
0e2ff151 7595 wxPyEndAllowThreads(__tstate);
e6056257
RD
7596 if (PyErr_Occurred()) return NULL;
7597} _resultobj = Py_BuildValue("i",_result);
7598 return _resultobj;
7599}
7600
7601#define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7602static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7603 PyObject * _resultobj;
7604 bool _result;
7605 wxGrid * _arg0;
7606 int _arg1 = (int ) 0;
7607 int _arg2 = (int ) 1;
7608 bool _arg3 = (bool ) TRUE;
7609 PyObject * _argo0 = 0;
7610 int tempbool3 = (int) TRUE;
7611 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7612
7613 self = self;
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7615 return NULL;
7616 if (_argo0) {
7617 if (_argo0 == Py_None) { _arg0 = NULL; }
7618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7620 return NULL;
7621 }
7622 }
7623 _arg3 = (bool ) tempbool3;
7624{
0e2ff151 7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7626 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7627
0e2ff151 7628 wxPyEndAllowThreads(__tstate);
e6056257
RD
7629 if (PyErr_Occurred()) return NULL;
7630} _resultobj = Py_BuildValue("i",_result);
7631 return _resultobj;
7632}
7633
7634#define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7635static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7636 PyObject * _resultobj;
7637 bool _result;
7638 wxGrid * _arg0;
7639 int _arg1 = (int ) 1;
7640 bool _arg2 = (bool ) TRUE;
7641 PyObject * _argo0 = 0;
7642 int tempbool2 = (int) TRUE;
7643 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7644
7645 self = self;
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7647 return NULL;
7648 if (_argo0) {
7649 if (_argo0 == Py_None) { _arg0 = NULL; }
7650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7652 return NULL;
7653 }
7654 }
7655 _arg2 = (bool ) tempbool2;
7656{
0e2ff151 7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7658 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7659
0e2ff151 7660 wxPyEndAllowThreads(__tstate);
e6056257
RD
7661 if (PyErr_Occurred()) return NULL;
7662} _resultobj = Py_BuildValue("i",_result);
7663 return _resultobj;
7664}
7665
7666#define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7667static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7668 PyObject * _resultobj;
7669 bool _result;
7670 wxGrid * _arg0;
7671 int _arg1 = (int ) 0;
7672 int _arg2 = (int ) 1;
7673 bool _arg3 = (bool ) TRUE;
7674 PyObject * _argo0 = 0;
7675 int tempbool3 = (int) TRUE;
7676 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7677
7678 self = self;
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7680 return NULL;
7681 if (_argo0) {
7682 if (_argo0 == Py_None) { _arg0 = NULL; }
7683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7685 return NULL;
7686 }
7687 }
7688 _arg3 = (bool ) tempbool3;
7689{
0e2ff151 7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7691 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7692
0e2ff151 7693 wxPyEndAllowThreads(__tstate);
e6056257
RD
7694 if (PyErr_Occurred()) return NULL;
7695} _resultobj = Py_BuildValue("i",_result);
7696 return _resultobj;
7697}
7698
7699#define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7700static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7701 PyObject * _resultobj;
7702 wxGrid * _arg0;
7703 wxDC * _arg1;
7704 wxGridCellAttr * _arg2;
7705 PyObject * _argo0 = 0;
7706 PyObject * _argo1 = 0;
7707 PyObject * _argo2 = 0;
7708 char *_kwnames[] = { "self","dc","attr", NULL };
7709
7710 self = self;
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7712 return NULL;
7713 if (_argo0) {
7714 if (_argo0 == Py_None) { _arg0 = NULL; }
7715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7717 return NULL;
7718 }
7719 }
7720 if (_argo1) {
7721 if (_argo1 == Py_None) { _arg1 = NULL; }
7722 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7723 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7724 return NULL;
7725 }
7726 }
7727 if (_argo2) {
7728 if (_argo2 == Py_None) { _arg2 = NULL; }
7729 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7730 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7731 return NULL;
7732 }
7733 }
7734{
0e2ff151 7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7736 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7737
0e2ff151 7738 wxPyEndAllowThreads(__tstate);
e6056257
RD
7739 if (PyErr_Occurred()) return NULL;
7740} Py_INCREF(Py_None);
7741 _resultobj = Py_None;
7742 return _resultobj;
7743}
7744
7745#define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7746static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7747 PyObject * _resultobj;
7748 wxGrid * _arg0;
7749 wxDC * _arg1;
7750 wxString * _arg2;
7751 wxRect * _arg3;
7752 int _arg4 = (int ) wxLEFT;
7753 int _arg5 = (int ) wxTOP;
7754 PyObject * _argo0 = 0;
7755 PyObject * _argo1 = 0;
7756 PyObject * _obj2 = 0;
7757 wxRect temp;
7758 PyObject * _obj3 = 0;
7759 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7760
7761 self = self;
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7763 return NULL;
7764 if (_argo0) {
7765 if (_argo0 == Py_None) { _arg0 = NULL; }
7766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7768 return NULL;
7769 }
7770 }
7771 if (_argo1) {
7772 if (_argo1 == Py_None) { _arg1 = NULL; }
7773 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7775 return NULL;
7776 }
7777 }
7778{
7779#if PYTHON_API_VERSION >= 1009
7780 char* tmpPtr; int tmpSize;
7781 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7782 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7783 return NULL;
7784 }
7785 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7786 return NULL;
7787 _arg2 = new wxString(tmpPtr, tmpSize);
7788#else
7789 if (!PyString_Check(_obj2)) {
7790 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7791 return NULL;
7792 }
7793 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7794#endif
7795}
7796{
7797 _arg3 = &temp;
7798 if (! wxRect_helper(_obj3, &_arg3))
7799 return NULL;
7800}
7801{
0e2ff151 7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7803 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7804
0e2ff151 7805 wxPyEndAllowThreads(__tstate);
e6056257
RD
7806 if (PyErr_Occurred()) return NULL;
7807} Py_INCREF(Py_None);
7808 _resultobj = Py_None;
7809{
7810 if (_obj2)
7811 delete _arg2;
7812}
7813 return _resultobj;
7814}
7815
e6056257
RD
7816#define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7817static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7818 PyObject * _resultobj;
7819 wxGrid * _arg0;
7820 wxDC * _arg1;
7821 wxArrayString * _arg2;
7822 long * _arg3;
7823 long temp;
7824 long * _arg4;
7825 long temp0;
7826 PyObject * _argo0 = 0;
7827 PyObject * _argo1 = 0;
b6e5c445 7828 PyObject * _obj2 = 0;
e6056257
RD
7829 char *_kwnames[] = { "self","dc","lines", NULL };
7830
7831 self = self;
7832{
7833 _arg3 = &temp;
7834}
7835{
7836 _arg4 = &temp0;
7837}
b6e5c445 7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
e6056257
RD
7839 return NULL;
7840 if (_argo0) {
7841 if (_argo0 == Py_None) { _arg0 = NULL; }
7842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7844 return NULL;
7845 }
7846 }
7847 if (_argo1) {
7848 if (_argo1 == Py_None) { _arg1 = NULL; }
7849 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7850 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7851 return NULL;
7852 }
7853 }
b6e5c445
RD
7854{
7855 if (! PySequence_Check(_obj2)) {
7856 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
e6056257 7857 return NULL;
e6056257 7858 }
b6e5c445
RD
7859 _arg2 = new wxArrayString;
7860 int i, len=PySequence_Length(_obj2);
7861 for (i=0; i<len; i++) {
7862 PyObject* item = PySequence_GetItem(_obj2, i);
7863 PyObject* str = PyObject_Str(item);
7864 _arg2->Add(PyString_AsString(item));
7865 Py_DECREF(item);
7866 Py_DECREF(str);
7867 }
7868}
e6056257 7869{
0e2ff151 7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7871 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7872
0e2ff151 7873 wxPyEndAllowThreads(__tstate);
e6056257
RD
7874 if (PyErr_Occurred()) return NULL;
7875} Py_INCREF(Py_None);
7876 _resultobj = Py_None;
7877{
7878 PyObject *o;
7879 o = PyInt_FromLong((long) (*_arg3));
7880 _resultobj = t_output_helper(_resultobj, o);
7881}
7882{
7883 PyObject *o;
7884 o = PyInt_FromLong((long) (*_arg4));
7885 _resultobj = t_output_helper(_resultobj, o);
b6e5c445
RD
7886}
7887{
7888 if (_obj2)
7889 delete _arg2;
e6056257
RD
7890}
7891 return _resultobj;
7892}
7893
7894#define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7895static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7896 PyObject * _resultobj;
7897 wxGrid * _arg0;
7898 PyObject * _argo0 = 0;
7899 char *_kwnames[] = { "self", NULL };
7900
7901 self = self;
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7903 return NULL;
7904 if (_argo0) {
7905 if (_argo0 == Py_None) { _arg0 = NULL; }
7906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7908 return NULL;
7909 }
7910 }
7911{
0e2ff151 7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7913 wxGrid_BeginBatch(_arg0);
7914
0e2ff151 7915 wxPyEndAllowThreads(__tstate);
e6056257
RD
7916 if (PyErr_Occurred()) return NULL;
7917} Py_INCREF(Py_None);
7918 _resultobj = Py_None;
7919 return _resultobj;
7920}
7921
7922#define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7923static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject * _resultobj;
7925 wxGrid * _arg0;
7926 PyObject * _argo0 = 0;
7927 char *_kwnames[] = { "self", NULL };
7928
7929 self = self;
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7931 return NULL;
7932 if (_argo0) {
7933 if (_argo0 == Py_None) { _arg0 = NULL; }
7934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7936 return NULL;
7937 }
7938 }
7939{
0e2ff151 7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7941 wxGrid_EndBatch(_arg0);
7942
0e2ff151 7943 wxPyEndAllowThreads(__tstate);
e6056257
RD
7944 if (PyErr_Occurred()) return NULL;
7945} Py_INCREF(Py_None);
7946 _resultobj = Py_None;
7947 return _resultobj;
7948}
7949
7950#define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7951static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject * _resultobj;
7953 int _result;
7954 wxGrid * _arg0;
7955 PyObject * _argo0 = 0;
7956 char *_kwnames[] = { "self", NULL };
7957
7958 self = self;
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7960 return NULL;
7961 if (_argo0) {
7962 if (_argo0 == Py_None) { _arg0 = NULL; }
7963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7965 return NULL;
7966 }
7967 }
7968{
0e2ff151 7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7970 _result = (int )wxGrid_GetBatchCount(_arg0);
7971
0e2ff151 7972 wxPyEndAllowThreads(__tstate);
e6056257
RD
7973 if (PyErr_Occurred()) return NULL;
7974} _resultobj = Py_BuildValue("i",_result);
7975 return _resultobj;
7976}
7977
7978#define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7979static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject * _resultobj;
7981 wxGrid * _arg0;
7982 PyObject * _argo0 = 0;
7983 char *_kwnames[] = { "self", NULL };
7984
7985 self = self;
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
7987 return NULL;
7988 if (_argo0) {
7989 if (_argo0 == Py_None) { _arg0 = NULL; }
7990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7992 return NULL;
7993 }
7994 }
7995{
0e2ff151 7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
7997 wxGrid_ForceRefresh(_arg0);
7998
0e2ff151 7999 wxPyEndAllowThreads(__tstate);
e6056257
RD
8000 if (PyErr_Occurred()) return NULL;
8001} Py_INCREF(Py_None);
8002 _resultobj = Py_None;
8003 return _resultobj;
8004}
8005
8006#define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8007static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject * _resultobj;
8009 bool _result;
8010 wxGrid * _arg0;
8011 PyObject * _argo0 = 0;
8012 char *_kwnames[] = { "self", NULL };
8013
8014 self = self;
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
8016 return NULL;
8017 if (_argo0) {
8018 if (_argo0 == Py_None) { _arg0 = NULL; }
8019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8021 return NULL;
8022 }
8023 }
8024{
0e2ff151 8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8026 _result = (bool )wxGrid_IsEditable(_arg0);
8027
0e2ff151 8028 wxPyEndAllowThreads(__tstate);
e6056257
RD
8029 if (PyErr_Occurred()) return NULL;
8030} _resultobj = Py_BuildValue("i",_result);
8031 return _resultobj;
8032}
8033
8034#define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8035static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject * _resultobj;
8037 wxGrid * _arg0;
8038 bool _arg1;
8039 PyObject * _argo0 = 0;
8040 int tempbool1;
8041 char *_kwnames[] = { "self","edit", NULL };
8042
8043 self = self;
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
8045 return NULL;
8046 if (_argo0) {
8047 if (_argo0 == Py_None) { _arg0 = NULL; }
8048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8050 return NULL;
8051 }
8052 }
8053 _arg1 = (bool ) tempbool1;
8054{
0e2ff151 8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8056 wxGrid_EnableEditing(_arg0,_arg1);
8057
0e2ff151 8058 wxPyEndAllowThreads(__tstate);
e6056257
RD
8059 if (PyErr_Occurred()) return NULL;
8060} Py_INCREF(Py_None);
8061 _resultobj = Py_None;
8062 return _resultobj;
8063}
8064
8065#define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8066static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8067 PyObject * _resultobj;
8068 wxGrid * _arg0;
8069 bool _arg1 = (bool ) TRUE;
8070 PyObject * _argo0 = 0;
8071 int tempbool1 = (int) TRUE;
8072 char *_kwnames[] = { "self","enable", NULL };
8073
8074 self = self;
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
8076 return NULL;
8077 if (_argo0) {
8078 if (_argo0 == Py_None) { _arg0 = NULL; }
8079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8081 return NULL;
8082 }
8083 }
8084 _arg1 = (bool ) tempbool1;
8085{
0e2ff151 8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8087 wxGrid_EnableCellEditControl(_arg0,_arg1);
8088
0e2ff151 8089 wxPyEndAllowThreads(__tstate);
e6056257
RD
8090 if (PyErr_Occurred()) return NULL;
8091} Py_INCREF(Py_None);
8092 _resultobj = Py_None;
8093 return _resultobj;
8094}
8095
8096#define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8097static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject * _resultobj;
8099 wxGrid * _arg0;
8100 PyObject * _argo0 = 0;
8101 char *_kwnames[] = { "self", NULL };
8102
8103 self = self;
8104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
8105 return NULL;
8106 if (_argo0) {
8107 if (_argo0 == Py_None) { _arg0 = NULL; }
8108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8110 return NULL;
8111 }
8112 }
8113{
0e2ff151 8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8115 wxGrid_DisableCellEditControl(_arg0);
8116
0e2ff151 8117 wxPyEndAllowThreads(__tstate);
e6056257
RD
8118 if (PyErr_Occurred()) return NULL;
8119} Py_INCREF(Py_None);
8120 _resultobj = Py_None;
8121 return _resultobj;
8122}
8123
8124#define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8125static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8126 PyObject * _resultobj;
8127 bool _result;
8128 wxGrid * _arg0;
8129 PyObject * _argo0 = 0;
8130 char *_kwnames[] = { "self", NULL };
8131
8132 self = self;
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
8134 return NULL;
8135 if (_argo0) {
8136 if (_argo0 == Py_None) { _arg0 = NULL; }
8137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8139 return NULL;
8140 }
8141 }
8142{
0e2ff151 8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8144 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
8145
0e2ff151 8146 wxPyEndAllowThreads(__tstate);
e6056257
RD
8147 if (PyErr_Occurred()) return NULL;
8148} _resultobj = Py_BuildValue("i",_result);
8149 return _resultobj;
8150}
8151
8152#define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8153static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject * _resultobj;
8155 bool _result;
8156 wxGrid * _arg0;
8157 PyObject * _argo0 = 0;
8158 char *_kwnames[] = { "self", NULL };
8159
8160 self = self;
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
8162 return NULL;
8163 if (_argo0) {
8164 if (_argo0 == Py_None) { _arg0 = NULL; }
8165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8167 return NULL;
8168 }
8169 }
8170{
0e2ff151 8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8172 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
8173
0e2ff151 8174 wxPyEndAllowThreads(__tstate);
e6056257
RD
8175 if (PyErr_Occurred()) return NULL;
8176} _resultobj = Py_BuildValue("i",_result);
8177 return _resultobj;
8178}
8179
8180#define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8181static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8182 PyObject * _resultobj;
8183 bool _result;
8184 wxGrid * _arg0;
8185 PyObject * _argo0 = 0;
8186 char *_kwnames[] = { "self", NULL };
8187
8188 self = self;
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
8190 return NULL;
8191 if (_argo0) {
8192 if (_argo0 == Py_None) { _arg0 = NULL; }
8193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8195 return NULL;
8196 }
8197 }
8198{
0e2ff151 8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8200 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
8201
0e2ff151 8202 wxPyEndAllowThreads(__tstate);
e6056257
RD
8203 if (PyErr_Occurred()) return NULL;
8204} _resultobj = Py_BuildValue("i",_result);
8205 return _resultobj;
8206}
8207
8208#define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8209static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8210 PyObject * _resultobj;
8211 bool _result;
8212 wxGrid * _arg0;
8213 PyObject * _argo0 = 0;
8214 char *_kwnames[] = { "self", NULL };
8215
8216 self = self;
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8218 return NULL;
8219 if (_argo0) {
8220 if (_argo0 == Py_None) { _arg0 = NULL; }
8221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8223 return NULL;
8224 }
8225 }
8226{
0e2ff151 8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8228 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
8229
0e2ff151 8230 wxPyEndAllowThreads(__tstate);
e6056257
RD
8231 if (PyErr_Occurred()) return NULL;
8232} _resultobj = Py_BuildValue("i",_result);
8233 return _resultobj;
8234}
8235
8236#define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8237static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8238 PyObject * _resultobj;
8239 wxGrid * _arg0;
8240 PyObject * _argo0 = 0;
8241 char *_kwnames[] = { "self", NULL };
8242
8243 self = self;
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
8245 return NULL;
8246 if (_argo0) {
8247 if (_argo0 == Py_None) { _arg0 = NULL; }
8248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8250 return NULL;
8251 }
8252 }
8253{
0e2ff151 8254 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8255 wxGrid_ShowCellEditControl(_arg0);
8256
0e2ff151 8257 wxPyEndAllowThreads(__tstate);
e6056257
RD
8258 if (PyErr_Occurred()) return NULL;
8259} Py_INCREF(Py_None);
8260 _resultobj = Py_None;
8261 return _resultobj;
8262}
8263
8264#define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8265static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject * _resultobj;
8267 wxGrid * _arg0;
8268 PyObject * _argo0 = 0;
8269 char *_kwnames[] = { "self", NULL };
8270
8271 self = self;
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8273 return NULL;
8274 if (_argo0) {
8275 if (_argo0 == Py_None) { _arg0 = NULL; }
8276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8278 return NULL;
8279 }
8280 }
8281{
0e2ff151 8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8283 wxGrid_HideCellEditControl(_arg0);
8284
0e2ff151 8285 wxPyEndAllowThreads(__tstate);
e6056257
RD
8286 if (PyErr_Occurred()) return NULL;
8287} Py_INCREF(Py_None);
8288 _resultobj = Py_None;
8289 return _resultobj;
8290}
8291
8292#define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8293static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8294 PyObject * _resultobj;
8295 wxGrid * _arg0;
8296 PyObject * _argo0 = 0;
8297 char *_kwnames[] = { "self", NULL };
8298
8299 self = self;
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8301 return NULL;
8302 if (_argo0) {
8303 if (_argo0 == Py_None) { _arg0 = NULL; }
8304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8306 return NULL;
8307 }
8308 }
8309{
0e2ff151 8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8311 wxGrid_SaveEditControlValue(_arg0);
8312
0e2ff151 8313 wxPyEndAllowThreads(__tstate);
e6056257
RD
8314 if (PyErr_Occurred()) return NULL;
8315} Py_INCREF(Py_None);
8316 _resultobj = Py_None;
8317 return _resultobj;
8318}
8319
8320static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8321 wxGridCellCoords rv;
8322 self->XYToCell(x, y, rv);
8323 return new wxGridCellCoords(rv);
8324 }
8325static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8326 PyObject * _resultobj;
8327 wxGridCellCoords * _result;
8328 wxGrid * _arg0;
8329 int _arg1;
8330 int _arg2;
8331 PyObject * _argo0 = 0;
8332 char *_kwnames[] = { "self","x","y", NULL };
8333 char _ptemp[128];
8334
8335 self = self;
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8337 return NULL;
8338 if (_argo0) {
8339 if (_argo0 == Py_None) { _arg0 = NULL; }
8340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8342 return NULL;
8343 }
8344 }
8345{
0e2ff151 8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8347 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8348
0e2ff151 8349 wxPyEndAllowThreads(__tstate);
e6056257
RD
8350 if (PyErr_Occurred()) return NULL;
8351} if (_result) {
8352 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8353 _resultobj = Py_BuildValue("s",_ptemp);
8354 } else {
8355 Py_INCREF(Py_None);
8356 _resultobj = Py_None;
8357 }
8358 return _resultobj;
8359}
8360
8361#define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8362static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8363 PyObject * _resultobj;
8364 int _result;
8365 wxGrid * _arg0;
8366 int _arg1;
8367 PyObject * _argo0 = 0;
8368 char *_kwnames[] = { "self","y", NULL };
8369
8370 self = self;
8371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8372 return NULL;
8373 if (_argo0) {
8374 if (_argo0 == Py_None) { _arg0 = NULL; }
8375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8377 return NULL;
8378 }
8379 }
8380{
0e2ff151 8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8382 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8383
0e2ff151 8384 wxPyEndAllowThreads(__tstate);
e6056257
RD
8385 if (PyErr_Occurred()) return NULL;
8386} _resultobj = Py_BuildValue("i",_result);
8387 return _resultobj;
8388}
8389
8390#define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8391static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8392 PyObject * _resultobj;
8393 int _result;
8394 wxGrid * _arg0;
8395 int _arg1;
8396 PyObject * _argo0 = 0;
8397 char *_kwnames[] = { "self","x", NULL };
8398
8399 self = self;
8400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8401 return NULL;
8402 if (_argo0) {
8403 if (_argo0 == Py_None) { _arg0 = NULL; }
8404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8406 return NULL;
8407 }
8408 }
8409{
0e2ff151 8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8411 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8412
0e2ff151 8413 wxPyEndAllowThreads(__tstate);
e6056257
RD
8414 if (PyErr_Occurred()) return NULL;
8415} _resultobj = Py_BuildValue("i",_result);
8416 return _resultobj;
8417}
8418
8419#define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8420static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8421 PyObject * _resultobj;
8422 int _result;
8423 wxGrid * _arg0;
8424 int _arg1;
8425 PyObject * _argo0 = 0;
8426 char *_kwnames[] = { "self","y", NULL };
8427
8428 self = self;
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8430 return NULL;
8431 if (_argo0) {
8432 if (_argo0 == Py_None) { _arg0 = NULL; }
8433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8435 return NULL;
8436 }
8437 }
8438{
0e2ff151 8439 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8440 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8441
0e2ff151 8442 wxPyEndAllowThreads(__tstate);
e6056257
RD
8443 if (PyErr_Occurred()) return NULL;
8444} _resultobj = Py_BuildValue("i",_result);
8445 return _resultobj;
8446}
8447
8448#define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8449static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8450 PyObject * _resultobj;
8451 int _result;
8452 wxGrid * _arg0;
8453 int _arg1;
8454 PyObject * _argo0 = 0;
8455 char *_kwnames[] = { "self","x", NULL };
8456
8457 self = self;
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8459 return NULL;
8460 if (_argo0) {
8461 if (_argo0 == Py_None) { _arg0 = NULL; }
8462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8464 return NULL;
8465 }
8466 }
8467{
0e2ff151 8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8469 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8470
0e2ff151 8471 wxPyEndAllowThreads(__tstate);
e6056257
RD
8472 if (PyErr_Occurred()) return NULL;
8473} _resultobj = Py_BuildValue("i",_result);
8474 return _resultobj;
8475}
8476
8477#define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8478static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8479 PyObject * _resultobj;
8480 wxRect * _result;
8481 wxGrid * _arg0;
8482 int _arg1;
8483 int _arg2;
8484 PyObject * _argo0 = 0;
8485 char *_kwnames[] = { "self","row","col", NULL };
8486 char _ptemp[128];
8487
8488 self = self;
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8490 return NULL;
8491 if (_argo0) {
8492 if (_argo0 == Py_None) { _arg0 = NULL; }
8493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8495 return NULL;
8496 }
8497 }
8498{
0e2ff151 8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8500 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8501
0e2ff151 8502 wxPyEndAllowThreads(__tstate);
e6056257
RD
8503 if (PyErr_Occurred()) return NULL;
8504} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8505 _resultobj = Py_BuildValue("s",_ptemp);
8506 return _resultobj;
8507}
8508
8509#define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8510static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8511 PyObject * _resultobj;
8512 int _result;
8513 wxGrid * _arg0;
8514 PyObject * _argo0 = 0;
8515 char *_kwnames[] = { "self", NULL };
8516
8517 self = self;
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8519 return NULL;
8520 if (_argo0) {
8521 if (_argo0 == Py_None) { _arg0 = NULL; }
8522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8524 return NULL;
8525 }
8526 }
8527{
0e2ff151 8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8529 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8530
0e2ff151 8531 wxPyEndAllowThreads(__tstate);
e6056257
RD
8532 if (PyErr_Occurred()) return NULL;
8533} _resultobj = Py_BuildValue("i",_result);
8534 return _resultobj;
8535}
8536
8537#define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8538static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8539 PyObject * _resultobj;
8540 int _result;
8541 wxGrid * _arg0;
8542 PyObject * _argo0 = 0;
8543 char *_kwnames[] = { "self", NULL };
8544
8545 self = self;
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8547 return NULL;
8548 if (_argo0) {
8549 if (_argo0 == Py_None) { _arg0 = NULL; }
8550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8552 return NULL;
8553 }
8554 }
8555{
0e2ff151 8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8557 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8558
0e2ff151 8559 wxPyEndAllowThreads(__tstate);
e6056257
RD
8560 if (PyErr_Occurred()) return NULL;
8561} _resultobj = Py_BuildValue("i",_result);
8562 return _resultobj;
8563}
8564
8565#define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8566static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8567 PyObject * _resultobj;
8568 bool _result;
8569 wxGrid * _arg0;
8570 int _arg1;
8571 int _arg2;
8572 bool _arg3 = (bool ) TRUE;
8573 PyObject * _argo0 = 0;
8574 int tempbool3 = (int) TRUE;
8575 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8576
8577 self = self;
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8579 return NULL;
8580 if (_argo0) {
8581 if (_argo0 == Py_None) { _arg0 = NULL; }
8582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8584 return NULL;
8585 }
8586 }
8587 _arg3 = (bool ) tempbool3;
8588{
0e2ff151 8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8590 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8591
0e2ff151 8592 wxPyEndAllowThreads(__tstate);
e6056257
RD
8593 if (PyErr_Occurred()) return NULL;
8594} _resultobj = Py_BuildValue("i",_result);
8595 return _resultobj;
8596}
8597
8598#define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8599static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8600 PyObject * _resultobj;
8601 wxGrid * _arg0;
8602 int _arg1;
8603 int _arg2;
8604 PyObject * _argo0 = 0;
8605 char *_kwnames[] = { "self","row","col", NULL };
8606
8607 self = self;
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8609 return NULL;
8610 if (_argo0) {
8611 if (_argo0 == Py_None) { _arg0 = NULL; }
8612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8614 return NULL;
8615 }
8616 }
8617{
0e2ff151 8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8619 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8620
0e2ff151 8621 wxPyEndAllowThreads(__tstate);
e6056257
RD
8622 if (PyErr_Occurred()) return NULL;
8623} Py_INCREF(Py_None);
8624 _resultobj = Py_None;
8625 return _resultobj;
8626}
8627
8628#define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8629static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject * _resultobj;
8631 wxGrid * _arg0;
8632 int _arg1;
8633 int _arg2;
8634 PyObject * _argo0 = 0;
8635 char *_kwnames[] = { "self","row","col", NULL };
8636
8637 self = self;
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8639 return NULL;
8640 if (_argo0) {
8641 if (_argo0 == Py_None) { _arg0 = NULL; }
8642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8644 return NULL;
8645 }
8646 }
8647{
0e2ff151 8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8649 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8650
0e2ff151 8651 wxPyEndAllowThreads(__tstate);
e6056257
RD
8652 if (PyErr_Occurred()) return NULL;
8653} Py_INCREF(Py_None);
8654 _resultobj = Py_None;
8655 return _resultobj;
8656}
8657
8658#define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8659static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject * _resultobj;
8661 bool _result;
8662 wxGrid * _arg0;
8663 bool _arg1;
8664 PyObject * _argo0 = 0;
8665 int tempbool1;
8666 char *_kwnames[] = { "self","expandSelection", NULL };
8667
8668 self = self;
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8670 return NULL;
8671 if (_argo0) {
8672 if (_argo0 == Py_None) { _arg0 = NULL; }
8673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8675 return NULL;
8676 }
8677 }
8678 _arg1 = (bool ) tempbool1;
8679{
0e2ff151 8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8681 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8682
0e2ff151 8683 wxPyEndAllowThreads(__tstate);
e6056257
RD
8684 if (PyErr_Occurred()) return NULL;
8685} _resultobj = Py_BuildValue("i",_result);
8686 return _resultobj;
8687}
8688
8689#define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8690static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8691 PyObject * _resultobj;
8692 bool _result;
8693 wxGrid * _arg0;
8694 bool _arg1;
8695 PyObject * _argo0 = 0;
8696 int tempbool1;
8697 char *_kwnames[] = { "self","expandSelection", NULL };
8698
8699 self = self;
8700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8701 return NULL;
8702 if (_argo0) {
8703 if (_argo0 == Py_None) { _arg0 = NULL; }
8704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8706 return NULL;
8707 }
8708 }
8709 _arg1 = (bool ) tempbool1;
8710{
0e2ff151 8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8712 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8713
0e2ff151 8714 wxPyEndAllowThreads(__tstate);
e6056257
RD
8715 if (PyErr_Occurred()) return NULL;
8716} _resultobj = Py_BuildValue("i",_result);
8717 return _resultobj;
8718}
8719
8720#define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8721static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8722 PyObject * _resultobj;
8723 bool _result;
8724 wxGrid * _arg0;
8725 bool _arg1;
8726 PyObject * _argo0 = 0;
8727 int tempbool1;
8728 char *_kwnames[] = { "self","expandSelection", NULL };
8729
8730 self = self;
8731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8732 return NULL;
8733 if (_argo0) {
8734 if (_argo0 == Py_None) { _arg0 = NULL; }
8735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8737 return NULL;
8738 }
8739 }
8740 _arg1 = (bool ) tempbool1;
8741{
0e2ff151 8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8743 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8744
0e2ff151 8745 wxPyEndAllowThreads(__tstate);
e6056257
RD
8746 if (PyErr_Occurred()) return NULL;
8747} _resultobj = Py_BuildValue("i",_result);
8748 return _resultobj;
8749}
8750
8751#define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8752static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8753 PyObject * _resultobj;
8754 bool _result;
8755 wxGrid * _arg0;
8756 bool _arg1;
8757 PyObject * _argo0 = 0;
8758 int tempbool1;
8759 char *_kwnames[] = { "self","expandSelection", NULL };
8760
8761 self = self;
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8763 return NULL;
8764 if (_argo0) {
8765 if (_argo0 == Py_None) { _arg0 = NULL; }
8766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8768 return NULL;
8769 }
8770 }
8771 _arg1 = (bool ) tempbool1;
8772{
0e2ff151 8773 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8774 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8775
0e2ff151 8776 wxPyEndAllowThreads(__tstate);
e6056257
RD
8777 if (PyErr_Occurred()) return NULL;
8778} _resultobj = Py_BuildValue("i",_result);
8779 return _resultobj;
8780}
8781
8782#define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8783static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8784 PyObject * _resultobj;
8785 bool _result;
8786 wxGrid * _arg0;
8787 PyObject * _argo0 = 0;
8788 char *_kwnames[] = { "self", NULL };
8789
8790 self = self;
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8792 return NULL;
8793 if (_argo0) {
8794 if (_argo0 == Py_None) { _arg0 = NULL; }
8795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8797 return NULL;
8798 }
8799 }
8800{
0e2ff151 8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8802 _result = (bool )wxGrid_MovePageDown(_arg0);
8803
0e2ff151 8804 wxPyEndAllowThreads(__tstate);
e6056257
RD
8805 if (PyErr_Occurred()) return NULL;
8806} _resultobj = Py_BuildValue("i",_result);
8807 return _resultobj;
8808}
8809
8810#define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8811static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8812 PyObject * _resultobj;
8813 bool _result;
8814 wxGrid * _arg0;
8815 PyObject * _argo0 = 0;
8816 char *_kwnames[] = { "self", NULL };
8817
8818 self = self;
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8820 return NULL;
8821 if (_argo0) {
8822 if (_argo0 == Py_None) { _arg0 = NULL; }
8823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8825 return NULL;
8826 }
8827 }
8828{
0e2ff151 8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8830 _result = (bool )wxGrid_MovePageUp(_arg0);
8831
0e2ff151 8832 wxPyEndAllowThreads(__tstate);
e6056257
RD
8833 if (PyErr_Occurred()) return NULL;
8834} _resultobj = Py_BuildValue("i",_result);
8835 return _resultobj;
8836}
8837
8838#define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8839static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8840 PyObject * _resultobj;
8841 bool _result;
8842 wxGrid * _arg0;
8843 bool _arg1;
8844 PyObject * _argo0 = 0;
8845 int tempbool1;
8846 char *_kwnames[] = { "self","expandSelection", NULL };
8847
8848 self = self;
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8850 return NULL;
8851 if (_argo0) {
8852 if (_argo0 == Py_None) { _arg0 = NULL; }
8853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8855 return NULL;
8856 }
8857 }
8858 _arg1 = (bool ) tempbool1;
8859{
0e2ff151 8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8861 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8862
0e2ff151 8863 wxPyEndAllowThreads(__tstate);
e6056257
RD
8864 if (PyErr_Occurred()) return NULL;
8865} _resultobj = Py_BuildValue("i",_result);
8866 return _resultobj;
8867}
8868
8869#define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8870static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8871 PyObject * _resultobj;
8872 bool _result;
8873 wxGrid * _arg0;
8874 bool _arg1;
8875 PyObject * _argo0 = 0;
8876 int tempbool1;
8877 char *_kwnames[] = { "self","expandSelection", NULL };
8878
8879 self = self;
8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8881 return NULL;
8882 if (_argo0) {
8883 if (_argo0 == Py_None) { _arg0 = NULL; }
8884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8886 return NULL;
8887 }
8888 }
8889 _arg1 = (bool ) tempbool1;
8890{
0e2ff151 8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8892 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8893
0e2ff151 8894 wxPyEndAllowThreads(__tstate);
e6056257
RD
8895 if (PyErr_Occurred()) return NULL;
8896} _resultobj = Py_BuildValue("i",_result);
8897 return _resultobj;
8898}
8899
8900#define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8901static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8902 PyObject * _resultobj;
8903 bool _result;
8904 wxGrid * _arg0;
8905 bool _arg1;
8906 PyObject * _argo0 = 0;
8907 int tempbool1;
8908 char *_kwnames[] = { "self","expandSelection", NULL };
8909
8910 self = self;
8911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8912 return NULL;
8913 if (_argo0) {
8914 if (_argo0 == Py_None) { _arg0 = NULL; }
8915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8917 return NULL;
8918 }
8919 }
8920 _arg1 = (bool ) tempbool1;
8921{
0e2ff151 8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8923 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8924
0e2ff151 8925 wxPyEndAllowThreads(__tstate);
e6056257
RD
8926 if (PyErr_Occurred()) return NULL;
8927} _resultobj = Py_BuildValue("i",_result);
8928 return _resultobj;
8929}
8930
8931#define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8932static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8933 PyObject * _resultobj;
8934 bool _result;
8935 wxGrid * _arg0;
8936 bool _arg1;
8937 PyObject * _argo0 = 0;
8938 int tempbool1;
8939 char *_kwnames[] = { "self","expandSelection", NULL };
8940
8941 self = self;
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8943 return NULL;
8944 if (_argo0) {
8945 if (_argo0 == Py_None) { _arg0 = NULL; }
8946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8948 return NULL;
8949 }
8950 }
8951 _arg1 = (bool ) tempbool1;
8952{
0e2ff151 8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8954 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8955
0e2ff151 8956 wxPyEndAllowThreads(__tstate);
e6056257
RD
8957 if (PyErr_Occurred()) return NULL;
8958} _resultobj = Py_BuildValue("i",_result);
8959 return _resultobj;
8960}
8961
8962#define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8963static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8964 PyObject * _resultobj;
8965 int _result;
8966 wxGrid * _arg0;
8967 PyObject * _argo0 = 0;
8968 char *_kwnames[] = { "self", NULL };
8969
8970 self = self;
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8972 return NULL;
8973 if (_argo0) {
8974 if (_argo0 == Py_None) { _arg0 = NULL; }
8975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8977 return NULL;
8978 }
8979 }
8980{
0e2ff151 8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
8982 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8983
0e2ff151 8984 wxPyEndAllowThreads(__tstate);
e6056257
RD
8985 if (PyErr_Occurred()) return NULL;
8986} _resultobj = Py_BuildValue("i",_result);
8987 return _resultobj;
8988}
8989
8990#define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8991static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8992 PyObject * _resultobj;
8993 int _result;
8994 wxGrid * _arg0;
8995 PyObject * _argo0 = 0;
8996 char *_kwnames[] = { "self", NULL };
8997
8998 self = self;
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
9000 return NULL;
9001 if (_argo0) {
9002 if (_argo0 == Py_None) { _arg0 = NULL; }
9003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9005 return NULL;
9006 }
9007 }
9008{
0e2ff151 9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9010 _result = (int )wxGrid_GetRowLabelSize(_arg0);
9011
0e2ff151 9012 wxPyEndAllowThreads(__tstate);
e6056257
RD
9013 if (PyErr_Occurred()) return NULL;
9014} _resultobj = Py_BuildValue("i",_result);
9015 return _resultobj;
9016}
9017
9018#define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9019static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9020 PyObject * _resultobj;
9021 int _result;
9022 wxGrid * _arg0;
9023 PyObject * _argo0 = 0;
9024 char *_kwnames[] = { "self", NULL };
9025
9026 self = self;
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
9028 return NULL;
9029 if (_argo0) {
9030 if (_argo0 == Py_None) { _arg0 = NULL; }
9031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9033 return NULL;
9034 }
9035 }
9036{
0e2ff151 9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9038 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
9039
0e2ff151 9040 wxPyEndAllowThreads(__tstate);
e6056257
RD
9041 if (PyErr_Occurred()) return NULL;
9042} _resultobj = Py_BuildValue("i",_result);
9043 return _resultobj;
9044}
9045
9046#define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9047static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject * _resultobj;
9049 int _result;
9050 wxGrid * _arg0;
9051 PyObject * _argo0 = 0;
9052 char *_kwnames[] = { "self", NULL };
9053
9054 self = self;
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
9056 return NULL;
9057 if (_argo0) {
9058 if (_argo0 == Py_None) { _arg0 = NULL; }
9059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9061 return NULL;
9062 }
9063 }
9064{
0e2ff151 9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9066 _result = (int )wxGrid_GetColLabelSize(_arg0);
9067
0e2ff151 9068 wxPyEndAllowThreads(__tstate);
e6056257
RD
9069 if (PyErr_Occurred()) return NULL;
9070} _resultobj = Py_BuildValue("i",_result);
9071 return _resultobj;
9072}
9073
9074#define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9075static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9076 PyObject * _resultobj;
9077 wxColour * _result;
9078 wxGrid * _arg0;
9079 PyObject * _argo0 = 0;
9080 char *_kwnames[] = { "self", NULL };
9081 char _ptemp[128];
9082
9083 self = self;
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
9085 return NULL;
9086 if (_argo0) {
9087 if (_argo0 == Py_None) { _arg0 = NULL; }
9088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9090 return NULL;
9091 }
9092 }
9093{
0e2ff151 9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9095 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
9096
0e2ff151 9097 wxPyEndAllowThreads(__tstate);
e6056257
RD
9098 if (PyErr_Occurred()) return NULL;
9099} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9100 _resultobj = Py_BuildValue("s",_ptemp);
9101 return _resultobj;
9102}
9103
9104#define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9105static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9106 PyObject * _resultobj;
9107 wxColour * _result;
9108 wxGrid * _arg0;
9109 PyObject * _argo0 = 0;
9110 char *_kwnames[] = { "self", NULL };
9111 char _ptemp[128];
9112
9113 self = self;
9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
9115 return NULL;
9116 if (_argo0) {
9117 if (_argo0 == Py_None) { _arg0 = NULL; }
9118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9120 return NULL;
9121 }
9122 }
9123{
0e2ff151 9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9125 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
9126
0e2ff151 9127 wxPyEndAllowThreads(__tstate);
e6056257
RD
9128 if (PyErr_Occurred()) return NULL;
9129} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9130 _resultobj = Py_BuildValue("s",_ptemp);
9131 return _resultobj;
9132}
9133
9134#define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9135static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9136 PyObject * _resultobj;
9137 wxFont * _result;
9138 wxGrid * _arg0;
9139 PyObject * _argo0 = 0;
9140 char *_kwnames[] = { "self", NULL };
9141 char _ptemp[128];
9142
9143 self = self;
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
9145 return NULL;
9146 if (_argo0) {
9147 if (_argo0 == Py_None) { _arg0 = NULL; }
9148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9150 return NULL;
9151 }
9152 }
9153{
0e2ff151 9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9155 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
9156
0e2ff151 9157 wxPyEndAllowThreads(__tstate);
e6056257
RD
9158 if (PyErr_Occurred()) return NULL;
9159} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9160 _resultobj = Py_BuildValue("s",_ptemp);
9161 return _resultobj;
9162}
9163
9164#define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9165static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject * _resultobj;
9167 wxGrid * _arg0;
9168 int * _arg1;
9169 int temp;
9170 int * _arg2;
9171 int temp0;
9172 PyObject * _argo0 = 0;
9173 char *_kwnames[] = { "self", NULL };
9174
9175 self = self;
9176{
9177 _arg1 = &temp;
9178}
9179{
9180 _arg2 = &temp0;
9181}
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
9183 return NULL;
9184 if (_argo0) {
9185 if (_argo0 == Py_None) { _arg0 = NULL; }
9186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9188 return NULL;
9189 }
9190 }
9191{
0e2ff151 9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9193 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
9194
0e2ff151 9195 wxPyEndAllowThreads(__tstate);
e6056257
RD
9196 if (PyErr_Occurred()) return NULL;
9197} Py_INCREF(Py_None);
9198 _resultobj = Py_None;
9199{
9200 PyObject *o;
9201 o = PyInt_FromLong((long) (*_arg1));
9202 _resultobj = t_output_helper(_resultobj, o);
9203}
9204{
9205 PyObject *o;
9206 o = PyInt_FromLong((long) (*_arg2));
9207 _resultobj = t_output_helper(_resultobj, o);
9208}
9209 return _resultobj;
9210}
9211
9212#define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9213static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9214 PyObject * _resultobj;
9215 wxGrid * _arg0;
9216 int * _arg1;
9217 int temp;
9218 int * _arg2;
9219 int temp0;
9220 PyObject * _argo0 = 0;
9221 char *_kwnames[] = { "self", NULL };
9222
9223 self = self;
9224{
9225 _arg1 = &temp;
9226}
9227{
9228 _arg2 = &temp0;
9229}
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9231 return NULL;
9232 if (_argo0) {
9233 if (_argo0 == Py_None) { _arg0 = NULL; }
9234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9236 return NULL;
9237 }
9238 }
9239{
0e2ff151 9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9241 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
9242
0e2ff151 9243 wxPyEndAllowThreads(__tstate);
e6056257
RD
9244 if (PyErr_Occurred()) return NULL;
9245} Py_INCREF(Py_None);
9246 _resultobj = Py_None;
9247{
9248 PyObject *o;
9249 o = PyInt_FromLong((long) (*_arg1));
9250 _resultobj = t_output_helper(_resultobj, o);
9251}
9252{
9253 PyObject *o;
9254 o = PyInt_FromLong((long) (*_arg2));
9255 _resultobj = t_output_helper(_resultobj, o);
9256}
9257 return _resultobj;
9258}
9259
9260#define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9261static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9262 PyObject * _resultobj;
9263 wxString * _result;
9264 wxGrid * _arg0;
9265 int _arg1;
9266 PyObject * _argo0 = 0;
9267 char *_kwnames[] = { "self","row", NULL };
9268
9269 self = self;
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9271 return NULL;
9272 if (_argo0) {
9273 if (_argo0 == Py_None) { _arg0 = NULL; }
9274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9276 return NULL;
9277 }
9278 }
9279{
0e2ff151 9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9281 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9282
0e2ff151 9283 wxPyEndAllowThreads(__tstate);
e6056257
RD
9284 if (PyErr_Occurred()) return NULL;
9285}{
9286 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9287}
9288{
9289 delete _result;
9290}
9291 return _resultobj;
9292}
9293
9294#define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9295static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject * _resultobj;
9297 wxString * _result;
9298 wxGrid * _arg0;
9299 int _arg1;
9300 PyObject * _argo0 = 0;
9301 char *_kwnames[] = { "self","col", NULL };
9302
9303 self = self;
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9305 return NULL;
9306 if (_argo0) {
9307 if (_argo0 == Py_None) { _arg0 = NULL; }
9308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9310 return NULL;
9311 }
9312 }
9313{
0e2ff151 9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9315 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9316
0e2ff151 9317 wxPyEndAllowThreads(__tstate);
e6056257
RD
9318 if (PyErr_Occurred()) return NULL;
9319}{
9320 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9321}
9322{
9323 delete _result;
9324}
9325 return _resultobj;
9326}
9327
9328#define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9329static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9330 PyObject * _resultobj;
9331 wxColour * _result;
9332 wxGrid * _arg0;
9333 PyObject * _argo0 = 0;
9334 char *_kwnames[] = { "self", NULL };
9335 char _ptemp[128];
9336
9337 self = self;
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9339 return NULL;
9340 if (_argo0) {
9341 if (_argo0 == Py_None) { _arg0 = NULL; }
9342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9344 return NULL;
9345 }
9346 }
9347{
0e2ff151 9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9349 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9350
0e2ff151 9351 wxPyEndAllowThreads(__tstate);
e6056257
RD
9352 if (PyErr_Occurred()) return NULL;
9353} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9354 _resultobj = Py_BuildValue("s",_ptemp);
9355 return _resultobj;
9356}
9357
9358#define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9359static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject * _resultobj;
9361 wxColour * _result;
9362 wxGrid * _arg0;
9363 PyObject * _argo0 = 0;
9364 char *_kwnames[] = { "self", NULL };
9365 char _ptemp[128];
9366
9367 self = self;
9368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9369 return NULL;
9370 if (_argo0) {
9371 if (_argo0 == Py_None) { _arg0 = NULL; }
9372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9374 return NULL;
9375 }
9376 }
9377{
0e2ff151 9378 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9379 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9380
0e2ff151 9381 wxPyEndAllowThreads(__tstate);
e6056257
RD
9382 if (PyErr_Occurred()) return NULL;
9383} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9384 _resultobj = Py_BuildValue("s",_ptemp);
9385 return _resultobj;
9386}
9387
9388#define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9389static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject * _resultobj;
9391 int _result;
9392 wxGrid * _arg0;
9393 PyObject * _argo0 = 0;
9394 char *_kwnames[] = { "self", NULL };
9395
9396 self = self;
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9398 return NULL;
9399 if (_argo0) {
9400 if (_argo0 == Py_None) { _arg0 = NULL; }
9401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9403 return NULL;
9404 }
9405 }
9406{
0e2ff151 9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9408 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9409
0e2ff151 9410 wxPyEndAllowThreads(__tstate);
e6056257
RD
9411 if (PyErr_Occurred()) return NULL;
9412} _resultobj = Py_BuildValue("i",_result);
9413 return _resultobj;
9414}
9415
9416#define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9417static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9418 PyObject * _resultobj;
9419 int _result;
9420 wxGrid * _arg0;
9421 PyObject * _argo0 = 0;
9422 char *_kwnames[] = { "self", NULL };
9423
9424 self = self;
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9426 return NULL;
9427 if (_argo0) {
9428 if (_argo0 == Py_None) { _arg0 = NULL; }
9429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9431 return NULL;
9432 }
9433 }
9434{
0e2ff151 9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9436 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9437
0e2ff151 9438 wxPyEndAllowThreads(__tstate);
e6056257
RD
9439 if (PyErr_Occurred()) return NULL;
9440} _resultobj = Py_BuildValue("i",_result);
9441 return _resultobj;
9442}
9443
9444#define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9445static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9446 PyObject * _resultobj;
9447 wxGrid * _arg0;
9448 int _arg1;
9449 PyObject * _argo0 = 0;
9450 char *_kwnames[] = { "self","width", NULL };
9451
9452 self = self;
9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9454 return NULL;
9455 if (_argo0) {
9456 if (_argo0 == Py_None) { _arg0 = NULL; }
9457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9459 return NULL;
9460 }
9461 }
9462{
0e2ff151 9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9464 wxGrid_SetRowLabelSize(_arg0,_arg1);
9465
0e2ff151 9466 wxPyEndAllowThreads(__tstate);
e6056257
RD
9467 if (PyErr_Occurred()) return NULL;
9468} Py_INCREF(Py_None);
9469 _resultobj = Py_None;
9470 return _resultobj;
9471}
9472
9473#define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9474static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9475 PyObject * _resultobj;
9476 wxGrid * _arg0;
9477 int _arg1;
9478 PyObject * _argo0 = 0;
9479 char *_kwnames[] = { "self","height", NULL };
9480
9481 self = self;
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9483 return NULL;
9484 if (_argo0) {
9485 if (_argo0 == Py_None) { _arg0 = NULL; }
9486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9488 return NULL;
9489 }
9490 }
9491{
0e2ff151 9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9493 wxGrid_SetColLabelSize(_arg0,_arg1);
9494
0e2ff151 9495 wxPyEndAllowThreads(__tstate);
e6056257
RD
9496 if (PyErr_Occurred()) return NULL;
9497} Py_INCREF(Py_None);
9498 _resultobj = Py_None;
9499 return _resultobj;
9500}
9501
9502#define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9503static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9504 PyObject * _resultobj;
9505 wxGrid * _arg0;
9506 wxColour * _arg1;
9507 PyObject * _argo0 = 0;
9508 wxColour temp;
9509 PyObject * _obj1 = 0;
9510 char *_kwnames[] = { "self","arg2", NULL };
9511
9512 self = self;
9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9514 return NULL;
9515 if (_argo0) {
9516 if (_argo0 == Py_None) { _arg0 = NULL; }
9517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9519 return NULL;
9520 }
9521 }
9522{
9523 _arg1 = &temp;
9524 if (! wxColour_helper(_obj1, &_arg1))
9525 return NULL;
9526}
9527{
0e2ff151 9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9529 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9530
0e2ff151 9531 wxPyEndAllowThreads(__tstate);
e6056257
RD
9532 if (PyErr_Occurred()) return NULL;
9533} Py_INCREF(Py_None);
9534 _resultobj = Py_None;
9535 return _resultobj;
9536}
9537
9538#define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9539static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9540 PyObject * _resultobj;
9541 wxGrid * _arg0;
9542 wxColour * _arg1;
9543 PyObject * _argo0 = 0;
9544 wxColour temp;
9545 PyObject * _obj1 = 0;
9546 char *_kwnames[] = { "self","arg2", NULL };
9547
9548 self = self;
9549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9550 return NULL;
9551 if (_argo0) {
9552 if (_argo0 == Py_None) { _arg0 = NULL; }
9553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9555 return NULL;
9556 }
9557 }
9558{
9559 _arg1 = &temp;
9560 if (! wxColour_helper(_obj1, &_arg1))
9561 return NULL;
9562}
9563{
0e2ff151 9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9565 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9566
0e2ff151 9567 wxPyEndAllowThreads(__tstate);
e6056257
RD
9568 if (PyErr_Occurred()) return NULL;
9569} Py_INCREF(Py_None);
9570 _resultobj = Py_None;
9571 return _resultobj;
9572}
9573
9574#define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9575static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject * _resultobj;
9577 wxGrid * _arg0;
9578 wxFont * _arg1;
9579 PyObject * _argo0 = 0;
9580 PyObject * _argo1 = 0;
9581 char *_kwnames[] = { "self","arg2", NULL };
9582
9583 self = self;
9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9585 return NULL;
9586 if (_argo0) {
9587 if (_argo0 == Py_None) { _arg0 = NULL; }
9588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9590 return NULL;
9591 }
9592 }
9593 if (_argo1) {
9594 if (_argo1 == Py_None) { _arg1 = NULL; }
9595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9597 return NULL;
9598 }
9599 }
9600{
0e2ff151 9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9602 wxGrid_SetLabelFont(_arg0,*_arg1);
9603
0e2ff151 9604 wxPyEndAllowThreads(__tstate);
e6056257
RD
9605 if (PyErr_Occurred()) return NULL;
9606} Py_INCREF(Py_None);
9607 _resultobj = Py_None;
9608 return _resultobj;
9609}
9610
9611#define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9612static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject * _resultobj;
9614 wxGrid * _arg0;
9615 int _arg1;
9616 int _arg2;
9617 PyObject * _argo0 = 0;
9618 char *_kwnames[] = { "self","horiz","vert", NULL };
9619
9620 self = self;
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9622 return NULL;
9623 if (_argo0) {
9624 if (_argo0 == Py_None) { _arg0 = NULL; }
9625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9627 return NULL;
9628 }
9629 }
9630{
0e2ff151 9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9632 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
9633
0e2ff151 9634 wxPyEndAllowThreads(__tstate);
e6056257
RD
9635 if (PyErr_Occurred()) return NULL;
9636} Py_INCREF(Py_None);
9637 _resultobj = Py_None;
9638 return _resultobj;
9639}
9640
9641#define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9642static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9643 PyObject * _resultobj;
9644 wxGrid * _arg0;
9645 int _arg1;
9646 int _arg2;
9647 PyObject * _argo0 = 0;
9648 char *_kwnames[] = { "self","horiz","vert", NULL };
9649
9650 self = self;
9651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9652 return NULL;
9653 if (_argo0) {
9654 if (_argo0 == Py_None) { _arg0 = NULL; }
9655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9657 return NULL;
9658 }
9659 }
9660{
0e2ff151 9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9662 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9663
0e2ff151 9664 wxPyEndAllowThreads(__tstate);
e6056257
RD
9665 if (PyErr_Occurred()) return NULL;
9666} Py_INCREF(Py_None);
9667 _resultobj = Py_None;
9668 return _resultobj;
9669}
9670
9671#define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9672static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9673 PyObject * _resultobj;
9674 wxGrid * _arg0;
9675 int _arg1;
9676 wxString * _arg2;
9677 PyObject * _argo0 = 0;
9678 PyObject * _obj2 = 0;
9679 char *_kwnames[] = { "self","row","arg3", NULL };
9680
9681 self = self;
9682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9683 return NULL;
9684 if (_argo0) {
9685 if (_argo0 == Py_None) { _arg0 = NULL; }
9686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9688 return NULL;
9689 }
9690 }
9691{
9692#if PYTHON_API_VERSION >= 1009
9693 char* tmpPtr; int tmpSize;
9694 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9695 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9696 return NULL;
9697 }
9698 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9699 return NULL;
9700 _arg2 = new wxString(tmpPtr, tmpSize);
9701#else
9702 if (!PyString_Check(_obj2)) {
9703 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9704 return NULL;
9705 }
9706 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9707#endif
9708}
9709{
0e2ff151 9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9711 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9712
0e2ff151 9713 wxPyEndAllowThreads(__tstate);
e6056257
RD
9714 if (PyErr_Occurred()) return NULL;
9715} Py_INCREF(Py_None);
9716 _resultobj = Py_None;
9717{
9718 if (_obj2)
9719 delete _arg2;
9720}
9721 return _resultobj;
9722}
9723
9724#define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9725static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9726 PyObject * _resultobj;
9727 wxGrid * _arg0;
9728 int _arg1;
9729 wxString * _arg2;
9730 PyObject * _argo0 = 0;
9731 PyObject * _obj2 = 0;
9732 char *_kwnames[] = { "self","col","arg3", NULL };
9733
9734 self = self;
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9736 return NULL;
9737 if (_argo0) {
9738 if (_argo0 == Py_None) { _arg0 = NULL; }
9739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9741 return NULL;
9742 }
9743 }
9744{
9745#if PYTHON_API_VERSION >= 1009
9746 char* tmpPtr; int tmpSize;
9747 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9748 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9749 return NULL;
9750 }
9751 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9752 return NULL;
9753 _arg2 = new wxString(tmpPtr, tmpSize);
9754#else
9755 if (!PyString_Check(_obj2)) {
9756 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9757 return NULL;
9758 }
9759 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9760#endif
9761}
9762{
0e2ff151 9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9764 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9765
0e2ff151 9766 wxPyEndAllowThreads(__tstate);
e6056257
RD
9767 if (PyErr_Occurred()) return NULL;
9768} Py_INCREF(Py_None);
9769 _resultobj = Py_None;
9770{
9771 if (_obj2)
9772 delete _arg2;
9773}
9774 return _resultobj;
9775}
9776
9777#define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9778static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9779 PyObject * _resultobj;
9780 wxGrid * _arg0;
9781 wxColour * _arg1;
9782 PyObject * _argo0 = 0;
9783 wxColour temp;
9784 PyObject * _obj1 = 0;
9785 char *_kwnames[] = { "self","arg2", NULL };
9786
9787 self = self;
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9789 return NULL;
9790 if (_argo0) {
9791 if (_argo0 == Py_None) { _arg0 = NULL; }
9792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9794 return NULL;
9795 }
9796 }
9797{
9798 _arg1 = &temp;
9799 if (! wxColour_helper(_obj1, &_arg1))
9800 return NULL;
9801}
9802{
0e2ff151 9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9804 wxGrid_SetGridLineColour(_arg0,*_arg1);
9805
0e2ff151 9806 wxPyEndAllowThreads(__tstate);
e6056257
RD
9807 if (PyErr_Occurred()) return NULL;
9808} Py_INCREF(Py_None);
9809 _resultobj = Py_None;
9810 return _resultobj;
9811}
9812
9813#define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9814static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject * _resultobj;
9816 wxGrid * _arg0;
9817 wxColour * _arg1;
9818 PyObject * _argo0 = 0;
9819 wxColour temp;
9820 PyObject * _obj1 = 0;
9821 char *_kwnames[] = { "self","arg2", NULL };
9822
9823 self = self;
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9825 return NULL;
9826 if (_argo0) {
9827 if (_argo0 == Py_None) { _arg0 = NULL; }
9828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9830 return NULL;
9831 }
9832 }
9833{
9834 _arg1 = &temp;
9835 if (! wxColour_helper(_obj1, &_arg1))
9836 return NULL;
9837}
9838{
0e2ff151 9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9840 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9841
0e2ff151 9842 wxPyEndAllowThreads(__tstate);
e6056257
RD
9843 if (PyErr_Occurred()) return NULL;
9844} Py_INCREF(Py_None);
9845 _resultobj = Py_None;
9846 return _resultobj;
9847}
9848
9849#define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9850static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9851 PyObject * _resultobj;
9852 wxGrid * _arg0;
9853 int _arg1;
9854 PyObject * _argo0 = 0;
9855 char *_kwnames[] = { "self","width", NULL };
9856
9857 self = self;
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
9859 return NULL;
9860 if (_argo0) {
9861 if (_argo0 == Py_None) { _arg0 = NULL; }
9862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9864 return NULL;
9865 }
9866 }
9867{
0e2ff151 9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9869 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
9870
0e2ff151 9871 wxPyEndAllowThreads(__tstate);
e6056257
RD
9872 if (PyErr_Occurred()) return NULL;
9873} Py_INCREF(Py_None);
9874 _resultobj = Py_None;
9875 return _resultobj;
9876}
9877
9878#define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9879static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9880 PyObject * _resultobj;
9881 wxGrid * _arg0;
9882 int _arg1;
9883 PyObject * _argo0 = 0;
9884 char *_kwnames[] = { "self","width", NULL };
9885
9886 self = self;
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
9888 return NULL;
9889 if (_argo0) {
9890 if (_argo0 == Py_None) { _arg0 = NULL; }
9891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9893 return NULL;
9894 }
9895 }
9896{
0e2ff151 9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9898 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
9899
0e2ff151 9900 wxPyEndAllowThreads(__tstate);
e6056257
RD
9901 if (PyErr_Occurred()) return NULL;
9902} Py_INCREF(Py_None);
9903 _resultobj = Py_None;
9904 return _resultobj;
9905}
9906
9907#define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9908static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9909 PyObject * _resultobj;
9910 wxGrid * _arg0;
9911 bool _arg1 = (bool ) TRUE;
9912 PyObject * _argo0 = 0;
9913 int tempbool1 = (int) TRUE;
9914 char *_kwnames[] = { "self","enable", NULL };
9915
9916 self = self;
9917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9918 return NULL;
9919 if (_argo0) {
9920 if (_argo0 == Py_None) { _arg0 = NULL; }
9921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9923 return NULL;
9924 }
9925 }
9926 _arg1 = (bool ) tempbool1;
9927{
0e2ff151 9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9929 wxGrid_EnableDragRowSize(_arg0,_arg1);
9930
0e2ff151 9931 wxPyEndAllowThreads(__tstate);
e6056257
RD
9932 if (PyErr_Occurred()) return NULL;
9933} Py_INCREF(Py_None);
9934 _resultobj = Py_None;
9935 return _resultobj;
9936}
9937
9938#define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9939static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9940 PyObject * _resultobj;
9941 wxGrid * _arg0;
9942 PyObject * _argo0 = 0;
9943 char *_kwnames[] = { "self", NULL };
9944
9945 self = self;
9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9947 return NULL;
9948 if (_argo0) {
9949 if (_argo0 == Py_None) { _arg0 = NULL; }
9950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9952 return NULL;
9953 }
9954 }
9955{
0e2ff151 9956 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9957 wxGrid_DisableDragRowSize(_arg0);
9958
0e2ff151 9959 wxPyEndAllowThreads(__tstate);
e6056257
RD
9960 if (PyErr_Occurred()) return NULL;
9961} Py_INCREF(Py_None);
9962 _resultobj = Py_None;
9963 return _resultobj;
9964}
9965
9966#define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9967static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9968 PyObject * _resultobj;
9969 bool _result;
9970 wxGrid * _arg0;
9971 PyObject * _argo0 = 0;
9972 char *_kwnames[] = { "self", NULL };
9973
9974 self = self;
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9976 return NULL;
9977 if (_argo0) {
9978 if (_argo0 == Py_None) { _arg0 = NULL; }
9979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9981 return NULL;
9982 }
9983 }
9984{
0e2ff151 9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
9986 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9987
0e2ff151 9988 wxPyEndAllowThreads(__tstate);
e6056257
RD
9989 if (PyErr_Occurred()) return NULL;
9990} _resultobj = Py_BuildValue("i",_result);
9991 return _resultobj;
9992}
9993
9994#define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9995static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9996 PyObject * _resultobj;
9997 wxGrid * _arg0;
9998 bool _arg1 = (bool ) TRUE;
9999 PyObject * _argo0 = 0;
10000 int tempbool1 = (int) TRUE;
10001 char *_kwnames[] = { "self","enable", NULL };
10002
10003 self = self;
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
10005 return NULL;
10006 if (_argo0) {
10007 if (_argo0 == Py_None) { _arg0 = NULL; }
10008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10010 return NULL;
10011 }
10012 }
10013 _arg1 = (bool ) tempbool1;
10014{
0e2ff151 10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10016 wxGrid_EnableDragColSize(_arg0,_arg1);
10017
0e2ff151 10018 wxPyEndAllowThreads(__tstate);
e6056257
RD
10019 if (PyErr_Occurred()) return NULL;
10020} Py_INCREF(Py_None);
10021 _resultobj = Py_None;
10022 return _resultobj;
10023}
10024
10025#define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10026static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10027 PyObject * _resultobj;
10028 wxGrid * _arg0;
10029 PyObject * _argo0 = 0;
10030 char *_kwnames[] = { "self", NULL };
10031
10032 self = self;
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
10034 return NULL;
10035 if (_argo0) {
10036 if (_argo0 == Py_None) { _arg0 = NULL; }
10037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10039 return NULL;
10040 }
10041 }
10042{
0e2ff151 10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10044 wxGrid_DisableDragColSize(_arg0);
10045
0e2ff151 10046 wxPyEndAllowThreads(__tstate);
e6056257
RD
10047 if (PyErr_Occurred()) return NULL;
10048} Py_INCREF(Py_None);
10049 _resultobj = Py_None;
10050 return _resultobj;
10051}
10052
10053#define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10054static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10055 PyObject * _resultobj;
10056 bool _result;
10057 wxGrid * _arg0;
10058 PyObject * _argo0 = 0;
10059 char *_kwnames[] = { "self", NULL };
10060
10061 self = self;
10062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
10063 return NULL;
10064 if (_argo0) {
10065 if (_argo0 == Py_None) { _arg0 = NULL; }
10066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10068 return NULL;
10069 }
10070 }
10071{
0e2ff151 10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10073 _result = (bool )wxGrid_CanDragColSize(_arg0);
10074
0e2ff151 10075 wxPyEndAllowThreads(__tstate);
e6056257
RD
10076 if (PyErr_Occurred()) return NULL;
10077} _resultobj = Py_BuildValue("i",_result);
10078 return _resultobj;
10079}
10080
10081#define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10082static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10083 PyObject * _resultobj;
10084 wxGrid * _arg0;
10085 bool _arg1 = (bool ) TRUE;
10086 PyObject * _argo0 = 0;
10087 int tempbool1 = (int) TRUE;
10088 char *_kwnames[] = { "self","enable", NULL };
10089
10090 self = self;
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
10092 return NULL;
10093 if (_argo0) {
10094 if (_argo0 == Py_None) { _arg0 = NULL; }
10095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10097 return NULL;
10098 }
10099 }
10100 _arg1 = (bool ) tempbool1;
10101{
0e2ff151 10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10103 wxGrid_EnableDragGridSize(_arg0,_arg1);
10104
0e2ff151 10105 wxPyEndAllowThreads(__tstate);
e6056257
RD
10106 if (PyErr_Occurred()) return NULL;
10107} Py_INCREF(Py_None);
10108 _resultobj = Py_None;
10109 return _resultobj;
10110}
10111
10112#define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10113static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject * _resultobj;
10115 wxGrid * _arg0;
10116 PyObject * _argo0 = 0;
10117 char *_kwnames[] = { "self", NULL };
10118
10119 self = self;
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
10121 return NULL;
10122 if (_argo0) {
10123 if (_argo0 == Py_None) { _arg0 = NULL; }
10124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10126 return NULL;
10127 }
10128 }
10129{
0e2ff151 10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10131 wxGrid_DisableDragGridSize(_arg0);
10132
0e2ff151 10133 wxPyEndAllowThreads(__tstate);
e6056257
RD
10134 if (PyErr_Occurred()) return NULL;
10135} Py_INCREF(Py_None);
10136 _resultobj = Py_None;
10137 return _resultobj;
10138}
10139
10140#define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10141static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10142 PyObject * _resultobj;
10143 bool _result;
10144 wxGrid * _arg0;
10145 PyObject * _argo0 = 0;
10146 char *_kwnames[] = { "self", NULL };
10147
10148 self = self;
10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
10150 return NULL;
10151 if (_argo0) {
10152 if (_argo0 == Py_None) { _arg0 = NULL; }
10153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10155 return NULL;
10156 }
10157 }
10158{
0e2ff151 10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10160 _result = (bool )wxGrid_CanDragGridSize(_arg0);
10161
0e2ff151 10162 wxPyEndAllowThreads(__tstate);
e6056257
RD
10163 if (PyErr_Occurred()) return NULL;
10164} _resultobj = Py_BuildValue("i",_result);
10165 return _resultobj;
10166}
10167
10168#define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10169static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10170 PyObject * _resultobj;
10171 wxGrid * _arg0;
10172 int _arg1;
10173 wxGridCellAttr * _arg2;
10174 PyObject * _argo0 = 0;
10175 PyObject * _argo2 = 0;
10176 char *_kwnames[] = { "self","row","attr", NULL };
10177
10178 self = self;
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10180 return NULL;
10181 if (_argo0) {
10182 if (_argo0 == Py_None) { _arg0 = NULL; }
10183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10185 return NULL;
10186 }
10187 }
10188 if (_argo2) {
10189 if (_argo2 == Py_None) { _arg2 = NULL; }
10190 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10191 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10192 return NULL;
10193 }
10194 }
10195{
0e2ff151 10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10197 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
10198
0e2ff151 10199 wxPyEndAllowThreads(__tstate);
e6056257
RD
10200 if (PyErr_Occurred()) return NULL;
10201} Py_INCREF(Py_None);
10202 _resultobj = Py_None;
10203 return _resultobj;
10204}
10205
10206#define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10207static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject * _resultobj;
10209 wxGrid * _arg0;
10210 int _arg1;
10211 wxGridCellAttr * _arg2;
10212 PyObject * _argo0 = 0;
10213 PyObject * _argo2 = 0;
10214 char *_kwnames[] = { "self","col","attr", NULL };
10215
10216 self = self;
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10218 return NULL;
10219 if (_argo0) {
10220 if (_argo0 == Py_None) { _arg0 = NULL; }
10221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10223 return NULL;
10224 }
10225 }
10226 if (_argo2) {
10227 if (_argo2 == Py_None) { _arg2 = NULL; }
10228 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10229 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10230 return NULL;
10231 }
10232 }
10233{
0e2ff151 10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10235 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
10236
0e2ff151 10237 wxPyEndAllowThreads(__tstate);
e6056257
RD
10238 if (PyErr_Occurred()) return NULL;
10239} Py_INCREF(Py_None);
10240 _resultobj = Py_None;
10241 return _resultobj;
10242}
10243
10244#define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10245static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject * _resultobj;
10247 wxGrid * _arg0;
10248 int _arg1;
10249 PyObject * _argo0 = 0;
10250 char *_kwnames[] = { "self","col", NULL };
10251
10252 self = self;
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10254 return NULL;
10255 if (_argo0) {
10256 if (_argo0 == Py_None) { _arg0 = NULL; }
10257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10259 return NULL;
10260 }
10261 }
10262{
0e2ff151 10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10264 wxGrid_SetColFormatBool(_arg0,_arg1);
10265
0e2ff151 10266 wxPyEndAllowThreads(__tstate);
e6056257
RD
10267 if (PyErr_Occurred()) return NULL;
10268} Py_INCREF(Py_None);
10269 _resultobj = Py_None;
10270 return _resultobj;
10271}
10272
10273#define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10274static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10275 PyObject * _resultobj;
10276 wxGrid * _arg0;
10277 int _arg1;
10278 PyObject * _argo0 = 0;
10279 char *_kwnames[] = { "self","col", NULL };
10280
10281 self = self;
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10283 return NULL;
10284 if (_argo0) {
10285 if (_argo0 == Py_None) { _arg0 = NULL; }
10286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10288 return NULL;
10289 }
10290 }
10291{
0e2ff151 10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10293 wxGrid_SetColFormatNumber(_arg0,_arg1);
10294
0e2ff151 10295 wxPyEndAllowThreads(__tstate);
e6056257
RD
10296 if (PyErr_Occurred()) return NULL;
10297} Py_INCREF(Py_None);
10298 _resultobj = Py_None;
10299 return _resultobj;
10300}
10301
10302#define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10303static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10304 PyObject * _resultobj;
10305 wxGrid * _arg0;
10306 int _arg1;
10307 int _arg2 = (int ) -1;
10308 int _arg3 = (int ) -1;
10309 PyObject * _argo0 = 0;
10310 char *_kwnames[] = { "self","col","width","precision", NULL };
10311
10312 self = self;
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10314 return NULL;
10315 if (_argo0) {
10316 if (_argo0 == Py_None) { _arg0 = NULL; }
10317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10319 return NULL;
10320 }
10321 }
10322{
0e2ff151 10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10324 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10325
0e2ff151 10326 wxPyEndAllowThreads(__tstate);
e6056257
RD
10327 if (PyErr_Occurred()) return NULL;
10328} Py_INCREF(Py_None);
10329 _resultobj = Py_None;
10330 return _resultobj;
10331}
10332
10333#define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10334static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10335 PyObject * _resultobj;
10336 wxGrid * _arg0;
10337 int _arg1;
10338 wxString * _arg2;
10339 PyObject * _argo0 = 0;
10340 PyObject * _obj2 = 0;
10341 char *_kwnames[] = { "self","col","typeName", NULL };
10342
10343 self = self;
10344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10345 return NULL;
10346 if (_argo0) {
10347 if (_argo0 == Py_None) { _arg0 = NULL; }
10348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10350 return NULL;
10351 }
10352 }
10353{
10354#if PYTHON_API_VERSION >= 1009
10355 char* tmpPtr; int tmpSize;
10356 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
10357 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10358 return NULL;
10359 }
10360 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
10361 return NULL;
10362 _arg2 = new wxString(tmpPtr, tmpSize);
10363#else
10364 if (!PyString_Check(_obj2)) {
10365 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10366 return NULL;
10367 }
10368 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
10369#endif
10370}
10371{
0e2ff151 10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10373 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10374
0e2ff151 10375 wxPyEndAllowThreads(__tstate);
e6056257
RD
10376 if (PyErr_Occurred()) return NULL;
10377} Py_INCREF(Py_None);
10378 _resultobj = Py_None;
10379{
10380 if (_obj2)
10381 delete _arg2;
10382}
10383 return _resultobj;
10384}
10385
10386#define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10387static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10388 PyObject * _resultobj;
10389 wxGrid * _arg0;
10390 bool _arg1 = (bool ) TRUE;
10391 PyObject * _argo0 = 0;
10392 int tempbool1 = (int) TRUE;
10393 char *_kwnames[] = { "self","enable", NULL };
10394
10395 self = self;
10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10397 return NULL;
10398 if (_argo0) {
10399 if (_argo0 == Py_None) { _arg0 = NULL; }
10400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10402 return NULL;
10403 }
10404 }
10405 _arg1 = (bool ) tempbool1;
10406{
0e2ff151 10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10408 wxGrid_EnableGridLines(_arg0,_arg1);
10409
0e2ff151 10410 wxPyEndAllowThreads(__tstate);
e6056257
RD
10411 if (PyErr_Occurred()) return NULL;
10412} Py_INCREF(Py_None);
10413 _resultobj = Py_None;
10414 return _resultobj;
10415}
10416
10417#define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10418static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject * _resultobj;
10420 bool _result;
10421 wxGrid * _arg0;
10422 PyObject * _argo0 = 0;
10423 char *_kwnames[] = { "self", NULL };
10424
10425 self = self;
10426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10427 return NULL;
10428 if (_argo0) {
10429 if (_argo0 == Py_None) { _arg0 = NULL; }
10430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10432 return NULL;
10433 }
10434 }
10435{
0e2ff151 10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10437 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
10438
0e2ff151 10439 wxPyEndAllowThreads(__tstate);
e6056257
RD
10440 if (PyErr_Occurred()) return NULL;
10441} _resultobj = Py_BuildValue("i",_result);
10442 return _resultobj;
10443}
10444
10445#define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10446static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject * _resultobj;
10448 int _result;
10449 wxGrid * _arg0;
10450 PyObject * _argo0 = 0;
10451 char *_kwnames[] = { "self", NULL };
10452
10453 self = self;
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10455 return NULL;
10456 if (_argo0) {
10457 if (_argo0 == Py_None) { _arg0 = NULL; }
10458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10460 return NULL;
10461 }
10462 }
10463{
0e2ff151 10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10465 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
10466
0e2ff151 10467 wxPyEndAllowThreads(__tstate);
e6056257
RD
10468 if (PyErr_Occurred()) return NULL;
10469} _resultobj = Py_BuildValue("i",_result);
10470 return _resultobj;
10471}
10472
10473#define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10474static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10475 PyObject * _resultobj;
10476 int _result;
10477 wxGrid * _arg0;
10478 int _arg1;
10479 PyObject * _argo0 = 0;
10480 char *_kwnames[] = { "self","row", NULL };
10481
10482 self = self;
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10484 return NULL;
10485 if (_argo0) {
10486 if (_argo0 == Py_None) { _arg0 = NULL; }
10487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10489 return NULL;
10490 }
10491 }
10492{
0e2ff151 10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10494 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
10495
0e2ff151 10496 wxPyEndAllowThreads(__tstate);
e6056257
RD
10497 if (PyErr_Occurred()) return NULL;
10498} _resultobj = Py_BuildValue("i",_result);
10499 return _resultobj;
10500}
10501
10502#define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10503static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10504 PyObject * _resultobj;
10505 int _result;
10506 wxGrid * _arg0;
10507 PyObject * _argo0 = 0;
10508 char *_kwnames[] = { "self", NULL };
10509
10510 self = self;
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
10512 return NULL;
10513 if (_argo0) {
10514 if (_argo0 == Py_None) { _arg0 = NULL; }
10515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10517 return NULL;
10518 }
10519 }
10520{
0e2ff151 10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10522 _result = (int )wxGrid_GetDefaultColSize(_arg0);
10523
0e2ff151 10524 wxPyEndAllowThreads(__tstate);
e6056257
RD
10525 if (PyErr_Occurred()) return NULL;
10526} _resultobj = Py_BuildValue("i",_result);
10527 return _resultobj;
10528}
10529
10530#define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10531static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10532 PyObject * _resultobj;
10533 int _result;
10534 wxGrid * _arg0;
10535 int _arg1;
10536 PyObject * _argo0 = 0;
10537 char *_kwnames[] = { "self","col", NULL };
10538
10539 self = self;
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10541 return NULL;
10542 if (_argo0) {
10543 if (_argo0 == Py_None) { _arg0 = NULL; }
10544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10546 return NULL;
10547 }
10548 }
10549{
0e2ff151 10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10551 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10552
0e2ff151 10553 wxPyEndAllowThreads(__tstate);
e6056257
RD
10554 if (PyErr_Occurred()) return NULL;
10555} _resultobj = Py_BuildValue("i",_result);
10556 return _resultobj;
10557}
10558
10559#define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10560static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10561 PyObject * _resultobj;
10562 wxColour * _result;
10563 wxGrid * _arg0;
10564 PyObject * _argo0 = 0;
10565 char *_kwnames[] = { "self", NULL };
10566 char _ptemp[128];
10567
10568 self = self;
10569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10570 return NULL;
10571 if (_argo0) {
10572 if (_argo0 == Py_None) { _arg0 = NULL; }
10573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10575 return NULL;
10576 }
10577 }
10578{
0e2ff151 10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10580 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10581
0e2ff151 10582 wxPyEndAllowThreads(__tstate);
e6056257
RD
10583 if (PyErr_Occurred()) return NULL;
10584} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10585 _resultobj = Py_BuildValue("s",_ptemp);
10586 return _resultobj;
10587}
10588
10589#define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10590static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject * _resultobj;
10592 wxColour * _result;
10593 wxGrid * _arg0;
10594 int _arg1;
10595 int _arg2;
10596 PyObject * _argo0 = 0;
10597 char *_kwnames[] = { "self","row","col", NULL };
10598 char _ptemp[128];
10599
10600 self = self;
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10602 return NULL;
10603 if (_argo0) {
10604 if (_argo0 == Py_None) { _arg0 = NULL; }
10605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10607 return NULL;
10608 }
10609 }
10610{
0e2ff151 10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10612 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
10613
0e2ff151 10614 wxPyEndAllowThreads(__tstate);
e6056257
RD
10615 if (PyErr_Occurred()) return NULL;
10616} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10617 _resultobj = Py_BuildValue("s",_ptemp);
10618 return _resultobj;
10619}
10620
10621#define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10622static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject * _resultobj;
10624 wxColour * _result;
10625 wxGrid * _arg0;
10626 PyObject * _argo0 = 0;
10627 char *_kwnames[] = { "self", NULL };
10628 char _ptemp[128];
10629
10630 self = self;
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10632 return NULL;
10633 if (_argo0) {
10634 if (_argo0 == Py_None) { _arg0 = NULL; }
10635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10637 return NULL;
10638 }
10639 }
10640{
0e2ff151 10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10642 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
10643
0e2ff151 10644 wxPyEndAllowThreads(__tstate);
e6056257
RD
10645 if (PyErr_Occurred()) return NULL;
10646} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10647 _resultobj = Py_BuildValue("s",_ptemp);
10648 return _resultobj;
10649}
10650
10651#define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10652static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject * _resultobj;
10654 wxColour * _result;
10655 wxGrid * _arg0;
10656 int _arg1;
10657 int _arg2;
10658 PyObject * _argo0 = 0;
10659 char *_kwnames[] = { "self","row","col", NULL };
10660 char _ptemp[128];
10661
10662 self = self;
10663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10664 return NULL;
10665 if (_argo0) {
10666 if (_argo0 == Py_None) { _arg0 = NULL; }
10667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10669 return NULL;
10670 }
10671 }
10672{
0e2ff151 10673 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10674 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
10675
0e2ff151 10676 wxPyEndAllowThreads(__tstate);
e6056257
RD
10677 if (PyErr_Occurred()) return NULL;
10678} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10679 _resultobj = Py_BuildValue("s",_ptemp);
10680 return _resultobj;
10681}
10682
10683#define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10684static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10685 PyObject * _resultobj;
10686 wxFont * _result;
10687 wxGrid * _arg0;
10688 PyObject * _argo0 = 0;
10689 char *_kwnames[] = { "self", NULL };
10690 char _ptemp[128];
10691
10692 self = self;
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10694 return NULL;
10695 if (_argo0) {
10696 if (_argo0 == Py_None) { _arg0 = NULL; }
10697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10699 return NULL;
10700 }
10701 }
10702{
0e2ff151 10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10704 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
10705
0e2ff151 10706 wxPyEndAllowThreads(__tstate);
e6056257
RD
10707 if (PyErr_Occurred()) return NULL;
10708} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10709 _resultobj = Py_BuildValue("s",_ptemp);
10710 return _resultobj;
10711}
10712
10713#define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10714static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10715 PyObject * _resultobj;
10716 wxFont * _result;
10717 wxGrid * _arg0;
10718 int _arg1;
10719 int _arg2;
10720 PyObject * _argo0 = 0;
10721 char *_kwnames[] = { "self","row","col", NULL };
10722 char _ptemp[128];
10723
10724 self = self;
10725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10726 return NULL;
10727 if (_argo0) {
10728 if (_argo0 == Py_None) { _arg0 = NULL; }
10729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10731 return NULL;
10732 }
10733 }
10734{
0e2ff151 10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10736 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
10737
0e2ff151 10738 wxPyEndAllowThreads(__tstate);
e6056257
RD
10739 if (PyErr_Occurred()) return NULL;
10740} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10741 _resultobj = Py_BuildValue("s",_ptemp);
10742 return _resultobj;
10743}
10744
10745#define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10746static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10747 PyObject * _resultobj;
10748 wxGrid * _arg0;
10749 int * _arg1;
10750 int * _arg2;
10751 PyObject * _argo0 = 0;
10752 PyObject * _argo1 = 0;
10753 PyObject * _argo2 = 0;
10754 char *_kwnames[] = { "self","horiz","vert", NULL };
10755
10756 self = self;
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10758 return NULL;
10759 if (_argo0) {
10760 if (_argo0 == Py_None) { _arg0 = NULL; }
10761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10763 return NULL;
10764 }
10765 }
10766 if (_argo1) {
10767 if (_argo1 == Py_None) { _arg1 = NULL; }
10768 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10769 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10770 return NULL;
10771 }
10772 }
10773 if (_argo2) {
10774 if (_argo2 == Py_None) { _arg2 = NULL; }
10775 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10776 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10777 return NULL;
10778 }
10779 }
10780{
0e2ff151 10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10782 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10783
0e2ff151 10784 wxPyEndAllowThreads(__tstate);
e6056257
RD
10785 if (PyErr_Occurred()) return NULL;
10786} Py_INCREF(Py_None);
10787 _resultobj = Py_None;
10788 return _resultobj;
10789}
10790
10791#define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10792static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10793 PyObject * _resultobj;
10794 wxGrid * _arg0;
10795 int _arg1;
10796 int _arg2;
10797 int * _arg3;
10798 int * _arg4;
10799 PyObject * _argo0 = 0;
10800 PyObject * _argo3 = 0;
10801 PyObject * _argo4 = 0;
10802 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10803
10804 self = self;
10805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10806 return NULL;
10807 if (_argo0) {
10808 if (_argo0 == Py_None) { _arg0 = NULL; }
10809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10811 return NULL;
10812 }
10813 }
10814 if (_argo3) {
10815 if (_argo3 == Py_None) { _arg3 = NULL; }
10816 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10817 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10818 return NULL;
10819 }
10820 }
10821 if (_argo4) {
10822 if (_argo4 == Py_None) { _arg4 = NULL; }
10823 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10824 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10825 return NULL;
10826 }
10827 }
10828{
0e2ff151 10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10830 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10831
0e2ff151 10832 wxPyEndAllowThreads(__tstate);
e6056257
RD
10833 if (PyErr_Occurred()) return NULL;
10834} Py_INCREF(Py_None);
10835 _resultobj = Py_None;
10836 return _resultobj;
10837}
10838
10839#define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10840static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject * _resultobj;
10842 wxGrid * _arg0;
10843 int _arg1;
10844 bool _arg2 = (bool ) FALSE;
10845 PyObject * _argo0 = 0;
10846 int tempbool2 = (int) FALSE;
10847 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10848
10849 self = self;
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10851 return NULL;
10852 if (_argo0) {
10853 if (_argo0 == Py_None) { _arg0 = NULL; }
10854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10856 return NULL;
10857 }
10858 }
10859 _arg2 = (bool ) tempbool2;
10860{
0e2ff151 10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10862 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10863
0e2ff151 10864 wxPyEndAllowThreads(__tstate);
e6056257
RD
10865 if (PyErr_Occurred()) return NULL;
10866} Py_INCREF(Py_None);
10867 _resultobj = Py_None;
10868 return _resultobj;
10869}
10870
10871#define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10872static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10873 PyObject * _resultobj;
10874 wxGrid * _arg0;
10875 int _arg1;
10876 int _arg2;
10877 PyObject * _argo0 = 0;
10878 char *_kwnames[] = { "self","row","height", NULL };
10879
10880 self = self;
10881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10882 return NULL;
10883 if (_argo0) {
10884 if (_argo0 == Py_None) { _arg0 = NULL; }
10885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10887 return NULL;
10888 }
10889 }
10890{
0e2ff151 10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10892 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10893
0e2ff151 10894 wxPyEndAllowThreads(__tstate);
e6056257
RD
10895 if (PyErr_Occurred()) return NULL;
10896} Py_INCREF(Py_None);
10897 _resultobj = Py_None;
10898 return _resultobj;
10899}
10900
10901#define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10902static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject * _resultobj;
10904 wxGrid * _arg0;
10905 int _arg1;
10906 bool _arg2 = (bool ) FALSE;
10907 PyObject * _argo0 = 0;
10908 int tempbool2 = (int) FALSE;
10909 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10910
10911 self = self;
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10913 return NULL;
10914 if (_argo0) {
10915 if (_argo0 == Py_None) { _arg0 = NULL; }
10916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10918 return NULL;
10919 }
10920 }
10921 _arg2 = (bool ) tempbool2;
10922{
0e2ff151 10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10924 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10925
0e2ff151 10926 wxPyEndAllowThreads(__tstate);
e6056257
RD
10927 if (PyErr_Occurred()) return NULL;
10928} Py_INCREF(Py_None);
10929 _resultobj = Py_None;
10930 return _resultobj;
10931}
10932
10933#define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10934static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10935 PyObject * _resultobj;
10936 wxGrid * _arg0;
10937 int _arg1;
10938 int _arg2;
10939 PyObject * _argo0 = 0;
10940 char *_kwnames[] = { "self","col","width", NULL };
10941
10942 self = self;
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10944 return NULL;
10945 if (_argo0) {
10946 if (_argo0 == Py_None) { _arg0 = NULL; }
10947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10949 return NULL;
10950 }
10951 }
10952{
0e2ff151 10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10954 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10955
0e2ff151 10956 wxPyEndAllowThreads(__tstate);
e6056257
RD
10957 if (PyErr_Occurred()) return NULL;
10958} Py_INCREF(Py_None);
10959 _resultobj = Py_None;
10960 return _resultobj;
10961}
10962
10963#define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10964static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10965 PyObject * _resultobj;
10966 wxGrid * _arg0;
10967 int _arg1;
10968 bool _arg2 = (bool ) TRUE;
10969 PyObject * _argo0 = 0;
10970 int tempbool2 = (int) TRUE;
10971 char *_kwnames[] = { "self","col","setAsMin", NULL };
10972
10973 self = self;
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10975 return NULL;
10976 if (_argo0) {
10977 if (_argo0 == Py_None) { _arg0 = NULL; }
10978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10980 return NULL;
10981 }
10982 }
10983 _arg2 = (bool ) tempbool2;
10984{
0e2ff151 10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
10986 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10987
0e2ff151 10988 wxPyEndAllowThreads(__tstate);
e6056257
RD
10989 if (PyErr_Occurred()) return NULL;
10990} Py_INCREF(Py_None);
10991 _resultobj = Py_None;
10992 return _resultobj;
10993}
10994
10995#define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10996static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10997 PyObject * _resultobj;
10998 wxGrid * _arg0;
10999 int _arg1;
11000 bool _arg2 = (bool ) TRUE;
11001 PyObject * _argo0 = 0;
11002 int tempbool2 = (int) TRUE;
11003 char *_kwnames[] = { "self","row","setAsMin", NULL };
11004
11005 self = self;
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11007 return NULL;
11008 if (_argo0) {
11009 if (_argo0 == Py_None) { _arg0 = NULL; }
11010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11012 return NULL;
11013 }
11014 }
11015 _arg2 = (bool ) tempbool2;
11016{
0e2ff151 11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11018 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
11019
0e2ff151 11020 wxPyEndAllowThreads(__tstate);
e6056257
RD
11021 if (PyErr_Occurred()) return NULL;
11022} Py_INCREF(Py_None);
11023 _resultobj = Py_None;
11024 return _resultobj;
11025}
11026
11027#define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11028static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
11029 PyObject * _resultobj;
11030 wxGrid * _arg0;
11031 bool _arg1 = (bool ) TRUE;
11032 PyObject * _argo0 = 0;
11033 int tempbool1 = (int) TRUE;
11034 char *_kwnames[] = { "self","setAsMin", NULL };
11035
11036 self = self;
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
11038 return NULL;
11039 if (_argo0) {
11040 if (_argo0 == Py_None) { _arg0 = NULL; }
11041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11043 return NULL;
11044 }
11045 }
11046 _arg1 = (bool ) tempbool1;
11047{
0e2ff151 11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11049 wxGrid_AutoSizeColumns(_arg0,_arg1);
11050
0e2ff151 11051 wxPyEndAllowThreads(__tstate);
e6056257
RD
11052 if (PyErr_Occurred()) return NULL;
11053} Py_INCREF(Py_None);
11054 _resultobj = Py_None;
11055 return _resultobj;
11056}
11057
11058#define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11059static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
11060 PyObject * _resultobj;
11061 wxGrid * _arg0;
11062 bool _arg1 = (bool ) TRUE;
11063 PyObject * _argo0 = 0;
11064 int tempbool1 = (int) TRUE;
11065 char *_kwnames[] = { "self","setAsMin", NULL };
11066
11067 self = self;
11068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
11069 return NULL;
11070 if (_argo0) {
11071 if (_argo0 == Py_None) { _arg0 = NULL; }
11072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11074 return NULL;
11075 }
11076 }
11077 _arg1 = (bool ) tempbool1;
11078{
0e2ff151 11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11080 wxGrid_AutoSizeRows(_arg0,_arg1);
11081
0e2ff151 11082 wxPyEndAllowThreads(__tstate);
e6056257
RD
11083 if (PyErr_Occurred()) return NULL;
11084} Py_INCREF(Py_None);
11085 _resultobj = Py_None;
11086 return _resultobj;
11087}
11088
11089#define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11090static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11091 PyObject * _resultobj;
11092 wxGrid * _arg0;
11093 PyObject * _argo0 = 0;
11094 char *_kwnames[] = { "self", NULL };
11095
11096 self = self;
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
11098 return NULL;
11099 if (_argo0) {
11100 if (_argo0 == Py_None) { _arg0 = NULL; }
11101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11103 return NULL;
11104 }
11105 }
11106{
0e2ff151 11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11108 wxGrid_AutoSize(_arg0);
11109
0e2ff151 11110 wxPyEndAllowThreads(__tstate);
e6056257
RD
11111 if (PyErr_Occurred()) return NULL;
11112} Py_INCREF(Py_None);
11113 _resultobj = Py_None;
11114 return _resultobj;
11115}
11116
11117#define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11118static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11119 PyObject * _resultobj;
11120 wxGrid * _arg0;
11121 int _arg1;
11122 int _arg2;
11123 PyObject * _argo0 = 0;
11124 char *_kwnames[] = { "self","col","width", NULL };
11125
11126 self = self;
11127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
11128 return NULL;
11129 if (_argo0) {
11130 if (_argo0 == Py_None) { _arg0 = NULL; }
11131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11133 return NULL;
11134 }
11135 }
11136{
0e2ff151 11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11138 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
11139
0e2ff151 11140 wxPyEndAllowThreads(__tstate);
e6056257
RD
11141 if (PyErr_Occurred()) return NULL;
11142} Py_INCREF(Py_None);
11143 _resultobj = Py_None;
11144 return _resultobj;
11145}
11146
11147#define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11148static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11149 PyObject * _resultobj;
11150 wxGrid * _arg0;
11151 int _arg1;
11152 int _arg2;
11153 PyObject * _argo0 = 0;
11154 char *_kwnames[] = { "self","row","width", NULL };
11155
11156 self = self;
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
11158 return NULL;
11159 if (_argo0) {
11160 if (_argo0 == Py_None) { _arg0 = NULL; }
11161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11163 return NULL;
11164 }
11165 }
11166{
0e2ff151 11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11168 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
11169
0e2ff151 11170 wxPyEndAllowThreads(__tstate);
e6056257
RD
11171 if (PyErr_Occurred()) return NULL;
11172} Py_INCREF(Py_None);
11173 _resultobj = Py_None;
11174 return _resultobj;
11175}
11176
11177#define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11178static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11179 PyObject * _resultobj;
11180 wxGrid * _arg0;
11181 wxColour * _arg1;
11182 PyObject * _argo0 = 0;
11183 wxColour temp;
11184 PyObject * _obj1 = 0;
11185 char *_kwnames[] = { "self","arg2", NULL };
11186
11187 self = self;
11188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
11189 return NULL;
11190 if (_argo0) {
11191 if (_argo0 == Py_None) { _arg0 = NULL; }
11192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11194 return NULL;
11195 }
11196 }
11197{
11198 _arg1 = &temp;
11199 if (! wxColour_helper(_obj1, &_arg1))
11200 return NULL;
11201}
11202{
0e2ff151 11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11204 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
11205
0e2ff151 11206 wxPyEndAllowThreads(__tstate);
e6056257
RD
11207 if (PyErr_Occurred()) return NULL;
11208} Py_INCREF(Py_None);
11209 _resultobj = Py_None;
11210 return _resultobj;
11211}
11212
11213#define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11214static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11215 PyObject * _resultobj;
11216 wxGrid * _arg0;
11217 int _arg1;
11218 int _arg2;
11219 wxColour * _arg3;
11220 PyObject * _argo0 = 0;
11221 wxColour temp;
11222 PyObject * _obj3 = 0;
11223 char *_kwnames[] = { "self","row","col","arg4", NULL };
11224
11225 self = self;
11226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11227 return NULL;
11228 if (_argo0) {
11229 if (_argo0 == Py_None) { _arg0 = NULL; }
11230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11232 return NULL;
11233 }
11234 }
11235{
11236 _arg3 = &temp;
11237 if (! wxColour_helper(_obj3, &_arg3))
11238 return NULL;
11239}
11240{
0e2ff151 11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11242 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
11243
0e2ff151 11244 wxPyEndAllowThreads(__tstate);
e6056257
RD
11245 if (PyErr_Occurred()) return NULL;
11246} Py_INCREF(Py_None);
11247 _resultobj = Py_None;
11248 return _resultobj;
11249}
11250
11251#define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11252static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject * _resultobj;
11254 wxGrid * _arg0;
11255 wxColour * _arg1;
11256 PyObject * _argo0 = 0;
11257 wxColour temp;
11258 PyObject * _obj1 = 0;
11259 char *_kwnames[] = { "self","arg2", NULL };
11260
11261 self = self;
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
11263 return NULL;
11264 if (_argo0) {
11265 if (_argo0 == Py_None) { _arg0 = NULL; }
11266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11268 return NULL;
11269 }
11270 }
11271{
11272 _arg1 = &temp;
11273 if (! wxColour_helper(_obj1, &_arg1))
11274 return NULL;
11275}
11276{
0e2ff151 11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11278 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
11279
0e2ff151 11280 wxPyEndAllowThreads(__tstate);
e6056257
RD
11281 if (PyErr_Occurred()) return NULL;
11282} Py_INCREF(Py_None);
11283 _resultobj = Py_None;
11284 return _resultobj;
11285}
11286
11287#define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11288static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11289 PyObject * _resultobj;
11290 wxGrid * _arg0;
11291 int _arg1;
11292 int _arg2;
11293 wxColour * _arg3;
11294 PyObject * _argo0 = 0;
11295 wxColour temp;
11296 PyObject * _obj3 = 0;
11297 char *_kwnames[] = { "self","row","col","arg4", NULL };
11298
11299 self = self;
11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11301 return NULL;
11302 if (_argo0) {
11303 if (_argo0 == Py_None) { _arg0 = NULL; }
11304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11306 return NULL;
11307 }
11308 }
11309{
11310 _arg3 = &temp;
11311 if (! wxColour_helper(_obj3, &_arg3))
11312 return NULL;
11313}
11314{
0e2ff151 11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11316 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
11317
0e2ff151 11318 wxPyEndAllowThreads(__tstate);
e6056257
RD
11319 if (PyErr_Occurred()) return NULL;
11320} Py_INCREF(Py_None);
11321 _resultobj = Py_None;
11322 return _resultobj;
11323}
11324
11325#define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11326static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject * _resultobj;
11328 wxGrid * _arg0;
11329 wxFont * _arg1;
11330 PyObject * _argo0 = 0;
11331 PyObject * _argo1 = 0;
11332 char *_kwnames[] = { "self","arg2", NULL };
11333
11334 self = self;
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11336 return NULL;
11337 if (_argo0) {
11338 if (_argo0 == Py_None) { _arg0 = NULL; }
11339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11341 return NULL;
11342 }
11343 }
11344 if (_argo1) {
11345 if (_argo1 == Py_None) { _arg1 = NULL; }
11346 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11347 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11348 return NULL;
11349 }
11350 }
11351{
0e2ff151 11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11353 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
11354
0e2ff151 11355 wxPyEndAllowThreads(__tstate);
e6056257
RD
11356 if (PyErr_Occurred()) return NULL;
11357} Py_INCREF(Py_None);
11358 _resultobj = Py_None;
11359 return _resultobj;
11360}
11361
11362#define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11363static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11364 PyObject * _resultobj;
11365 wxGrid * _arg0;
11366 int _arg1;
11367 int _arg2;
11368 wxFont * _arg3;
11369 PyObject * _argo0 = 0;
11370 PyObject * _argo3 = 0;
11371 char *_kwnames[] = { "self","row","col","arg4", NULL };
11372
11373 self = self;
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11375 return NULL;
11376 if (_argo0) {
11377 if (_argo0 == Py_None) { _arg0 = NULL; }
11378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11380 return NULL;
11381 }
11382 }
11383 if (_argo3) {
11384 if (_argo3 == Py_None) { _arg3 = NULL; }
11385 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11386 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11387 return NULL;
11388 }
11389 }
11390{
0e2ff151 11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11392 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
11393
0e2ff151 11394 wxPyEndAllowThreads(__tstate);
e6056257
RD
11395 if (PyErr_Occurred()) return NULL;
11396} Py_INCREF(Py_None);
11397 _resultobj = Py_None;
11398 return _resultobj;
11399}
11400
11401#define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11402static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11403 PyObject * _resultobj;
11404 wxGrid * _arg0;
11405 int _arg1;
11406 int _arg2;
11407 PyObject * _argo0 = 0;
11408 char *_kwnames[] = { "self","horiz","vert", NULL };
11409
11410 self = self;
11411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11412 return NULL;
11413 if (_argo0) {
11414 if (_argo0 == Py_None) { _arg0 = NULL; }
11415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11417 return NULL;
11418 }
11419 }
11420{
0e2ff151 11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11422 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
11423
0e2ff151 11424 wxPyEndAllowThreads(__tstate);
e6056257
RD
11425 if (PyErr_Occurred()) return NULL;
11426} Py_INCREF(Py_None);
11427 _resultobj = Py_None;
11428 return _resultobj;
11429}
11430
11431#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11432static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11433 PyObject * _resultobj;
11434 wxGrid * _arg0;
11435 int _arg1;
11436 int _arg2;
11437 int _arg3;
11438 int _arg4;
11439 PyObject * _argo0 = 0;
11440 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11441
11442 self = self;
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11444 return NULL;
11445 if (_argo0) {
11446 if (_argo0 == Py_None) { _arg0 = NULL; }
11447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11449 return NULL;
11450 }
11451 }
11452{
0e2ff151 11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11454 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11455
0e2ff151 11456 wxPyEndAllowThreads(__tstate);
e6056257
RD
11457 if (PyErr_Occurred()) return NULL;
11458} Py_INCREF(Py_None);
11459 _resultobj = Py_None;
11460 return _resultobj;
11461}
11462
11463#define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11464static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11465 PyObject * _resultobj;
11466 wxGrid * _arg0;
11467 wxGridCellRenderer * _arg1;
11468 PyObject * _argo0 = 0;
11469 PyObject * _argo1 = 0;
11470 char *_kwnames[] = { "self","renderer", NULL };
11471
11472 self = self;
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
11474 return NULL;
11475 if (_argo0) {
11476 if (_argo0 == Py_None) { _arg0 = NULL; }
11477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11479 return NULL;
11480 }
11481 }
11482 if (_argo1) {
11483 if (_argo1 == Py_None) { _arg1 = NULL; }
11484 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
11485 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11486 return NULL;
11487 }
11488 }
11489{
0e2ff151 11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11491 wxGrid_SetDefaultRenderer(_arg0,_arg1);
11492
0e2ff151 11493 wxPyEndAllowThreads(__tstate);
e6056257
RD
11494 if (PyErr_Occurred()) return NULL;
11495} Py_INCREF(Py_None);
11496 _resultobj = Py_None;
11497 return _resultobj;
11498}
11499
11500#define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11501static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11502 PyObject * _resultobj;
11503 wxGrid * _arg0;
11504 int _arg1;
11505 int _arg2;
11506 wxGridCellRenderer * _arg3;
11507 PyObject * _argo0 = 0;
11508 PyObject * _argo3 = 0;
11509 char *_kwnames[] = { "self","row","col","renderer", NULL };
11510
11511 self = self;
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11513 return NULL;
11514 if (_argo0) {
11515 if (_argo0 == Py_None) { _arg0 = NULL; }
11516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11518 return NULL;
11519 }
11520 }
11521 if (_argo3) {
11522 if (_argo3 == Py_None) { _arg3 = NULL; }
11523 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
11524 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11525 return NULL;
11526 }
11527 }
11528{
0e2ff151 11529 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11530 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
11531
0e2ff151 11532 wxPyEndAllowThreads(__tstate);
e6056257
RD
11533 if (PyErr_Occurred()) return NULL;
11534} Py_INCREF(Py_None);
11535 _resultobj = Py_None;
11536 return _resultobj;
11537}
11538
11539#define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11540static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11541 PyObject * _resultobj;
11542 wxGridCellRenderer * _result;
11543 wxGrid * _arg0;
11544 PyObject * _argo0 = 0;
11545 char *_kwnames[] = { "self", NULL };
11546 char _ptemp[128];
11547
11548 self = self;
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
11550 return NULL;
11551 if (_argo0) {
11552 if (_argo0 == Py_None) { _arg0 = NULL; }
11553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11555 return NULL;
11556 }
11557 }
11558{
0e2ff151 11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11560 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
11561
0e2ff151 11562 wxPyEndAllowThreads(__tstate);
e6056257
RD
11563 if (PyErr_Occurred()) return NULL;
11564} if (_result) {
11565 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11566 _resultobj = Py_BuildValue("s",_ptemp);
11567 } else {
11568 Py_INCREF(Py_None);
11569 _resultobj = Py_None;
11570 }
11571 return _resultobj;
11572}
11573
11574#define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11575static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11576 PyObject * _resultobj;
11577 wxGridCellRenderer * _result;
11578 wxGrid * _arg0;
11579 int _arg1;
11580 int _arg2;
11581 PyObject * _argo0 = 0;
11582 char *_kwnames[] = { "self","row","col", NULL };
11583 char _ptemp[128];
11584
11585 self = self;
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11587 return NULL;
11588 if (_argo0) {
11589 if (_argo0 == Py_None) { _arg0 = NULL; }
11590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11592 return NULL;
11593 }
11594 }
11595{
0e2ff151 11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11597 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
11598
0e2ff151 11599 wxPyEndAllowThreads(__tstate);
e6056257
RD
11600 if (PyErr_Occurred()) return NULL;
11601} if (_result) {
11602 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11603 _resultobj = Py_BuildValue("s",_ptemp);
11604 } else {
11605 Py_INCREF(Py_None);
11606 _resultobj = Py_None;
11607 }
11608 return _resultobj;
11609}
11610
11611#define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11612static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11613 PyObject * _resultobj;
11614 wxGrid * _arg0;
11615 wxGridCellEditor * _arg1;
11616 PyObject * _argo0 = 0;
11617 PyObject * _argo1 = 0;
11618 char *_kwnames[] = { "self","editor", NULL };
11619
11620 self = self;
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
11622 return NULL;
11623 if (_argo0) {
11624 if (_argo0 == Py_None) { _arg0 = NULL; }
11625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11627 return NULL;
11628 }
11629 }
11630 if (_argo1) {
11631 if (_argo1 == Py_None) { _arg1 = NULL; }
11632 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
11633 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11634 return NULL;
11635 }
11636 }
11637{
0e2ff151 11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11639 wxGrid_SetDefaultEditor(_arg0,_arg1);
11640
0e2ff151 11641 wxPyEndAllowThreads(__tstate);
e6056257
RD
11642 if (PyErr_Occurred()) return NULL;
11643} Py_INCREF(Py_None);
11644 _resultobj = Py_None;
11645 return _resultobj;
11646}
11647
11648#define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11649static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11650 PyObject * _resultobj;
11651 wxGrid * _arg0;
11652 int _arg1;
11653 int _arg2;
11654 wxGridCellEditor * _arg3;
11655 PyObject * _argo0 = 0;
11656 PyObject * _argo3 = 0;
11657 char *_kwnames[] = { "self","row","col","editor", NULL };
11658
11659 self = self;
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11661 return NULL;
11662 if (_argo0) {
11663 if (_argo0 == Py_None) { _arg0 = NULL; }
11664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11666 return NULL;
11667 }
11668 }
11669 if (_argo3) {
11670 if (_argo3 == Py_None) { _arg3 = NULL; }
11671 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11672 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11673 return NULL;
11674 }
11675 }
11676{
0e2ff151 11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11678 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
11679
0e2ff151 11680 wxPyEndAllowThreads(__tstate);
e6056257
RD
11681 if (PyErr_Occurred()) return NULL;
11682} Py_INCREF(Py_None);
11683 _resultobj = Py_None;
11684 return _resultobj;
11685}
11686
11687#define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11688static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11689 PyObject * _resultobj;
11690 wxGridCellEditor * _result;
11691 wxGrid * _arg0;
11692 PyObject * _argo0 = 0;
11693 char *_kwnames[] = { "self", NULL };
11694 char _ptemp[128];
11695
11696 self = self;
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
11698 return NULL;
11699 if (_argo0) {
11700 if (_argo0 == Py_None) { _arg0 = NULL; }
11701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11703 return NULL;
11704 }
11705 }
11706{
0e2ff151 11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11708 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
11709
0e2ff151 11710 wxPyEndAllowThreads(__tstate);
e6056257
RD
11711 if (PyErr_Occurred()) return NULL;
11712} if (_result) {
11713 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11714 _resultobj = Py_BuildValue("s",_ptemp);
11715 } else {
11716 Py_INCREF(Py_None);
11717 _resultobj = Py_None;
11718 }
11719 return _resultobj;
11720}
11721
11722#define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11723static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject * _resultobj;
11725 wxGridCellEditor * _result;
11726 wxGrid * _arg0;
11727 int _arg1;
11728 int _arg2;
11729 PyObject * _argo0 = 0;
11730 char *_kwnames[] = { "self","row","col", NULL };
11731 char _ptemp[128];
11732
11733 self = self;
11734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
11735 return NULL;
11736 if (_argo0) {
11737 if (_argo0 == Py_None) { _arg0 = NULL; }
11738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11740 return NULL;
11741 }
11742 }
11743{
0e2ff151 11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11745 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
11746
0e2ff151 11747 wxPyEndAllowThreads(__tstate);
e6056257
RD
11748 if (PyErr_Occurred()) return NULL;
11749} if (_result) {
11750 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11751 _resultobj = Py_BuildValue("s",_ptemp);
11752 } else {
11753 Py_INCREF(Py_None);
11754 _resultobj = Py_None;
11755 }
11756 return _resultobj;
11757}
11758
11759#define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11760static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11761 PyObject * _resultobj;
11762 wxString * _result;
11763 wxGrid * _arg0;
11764 int _arg1;
11765 int _arg2;
11766 PyObject * _argo0 = 0;
11767 char *_kwnames[] = { "self","row","col", NULL };
11768
11769 self = self;
11770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
11771 return NULL;
11772 if (_argo0) {
11773 if (_argo0 == Py_None) { _arg0 = NULL; }
11774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11776 return NULL;
11777 }
11778 }
11779{
0e2ff151 11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11781 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11782
0e2ff151 11783 wxPyEndAllowThreads(__tstate);
e6056257
RD
11784 if (PyErr_Occurred()) return NULL;
11785}{
11786 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11787}
11788{
11789 delete _result;
11790}
11791 return _resultobj;
11792}
11793
11794#define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11795static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject * _resultobj;
11797 wxGrid * _arg0;
11798 int _arg1;
11799 int _arg2;
11800 wxString * _arg3;
11801 PyObject * _argo0 = 0;
11802 PyObject * _obj3 = 0;
11803 char *_kwnames[] = { "self","row","col","s", NULL };
11804
11805 self = self;
11806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11807 return NULL;
11808 if (_argo0) {
11809 if (_argo0 == Py_None) { _arg0 = NULL; }
11810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11812 return NULL;
11813 }
11814 }
11815{
11816#if PYTHON_API_VERSION >= 1009
11817 char* tmpPtr; int tmpSize;
11818 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
11819 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11820 return NULL;
11821 }
11822 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11823 return NULL;
11824 _arg3 = new wxString(tmpPtr, tmpSize);
11825#else
11826 if (!PyString_Check(_obj3)) {
11827 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11828 return NULL;
11829 }
11830 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11831#endif
11832}
11833{
0e2ff151 11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11835 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11836
0e2ff151 11837 wxPyEndAllowThreads(__tstate);
e6056257
RD
11838 if (PyErr_Occurred()) return NULL;
11839} Py_INCREF(Py_None);
11840 _resultobj = Py_None;
11841{
11842 if (_obj3)
11843 delete _arg3;
11844}
11845 return _resultobj;
11846}
11847
11848#define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11849static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11850 PyObject * _resultobj;
11851 bool _result;
11852 wxGrid * _arg0;
11853 int _arg1;
11854 int _arg2;
11855 PyObject * _argo0 = 0;
11856 char *_kwnames[] = { "self","row","col", NULL };
11857
11858 self = self;
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11860 return NULL;
11861 if (_argo0) {
11862 if (_argo0 == Py_None) { _arg0 = NULL; }
11863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11865 return NULL;
11866 }
11867 }
11868{
0e2ff151 11869 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11870 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11871
0e2ff151 11872 wxPyEndAllowThreads(__tstate);
e6056257
RD
11873 if (PyErr_Occurred()) return NULL;
11874} _resultobj = Py_BuildValue("i",_result);
11875 return _resultobj;
11876}
11877
11878#define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11879static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11880 PyObject * _resultobj;
11881 wxGrid * _arg0;
11882 int _arg1;
11883 int _arg2;
11884 bool _arg3 = (bool ) TRUE;
11885 PyObject * _argo0 = 0;
11886 int tempbool3 = (int) TRUE;
11887 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11888
11889 self = self;
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11891 return NULL;
11892 if (_argo0) {
11893 if (_argo0 == Py_None) { _arg0 = NULL; }
11894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11896 return NULL;
11897 }
11898 }
11899 _arg3 = (bool ) tempbool3;
11900{
0e2ff151 11901 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11902 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11903
0e2ff151 11904 wxPyEndAllowThreads(__tstate);
e6056257
RD
11905 if (PyErr_Occurred()) return NULL;
11906} Py_INCREF(Py_None);
11907 _resultobj = Py_None;
11908 return _resultobj;
11909}
11910
11911#define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11912static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11913 PyObject * _resultobj;
11914 wxGrid * _arg0;
11915 int _arg1;
11916 bool _arg2 = (bool ) FALSE;
11917 PyObject * _argo0 = 0;
11918 int tempbool2 = (int) FALSE;
11919 char *_kwnames[] = { "self","row","addToSelected", NULL };
11920
11921 self = self;
11922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11923 return NULL;
11924 if (_argo0) {
11925 if (_argo0 == Py_None) { _arg0 = NULL; }
11926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11928 return NULL;
11929 }
11930 }
11931 _arg2 = (bool ) tempbool2;
11932{
0e2ff151 11933 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11934 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11935
0e2ff151 11936 wxPyEndAllowThreads(__tstate);
e6056257
RD
11937 if (PyErr_Occurred()) return NULL;
11938} Py_INCREF(Py_None);
11939 _resultobj = Py_None;
11940 return _resultobj;
11941}
11942
11943#define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11944static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11945 PyObject * _resultobj;
11946 wxGrid * _arg0;
11947 int _arg1;
11948 bool _arg2 = (bool ) FALSE;
11949 PyObject * _argo0 = 0;
11950 int tempbool2 = (int) FALSE;
11951 char *_kwnames[] = { "self","col","addToSelected", NULL };
11952
11953 self = self;
11954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11955 return NULL;
11956 if (_argo0) {
11957 if (_argo0 == Py_None) { _arg0 = NULL; }
11958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11960 return NULL;
11961 }
11962 }
11963 _arg2 = (bool ) tempbool2;
11964{
0e2ff151 11965 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
11966 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11967
0e2ff151 11968 wxPyEndAllowThreads(__tstate);
e6056257
RD
11969 if (PyErr_Occurred()) return NULL;
11970} Py_INCREF(Py_None);
11971 _resultobj = Py_None;
11972 return _resultobj;
11973}
11974
11975#define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11976static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11977 PyObject * _resultobj;
11978 wxGrid * _arg0;
11979 int _arg1;
11980 int _arg2;
11981 int _arg3;
11982 int _arg4;
11983 bool _arg5 = (bool ) FALSE;
11984 PyObject * _argo0 = 0;
11985 int tempbool5 = (int) FALSE;
11986 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
11987
11988 self = self;
11989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
11990 return NULL;
11991 if (_argo0) {
11992 if (_argo0 == Py_None) { _arg0 = NULL; }
11993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11995 return NULL;
11996 }
11997 }
11998 _arg5 = (bool ) tempbool5;
11999{
0e2ff151 12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12001 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12002
0e2ff151 12003 wxPyEndAllowThreads(__tstate);
e6056257
RD
12004 if (PyErr_Occurred()) return NULL;
12005} Py_INCREF(Py_None);
12006 _resultobj = Py_None;
12007 return _resultobj;
12008}
12009
12010#define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12011static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
12012 PyObject * _resultobj;
12013 wxGrid * _arg0;
12014 PyObject * _argo0 = 0;
12015 char *_kwnames[] = { "self", NULL };
12016
12017 self = self;
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
12019 return NULL;
12020 if (_argo0) {
12021 if (_argo0 == Py_None) { _arg0 = NULL; }
12022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12024 return NULL;
12025 }
12026 }
12027{
0e2ff151 12028 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12029 wxGrid_SelectAll(_arg0);
12030
0e2ff151 12031 wxPyEndAllowThreads(__tstate);
e6056257
RD
12032 if (PyErr_Occurred()) return NULL;
12033} Py_INCREF(Py_None);
12034 _resultobj = Py_None;
12035 return _resultobj;
12036}
12037
12038#define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12039static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12040 PyObject * _resultobj;
12041 bool _result;
12042 wxGrid * _arg0;
12043 PyObject * _argo0 = 0;
12044 char *_kwnames[] = { "self", NULL };
12045
12046 self = self;
12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
12048 return NULL;
12049 if (_argo0) {
12050 if (_argo0 == Py_None) { _arg0 = NULL; }
12051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12053 return NULL;
12054 }
12055 }
12056{
0e2ff151 12057 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12058 _result = (bool )wxGrid_IsSelection(_arg0);
12059
0e2ff151 12060 wxPyEndAllowThreads(__tstate);
e6056257
RD
12061 if (PyErr_Occurred()) return NULL;
12062} _resultobj = Py_BuildValue("i",_result);
12063 return _resultobj;
12064}
12065
12066#define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12067static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12068 PyObject * _resultobj;
12069 wxGrid * _arg0;
12070 PyObject * _argo0 = 0;
12071 char *_kwnames[] = { "self", NULL };
12072
12073 self = self;
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
12075 return NULL;
12076 if (_argo0) {
12077 if (_argo0 == Py_None) { _arg0 = NULL; }
12078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12080 return NULL;
12081 }
12082 }
12083{
0e2ff151 12084 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12085 wxGrid_ClearSelection(_arg0);
12086
0e2ff151 12087 wxPyEndAllowThreads(__tstate);
e6056257
RD
12088 if (PyErr_Occurred()) return NULL;
12089} Py_INCREF(Py_None);
12090 _resultobj = Py_None;
12091 return _resultobj;
12092}
12093
12094#define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12095static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12096 PyObject * _resultobj;
12097 bool _result;
12098 wxGrid * _arg0;
12099 int _arg1;
12100 int _arg2;
12101 PyObject * _argo0 = 0;
12102 char *_kwnames[] = { "self","row","col", NULL };
12103
12104 self = self;
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
12106 return NULL;
12107 if (_argo0) {
12108 if (_argo0 == Py_None) { _arg0 = NULL; }
12109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12111 return NULL;
12112 }
12113 }
12114{
0e2ff151 12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12116 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
12117
0e2ff151 12118 wxPyEndAllowThreads(__tstate);
e6056257
RD
12119 if (PyErr_Occurred()) return NULL;
12120} _resultobj = Py_BuildValue("i",_result);
12121 return _resultobj;
12122}
12123
12124#define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12125static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12126 PyObject * _resultobj;
12127 wxRect * _result;
12128 wxGrid * _arg0;
12129 wxGridCellCoords * _arg1;
12130 wxGridCellCoords * _arg2;
12131 PyObject * _argo0 = 0;
12132 wxGridCellCoords temp;
12133 PyObject * _obj1 = 0;
12134 wxGridCellCoords temp0;
12135 PyObject * _obj2 = 0;
12136 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
12137 char _ptemp[128];
12138
12139 self = self;
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
12141 return NULL;
12142 if (_argo0) {
12143 if (_argo0 == Py_None) { _arg0 = NULL; }
12144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12146 return NULL;
12147 }
12148 }
12149{
12150 _arg1 = &temp;
12151 if (! wxGridCellCoords_helper(_obj1, &_arg1))
12152 return NULL;
12153}
12154{
12155 _arg2 = &temp0;
12156 if (! wxGridCellCoords_helper(_obj2, &_arg2))
12157 return NULL;
12158}
12159{
0e2ff151 12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12161 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
12162
0e2ff151 12163 wxPyEndAllowThreads(__tstate);
e6056257
RD
12164 if (PyErr_Occurred()) return NULL;
12165} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
12166 _resultobj = Py_BuildValue("s",_ptemp);
12167 return _resultobj;
12168}
12169
12170#define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12171static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12172 PyObject * _resultobj;
12173 wxColour * _result;
12174 wxGrid * _arg0;
12175 PyObject * _argo0 = 0;
12176 char *_kwnames[] = { "self", NULL };
12177 char _ptemp[128];
12178
12179 self = self;
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
12181 return NULL;
12182 if (_argo0) {
12183 if (_argo0 == Py_None) { _arg0 = NULL; }
12184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12186 return NULL;
12187 }
12188 }
12189{
0e2ff151 12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12191 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
12192
0e2ff151 12193 wxPyEndAllowThreads(__tstate);
e6056257
RD
12194 if (PyErr_Occurred()) return NULL;
12195} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12196 _resultobj = Py_BuildValue("s",_ptemp);
12197 return _resultobj;
12198}
12199
12200#define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12201static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12202 PyObject * _resultobj;
12203 wxColour * _result;
12204 wxGrid * _arg0;
12205 PyObject * _argo0 = 0;
12206 char *_kwnames[] = { "self", NULL };
12207 char _ptemp[128];
12208
12209 self = self;
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
12211 return NULL;
12212 if (_argo0) {
12213 if (_argo0 == Py_None) { _arg0 = NULL; }
12214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12216 return NULL;
12217 }
12218 }
12219{
0e2ff151 12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12221 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
12222
0e2ff151 12223 wxPyEndAllowThreads(__tstate);
e6056257
RD
12224 if (PyErr_Occurred()) return NULL;
12225} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12226 _resultobj = Py_BuildValue("s",_ptemp);
12227 return _resultobj;
12228}
12229
12230#define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12231static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12232 PyObject * _resultobj;
12233 wxGrid * _arg0;
12234 wxColour * _arg1;
12235 PyObject * _argo0 = 0;
12236 wxColour temp;
12237 PyObject * _obj1 = 0;
12238 char *_kwnames[] = { "self","c", NULL };
12239
12240 self = self;
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
12242 return NULL;
12243 if (_argo0) {
12244 if (_argo0 == Py_None) { _arg0 = NULL; }
12245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12247 return NULL;
12248 }
12249 }
12250{
12251 _arg1 = &temp;
12252 if (! wxColour_helper(_obj1, &_arg1))
12253 return NULL;
12254}
12255{
0e2ff151 12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12257 wxGrid_SetSelectionBackground(_arg0,*_arg1);
12258
0e2ff151 12259 wxPyEndAllowThreads(__tstate);
e6056257
RD
12260 if (PyErr_Occurred()) return NULL;
12261} Py_INCREF(Py_None);
12262 _resultobj = Py_None;
12263 return _resultobj;
12264}
12265
12266#define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12267static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject * _resultobj;
12269 wxGrid * _arg0;
12270 wxColour * _arg1;
12271 PyObject * _argo0 = 0;
12272 wxColour temp;
12273 PyObject * _obj1 = 0;
12274 char *_kwnames[] = { "self","c", NULL };
12275
12276 self = self;
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
12278 return NULL;
12279 if (_argo0) {
12280 if (_argo0 == Py_None) { _arg0 = NULL; }
12281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12283 return NULL;
12284 }
12285 }
12286{
12287 _arg1 = &temp;
12288 if (! wxColour_helper(_obj1, &_arg1))
12289 return NULL;
12290}
12291{
0e2ff151 12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12293 wxGrid_SetSelectionForeground(_arg0,*_arg1);
12294
0e2ff151 12295 wxPyEndAllowThreads(__tstate);
e6056257
RD
12296 if (PyErr_Occurred()) return NULL;
12297} Py_INCREF(Py_None);
12298 _resultobj = Py_None;
12299 return _resultobj;
12300}
12301
12302#define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12303static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12304 PyObject * _resultobj;
12305 wxGrid * _arg0;
12306 wxString * _arg1;
12307 wxGridCellRenderer * _arg2;
12308 wxGridCellEditor * _arg3;
12309 PyObject * _argo0 = 0;
12310 PyObject * _obj1 = 0;
12311 PyObject * _argo2 = 0;
12312 PyObject * _argo3 = 0;
12313 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
12314
12315 self = self;
12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
12317 return NULL;
12318 if (_argo0) {
12319 if (_argo0 == Py_None) { _arg0 = NULL; }
12320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12322 return NULL;
12323 }
12324 }
12325{
12326#if PYTHON_API_VERSION >= 1009
12327 char* tmpPtr; int tmpSize;
12328 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
12329 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12330 return NULL;
12331 }
12332 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12333 return NULL;
12334 _arg1 = new wxString(tmpPtr, tmpSize);
12335#else
12336 if (!PyString_Check(_obj1)) {
12337 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12338 return NULL;
12339 }
12340 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12341#endif
12342}
12343 if (_argo2) {
12344 if (_argo2 == Py_None) { _arg2 = NULL; }
12345 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
12346 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12347 return NULL;
12348 }
12349 }
12350 if (_argo3) {
12351 if (_argo3 == Py_None) { _arg3 = NULL; }
12352 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12353 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12354 return NULL;
12355 }
12356 }
12357{
0e2ff151 12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12359 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
12360
0e2ff151 12361 wxPyEndAllowThreads(__tstate);
e6056257
RD
12362 if (PyErr_Occurred()) return NULL;
12363} Py_INCREF(Py_None);
12364 _resultobj = Py_None;
12365{
12366 if (_obj1)
12367 delete _arg1;
12368}
12369 return _resultobj;
12370}
12371
12372#define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12373static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12374 PyObject * _resultobj;
12375 wxGridCellEditor * _result;
12376 wxGrid * _arg0;
12377 int _arg1;
12378 int _arg2;
12379 PyObject * _argo0 = 0;
12380 char *_kwnames[] = { "self","row","col", NULL };
12381 char _ptemp[128];
12382
12383 self = self;
12384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12385 return NULL;
12386 if (_argo0) {
12387 if (_argo0 == Py_None) { _arg0 = NULL; }
12388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12390 return NULL;
12391 }
12392 }
12393{
0e2ff151 12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12395 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
12396
0e2ff151 12397 wxPyEndAllowThreads(__tstate);
e6056257
RD
12398 if (PyErr_Occurred()) return NULL;
12399} if (_result) {
12400 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12401 _resultobj = Py_BuildValue("s",_ptemp);
12402 } else {
12403 Py_INCREF(Py_None);
12404 _resultobj = Py_None;
12405 }
12406 return _resultobj;
12407}
12408
12409#define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12410static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12411 PyObject * _resultobj;
12412 wxGridCellRenderer * _result;
12413 wxGrid * _arg0;
12414 int _arg1;
12415 int _arg2;
12416 PyObject * _argo0 = 0;
12417 char *_kwnames[] = { "self","row","col", NULL };
12418 char _ptemp[128];
12419
12420 self = self;
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12422 return NULL;
12423 if (_argo0) {
12424 if (_argo0 == Py_None) { _arg0 = NULL; }
12425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12427 return NULL;
12428 }
12429 }
12430{
0e2ff151 12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12432 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
12433
0e2ff151 12434 wxPyEndAllowThreads(__tstate);
e6056257
RD
12435 if (PyErr_Occurred()) return NULL;
12436} if (_result) {
12437 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12438 _resultobj = Py_BuildValue("s",_ptemp);
12439 } else {
12440 Py_INCREF(Py_None);
12441 _resultobj = Py_None;
12442 }
12443 return _resultobj;
12444}
12445
12446#define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12447static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12448 PyObject * _resultobj;
12449 wxGridCellEditor * _result;
12450 wxGrid * _arg0;
12451 wxString * _arg1;
12452 PyObject * _argo0 = 0;
12453 PyObject * _obj1 = 0;
12454 char *_kwnames[] = { "self","typeName", NULL };
12455 char _ptemp[128];
12456
12457 self = self;
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
12459 return NULL;
12460 if (_argo0) {
12461 if (_argo0 == Py_None) { _arg0 = NULL; }
12462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12464 return NULL;
12465 }
12466 }
12467{
12468#if PYTHON_API_VERSION >= 1009
12469 char* tmpPtr; int tmpSize;
12470 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
12471 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12472 return NULL;
12473 }
12474 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12475 return NULL;
12476 _arg1 = new wxString(tmpPtr, tmpSize);
12477#else
12478 if (!PyString_Check(_obj1)) {
12479 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12480 return NULL;
12481 }
12482 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12483#endif
12484}
12485{
0e2ff151 12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12487 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
12488
0e2ff151 12489 wxPyEndAllowThreads(__tstate);
e6056257
RD
12490 if (PyErr_Occurred()) return NULL;
12491} if (_result) {
12492 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12493 _resultobj = Py_BuildValue("s",_ptemp);
12494 } else {
12495 Py_INCREF(Py_None);
12496 _resultobj = Py_None;
12497 }
12498{
12499 if (_obj1)
12500 delete _arg1;
12501}
12502 return _resultobj;
12503}
12504
12505#define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12506static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12507 PyObject * _resultobj;
12508 wxGridCellRenderer * _result;
12509 wxGrid * _arg0;
12510 wxString * _arg1;
12511 PyObject * _argo0 = 0;
12512 PyObject * _obj1 = 0;
12513 char *_kwnames[] = { "self","typeName", NULL };
12514 char _ptemp[128];
12515
12516 self = self;
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
12518 return NULL;
12519 if (_argo0) {
12520 if (_argo0 == Py_None) { _arg0 = NULL; }
12521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12523 return NULL;
12524 }
12525 }
12526{
12527#if PYTHON_API_VERSION >= 1009
12528 char* tmpPtr; int tmpSize;
12529 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
12530 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12531 return NULL;
12532 }
12533 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12534 return NULL;
12535 _arg1 = new wxString(tmpPtr, tmpSize);
12536#else
12537 if (!PyString_Check(_obj1)) {
12538 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12539 return NULL;
12540 }
12541 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12542#endif
12543}
12544{
0e2ff151 12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12546 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
12547
0e2ff151 12548 wxPyEndAllowThreads(__tstate);
e6056257
RD
12549 if (PyErr_Occurred()) return NULL;
12550} if (_result) {
12551 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12552 _resultobj = Py_BuildValue("s",_ptemp);
12553 } else {
12554 Py_INCREF(Py_None);
12555 _resultobj = Py_None;
12556 }
12557{
12558 if (_obj1)
12559 delete _arg1;
12560}
12561 return _resultobj;
12562}
12563
12564#define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12565static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12566 PyObject * _resultobj;
12567 wxGrid * _arg0;
12568 int _arg1;
12569 int _arg2;
12570 PyObject * _argo0 = 0;
12571 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
12572
12573 self = self;
12574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
12575 return NULL;
12576 if (_argo0) {
12577 if (_argo0 == Py_None) { _arg0 = NULL; }
12578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12580 return NULL;
12581 }
12582 }
12583{
0e2ff151 12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12585 wxGrid_SetMargins(_arg0,_arg1,_arg2);
12586
0e2ff151 12587 wxPyEndAllowThreads(__tstate);
e6056257
RD
12588 if (PyErr_Occurred()) return NULL;
12589} Py_INCREF(Py_None);
12590 _resultobj = Py_None;
12591 return _resultobj;
12592}
12593
12594#define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12595static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12596 PyObject * _resultobj;
12597 wxWindow * _result;
12598 wxGrid * _arg0;
12599 PyObject * _argo0 = 0;
12600 char *_kwnames[] = { "self", NULL };
12601
12602 self = self;
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
12604 return NULL;
12605 if (_argo0) {
12606 if (_argo0 == Py_None) { _arg0 = NULL; }
12607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12609 return NULL;
12610 }
12611 }
12612{
0e2ff151 12613 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12614 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
12615
0e2ff151 12616 wxPyEndAllowThreads(__tstate);
e6056257
RD
12617 if (PyErr_Occurred()) return NULL;
12618}{ _resultobj = wxPyMake_wxObject(_result); }
12619 return _resultobj;
12620}
12621
12622#define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12623static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12624 PyObject * _resultobj;
12625 wxWindow * _result;
12626 wxGrid * _arg0;
12627 PyObject * _argo0 = 0;
12628 char *_kwnames[] = { "self", NULL };
12629
12630 self = self;
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12632 return NULL;
12633 if (_argo0) {
12634 if (_argo0 == Py_None) { _arg0 = NULL; }
12635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12637 return NULL;
12638 }
12639 }
12640{
0e2ff151 12641 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12642 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
12643
0e2ff151 12644 wxPyEndAllowThreads(__tstate);
e6056257
RD
12645 if (PyErr_Occurred()) return NULL;
12646}{ _resultobj = wxPyMake_wxObject(_result); }
12647 return _resultobj;
12648}
12649
12650#define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12651static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12652 PyObject * _resultobj;
12653 wxWindow * _result;
12654 wxGrid * _arg0;
12655 PyObject * _argo0 = 0;
12656 char *_kwnames[] = { "self", NULL };
12657
12658 self = self;
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12660 return NULL;
12661 if (_argo0) {
12662 if (_argo0 == Py_None) { _arg0 = NULL; }
12663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12665 return NULL;
12666 }
12667 }
12668{
0e2ff151 12669 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12670 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
12671
0e2ff151 12672 wxPyEndAllowThreads(__tstate);
e6056257
RD
12673 if (PyErr_Occurred()) return NULL;
12674}{ _resultobj = wxPyMake_wxObject(_result); }
12675 return _resultobj;
12676}
12677
12678#define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12679static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject * _resultobj;
12681 wxWindow * _result;
12682 wxGrid * _arg0;
12683 PyObject * _argo0 = 0;
12684 char *_kwnames[] = { "self", NULL };
12685
12686 self = self;
12687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
12688 return NULL;
12689 if (_argo0) {
12690 if (_argo0 == Py_None) { _arg0 = NULL; }
12691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12693 return NULL;
12694 }
12695 }
12696{
0e2ff151 12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12698 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
12699
0e2ff151 12700 wxPyEndAllowThreads(__tstate);
e6056257
RD
12701 if (PyErr_Occurred()) return NULL;
12702}{ _resultobj = wxPyMake_wxObject(_result); }
12703 return _resultobj;
12704}
12705
12706static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
12707 wxGridEvent *src;
12708 wxNotifyEvent *dest;
12709 src = (wxGridEvent *) ptr;
12710 dest = (wxNotifyEvent *) src;
12711 return (void *) dest;
12712}
12713
12714static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
12715 wxGridEvent *src;
12716 wxCommandEvent *dest;
12717 src = (wxGridEvent *) ptr;
12718 dest = (wxCommandEvent *) src;
12719 return (void *) dest;
12720}
12721
12722static void *SwigwxGridEventTowxEvent(void *ptr) {
12723 wxGridEvent *src;
12724 wxEvent *dest;
12725 src = (wxGridEvent *) ptr;
12726 dest = (wxEvent *) src;
12727 return (void *) dest;
12728}
12729
12730static void *SwigwxGridEventTowxObject(void *ptr) {
12731 wxGridEvent *src;
12732 wxObject *dest;
12733 src = (wxGridEvent *) ptr;
12734 dest = (wxObject *) src;
12735 return (void *) dest;
12736}
12737
12738#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))
12739static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12740 PyObject * _resultobj;
12741 wxGridEvent * _result;
12742 int _arg0;
12743 wxEventType _arg1;
12744 wxGrid * _arg2;
12745 int _arg3 = (int ) -1;
12746 int _arg4 = (int ) -1;
12747 int _arg5 = (int ) -1;
12748 int _arg6 = (int ) -1;
12749 bool _arg7 = (bool ) TRUE;
12750 bool _arg8 = (bool ) FALSE;
12751 bool _arg9 = (bool ) FALSE;
12752 bool _arg10 = (bool ) FALSE;
12753 bool _arg11 = (bool ) FALSE;
12754 PyObject * _argo2 = 0;
12755 int tempbool7 = (int) TRUE;
12756 int tempbool8 = (int) FALSE;
12757 int tempbool9 = (int) FALSE;
12758 int tempbool10 = (int) FALSE;
12759 int tempbool11 = (int) FALSE;
12760 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
12761 char _ptemp[128];
12762
12763 self = self;
12764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
12765 return NULL;
12766 if (_argo2) {
12767 if (_argo2 == Py_None) { _arg2 = NULL; }
12768 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12769 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12770 return NULL;
12771 }
12772 }
12773 _arg7 = (bool ) tempbool7;
12774 _arg8 = (bool ) tempbool8;
12775 _arg9 = (bool ) tempbool9;
12776 _arg10 = (bool ) tempbool10;
12777 _arg11 = (bool ) tempbool11;
12778{
0e2ff151 12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12780 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
12781
0e2ff151 12782 wxPyEndAllowThreads(__tstate);
e6056257
RD
12783 if (PyErr_Occurred()) return NULL;
12784} if (_result) {
12785 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
12786 _resultobj = Py_BuildValue("s",_ptemp);
12787 } else {
12788 Py_INCREF(Py_None);
12789 _resultobj = Py_None;
12790 }
12791 return _resultobj;
12792}
12793
12794#define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12795static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12796 PyObject * _resultobj;
12797 int _result;
12798 wxGridEvent * _arg0;
12799 PyObject * _argo0 = 0;
12800 char *_kwnames[] = { "self", NULL };
12801
12802 self = self;
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
12804 return NULL;
12805 if (_argo0) {
12806 if (_argo0 == Py_None) { _arg0 = NULL; }
12807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12809 return NULL;
12810 }
12811 }
12812{
0e2ff151 12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12814 _result = (int )wxGridEvent_GetRow(_arg0);
12815
0e2ff151 12816 wxPyEndAllowThreads(__tstate);
e6056257
RD
12817 if (PyErr_Occurred()) return NULL;
12818} _resultobj = Py_BuildValue("i",_result);
12819 return _resultobj;
12820}
12821
12822#define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12823static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12824 PyObject * _resultobj;
12825 int _result;
12826 wxGridEvent * _arg0;
12827 PyObject * _argo0 = 0;
12828 char *_kwnames[] = { "self", NULL };
12829
12830 self = self;
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
12832 return NULL;
12833 if (_argo0) {
12834 if (_argo0 == Py_None) { _arg0 = NULL; }
12835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12837 return NULL;
12838 }
12839 }
12840{
0e2ff151 12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12842 _result = (int )wxGridEvent_GetCol(_arg0);
12843
0e2ff151 12844 wxPyEndAllowThreads(__tstate);
e6056257
RD
12845 if (PyErr_Occurred()) return NULL;
12846} _resultobj = Py_BuildValue("i",_result);
12847 return _resultobj;
12848}
12849
12850#define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12851static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject * _resultobj;
12853 wxPoint * _result;
12854 wxGridEvent * _arg0;
12855 PyObject * _argo0 = 0;
12856 char *_kwnames[] = { "self", NULL };
12857 char _ptemp[128];
12858
12859 self = self;
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
12861 return NULL;
12862 if (_argo0) {
12863 if (_argo0 == Py_None) { _arg0 = NULL; }
12864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12866 return NULL;
12867 }
12868 }
12869{
0e2ff151 12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12871 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
12872
0e2ff151 12873 wxPyEndAllowThreads(__tstate);
e6056257
RD
12874 if (PyErr_Occurred()) return NULL;
12875} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12876 _resultobj = Py_BuildValue("s",_ptemp);
12877 return _resultobj;
12878}
12879
12880#define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12881static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12882 PyObject * _resultobj;
12883 bool _result;
12884 wxGridEvent * _arg0;
12885 PyObject * _argo0 = 0;
12886 char *_kwnames[] = { "self", NULL };
12887
12888 self = self;
12889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
12890 return NULL;
12891 if (_argo0) {
12892 if (_argo0 == Py_None) { _arg0 = NULL; }
12893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12895 return NULL;
12896 }
12897 }
12898{
0e2ff151 12899 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12900 _result = (bool )wxGridEvent_Selecting(_arg0);
12901
0e2ff151 12902 wxPyEndAllowThreads(__tstate);
e6056257
RD
12903 if (PyErr_Occurred()) return NULL;
12904} _resultobj = Py_BuildValue("i",_result);
12905 return _resultobj;
12906}
12907
12908#define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12909static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12910 PyObject * _resultobj;
12911 bool _result;
12912 wxGridEvent * _arg0;
12913 PyObject * _argo0 = 0;
12914 char *_kwnames[] = { "self", NULL };
12915
12916 self = self;
12917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
12918 return NULL;
12919 if (_argo0) {
12920 if (_argo0 == Py_None) { _arg0 = NULL; }
12921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12923 return NULL;
12924 }
12925 }
12926{
0e2ff151 12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12928 _result = (bool )wxGridEvent_ControlDown(_arg0);
12929
0e2ff151 12930 wxPyEndAllowThreads(__tstate);
e6056257
RD
12931 if (PyErr_Occurred()) return NULL;
12932} _resultobj = Py_BuildValue("i",_result);
12933 return _resultobj;
12934}
12935
12936#define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12937static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12938 PyObject * _resultobj;
12939 bool _result;
12940 wxGridEvent * _arg0;
12941 PyObject * _argo0 = 0;
12942 char *_kwnames[] = { "self", NULL };
12943
12944 self = self;
12945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12946 return NULL;
12947 if (_argo0) {
12948 if (_argo0 == Py_None) { _arg0 = NULL; }
12949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12951 return NULL;
12952 }
12953 }
12954{
0e2ff151 12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12956 _result = (bool )wxGridEvent_MetaDown(_arg0);
12957
0e2ff151 12958 wxPyEndAllowThreads(__tstate);
e6056257
RD
12959 if (PyErr_Occurred()) return NULL;
12960} _resultobj = Py_BuildValue("i",_result);
12961 return _resultobj;
12962}
12963
12964#define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12965static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12966 PyObject * _resultobj;
12967 bool _result;
12968 wxGridEvent * _arg0;
12969 PyObject * _argo0 = 0;
12970 char *_kwnames[] = { "self", NULL };
12971
12972 self = self;
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12974 return NULL;
12975 if (_argo0) {
12976 if (_argo0 == Py_None) { _arg0 = NULL; }
12977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12979 return NULL;
12980 }
12981 }
12982{
0e2ff151 12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
12984 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12985
0e2ff151 12986 wxPyEndAllowThreads(__tstate);
e6056257
RD
12987 if (PyErr_Occurred()) return NULL;
12988} _resultobj = Py_BuildValue("i",_result);
12989 return _resultobj;
12990}
12991
12992#define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12993static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12994 PyObject * _resultobj;
12995 bool _result;
12996 wxGridEvent * _arg0;
12997 PyObject * _argo0 = 0;
12998 char *_kwnames[] = { "self", NULL };
12999
13000 self = self;
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
13002 return NULL;
13003 if (_argo0) {
13004 if (_argo0 == Py_None) { _arg0 = NULL; }
13005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
13007 return NULL;
13008 }
13009 }
13010{
0e2ff151 13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13012 _result = (bool )wxGridEvent_AltDown(_arg0);
13013
0e2ff151 13014 wxPyEndAllowThreads(__tstate);
e6056257
RD
13015 if (PyErr_Occurred()) return NULL;
13016} _resultobj = Py_BuildValue("i",_result);
13017 return _resultobj;
13018}
13019
13020static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
13021 wxGridSizeEvent *src;
13022 wxNotifyEvent *dest;
13023 src = (wxGridSizeEvent *) ptr;
13024 dest = (wxNotifyEvent *) src;
13025 return (void *) dest;
13026}
13027
13028static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
13029 wxGridSizeEvent *src;
13030 wxCommandEvent *dest;
13031 src = (wxGridSizeEvent *) ptr;
13032 dest = (wxCommandEvent *) src;
13033 return (void *) dest;
13034}
13035
13036static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
13037 wxGridSizeEvent *src;
13038 wxEvent *dest;
13039 src = (wxGridSizeEvent *) ptr;
13040 dest = (wxEvent *) src;
13041 return (void *) dest;
13042}
13043
13044static void *SwigwxGridSizeEventTowxObject(void *ptr) {
13045 wxGridSizeEvent *src;
13046 wxObject *dest;
13047 src = (wxGridSizeEvent *) ptr;
13048 dest = (wxObject *) src;
13049 return (void *) dest;
13050}
13051
13052#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))
13053static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13054 PyObject * _resultobj;
13055 wxGridSizeEvent * _result;
13056 int _arg0;
13057 wxEventType _arg1;
13058 wxGrid * _arg2;
13059 int _arg3 = (int ) -1;
13060 int _arg4 = (int ) -1;
13061 int _arg5 = (int ) -1;
13062 bool _arg6 = (bool ) FALSE;
13063 bool _arg7 = (bool ) FALSE;
13064 bool _arg8 = (bool ) FALSE;
13065 bool _arg9 = (bool ) FALSE;
13066 PyObject * _argo2 = 0;
13067 int tempbool6 = (int) FALSE;
13068 int tempbool7 = (int) FALSE;
13069 int tempbool8 = (int) FALSE;
13070 int tempbool9 = (int) FALSE;
13071 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
13072 char _ptemp[128];
13073
13074 self = self;
13075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13076 return NULL;
13077 if (_argo2) {
13078 if (_argo2 == Py_None) { _arg2 = NULL; }
13079 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13080 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
13081 return NULL;
13082 }
13083 }
13084 _arg6 = (bool ) tempbool6;
13085 _arg7 = (bool ) tempbool7;
13086 _arg8 = (bool ) tempbool8;
13087 _arg9 = (bool ) tempbool9;
13088{
0e2ff151 13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13090 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13091
0e2ff151 13092 wxPyEndAllowThreads(__tstate);
e6056257
RD
13093 if (PyErr_Occurred()) return NULL;
13094} if (_result) {
13095 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
13096 _resultobj = Py_BuildValue("s",_ptemp);
13097 } else {
13098 Py_INCREF(Py_None);
13099 _resultobj = Py_None;
13100 }
13101 return _resultobj;
13102}
13103
13104#define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
13105static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13106 PyObject * _resultobj;
13107 int _result;
13108 wxGridSizeEvent * _arg0;
13109 PyObject * _argo0 = 0;
13110 char *_kwnames[] = { "self", NULL };
13111
13112 self = self;
13113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
13114 return NULL;
13115 if (_argo0) {
13116 if (_argo0 == Py_None) { _arg0 = NULL; }
13117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
13119 return NULL;
13120 }
13121 }
13122{
0e2ff151 13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13124 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
13125
0e2ff151 13126 wxPyEndAllowThreads(__tstate);
e6056257
RD
13127 if (PyErr_Occurred()) return NULL;
13128} _resultobj = Py_BuildValue("i",_result);
13129 return _resultobj;
13130}
13131
13132#define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13133static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13134 PyObject * _resultobj;
13135 wxPoint * _result;
13136 wxGridSizeEvent * _arg0;
13137 PyObject * _argo0 = 0;
13138 char *_kwnames[] = { "self", NULL };
13139 char _ptemp[128];
13140
13141 self = self;
13142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
13143 return NULL;
13144 if (_argo0) {
13145 if (_argo0 == Py_None) { _arg0 = NULL; }
13146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13148 return NULL;
13149 }
13150 }
13151{
0e2ff151 13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13153 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
13154
0e2ff151 13155 wxPyEndAllowThreads(__tstate);
e6056257
RD
13156 if (PyErr_Occurred()) return NULL;
13157} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
13158 _resultobj = Py_BuildValue("s",_ptemp);
13159 return _resultobj;
13160}
13161
13162#define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13163static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13164 PyObject * _resultobj;
13165 bool _result;
13166 wxGridSizeEvent * _arg0;
13167 PyObject * _argo0 = 0;
13168 char *_kwnames[] = { "self", NULL };
13169
13170 self = self;
13171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
13172 return NULL;
13173 if (_argo0) {
13174 if (_argo0 == Py_None) { _arg0 = NULL; }
13175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
13177 return NULL;
13178 }
13179 }
13180{
0e2ff151 13181 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13182 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
13183
0e2ff151 13184 wxPyEndAllowThreads(__tstate);
e6056257
RD
13185 if (PyErr_Occurred()) return NULL;
13186} _resultobj = Py_BuildValue("i",_result);
13187 return _resultobj;
13188}
13189
13190#define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13191static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13192 PyObject * _resultobj;
13193 bool _result;
13194 wxGridSizeEvent * _arg0;
13195 PyObject * _argo0 = 0;
13196 char *_kwnames[] = { "self", NULL };
13197
13198 self = self;
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
13200 return NULL;
13201 if (_argo0) {
13202 if (_argo0 == Py_None) { _arg0 = NULL; }
13203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
13205 return NULL;
13206 }
13207 }
13208{
0e2ff151 13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13210 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
13211
0e2ff151 13212 wxPyEndAllowThreads(__tstate);
e6056257
RD
13213 if (PyErr_Occurred()) return NULL;
13214} _resultobj = Py_BuildValue("i",_result);
13215 return _resultobj;
13216}
13217
13218#define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13219static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13220 PyObject * _resultobj;
13221 bool _result;
13222 wxGridSizeEvent * _arg0;
13223 PyObject * _argo0 = 0;
13224 char *_kwnames[] = { "self", NULL };
13225
13226 self = self;
13227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
13228 return NULL;
13229 if (_argo0) {
13230 if (_argo0 == Py_None) { _arg0 = NULL; }
13231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
13233 return NULL;
13234 }
13235 }
13236{
0e2ff151 13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13238 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
13239
0e2ff151 13240 wxPyEndAllowThreads(__tstate);
e6056257
RD
13241 if (PyErr_Occurred()) return NULL;
13242} _resultobj = Py_BuildValue("i",_result);
13243 return _resultobj;
13244}
13245
13246#define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13247static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13248 PyObject * _resultobj;
13249 bool _result;
13250 wxGridSizeEvent * _arg0;
13251 PyObject * _argo0 = 0;
13252 char *_kwnames[] = { "self", NULL };
13253
13254 self = self;
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
13256 return NULL;
13257 if (_argo0) {
13258 if (_argo0 == Py_None) { _arg0 = NULL; }
13259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13261 return NULL;
13262 }
13263 }
13264{
0e2ff151 13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13266 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
13267
0e2ff151 13268 wxPyEndAllowThreads(__tstate);
e6056257
RD
13269 if (PyErr_Occurred()) return NULL;
13270} _resultobj = Py_BuildValue("i",_result);
13271 return _resultobj;
13272}
13273
13274static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
13275 wxGridRangeSelectEvent *src;
13276 wxNotifyEvent *dest;
13277 src = (wxGridRangeSelectEvent *) ptr;
13278 dest = (wxNotifyEvent *) src;
13279 return (void *) dest;
13280}
13281
13282static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
13283 wxGridRangeSelectEvent *src;
13284 wxCommandEvent *dest;
13285 src = (wxGridRangeSelectEvent *) ptr;
13286 dest = (wxCommandEvent *) src;
13287 return (void *) dest;
13288}
13289
13290static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
13291 wxGridRangeSelectEvent *src;
13292 wxEvent *dest;
13293 src = (wxGridRangeSelectEvent *) ptr;
13294 dest = (wxEvent *) src;
13295 return (void *) dest;
13296}
13297
13298static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
13299 wxGridRangeSelectEvent *src;
13300 wxObject *dest;
13301 src = (wxGridRangeSelectEvent *) ptr;
13302 dest = (wxObject *) src;
13303 return (void *) dest;
13304}
13305
13306#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))
13307static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13308 PyObject * _resultobj;
13309 wxGridRangeSelectEvent * _result;
13310 int _arg0;
13311 wxEventType _arg1;
13312 wxGrid * _arg2;
13313 wxGridCellCoords * _arg3;
13314 wxGridCellCoords * _arg4;
13315 bool _arg5 = (bool ) TRUE;
13316 bool _arg6 = (bool ) FALSE;
13317 bool _arg7 = (bool ) FALSE;
13318 bool _arg8 = (bool ) FALSE;
13319 bool _arg9 = (bool ) FALSE;
13320 PyObject * _argo2 = 0;
13321 wxGridCellCoords temp;
13322 PyObject * _obj3 = 0;
13323 wxGridCellCoords temp0;
13324 PyObject * _obj4 = 0;
13325 int tempbool5 = (int) TRUE;
13326 int tempbool6 = (int) FALSE;
13327 int tempbool7 = (int) FALSE;
13328 int tempbool8 = (int) FALSE;
13329 int tempbool9 = (int) FALSE;
13330 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
13331 char _ptemp[128];
13332
13333 self = self;
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13335 return NULL;
13336 if (_argo2) {
13337 if (_argo2 == Py_None) { _arg2 = NULL; }
13338 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13339 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13340 return NULL;
13341 }
13342 }
13343{
13344 _arg3 = &temp;
13345 if (! wxGridCellCoords_helper(_obj3, &_arg3))
13346 return NULL;
13347}
13348{
13349 _arg4 = &temp0;
13350 if (! wxGridCellCoords_helper(_obj4, &_arg4))
13351 return NULL;
13352}
13353 _arg5 = (bool ) tempbool5;
13354 _arg6 = (bool ) tempbool6;
13355 _arg7 = (bool ) tempbool7;
13356 _arg8 = (bool ) tempbool8;
13357 _arg9 = (bool ) tempbool9;
13358{
0e2ff151 13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13360 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13361
0e2ff151 13362 wxPyEndAllowThreads(__tstate);
e6056257
RD
13363 if (PyErr_Occurred()) return NULL;
13364} if (_result) {
13365 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
13366 _resultobj = Py_BuildValue("s",_ptemp);
13367 } else {
13368 Py_INCREF(Py_None);
13369 _resultobj = Py_None;
13370 }
13371 return _resultobj;
13372}
13373
13374#define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13375static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject * _resultobj;
13377 wxGridCellCoords * _result;
13378 wxGridRangeSelectEvent * _arg0;
13379 PyObject * _argo0 = 0;
13380 char *_kwnames[] = { "self", NULL };
13381 char _ptemp[128];
13382
13383 self = self;
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
13385 return NULL;
13386 if (_argo0) {
13387 if (_argo0 == Py_None) { _arg0 = NULL; }
13388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13390 return NULL;
13391 }
13392 }
13393{
0e2ff151 13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13395 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
13396
0e2ff151 13397 wxPyEndAllowThreads(__tstate);
e6056257
RD
13398 if (PyErr_Occurred()) return NULL;
13399} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13400 _resultobj = Py_BuildValue("s",_ptemp);
13401 return _resultobj;
13402}
13403
13404#define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13405static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13406 PyObject * _resultobj;
13407 wxGridCellCoords * _result;
13408 wxGridRangeSelectEvent * _arg0;
13409 PyObject * _argo0 = 0;
13410 char *_kwnames[] = { "self", NULL };
13411 char _ptemp[128];
13412
13413 self = self;
13414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
13415 return NULL;
13416 if (_argo0) {
13417 if (_argo0 == Py_None) { _arg0 = NULL; }
13418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13420 return NULL;
13421 }
13422 }
13423{
0e2ff151 13424 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13425 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
13426
0e2ff151 13427 wxPyEndAllowThreads(__tstate);
e6056257
RD
13428 if (PyErr_Occurred()) return NULL;
13429} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13430 _resultobj = Py_BuildValue("s",_ptemp);
13431 return _resultobj;
13432}
13433
13434#define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13435static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13436 PyObject * _resultobj;
13437 int _result;
13438 wxGridRangeSelectEvent * _arg0;
13439 PyObject * _argo0 = 0;
13440 char *_kwnames[] = { "self", NULL };
13441
13442 self = self;
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
13444 return NULL;
13445 if (_argo0) {
13446 if (_argo0 == Py_None) { _arg0 = NULL; }
13447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13449 return NULL;
13450 }
13451 }
13452{
0e2ff151 13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13454 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
13455
0e2ff151 13456 wxPyEndAllowThreads(__tstate);
e6056257
RD
13457 if (PyErr_Occurred()) return NULL;
13458} _resultobj = Py_BuildValue("i",_result);
13459 return _resultobj;
13460}
13461
13462#define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13463static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13464 PyObject * _resultobj;
13465 int _result;
13466 wxGridRangeSelectEvent * _arg0;
13467 PyObject * _argo0 = 0;
13468 char *_kwnames[] = { "self", NULL };
13469
13470 self = self;
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
13472 return NULL;
13473 if (_argo0) {
13474 if (_argo0 == Py_None) { _arg0 = NULL; }
13475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13477 return NULL;
13478 }
13479 }
13480{
0e2ff151 13481 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13482 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
13483
0e2ff151 13484 wxPyEndAllowThreads(__tstate);
e6056257
RD
13485 if (PyErr_Occurred()) return NULL;
13486} _resultobj = Py_BuildValue("i",_result);
13487 return _resultobj;
13488}
13489
13490#define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13491static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13492 PyObject * _resultobj;
13493 int _result;
13494 wxGridRangeSelectEvent * _arg0;
13495 PyObject * _argo0 = 0;
13496 char *_kwnames[] = { "self", NULL };
13497
13498 self = self;
13499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
13500 return NULL;
13501 if (_argo0) {
13502 if (_argo0 == Py_None) { _arg0 = NULL; }
13503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13505 return NULL;
13506 }
13507 }
13508{
0e2ff151 13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13510 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
13511
0e2ff151 13512 wxPyEndAllowThreads(__tstate);
e6056257
RD
13513 if (PyErr_Occurred()) return NULL;
13514} _resultobj = Py_BuildValue("i",_result);
13515 return _resultobj;
13516}
13517
13518#define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13519static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13520 PyObject * _resultobj;
13521 int _result;
13522 wxGridRangeSelectEvent * _arg0;
13523 PyObject * _argo0 = 0;
13524 char *_kwnames[] = { "self", NULL };
13525
13526 self = self;
13527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
13528 return NULL;
13529 if (_argo0) {
13530 if (_argo0 == Py_None) { _arg0 = NULL; }
13531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13533 return NULL;
13534 }
13535 }
13536{
0e2ff151 13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13538 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
13539
0e2ff151 13540 wxPyEndAllowThreads(__tstate);
e6056257
RD
13541 if (PyErr_Occurred()) return NULL;
13542} _resultobj = Py_BuildValue("i",_result);
13543 return _resultobj;
13544}
13545
13546#define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13547static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13548 PyObject * _resultobj;
13549 bool _result;
13550 wxGridRangeSelectEvent * _arg0;
13551 PyObject * _argo0 = 0;
13552 char *_kwnames[] = { "self", NULL };
13553
13554 self = self;
13555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
13556 return NULL;
13557 if (_argo0) {
13558 if (_argo0 == Py_None) { _arg0 = NULL; }
13559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13561 return NULL;
13562 }
13563 }
13564{
0e2ff151 13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13566 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
13567
0e2ff151 13568 wxPyEndAllowThreads(__tstate);
e6056257
RD
13569 if (PyErr_Occurred()) return NULL;
13570} _resultobj = Py_BuildValue("i",_result);
13571 return _resultobj;
13572}
13573
13574#define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13575static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13576 PyObject * _resultobj;
13577 bool _result;
13578 wxGridRangeSelectEvent * _arg0;
13579 PyObject * _argo0 = 0;
13580 char *_kwnames[] = { "self", NULL };
13581
13582 self = self;
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
13584 return NULL;
13585 if (_argo0) {
13586 if (_argo0 == Py_None) { _arg0 = NULL; }
13587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13589 return NULL;
13590 }
13591 }
13592{
0e2ff151 13593 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13594 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
13595
0e2ff151 13596 wxPyEndAllowThreads(__tstate);
e6056257
RD
13597 if (PyErr_Occurred()) return NULL;
13598} _resultobj = Py_BuildValue("i",_result);
13599 return _resultobj;
13600}
13601
13602#define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13603static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13604 PyObject * _resultobj;
13605 bool _result;
13606 wxGridRangeSelectEvent * _arg0;
13607 PyObject * _argo0 = 0;
13608 char *_kwnames[] = { "self", NULL };
13609
13610 self = self;
13611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
13612 return NULL;
13613 if (_argo0) {
13614 if (_argo0 == Py_None) { _arg0 = NULL; }
13615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13617 return NULL;
13618 }
13619 }
13620{
0e2ff151 13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13622 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
13623
0e2ff151 13624 wxPyEndAllowThreads(__tstate);
e6056257
RD
13625 if (PyErr_Occurred()) return NULL;
13626} _resultobj = Py_BuildValue("i",_result);
13627 return _resultobj;
13628}
13629
13630#define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13631static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13632 PyObject * _resultobj;
13633 bool _result;
13634 wxGridRangeSelectEvent * _arg0;
13635 PyObject * _argo0 = 0;
13636 char *_kwnames[] = { "self", NULL };
13637
13638 self = self;
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13640 return NULL;
13641 if (_argo0) {
13642 if (_argo0 == Py_None) { _arg0 = NULL; }
13643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13645 return NULL;
13646 }
13647 }
13648{
0e2ff151 13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13650 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
13651
0e2ff151 13652 wxPyEndAllowThreads(__tstate);
e6056257
RD
13653 if (PyErr_Occurred()) return NULL;
13654} _resultobj = Py_BuildValue("i",_result);
13655 return _resultobj;
13656}
13657
13658#define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13659static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject * _resultobj;
13661 bool _result;
13662 wxGridRangeSelectEvent * _arg0;
13663 PyObject * _argo0 = 0;
13664 char *_kwnames[] = { "self", NULL };
13665
13666 self = self;
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13668 return NULL;
13669 if (_argo0) {
13670 if (_argo0 == Py_None) { _arg0 = NULL; }
13671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13673 return NULL;
13674 }
13675 }
13676{
0e2ff151 13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13678 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
13679
0e2ff151 13680 wxPyEndAllowThreads(__tstate);
e6056257
RD
13681 if (PyErr_Occurred()) return NULL;
13682} _resultobj = Py_BuildValue("i",_result);
13683 return _resultobj;
13684}
13685
13686static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
13687 wxGridEditorCreatedEvent *src;
13688 wxCommandEvent *dest;
13689 src = (wxGridEditorCreatedEvent *) ptr;
13690 dest = (wxCommandEvent *) src;
13691 return (void *) dest;
13692}
13693
13694static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
13695 wxGridEditorCreatedEvent *src;
13696 wxEvent *dest;
13697 src = (wxGridEditorCreatedEvent *) ptr;
13698 dest = (wxEvent *) src;
13699 return (void *) dest;
13700}
13701
13702static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
13703 wxGridEditorCreatedEvent *src;
13704 wxObject *dest;
13705 src = (wxGridEditorCreatedEvent *) ptr;
13706 dest = (wxObject *) src;
13707 return (void *) dest;
13708}
13709
13710#define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13711static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13712 PyObject * _resultobj;
13713 wxGridEditorCreatedEvent * _result;
13714 int _arg0;
13715 wxEventType _arg1;
13716 wxObject * _arg2;
13717 int _arg3;
13718 int _arg4;
13719 wxControl * _arg5;
13720 PyObject * _argo2 = 0;
13721 PyObject * _argo5 = 0;
13722 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
13723 char _ptemp[128];
13724
13725 self = self;
13726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
13727 return NULL;
13728 if (_argo2) {
13729 if (_argo2 == Py_None) { _arg2 = NULL; }
13730 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
13731 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13732 return NULL;
13733 }
13734 }
13735 if (_argo5) {
13736 if (_argo5 == Py_None) { _arg5 = NULL; }
13737 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
13738 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13739 return NULL;
13740 }
13741 }
13742{
0e2ff151 13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13744 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
13745
0e2ff151 13746 wxPyEndAllowThreads(__tstate);
e6056257
RD
13747 if (PyErr_Occurred()) return NULL;
13748} if (_result) {
13749 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
13750 _resultobj = Py_BuildValue("s",_ptemp);
13751 } else {
13752 Py_INCREF(Py_None);
13753 _resultobj = Py_None;
13754 }
13755 return _resultobj;
13756}
13757
13758#define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13759static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13760 PyObject * _resultobj;
13761 int _result;
13762 wxGridEditorCreatedEvent * _arg0;
13763 PyObject * _argo0 = 0;
13764 char *_kwnames[] = { "self", NULL };
13765
13766 self = self;
13767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
13768 return NULL;
13769 if (_argo0) {
13770 if (_argo0 == Py_None) { _arg0 = NULL; }
13771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13773 return NULL;
13774 }
13775 }
13776{
0e2ff151 13777 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13778 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
13779
0e2ff151 13780 wxPyEndAllowThreads(__tstate);
e6056257
RD
13781 if (PyErr_Occurred()) return NULL;
13782} _resultobj = Py_BuildValue("i",_result);
13783 return _resultobj;
13784}
13785
13786#define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13787static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13788 PyObject * _resultobj;
13789 int _result;
13790 wxGridEditorCreatedEvent * _arg0;
13791 PyObject * _argo0 = 0;
13792 char *_kwnames[] = { "self", NULL };
13793
13794 self = self;
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
13796 return NULL;
13797 if (_argo0) {
13798 if (_argo0 == Py_None) { _arg0 = NULL; }
13799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13801 return NULL;
13802 }
13803 }
13804{
0e2ff151 13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13806 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
13807
0e2ff151 13808 wxPyEndAllowThreads(__tstate);
e6056257
RD
13809 if (PyErr_Occurred()) return NULL;
13810} _resultobj = Py_BuildValue("i",_result);
13811 return _resultobj;
13812}
13813
13814#define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13815static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13816 PyObject * _resultobj;
13817 wxControl * _result;
13818 wxGridEditorCreatedEvent * _arg0;
13819 PyObject * _argo0 = 0;
13820 char *_kwnames[] = { "self", NULL };
13821
13822 self = self;
13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
13824 return NULL;
13825 if (_argo0) {
13826 if (_argo0 == Py_None) { _arg0 = NULL; }
13827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13829 return NULL;
13830 }
13831 }
13832{
0e2ff151 13833 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13834 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
13835
0e2ff151 13836 wxPyEndAllowThreads(__tstate);
e6056257
RD
13837 if (PyErr_Occurred()) return NULL;
13838}{ _resultobj = wxPyMake_wxObject(_result); }
13839 return _resultobj;
13840}
13841
13842#define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13843static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13844 PyObject * _resultobj;
13845 wxGridEditorCreatedEvent * _arg0;
13846 int _arg1;
13847 PyObject * _argo0 = 0;
13848 char *_kwnames[] = { "self","row", NULL };
13849
13850 self = self;
13851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
13852 return NULL;
13853 if (_argo0) {
13854 if (_argo0 == Py_None) { _arg0 = NULL; }
13855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13857 return NULL;
13858 }
13859 }
13860{
0e2ff151 13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13862 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
13863
0e2ff151 13864 wxPyEndAllowThreads(__tstate);
e6056257
RD
13865 if (PyErr_Occurred()) return NULL;
13866} Py_INCREF(Py_None);
13867 _resultobj = Py_None;
13868 return _resultobj;
13869}
13870
13871#define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13872static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13873 PyObject * _resultobj;
13874 wxGridEditorCreatedEvent * _arg0;
13875 int _arg1;
13876 PyObject * _argo0 = 0;
13877 char *_kwnames[] = { "self","col", NULL };
13878
13879 self = self;
13880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
13881 return NULL;
13882 if (_argo0) {
13883 if (_argo0 == Py_None) { _arg0 = NULL; }
13884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13886 return NULL;
13887 }
13888 }
13889{
0e2ff151 13890 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13891 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
13892
0e2ff151 13893 wxPyEndAllowThreads(__tstate);
e6056257
RD
13894 if (PyErr_Occurred()) return NULL;
13895} Py_INCREF(Py_None);
13896 _resultobj = Py_None;
13897 return _resultobj;
13898}
13899
13900#define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13901static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13902 PyObject * _resultobj;
13903 wxGridEditorCreatedEvent * _arg0;
13904 wxControl * _arg1;
13905 PyObject * _argo0 = 0;
13906 PyObject * _argo1 = 0;
13907 char *_kwnames[] = { "self","ctrl", NULL };
13908
13909 self = self;
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
13911 return NULL;
13912 if (_argo0) {
13913 if (_argo0 == Py_None) { _arg0 = NULL; }
13914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13916 return NULL;
13917 }
13918 }
13919 if (_argo1) {
13920 if (_argo1 == Py_None) { _arg1 = NULL; }
13921 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
13922 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13923 return NULL;
13924 }
13925 }
13926{
0e2ff151 13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
e6056257
RD
13928 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
13929
0e2ff151 13930 wxPyEndAllowThreads(__tstate);
e6056257
RD
13931 if (PyErr_Occurred()) return NULL;
13932} Py_INCREF(Py_None);
13933 _resultobj = Py_None;
13934 return _resultobj;
13935}
13936
13937static PyMethodDef gridcMethods[] = {
13938 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
13939 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
13940 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
13941 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
13942 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13943 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13944 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
13945 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13946 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13947 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13948 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13949 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13950 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
13951 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
13952 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
13953 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
13954 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
13955 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
13956 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
13957 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13958 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13959 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13960 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13961 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13962 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
13963 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
13964 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13965 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13966 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13967 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13968 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13969 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13970 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13971 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13972 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
13973 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
13974 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
13975 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
13976 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
13977 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
13978 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
13979 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
13980 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
13981 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
13982 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
13983 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13984 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13985 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13986 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13987 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
13988 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
13989 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
13990 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
13991 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
13992 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
13993 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
13994 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
13995 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13996 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13997 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
13998 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
13999 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
14000 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14001 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
14002 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14003 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14004 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14005 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14006 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14007 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14008 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14009 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
14010 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14011 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14012 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14013 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14014 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14015 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
14016 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
14017 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
14018 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
14019 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
14020 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
14021 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
14022 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
14023 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14024 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
14025 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14026 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14027 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14028 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
14029 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14030 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14031 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14032 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14033 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14034 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
14035 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14036 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
14037 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14038 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
14039 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
14040 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
14041 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
14042 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
14043 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
14044 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14045 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14046 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
14047 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14048 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14049 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
14050 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
14051 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
14052 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
14053 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
14054 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
14055 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
14056 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
14057 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
14058 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
14059 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14060 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14061 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14062 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14063 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
14064 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
14065 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14066 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
14067 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14068 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
14069 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
14070 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
14071 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
14072 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14073 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14074 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14075 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14076 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
14077 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
14078 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14079 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
14080 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
14081 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14082 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14083 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
14084 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
14085 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
14086 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
14087 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
14088 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
14089 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
14090 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
14091 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
14092 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
14093 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
14094 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
14095 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
14096 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
14097 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
14098 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
14099 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
14100 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
14101 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
14102 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
14103 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
14104 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
14105 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
14106 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
14107 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
14108 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
14109 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
14110 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
14111 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
14112 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
14113 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
14114 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
14115 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
14116 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
14117 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
14118 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
14119 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
14120 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
14121 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
14122 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14123 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
14124 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
14125 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14126 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
14127 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
14128 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
14129 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
14130 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
14131 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
14132 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
14133 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
14134 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14135 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
14136 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
14137 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
14138 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
14139 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
14140 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
14141 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
14142 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
14143 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
14144 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
14145 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
14146 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
14147 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
14148 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
14149 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
14150 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
14151 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
14152 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
14153 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
14154 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
14155 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
14156 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
14157 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14158 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14159 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
14160 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
14161 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
14162 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14163 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14164 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14165 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14166 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14167 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
14168 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
14169 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14170 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
14171 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
14172 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
14173 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
14174 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
14175 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
14176 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
14177 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14178 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
14179 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14180 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14181 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
14182 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
14183 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
14184 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14185 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14186 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14187 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14188 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14189 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
14190 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
14191 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14192 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
14193 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
14194 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
14195 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
14196 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
14197 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
14198 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
14199 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
14200 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
14201 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
14202 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
14203 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
14204 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
14205 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
14206 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
14207 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
14208 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
14209 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
14210 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
14211 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
14212 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
14213 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14214 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14215 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
14216 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
14217 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14218 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
14219 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
14220 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
14221 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14222 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14223 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
14224 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
14225 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
14226 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
14227 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
14228 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
14229 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
14230 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
14231 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
14232 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14233 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
14234 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
14235 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
14236 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
14237 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
14238 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
14239 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14240 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
14241 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
14242 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
14243 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
14244 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14245 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
14246 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
14247 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14248 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
14249 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
14250 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
14251 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
14252 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
14253 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
14254 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
14255 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
14256 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
14257 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
14258 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
14259 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
14260 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
14261 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14262 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
14263 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14264 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
14265 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
14266 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14267 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14268 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
14269 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
14270 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14271 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
14272 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
14273 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14274 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
14275 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
14276 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14277 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14278 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
14279 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
14280 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
14281 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
14282 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
14283 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
14284 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
14285 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
14286 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
14287 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
14288 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
14289 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
14290 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
14291 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
14292 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
14293 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
14294 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
14295 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
14296 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
14297 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
14298 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
14299 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
14300 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
14301 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
14302 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14303 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14304 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
14305 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
14306 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
14307 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
14308 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
14309 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
14310 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
14311 { NULL, NULL }
14312};
14313#ifdef __cplusplus
14314}
14315#endif
14316/*
14317 * This table is used by the pointer type-checker
14318 */
14319static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
14320 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14321 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14322 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14323 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
14324 { "_signed_long","_long",0},
14325 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
14326 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14327 { "_wxPrintQuality","_wxCoord",0},
14328 { "_wxPrintQuality","_int",0},
14329 { "_wxPrintQuality","_signed_int",0},
14330 { "_wxPrintQuality","_unsigned_int",0},
14331 { "_wxPrintQuality","_wxWindowID",0},
14332 { "_wxPrintQuality","_uint",0},
14333 { "_wxPrintQuality","_EBool",0},
14334 { "_wxPrintQuality","_size_t",0},
14335 { "_wxPrintQuality","_time_t",0},
14336 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14337 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14338 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14339 { "_byte","_unsigned_char",0},
14340 { "_long","_unsigned_long",0},
14341 { "_long","_signed_long",0},
14342 { "_size_t","_WXGRIDSELECTIONMODES",0},
14343 { "_size_t","_wxCoord",0},
14344 { "_size_t","_wxPrintQuality",0},
14345 { "_size_t","_time_t",0},
14346 { "_size_t","_unsigned_int",0},
14347 { "_size_t","_int",0},
14348 { "_size_t","_wxWindowID",0},
14349 { "_size_t","_uint",0},
14350 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
14351 { "_uint","_WXGRIDSELECTIONMODES",0},
14352 { "_uint","_wxCoord",0},
14353 { "_uint","_wxPrintQuality",0},
14354 { "_uint","_time_t",0},
14355 { "_uint","_size_t",0},
14356 { "_uint","_unsigned_int",0},
14357 { "_uint","_int",0},
14358 { "_uint","_wxWindowID",0},
14359 { "_wxChar","_char",0},
14360 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14361 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14362 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14363 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14364 { "_char","_wxChar",0},
14365 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
14366 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
14367 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
14368 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14369 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14370 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14371 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14372 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14373 { "_EBool","_WXGRIDSELECTIONMODES",0},
14374 { "_EBool","_wxCoord",0},
14375 { "_EBool","_wxPrintQuality",0},
14376 { "_EBool","_signed_int",0},
14377 { "_EBool","_int",0},
14378 { "_EBool","_wxWindowID",0},
14379 { "_unsigned_long","_long",0},
14380 { "_WXGRIDSELECTIONMODES","_int",0},
14381 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14382 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14383 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14384 { "_WXGRIDSELECTIONMODES","_uint",0},
14385 { "_WXGRIDSELECTIONMODES","_EBool",0},
14386 { "_WXGRIDSELECTIONMODES","_size_t",0},
14387 { "_WXGRIDSELECTIONMODES","_time_t",0},
14388 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14389 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14390 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14391 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14392 { "_signed_int","_wxCoord",0},
14393 { "_signed_int","_wxPrintQuality",0},
14394 { "_signed_int","_EBool",0},
14395 { "_signed_int","_wxWindowID",0},
14396 { "_signed_int","_int",0},
14397 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
14398 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
14399 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14400 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14401 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14402 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14403 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14404 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14405 { "_WXTYPE","_short",0},
14406 { "_WXTYPE","_signed_short",0},
14407 { "_WXTYPE","_unsigned_short",0},
14408 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14409 { "_unsigned_short","_WXTYPE",0},
14410 { "_unsigned_short","_short",0},
14411 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14412 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14413 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14414 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14415 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
14416 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14417 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14418 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14419 { "_signed_short","_WXTYPE",0},
14420 { "_signed_short","_short",0},
14421 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
14422 { "_unsigned_char","_byte",0},
14423 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14424 { "_unsigned_int","_wxCoord",0},
14425 { "_unsigned_int","_wxPrintQuality",0},
14426 { "_unsigned_int","_time_t",0},
14427 { "_unsigned_int","_size_t",0},
14428 { "_unsigned_int","_uint",0},
14429 { "_unsigned_int","_wxWindowID",0},
14430 { "_unsigned_int","_int",0},
14431 { "_short","_WXTYPE",0},
14432 { "_short","_unsigned_short",0},
14433 { "_short","_signed_short",0},
14434 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14435 { "_wxWindowID","_wxCoord",0},
14436 { "_wxWindowID","_wxPrintQuality",0},
14437 { "_wxWindowID","_time_t",0},
14438 { "_wxWindowID","_size_t",0},
14439 { "_wxWindowID","_EBool",0},
14440 { "_wxWindowID","_uint",0},
14441 { "_wxWindowID","_int",0},
14442 { "_wxWindowID","_signed_int",0},
14443 { "_wxWindowID","_unsigned_int",0},
14444 { "_int","_WXGRIDSELECTIONMODES",0},
14445 { "_int","_wxCoord",0},
14446 { "_int","_wxPrintQuality",0},
14447 { "_int","_time_t",0},
14448 { "_int","_size_t",0},
14449 { "_int","_EBool",0},
14450 { "_int","_uint",0},
14451 { "_int","_wxWindowID",0},
14452 { "_int","_unsigned_int",0},
14453 { "_int","_signed_int",0},
14454 { "_time_t","_WXGRIDSELECTIONMODES",0},
14455 { "_time_t","_wxCoord",0},
14456 { "_time_t","_wxPrintQuality",0},
14457 { "_time_t","_unsigned_int",0},
14458 { "_time_t","_int",0},
14459 { "_time_t","_wxWindowID",0},
14460 { "_time_t","_uint",0},
14461 { "_time_t","_size_t",0},
14462 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14463 { "_wxCoord","_int",0},
14464 { "_wxCoord","_signed_int",0},
14465 { "_wxCoord","_unsigned_int",0},
14466 { "_wxCoord","_wxWindowID",0},
14467 { "_wxCoord","_uint",0},
14468 { "_wxCoord","_EBool",0},
14469 { "_wxCoord","_size_t",0},
14470 { "_wxCoord","_time_t",0},
14471 { "_wxCoord","_wxPrintQuality",0},
14472 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
14473 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
14474 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
14475 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14476 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14477 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14478 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14479 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14480 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
14481 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14482 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14483 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
14484 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
14485{0,0,0}};
14486
14487static PyObject *SWIG_globals;
14488#ifdef __cplusplus
14489extern "C"
14490#endif
14491SWIGEXPORT(void) initgridc() {
14492 PyObject *m, *d;
14493 SWIG_globals = SWIG_newvarlink();
14494 m = Py_InitModule("gridc", gridcMethods);
14495 d = PyModule_GetDict(m);
14496 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14497 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14498 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14499 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14500 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14501 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14502 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14503 PyDict_SetItemString(d,"cvar", SWIG_globals);
14504 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14505 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14506 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14507 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14508 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14509 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14510 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14511 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14512 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14513 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14514 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14515 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14516 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14517 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14518 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14519 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14520 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14521 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14522 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14523 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14524 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14525 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14526 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14527 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14528 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
14529 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
14530
14531 wxClassInfo::CleanUpClasses();
14532 wxClassInfo::InitializeClasses();
14533 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14534 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14535 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14536 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14537 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14538 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
14539 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14540 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14541 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14542{
14543 int i;
14544 for (i = 0; _swig_mapping[i].n1; i++)
14545 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14546}
14547}