]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/grid.cpp
XPMHAND.H dependency removed
[wxWidgets.git] / wxPython / src / msw / grid.cpp
CommitLineData
f6bcfd97 1/*
c368d904 2 * FILE : src/msw/grid.cpp
f6bcfd97
BP
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
dbbb98cd 6 * Version 1.1 (Build 883)
f6bcfd97
BP
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
f6bcfd97 31# else
c368d904 32# define SWIGEXPORT(a) a
f6bcfd97
BP
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
f6bcfd97
BP
37#endif
38
c368d904
RD
39#include "Python.h"
40
f6bcfd97
BP
41#ifdef __cplusplus
42extern "C" {
43#endif
dbbb98cd 44
f6bcfd97
BP
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initgridc
55
56#define SWIG_name "gridc"
57
1e7ecb7b 58#include "export.h"
f6bcfd97
BP
59#include <wx/grid.h>
60
61static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
e0672e2f 63 if (!target) {
f6bcfd97 64 target = o;
e0672e2f 65 } else if (target == Py_None) {
f6bcfd97
BP
66 Py_DECREF(Py_None);
67 target = o;
e0672e2f 68 } else {
f6bcfd97
BP
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79}
80
81static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
e0672e2f 85 if (!target) {
f6bcfd97 86 target = o;
e0672e2f 87 } else if (target == Py_None) {
f6bcfd97
BP
88 Py_DECREF(Py_None);
89 target = o;
e0672e2f 90 } else {
f6bcfd97
BP
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
e0672e2f
RD
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
f6bcfd97
BP
98
99 o2 = target;
e0672e2f
RD
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
f6bcfd97
BP
102 Py_DECREF(o3);
103 }
104 return target;
105}
106
794c5cb1
RD
107#if PYTHON_API_VERSION >= 1009
108 static char* wxStringErrorMsg = "String or Unicode type required";
109#else
110 static char* wxStringErrorMsg = "string type is required for parameter";
111#endif
f6bcfd97 112
9416aa89
RD
113#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
114 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
115 wxGridCellAttr* rval = NULL; \
116 bool doSave = wxPyRestoreThread(); \
117 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
118 PyObject* ro; \
119 wxGridCellAttr* ptr; \
120 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
121 if (ro) { \
f6bcfd97 122 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
9416aa89
RD
123 rval = ptr; \
124 Py_DECREF(ro); \
125 } \
126 } \
127 else \
128 rval = PCLASS::CBNAME(a, b, c); \
129 wxPySaveThread(doSave); \
130 return rval; \
131 } \
132 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
133 return PCLASS::CBNAME(a, b, c); \
f6bcfd97
BP
134 }
135
136
137
138#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
139 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
140 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
141 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
142 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
de20db99
RD
144 Py_DECREF(obj); \
145 } \
f6bcfd97
BP
146 else \
147 PCLASS::CBNAME(attr, a, b); \
148 wxPySaveThread(doSave); \
149 } \
150 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
151 PCLASS::CBNAME(attr, a, b); \
152 }
153
154
155
156#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
157 void CBNAME(wxGridCellAttr *attr, int val) { \
158 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
159 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
160 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
161 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
de20db99
RD
162 Py_DECREF(obj); \
163 } \
f6bcfd97
BP
164 else \
165 PCLASS::CBNAME(attr, val); \
166 wxPySaveThread(doSave); \
167 } \
168 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
169 PCLASS::CBNAME(attr, val); \
170 }
171
172
173
174#define PYCALLBACK_INT__pure(CBNAME) \
175 int CBNAME() { \
176 bool doSave = wxPyRestoreThread(); \
177 int rval = 0; \
1e7ecb7b
RD
178 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
179 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
f6bcfd97
BP
180 wxPySaveThread(doSave); \
181 return rval; \
182 }
183
184
185
186#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
187 bool CBNAME(int a, int b) { \
188 bool doSave = wxPyRestoreThread(); \
189 bool rval = 0; \
1e7ecb7b
RD
190 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
191 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97
BP
192 wxPySaveThread(doSave); \
193 return rval; \
194 }
195
196
197
198#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
199 wxString CBNAME(int a, int b) { \
200 bool doSave = wxPyRestoreThread(); \
201 wxString rval; \
1e7ecb7b 202 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 203 PyObject* ro; \
1e7ecb7b 204 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97 205 if (ro) { \
de20db99
RD
206 PyObject* str = PyObject_Str(ro); \
207 rval = PyString_AsString(str); \
208 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
209 } \
210 } \
211 wxPySaveThread(doSave); \
212 return rval; \
213 }
214
215
216
217#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
218 void CBNAME(int a, int b, const wxString& c) { \
219 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
220 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
221 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str())); \
f6bcfd97
BP
222 wxPySaveThread(doSave); \
223 }
224
225
226#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
227 wxString CBNAME(int a, int b) { \
228 bool doSave = wxPyRestoreThread(); \
229 wxString rval; \
1e7ecb7b 230 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 231 PyObject* ro; \
1e7ecb7b 232 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97 233 if (ro) { \
de20db99
RD
234 PyObject* str = PyObject_Str(ro); \
235 rval = PyString_AsString(str); \
236 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
237 } \
238 } else \
239 rval = PCLASS::CBNAME(a, b); \
240 wxPySaveThread(doSave); \
241 return rval; \
242 } \
243 wxString base_##CBNAME(int a, int b) { \
244 return PCLASS::CBNAME(a, b); \
245 }
246
247
248
249#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
250 bool CBNAME(int a, int b, const wxString& c) { \
251 bool rval; \
252 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
253 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
254 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str())); \
f6bcfd97
BP
255 else \
256 rval = PCLASS::CBNAME(a,b,c); \
257 wxPySaveThread(doSave); \
258 return rval; \
259 } \
260 bool base_##CBNAME(int a, int b, const wxString& c) { \
261 return PCLASS::CBNAME(a,b,c); \
262 }
263
264
265
266
267#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
268 long CBNAME(int a, int b) { \
269 long rval; \
270 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
271 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
272 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
273 else \
274 rval = PCLASS::CBNAME(a,b); \
275 wxPySaveThread(doSave); \
276 return rval; \
277 } \
278 long base_##CBNAME(int a, int b) { \
279 return PCLASS::CBNAME(a,b); \
280 }
281
282
283
284#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
285 bool CBNAME(int a, int b) { \
286 bool rval; \
287 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
288 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
289 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
290 else \
291 rval = PCLASS::CBNAME(a,b); \
292 wxPySaveThread(doSave); \
293 return rval; \
294 } \
295 bool base_##CBNAME(int a, int b) { \
296 return PCLASS::CBNAME(a,b); \
297 }
298
299
300
301#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
302 double CBNAME(int a, int b) { \
303 bool doSave = wxPyRestoreThread(); \
304 double rval; \
1e7ecb7b 305 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 306 PyObject* ro; \
1e7ecb7b 307 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97 308 if (ro) { \
de20db99
RD
309 PyObject* str = PyObject_Str(ro); \
310 rval = PyFloat_AsDouble(str); \
311 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
312 } \
313 } else \
314 rval = PCLASS::CBNAME(a, b); \
315 wxPySaveThread(doSave); \
316 return rval; \
317 } \
318 double base_##CBNAME(int a, int b) { \
319 return PCLASS::CBNAME(a, b); \
320 }
321
322
323
324#define PYCALLBACK__(PCLASS, CBNAME) \
325 void CBNAME() { \
326 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
327 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
328 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
f6bcfd97
BP
329 else \
330 PCLASS::CBNAME(); \
331 wxPySaveThread(doSave); \
332 } \
333 void base_##CBNAME() { \
334 PCLASS::CBNAME(); \
335 }
336
337
338
339
340#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
341 bool CBNAME(size_t a, size_t b) { \
342 bool rval; \
343 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
344 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
345 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
346 else \
347 rval = PCLASS::CBNAME(a,b); \
348 wxPySaveThread(doSave); \
349 return rval; \
350 } \
351 bool base_##CBNAME(size_t a, size_t b) { \
352 return PCLASS::CBNAME(a,b); \
353 }
354
355
356
357#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
358 bool CBNAME(size_t a) { \
359 bool rval; \
360 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
361 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
362 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
f6bcfd97
BP
363 else \
364 rval = PCLASS::CBNAME(a); \
365 wxPySaveThread(doSave); \
366 return rval; \
367 } \
368 bool base_##CBNAME(size_t a) { \
369 return PCLASS::CBNAME(a); \
370 }
371
372
373
374#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
375 wxString CBNAME(int a) { \
376 bool doSave = wxPyRestoreThread(); \
377 wxString rval; \
1e7ecb7b 378 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 379 PyObject* ro; \
1e7ecb7b 380 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
f6bcfd97 381 if (ro) { \
de20db99
RD
382 PyObject* str = PyObject_Str(ro); \
383 rval = PyString_AsString(str); \
384 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
385 } \
386 } else \
387 rval = PCLASS::CBNAME(a); \
388 wxPySaveThread(doSave); \
389 return rval; \
390 } \
391 wxString base_##CBNAME(int a) { \
392 return PCLASS::CBNAME(a); \
393 }
394
395
396
397#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
398 void CBNAME(int a, const wxString& c) { \
399 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
400 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
401 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
f6bcfd97
BP
402 else \
403 PCLASS::CBNAME(a,c); \
404 wxPySaveThread(doSave); \
405 } \
406 void base_##CBNAME(int a, const wxString& c) { \
407 PCLASS::CBNAME(a,c); \
408 }
409
410
411
412
413#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
414 bool CBNAME() { \
415 bool rval; \
416 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
417 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
418 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
f6bcfd97
BP
419 else \
420 rval = PCLASS::CBNAME(); \
421 wxPySaveThread(doSave); \
422 return rval; \
423 } \
424 bool base_##CBNAME() { \
425 return PCLASS::CBNAME(); \
426 }
427
428
429
430#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
431 void CBNAME(size_t a, int b) { \
432 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
433 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
435 else \
436 PCLASS::CBNAME(a,b); \
437 wxPySaveThread(doSave); \
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 doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
449 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
450 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
f6bcfd97
BP
451 else \
452 PCLASS::CBNAME(a,b,c); \
453 wxPySaveThread(doSave); \
454 } \
455 void base_##CBNAME(int a, int b, long c) { \
456 PCLASS::CBNAME(a,b,c); \
457 }
458
459
460
461
462#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
463 void CBNAME(int a, int b, double c) { \
464 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
465 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
466 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
f6bcfd97
BP
467 else \
468 PCLASS::CBNAME(a,b,c); \
469 wxPySaveThread(doSave); \
470 } \
471 void base_##CBNAME(int a, int b, double c) { \
472 PCLASS::CBNAME(a,b,c); \
473 }
474
475
476
477#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
478 void CBNAME(int a, int b, bool c) { \
479 bool doSave = wxPyRestoreThread(); \
1e7ecb7b
RD
480 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
481 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
f6bcfd97
BP
482 else \
483 PCLASS::CBNAME(a,b,c); \
484 wxPySaveThread(doSave); \
485 } \
486 void base_##CBNAME(int a, int b, bool c) { \
487 PCLASS::CBNAME(a,b,c); \
488 }
489
490
491
492
493
494class wxPyGridCellRenderer : public wxGridCellRenderer
495{
496public:
497 wxPyGridCellRenderer() : wxGridCellRenderer() {};
498
499 // Implement Python callback aware virtual methods
500 void Draw(wxGrid& grid, wxGridCellAttr& attr,
501 wxDC& dc, const wxRect& rect,
502 int row, int col, bool isSelected) {
503 bool doSave = wxPyRestoreThread();
1e7ecb7b
RD
504 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
505 wxPyCBH_callCallback(m_myInst,
f6bcfd97 506 Py_BuildValue("(OOOOiii)",
1e7ecb7b
RD
507 wxPyConstructObject((void*)&grid, "wxGrid", 0),
508 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
509 wxPyConstructObject((void*)&dc, "wxDC", 0),
510 wxPyConstructObject((void*)&rect, "wxRect", 0),
f6bcfd97
BP
511 row, col, isSelected));
512 }
513 wxPySaveThread(doSave);
514 }
515
516 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
517 int row, int col) {
518 wxSize rval;
519 bool doSave = wxPyRestoreThread();
1e7ecb7b 520 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
f6bcfd97
BP
521 PyObject* ro;
522 wxSize* ptr;
1e7ecb7b 523 ro = wxPyCBH_callCallbackObj(m_myInst,
f6bcfd97 524 Py_BuildValue("(OOOii)",
1e7ecb7b
RD
525 wxPyConstructObject((void*)&grid, "wxGrid", 0),
526 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
527 wxPyConstructObject((void*)&dc, "wxDC", 0),
f6bcfd97
BP
528 row, col));
529 if (ro) {
530 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
531 rval = *ptr;
532 Py_DECREF(ro);
533 }
534 }
535 wxPySaveThread(doSave);
536 return rval;
537 }
538
539
540 wxGridCellRenderer *Clone() const {
541 wxGridCellRenderer* rval = NULL;
542 bool doSave = wxPyRestoreThread();
1e7ecb7b 543 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
f6bcfd97
BP
544 PyObject* ro;
545 wxGridCellRenderer* ptr;
1e7ecb7b 546 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
f6bcfd97
BP
547 if (ro) {
548 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
549 rval = ptr;
550 Py_DECREF(ro);
551 }
552 }
553 wxPySaveThread(doSave);
554 return rval;
555 }
556
557 DEC_PYCALLBACK__STRING(SetParameters);
558
559 PYPRIVATE;
560};
561
562IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
563
564
565class wxPyGridCellEditor : public wxGridCellEditor
566{
567public:
568 wxPyGridCellEditor() : wxGridCellEditor() {}
569
570 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
571 bool doSave = wxPyRestoreThread();
1e7ecb7b
RD
572 if (wxPyCBH_findCallback(m_myInst, "Create")) {
573 wxPyCBH_callCallback(m_myInst,
f6bcfd97 574 Py_BuildValue("(OiO)",
1e7ecb7b 575 wxPyConstructObject((void*)parent, "wxWindow", 0),
f6bcfd97 576 id,
1e7ecb7b 577 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
f6bcfd97
BP
578 }
579 wxPySaveThread(doSave);
580 }
581
582
583 void BeginEdit(int row, int col, wxGrid* grid) {
584 bool doSave = wxPyRestoreThread();
1e7ecb7b
RD
585 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
586 wxPyCBH_callCallback(m_myInst,
f6bcfd97 587 Py_BuildValue("(iiO)", row, col,
1e7ecb7b 588 wxPyConstructObject((void*)grid, "wxGrid", 0)));
f6bcfd97
BP
589 }
590 wxPySaveThread(doSave);
591 }
592
593
594 bool EndEdit(int row, int col, wxGrid* grid) {
595 bool rv = FALSE;
596 bool doSave = wxPyRestoreThread();
1e7ecb7b
RD
597 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
598 rv = wxPyCBH_callCallback(m_myInst,
f6bcfd97 599 Py_BuildValue("(iiO)", row, col,
1e7ecb7b 600 wxPyConstructObject((void*)grid, "wxGrid", 0)));
f6bcfd97
BP
601 }
602 wxPySaveThread(doSave);
603 return rv;
604 }
605
606
c368d904 607 wxGridCellEditor*Clone() const {
f6bcfd97
BP
608 wxGridCellEditor* rval = NULL;
609 bool doSave = wxPyRestoreThread();
1e7ecb7b 610 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
f6bcfd97
BP
611 PyObject* ro;
612 wxGridCellEditor* ptr;
1e7ecb7b 613 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
f6bcfd97
BP
614 if (ro) {
615 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
616 rval = ptr;
617 Py_DECREF(ro);
618 }
619 }
620 wxPySaveThread(doSave);
621 return rval;
622 }
623
624
625 void Show(bool show, wxGridCellAttr *attr) {
626 bool doSave = wxPyRestoreThread();
1e7ecb7b
RD
627 if (wxPyCBH_findCallback(m_myInst, "Show"))
628 wxPyCBH_callCallback(m_myInst,
f6bcfd97 629 Py_BuildValue("(iO)", show,
1e7ecb7b 630 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
f6bcfd97
BP
631 else
632 wxGridCellEditor::Show(show, attr);
633 wxPySaveThread(doSave);
634 }
635 void base_Show(bool show, wxGridCellAttr *attr) {
636 wxGridCellEditor::Show(show, attr);
637 }
638
639
640 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
641 bool doSave = wxPyRestoreThread();
1e7ecb7b
RD
642 if (wxPyCBH_findCallback(m_myInst, "PaintBackground"))
643 wxPyCBH_callCallback(m_myInst,
f6bcfd97 644 Py_BuildValue("(OO)",
1e7ecb7b
RD
645 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
646 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
f6bcfd97
BP
647 else
648 wxGridCellEditor::PaintBackground(rectCell, attr);
649 wxPySaveThread(doSave);
650 }
651 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
652 wxGridCellEditor::PaintBackground(rectCell, attr);
653 }
654
655
656 DEC_PYCALLBACK___pure(Reset);
657 DEC_PYCALLBACK__constany(SetSize, wxRect);
658 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
659 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
660 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
661 DEC_PYCALLBACK__(StartingClick);
662 DEC_PYCALLBACK__(Destroy);
663 DEC_PYCALLBACK__STRING(SetParameters);
664
665 PYPRIVATE;
666};
667
668
669IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
670IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
671IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
672IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
673IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
674IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
675IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
676IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
677
678
679class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
680{
681public:
682 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
683
9416aa89 684 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
f6bcfd97
BP
685 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
686 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
687 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
688
689 PYPRIVATE;
690};
691
692class wxPyGridTableBase : public wxGridTableBase
693{
694public:
695 wxPyGridTableBase() : wxGridTableBase() {}
696
697 PYCALLBACK_INT__pure(GetNumberRows);
698 PYCALLBACK_INT__pure(GetNumberCols);
699 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
700 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
701 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
702 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
703 PYCALLBACK__(wxGridTableBase, Clear);
704 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
705 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
706 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
707 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
708 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
709 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
710 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
711 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
712 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
713 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
714 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
9416aa89 715 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
f6bcfd97
BP
716 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
717 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
718 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
719
720
f6bcfd97
BP
721 wxString GetValue(int row, int col) {
722 bool doSave = wxPyRestoreThread();
723 wxString rval;
1e7ecb7b 724 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97 725 PyObject* ro;
1e7ecb7b 726 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
f6bcfd97 727 if (ro) {
de20db99
RD
728 PyObject* str = PyObject_Str(ro);
729 rval = PyString_AsString(str);
f6bcfd97 730 Py_DECREF(ro);
de20db99 731 Py_DECREF(str);
f6bcfd97
BP
732 }
733 }
734 wxPySaveThread(doSave);
735 return rval;
736 }
737
738 void SetValue(int row, int col, const wxString& val) {
739 bool doSave = wxPyRestoreThread();
1e7ecb7b
RD
740 if (wxPyCBH_findCallback(m_myInst, "SetValue"))
741 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str()));
f6bcfd97
BP
742 wxPySaveThread(doSave);
743 }
744
745
746 // Map the Get/Set methods for the standard non-string types to
747 // the GetValue and SetValue python methods.
748 long GetValueAsLong( int row, int col ) {
749 long rval = 0;
750 bool doSave = wxPyRestoreThread();
1e7ecb7b 751 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97
BP
752 PyObject* ro;
753 PyObject* num;
1e7ecb7b 754 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
f6bcfd97
BP
755 if (ro && PyNumber_Check(ro)) {
756 num = PyNumber_Int(ro);
757 if (num) {
758 rval = PyInt_AsLong(num);
759 Py_DECREF(num);
760 }
761 Py_DECREF(ro);
762 }
763 }
764 wxPySaveThread(doSave);
765 return rval;
766 }
767
768 double GetValueAsDouble( int row, int col ) {
769 double rval = 0.0;
770 bool doSave = wxPyRestoreThread();
1e7ecb7b 771 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97
BP
772 PyObject* ro;
773 PyObject* num;
1e7ecb7b 774 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
f6bcfd97
BP
775 if (ro && PyNumber_Check(ro)) {
776 num = PyNumber_Float(ro);
777 if (num) {
778 rval = PyFloat_AsDouble(num);
779 Py_DECREF(num);
780 }
781 Py_DECREF(ro);
782 }
783 }
784 wxPySaveThread(doSave);
785 return rval;
786 }
787
788 bool GetValueAsBool( int row, int col ) {
789 return (bool)GetValueAsLong(row, col);
790 }
791
792 void SetValueAsLong( int row, int col, long value ) {
793 bool doSave = wxPyRestoreThread();
1e7ecb7b
RD
794 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
795 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
f6bcfd97
BP
796 }
797 wxPySaveThread(doSave);
798 }
799
800 void SetValueAsDouble( int row, int col, double value ) {
801 bool doSave = wxPyRestoreThread();
1e7ecb7b
RD
802 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
803 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
f6bcfd97
BP
804 }
805 wxPySaveThread(doSave);
806 }
807
808 void SetValueAsBool( int row, int col, bool value ) {
809 SetValueAsLong( row, col, (long)value );
810 }
811
812
813 PYPRIVATE;
814};
815
816bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
817
818 // If source is an object instance then it may already be the right type
819 if (PyInstance_Check(source)) {
820 wxGridCellCoords* ptr;
821 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
822 goto error;
823 *obj = ptr;
824 return TRUE;
825 }
826 // otherwise a 2-tuple of integers is expected
827 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
828 PyObject* o1 = PySequence_GetItem(source, 0);
829 PyObject* o2 = PySequence_GetItem(source, 1);
830 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
831 return TRUE;
832 }
833
834 error:
835 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
836 return FALSE;
837}
838
839typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
840#ifdef __cplusplus
841extern "C" {
842#endif
843static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
844
845 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
846 return 1;
847}
848
849static PyObject *_wrap_wxGridNoCellCoords_get() {
850 PyObject * pyobj;
851 char ptemp[128];
852
853 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
854 pyobj = PyString_FromString(ptemp);
855 return pyobj;
856}
857
858static int _wrap_wxGridNoCellRect_set(PyObject *val) {
859
860 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
861 return 1;
862}
863
864static PyObject *_wrap_wxGridNoCellRect_get() {
865 PyObject * pyobj;
866 char ptemp[128];
867
868 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
869 pyobj = PyString_FromString(ptemp);
870 return pyobj;
871}
872
873#define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
874static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
875 PyObject * _resultobj;
876 wxGridCellRenderer * _arg0;
877 wxString * _arg1;
878 PyObject * _argo0 = 0;
879 PyObject * _obj1 = 0;
880 char *_kwnames[] = { "self","params", NULL };
881
882 self = self;
883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
884 return NULL;
885 if (_argo0) {
886 if (_argo0 == Py_None) { _arg0 = NULL; }
887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
889 return NULL;
890 }
891 }
892{
185d7c3e
RD
893#if PYTHON_API_VERSION >= 1009
894 char* tmpPtr; int tmpSize;
895 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 896 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
897 return NULL;
898 }
899 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
900 return NULL;
901 _arg1 = new wxString(tmpPtr, tmpSize);
902#else
f6bcfd97
BP
903 if (!PyString_Check(_obj1)) {
904 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
905 return NULL;
906 }
185d7c3e
RD
907 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
908#endif
f6bcfd97
BP
909}
910{
911 wxPy_BEGIN_ALLOW_THREADS;
912 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
913
914 wxPy_END_ALLOW_THREADS;
915} Py_INCREF(Py_None);
916 _resultobj = Py_None;
917{
918 if (_obj1)
919 delete _arg1;
920}
921 return _resultobj;
922}
923
924#define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
925static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
926 PyObject * _resultobj;
927 wxGridCellRenderer * _arg0;
928 PyObject * _argo0 = 0;
929 char *_kwnames[] = { "self", NULL };
930
931 self = self;
932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
933 return NULL;
934 if (_argo0) {
935 if (_argo0 == Py_None) { _arg0 = NULL; }
936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
938 return NULL;
939 }
940 }
941{
942 wxPy_BEGIN_ALLOW_THREADS;
943 wxGridCellRenderer_IncRef(_arg0);
944
945 wxPy_END_ALLOW_THREADS;
946} Py_INCREF(Py_None);
947 _resultobj = Py_None;
948 return _resultobj;
949}
950
951#define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
952static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
953 PyObject * _resultobj;
954 wxGridCellRenderer * _arg0;
955 PyObject * _argo0 = 0;
956 char *_kwnames[] = { "self", NULL };
957
958 self = self;
959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
960 return NULL;
961 if (_argo0) {
962 if (_argo0 == Py_None) { _arg0 = NULL; }
963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
965 return NULL;
966 }
967 }
968{
969 wxPy_BEGIN_ALLOW_THREADS;
970 wxGridCellRenderer_DecRef(_arg0);
971
972 wxPy_END_ALLOW_THREADS;
973} Py_INCREF(Py_None);
974 _resultobj = Py_None;
975 return _resultobj;
976}
977
978#define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
979static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
980 PyObject * _resultobj;
981 wxGridCellRenderer * _arg0;
982 wxGrid * _arg1;
983 wxGridCellAttr * _arg2;
984 wxDC * _arg3;
985 wxRect * _arg4;
986 int _arg5;
987 int _arg6;
988 bool _arg7;
989 PyObject * _argo0 = 0;
990 PyObject * _argo1 = 0;
991 PyObject * _argo2 = 0;
992 PyObject * _argo3 = 0;
993 wxRect temp;
994 PyObject * _obj4 = 0;
995 int tempbool7;
996 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
997
998 self = self;
999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
1000 return NULL;
1001 if (_argo0) {
1002 if (_argo0 == Py_None) { _arg0 = NULL; }
1003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1005 return NULL;
1006 }
1007 }
1008 if (_argo1) {
1009 if (_argo1 == Py_None) { _arg1 = NULL; }
1010 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1012 return NULL;
1013 }
1014 }
1015 if (_argo2) {
1016 if (_argo2 == Py_None) { _arg2 = NULL; }
1017 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1018 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1019 return NULL;
1020 }
1021 }
1022 if (_argo3) {
1023 if (_argo3 == Py_None) { _arg3 = NULL; }
1024 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1025 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1026 return NULL;
1027 }
1028 }
1029{
1030 _arg4 = &temp;
1031 if (! wxRect_helper(_obj4, &_arg4))
1032 return NULL;
1033}
1034 _arg7 = (bool ) tempbool7;
1035{
1036 wxPy_BEGIN_ALLOW_THREADS;
1037 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1038
1039 wxPy_END_ALLOW_THREADS;
1040} Py_INCREF(Py_None);
1041 _resultobj = Py_None;
1042 return _resultobj;
1043}
1044
1045#define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1046static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1047 PyObject * _resultobj;
1048 wxSize * _result;
1049 wxGridCellRenderer * _arg0;
1050 wxGrid * _arg1;
1051 wxGridCellAttr * _arg2;
1052 wxDC * _arg3;
1053 int _arg4;
1054 int _arg5;
1055 PyObject * _argo0 = 0;
1056 PyObject * _argo1 = 0;
1057 PyObject * _argo2 = 0;
1058 PyObject * _argo3 = 0;
1059 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1060 char _ptemp[128];
1061
1062 self = self;
1063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1064 return NULL;
1065 if (_argo0) {
1066 if (_argo0 == Py_None) { _arg0 = NULL; }
1067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1069 return NULL;
1070 }
1071 }
1072 if (_argo1) {
1073 if (_argo1 == Py_None) { _arg1 = NULL; }
1074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1076 return NULL;
1077 }
1078 }
1079 if (_argo2) {
1080 if (_argo2 == Py_None) { _arg2 = NULL; }
1081 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1082 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1083 return NULL;
1084 }
1085 }
1086 if (_argo3) {
1087 if (_argo3 == Py_None) { _arg3 = NULL; }
1088 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1089 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1090 return NULL;
1091 }
1092 }
1093{
1094 wxPy_BEGIN_ALLOW_THREADS;
1095 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1096
1097 wxPy_END_ALLOW_THREADS;
1098} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1099 _resultobj = Py_BuildValue("s",_ptemp);
1100 return _resultobj;
1101}
1102
1103#define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1104static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1105 PyObject * _resultobj;
1106 wxGridCellRenderer * _result;
1107 wxGridCellRenderer * _arg0;
1108 PyObject * _argo0 = 0;
1109 char *_kwnames[] = { "self", NULL };
1110 char _ptemp[128];
1111
1112 self = self;
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1114 return NULL;
1115 if (_argo0) {
1116 if (_argo0 == Py_None) { _arg0 = NULL; }
1117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1119 return NULL;
1120 }
1121 }
1122{
1123 wxPy_BEGIN_ALLOW_THREADS;
1124 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1125
1126 wxPy_END_ALLOW_THREADS;
1127} if (_result) {
1128 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1129 _resultobj = Py_BuildValue("s",_ptemp);
1130 } else {
1131 Py_INCREF(Py_None);
1132 _resultobj = Py_None;
1133 }
1134 return _resultobj;
1135}
1136
1137static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1138 wxPyGridCellRenderer *src;
1139 wxGridCellRenderer *dest;
1140 src = (wxPyGridCellRenderer *) ptr;
1141 dest = (wxGridCellRenderer *) src;
1142 return (void *) dest;
1143}
1144
1145#define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1146static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1147 PyObject * _resultobj;
1148 wxPyGridCellRenderer * _result;
1149 char *_kwnames[] = { NULL };
1150 char _ptemp[128];
1151
1152 self = self;
1153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1154 return NULL;
1155{
1156 wxPy_BEGIN_ALLOW_THREADS;
1157 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1158
1159 wxPy_END_ALLOW_THREADS;
1160} if (_result) {
1161 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1162 _resultobj = Py_BuildValue("s",_ptemp);
1163 } else {
1164 Py_INCREF(Py_None);
1165 _resultobj = Py_None;
1166 }
1167 return _resultobj;
1168}
1169
1170#define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1171static PyObject *_wrap_wxPyGridCellRenderer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1172 PyObject * _resultobj;
1173 wxPyGridCellRenderer * _arg0;
1174 PyObject * _arg1;
1175 PyObject * _arg2;
1176 PyObject * _argo0 = 0;
1177 PyObject * _obj1 = 0;
1178 PyObject * _obj2 = 0;
1179 char *_kwnames[] = { "self","self","_class", NULL };
1180
1181 self = self;
1182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1183 return NULL;
1184 if (_argo0) {
1185 if (_argo0 == Py_None) { _arg0 = NULL; }
1186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1188 return NULL;
1189 }
1190 }
1191{
1192 _arg1 = _obj1;
1193}
1194{
1195 _arg2 = _obj2;
1196}
1197{
1198 wxPy_BEGIN_ALLOW_THREADS;
1199 wxPyGridCellRenderer__setSelf(_arg0,_arg1,_arg2);
1200
1201 wxPy_END_ALLOW_THREADS;
1202} Py_INCREF(Py_None);
1203 _resultobj = Py_None;
1204 return _resultobj;
1205}
1206
1207#define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1208static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1209 PyObject * _resultobj;
1210 wxPyGridCellRenderer * _arg0;
1211 wxString * _arg1;
1212 PyObject * _argo0 = 0;
1213 PyObject * _obj1 = 0;
1214 char *_kwnames[] = { "self","params", NULL };
1215
1216 self = self;
1217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1218 return NULL;
1219 if (_argo0) {
1220 if (_argo0 == Py_None) { _arg0 = NULL; }
1221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1223 return NULL;
1224 }
1225 }
1226{
185d7c3e
RD
1227#if PYTHON_API_VERSION >= 1009
1228 char* tmpPtr; int tmpSize;
1229 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1230 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1231 return NULL;
1232 }
1233 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1234 return NULL;
1235 _arg1 = new wxString(tmpPtr, tmpSize);
1236#else
f6bcfd97
BP
1237 if (!PyString_Check(_obj1)) {
1238 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1239 return NULL;
1240 }
185d7c3e
RD
1241 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1242#endif
f6bcfd97
BP
1243}
1244{
1245 wxPy_BEGIN_ALLOW_THREADS;
1246 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1247
1248 wxPy_END_ALLOW_THREADS;
1249} Py_INCREF(Py_None);
1250 _resultobj = Py_None;
1251{
1252 if (_obj1)
1253 delete _arg1;
1254}
1255 return _resultobj;
1256}
1257
1258static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1259 wxGridCellStringRenderer *src;
1260 wxGridCellRenderer *dest;
1261 src = (wxGridCellStringRenderer *) ptr;
1262 dest = (wxGridCellRenderer *) src;
1263 return (void *) dest;
1264}
1265
1266#define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1267static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1268 PyObject * _resultobj;
1269 wxGridCellStringRenderer * _result;
1270 char *_kwnames[] = { NULL };
1271 char _ptemp[128];
1272
1273 self = self;
1274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1275 return NULL;
1276{
1277 wxPy_BEGIN_ALLOW_THREADS;
1278 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1279
1280 wxPy_END_ALLOW_THREADS;
1281} if (_result) {
1282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1283 _resultobj = Py_BuildValue("s",_ptemp);
1284 } else {
1285 Py_INCREF(Py_None);
1286 _resultobj = Py_None;
1287 }
1288 return _resultobj;
1289}
1290
1291static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1292 wxGridCellNumberRenderer *src;
1293 wxGridCellStringRenderer *dest;
1294 src = (wxGridCellNumberRenderer *) ptr;
1295 dest = (wxGridCellStringRenderer *) src;
1296 return (void *) dest;
1297}
1298
1299static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1300 wxGridCellNumberRenderer *src;
1301 wxGridCellRenderer *dest;
1302 src = (wxGridCellNumberRenderer *) ptr;
1303 dest = (wxGridCellRenderer *) src;
1304 return (void *) dest;
1305}
1306
1307#define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1308static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1309 PyObject * _resultobj;
1310 wxGridCellNumberRenderer * _result;
1311 char *_kwnames[] = { NULL };
1312 char _ptemp[128];
1313
1314 self = self;
1315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1316 return NULL;
1317{
1318 wxPy_BEGIN_ALLOW_THREADS;
1319 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1320
1321 wxPy_END_ALLOW_THREADS;
1322} if (_result) {
1323 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1324 _resultobj = Py_BuildValue("s",_ptemp);
1325 } else {
1326 Py_INCREF(Py_None);
1327 _resultobj = Py_None;
1328 }
1329 return _resultobj;
1330}
1331
1332static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1333 wxGridCellFloatRenderer *src;
1334 wxGridCellStringRenderer *dest;
1335 src = (wxGridCellFloatRenderer *) ptr;
1336 dest = (wxGridCellStringRenderer *) src;
1337 return (void *) dest;
1338}
1339
1340static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1341 wxGridCellFloatRenderer *src;
1342 wxGridCellRenderer *dest;
1343 src = (wxGridCellFloatRenderer *) ptr;
1344 dest = (wxGridCellRenderer *) src;
1345 return (void *) dest;
1346}
1347
1348#define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1349static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1350 PyObject * _resultobj;
1351 wxGridCellFloatRenderer * _result;
1352 int _arg0 = (int ) -1;
1353 int _arg1 = (int ) -1;
1354 char *_kwnames[] = { "width","precision", NULL };
1355 char _ptemp[128];
1356
1357 self = self;
1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1359 return NULL;
1360{
1361 wxPy_BEGIN_ALLOW_THREADS;
1362 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1363
1364 wxPy_END_ALLOW_THREADS;
1365} if (_result) {
1366 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1367 _resultobj = Py_BuildValue("s",_ptemp);
1368 } else {
1369 Py_INCREF(Py_None);
1370 _resultobj = Py_None;
1371 }
1372 return _resultobj;
1373}
1374
1375#define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1376static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject * _resultobj;
1378 int _result;
1379 wxGridCellFloatRenderer * _arg0;
1380 PyObject * _argo0 = 0;
1381 char *_kwnames[] = { "self", NULL };
1382
1383 self = self;
1384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1385 return NULL;
1386 if (_argo0) {
1387 if (_argo0 == Py_None) { _arg0 = NULL; }
1388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1390 return NULL;
1391 }
1392 }
1393{
1394 wxPy_BEGIN_ALLOW_THREADS;
1395 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1396
1397 wxPy_END_ALLOW_THREADS;
1398} _resultobj = Py_BuildValue("i",_result);
1399 return _resultobj;
1400}
1401
1402#define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1403static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject * _resultobj;
1405 wxGridCellFloatRenderer * _arg0;
1406 int _arg1;
1407 PyObject * _argo0 = 0;
1408 char *_kwnames[] = { "self","width", NULL };
1409
1410 self = self;
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1412 return NULL;
1413 if (_argo0) {
1414 if (_argo0 == Py_None) { _arg0 = NULL; }
1415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1417 return NULL;
1418 }
1419 }
1420{
1421 wxPy_BEGIN_ALLOW_THREADS;
1422 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1423
1424 wxPy_END_ALLOW_THREADS;
1425} Py_INCREF(Py_None);
1426 _resultobj = Py_None;
1427 return _resultobj;
1428}
1429
1430#define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1431static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject * _resultobj;
1433 int _result;
1434 wxGridCellFloatRenderer * _arg0;
1435 PyObject * _argo0 = 0;
1436 char *_kwnames[] = { "self", NULL };
1437
1438 self = self;
1439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1440 return NULL;
1441 if (_argo0) {
1442 if (_argo0 == Py_None) { _arg0 = NULL; }
1443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1445 return NULL;
1446 }
1447 }
1448{
1449 wxPy_BEGIN_ALLOW_THREADS;
1450 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1451
1452 wxPy_END_ALLOW_THREADS;
1453} _resultobj = Py_BuildValue("i",_result);
1454 return _resultobj;
1455}
1456
1457#define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1458static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject * _resultobj;
1460 wxGridCellFloatRenderer * _arg0;
1461 int _arg1;
1462 PyObject * _argo0 = 0;
1463 char *_kwnames[] = { "self","precision", NULL };
1464
1465 self = self;
1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1467 return NULL;
1468 if (_argo0) {
1469 if (_argo0 == Py_None) { _arg0 = NULL; }
1470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1472 return NULL;
1473 }
1474 }
1475{
1476 wxPy_BEGIN_ALLOW_THREADS;
1477 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1478
1479 wxPy_END_ALLOW_THREADS;
1480} Py_INCREF(Py_None);
1481 _resultobj = Py_None;
1482 return _resultobj;
1483}
1484
1485static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1486 wxGridCellBoolRenderer *src;
1487 wxGridCellRenderer *dest;
1488 src = (wxGridCellBoolRenderer *) ptr;
1489 dest = (wxGridCellRenderer *) src;
1490 return (void *) dest;
1491}
1492
1493#define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1494static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1495 PyObject * _resultobj;
1496 wxGridCellBoolRenderer * _result;
1497 char *_kwnames[] = { NULL };
1498 char _ptemp[128];
1499
1500 self = self;
1501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1502 return NULL;
1503{
1504 wxPy_BEGIN_ALLOW_THREADS;
1505 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1506
1507 wxPy_END_ALLOW_THREADS;
1508} if (_result) {
1509 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1510 _resultobj = Py_BuildValue("s",_ptemp);
1511 } else {
1512 Py_INCREF(Py_None);
1513 _resultobj = Py_None;
1514 }
1515 return _resultobj;
1516}
1517
1518#define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1519static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1520 PyObject * _resultobj;
1521 bool _result;
1522 wxGridCellEditor * _arg0;
1523 PyObject * _argo0 = 0;
1524 char *_kwnames[] = { "self", NULL };
1525
1526 self = self;
1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1528 return NULL;
1529 if (_argo0) {
1530 if (_argo0 == Py_None) { _arg0 = NULL; }
1531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1533 return NULL;
1534 }
1535 }
1536{
1537 wxPy_BEGIN_ALLOW_THREADS;
1538 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1539
1540 wxPy_END_ALLOW_THREADS;
1541} _resultobj = Py_BuildValue("i",_result);
1542 return _resultobj;
1543}
1544
1545#define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1546static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1547 PyObject * _resultobj;
1548 wxControl * _result;
1549 wxGridCellEditor * _arg0;
1550 PyObject * _argo0 = 0;
1551 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
1552
1553 self = self;
1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1555 return NULL;
1556 if (_argo0) {
1557 if (_argo0 == Py_None) { _arg0 = NULL; }
1558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1560 return NULL;
1561 }
1562 }
1563{
1564 wxPy_BEGIN_ALLOW_THREADS;
1565 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1566
1567 wxPy_END_ALLOW_THREADS;
9416aa89 1568}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
1569 return _resultobj;
1570}
1571
1572#define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1573static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1574 PyObject * _resultobj;
1575 wxGridCellEditor * _arg0;
1576 wxControl * _arg1;
1577 PyObject * _argo0 = 0;
1578 PyObject * _argo1 = 0;
1579 char *_kwnames[] = { "self","control", NULL };
1580
1581 self = self;
1582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1583 return NULL;
1584 if (_argo0) {
1585 if (_argo0 == Py_None) { _arg0 = NULL; }
1586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1588 return NULL;
1589 }
1590 }
1591 if (_argo1) {
1592 if (_argo1 == Py_None) { _arg1 = NULL; }
1593 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1595 return NULL;
1596 }
1597 }
1598{
1599 wxPy_BEGIN_ALLOW_THREADS;
1600 wxGridCellEditor_SetControl(_arg0,_arg1);
1601
1602 wxPy_END_ALLOW_THREADS;
1603} Py_INCREF(Py_None);
1604 _resultobj = Py_None;
1605 return _resultobj;
1606}
1607
1608#define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1609static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1610 PyObject * _resultobj;
1611 wxGridCellEditor * _arg0;
1612 wxString * _arg1;
1613 PyObject * _argo0 = 0;
1614 PyObject * _obj1 = 0;
1615 char *_kwnames[] = { "self","params", NULL };
1616
1617 self = self;
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1619 return NULL;
1620 if (_argo0) {
1621 if (_argo0 == Py_None) { _arg0 = NULL; }
1622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1624 return NULL;
1625 }
1626 }
1627{
185d7c3e
RD
1628#if PYTHON_API_VERSION >= 1009
1629 char* tmpPtr; int tmpSize;
1630 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1631 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1632 return NULL;
1633 }
1634 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1635 return NULL;
1636 _arg1 = new wxString(tmpPtr, tmpSize);
1637#else
f6bcfd97
BP
1638 if (!PyString_Check(_obj1)) {
1639 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1640 return NULL;
1641 }
185d7c3e
RD
1642 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1643#endif
f6bcfd97
BP
1644}
1645{
1646 wxPy_BEGIN_ALLOW_THREADS;
1647 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1648
1649 wxPy_END_ALLOW_THREADS;
1650} Py_INCREF(Py_None);
1651 _resultobj = Py_None;
1652{
1653 if (_obj1)
1654 delete _arg1;
1655}
1656 return _resultobj;
1657}
1658
1659#define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1660static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1661 PyObject * _resultobj;
1662 wxGridCellEditor * _arg0;
1663 PyObject * _argo0 = 0;
1664 char *_kwnames[] = { "self", NULL };
1665
1666 self = self;
1667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1668 return NULL;
1669 if (_argo0) {
1670 if (_argo0 == Py_None) { _arg0 = NULL; }
1671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1673 return NULL;
1674 }
1675 }
1676{
1677 wxPy_BEGIN_ALLOW_THREADS;
1678 wxGridCellEditor_IncRef(_arg0);
1679
1680 wxPy_END_ALLOW_THREADS;
1681} Py_INCREF(Py_None);
1682 _resultobj = Py_None;
1683 return _resultobj;
1684}
1685
1686#define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1687static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1688 PyObject * _resultobj;
1689 wxGridCellEditor * _arg0;
1690 PyObject * _argo0 = 0;
1691 char *_kwnames[] = { "self", NULL };
1692
1693 self = self;
1694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1695 return NULL;
1696 if (_argo0) {
1697 if (_argo0 == Py_None) { _arg0 = NULL; }
1698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1700 return NULL;
1701 }
1702 }
1703{
1704 wxPy_BEGIN_ALLOW_THREADS;
1705 wxGridCellEditor_DecRef(_arg0);
1706
1707 wxPy_END_ALLOW_THREADS;
1708} Py_INCREF(Py_None);
1709 _resultobj = Py_None;
1710 return _resultobj;
1711}
1712
1713#define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1714static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1715 PyObject * _resultobj;
1716 wxGridCellEditor * _arg0;
1717 wxWindow * _arg1;
1718 wxWindowID _arg2;
1719 wxEvtHandler * _arg3;
1720 PyObject * _argo0 = 0;
1721 PyObject * _argo1 = 0;
1722 PyObject * _argo3 = 0;
1723 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1724
1725 self = self;
1726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1727 return NULL;
1728 if (_argo0) {
1729 if (_argo0 == Py_None) { _arg0 = NULL; }
1730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1732 return NULL;
1733 }
1734 }
1735 if (_argo1) {
1736 if (_argo1 == Py_None) { _arg1 = NULL; }
1737 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1738 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1739 return NULL;
1740 }
1741 }
1742 if (_argo3) {
1743 if (_argo3 == Py_None) { _arg3 = NULL; }
1744 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1745 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1746 return NULL;
1747 }
1748 }
1749{
1750 wxPy_BEGIN_ALLOW_THREADS;
1751 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1752
1753 wxPy_END_ALLOW_THREADS;
1754} Py_INCREF(Py_None);
1755 _resultobj = Py_None;
1756 return _resultobj;
1757}
1758
1759#define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1760static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject * _resultobj;
1762 wxGridCellEditor * _arg0;
1763 int _arg1;
1764 int _arg2;
1765 wxGrid * _arg3;
1766 PyObject * _argo0 = 0;
1767 PyObject * _argo3 = 0;
1768 char *_kwnames[] = { "self","row","col","grid", NULL };
1769
1770 self = self;
1771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1772 return NULL;
1773 if (_argo0) {
1774 if (_argo0 == Py_None) { _arg0 = NULL; }
1775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1777 return NULL;
1778 }
1779 }
1780 if (_argo3) {
1781 if (_argo3 == Py_None) { _arg3 = NULL; }
1782 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1783 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1784 return NULL;
1785 }
1786 }
1787{
1788 wxPy_BEGIN_ALLOW_THREADS;
1789 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1790
1791 wxPy_END_ALLOW_THREADS;
1792} Py_INCREF(Py_None);
1793 _resultobj = Py_None;
1794 return _resultobj;
1795}
1796
1797#define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1798static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1799 PyObject * _resultobj;
1800 bool _result;
1801 wxGridCellEditor * _arg0;
1802 int _arg1;
1803 int _arg2;
1804 wxGrid * _arg3;
1805 PyObject * _argo0 = 0;
1806 PyObject * _argo3 = 0;
1807 char *_kwnames[] = { "self","row","col","grid", NULL };
1808
1809 self = self;
1810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1811 return NULL;
1812 if (_argo0) {
1813 if (_argo0 == Py_None) { _arg0 = NULL; }
1814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1816 return NULL;
1817 }
1818 }
1819 if (_argo3) {
1820 if (_argo3 == Py_None) { _arg3 = NULL; }
1821 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1822 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1823 return NULL;
1824 }
1825 }
1826{
1827 wxPy_BEGIN_ALLOW_THREADS;
1828 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1829
1830 wxPy_END_ALLOW_THREADS;
1831} _resultobj = Py_BuildValue("i",_result);
1832 return _resultobj;
1833}
1834
1835#define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1836static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1837 PyObject * _resultobj;
1838 wxGridCellEditor * _arg0;
1839 PyObject * _argo0 = 0;
1840 char *_kwnames[] = { "self", NULL };
1841
1842 self = self;
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
1844 return NULL;
1845 if (_argo0) {
1846 if (_argo0 == Py_None) { _arg0 = NULL; }
1847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1849 return NULL;
1850 }
1851 }
1852{
1853 wxPy_BEGIN_ALLOW_THREADS;
1854 wxGridCellEditor_Reset(_arg0);
1855
1856 wxPy_END_ALLOW_THREADS;
1857} Py_INCREF(Py_None);
1858 _resultobj = Py_None;
1859 return _resultobj;
1860}
1861
1862#define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1863static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1864 PyObject * _resultobj;
1865 wxGridCellEditor * _result;
1866 wxGridCellEditor * _arg0;
1867 PyObject * _argo0 = 0;
1868 char *_kwnames[] = { "self", NULL };
1869 char _ptemp[128];
1870
1871 self = self;
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
1873 return NULL;
1874 if (_argo0) {
1875 if (_argo0 == Py_None) { _arg0 = NULL; }
1876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1878 return NULL;
1879 }
1880 }
1881{
1882 wxPy_BEGIN_ALLOW_THREADS;
1883 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
1884
1885 wxPy_END_ALLOW_THREADS;
1886} if (_result) {
1887 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
1888 _resultobj = Py_BuildValue("s",_ptemp);
1889 } else {
1890 Py_INCREF(Py_None);
1891 _resultobj = Py_None;
1892 }
1893 return _resultobj;
1894}
1895
1896#define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1897static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject * _resultobj;
1899 wxGridCellEditor * _arg0;
1900 wxRect * _arg1;
1901 PyObject * _argo0 = 0;
1902 wxRect temp;
1903 PyObject * _obj1 = 0;
1904 char *_kwnames[] = { "self","rect", NULL };
1905
1906 self = self;
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
1908 return NULL;
1909 if (_argo0) {
1910 if (_argo0 == Py_None) { _arg0 = NULL; }
1911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1913 return NULL;
1914 }
1915 }
1916{
1917 _arg1 = &temp;
1918 if (! wxRect_helper(_obj1, &_arg1))
1919 return NULL;
1920}
1921{
1922 wxPy_BEGIN_ALLOW_THREADS;
1923 wxGridCellEditor_SetSize(_arg0,*_arg1);
1924
1925 wxPy_END_ALLOW_THREADS;
1926} Py_INCREF(Py_None);
1927 _resultobj = Py_None;
1928 return _resultobj;
1929}
1930
1931#define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1932static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject * _resultobj;
1934 wxGridCellEditor * _arg0;
1935 bool _arg1;
1936 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
1937 PyObject * _argo0 = 0;
1938 int tempbool1;
1939 PyObject * _argo2 = 0;
1940 char *_kwnames[] = { "self","show","attr", NULL };
1941
1942 self = self;
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
1944 return NULL;
1945 if (_argo0) {
1946 if (_argo0 == Py_None) { _arg0 = NULL; }
1947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1949 return NULL;
1950 }
1951 }
1952 _arg1 = (bool ) tempbool1;
1953 if (_argo2) {
1954 if (_argo2 == Py_None) { _arg2 = NULL; }
1955 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1957 return NULL;
1958 }
1959 }
1960{
1961 wxPy_BEGIN_ALLOW_THREADS;
1962 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
1963
1964 wxPy_END_ALLOW_THREADS;
1965} Py_INCREF(Py_None);
1966 _resultobj = Py_None;
1967 return _resultobj;
1968}
1969
1970#define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1971static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1972 PyObject * _resultobj;
1973 wxGridCellEditor * _arg0;
1974 wxRect * _arg1;
1975 wxGridCellAttr * _arg2;
1976 PyObject * _argo0 = 0;
1977 wxRect temp;
1978 PyObject * _obj1 = 0;
1979 PyObject * _argo2 = 0;
1980 char *_kwnames[] = { "self","rectCell","attr", NULL };
1981
1982 self = self;
1983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
1984 return NULL;
1985 if (_argo0) {
1986 if (_argo0 == Py_None) { _arg0 = NULL; }
1987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
1989 return NULL;
1990 }
1991 }
1992{
1993 _arg1 = &temp;
1994 if (! wxRect_helper(_obj1, &_arg1))
1995 return NULL;
1996}
1997 if (_argo2) {
1998 if (_argo2 == Py_None) { _arg2 = NULL; }
1999 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2000 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2001 return NULL;
2002 }
2003 }
2004{
2005 wxPy_BEGIN_ALLOW_THREADS;
2006 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2007
2008 wxPy_END_ALLOW_THREADS;
2009} Py_INCREF(Py_None);
2010 _resultobj = Py_None;
2011 return _resultobj;
2012}
2013
2014#define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2015static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2016 PyObject * _resultobj;
2017 bool _result;
2018 wxGridCellEditor * _arg0;
2019 wxKeyEvent * _arg1;
2020 PyObject * _argo0 = 0;
2021 PyObject * _argo1 = 0;
2022 char *_kwnames[] = { "self","event", NULL };
2023
2024 self = self;
2025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2026 return NULL;
2027 if (_argo0) {
2028 if (_argo0 == Py_None) { _arg0 = NULL; }
2029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2031 return NULL;
2032 }
2033 }
2034 if (_argo1) {
2035 if (_argo1 == Py_None) { _arg1 = NULL; }
2036 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2037 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2038 return NULL;
2039 }
2040 }
2041{
2042 wxPy_BEGIN_ALLOW_THREADS;
2043 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2044
2045 wxPy_END_ALLOW_THREADS;
2046} _resultobj = Py_BuildValue("i",_result);
2047 return _resultobj;
2048}
2049
2050#define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2051static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2052 PyObject * _resultobj;
2053 wxGridCellEditor * _arg0;
2054 wxKeyEvent * _arg1;
2055 PyObject * _argo0 = 0;
2056 PyObject * _argo1 = 0;
2057 char *_kwnames[] = { "self","event", NULL };
2058
2059 self = self;
2060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2061 return NULL;
2062 if (_argo0) {
2063 if (_argo0 == Py_None) { _arg0 = NULL; }
2064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2066 return NULL;
2067 }
2068 }
2069 if (_argo1) {
2070 if (_argo1 == Py_None) { _arg1 = NULL; }
2071 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2072 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2073 return NULL;
2074 }
2075 }
2076{
2077 wxPy_BEGIN_ALLOW_THREADS;
2078 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2079
2080 wxPy_END_ALLOW_THREADS;
2081} Py_INCREF(Py_None);
2082 _resultobj = Py_None;
2083 return _resultobj;
2084}
2085
2086#define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2087static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2088 PyObject * _resultobj;
2089 wxGridCellEditor * _arg0;
2090 PyObject * _argo0 = 0;
2091 char *_kwnames[] = { "self", NULL };
2092
2093 self = self;
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2095 return NULL;
2096 if (_argo0) {
2097 if (_argo0 == Py_None) { _arg0 = NULL; }
2098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2100 return NULL;
2101 }
2102 }
2103{
2104 wxPy_BEGIN_ALLOW_THREADS;
2105 wxGridCellEditor_StartingClick(_arg0);
2106
2107 wxPy_END_ALLOW_THREADS;
2108} Py_INCREF(Py_None);
2109 _resultobj = Py_None;
2110 return _resultobj;
2111}
2112
2113#define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2114static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2115 PyObject * _resultobj;
2116 wxGridCellEditor * _arg0;
2117 wxKeyEvent * _arg1;
2118 PyObject * _argo0 = 0;
2119 PyObject * _argo1 = 0;
2120 char *_kwnames[] = { "self","event", NULL };
2121
2122 self = self;
2123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2124 return NULL;
2125 if (_argo0) {
2126 if (_argo0 == Py_None) { _arg0 = NULL; }
2127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2129 return NULL;
2130 }
2131 }
2132 if (_argo1) {
2133 if (_argo1 == Py_None) { _arg1 = NULL; }
2134 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2135 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2136 return NULL;
2137 }
2138 }
2139{
2140 wxPy_BEGIN_ALLOW_THREADS;
2141 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2142
2143 wxPy_END_ALLOW_THREADS;
2144} Py_INCREF(Py_None);
2145 _resultobj = Py_None;
2146 return _resultobj;
2147}
2148
2149#define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2150static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2151 PyObject * _resultobj;
2152 wxGridCellEditor * _arg0;
2153 PyObject * _argo0 = 0;
2154 char *_kwnames[] = { "self", NULL };
2155
2156 self = self;
2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2158 return NULL;
2159 if (_argo0) {
2160 if (_argo0 == Py_None) { _arg0 = NULL; }
2161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2163 return NULL;
2164 }
2165 }
2166{
2167 wxPy_BEGIN_ALLOW_THREADS;
2168 wxGridCellEditor_Destroy(_arg0);
2169
2170 wxPy_END_ALLOW_THREADS;
2171} Py_INCREF(Py_None);
2172 _resultobj = Py_None;
2173 return _resultobj;
2174}
2175
2176static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2177 wxPyGridCellEditor *src;
2178 wxGridCellEditor *dest;
2179 src = (wxPyGridCellEditor *) ptr;
2180 dest = (wxGridCellEditor *) src;
2181 return (void *) dest;
2182}
2183
2184#define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2185static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject * _resultobj;
2187 wxPyGridCellEditor * _result;
2188 char *_kwnames[] = { NULL };
2189 char _ptemp[128];
2190
2191 self = self;
2192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2193 return NULL;
2194{
2195 wxPy_BEGIN_ALLOW_THREADS;
2196 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2197
2198 wxPy_END_ALLOW_THREADS;
2199} if (_result) {
2200 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2201 _resultobj = Py_BuildValue("s",_ptemp);
2202 } else {
2203 Py_INCREF(Py_None);
2204 _resultobj = Py_None;
2205 }
2206 return _resultobj;
2207}
2208
2209#define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2210static PyObject *_wrap_wxPyGridCellEditor__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2211 PyObject * _resultobj;
2212 wxPyGridCellEditor * _arg0;
2213 PyObject * _arg1;
2214 PyObject * _arg2;
2215 PyObject * _argo0 = 0;
2216 PyObject * _obj1 = 0;
2217 PyObject * _obj2 = 0;
2218 char *_kwnames[] = { "self","self","_class", NULL };
2219
2220 self = self;
2221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
2222 return NULL;
2223 if (_argo0) {
2224 if (_argo0 == Py_None) { _arg0 = NULL; }
2225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2227 return NULL;
2228 }
2229 }
2230{
2231 _arg1 = _obj1;
2232}
2233{
2234 _arg2 = _obj2;
2235}
2236{
2237 wxPy_BEGIN_ALLOW_THREADS;
2238 wxPyGridCellEditor__setSelf(_arg0,_arg1,_arg2);
2239
2240 wxPy_END_ALLOW_THREADS;
2241} Py_INCREF(Py_None);
2242 _resultobj = Py_None;
2243 return _resultobj;
2244}
2245
2246#define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2247static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject * _resultobj;
2249 wxPyGridCellEditor * _arg0;
2250 wxRect * _arg1;
2251 PyObject * _argo0 = 0;
2252 wxRect temp;
2253 PyObject * _obj1 = 0;
2254 char *_kwnames[] = { "self","rect", NULL };
2255
2256 self = self;
2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2258 return NULL;
2259 if (_argo0) {
2260 if (_argo0 == Py_None) { _arg0 = NULL; }
2261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2263 return NULL;
2264 }
2265 }
2266{
2267 _arg1 = &temp;
2268 if (! wxRect_helper(_obj1, &_arg1))
2269 return NULL;
2270}
2271{
2272 wxPy_BEGIN_ALLOW_THREADS;
2273 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2274
2275 wxPy_END_ALLOW_THREADS;
2276} Py_INCREF(Py_None);
2277 _resultobj = Py_None;
2278 return _resultobj;
2279}
2280
2281#define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2282static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2283 PyObject * _resultobj;
2284 wxPyGridCellEditor * _arg0;
2285 bool _arg1;
2286 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2287 PyObject * _argo0 = 0;
2288 int tempbool1;
2289 PyObject * _argo2 = 0;
2290 char *_kwnames[] = { "self","show","attr", NULL };
2291
2292 self = self;
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2294 return NULL;
2295 if (_argo0) {
2296 if (_argo0 == Py_None) { _arg0 = NULL; }
2297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2299 return NULL;
2300 }
2301 }
2302 _arg1 = (bool ) tempbool1;
2303 if (_argo2) {
2304 if (_argo2 == Py_None) { _arg2 = NULL; }
2305 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2306 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2307 return NULL;
2308 }
2309 }
2310{
2311 wxPy_BEGIN_ALLOW_THREADS;
2312 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2313
2314 wxPy_END_ALLOW_THREADS;
2315} Py_INCREF(Py_None);
2316 _resultobj = Py_None;
2317 return _resultobj;
2318}
2319
2320#define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2321static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2322 PyObject * _resultobj;
2323 wxPyGridCellEditor * _arg0;
2324 wxRect * _arg1;
2325 wxGridCellAttr * _arg2;
2326 PyObject * _argo0 = 0;
2327 wxRect temp;
2328 PyObject * _obj1 = 0;
2329 PyObject * _argo2 = 0;
2330 char *_kwnames[] = { "self","rectCell","attr", NULL };
2331
2332 self = self;
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2334 return NULL;
2335 if (_argo0) {
2336 if (_argo0 == Py_None) { _arg0 = NULL; }
2337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2339 return NULL;
2340 }
2341 }
2342{
2343 _arg1 = &temp;
2344 if (! wxRect_helper(_obj1, &_arg1))
2345 return NULL;
2346}
2347 if (_argo2) {
2348 if (_argo2 == Py_None) { _arg2 = NULL; }
2349 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2350 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2351 return NULL;
2352 }
2353 }
2354{
2355 wxPy_BEGIN_ALLOW_THREADS;
2356 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2357
2358 wxPy_END_ALLOW_THREADS;
2359} Py_INCREF(Py_None);
2360 _resultobj = Py_None;
2361 return _resultobj;
2362}
2363
dbbb98cd
RD
2364#define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2365static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject * _resultobj;
2367 wxPyGridCellEditor * _arg0;
2368 wxKeyEvent * _arg1;
2369 PyObject * _argo0 = 0;
2370 PyObject * _argo1 = 0;
2371 char *_kwnames[] = { "self","event", NULL };
2372
2373 self = self;
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2375 return NULL;
2376 if (_argo0) {
2377 if (_argo0 == Py_None) { _arg0 = NULL; }
2378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2380 return NULL;
2381 }
2382 }
2383 if (_argo1) {
2384 if (_argo1 == Py_None) { _arg1 = NULL; }
2385 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2386 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2387 return NULL;
2388 }
2389 }
2390{
2391 wxPy_BEGIN_ALLOW_THREADS;
2392 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2393
2394 wxPy_END_ALLOW_THREADS;
2395} Py_INCREF(Py_None);
2396 _resultobj = Py_None;
2397 return _resultobj;
2398}
2399
f6bcfd97
BP
2400#define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2401static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2402 PyObject * _resultobj;
2403 wxPyGridCellEditor * _arg0;
2404 wxKeyEvent * _arg1;
2405 PyObject * _argo0 = 0;
2406 PyObject * _argo1 = 0;
2407 char *_kwnames[] = { "self","event", NULL };
2408
2409 self = self;
2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2411 return NULL;
2412 if (_argo0) {
2413 if (_argo0 == Py_None) { _arg0 = NULL; }
2414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2416 return NULL;
2417 }
2418 }
2419 if (_argo1) {
2420 if (_argo1 == Py_None) { _arg1 = NULL; }
2421 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2422 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2423 return NULL;
2424 }
2425 }
2426{
2427 wxPy_BEGIN_ALLOW_THREADS;
2428 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2429
2430 wxPy_END_ALLOW_THREADS;
2431} Py_INCREF(Py_None);
2432 _resultobj = Py_None;
2433 return _resultobj;
2434}
2435
2436#define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2437static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2438 PyObject * _resultobj;
2439 wxPyGridCellEditor * _arg0;
2440 PyObject * _argo0 = 0;
2441 char *_kwnames[] = { "self", NULL };
2442
2443 self = self;
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2445 return NULL;
2446 if (_argo0) {
2447 if (_argo0 == Py_None) { _arg0 = NULL; }
2448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2450 return NULL;
2451 }
2452 }
2453{
2454 wxPy_BEGIN_ALLOW_THREADS;
2455 wxPyGridCellEditor_base_StartingClick(_arg0);
2456
2457 wxPy_END_ALLOW_THREADS;
2458} Py_INCREF(Py_None);
2459 _resultobj = Py_None;
2460 return _resultobj;
2461}
2462
2463#define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2464static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject * _resultobj;
2466 wxPyGridCellEditor * _arg0;
2467 wxKeyEvent * _arg1;
2468 PyObject * _argo0 = 0;
2469 PyObject * _argo1 = 0;
2470 char *_kwnames[] = { "self","event", NULL };
2471
2472 self = self;
2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2474 return NULL;
2475 if (_argo0) {
2476 if (_argo0 == Py_None) { _arg0 = NULL; }
2477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2479 return NULL;
2480 }
2481 }
2482 if (_argo1) {
2483 if (_argo1 == Py_None) { _arg1 = NULL; }
2484 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2485 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2486 return NULL;
2487 }
2488 }
2489{
2490 wxPy_BEGIN_ALLOW_THREADS;
2491 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2492
2493 wxPy_END_ALLOW_THREADS;
2494} Py_INCREF(Py_None);
2495 _resultobj = Py_None;
2496 return _resultobj;
2497}
2498
2499#define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2500static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject * _resultobj;
2502 wxPyGridCellEditor * _arg0;
2503 PyObject * _argo0 = 0;
2504 char *_kwnames[] = { "self", NULL };
2505
2506 self = self;
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2508 return NULL;
2509 if (_argo0) {
2510 if (_argo0 == Py_None) { _arg0 = NULL; }
2511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2513 return NULL;
2514 }
2515 }
2516{
2517 wxPy_BEGIN_ALLOW_THREADS;
2518 wxPyGridCellEditor_base_Destroy(_arg0);
2519
2520 wxPy_END_ALLOW_THREADS;
2521} Py_INCREF(Py_None);
2522 _resultobj = Py_None;
2523 return _resultobj;
2524}
2525
2526#define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2527static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2528 PyObject * _resultobj;
2529 wxPyGridCellEditor * _arg0;
2530 wxString * _arg1;
2531 PyObject * _argo0 = 0;
2532 PyObject * _obj1 = 0;
2533 char *_kwnames[] = { "self","params", NULL };
2534
2535 self = self;
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2537 return NULL;
2538 if (_argo0) {
2539 if (_argo0 == Py_None) { _arg0 = NULL; }
2540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2542 return NULL;
2543 }
2544 }
2545{
185d7c3e
RD
2546#if PYTHON_API_VERSION >= 1009
2547 char* tmpPtr; int tmpSize;
2548 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 2549 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2550 return NULL;
2551 }
2552 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2553 return NULL;
2554 _arg1 = new wxString(tmpPtr, tmpSize);
2555#else
f6bcfd97
BP
2556 if (!PyString_Check(_obj1)) {
2557 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2558 return NULL;
2559 }
185d7c3e
RD
2560 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2561#endif
f6bcfd97
BP
2562}
2563{
2564 wxPy_BEGIN_ALLOW_THREADS;
2565 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2566
2567 wxPy_END_ALLOW_THREADS;
2568} Py_INCREF(Py_None);
2569 _resultobj = Py_None;
2570{
2571 if (_obj1)
2572 delete _arg1;
2573}
2574 return _resultobj;
2575}
2576
2577static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2578 wxGridCellTextEditor *src;
2579 wxGridCellEditor *dest;
2580 src = (wxGridCellTextEditor *) ptr;
2581 dest = (wxGridCellEditor *) src;
2582 return (void *) dest;
2583}
2584
2585#define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2586static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2587 PyObject * _resultobj;
2588 wxGridCellTextEditor * _result;
2589 char *_kwnames[] = { NULL };
2590 char _ptemp[128];
2591
2592 self = self;
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2594 return NULL;
2595{
2596 wxPy_BEGIN_ALLOW_THREADS;
2597 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2598
2599 wxPy_END_ALLOW_THREADS;
2600} if (_result) {
2601 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2602 _resultobj = Py_BuildValue("s",_ptemp);
2603 } else {
2604 Py_INCREF(Py_None);
2605 _resultobj = Py_None;
2606 }
2607 return _resultobj;
2608}
2609
2610static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2611 wxGridCellNumberEditor *src;
2612 wxGridCellTextEditor *dest;
2613 src = (wxGridCellNumberEditor *) ptr;
2614 dest = (wxGridCellTextEditor *) src;
2615 return (void *) dest;
2616}
2617
2618static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2619 wxGridCellNumberEditor *src;
2620 wxGridCellEditor *dest;
2621 src = (wxGridCellNumberEditor *) ptr;
2622 dest = (wxGridCellEditor *) src;
2623 return (void *) dest;
2624}
2625
2626#define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2627static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2628 PyObject * _resultobj;
2629 wxGridCellNumberEditor * _result;
2630 int _arg0 = (int ) -1;
2631 int _arg1 = (int ) -1;
2632 char *_kwnames[] = { "min","max", NULL };
2633 char _ptemp[128];
2634
2635 self = self;
2636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2637 return NULL;
2638{
2639 wxPy_BEGIN_ALLOW_THREADS;
2640 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2641
2642 wxPy_END_ALLOW_THREADS;
2643} if (_result) {
2644 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2645 _resultobj = Py_BuildValue("s",_ptemp);
2646 } else {
2647 Py_INCREF(Py_None);
2648 _resultobj = Py_None;
2649 }
2650 return _resultobj;
2651}
2652
2653static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2654 wxGridCellFloatEditor *src;
2655 wxGridCellTextEditor *dest;
2656 src = (wxGridCellFloatEditor *) ptr;
2657 dest = (wxGridCellTextEditor *) src;
2658 return (void *) dest;
2659}
2660
2661static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2662 wxGridCellFloatEditor *src;
2663 wxGridCellEditor *dest;
2664 src = (wxGridCellFloatEditor *) ptr;
2665 dest = (wxGridCellEditor *) src;
2666 return (void *) dest;
2667}
2668
2669#define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2670static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2671 PyObject * _resultobj;
2672 wxGridCellFloatEditor * _result;
2673 char *_kwnames[] = { NULL };
2674 char _ptemp[128];
2675
2676 self = self;
2677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2678 return NULL;
2679{
2680 wxPy_BEGIN_ALLOW_THREADS;
2681 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2682
2683 wxPy_END_ALLOW_THREADS;
2684} if (_result) {
2685 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2686 _resultobj = Py_BuildValue("s",_ptemp);
2687 } else {
2688 Py_INCREF(Py_None);
2689 _resultobj = Py_None;
2690 }
2691 return _resultobj;
2692}
2693
2694static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2695 wxGridCellBoolEditor *src;
2696 wxGridCellEditor *dest;
2697 src = (wxGridCellBoolEditor *) ptr;
2698 dest = (wxGridCellEditor *) src;
2699 return (void *) dest;
2700}
2701
2702#define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2703static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2704 PyObject * _resultobj;
2705 wxGridCellBoolEditor * _result;
2706 char *_kwnames[] = { NULL };
2707 char _ptemp[128];
2708
2709 self = self;
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2711 return NULL;
2712{
2713 wxPy_BEGIN_ALLOW_THREADS;
2714 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2715
2716 wxPy_END_ALLOW_THREADS;
2717} if (_result) {
2718 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2719 _resultobj = Py_BuildValue("s",_ptemp);
2720 } else {
2721 Py_INCREF(Py_None);
2722 _resultobj = Py_None;
2723 }
2724 return _resultobj;
2725}
2726
2727static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2728 wxGridCellChoiceEditor *src;
2729 wxGridCellEditor *dest;
2730 src = (wxGridCellChoiceEditor *) ptr;
2731 dest = (wxGridCellEditor *) src;
2732 return (void *) dest;
2733}
2734
2735#define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2736static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2737 PyObject * _resultobj;
2738 wxGridCellChoiceEditor * _result;
2739 int _arg0 = (int ) 0;
2740 wxString * _arg1 = (wxString *) NULL;
2741 bool _arg2 = (bool ) FALSE;
2742 PyObject * _obj1 = 0;
2743 int tempbool2 = (int) FALSE;
2744 char *_kwnames[] = { "choices","allowOthers", NULL };
2745 char _ptemp[128];
2746
2747 self = self;
2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2749 return NULL;
2750 if (_obj1)
2751{
2752 _arg1 = wxString_LIST_helper(_obj1);
2753 if (_arg1 == NULL) {
2754 return NULL;
2755 }
2756}
2757 _arg2 = (bool ) tempbool2;
2758{
2759 if (_obj1) {
2760 _arg0 = PyList_Size(_obj1);
2761 }
2762 else {
2763 _arg0 = 0;
2764 }
2765}
2766{
2767 wxPy_BEGIN_ALLOW_THREADS;
2768 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2769
2770 wxPy_END_ALLOW_THREADS;
2771} if (_result) {
2772 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2773 _resultobj = Py_BuildValue("s",_ptemp);
2774 } else {
2775 Py_INCREF(Py_None);
2776 _resultobj = Py_None;
2777 }
2778{
2779 delete [] _arg1;
2780}
2781 return _resultobj;
2782}
2783
2784#define new_wxGridCellAttr() (new wxGridCellAttr())
2785static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2786 PyObject * _resultobj;
2787 wxGridCellAttr * _result;
2788 char *_kwnames[] = { NULL };
2789 char _ptemp[128];
2790
2791 self = self;
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttr",_kwnames))
2793 return NULL;
2794{
2795 wxPy_BEGIN_ALLOW_THREADS;
2796 _result = (wxGridCellAttr *)new_wxGridCellAttr();
2797
2798 wxPy_END_ALLOW_THREADS;
2799} if (_result) {
2800 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2801 _resultobj = Py_BuildValue("s",_ptemp);
2802 } else {
2803 Py_INCREF(Py_None);
2804 _resultobj = Py_None;
2805 }
2806 return _resultobj;
2807}
2808
2809#define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2810static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject * _resultobj;
2812 wxGridCellAttr * _result;
2813 wxGridCellAttr * _arg0;
2814 PyObject * _argo0 = 0;
2815 char *_kwnames[] = { "self", NULL };
2816 char _ptemp[128];
2817
2818 self = self;
2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
2820 return NULL;
2821 if (_argo0) {
2822 if (_argo0 == Py_None) { _arg0 = NULL; }
2823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2825 return NULL;
2826 }
2827 }
2828{
2829 wxPy_BEGIN_ALLOW_THREADS;
2830 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
2831
2832 wxPy_END_ALLOW_THREADS;
2833} if (_result) {
2834 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2835 _resultobj = Py_BuildValue("s",_ptemp);
2836 } else {
2837 Py_INCREF(Py_None);
2838 _resultobj = Py_None;
2839 }
2840 return _resultobj;
2841}
2842
9416aa89
RD
2843#define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
2844static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
2845 PyObject * _resultobj;
2846 wxGridCellAttr * _arg0;
2847 wxGridCellAttr * _arg1;
2848 PyObject * _argo0 = 0;
2849 PyObject * _argo1 = 0;
2850 char *_kwnames[] = { "self","mergefrom", NULL };
2851
2852 self = self;
2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
2854 return NULL;
2855 if (_argo0) {
2856 if (_argo0 == Py_None) { _arg0 = NULL; }
2857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
2859 return NULL;
2860 }
2861 }
2862 if (_argo1) {
2863 if (_argo1 == Py_None) { _arg1 = NULL; }
2864 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
2865 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
2866 return NULL;
2867 }
2868 }
2869{
2870 wxPy_BEGIN_ALLOW_THREADS;
2871 wxGridCellAttr_MergeWith(_arg0,_arg1);
2872
2873 wxPy_END_ALLOW_THREADS;
2874} Py_INCREF(Py_None);
2875 _resultobj = Py_None;
2876 return _resultobj;
2877}
2878
f6bcfd97
BP
2879#define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2880static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2881 PyObject * _resultobj;
2882 wxGridCellAttr * _arg0;
2883 PyObject * _argo0 = 0;
2884 char *_kwnames[] = { "self", NULL };
2885
2886 self = self;
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
2888 return NULL;
2889 if (_argo0) {
2890 if (_argo0 == Py_None) { _arg0 = NULL; }
2891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2893 return NULL;
2894 }
2895 }
2896{
2897 wxPy_BEGIN_ALLOW_THREADS;
2898 wxGridCellAttr_IncRef(_arg0);
2899
2900 wxPy_END_ALLOW_THREADS;
2901} Py_INCREF(Py_None);
2902 _resultobj = Py_None;
2903 return _resultobj;
2904}
2905
2906#define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2907static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject * _resultobj;
2909 wxGridCellAttr * _arg0;
2910 PyObject * _argo0 = 0;
2911 char *_kwnames[] = { "self", NULL };
2912
2913 self = self;
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
2915 return NULL;
2916 if (_argo0) {
2917 if (_argo0 == Py_None) { _arg0 = NULL; }
2918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2920 return NULL;
2921 }
2922 }
2923{
2924 wxPy_BEGIN_ALLOW_THREADS;
2925 wxGridCellAttr_DecRef(_arg0);
2926
2927 wxPy_END_ALLOW_THREADS;
2928} Py_INCREF(Py_None);
2929 _resultobj = Py_None;
2930 return _resultobj;
2931}
2932
2933#define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2934static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject * _resultobj;
2936 wxGridCellAttr * _arg0;
2937 wxColour * _arg1;
2938 PyObject * _argo0 = 0;
2939 wxColour temp;
2940 PyObject * _obj1 = 0;
2941 char *_kwnames[] = { "self","colText", NULL };
2942
2943 self = self;
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
2945 return NULL;
2946 if (_argo0) {
2947 if (_argo0 == Py_None) { _arg0 = NULL; }
2948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2950 return NULL;
2951 }
2952 }
2953{
2954 _arg1 = &temp;
2955 if (! wxColour_helper(_obj1, &_arg1))
2956 return NULL;
2957}
2958{
2959 wxPy_BEGIN_ALLOW_THREADS;
2960 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
2961
2962 wxPy_END_ALLOW_THREADS;
2963} Py_INCREF(Py_None);
2964 _resultobj = Py_None;
2965 return _resultobj;
2966}
2967
2968#define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2969static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2970 PyObject * _resultobj;
2971 wxGridCellAttr * _arg0;
2972 wxColour * _arg1;
2973 PyObject * _argo0 = 0;
2974 wxColour temp;
2975 PyObject * _obj1 = 0;
2976 char *_kwnames[] = { "self","colBack", NULL };
2977
2978 self = self;
2979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
2980 return NULL;
2981 if (_argo0) {
2982 if (_argo0 == Py_None) { _arg0 = NULL; }
2983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2985 return NULL;
2986 }
2987 }
2988{
2989 _arg1 = &temp;
2990 if (! wxColour_helper(_obj1, &_arg1))
2991 return NULL;
2992}
2993{
2994 wxPy_BEGIN_ALLOW_THREADS;
2995 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
2996
2997 wxPy_END_ALLOW_THREADS;
2998} Py_INCREF(Py_None);
2999 _resultobj = Py_None;
3000 return _resultobj;
3001}
3002
3003#define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3004static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3005 PyObject * _resultobj;
3006 wxGridCellAttr * _arg0;
3007 wxFont * _arg1;
3008 PyObject * _argo0 = 0;
3009 PyObject * _argo1 = 0;
3010 char *_kwnames[] = { "self","font", NULL };
3011
3012 self = self;
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3014 return NULL;
3015 if (_argo0) {
3016 if (_argo0 == Py_None) { _arg0 = NULL; }
3017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3019 return NULL;
3020 }
3021 }
3022 if (_argo1) {
3023 if (_argo1 == Py_None) { _arg1 = NULL; }
3024 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3025 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3026 return NULL;
3027 }
3028 }
3029{
3030 wxPy_BEGIN_ALLOW_THREADS;
3031 wxGridCellAttr_SetFont(_arg0,*_arg1);
3032
3033 wxPy_END_ALLOW_THREADS;
3034} Py_INCREF(Py_None);
3035 _resultobj = Py_None;
3036 return _resultobj;
3037}
3038
3039#define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3040static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3041 PyObject * _resultobj;
3042 wxGridCellAttr * _arg0;
3043 int _arg1;
3044 int _arg2;
3045 PyObject * _argo0 = 0;
3046 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3047
3048 self = self;
3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3050 return NULL;
3051 if (_argo0) {
3052 if (_argo0 == Py_None) { _arg0 = NULL; }
3053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3055 return NULL;
3056 }
3057 }
3058{
3059 wxPy_BEGIN_ALLOW_THREADS;
3060 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3061
3062 wxPy_END_ALLOW_THREADS;
3063} Py_INCREF(Py_None);
3064 _resultobj = Py_None;
3065 return _resultobj;
3066}
3067
3068#define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3069static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3070 PyObject * _resultobj;
3071 wxGridCellAttr * _arg0;
3072 bool _arg1 = (bool ) TRUE;
3073 PyObject * _argo0 = 0;
3074 int tempbool1 = (int) TRUE;
3075 char *_kwnames[] = { "self","isReadOnly", NULL };
3076
3077 self = self;
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3079 return NULL;
3080 if (_argo0) {
3081 if (_argo0 == Py_None) { _arg0 = NULL; }
3082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3084 return NULL;
3085 }
3086 }
3087 _arg1 = (bool ) tempbool1;
3088{
3089 wxPy_BEGIN_ALLOW_THREADS;
3090 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3091
3092 wxPy_END_ALLOW_THREADS;
3093} Py_INCREF(Py_None);
3094 _resultobj = Py_None;
3095 return _resultobj;
3096}
3097
3098#define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3099static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3100 PyObject * _resultobj;
3101 wxGridCellAttr * _arg0;
3102 wxGridCellRenderer * _arg1;
3103 PyObject * _argo0 = 0;
3104 PyObject * _argo1 = 0;
3105 char *_kwnames[] = { "self","renderer", NULL };
3106
3107 self = self;
3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3109 return NULL;
3110 if (_argo0) {
3111 if (_argo0 == Py_None) { _arg0 = NULL; }
3112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3114 return NULL;
3115 }
3116 }
3117 if (_argo1) {
3118 if (_argo1 == Py_None) { _arg1 = NULL; }
3119 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3120 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3121 return NULL;
3122 }
3123 }
3124{
3125 wxPy_BEGIN_ALLOW_THREADS;
3126 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3127
3128 wxPy_END_ALLOW_THREADS;
3129} Py_INCREF(Py_None);
3130 _resultobj = Py_None;
3131 return _resultobj;
3132}
3133
3134#define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3135static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3136 PyObject * _resultobj;
3137 wxGridCellAttr * _arg0;
3138 wxGridCellEditor * _arg1;
3139 PyObject * _argo0 = 0;
3140 PyObject * _argo1 = 0;
3141 char *_kwnames[] = { "self","editor", NULL };
3142
3143 self = self;
3144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3145 return NULL;
3146 if (_argo0) {
3147 if (_argo0 == Py_None) { _arg0 = NULL; }
3148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3150 return NULL;
3151 }
3152 }
3153 if (_argo1) {
3154 if (_argo1 == Py_None) { _arg1 = NULL; }
3155 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3157 return NULL;
3158 }
3159 }
3160{
3161 wxPy_BEGIN_ALLOW_THREADS;
3162 wxGridCellAttr_SetEditor(_arg0,_arg1);
3163
3164 wxPy_END_ALLOW_THREADS;
3165} Py_INCREF(Py_None);
3166 _resultobj = Py_None;
3167 return _resultobj;
3168}
3169
9416aa89
RD
3170#define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3171static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3172 PyObject * _resultobj;
3173 wxGridCellAttr * _arg0;
3174 wxGridCellAttr::wxAttrKind _arg1;
3175 PyObject * _argo0 = 0;
3176 char *_kwnames[] = { "self","kind", NULL };
3177
3178 self = self;
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3180 return NULL;
3181 if (_argo0) {
3182 if (_argo0 == Py_None) { _arg0 = NULL; }
3183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3185 return NULL;
3186 }
3187 }
3188{
3189 wxPy_BEGIN_ALLOW_THREADS;
3190 wxGridCellAttr_SetKind(_arg0,_arg1);
3191
3192 wxPy_END_ALLOW_THREADS;
3193} Py_INCREF(Py_None);
3194 _resultobj = Py_None;
3195 return _resultobj;
3196}
3197
f6bcfd97
BP
3198#define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3199static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject * _resultobj;
3201 bool _result;
3202 wxGridCellAttr * _arg0;
3203 PyObject * _argo0 = 0;
3204 char *_kwnames[] = { "self", NULL };
3205
3206 self = self;
3207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3208 return NULL;
3209 if (_argo0) {
3210 if (_argo0 == Py_None) { _arg0 = NULL; }
3211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3213 return NULL;
3214 }
3215 }
3216{
3217 wxPy_BEGIN_ALLOW_THREADS;
3218 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3219
3220 wxPy_END_ALLOW_THREADS;
3221} _resultobj = Py_BuildValue("i",_result);
3222 return _resultobj;
3223}
3224
3225#define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3226static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3227 PyObject * _resultobj;
3228 bool _result;
3229 wxGridCellAttr * _arg0;
3230 PyObject * _argo0 = 0;
3231 char *_kwnames[] = { "self", NULL };
3232
3233 self = self;
3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3235 return NULL;
3236 if (_argo0) {
3237 if (_argo0 == Py_None) { _arg0 = NULL; }
3238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3240 return NULL;
3241 }
3242 }
3243{
3244 wxPy_BEGIN_ALLOW_THREADS;
3245 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3246
3247 wxPy_END_ALLOW_THREADS;
3248} _resultobj = Py_BuildValue("i",_result);
3249 return _resultobj;
3250}
3251
3252#define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3253static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3254 PyObject * _resultobj;
3255 bool _result;
3256 wxGridCellAttr * _arg0;
3257 PyObject * _argo0 = 0;
3258 char *_kwnames[] = { "self", NULL };
3259
3260 self = self;
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3262 return NULL;
3263 if (_argo0) {
3264 if (_argo0 == Py_None) { _arg0 = NULL; }
3265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3267 return NULL;
3268 }
3269 }
3270{
3271 wxPy_BEGIN_ALLOW_THREADS;
3272 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3273
3274 wxPy_END_ALLOW_THREADS;
3275} _resultobj = Py_BuildValue("i",_result);
3276 return _resultobj;
3277}
3278
3279#define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3280static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3281 PyObject * _resultobj;
3282 bool _result;
3283 wxGridCellAttr * _arg0;
3284 PyObject * _argo0 = 0;
3285 char *_kwnames[] = { "self", NULL };
3286
3287 self = self;
3288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3289 return NULL;
3290 if (_argo0) {
3291 if (_argo0 == Py_None) { _arg0 = NULL; }
3292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3294 return NULL;
3295 }
3296 }
3297{
3298 wxPy_BEGIN_ALLOW_THREADS;
3299 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3300
3301 wxPy_END_ALLOW_THREADS;
3302} _resultobj = Py_BuildValue("i",_result);
3303 return _resultobj;
3304}
3305
3306#define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3307static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3308 PyObject * _resultobj;
3309 bool _result;
3310 wxGridCellAttr * _arg0;
3311 PyObject * _argo0 = 0;
3312 char *_kwnames[] = { "self", NULL };
3313
3314 self = self;
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3316 return NULL;
3317 if (_argo0) {
3318 if (_argo0 == Py_None) { _arg0 = NULL; }
3319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3321 return NULL;
3322 }
3323 }
3324{
3325 wxPy_BEGIN_ALLOW_THREADS;
3326 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3327
3328 wxPy_END_ALLOW_THREADS;
3329} _resultobj = Py_BuildValue("i",_result);
3330 return _resultobj;
3331}
3332
3333#define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3334static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3335 PyObject * _resultobj;
3336 bool _result;
3337 wxGridCellAttr * _arg0;
3338 PyObject * _argo0 = 0;
3339 char *_kwnames[] = { "self", NULL };
3340
3341 self = self;
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3343 return NULL;
3344 if (_argo0) {
3345 if (_argo0 == Py_None) { _arg0 = NULL; }
3346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3348 return NULL;
3349 }
3350 }
3351{
3352 wxPy_BEGIN_ALLOW_THREADS;
3353 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3354
3355 wxPy_END_ALLOW_THREADS;
3356} _resultobj = Py_BuildValue("i",_result);
3357 return _resultobj;
3358}
3359
9416aa89
RD
3360#define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3361static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3362 PyObject * _resultobj;
3363 bool _result;
3364 wxGridCellAttr * _arg0;
3365 PyObject * _argo0 = 0;
3366 char *_kwnames[] = { "self", NULL };
3367
3368 self = self;
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3370 return NULL;
3371 if (_argo0) {
3372 if (_argo0 == Py_None) { _arg0 = NULL; }
3373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3375 return NULL;
3376 }
3377 }
3378{
3379 wxPy_BEGIN_ALLOW_THREADS;
3380 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
3381
3382 wxPy_END_ALLOW_THREADS;
3383} _resultobj = Py_BuildValue("i",_result);
3384 return _resultobj;
3385}
3386
f6bcfd97
BP
3387#define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3388static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3389 PyObject * _resultobj;
3390 wxColour * _result;
3391 wxGridCellAttr * _arg0;
3392 PyObject * _argo0 = 0;
3393 char *_kwnames[] = { "self", NULL };
3394 char _ptemp[128];
3395
3396 self = self;
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3398 return NULL;
3399 if (_argo0) {
3400 if (_argo0 == Py_None) { _arg0 = NULL; }
3401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3403 return NULL;
3404 }
3405 }
3406{
3407 wxPy_BEGIN_ALLOW_THREADS;
3408 const wxColour & _result_ref = wxGridCellAttr_GetTextColour(_arg0);
3409 _result = (wxColour *) &_result_ref;
3410
3411 wxPy_END_ALLOW_THREADS;
3412} if (_result) {
3413 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3414 _resultobj = Py_BuildValue("s",_ptemp);
3415 } else {
3416 Py_INCREF(Py_None);
3417 _resultobj = Py_None;
3418 }
3419 return _resultobj;
3420}
3421
3422#define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3423static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3424 PyObject * _resultobj;
3425 wxColour * _result;
3426 wxGridCellAttr * _arg0;
3427 PyObject * _argo0 = 0;
3428 char *_kwnames[] = { "self", NULL };
3429 char _ptemp[128];
3430
3431 self = self;
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3433 return NULL;
3434 if (_argo0) {
3435 if (_argo0 == Py_None) { _arg0 = NULL; }
3436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3438 return NULL;
3439 }
3440 }
3441{
3442 wxPy_BEGIN_ALLOW_THREADS;
3443 const wxColour & _result_ref = wxGridCellAttr_GetBackgroundColour(_arg0);
3444 _result = (wxColour *) &_result_ref;
3445
3446 wxPy_END_ALLOW_THREADS;
3447} if (_result) {
3448 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3449 _resultobj = Py_BuildValue("s",_ptemp);
3450 } else {
3451 Py_INCREF(Py_None);
3452 _resultobj = Py_None;
3453 }
3454 return _resultobj;
3455}
3456
3457#define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3458static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3459 PyObject * _resultobj;
3460 wxFont * _result;
3461 wxGridCellAttr * _arg0;
3462 PyObject * _argo0 = 0;
3463 char *_kwnames[] = { "self", NULL };
3464 char _ptemp[128];
3465
3466 self = self;
3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3468 return NULL;
3469 if (_argo0) {
3470 if (_argo0 == Py_None) { _arg0 = NULL; }
3471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3473 return NULL;
3474 }
3475 }
3476{
3477 wxPy_BEGIN_ALLOW_THREADS;
3478 const wxFont & _result_ref = wxGridCellAttr_GetFont(_arg0);
3479 _result = (wxFont *) &_result_ref;
3480
3481 wxPy_END_ALLOW_THREADS;
3482} if (_result) {
3483 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3484 _resultobj = Py_BuildValue("s",_ptemp);
3485 } else {
3486 Py_INCREF(Py_None);
3487 _resultobj = Py_None;
3488 }
3489 return _resultobj;
3490}
3491
3492#define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3493static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3494 PyObject * _resultobj;
3495 wxGridCellAttr * _arg0;
3496 int * _arg1;
3497 int temp;
3498 int * _arg2;
3499 int temp0;
3500 PyObject * _argo0 = 0;
3501 char *_kwnames[] = { "self", NULL };
3502
3503 self = self;
3504{
3505 _arg1 = &temp;
3506}
3507{
3508 _arg2 = &temp0;
3509}
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3511 return NULL;
3512 if (_argo0) {
3513 if (_argo0 == Py_None) { _arg0 = NULL; }
3514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3516 return NULL;
3517 }
3518 }
3519{
3520 wxPy_BEGIN_ALLOW_THREADS;
3521 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3522
3523 wxPy_END_ALLOW_THREADS;
3524} Py_INCREF(Py_None);
3525 _resultobj = Py_None;
3526{
3527 PyObject *o;
3528 o = PyInt_FromLong((long) (*_arg1));
3529 _resultobj = t_output_helper(_resultobj, o);
3530}
3531{
3532 PyObject *o;
3533 o = PyInt_FromLong((long) (*_arg2));
3534 _resultobj = t_output_helper(_resultobj, o);
3535}
3536 return _resultobj;
3537}
3538
3539#define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3540static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3541 PyObject * _resultobj;
3542 wxGridCellRenderer * _result;
3543 wxGridCellAttr * _arg0;
3544 wxGrid * _arg1;
3545 int _arg2;
3546 int _arg3;
3547 PyObject * _argo0 = 0;
3548 PyObject * _argo1 = 0;
3549 char *_kwnames[] = { "self","grid","row","col", NULL };
3550 char _ptemp[128];
3551
3552 self = self;
3553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3554 return NULL;
3555 if (_argo0) {
3556 if (_argo0 == Py_None) { _arg0 = NULL; }
3557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3559 return NULL;
3560 }
3561 }
3562 if (_argo1) {
3563 if (_argo1 == Py_None) { _arg1 = NULL; }
3564 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3565 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3566 return NULL;
3567 }
3568 }
3569{
3570 wxPy_BEGIN_ALLOW_THREADS;
3571 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3572
3573 wxPy_END_ALLOW_THREADS;
3574} if (_result) {
3575 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3576 _resultobj = Py_BuildValue("s",_ptemp);
3577 } else {
3578 Py_INCREF(Py_None);
3579 _resultobj = Py_None;
3580 }
3581 return _resultobj;
3582}
3583
3584#define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3585static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3586 PyObject * _resultobj;
3587 wxGridCellEditor * _result;
3588 wxGridCellAttr * _arg0;
3589 wxGrid * _arg1;
3590 int _arg2;
3591 int _arg3;
3592 PyObject * _argo0 = 0;
3593 PyObject * _argo1 = 0;
3594 char *_kwnames[] = { "self","grid","row","col", NULL };
3595 char _ptemp[128];
3596
3597 self = self;
3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
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_GetEditor. Expected _wxGridCellAttr_p.");
3604 return NULL;
3605 }
3606 }
3607 if (_argo1) {
3608 if (_argo1 == Py_None) { _arg1 = NULL; }
3609 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3610 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3611 return NULL;
3612 }
3613 }
3614{
3615 wxPy_BEGIN_ALLOW_THREADS;
3616 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3617
3618 wxPy_END_ALLOW_THREADS;
3619} if (_result) {
3620 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3621 _resultobj = Py_BuildValue("s",_ptemp);
3622 } else {
3623 Py_INCREF(Py_None);
3624 _resultobj = Py_None;
3625 }
3626 return _resultobj;
3627}
3628
3629#define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3630static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3631 PyObject * _resultobj;
3632 bool _result;
3633 wxGridCellAttr * _arg0;
3634 PyObject * _argo0 = 0;
3635 char *_kwnames[] = { "self", NULL };
3636
3637 self = self;
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3639 return NULL;
3640 if (_argo0) {
3641 if (_argo0 == Py_None) { _arg0 = NULL; }
3642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3644 return NULL;
3645 }
3646 }
3647{
3648 wxPy_BEGIN_ALLOW_THREADS;
3649 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3650
3651 wxPy_END_ALLOW_THREADS;
3652} _resultobj = Py_BuildValue("i",_result);
3653 return _resultobj;
3654}
3655
3656#define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3657static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3658 PyObject * _resultobj;
3659 wxGridCellAttr * _arg0;
3660 wxGridCellAttr * _arg1;
3661 PyObject * _argo0 = 0;
3662 PyObject * _argo1 = 0;
3663 char *_kwnames[] = { "self","defAttr", NULL };
3664
3665 self = self;
3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3667 return NULL;
3668 if (_argo0) {
3669 if (_argo0 == Py_None) { _arg0 = NULL; }
3670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3672 return NULL;
3673 }
3674 }
3675 if (_argo1) {
3676 if (_argo1 == Py_None) { _arg1 = NULL; }
3677 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3678 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3679 return NULL;
3680 }
3681 }
3682{
3683 wxPy_BEGIN_ALLOW_THREADS;
3684 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3685
3686 wxPy_END_ALLOW_THREADS;
3687} Py_INCREF(Py_None);
3688 _resultobj = Py_None;
3689 return _resultobj;
3690}
3691
3692#define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3693static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject * _resultobj;
3695 wxGridCellAttrProvider * _result;
3696 char *_kwnames[] = { NULL };
3697 char _ptemp[128];
3698
3699 self = self;
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3701 return NULL;
3702{
3703 wxPy_BEGIN_ALLOW_THREADS;
3704 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3705
3706 wxPy_END_ALLOW_THREADS;
3707} if (_result) {
3708 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3709 _resultobj = Py_BuildValue("s",_ptemp);
3710 } else {
3711 Py_INCREF(Py_None);
3712 _resultobj = Py_None;
3713 }
3714 return _resultobj;
3715}
3716
9416aa89 3717#define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
3718static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3719 PyObject * _resultobj;
3720 wxGridCellAttr * _result;
3721 wxGridCellAttrProvider * _arg0;
3722 int _arg1;
3723 int _arg2;
9416aa89 3724 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 3725 PyObject * _argo0 = 0;
9416aa89 3726 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
3727 char _ptemp[128];
3728
3729 self = self;
9416aa89 3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
3731 return NULL;
3732 if (_argo0) {
3733 if (_argo0 == Py_None) { _arg0 = NULL; }
3734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3736 return NULL;
3737 }
3738 }
3739{
3740 wxPy_BEGIN_ALLOW_THREADS;
9416aa89 3741 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97
BP
3742
3743 wxPy_END_ALLOW_THREADS;
3744} if (_result) {
3745 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3746 _resultobj = Py_BuildValue("s",_ptemp);
3747 } else {
3748 Py_INCREF(Py_None);
3749 _resultobj = Py_None;
3750 }
3751 return _resultobj;
3752}
3753
3754#define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3755static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3756 PyObject * _resultobj;
3757 wxGridCellAttrProvider * _arg0;
3758 wxGridCellAttr * _arg1;
3759 int _arg2;
3760 int _arg3;
3761 PyObject * _argo0 = 0;
3762 PyObject * _argo1 = 0;
3763 char *_kwnames[] = { "self","attr","row","col", NULL };
3764
3765 self = self;
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3767 return NULL;
3768 if (_argo0) {
3769 if (_argo0 == Py_None) { _arg0 = NULL; }
3770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3772 return NULL;
3773 }
3774 }
3775 if (_argo1) {
3776 if (_argo1 == Py_None) { _arg1 = NULL; }
3777 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3778 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3779 return NULL;
3780 }
3781 }
3782{
3783 wxPy_BEGIN_ALLOW_THREADS;
3784 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
3785
3786 wxPy_END_ALLOW_THREADS;
3787} Py_INCREF(Py_None);
3788 _resultobj = Py_None;
3789 return _resultobj;
3790}
3791
3792#define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3793static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3794 PyObject * _resultobj;
3795 wxGridCellAttrProvider * _arg0;
3796 wxGridCellAttr * _arg1;
3797 int _arg2;
3798 PyObject * _argo0 = 0;
3799 PyObject * _argo1 = 0;
3800 char *_kwnames[] = { "self","attr","row", NULL };
3801
3802 self = self;
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3804 return NULL;
3805 if (_argo0) {
3806 if (_argo0 == Py_None) { _arg0 = NULL; }
3807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3809 return NULL;
3810 }
3811 }
3812 if (_argo1) {
3813 if (_argo1 == Py_None) { _arg1 = NULL; }
3814 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3815 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3816 return NULL;
3817 }
3818 }
3819{
3820 wxPy_BEGIN_ALLOW_THREADS;
3821 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
3822
3823 wxPy_END_ALLOW_THREADS;
3824} Py_INCREF(Py_None);
3825 _resultobj = Py_None;
3826 return _resultobj;
3827}
3828
3829#define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3830static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3831 PyObject * _resultobj;
3832 wxGridCellAttrProvider * _arg0;
3833 wxGridCellAttr * _arg1;
3834 int _arg2;
3835 PyObject * _argo0 = 0;
3836 PyObject * _argo1 = 0;
3837 char *_kwnames[] = { "self","attr","col", NULL };
3838
3839 self = self;
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3841 return NULL;
3842 if (_argo0) {
3843 if (_argo0 == Py_None) { _arg0 = NULL; }
3844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3846 return NULL;
3847 }
3848 }
3849 if (_argo1) {
3850 if (_argo1 == Py_None) { _arg1 = NULL; }
3851 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3852 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3853 return NULL;
3854 }
3855 }
3856{
3857 wxPy_BEGIN_ALLOW_THREADS;
3858 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
3859
3860 wxPy_END_ALLOW_THREADS;
3861} Py_INCREF(Py_None);
3862 _resultobj = Py_None;
3863 return _resultobj;
3864}
3865
3866#define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3867static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject * _resultobj;
3869 wxGridCellAttrProvider * _arg0;
3870 size_t _arg1;
3871 int _arg2;
3872 PyObject * _argo0 = 0;
3873 char *_kwnames[] = { "self","pos","numRows", NULL };
3874
3875 self = self;
3876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
3877 return NULL;
3878 if (_argo0) {
3879 if (_argo0 == Py_None) { _arg0 = NULL; }
3880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3882 return NULL;
3883 }
3884 }
3885{
3886 wxPy_BEGIN_ALLOW_THREADS;
3887 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
3888
3889 wxPy_END_ALLOW_THREADS;
3890} Py_INCREF(Py_None);
3891 _resultobj = Py_None;
3892 return _resultobj;
3893}
3894
3895#define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3896static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3897 PyObject * _resultobj;
3898 wxGridCellAttrProvider * _arg0;
3899 size_t _arg1;
3900 int _arg2;
3901 PyObject * _argo0 = 0;
3902 char *_kwnames[] = { "self","pos","numCols", NULL };
3903
3904 self = self;
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
3906 return NULL;
3907 if (_argo0) {
3908 if (_argo0 == Py_None) { _arg0 = NULL; }
3909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3911 return NULL;
3912 }
3913 }
3914{
3915 wxPy_BEGIN_ALLOW_THREADS;
3916 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
3917
3918 wxPy_END_ALLOW_THREADS;
3919} Py_INCREF(Py_None);
3920 _resultobj = Py_None;
3921 return _resultobj;
3922}
3923
3924static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
3925 wxPyGridCellAttrProvider *src;
3926 wxGridCellAttrProvider *dest;
3927 src = (wxPyGridCellAttrProvider *) ptr;
3928 dest = (wxGridCellAttrProvider *) src;
3929 return (void *) dest;
3930}
3931
3932#define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3933static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3934 PyObject * _resultobj;
3935 wxPyGridCellAttrProvider * _result;
3936 char *_kwnames[] = { NULL };
3937 char _ptemp[128];
3938
3939 self = self;
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
3941 return NULL;
3942{
3943 wxPy_BEGIN_ALLOW_THREADS;
3944 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
3945
3946 wxPy_END_ALLOW_THREADS;
3947} if (_result) {
3948 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
3949 _resultobj = Py_BuildValue("s",_ptemp);
3950 } else {
3951 Py_INCREF(Py_None);
3952 _resultobj = Py_None;
3953 }
3954 return _resultobj;
3955}
3956
3957#define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3958static PyObject *_wrap_wxPyGridCellAttrProvider__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject * _resultobj;
3960 wxPyGridCellAttrProvider * _arg0;
3961 PyObject * _arg1;
3962 PyObject * _arg2;
3963 PyObject * _argo0 = 0;
3964 PyObject * _obj1 = 0;
3965 PyObject * _obj2 = 0;
3966 char *_kwnames[] = { "self","self","_class", NULL };
3967
3968 self = self;
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
3970 return NULL;
3971 if (_argo0) {
3972 if (_argo0 == Py_None) { _arg0 = NULL; }
3973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3975 return NULL;
3976 }
3977 }
3978{
3979 _arg1 = _obj1;
3980}
3981{
3982 _arg2 = _obj2;
3983}
3984{
3985 wxPy_BEGIN_ALLOW_THREADS;
3986 wxPyGridCellAttrProvider__setSelf(_arg0,_arg1,_arg2);
3987
3988 wxPy_END_ALLOW_THREADS;
3989} Py_INCREF(Py_None);
3990 _resultobj = Py_None;
3991 return _resultobj;
3992}
3993
9416aa89 3994#define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
3995static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3996 PyObject * _resultobj;
3997 wxGridCellAttr * _result;
3998 wxPyGridCellAttrProvider * _arg0;
3999 int _arg1;
4000 int _arg2;
9416aa89 4001 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 4002 PyObject * _argo0 = 0;
9416aa89 4003 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
4004 char _ptemp[128];
4005
4006 self = self;
9416aa89 4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
4008 return NULL;
4009 if (_argo0) {
4010 if (_argo0 == Py_None) { _arg0 = NULL; }
4011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4013 return NULL;
4014 }
4015 }
4016{
4017 wxPy_BEGIN_ALLOW_THREADS;
9416aa89 4018 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97
BP
4019
4020 wxPy_END_ALLOW_THREADS;
4021} if (_result) {
4022 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4023 _resultobj = Py_BuildValue("s",_ptemp);
4024 } else {
4025 Py_INCREF(Py_None);
4026 _resultobj = Py_None;
4027 }
4028 return _resultobj;
4029}
4030
4031#define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4032static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4033 PyObject * _resultobj;
4034 wxPyGridCellAttrProvider * _arg0;
4035 wxGridCellAttr * _arg1;
4036 int _arg2;
4037 int _arg3;
4038 PyObject * _argo0 = 0;
4039 PyObject * _argo1 = 0;
4040 char *_kwnames[] = { "self","attr","row","col", NULL };
4041
4042 self = self;
4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4044 return NULL;
4045 if (_argo0) {
4046 if (_argo0 == Py_None) { _arg0 = NULL; }
4047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4049 return NULL;
4050 }
4051 }
4052 if (_argo1) {
4053 if (_argo1 == Py_None) { _arg1 = NULL; }
4054 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4055 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4056 return NULL;
4057 }
4058 }
4059{
4060 wxPy_BEGIN_ALLOW_THREADS;
4061 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4062
4063 wxPy_END_ALLOW_THREADS;
4064} Py_INCREF(Py_None);
4065 _resultobj = Py_None;
4066 return _resultobj;
4067}
4068
4069#define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4070static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject * _resultobj;
4072 wxPyGridCellAttrProvider * _arg0;
4073 wxGridCellAttr * _arg1;
4074 int _arg2;
4075 PyObject * _argo0 = 0;
4076 PyObject * _argo1 = 0;
4077 char *_kwnames[] = { "self","attr","row", NULL };
4078
4079 self = self;
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4081 return NULL;
4082 if (_argo0) {
4083 if (_argo0 == Py_None) { _arg0 = NULL; }
4084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4086 return NULL;
4087 }
4088 }
4089 if (_argo1) {
4090 if (_argo1 == Py_None) { _arg1 = NULL; }
4091 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4092 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4093 return NULL;
4094 }
4095 }
4096{
4097 wxPy_BEGIN_ALLOW_THREADS;
4098 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4099
4100 wxPy_END_ALLOW_THREADS;
4101} Py_INCREF(Py_None);
4102 _resultobj = Py_None;
4103 return _resultobj;
4104}
4105
4106#define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4107static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject * _resultobj;
4109 wxPyGridCellAttrProvider * _arg0;
4110 wxGridCellAttr * _arg1;
4111 int _arg2;
4112 PyObject * _argo0 = 0;
4113 PyObject * _argo1 = 0;
4114 char *_kwnames[] = { "self","attr","col", NULL };
4115
4116 self = self;
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4118 return NULL;
4119 if (_argo0) {
4120 if (_argo0 == Py_None) { _arg0 = NULL; }
4121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4123 return NULL;
4124 }
4125 }
4126 if (_argo1) {
4127 if (_argo1 == Py_None) { _arg1 = NULL; }
4128 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4129 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4130 return NULL;
4131 }
4132 }
4133{
4134 wxPy_BEGIN_ALLOW_THREADS;
4135 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4136
4137 wxPy_END_ALLOW_THREADS;
4138} Py_INCREF(Py_None);
4139 _resultobj = Py_None;
4140 return _resultobj;
4141}
4142
9416aa89
RD
4143static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4144 wxGridTableBase *src;
4145 wxObject *dest;
4146 src = (wxGridTableBase *) ptr;
4147 dest = (wxObject *) src;
4148 return (void *) dest;
4149}
4150
f6bcfd97
BP
4151#define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4152static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4153 PyObject * _resultobj;
4154 wxGridTableBase * _arg0;
4155 wxGridCellAttrProvider * _arg1;
4156 PyObject * _argo0 = 0;
4157 PyObject * _argo1 = 0;
4158 char *_kwnames[] = { "self","attrProvider", NULL };
4159
4160 self = self;
4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4162 return NULL;
4163 if (_argo0) {
4164 if (_argo0 == Py_None) { _arg0 = NULL; }
4165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4167 return NULL;
4168 }
4169 }
4170 if (_argo1) {
4171 if (_argo1 == Py_None) { _arg1 = NULL; }
4172 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4173 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4174 return NULL;
4175 }
4176 }
4177{
4178 wxPy_BEGIN_ALLOW_THREADS;
4179 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4180
4181 wxPy_END_ALLOW_THREADS;
4182} Py_INCREF(Py_None);
4183 _resultobj = Py_None;
4184 return _resultobj;
4185}
4186
4187#define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4188static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4189 PyObject * _resultobj;
4190 wxGridCellAttrProvider * _result;
4191 wxGridTableBase * _arg0;
4192 PyObject * _argo0 = 0;
4193 char *_kwnames[] = { "self", NULL };
4194 char _ptemp[128];
4195
4196 self = self;
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4198 return NULL;
4199 if (_argo0) {
4200 if (_argo0 == Py_None) { _arg0 = NULL; }
4201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4203 return NULL;
4204 }
4205 }
4206{
4207 wxPy_BEGIN_ALLOW_THREADS;
4208 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4209
4210 wxPy_END_ALLOW_THREADS;
4211} if (_result) {
4212 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4213 _resultobj = Py_BuildValue("s",_ptemp);
4214 } else {
4215 Py_INCREF(Py_None);
4216 _resultobj = Py_None;
4217 }
4218 return _resultobj;
4219}
4220
4221#define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4222static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4223 PyObject * _resultobj;
4224 wxGridTableBase * _arg0;
4225 wxGrid * _arg1;
4226 PyObject * _argo0 = 0;
4227 PyObject * _argo1 = 0;
4228 char *_kwnames[] = { "self","grid", NULL };
4229
4230 self = self;
4231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4232 return NULL;
4233 if (_argo0) {
4234 if (_argo0 == Py_None) { _arg0 = NULL; }
4235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4237 return NULL;
4238 }
4239 }
4240 if (_argo1) {
4241 if (_argo1 == Py_None) { _arg1 = NULL; }
4242 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4243 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4244 return NULL;
4245 }
4246 }
4247{
4248 wxPy_BEGIN_ALLOW_THREADS;
4249 wxGridTableBase_SetView(_arg0,_arg1);
4250
4251 wxPy_END_ALLOW_THREADS;
4252} Py_INCREF(Py_None);
4253 _resultobj = Py_None;
4254 return _resultobj;
4255}
4256
4257#define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4258static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4259 PyObject * _resultobj;
4260 wxGrid * _result;
4261 wxGridTableBase * _arg0;
4262 PyObject * _argo0 = 0;
4263 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4264
4265 self = self;
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4267 return NULL;
4268 if (_argo0) {
4269 if (_argo0 == Py_None) { _arg0 = NULL; }
4270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4272 return NULL;
4273 }
4274 }
4275{
4276 wxPy_BEGIN_ALLOW_THREADS;
4277 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4278
4279 wxPy_END_ALLOW_THREADS;
9416aa89 4280}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
4281 return _resultobj;
4282}
4283
4284#define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4285static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4286 PyObject * _resultobj;
4287 int _result;
4288 wxGridTableBase * _arg0;
4289 PyObject * _argo0 = 0;
4290 char *_kwnames[] = { "self", NULL };
4291
4292 self = self;
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4294 return NULL;
4295 if (_argo0) {
4296 if (_argo0 == Py_None) { _arg0 = NULL; }
4297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4299 return NULL;
4300 }
4301 }
4302{
4303 wxPy_BEGIN_ALLOW_THREADS;
4304 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4305
4306 wxPy_END_ALLOW_THREADS;
4307} _resultobj = Py_BuildValue("i",_result);
4308 return _resultobj;
4309}
4310
4311#define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4312static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4313 PyObject * _resultobj;
4314 int _result;
4315 wxGridTableBase * _arg0;
4316 PyObject * _argo0 = 0;
4317 char *_kwnames[] = { "self", NULL };
4318
4319 self = self;
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4321 return NULL;
4322 if (_argo0) {
4323 if (_argo0 == Py_None) { _arg0 = NULL; }
4324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4326 return NULL;
4327 }
4328 }
4329{
4330 wxPy_BEGIN_ALLOW_THREADS;
4331 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4332
4333 wxPy_END_ALLOW_THREADS;
4334} _resultobj = Py_BuildValue("i",_result);
4335 return _resultobj;
4336}
4337
4338#define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4339static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4340 PyObject * _resultobj;
4341 bool _result;
4342 wxGridTableBase * _arg0;
4343 int _arg1;
4344 int _arg2;
4345 PyObject * _argo0 = 0;
4346 char *_kwnames[] = { "self","row","col", NULL };
4347
4348 self = self;
4349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4350 return NULL;
4351 if (_argo0) {
4352 if (_argo0 == Py_None) { _arg0 = NULL; }
4353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4355 return NULL;
4356 }
4357 }
4358{
4359 wxPy_BEGIN_ALLOW_THREADS;
4360 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4361
4362 wxPy_END_ALLOW_THREADS;
4363} _resultobj = Py_BuildValue("i",_result);
4364 return _resultobj;
4365}
4366
4367#define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4368static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4369 PyObject * _resultobj;
4370 wxString * _result;
4371 wxGridTableBase * _arg0;
4372 int _arg1;
4373 int _arg2;
4374 PyObject * _argo0 = 0;
4375 char *_kwnames[] = { "self","row","col", NULL };
4376
4377 self = self;
4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4379 return NULL;
4380 if (_argo0) {
4381 if (_argo0 == Py_None) { _arg0 = NULL; }
4382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4384 return NULL;
4385 }
4386 }
4387{
4388 wxPy_BEGIN_ALLOW_THREADS;
4389 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4390
4391 wxPy_END_ALLOW_THREADS;
4392}{
4393 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4394}
4395{
4396 delete _result;
4397}
4398 return _resultobj;
4399}
4400
4401#define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4402static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject * _resultobj;
4404 wxGridTableBase * _arg0;
4405 int _arg1;
4406 int _arg2;
4407 wxString * _arg3;
4408 PyObject * _argo0 = 0;
4409 PyObject * _obj3 = 0;
4410 char *_kwnames[] = { "self","row","col","value", NULL };
4411
4412 self = self;
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4414 return NULL;
4415 if (_argo0) {
4416 if (_argo0 == Py_None) { _arg0 = NULL; }
4417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4419 return NULL;
4420 }
4421 }
4422{
185d7c3e
RD
4423#if PYTHON_API_VERSION >= 1009
4424 char* tmpPtr; int tmpSize;
4425 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 4426 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
4427 return NULL;
4428 }
4429 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4430 return NULL;
4431 _arg3 = new wxString(tmpPtr, tmpSize);
4432#else
f6bcfd97
BP
4433 if (!PyString_Check(_obj3)) {
4434 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4435 return NULL;
4436 }
185d7c3e
RD
4437 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4438#endif
f6bcfd97
BP
4439}
4440{
4441 wxPy_BEGIN_ALLOW_THREADS;
4442 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4443
4444 wxPy_END_ALLOW_THREADS;
4445} Py_INCREF(Py_None);
4446 _resultobj = Py_None;
4447{
4448 if (_obj3)
4449 delete _arg3;
4450}
4451 return _resultobj;
4452}
4453
4454#define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4455static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4456 PyObject * _resultobj;
4457 wxString * _result;
4458 wxGridTableBase * _arg0;
4459 int _arg1;
4460 int _arg2;
4461 PyObject * _argo0 = 0;
4462 char *_kwnames[] = { "self","row","col", NULL };
4463
4464 self = self;
4465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4466 return NULL;
4467 if (_argo0) {
4468 if (_argo0 == Py_None) { _arg0 = NULL; }
4469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4471 return NULL;
4472 }
4473 }
4474{
4475 wxPy_BEGIN_ALLOW_THREADS;
4476 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4477
4478 wxPy_END_ALLOW_THREADS;
4479}{
4480 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4481}
4482{
4483 delete _result;
4484}
4485 return _resultobj;
4486}
4487
4488#define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4489static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject * _resultobj;
4491 bool _result;
4492 wxGridTableBase * _arg0;
4493 int _arg1;
4494 int _arg2;
4495 wxString * _arg3;
4496 PyObject * _argo0 = 0;
4497 PyObject * _obj3 = 0;
4498 char *_kwnames[] = { "self","row","col","typeName", NULL };
4499
4500 self = self;
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4502 return NULL;
4503 if (_argo0) {
4504 if (_argo0 == Py_None) { _arg0 = NULL; }
4505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4507 return NULL;
4508 }
4509 }
4510{
185d7c3e
RD
4511#if PYTHON_API_VERSION >= 1009
4512 char* tmpPtr; int tmpSize;
4513 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 4514 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
4515 return NULL;
4516 }
4517 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4518 return NULL;
4519 _arg3 = new wxString(tmpPtr, tmpSize);
4520#else
f6bcfd97
BP
4521 if (!PyString_Check(_obj3)) {
4522 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4523 return NULL;
4524 }
185d7c3e
RD
4525 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4526#endif
f6bcfd97
BP
4527}
4528{
4529 wxPy_BEGIN_ALLOW_THREADS;
4530 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4531
4532 wxPy_END_ALLOW_THREADS;
4533} _resultobj = Py_BuildValue("i",_result);
4534{
4535 if (_obj3)
4536 delete _arg3;
4537}
4538 return _resultobj;
4539}
4540
4541#define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4542static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4543 PyObject * _resultobj;
4544 bool _result;
4545 wxGridTableBase * _arg0;
4546 int _arg1;
4547 int _arg2;
4548 wxString * _arg3;
4549 PyObject * _argo0 = 0;
4550 PyObject * _obj3 = 0;
4551 char *_kwnames[] = { "self","row","col","typeName", NULL };
4552
4553 self = self;
4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4555 return NULL;
4556 if (_argo0) {
4557 if (_argo0 == Py_None) { _arg0 = NULL; }
4558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4560 return NULL;
4561 }
4562 }
4563{
185d7c3e
RD
4564#if PYTHON_API_VERSION >= 1009
4565 char* tmpPtr; int tmpSize;
4566 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 4567 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
4568 return NULL;
4569 }
4570 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4571 return NULL;
4572 _arg3 = new wxString(tmpPtr, tmpSize);
4573#else
f6bcfd97
BP
4574 if (!PyString_Check(_obj3)) {
4575 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4576 return NULL;
4577 }
185d7c3e
RD
4578 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4579#endif
f6bcfd97
BP
4580}
4581{
4582 wxPy_BEGIN_ALLOW_THREADS;
4583 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4584
4585 wxPy_END_ALLOW_THREADS;
4586} _resultobj = Py_BuildValue("i",_result);
4587{
4588 if (_obj3)
4589 delete _arg3;
4590}
4591 return _resultobj;
4592}
4593
4594#define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4595static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject * _resultobj;
4597 long _result;
4598 wxGridTableBase * _arg0;
4599 int _arg1;
4600 int _arg2;
4601 PyObject * _argo0 = 0;
4602 char *_kwnames[] = { "self","row","col", NULL };
4603
4604 self = self;
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4606 return NULL;
4607 if (_argo0) {
4608 if (_argo0 == Py_None) { _arg0 = NULL; }
4609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4611 return NULL;
4612 }
4613 }
4614{
4615 wxPy_BEGIN_ALLOW_THREADS;
4616 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4617
4618 wxPy_END_ALLOW_THREADS;
4619} _resultobj = Py_BuildValue("l",_result);
4620 return _resultobj;
4621}
4622
4623#define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4624static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject * _resultobj;
4626 double _result;
4627 wxGridTableBase * _arg0;
4628 int _arg1;
4629 int _arg2;
4630 PyObject * _argo0 = 0;
4631 char *_kwnames[] = { "self","row","col", NULL };
4632
4633 self = self;
4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4635 return NULL;
4636 if (_argo0) {
4637 if (_argo0 == Py_None) { _arg0 = NULL; }
4638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4640 return NULL;
4641 }
4642 }
4643{
4644 wxPy_BEGIN_ALLOW_THREADS;
4645 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4646
4647 wxPy_END_ALLOW_THREADS;
4648} _resultobj = Py_BuildValue("d",_result);
4649 return _resultobj;
4650}
4651
4652#define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4653static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4654 PyObject * _resultobj;
4655 bool _result;
4656 wxGridTableBase * _arg0;
4657 int _arg1;
4658 int _arg2;
4659 PyObject * _argo0 = 0;
4660 char *_kwnames[] = { "self","row","col", NULL };
4661
4662 self = self;
4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4664 return NULL;
4665 if (_argo0) {
4666 if (_argo0 == Py_None) { _arg0 = NULL; }
4667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4669 return NULL;
4670 }
4671 }
4672{
4673 wxPy_BEGIN_ALLOW_THREADS;
4674 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4675
4676 wxPy_END_ALLOW_THREADS;
4677} _resultobj = Py_BuildValue("i",_result);
4678 return _resultobj;
4679}
4680
4681#define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4682static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject * _resultobj;
4684 wxGridTableBase * _arg0;
4685 int _arg1;
4686 int _arg2;
4687 long _arg3;
4688 PyObject * _argo0 = 0;
4689 char *_kwnames[] = { "self","row","col","value", NULL };
4690
4691 self = self;
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4693 return NULL;
4694 if (_argo0) {
4695 if (_argo0 == Py_None) { _arg0 = NULL; }
4696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4698 return NULL;
4699 }
4700 }
4701{
4702 wxPy_BEGIN_ALLOW_THREADS;
4703 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4704
4705 wxPy_END_ALLOW_THREADS;
4706} Py_INCREF(Py_None);
4707 _resultobj = Py_None;
4708 return _resultobj;
4709}
4710
4711#define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4712static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4713 PyObject * _resultobj;
4714 wxGridTableBase * _arg0;
4715 int _arg1;
4716 int _arg2;
4717 double _arg3;
4718 PyObject * _argo0 = 0;
4719 char *_kwnames[] = { "self","row","col","value", NULL };
4720
4721 self = self;
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4723 return NULL;
4724 if (_argo0) {
4725 if (_argo0 == Py_None) { _arg0 = NULL; }
4726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4728 return NULL;
4729 }
4730 }
4731{
4732 wxPy_BEGIN_ALLOW_THREADS;
4733 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
4734
4735 wxPy_END_ALLOW_THREADS;
4736} Py_INCREF(Py_None);
4737 _resultobj = Py_None;
4738 return _resultobj;
4739}
4740
4741#define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4742static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4743 PyObject * _resultobj;
4744 wxGridTableBase * _arg0;
4745 int _arg1;
4746 int _arg2;
4747 bool _arg3;
4748 PyObject * _argo0 = 0;
4749 int tempbool3;
4750 char *_kwnames[] = { "self","row","col","value", NULL };
4751
4752 self = self;
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4754 return NULL;
4755 if (_argo0) {
4756 if (_argo0 == Py_None) { _arg0 = NULL; }
4757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4759 return NULL;
4760 }
4761 }
4762 _arg3 = (bool ) tempbool3;
4763{
4764 wxPy_BEGIN_ALLOW_THREADS;
4765 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
4766
4767 wxPy_END_ALLOW_THREADS;
4768} Py_INCREF(Py_None);
4769 _resultobj = Py_None;
4770 return _resultobj;
4771}
4772
4773#define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4774static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject * _resultobj;
4776 wxGridTableBase * _arg0;
4777 PyObject * _argo0 = 0;
4778 char *_kwnames[] = { "self", NULL };
4779
4780 self = self;
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
4782 return NULL;
4783 if (_argo0) {
4784 if (_argo0 == Py_None) { _arg0 = NULL; }
4785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4787 return NULL;
4788 }
4789 }
4790{
4791 wxPy_BEGIN_ALLOW_THREADS;
4792 wxGridTableBase_Clear(_arg0);
4793
4794 wxPy_END_ALLOW_THREADS;
4795} Py_INCREF(Py_None);
4796 _resultobj = Py_None;
4797 return _resultobj;
4798}
4799
4800#define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4801static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4802 PyObject * _resultobj;
4803 bool _result;
4804 wxGridTableBase * _arg0;
4805 size_t _arg1 = (size_t ) 0;
4806 size_t _arg2 = (size_t ) 1;
4807 PyObject * _argo0 = 0;
4808 char *_kwnames[] = { "self","pos","numRows", NULL };
4809
4810 self = self;
4811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
4812 return NULL;
4813 if (_argo0) {
4814 if (_argo0 == Py_None) { _arg0 = NULL; }
4815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4817 return NULL;
4818 }
4819 }
4820{
4821 wxPy_BEGIN_ALLOW_THREADS;
4822 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
4823
4824 wxPy_END_ALLOW_THREADS;
4825} _resultobj = Py_BuildValue("i",_result);
4826 return _resultobj;
4827}
4828
4829#define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4830static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4831 PyObject * _resultobj;
4832 bool _result;
4833 wxGridTableBase * _arg0;
4834 size_t _arg1 = (size_t ) 1;
4835 PyObject * _argo0 = 0;
4836 char *_kwnames[] = { "self","numRows", NULL };
4837
4838 self = self;
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
4840 return NULL;
4841 if (_argo0) {
4842 if (_argo0 == Py_None) { _arg0 = NULL; }
4843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4845 return NULL;
4846 }
4847 }
4848{
4849 wxPy_BEGIN_ALLOW_THREADS;
4850 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
4851
4852 wxPy_END_ALLOW_THREADS;
4853} _resultobj = Py_BuildValue("i",_result);
4854 return _resultobj;
4855}
4856
4857#define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4858static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4859 PyObject * _resultobj;
4860 bool _result;
4861 wxGridTableBase * _arg0;
4862 size_t _arg1 = (size_t ) 0;
4863 size_t _arg2 = (size_t ) 1;
4864 PyObject * _argo0 = 0;
4865 char *_kwnames[] = { "self","pos","numRows", NULL };
4866
4867 self = self;
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
4869 return NULL;
4870 if (_argo0) {
4871 if (_argo0 == Py_None) { _arg0 = NULL; }
4872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4874 return NULL;
4875 }
4876 }
4877{
4878 wxPy_BEGIN_ALLOW_THREADS;
4879 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
4880
4881 wxPy_END_ALLOW_THREADS;
4882} _resultobj = Py_BuildValue("i",_result);
4883 return _resultobj;
4884}
4885
4886#define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4887static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject * _resultobj;
4889 bool _result;
4890 wxGridTableBase * _arg0;
4891 size_t _arg1 = (size_t ) 0;
4892 size_t _arg2 = (size_t ) 1;
4893 PyObject * _argo0 = 0;
4894 char *_kwnames[] = { "self","pos","numCols", NULL };
4895
4896 self = self;
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
4898 return NULL;
4899 if (_argo0) {
4900 if (_argo0 == Py_None) { _arg0 = NULL; }
4901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4903 return NULL;
4904 }
4905 }
4906{
4907 wxPy_BEGIN_ALLOW_THREADS;
4908 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
4909
4910 wxPy_END_ALLOW_THREADS;
4911} _resultobj = Py_BuildValue("i",_result);
4912 return _resultobj;
4913}
4914
4915#define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4916static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4917 PyObject * _resultobj;
4918 bool _result;
4919 wxGridTableBase * _arg0;
4920 size_t _arg1 = (size_t ) 1;
4921 PyObject * _argo0 = 0;
4922 char *_kwnames[] = { "self","numCols", NULL };
4923
4924 self = self;
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
4926 return NULL;
4927 if (_argo0) {
4928 if (_argo0 == Py_None) { _arg0 = NULL; }
4929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4931 return NULL;
4932 }
4933 }
4934{
4935 wxPy_BEGIN_ALLOW_THREADS;
4936 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
4937
4938 wxPy_END_ALLOW_THREADS;
4939} _resultobj = Py_BuildValue("i",_result);
4940 return _resultobj;
4941}
4942
4943#define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4944static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject * _resultobj;
4946 bool _result;
4947 wxGridTableBase * _arg0;
4948 size_t _arg1 = (size_t ) 0;
4949 size_t _arg2 = (size_t ) 1;
4950 PyObject * _argo0 = 0;
4951 char *_kwnames[] = { "self","pos","numCols", NULL };
4952
4953 self = self;
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
4955 return NULL;
4956 if (_argo0) {
4957 if (_argo0 == Py_None) { _arg0 = NULL; }
4958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4960 return NULL;
4961 }
4962 }
4963{
4964 wxPy_BEGIN_ALLOW_THREADS;
4965 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
4966
4967 wxPy_END_ALLOW_THREADS;
4968} _resultobj = Py_BuildValue("i",_result);
4969 return _resultobj;
4970}
4971
4972#define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4973static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4974 PyObject * _resultobj;
4975 wxString * _result;
4976 wxGridTableBase * _arg0;
4977 int _arg1;
4978 PyObject * _argo0 = 0;
4979 char *_kwnames[] = { "self","row", NULL };
4980
4981 self = self;
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
4983 return NULL;
4984 if (_argo0) {
4985 if (_argo0 == Py_None) { _arg0 = NULL; }
4986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4988 return NULL;
4989 }
4990 }
4991{
4992 wxPy_BEGIN_ALLOW_THREADS;
4993 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
4994
4995 wxPy_END_ALLOW_THREADS;
4996}{
4997 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4998}
4999{
5000 delete _result;
5001}
5002 return _resultobj;
5003}
5004
5005#define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5006static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5007 PyObject * _resultobj;
5008 wxString * _result;
5009 wxGridTableBase * _arg0;
5010 int _arg1;
5011 PyObject * _argo0 = 0;
5012 char *_kwnames[] = { "self","col", NULL };
5013
5014 self = self;
5015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5016 return NULL;
5017 if (_argo0) {
5018 if (_argo0 == Py_None) { _arg0 = NULL; }
5019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5021 return NULL;
5022 }
5023 }
5024{
5025 wxPy_BEGIN_ALLOW_THREADS;
5026 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5027
5028 wxPy_END_ALLOW_THREADS;
5029}{
5030 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5031}
5032{
5033 delete _result;
5034}
5035 return _resultobj;
5036}
5037
5038#define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5039static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject * _resultobj;
5041 wxGridTableBase * _arg0;
5042 int _arg1;
5043 wxString * _arg2;
5044 PyObject * _argo0 = 0;
5045 PyObject * _obj2 = 0;
5046 char *_kwnames[] = { "self","row","value", NULL };
5047
5048 self = self;
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5050 return NULL;
5051 if (_argo0) {
5052 if (_argo0 == Py_None) { _arg0 = NULL; }
5053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5055 return NULL;
5056 }
5057 }
5058{
185d7c3e
RD
5059#if PYTHON_API_VERSION >= 1009
5060 char* tmpPtr; int tmpSize;
5061 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 5062 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5063 return NULL;
5064 }
5065 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5066 return NULL;
5067 _arg2 = new wxString(tmpPtr, tmpSize);
5068#else
f6bcfd97
BP
5069 if (!PyString_Check(_obj2)) {
5070 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5071 return NULL;
5072 }
185d7c3e
RD
5073 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5074#endif
f6bcfd97
BP
5075}
5076{
5077 wxPy_BEGIN_ALLOW_THREADS;
5078 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5079
5080 wxPy_END_ALLOW_THREADS;
5081} Py_INCREF(Py_None);
5082 _resultobj = Py_None;
5083{
5084 if (_obj2)
5085 delete _arg2;
5086}
5087 return _resultobj;
5088}
5089
5090#define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5091static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5092 PyObject * _resultobj;
5093 wxGridTableBase * _arg0;
5094 int _arg1;
5095 wxString * _arg2;
5096 PyObject * _argo0 = 0;
5097 PyObject * _obj2 = 0;
5098 char *_kwnames[] = { "self","col","value", NULL };
5099
5100 self = self;
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5102 return NULL;
5103 if (_argo0) {
5104 if (_argo0 == Py_None) { _arg0 = NULL; }
5105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5107 return NULL;
5108 }
5109 }
5110{
185d7c3e
RD
5111#if PYTHON_API_VERSION >= 1009
5112 char* tmpPtr; int tmpSize;
5113 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 5114 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5115 return NULL;
5116 }
5117 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5118 return NULL;
5119 _arg2 = new wxString(tmpPtr, tmpSize);
5120#else
f6bcfd97
BP
5121 if (!PyString_Check(_obj2)) {
5122 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5123 return NULL;
5124 }
185d7c3e
RD
5125 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5126#endif
f6bcfd97
BP
5127}
5128{
5129 wxPy_BEGIN_ALLOW_THREADS;
5130 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5131
5132 wxPy_END_ALLOW_THREADS;
5133} Py_INCREF(Py_None);
5134 _resultobj = Py_None;
5135{
5136 if (_obj2)
5137 delete _arg2;
5138}
5139 return _resultobj;
5140}
5141
5142#define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5143static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5144 PyObject * _resultobj;
5145 bool _result;
5146 wxGridTableBase * _arg0;
5147 PyObject * _argo0 = 0;
5148 char *_kwnames[] = { "self", NULL };
5149
5150 self = self;
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5152 return NULL;
5153 if (_argo0) {
5154 if (_argo0 == Py_None) { _arg0 = NULL; }
5155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5157 return NULL;
5158 }
5159 }
5160{
5161 wxPy_BEGIN_ALLOW_THREADS;
5162 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5163
5164 wxPy_END_ALLOW_THREADS;
5165} _resultobj = Py_BuildValue("i",_result);
5166 return _resultobj;
5167}
5168
9416aa89 5169#define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
5170static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5171 PyObject * _resultobj;
5172 wxGridCellAttr * _result;
5173 wxGridTableBase * _arg0;
5174 int _arg1;
5175 int _arg2;
9416aa89 5176 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 5177 PyObject * _argo0 = 0;
9416aa89 5178 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
5179 char _ptemp[128];
5180
5181 self = self;
9416aa89 5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
5183 return NULL;
5184 if (_argo0) {
5185 if (_argo0 == Py_None) { _arg0 = NULL; }
5186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5188 return NULL;
5189 }
5190 }
5191{
5192 wxPy_BEGIN_ALLOW_THREADS;
9416aa89 5193 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97
BP
5194
5195 wxPy_END_ALLOW_THREADS;
5196} if (_result) {
5197 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5198 _resultobj = Py_BuildValue("s",_ptemp);
5199 } else {
5200 Py_INCREF(Py_None);
5201 _resultobj = Py_None;
5202 }
5203 return _resultobj;
5204}
5205
5206#define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5207static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject * _resultobj;
5209 wxGridTableBase * _arg0;
5210 wxGridCellAttr * _arg1;
5211 int _arg2;
5212 int _arg3;
5213 PyObject * _argo0 = 0;
5214 PyObject * _argo1 = 0;
5215 char *_kwnames[] = { "self","attr","row","col", NULL };
5216
5217 self = self;
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5219 return NULL;
5220 if (_argo0) {
5221 if (_argo0 == Py_None) { _arg0 = NULL; }
5222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5224 return NULL;
5225 }
5226 }
5227 if (_argo1) {
5228 if (_argo1 == Py_None) { _arg1 = NULL; }
5229 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5230 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5231 return NULL;
5232 }
5233 }
5234{
5235 wxPy_BEGIN_ALLOW_THREADS;
5236 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5237
5238 wxPy_END_ALLOW_THREADS;
5239} Py_INCREF(Py_None);
5240 _resultobj = Py_None;
5241 return _resultobj;
5242}
5243
5244#define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5245static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5246 PyObject * _resultobj;
5247 wxGridTableBase * _arg0;
5248 wxGridCellAttr * _arg1;
5249 int _arg2;
5250 PyObject * _argo0 = 0;
5251 PyObject * _argo1 = 0;
5252 char *_kwnames[] = { "self","attr","row", NULL };
5253
5254 self = self;
5255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5256 return NULL;
5257 if (_argo0) {
5258 if (_argo0 == Py_None) { _arg0 = NULL; }
5259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5261 return NULL;
5262 }
5263 }
5264 if (_argo1) {
5265 if (_argo1 == Py_None) { _arg1 = NULL; }
5266 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5267 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5268 return NULL;
5269 }
5270 }
5271{
5272 wxPy_BEGIN_ALLOW_THREADS;
5273 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5274
5275 wxPy_END_ALLOW_THREADS;
5276} Py_INCREF(Py_None);
5277 _resultobj = Py_None;
5278 return _resultobj;
5279}
5280
5281#define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5282static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject * _resultobj;
5284 wxGridTableBase * _arg0;
5285 wxGridCellAttr * _arg1;
5286 int _arg2;
5287 PyObject * _argo0 = 0;
5288 PyObject * _argo1 = 0;
5289 char *_kwnames[] = { "self","attr","col", NULL };
5290
5291 self = self;
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_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_SetColAttr. Expected _wxGridTableBase_p.");
5298 return NULL;
5299 }
5300 }
5301 if (_argo1) {
5302 if (_argo1 == Py_None) { _arg1 = NULL; }
5303 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5304 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5305 return NULL;
5306 }
5307 }
5308{
5309 wxPy_BEGIN_ALLOW_THREADS;
5310 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5311
5312 wxPy_END_ALLOW_THREADS;
5313} Py_INCREF(Py_None);
5314 _resultobj = Py_None;
5315 return _resultobj;
5316}
5317
5318static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5319 wxPyGridTableBase *src;
5320 wxGridTableBase *dest;
5321 src = (wxPyGridTableBase *) ptr;
5322 dest = (wxGridTableBase *) src;
5323 return (void *) dest;
5324}
5325
9416aa89
RD
5326static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5327 wxPyGridTableBase *src;
5328 wxObject *dest;
5329 src = (wxPyGridTableBase *) ptr;
5330 dest = (wxObject *) src;
5331 return (void *) dest;
5332}
5333
f6bcfd97
BP
5334#define new_wxPyGridTableBase() (new wxPyGridTableBase())
5335static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject * _resultobj;
5337 wxPyGridTableBase * _result;
5338 char *_kwnames[] = { NULL };
5339 char _ptemp[128];
5340
5341 self = self;
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5343 return NULL;
5344{
5345 wxPy_BEGIN_ALLOW_THREADS;
5346 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5347
5348 wxPy_END_ALLOW_THREADS;
5349} if (_result) {
5350 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5351 _resultobj = Py_BuildValue("s",_ptemp);
5352 } else {
5353 Py_INCREF(Py_None);
5354 _resultobj = Py_None;
5355 }
5356 return _resultobj;
5357}
5358
5359#define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5360static PyObject *_wrap_wxPyGridTableBase__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5361 PyObject * _resultobj;
5362 wxPyGridTableBase * _arg0;
5363 PyObject * _arg1;
5364 PyObject * _arg2;
5365 PyObject * _argo0 = 0;
5366 PyObject * _obj1 = 0;
5367 PyObject * _obj2 = 0;
5368 char *_kwnames[] = { "self","self","_class", NULL };
5369
5370 self = self;
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5372 return NULL;
5373 if (_argo0) {
5374 if (_argo0 == Py_None) { _arg0 = NULL; }
5375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5377 return NULL;
5378 }
5379 }
5380{
5381 _arg1 = _obj1;
5382}
5383{
5384 _arg2 = _obj2;
5385}
5386{
5387 wxPy_BEGIN_ALLOW_THREADS;
5388 wxPyGridTableBase__setSelf(_arg0,_arg1,_arg2);
5389
5390 wxPy_END_ALLOW_THREADS;
5391} Py_INCREF(Py_None);
5392 _resultobj = Py_None;
5393 return _resultobj;
5394}
5395
5396static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5397static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject * _resultobj;
5399 wxPyGridTableBase * _arg0;
5400 PyObject * _argo0 = 0;
5401 char *_kwnames[] = { "self", NULL };
5402
5403 self = self;
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5405 return NULL;
5406 if (_argo0) {
5407 if (_argo0 == Py_None) { _arg0 = NULL; }
5408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5410 return NULL;
5411 }
5412 }
5413{
5414 wxPy_BEGIN_ALLOW_THREADS;
5415 wxPyGridTableBase_Destroy(_arg0);
5416
5417 wxPy_END_ALLOW_THREADS;
5418} Py_INCREF(Py_None);
5419 _resultobj = Py_None;
5420 return _resultobj;
5421}
5422
5423#define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5424static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5425 PyObject * _resultobj;
5426 wxString * _result;
5427 wxPyGridTableBase * _arg0;
5428 int _arg1;
5429 int _arg2;
5430 PyObject * _argo0 = 0;
5431 char *_kwnames[] = { "self","row","col", NULL };
5432
5433 self = self;
5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5435 return NULL;
5436 if (_argo0) {
5437 if (_argo0 == Py_None) { _arg0 = NULL; }
5438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5440 return NULL;
5441 }
5442 }
5443{
5444 wxPy_BEGIN_ALLOW_THREADS;
5445 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5446
5447 wxPy_END_ALLOW_THREADS;
5448}{
5449 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5450}
5451{
5452 delete _result;
5453}
5454 return _resultobj;
5455}
5456
5457#define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5458static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject * _resultobj;
5460 bool _result;
5461 wxPyGridTableBase * _arg0;
5462 int _arg1;
5463 int _arg2;
5464 wxString * _arg3;
5465 PyObject * _argo0 = 0;
5466 PyObject * _obj3 = 0;
5467 char *_kwnames[] = { "self","row","col","typeName", NULL };
5468
5469 self = self;
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5471 return NULL;
5472 if (_argo0) {
5473 if (_argo0 == Py_None) { _arg0 = NULL; }
5474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5476 return NULL;
5477 }
5478 }
5479{
185d7c3e
RD
5480#if PYTHON_API_VERSION >= 1009
5481 char* tmpPtr; int tmpSize;
5482 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 5483 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5484 return NULL;
5485 }
5486 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5487 return NULL;
5488 _arg3 = new wxString(tmpPtr, tmpSize);
5489#else
f6bcfd97
BP
5490 if (!PyString_Check(_obj3)) {
5491 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5492 return NULL;
5493 }
185d7c3e
RD
5494 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5495#endif
f6bcfd97
BP
5496}
5497{
5498 wxPy_BEGIN_ALLOW_THREADS;
5499 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5500
5501 wxPy_END_ALLOW_THREADS;
5502} _resultobj = Py_BuildValue("i",_result);
5503{
5504 if (_obj3)
5505 delete _arg3;
5506}
5507 return _resultobj;
5508}
5509
5510#define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5511static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5512 PyObject * _resultobj;
5513 bool _result;
5514 wxPyGridTableBase * _arg0;
5515 int _arg1;
5516 int _arg2;
5517 wxString * _arg3;
5518 PyObject * _argo0 = 0;
5519 PyObject * _obj3 = 0;
5520 char *_kwnames[] = { "self","row","col","typeName", NULL };
5521
5522 self = self;
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5524 return NULL;
5525 if (_argo0) {
5526 if (_argo0 == Py_None) { _arg0 = NULL; }
5527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5529 return NULL;
5530 }
5531 }
5532{
185d7c3e
RD
5533#if PYTHON_API_VERSION >= 1009
5534 char* tmpPtr; int tmpSize;
5535 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 5536 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5537 return NULL;
5538 }
5539 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5540 return NULL;
5541 _arg3 = new wxString(tmpPtr, tmpSize);
5542#else
f6bcfd97
BP
5543 if (!PyString_Check(_obj3)) {
5544 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5545 return NULL;
5546 }
185d7c3e
RD
5547 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5548#endif
f6bcfd97
BP
5549}
5550{
5551 wxPy_BEGIN_ALLOW_THREADS;
5552 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5553
5554 wxPy_END_ALLOW_THREADS;
5555} _resultobj = Py_BuildValue("i",_result);
5556{
5557 if (_obj3)
5558 delete _arg3;
5559}
5560 return _resultobj;
5561}
5562
5563#define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5564static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5565 PyObject * _resultobj;
5566 wxPyGridTableBase * _arg0;
5567 PyObject * _argo0 = 0;
5568 char *_kwnames[] = { "self", NULL };
5569
5570 self = self;
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5572 return NULL;
5573 if (_argo0) {
5574 if (_argo0 == Py_None) { _arg0 = NULL; }
5575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5577 return NULL;
5578 }
5579 }
5580{
5581 wxPy_BEGIN_ALLOW_THREADS;
5582 wxPyGridTableBase_base_Clear(_arg0);
5583
5584 wxPy_END_ALLOW_THREADS;
5585} Py_INCREF(Py_None);
5586 _resultobj = Py_None;
5587 return _resultobj;
5588}
5589
5590#define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5591static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5592 PyObject * _resultobj;
5593 bool _result;
5594 wxPyGridTableBase * _arg0;
5595 size_t _arg1 = (size_t ) 0;
5596 size_t _arg2 = (size_t ) 1;
5597 PyObject * _argo0 = 0;
5598 char *_kwnames[] = { "self","pos","numRows", NULL };
5599
5600 self = self;
5601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5602 return NULL;
5603 if (_argo0) {
5604 if (_argo0 == Py_None) { _arg0 = NULL; }
5605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5607 return NULL;
5608 }
5609 }
5610{
5611 wxPy_BEGIN_ALLOW_THREADS;
5612 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5613
5614 wxPy_END_ALLOW_THREADS;
5615} _resultobj = Py_BuildValue("i",_result);
5616 return _resultobj;
5617}
5618
5619#define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5620static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5621 PyObject * _resultobj;
5622 bool _result;
5623 wxPyGridTableBase * _arg0;
5624 size_t _arg1 = (size_t ) 1;
5625 PyObject * _argo0 = 0;
5626 char *_kwnames[] = { "self","numRows", NULL };
5627
5628 self = self;
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5630 return NULL;
5631 if (_argo0) {
5632 if (_argo0 == Py_None) { _arg0 = NULL; }
5633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5635 return NULL;
5636 }
5637 }
5638{
5639 wxPy_BEGIN_ALLOW_THREADS;
5640 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5641
5642 wxPy_END_ALLOW_THREADS;
5643} _resultobj = Py_BuildValue("i",_result);
5644 return _resultobj;
5645}
5646
5647#define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5648static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5649 PyObject * _resultobj;
5650 bool _result;
5651 wxPyGridTableBase * _arg0;
5652 size_t _arg1 = (size_t ) 0;
5653 size_t _arg2 = (size_t ) 1;
5654 PyObject * _argo0 = 0;
5655 char *_kwnames[] = { "self","pos","numRows", NULL };
5656
5657 self = self;
5658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5659 return NULL;
5660 if (_argo0) {
5661 if (_argo0 == Py_None) { _arg0 = NULL; }
5662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5664 return NULL;
5665 }
5666 }
5667{
5668 wxPy_BEGIN_ALLOW_THREADS;
5669 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5670
5671 wxPy_END_ALLOW_THREADS;
5672} _resultobj = Py_BuildValue("i",_result);
5673 return _resultobj;
5674}
5675
5676#define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5677static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5678 PyObject * _resultobj;
5679 bool _result;
5680 wxPyGridTableBase * _arg0;
5681 size_t _arg1 = (size_t ) 0;
5682 size_t _arg2 = (size_t ) 1;
5683 PyObject * _argo0 = 0;
5684 char *_kwnames[] = { "self","pos","numCols", NULL };
5685
5686 self = self;
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5688 return NULL;
5689 if (_argo0) {
5690 if (_argo0 == Py_None) { _arg0 = NULL; }
5691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5693 return NULL;
5694 }
5695 }
5696{
5697 wxPy_BEGIN_ALLOW_THREADS;
5698 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5699
5700 wxPy_END_ALLOW_THREADS;
5701} _resultobj = Py_BuildValue("i",_result);
5702 return _resultobj;
5703}
5704
5705#define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5706static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5707 PyObject * _resultobj;
5708 bool _result;
5709 wxPyGridTableBase * _arg0;
5710 size_t _arg1 = (size_t ) 1;
5711 PyObject * _argo0 = 0;
5712 char *_kwnames[] = { "self","numCols", NULL };
5713
5714 self = self;
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5716 return NULL;
5717 if (_argo0) {
5718 if (_argo0 == Py_None) { _arg0 = NULL; }
5719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5721 return NULL;
5722 }
5723 }
5724{
5725 wxPy_BEGIN_ALLOW_THREADS;
5726 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5727
5728 wxPy_END_ALLOW_THREADS;
5729} _resultobj = Py_BuildValue("i",_result);
5730 return _resultobj;
5731}
5732
5733#define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5734static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5735 PyObject * _resultobj;
5736 bool _result;
5737 wxPyGridTableBase * _arg0;
5738 size_t _arg1 = (size_t ) 0;
5739 size_t _arg2 = (size_t ) 1;
5740 PyObject * _argo0 = 0;
5741 char *_kwnames[] = { "self","pos","numCols", NULL };
5742
5743 self = self;
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5745 return NULL;
5746 if (_argo0) {
5747 if (_argo0 == Py_None) { _arg0 = NULL; }
5748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5750 return NULL;
5751 }
5752 }
5753{
5754 wxPy_BEGIN_ALLOW_THREADS;
5755 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
5756
5757 wxPy_END_ALLOW_THREADS;
5758} _resultobj = Py_BuildValue("i",_result);
5759 return _resultobj;
5760}
5761
5762#define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5763static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5764 PyObject * _resultobj;
5765 wxString * _result;
5766 wxPyGridTableBase * _arg0;
5767 int _arg1;
5768 PyObject * _argo0 = 0;
5769 char *_kwnames[] = { "self","row", NULL };
5770
5771 self = self;
5772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5773 return NULL;
5774 if (_argo0) {
5775 if (_argo0 == Py_None) { _arg0 = NULL; }
5776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5778 return NULL;
5779 }
5780 }
5781{
5782 wxPy_BEGIN_ALLOW_THREADS;
5783 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
5784
5785 wxPy_END_ALLOW_THREADS;
5786}{
5787 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5788}
5789{
5790 delete _result;
5791}
5792 return _resultobj;
5793}
5794
5795#define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5796static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5797 PyObject * _resultobj;
5798 wxString * _result;
5799 wxPyGridTableBase * _arg0;
5800 int _arg1;
5801 PyObject * _argo0 = 0;
5802 char *_kwnames[] = { "self","col", NULL };
5803
5804 self = self;
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5806 return NULL;
5807 if (_argo0) {
5808 if (_argo0 == Py_None) { _arg0 = NULL; }
5809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5811 return NULL;
5812 }
5813 }
5814{
5815 wxPy_BEGIN_ALLOW_THREADS;
5816 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
5817
5818 wxPy_END_ALLOW_THREADS;
5819}{
5820 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5821}
5822{
5823 delete _result;
5824}
5825 return _resultobj;
5826}
5827
5828#define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5829static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5830 PyObject * _resultobj;
5831 wxPyGridTableBase * _arg0;
5832 int _arg1;
5833 wxString * _arg2;
5834 PyObject * _argo0 = 0;
5835 PyObject * _obj2 = 0;
5836 char *_kwnames[] = { "self","row","value", NULL };
5837
5838 self = self;
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5840 return NULL;
5841 if (_argo0) {
5842 if (_argo0 == Py_None) { _arg0 = NULL; }
5843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5845 return NULL;
5846 }
5847 }
5848{
185d7c3e
RD
5849#if PYTHON_API_VERSION >= 1009
5850 char* tmpPtr; int tmpSize;
5851 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 5852 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5853 return NULL;
5854 }
5855 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5856 return NULL;
5857 _arg2 = new wxString(tmpPtr, tmpSize);
5858#else
f6bcfd97
BP
5859 if (!PyString_Check(_obj2)) {
5860 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5861 return NULL;
5862 }
185d7c3e
RD
5863 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5864#endif
f6bcfd97
BP
5865}
5866{
5867 wxPy_BEGIN_ALLOW_THREADS;
5868 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
5869
5870 wxPy_END_ALLOW_THREADS;
5871} Py_INCREF(Py_None);
5872 _resultobj = Py_None;
5873{
5874 if (_obj2)
5875 delete _arg2;
5876}
5877 return _resultobj;
5878}
5879
5880#define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5881static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject * _resultobj;
5883 wxPyGridTableBase * _arg0;
5884 int _arg1;
5885 wxString * _arg2;
5886 PyObject * _argo0 = 0;
5887 PyObject * _obj2 = 0;
5888 char *_kwnames[] = { "self","col","value", NULL };
5889
5890 self = self;
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5892 return NULL;
5893 if (_argo0) {
5894 if (_argo0 == Py_None) { _arg0 = NULL; }
5895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5897 return NULL;
5898 }
5899 }
5900{
185d7c3e
RD
5901#if PYTHON_API_VERSION >= 1009
5902 char* tmpPtr; int tmpSize;
5903 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 5904 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5905 return NULL;
5906 }
5907 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5908 return NULL;
5909 _arg2 = new wxString(tmpPtr, tmpSize);
5910#else
f6bcfd97
BP
5911 if (!PyString_Check(_obj2)) {
5912 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5913 return NULL;
5914 }
185d7c3e
RD
5915 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5916#endif
f6bcfd97
BP
5917}
5918{
5919 wxPy_BEGIN_ALLOW_THREADS;
5920 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
5921
5922 wxPy_END_ALLOW_THREADS;
5923} Py_INCREF(Py_None);
5924 _resultobj = Py_None;
5925{
5926 if (_obj2)
5927 delete _arg2;
5928}
5929 return _resultobj;
5930}
5931
5932#define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5933static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5934 PyObject * _resultobj;
5935 bool _result;
5936 wxPyGridTableBase * _arg0;
5937 PyObject * _argo0 = 0;
5938 char *_kwnames[] = { "self", NULL };
5939
5940 self = self;
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
5942 return NULL;
5943 if (_argo0) {
5944 if (_argo0 == Py_None) { _arg0 = NULL; }
5945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5947 return NULL;
5948 }
5949 }
5950{
5951 wxPy_BEGIN_ALLOW_THREADS;
5952 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
5953
5954 wxPy_END_ALLOW_THREADS;
5955} _resultobj = Py_BuildValue("i",_result);
5956 return _resultobj;
5957}
5958
9416aa89 5959#define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
5960static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject * _resultobj;
5962 wxGridCellAttr * _result;
5963 wxPyGridTableBase * _arg0;
5964 int _arg1;
5965 int _arg2;
9416aa89 5966 wxGridCellAttr::wxAttrKind _arg3;
f6bcfd97 5967 PyObject * _argo0 = 0;
9416aa89 5968 char *_kwnames[] = { "self","row","col","kind", NULL };
f6bcfd97
BP
5969 char _ptemp[128];
5970
5971 self = self;
9416aa89 5972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
5973 return NULL;
5974 if (_argo0) {
5975 if (_argo0 == Py_None) { _arg0 = NULL; }
5976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5978 return NULL;
5979 }
5980 }
5981{
5982 wxPy_BEGIN_ALLOW_THREADS;
9416aa89 5983 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
f6bcfd97
BP
5984
5985 wxPy_END_ALLOW_THREADS;
5986} if (_result) {
5987 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5988 _resultobj = Py_BuildValue("s",_ptemp);
5989 } else {
5990 Py_INCREF(Py_None);
5991 _resultobj = Py_None;
5992 }
5993 return _resultobj;
5994}
5995
5996#define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5997static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5998 PyObject * _resultobj;
5999 wxPyGridTableBase * _arg0;
6000 wxGridCellAttr * _arg1;
6001 int _arg2;
6002 int _arg3;
6003 PyObject * _argo0 = 0;
6004 PyObject * _argo1 = 0;
6005 char *_kwnames[] = { "self","attr","row","col", NULL };
6006
6007 self = self;
6008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6009 return NULL;
6010 if (_argo0) {
6011 if (_argo0 == Py_None) { _arg0 = NULL; }
6012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6014 return NULL;
6015 }
6016 }
6017 if (_argo1) {
6018 if (_argo1 == Py_None) { _arg1 = NULL; }
6019 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6020 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6021 return NULL;
6022 }
6023 }
6024{
6025 wxPy_BEGIN_ALLOW_THREADS;
6026 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6027
6028 wxPy_END_ALLOW_THREADS;
6029} Py_INCREF(Py_None);
6030 _resultobj = Py_None;
6031 return _resultobj;
6032}
6033
6034#define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6035static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject * _resultobj;
6037 wxPyGridTableBase * _arg0;
6038 wxGridCellAttr * _arg1;
6039 int _arg2;
6040 PyObject * _argo0 = 0;
6041 PyObject * _argo1 = 0;
6042 char *_kwnames[] = { "self","attr","row", NULL };
6043
6044 self = self;
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6046 return NULL;
6047 if (_argo0) {
6048 if (_argo0 == Py_None) { _arg0 = NULL; }
6049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6051 return NULL;
6052 }
6053 }
6054 if (_argo1) {
6055 if (_argo1 == Py_None) { _arg1 = NULL; }
6056 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6057 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6058 return NULL;
6059 }
6060 }
6061{
6062 wxPy_BEGIN_ALLOW_THREADS;
6063 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6064
6065 wxPy_END_ALLOW_THREADS;
6066} Py_INCREF(Py_None);
6067 _resultobj = Py_None;
6068 return _resultobj;
6069}
6070
6071#define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6072static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6073 PyObject * _resultobj;
6074 wxPyGridTableBase * _arg0;
6075 wxGridCellAttr * _arg1;
6076 int _arg2;
6077 PyObject * _argo0 = 0;
6078 PyObject * _argo1 = 0;
6079 char *_kwnames[] = { "self","attr","col", NULL };
6080
6081 self = self;
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6083 return NULL;
6084 if (_argo0) {
6085 if (_argo0 == Py_None) { _arg0 = NULL; }
6086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6088 return NULL;
6089 }
6090 }
6091 if (_argo1) {
6092 if (_argo1 == Py_None) { _arg1 = NULL; }
6093 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6094 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6095 return NULL;
6096 }
6097 }
6098{
6099 wxPy_BEGIN_ALLOW_THREADS;
6100 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6101
6102 wxPy_END_ALLOW_THREADS;
6103} Py_INCREF(Py_None);
6104 _resultobj = Py_None;
6105 return _resultobj;
6106}
6107
6108static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6109 wxGridStringTable *src;
6110 wxGridTableBase *dest;
6111 src = (wxGridStringTable *) ptr;
6112 dest = (wxGridTableBase *) src;
6113 return (void *) dest;
6114}
6115
9416aa89
RD
6116static void *SwigwxGridStringTableTowxObject(void *ptr) {
6117 wxGridStringTable *src;
6118 wxObject *dest;
6119 src = (wxGridStringTable *) ptr;
6120 dest = (wxObject *) src;
6121 return (void *) dest;
6122}
6123
f6bcfd97
BP
6124#define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6125static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject * _resultobj;
6127 wxGridStringTable * _result;
6128 int _arg0 = (int ) 0;
6129 int _arg1 = (int ) 0;
6130 char *_kwnames[] = { "numRows","numCols", NULL };
6131 char _ptemp[128];
6132
6133 self = self;
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6135 return NULL;
6136{
6137 wxPy_BEGIN_ALLOW_THREADS;
6138 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6139
6140 wxPy_END_ALLOW_THREADS;
6141} if (_result) {
6142 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6143 _resultobj = Py_BuildValue("s",_ptemp);
6144 } else {
6145 Py_INCREF(Py_None);
6146 _resultobj = Py_None;
6147 }
6148 return _resultobj;
6149}
6150
6151#define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6152static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject * _resultobj;
6154 wxGridTableMessage * _result;
6155 wxGridTableBase * _arg0;
6156 int _arg1;
6157 int _arg2 = (int ) -1;
6158 int _arg3 = (int ) -1;
6159 PyObject * _argo0 = 0;
6160 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6161 char _ptemp[128];
6162
6163 self = self;
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6165 return NULL;
6166 if (_argo0) {
6167 if (_argo0 == Py_None) { _arg0 = NULL; }
6168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6170 return NULL;
6171 }
6172 }
6173{
6174 wxPy_BEGIN_ALLOW_THREADS;
6175 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6176
6177 wxPy_END_ALLOW_THREADS;
6178} if (_result) {
6179 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6180 _resultobj = Py_BuildValue("s",_ptemp);
6181 } else {
6182 Py_INCREF(Py_None);
6183 _resultobj = Py_None;
6184 }
6185 return _resultobj;
6186}
6187
6188#define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6189static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6190 PyObject * _resultobj;
6191 wxGridTableMessage * _arg0;
6192 PyObject * _argo0 = 0;
6193 char *_kwnames[] = { "self", NULL };
6194
6195 self = self;
6196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6197 return NULL;
6198 if (_argo0) {
6199 if (_argo0 == Py_None) { _arg0 = NULL; }
6200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6202 return NULL;
6203 }
6204 }
6205{
6206 wxPy_BEGIN_ALLOW_THREADS;
6207 delete_wxGridTableMessage(_arg0);
6208
6209 wxPy_END_ALLOW_THREADS;
6210} Py_INCREF(Py_None);
6211 _resultobj = Py_None;
6212 return _resultobj;
6213}
6214
6215#define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6216static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6217 PyObject * _resultobj;
6218 wxGridTableMessage * _arg0;
6219 wxGridTableBase * _arg1;
6220 PyObject * _argo0 = 0;
6221 PyObject * _argo1 = 0;
6222 char *_kwnames[] = { "self","table", NULL };
6223
6224 self = self;
6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6226 return NULL;
6227 if (_argo0) {
6228 if (_argo0 == Py_None) { _arg0 = NULL; }
6229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6231 return NULL;
6232 }
6233 }
6234 if (_argo1) {
6235 if (_argo1 == Py_None) { _arg1 = NULL; }
6236 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6237 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6238 return NULL;
6239 }
6240 }
6241{
6242 wxPy_BEGIN_ALLOW_THREADS;
6243 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6244
6245 wxPy_END_ALLOW_THREADS;
6246} Py_INCREF(Py_None);
6247 _resultobj = Py_None;
6248 return _resultobj;
6249}
6250
6251#define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6252static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject * _resultobj;
6254 wxGridTableBase * _result;
6255 wxGridTableMessage * _arg0;
6256 PyObject * _argo0 = 0;
6257 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
6258
6259 self = self;
6260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6261 return NULL;
6262 if (_argo0) {
6263 if (_argo0 == Py_None) { _arg0 = NULL; }
6264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6266 return NULL;
6267 }
6268 }
6269{
6270 wxPy_BEGIN_ALLOW_THREADS;
6271 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6272
6273 wxPy_END_ALLOW_THREADS;
9416aa89 6274}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
6275 return _resultobj;
6276}
6277
6278#define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6279static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6280 PyObject * _resultobj;
6281 wxGridTableMessage * _arg0;
6282 int _arg1;
6283 PyObject * _argo0 = 0;
6284 char *_kwnames[] = { "self","id", NULL };
6285
6286 self = self;
6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6288 return NULL;
6289 if (_argo0) {
6290 if (_argo0 == Py_None) { _arg0 = NULL; }
6291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6293 return NULL;
6294 }
6295 }
6296{
6297 wxPy_BEGIN_ALLOW_THREADS;
6298 wxGridTableMessage_SetId(_arg0,_arg1);
6299
6300 wxPy_END_ALLOW_THREADS;
6301} Py_INCREF(Py_None);
6302 _resultobj = Py_None;
6303 return _resultobj;
6304}
6305
6306#define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6307static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6308 PyObject * _resultobj;
6309 int _result;
6310 wxGridTableMessage * _arg0;
6311 PyObject * _argo0 = 0;
6312 char *_kwnames[] = { "self", NULL };
6313
6314 self = self;
6315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6316 return NULL;
6317 if (_argo0) {
6318 if (_argo0 == Py_None) { _arg0 = NULL; }
6319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6321 return NULL;
6322 }
6323 }
6324{
6325 wxPy_BEGIN_ALLOW_THREADS;
6326 _result = (int )wxGridTableMessage_GetId(_arg0);
6327
6328 wxPy_END_ALLOW_THREADS;
6329} _resultobj = Py_BuildValue("i",_result);
6330 return _resultobj;
6331}
6332
6333#define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6334static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6335 PyObject * _resultobj;
6336 wxGridTableMessage * _arg0;
6337 int _arg1;
6338 PyObject * _argo0 = 0;
6339 char *_kwnames[] = { "self","comInt1", NULL };
6340
6341 self = self;
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6343 return NULL;
6344 if (_argo0) {
6345 if (_argo0 == Py_None) { _arg0 = NULL; }
6346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6348 return NULL;
6349 }
6350 }
6351{
6352 wxPy_BEGIN_ALLOW_THREADS;
6353 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6354
6355 wxPy_END_ALLOW_THREADS;
6356} Py_INCREF(Py_None);
6357 _resultobj = Py_None;
6358 return _resultobj;
6359}
6360
6361#define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6362static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6363 PyObject * _resultobj;
6364 int _result;
6365 wxGridTableMessage * _arg0;
6366 PyObject * _argo0 = 0;
6367 char *_kwnames[] = { "self", NULL };
6368
6369 self = self;
6370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6371 return NULL;
6372 if (_argo0) {
6373 if (_argo0 == Py_None) { _arg0 = NULL; }
6374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6376 return NULL;
6377 }
6378 }
6379{
6380 wxPy_BEGIN_ALLOW_THREADS;
6381 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6382
6383 wxPy_END_ALLOW_THREADS;
6384} _resultobj = Py_BuildValue("i",_result);
6385 return _resultobj;
6386}
6387
6388#define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6389static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject * _resultobj;
6391 wxGridTableMessage * _arg0;
6392 int _arg1;
6393 PyObject * _argo0 = 0;
6394 char *_kwnames[] = { "self","comInt2", NULL };
6395
6396 self = self;
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6398 return NULL;
6399 if (_argo0) {
6400 if (_argo0 == Py_None) { _arg0 = NULL; }
6401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6403 return NULL;
6404 }
6405 }
6406{
6407 wxPy_BEGIN_ALLOW_THREADS;
6408 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6409
6410 wxPy_END_ALLOW_THREADS;
6411} Py_INCREF(Py_None);
6412 _resultobj = Py_None;
6413 return _resultobj;
6414}
6415
6416#define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6417static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6418 PyObject * _resultobj;
6419 int _result;
6420 wxGridTableMessage * _arg0;
6421 PyObject * _argo0 = 0;
6422 char *_kwnames[] = { "self", NULL };
6423
6424 self = self;
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6426 return NULL;
6427 if (_argo0) {
6428 if (_argo0 == Py_None) { _arg0 = NULL; }
6429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6431 return NULL;
6432 }
6433 }
6434{
6435 wxPy_BEGIN_ALLOW_THREADS;
6436 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6437
6438 wxPy_END_ALLOW_THREADS;
6439} _resultobj = Py_BuildValue("i",_result);
6440 return _resultobj;
6441}
6442
6443#define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6444static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6445 PyObject * _resultobj;
6446 wxGridCellCoords * _result;
6447 int _arg0 = (int ) -1;
6448 int _arg1 = (int ) -1;
6449 char *_kwnames[] = { "r","c", NULL };
6450 char _ptemp[128];
6451
6452 self = self;
6453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6454 return NULL;
6455{
6456 wxPy_BEGIN_ALLOW_THREADS;
6457 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6458
6459 wxPy_END_ALLOW_THREADS;
6460} if (_result) {
6461 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6462 _resultobj = Py_BuildValue("s",_ptemp);
6463 } else {
6464 Py_INCREF(Py_None);
6465 _resultobj = Py_None;
6466 }
6467 return _resultobj;
6468}
6469
6470#define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6471static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6472 PyObject * _resultobj;
6473 wxGridCellCoords * _arg0;
6474 PyObject * _argo0 = 0;
6475 char *_kwnames[] = { "self", NULL };
6476
6477 self = self;
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6479 return NULL;
6480 if (_argo0) {
6481 if (_argo0 == Py_None) { _arg0 = NULL; }
6482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6484 return NULL;
6485 }
6486 }
6487{
6488 wxPy_BEGIN_ALLOW_THREADS;
6489 delete_wxGridCellCoords(_arg0);
6490
6491 wxPy_END_ALLOW_THREADS;
6492} Py_INCREF(Py_None);
6493 _resultobj = Py_None;
6494 return _resultobj;
6495}
6496
6497#define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6498static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6499 PyObject * _resultobj;
6500 int _result;
6501 wxGridCellCoords * _arg0;
6502 PyObject * _argo0 = 0;
6503 char *_kwnames[] = { "self", NULL };
6504
6505 self = self;
6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6507 return NULL;
6508 if (_argo0) {
6509 if (_argo0 == Py_None) { _arg0 = NULL; }
6510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6512 return NULL;
6513 }
6514 }
6515{
6516 wxPy_BEGIN_ALLOW_THREADS;
6517 _result = (int )wxGridCellCoords_GetRow(_arg0);
6518
6519 wxPy_END_ALLOW_THREADS;
6520} _resultobj = Py_BuildValue("i",_result);
6521 return _resultobj;
6522}
6523
6524#define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6525static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject * _resultobj;
6527 wxGridCellCoords * _arg0;
6528 int _arg1;
6529 PyObject * _argo0 = 0;
6530 char *_kwnames[] = { "self","n", NULL };
6531
6532 self = self;
6533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6534 return NULL;
6535 if (_argo0) {
6536 if (_argo0 == Py_None) { _arg0 = NULL; }
6537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6539 return NULL;
6540 }
6541 }
6542{
6543 wxPy_BEGIN_ALLOW_THREADS;
6544 wxGridCellCoords_SetRow(_arg0,_arg1);
6545
6546 wxPy_END_ALLOW_THREADS;
6547} Py_INCREF(Py_None);
6548 _resultobj = Py_None;
6549 return _resultobj;
6550}
6551
6552#define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6553static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6554 PyObject * _resultobj;
6555 int _result;
6556 wxGridCellCoords * _arg0;
6557 PyObject * _argo0 = 0;
6558 char *_kwnames[] = { "self", NULL };
6559
6560 self = self;
6561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6562 return NULL;
6563 if (_argo0) {
6564 if (_argo0 == Py_None) { _arg0 = NULL; }
6565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6567 return NULL;
6568 }
6569 }
6570{
6571 wxPy_BEGIN_ALLOW_THREADS;
6572 _result = (int )wxGridCellCoords_GetCol(_arg0);
6573
6574 wxPy_END_ALLOW_THREADS;
6575} _resultobj = Py_BuildValue("i",_result);
6576 return _resultobj;
6577}
6578
6579#define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6580static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6581 PyObject * _resultobj;
6582 wxGridCellCoords * _arg0;
6583 int _arg1;
6584 PyObject * _argo0 = 0;
6585 char *_kwnames[] = { "self","n", NULL };
6586
6587 self = self;
6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6589 return NULL;
6590 if (_argo0) {
6591 if (_argo0 == Py_None) { _arg0 = NULL; }
6592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6594 return NULL;
6595 }
6596 }
6597{
6598 wxPy_BEGIN_ALLOW_THREADS;
6599 wxGridCellCoords_SetCol(_arg0,_arg1);
6600
6601 wxPy_END_ALLOW_THREADS;
6602} Py_INCREF(Py_None);
6603 _resultobj = Py_None;
6604 return _resultobj;
6605}
6606
6607#define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6608static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6609 PyObject * _resultobj;
6610 wxGridCellCoords * _arg0;
6611 int _arg1;
6612 int _arg2;
6613 PyObject * _argo0 = 0;
6614 char *_kwnames[] = { "self","row","col", NULL };
6615
6616 self = self;
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6618 return NULL;
6619 if (_argo0) {
6620 if (_argo0 == Py_None) { _arg0 = NULL; }
6621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6623 return NULL;
6624 }
6625 }
6626{
6627 wxPy_BEGIN_ALLOW_THREADS;
6628 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6629
6630 wxPy_END_ALLOW_THREADS;
6631} Py_INCREF(Py_None);
6632 _resultobj = Py_None;
6633 return _resultobj;
6634}
6635
6636static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6637 PyObject* tup = PyTuple_New(2);
6638 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6639 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6640 return tup;
6641 }
6642static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6643 PyObject * _resultobj;
6644 PyObject * _result;
6645 wxGridCellCoords * _arg0;
6646 PyObject * _argo0 = 0;
6647 char *_kwnames[] = { "self", NULL };
6648
6649 self = self;
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6651 return NULL;
6652 if (_argo0) {
6653 if (_argo0 == Py_None) { _arg0 = NULL; }
6654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6656 return NULL;
6657 }
6658 }
6659{
6660 wxPy_BEGIN_ALLOW_THREADS;
6661 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6662
6663 wxPy_END_ALLOW_THREADS;
6664}{
6665 _resultobj = _result;
6666}
6667 return _resultobj;
6668}
6669
6670static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6671 return *self != other;
6672 }
6673static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6674 PyObject * _resultobj;
6675 int _result;
6676 wxGridCellCoords * _arg0;
6677 wxGridCellCoords * _arg1;
6678 PyObject * _argo0 = 0;
6679 PyObject * _argo1 = 0;
6680 char *_kwnames[] = { "self","other", NULL };
6681
6682 self = self;
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6684 return NULL;
6685 if (_argo0) {
6686 if (_argo0 == Py_None) { _arg0 = NULL; }
6687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6689 return NULL;
6690 }
6691 }
6692 if (_argo1) {
6693 if (_argo1 == Py_None) { _arg1 = NULL; }
6694 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6695 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6696 return NULL;
6697 }
6698 }
6699{
6700 wxPy_BEGIN_ALLOW_THREADS;
6701 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6702
6703 wxPy_END_ALLOW_THREADS;
6704} _resultobj = Py_BuildValue("i",_result);
6705 return _resultobj;
6706}
6707
6708static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6709 wxGrid *src;
6710 wxScrolledWindow *dest;
6711 src = (wxGrid *) ptr;
6712 dest = (wxScrolledWindow *) src;
6713 return (void *) dest;
6714}
6715
6716static void *SwigwxGridTowxPanel(void *ptr) {
6717 wxGrid *src;
6718 wxPanel *dest;
6719 src = (wxGrid *) ptr;
6720 dest = (wxPanel *) src;
6721 return (void *) dest;
6722}
6723
6724static void *SwigwxGridTowxWindow(void *ptr) {
6725 wxGrid *src;
6726 wxWindow *dest;
6727 src = (wxGrid *) ptr;
6728 dest = (wxWindow *) src;
6729 return (void *) dest;
6730}
6731
6732static void *SwigwxGridTowxEvtHandler(void *ptr) {
6733 wxGrid *src;
6734 wxEvtHandler *dest;
6735 src = (wxGrid *) ptr;
6736 dest = (wxEvtHandler *) src;
6737 return (void *) dest;
6738}
6739
9416aa89
RD
6740static void *SwigwxGridTowxObject(void *ptr) {
6741 wxGrid *src;
6742 wxObject *dest;
6743 src = (wxGrid *) ptr;
6744 dest = (wxObject *) src;
6745 return (void *) dest;
6746}
6747
f6bcfd97
BP
6748#define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6749static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6750 PyObject * _resultobj;
6751 wxGrid * _result;
6752 wxWindow * _arg0;
6753 wxWindowID _arg1;
6754 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6755 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6756 long _arg4 = (long ) wxWANTS_CHARS;
6757 char * _arg5 = (char *) wxPanelNameStr;
6758 PyObject * _argo0 = 0;
6759 wxPoint temp;
6760 PyObject * _obj2 = 0;
6761 wxSize temp0;
6762 PyObject * _obj3 = 0;
6763 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6764 char _ptemp[128];
6765
6766 self = self;
6767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
6768 return NULL;
6769 if (_argo0) {
6770 if (_argo0 == Py_None) { _arg0 = NULL; }
6771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6773 return NULL;
6774 }
6775 }
6776 if (_obj2)
6777{
6778 _arg2 = &temp;
6779 if (! wxPoint_helper(_obj2, &_arg2))
6780 return NULL;
6781}
6782 if (_obj3)
6783{
6784 _arg3 = &temp0;
6785 if (! wxSize_helper(_obj3, &_arg3))
6786 return NULL;
6787}
6788{
6789 wxPy_BEGIN_ALLOW_THREADS;
6790 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
6791
6792 wxPy_END_ALLOW_THREADS;
6793} if (_result) {
6794 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
6795 _resultobj = Py_BuildValue("s",_ptemp);
6796 } else {
6797 Py_INCREF(Py_None);
6798 _resultobj = Py_None;
6799 }
6800 return _resultobj;
6801}
6802
6803#define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6804static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject * _resultobj;
6806 bool _result;
6807 wxGrid * _arg0;
6808 int _arg1;
6809 int _arg2;
6810 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6811 PyObject * _argo0 = 0;
6812 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
6813
6814 self = self;
6815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6816 return NULL;
6817 if (_argo0) {
6818 if (_argo0 == Py_None) { _arg0 = NULL; }
6819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6821 return NULL;
6822 }
6823 }
6824{
6825 wxPy_BEGIN_ALLOW_THREADS;
6826 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
6827
6828 wxPy_END_ALLOW_THREADS;
6829} _resultobj = Py_BuildValue("i",_result);
6830 return _resultobj;
6831}
6832
6833#define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6834static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6835 PyObject * _resultobj;
6836 wxGrid * _arg0;
6837 WXGRIDSELECTIONMODES _arg1;
6838 PyObject * _argo0 = 0;
6839 char *_kwnames[] = { "self","selmode", NULL };
6840
6841 self = self;
6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
6843 return NULL;
6844 if (_argo0) {
6845 if (_argo0 == Py_None) { _arg0 = NULL; }
6846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6848 return NULL;
6849 }
6850 }
6851{
6852 wxPy_BEGIN_ALLOW_THREADS;
6853 wxGrid_SetSelectionMode(_arg0,_arg1);
6854
6855 wxPy_END_ALLOW_THREADS;
6856} Py_INCREF(Py_None);
6857 _resultobj = Py_None;
6858 return _resultobj;
6859}
6860
6861#define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6862static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6863 PyObject * _resultobj;
6864 int _result;
6865 wxGrid * _arg0;
6866 PyObject * _argo0 = 0;
6867 char *_kwnames[] = { "self", NULL };
6868
6869 self = self;
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
6871 return NULL;
6872 if (_argo0) {
6873 if (_argo0 == Py_None) { _arg0 = NULL; }
6874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6876 return NULL;
6877 }
6878 }
6879{
6880 wxPy_BEGIN_ALLOW_THREADS;
6881 _result = (int )wxGrid_GetNumberRows(_arg0);
6882
6883 wxPy_END_ALLOW_THREADS;
6884} _resultobj = Py_BuildValue("i",_result);
6885 return _resultobj;
6886}
6887
6888#define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6889static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6890 PyObject * _resultobj;
6891 int _result;
6892 wxGrid * _arg0;
6893 PyObject * _argo0 = 0;
6894 char *_kwnames[] = { "self", NULL };
6895
6896 self = self;
6897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
6898 return NULL;
6899 if (_argo0) {
6900 if (_argo0 == Py_None) { _arg0 = NULL; }
6901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6903 return NULL;
6904 }
6905 }
6906{
6907 wxPy_BEGIN_ALLOW_THREADS;
6908 _result = (int )wxGrid_GetNumberCols(_arg0);
6909
6910 wxPy_END_ALLOW_THREADS;
6911} _resultobj = Py_BuildValue("i",_result);
6912 return _resultobj;
6913}
6914
6915#define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6916static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6917 PyObject * _resultobj;
6918 bool _result;
6919 wxGrid * _arg0;
6920 wxGridTableMessage * _arg1;
6921 PyObject * _argo0 = 0;
6922 PyObject * _argo1 = 0;
6923 char *_kwnames[] = { "self","arg2", NULL };
6924
6925 self = self;
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
6927 return NULL;
6928 if (_argo0) {
6929 if (_argo0 == Py_None) { _arg0 = NULL; }
6930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6932 return NULL;
6933 }
6934 }
6935 if (_argo1) {
6936 if (_argo1 == Py_None) { _arg1 = NULL; }
6937 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
6938 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6939 return NULL;
6940 }
6941 }
6942{
6943 wxPy_BEGIN_ALLOW_THREADS;
6944 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
6945
6946 wxPy_END_ALLOW_THREADS;
6947} _resultobj = Py_BuildValue("i",_result);
6948 return _resultobj;
6949}
6950
6951#define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6952static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6953 PyObject * _resultobj;
6954 wxGridTableBase * _result;
6955 wxGrid * _arg0;
6956 PyObject * _argo0 = 0;
6957 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
6958
6959 self = self;
6960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
6961 return NULL;
6962 if (_argo0) {
6963 if (_argo0 == Py_None) { _arg0 = NULL; }
6964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6966 return NULL;
6967 }
6968 }
6969{
6970 wxPy_BEGIN_ALLOW_THREADS;
6971 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
6972
6973 wxPy_END_ALLOW_THREADS;
9416aa89 6974}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
6975 return _resultobj;
6976}
6977
6978#define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6979static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6980 PyObject * _resultobj;
6981 bool _result;
6982 wxGrid * _arg0;
6983 wxGridTableBase * _arg1;
6984 bool _arg2 = (bool ) FALSE;
6985 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6986 PyObject * _argo0 = 0;
6987 PyObject * _argo1 = 0;
6988 int tempbool2 = (int) FALSE;
6989 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
6990
6991 self = self;
6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
6993 return NULL;
6994 if (_argo0) {
6995 if (_argo0 == Py_None) { _arg0 = NULL; }
6996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
6998 return NULL;
6999 }
7000 }
7001 if (_argo1) {
7002 if (_argo1 == Py_None) { _arg1 = NULL; }
7003 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7004 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7005 return NULL;
7006 }
7007 }
7008 _arg2 = (bool ) tempbool2;
7009{
7010 wxPy_BEGIN_ALLOW_THREADS;
7011 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7012
7013 wxPy_END_ALLOW_THREADS;
7014} _resultobj = Py_BuildValue("i",_result);
7015 return _resultobj;
7016}
7017
7018#define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7019static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7020 PyObject * _resultobj;
7021 wxGrid * _arg0;
7022 PyObject * _argo0 = 0;
7023 char *_kwnames[] = { "self", NULL };
7024
7025 self = self;
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7027 return NULL;
7028 if (_argo0) {
7029 if (_argo0 == Py_None) { _arg0 = NULL; }
7030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7032 return NULL;
7033 }
7034 }
7035{
7036 wxPy_BEGIN_ALLOW_THREADS;
7037 wxGrid_ClearGrid(_arg0);
7038
7039 wxPy_END_ALLOW_THREADS;
7040} Py_INCREF(Py_None);
7041 _resultobj = Py_None;
7042 return _resultobj;
7043}
7044
7045#define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7046static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject * _resultobj;
7048 bool _result;
7049 wxGrid * _arg0;
7050 int _arg1 = (int ) 0;
7051 int _arg2 = (int ) 1;
7052 bool _arg3 = (bool ) TRUE;
7053 PyObject * _argo0 = 0;
7054 int tempbool3 = (int) TRUE;
7055 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7056
7057 self = self;
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7059 return NULL;
7060 if (_argo0) {
7061 if (_argo0 == Py_None) { _arg0 = NULL; }
7062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7064 return NULL;
7065 }
7066 }
7067 _arg3 = (bool ) tempbool3;
7068{
7069 wxPy_BEGIN_ALLOW_THREADS;
7070 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7071
7072 wxPy_END_ALLOW_THREADS;
7073} _resultobj = Py_BuildValue("i",_result);
7074 return _resultobj;
7075}
7076
7077#define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7078static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject * _resultobj;
7080 bool _result;
7081 wxGrid * _arg0;
7082 int _arg1 = (int ) 1;
7083 bool _arg2 = (bool ) TRUE;
7084 PyObject * _argo0 = 0;
7085 int tempbool2 = (int) TRUE;
7086 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7087
7088 self = self;
7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7090 return NULL;
7091 if (_argo0) {
7092 if (_argo0 == Py_None) { _arg0 = NULL; }
7093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7095 return NULL;
7096 }
7097 }
7098 _arg2 = (bool ) tempbool2;
7099{
7100 wxPy_BEGIN_ALLOW_THREADS;
7101 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7102
7103 wxPy_END_ALLOW_THREADS;
7104} _resultobj = Py_BuildValue("i",_result);
7105 return _resultobj;
7106}
7107
7108#define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7109static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7110 PyObject * _resultobj;
7111 bool _result;
7112 wxGrid * _arg0;
7113 int _arg1 = (int ) 0;
7114 int _arg2 = (int ) 1;
7115 bool _arg3 = (bool ) TRUE;
7116 PyObject * _argo0 = 0;
7117 int tempbool3 = (int) TRUE;
7118 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7119
7120 self = self;
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7122 return NULL;
7123 if (_argo0) {
7124 if (_argo0 == Py_None) { _arg0 = NULL; }
7125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7127 return NULL;
7128 }
7129 }
7130 _arg3 = (bool ) tempbool3;
7131{
7132 wxPy_BEGIN_ALLOW_THREADS;
7133 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7134
7135 wxPy_END_ALLOW_THREADS;
7136} _resultobj = Py_BuildValue("i",_result);
7137 return _resultobj;
7138}
7139
7140#define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7141static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7142 PyObject * _resultobj;
7143 bool _result;
7144 wxGrid * _arg0;
7145 int _arg1 = (int ) 0;
7146 int _arg2 = (int ) 1;
7147 bool _arg3 = (bool ) TRUE;
7148 PyObject * _argo0 = 0;
7149 int tempbool3 = (int) TRUE;
7150 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7151
7152 self = self;
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7154 return NULL;
7155 if (_argo0) {
7156 if (_argo0 == Py_None) { _arg0 = NULL; }
7157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7159 return NULL;
7160 }
7161 }
7162 _arg3 = (bool ) tempbool3;
7163{
7164 wxPy_BEGIN_ALLOW_THREADS;
7165 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7166
7167 wxPy_END_ALLOW_THREADS;
7168} _resultobj = Py_BuildValue("i",_result);
7169 return _resultobj;
7170}
7171
7172#define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7173static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject * _resultobj;
7175 bool _result;
7176 wxGrid * _arg0;
7177 int _arg1 = (int ) 1;
7178 bool _arg2 = (bool ) TRUE;
7179 PyObject * _argo0 = 0;
7180 int tempbool2 = (int) TRUE;
7181 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7182
7183 self = self;
7184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7185 return NULL;
7186 if (_argo0) {
7187 if (_argo0 == Py_None) { _arg0 = NULL; }
7188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7190 return NULL;
7191 }
7192 }
7193 _arg2 = (bool ) tempbool2;
7194{
7195 wxPy_BEGIN_ALLOW_THREADS;
7196 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7197
7198 wxPy_END_ALLOW_THREADS;
7199} _resultobj = Py_BuildValue("i",_result);
7200 return _resultobj;
7201}
7202
7203#define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7204static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7205 PyObject * _resultobj;
7206 bool _result;
7207 wxGrid * _arg0;
7208 int _arg1 = (int ) 0;
7209 int _arg2 = (int ) 1;
7210 bool _arg3 = (bool ) TRUE;
7211 PyObject * _argo0 = 0;
7212 int tempbool3 = (int) TRUE;
7213 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7214
7215 self = self;
7216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7217 return NULL;
7218 if (_argo0) {
7219 if (_argo0 == Py_None) { _arg0 = NULL; }
7220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7222 return NULL;
7223 }
7224 }
7225 _arg3 = (bool ) tempbool3;
7226{
7227 wxPy_BEGIN_ALLOW_THREADS;
7228 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7229
7230 wxPy_END_ALLOW_THREADS;
7231} _resultobj = Py_BuildValue("i",_result);
7232 return _resultobj;
7233}
7234
7235#define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7236static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7237 PyObject * _resultobj;
7238 wxGrid * _arg0;
7239 wxDC * _arg1;
7240 wxGridCellAttr * _arg2;
7241 PyObject * _argo0 = 0;
7242 PyObject * _argo1 = 0;
7243 PyObject * _argo2 = 0;
7244 char *_kwnames[] = { "self","dc","attr", NULL };
7245
7246 self = self;
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7248 return NULL;
7249 if (_argo0) {
7250 if (_argo0 == Py_None) { _arg0 = NULL; }
7251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7253 return NULL;
7254 }
7255 }
7256 if (_argo1) {
7257 if (_argo1 == Py_None) { _arg1 = NULL; }
7258 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7259 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7260 return NULL;
7261 }
7262 }
7263 if (_argo2) {
7264 if (_argo2 == Py_None) { _arg2 = NULL; }
7265 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7266 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7267 return NULL;
7268 }
7269 }
7270{
7271 wxPy_BEGIN_ALLOW_THREADS;
7272 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7273
7274 wxPy_END_ALLOW_THREADS;
7275} Py_INCREF(Py_None);
7276 _resultobj = Py_None;
7277 return _resultobj;
7278}
7279
7280#define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7281static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7282 PyObject * _resultobj;
7283 wxGrid * _arg0;
7284 wxDC * _arg1;
7285 wxString * _arg2;
7286 wxRect * _arg3;
7287 int _arg4 = (int ) wxLEFT;
7288 int _arg5 = (int ) wxTOP;
7289 PyObject * _argo0 = 0;
7290 PyObject * _argo1 = 0;
7291 PyObject * _obj2 = 0;
7292 wxRect temp;
7293 PyObject * _obj3 = 0;
7294 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7295
7296 self = self;
7297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7298 return NULL;
7299 if (_argo0) {
7300 if (_argo0 == Py_None) { _arg0 = NULL; }
7301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7303 return NULL;
7304 }
7305 }
7306 if (_argo1) {
7307 if (_argo1 == Py_None) { _arg1 = NULL; }
7308 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7309 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7310 return NULL;
7311 }
7312 }
7313{
185d7c3e
RD
7314#if PYTHON_API_VERSION >= 1009
7315 char* tmpPtr; int tmpSize;
7316 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 7317 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
7318 return NULL;
7319 }
7320 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7321 return NULL;
7322 _arg2 = new wxString(tmpPtr, tmpSize);
7323#else
f6bcfd97
BP
7324 if (!PyString_Check(_obj2)) {
7325 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7326 return NULL;
7327 }
185d7c3e
RD
7328 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7329#endif
f6bcfd97
BP
7330}
7331{
7332 _arg3 = &temp;
7333 if (! wxRect_helper(_obj3, &_arg3))
7334 return NULL;
7335}
7336{
7337 wxPy_BEGIN_ALLOW_THREADS;
7338 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7339
7340 wxPy_END_ALLOW_THREADS;
7341} Py_INCREF(Py_None);
7342 _resultobj = Py_None;
7343{
7344 if (_obj2)
7345 delete _arg2;
7346}
7347 return _resultobj;
7348}
7349
7350#define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7351static PyObject *_wrap_wxGrid_StringToLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject * _resultobj;
7353 wxGrid * _arg0;
7354 wxString * _arg1;
7355 wxArrayString * _arg2;
7356 PyObject * _argo0 = 0;
7357 PyObject * _obj1 = 0;
7358 PyObject * _argo2 = 0;
7359 char *_kwnames[] = { "self","value","lines", NULL };
7360
7361 self = self;
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_StringToLines",_kwnames,&_argo0,&_obj1,&_argo2))
7363 return NULL;
7364 if (_argo0) {
7365 if (_argo0 == Py_None) { _arg0 = NULL; }
7366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7368 return NULL;
7369 }
7370 }
7371{
185d7c3e
RD
7372#if PYTHON_API_VERSION >= 1009
7373 char* tmpPtr; int tmpSize;
7374 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 7375 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
7376 return NULL;
7377 }
7378 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7379 return NULL;
7380 _arg1 = new wxString(tmpPtr, tmpSize);
7381#else
f6bcfd97
BP
7382 if (!PyString_Check(_obj1)) {
7383 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7384 return NULL;
7385 }
185d7c3e
RD
7386 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7387#endif
f6bcfd97
BP
7388}
7389 if (_argo2) {
7390 if (_argo2 == Py_None) { _arg2 = NULL; }
7391 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7392 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7393 return NULL;
7394 }
7395 }
7396{
7397 wxPy_BEGIN_ALLOW_THREADS;
7398 wxGrid_StringToLines(_arg0,*_arg1,*_arg2);
7399
7400 wxPy_END_ALLOW_THREADS;
7401} Py_INCREF(Py_None);
7402 _resultobj = Py_None;
7403{
7404 if (_obj1)
7405 delete _arg1;
7406}
7407 return _resultobj;
7408}
7409
7410#define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7411static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject * _resultobj;
7413 wxGrid * _arg0;
7414 wxDC * _arg1;
7415 wxArrayString * _arg2;
7416 long * _arg3;
7417 long temp;
7418 long * _arg4;
7419 long temp0;
7420 PyObject * _argo0 = 0;
7421 PyObject * _argo1 = 0;
7422 PyObject * _argo2 = 0;
7423 char *_kwnames[] = { "self","dc","lines", NULL };
7424
7425 self = self;
7426{
7427 _arg3 = &temp;
7428}
7429{
7430 _arg4 = &temp0;
7431}
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_argo2))
7433 return NULL;
7434 if (_argo0) {
7435 if (_argo0 == Py_None) { _arg0 = NULL; }
7436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7438 return NULL;
7439 }
7440 }
7441 if (_argo1) {
7442 if (_argo1 == Py_None) { _arg1 = NULL; }
7443 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7444 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7445 return NULL;
7446 }
7447 }
7448 if (_argo2) {
7449 if (_argo2 == Py_None) { _arg2 = NULL; }
7450 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7451 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7452 return NULL;
7453 }
7454 }
7455{
7456 wxPy_BEGIN_ALLOW_THREADS;
7457 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7458
7459 wxPy_END_ALLOW_THREADS;
7460} Py_INCREF(Py_None);
7461 _resultobj = Py_None;
7462{
7463 PyObject *o;
7464 o = PyInt_FromLong((long) (*_arg3));
7465 _resultobj = t_output_helper(_resultobj, o);
7466}
7467{
7468 PyObject *o;
7469 o = PyInt_FromLong((long) (*_arg4));
7470 _resultobj = t_output_helper(_resultobj, o);
7471}
7472 return _resultobj;
7473}
7474
7475#define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7476static PyObject *_wrap_wxGrid_BeginBatch(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_BeginBatch",_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_BeginBatch. Expected _wxGrid_p.");
7489 return NULL;
7490 }
7491 }
7492{
7493 wxPy_BEGIN_ALLOW_THREADS;
7494 wxGrid_BeginBatch(_arg0);
7495
7496 wxPy_END_ALLOW_THREADS;
7497} Py_INCREF(Py_None);
7498 _resultobj = Py_None;
7499 return _resultobj;
7500}
7501
7502#define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7503static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject * _resultobj;
7505 wxGrid * _arg0;
7506 PyObject * _argo0 = 0;
7507 char *_kwnames[] = { "self", NULL };
7508
7509 self = self;
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7511 return NULL;
7512 if (_argo0) {
7513 if (_argo0 == Py_None) { _arg0 = NULL; }
7514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7516 return NULL;
7517 }
7518 }
7519{
7520 wxPy_BEGIN_ALLOW_THREADS;
7521 wxGrid_EndBatch(_arg0);
7522
7523 wxPy_END_ALLOW_THREADS;
7524} Py_INCREF(Py_None);
7525 _resultobj = Py_None;
7526 return _resultobj;
7527}
7528
7529#define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7530static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7531 PyObject * _resultobj;
7532 int _result;
7533 wxGrid * _arg0;
7534 PyObject * _argo0 = 0;
7535 char *_kwnames[] = { "self", NULL };
7536
7537 self = self;
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7539 return NULL;
7540 if (_argo0) {
7541 if (_argo0 == Py_None) { _arg0 = NULL; }
7542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7544 return NULL;
7545 }
7546 }
7547{
7548 wxPy_BEGIN_ALLOW_THREADS;
7549 _result = (int )wxGrid_GetBatchCount(_arg0);
7550
7551 wxPy_END_ALLOW_THREADS;
7552} _resultobj = Py_BuildValue("i",_result);
7553 return _resultobj;
7554}
7555
7556#define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7557static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7558 PyObject * _resultobj;
7559 bool _result;
7560 wxGrid * _arg0;
7561 PyObject * _argo0 = 0;
7562 char *_kwnames[] = { "self", NULL };
7563
7564 self = self;
7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7566 return NULL;
7567 if (_argo0) {
7568 if (_argo0 == Py_None) { _arg0 = NULL; }
7569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7571 return NULL;
7572 }
7573 }
7574{
7575 wxPy_BEGIN_ALLOW_THREADS;
7576 _result = (bool )wxGrid_IsEditable(_arg0);
7577
7578 wxPy_END_ALLOW_THREADS;
7579} _resultobj = Py_BuildValue("i",_result);
7580 return _resultobj;
7581}
7582
7583#define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7584static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7585 PyObject * _resultobj;
7586 wxGrid * _arg0;
7587 bool _arg1;
7588 PyObject * _argo0 = 0;
7589 int tempbool1;
7590 char *_kwnames[] = { "self","edit", NULL };
7591
7592 self = self;
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7594 return NULL;
7595 if (_argo0) {
7596 if (_argo0 == Py_None) { _arg0 = NULL; }
7597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7599 return NULL;
7600 }
7601 }
7602 _arg1 = (bool ) tempbool1;
7603{
7604 wxPy_BEGIN_ALLOW_THREADS;
7605 wxGrid_EnableEditing(_arg0,_arg1);
7606
7607 wxPy_END_ALLOW_THREADS;
7608} Py_INCREF(Py_None);
7609 _resultobj = Py_None;
7610 return _resultobj;
7611}
7612
7613#define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7614static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7615 PyObject * _resultobj;
7616 wxGrid * _arg0;
7617 bool _arg1 = (bool ) TRUE;
7618 PyObject * _argo0 = 0;
7619 int tempbool1 = (int) TRUE;
7620 char *_kwnames[] = { "self","enable", NULL };
7621
7622 self = self;
7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7624 return NULL;
7625 if (_argo0) {
7626 if (_argo0 == Py_None) { _arg0 = NULL; }
7627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7629 return NULL;
7630 }
7631 }
7632 _arg1 = (bool ) tempbool1;
7633{
7634 wxPy_BEGIN_ALLOW_THREADS;
7635 wxGrid_EnableCellEditControl(_arg0,_arg1);
7636
7637 wxPy_END_ALLOW_THREADS;
7638} Py_INCREF(Py_None);
7639 _resultobj = Py_None;
7640 return _resultobj;
7641}
7642
7643#define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7644static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7645 PyObject * _resultobj;
7646 wxGrid * _arg0;
7647 PyObject * _argo0 = 0;
7648 char *_kwnames[] = { "self", NULL };
7649
7650 self = self;
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7652 return NULL;
7653 if (_argo0) {
7654 if (_argo0 == Py_None) { _arg0 = NULL; }
7655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7657 return NULL;
7658 }
7659 }
7660{
7661 wxPy_BEGIN_ALLOW_THREADS;
7662 wxGrid_DisableCellEditControl(_arg0);
7663
7664 wxPy_END_ALLOW_THREADS;
7665} Py_INCREF(Py_None);
7666 _resultobj = Py_None;
7667 return _resultobj;
7668}
7669
7670#define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7671static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7672 PyObject * _resultobj;
7673 bool _result;
7674 wxGrid * _arg0;
7675 PyObject * _argo0 = 0;
7676 char *_kwnames[] = { "self", NULL };
7677
7678 self = self;
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
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_CanEnableCellControl. Expected _wxGrid_p.");
7685 return NULL;
7686 }
7687 }
7688{
7689 wxPy_BEGIN_ALLOW_THREADS;
7690 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7691
7692 wxPy_END_ALLOW_THREADS;
7693} _resultobj = Py_BuildValue("i",_result);
7694 return _resultobj;
7695}
7696
7697#define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7698static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7699 PyObject * _resultobj;
7700 bool _result;
7701 wxGrid * _arg0;
7702 PyObject * _argo0 = 0;
7703 char *_kwnames[] = { "self", NULL };
7704
7705 self = self;
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7707 return NULL;
7708 if (_argo0) {
7709 if (_argo0 == Py_None) { _arg0 = NULL; }
7710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7712 return NULL;
7713 }
7714 }
7715{
7716 wxPy_BEGIN_ALLOW_THREADS;
7717 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7718
7719 wxPy_END_ALLOW_THREADS;
7720} _resultobj = Py_BuildValue("i",_result);
7721 return _resultobj;
7722}
7723
7724#define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7725static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
7726 PyObject * _resultobj;
7727 bool _result;
7728 wxGrid * _arg0;
7729 PyObject * _argo0 = 0;
7730 char *_kwnames[] = { "self", NULL };
7731
7732 self = self;
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
7734 return NULL;
7735 if (_argo0) {
7736 if (_argo0 == Py_None) { _arg0 = NULL; }
7737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7739 return NULL;
7740 }
7741 }
7742{
7743 wxPy_BEGIN_ALLOW_THREADS;
7744 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
7745
7746 wxPy_END_ALLOW_THREADS;
7747} _resultobj = Py_BuildValue("i",_result);
7748 return _resultobj;
7749}
7750
7751#define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7752static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
7753 PyObject * _resultobj;
7754 bool _result;
7755 wxGrid * _arg0;
7756 PyObject * _argo0 = 0;
7757 char *_kwnames[] = { "self", NULL };
7758
7759 self = self;
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
7761 return NULL;
7762 if (_argo0) {
7763 if (_argo0 == Py_None) { _arg0 = NULL; }
7764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7766 return NULL;
7767 }
7768 }
7769{
7770 wxPy_BEGIN_ALLOW_THREADS;
7771 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
7772
7773 wxPy_END_ALLOW_THREADS;
7774} _resultobj = Py_BuildValue("i",_result);
7775 return _resultobj;
7776}
7777
7778#define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7779static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7780 PyObject * _resultobj;
7781 wxGrid * _arg0;
7782 PyObject * _argo0 = 0;
7783 char *_kwnames[] = { "self", NULL };
7784
7785 self = self;
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
7787 return NULL;
7788 if (_argo0) {
7789 if (_argo0 == Py_None) { _arg0 = NULL; }
7790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7792 return NULL;
7793 }
7794 }
7795{
7796 wxPy_BEGIN_ALLOW_THREADS;
7797 wxGrid_ShowCellEditControl(_arg0);
7798
7799 wxPy_END_ALLOW_THREADS;
7800} Py_INCREF(Py_None);
7801 _resultobj = Py_None;
7802 return _resultobj;
7803}
7804
7805#define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7806static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject * _resultobj;
7808 wxGrid * _arg0;
7809 PyObject * _argo0 = 0;
7810 char *_kwnames[] = { "self", NULL };
7811
7812 self = self;
7813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
7814 return NULL;
7815 if (_argo0) {
7816 if (_argo0 == Py_None) { _arg0 = NULL; }
7817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7819 return NULL;
7820 }
7821 }
7822{
7823 wxPy_BEGIN_ALLOW_THREADS;
7824 wxGrid_HideCellEditControl(_arg0);
7825
7826 wxPy_END_ALLOW_THREADS;
7827} Py_INCREF(Py_None);
7828 _resultobj = Py_None;
7829 return _resultobj;
7830}
7831
7832#define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7833static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7834 PyObject * _resultobj;
7835 wxGrid * _arg0;
7836 PyObject * _argo0 = 0;
7837 char *_kwnames[] = { "self", NULL };
7838
7839 self = self;
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
7841 return NULL;
7842 if (_argo0) {
7843 if (_argo0 == Py_None) { _arg0 = NULL; }
7844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7846 return NULL;
7847 }
7848 }
7849{
7850 wxPy_BEGIN_ALLOW_THREADS;
7851 wxGrid_SaveEditControlValue(_arg0);
7852
7853 wxPy_END_ALLOW_THREADS;
7854} Py_INCREF(Py_None);
7855 _resultobj = Py_None;
7856 return _resultobj;
7857}
7858
7859static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
7860 wxGridCellCoords rv;
7861 self->XYToCell(x, y, rv);
7862 return new wxGridCellCoords(rv);
7863 }
7864static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject * _resultobj;
7866 wxGridCellCoords * _result;
7867 wxGrid * _arg0;
7868 int _arg1;
7869 int _arg2;
7870 PyObject * _argo0 = 0;
7871 char *_kwnames[] = { "self","x","y", NULL };
7872 char _ptemp[128];
7873
7874 self = self;
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
7876 return NULL;
7877 if (_argo0) {
7878 if (_argo0 == Py_None) { _arg0 = NULL; }
7879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7881 return NULL;
7882 }
7883 }
7884{
7885 wxPy_BEGIN_ALLOW_THREADS;
7886 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
7887
7888 wxPy_END_ALLOW_THREADS;
7889} if (_result) {
7890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7891 _resultobj = Py_BuildValue("s",_ptemp);
7892 } else {
7893 Py_INCREF(Py_None);
7894 _resultobj = Py_None;
7895 }
7896 return _resultobj;
7897}
7898
7899#define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7900static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7901 PyObject * _resultobj;
7902 int _result;
7903 wxGrid * _arg0;
7904 int _arg1;
7905 PyObject * _argo0 = 0;
7906 char *_kwnames[] = { "self","y", NULL };
7907
7908 self = self;
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
7910 return NULL;
7911 if (_argo0) {
7912 if (_argo0 == Py_None) { _arg0 = NULL; }
7913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7915 return NULL;
7916 }
7917 }
7918{
7919 wxPy_BEGIN_ALLOW_THREADS;
7920 _result = (int )wxGrid_YToRow(_arg0,_arg1);
7921
7922 wxPy_END_ALLOW_THREADS;
7923} _resultobj = Py_BuildValue("i",_result);
7924 return _resultobj;
7925}
7926
7927#define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7928static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7929 PyObject * _resultobj;
7930 int _result;
7931 wxGrid * _arg0;
7932 int _arg1;
7933 PyObject * _argo0 = 0;
7934 char *_kwnames[] = { "self","x", NULL };
7935
7936 self = self;
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
7938 return NULL;
7939 if (_argo0) {
7940 if (_argo0 == Py_None) { _arg0 = NULL; }
7941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7943 return NULL;
7944 }
7945 }
7946{
7947 wxPy_BEGIN_ALLOW_THREADS;
7948 _result = (int )wxGrid_XToCol(_arg0,_arg1);
7949
7950 wxPy_END_ALLOW_THREADS;
7951} _resultobj = Py_BuildValue("i",_result);
7952 return _resultobj;
7953}
7954
7955#define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7956static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7957 PyObject * _resultobj;
7958 int _result;
7959 wxGrid * _arg0;
7960 int _arg1;
7961 PyObject * _argo0 = 0;
7962 char *_kwnames[] = { "self","y", NULL };
7963
7964 self = self;
7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
7966 return NULL;
7967 if (_argo0) {
7968 if (_argo0 == Py_None) { _arg0 = NULL; }
7969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
7971 return NULL;
7972 }
7973 }
7974{
7975 wxPy_BEGIN_ALLOW_THREADS;
7976 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
7977
7978 wxPy_END_ALLOW_THREADS;
7979} _resultobj = Py_BuildValue("i",_result);
7980 return _resultobj;
7981}
7982
7983#define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7984static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7985 PyObject * _resultobj;
7986 int _result;
7987 wxGrid * _arg0;
7988 int _arg1;
7989 PyObject * _argo0 = 0;
7990 char *_kwnames[] = { "self","x", NULL };
7991
7992 self = self;
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
7994 return NULL;
7995 if (_argo0) {
7996 if (_argo0 == Py_None) { _arg0 = NULL; }
7997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
7999 return NULL;
8000 }
8001 }
8002{
8003 wxPy_BEGIN_ALLOW_THREADS;
8004 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8005
8006 wxPy_END_ALLOW_THREADS;
8007} _resultobj = Py_BuildValue("i",_result);
8008 return _resultobj;
8009}
8010
8011#define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8012static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8013 PyObject * _resultobj;
8014 wxRect * _result;
8015 wxGrid * _arg0;
8016 int _arg1;
8017 int _arg2;
8018 PyObject * _argo0 = 0;
8019 char *_kwnames[] = { "self","row","col", NULL };
8020 char _ptemp[128];
8021
8022 self = self;
8023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8024 return NULL;
8025 if (_argo0) {
8026 if (_argo0 == Py_None) { _arg0 = NULL; }
8027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8029 return NULL;
8030 }
8031 }
8032{
8033 wxPy_BEGIN_ALLOW_THREADS;
8034 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8035
8036 wxPy_END_ALLOW_THREADS;
8037} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8038 _resultobj = Py_BuildValue("s",_ptemp);
8039 return _resultobj;
8040}
8041
8042#define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8043static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8044 PyObject * _resultobj;
8045 int _result;
8046 wxGrid * _arg0;
8047 PyObject * _argo0 = 0;
8048 char *_kwnames[] = { "self", NULL };
8049
8050 self = self;
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8052 return NULL;
8053 if (_argo0) {
8054 if (_argo0 == Py_None) { _arg0 = NULL; }
8055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8057 return NULL;
8058 }
8059 }
8060{
8061 wxPy_BEGIN_ALLOW_THREADS;
8062 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8063
8064 wxPy_END_ALLOW_THREADS;
8065} _resultobj = Py_BuildValue("i",_result);
8066 return _resultobj;
8067}
8068
8069#define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8070static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8071 PyObject * _resultobj;
8072 int _result;
8073 wxGrid * _arg0;
8074 PyObject * _argo0 = 0;
8075 char *_kwnames[] = { "self", NULL };
8076
8077 self = self;
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8079 return NULL;
8080 if (_argo0) {
8081 if (_argo0 == Py_None) { _arg0 = NULL; }
8082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8084 return NULL;
8085 }
8086 }
8087{
8088 wxPy_BEGIN_ALLOW_THREADS;
8089 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8090
8091 wxPy_END_ALLOW_THREADS;
8092} _resultobj = Py_BuildValue("i",_result);
8093 return _resultobj;
8094}
8095
8096#define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8097static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject * _resultobj;
8099 bool _result;
8100 wxGrid * _arg0;
8101 int _arg1;
8102 int _arg2;
8103 bool _arg3 = (bool ) TRUE;
8104 PyObject * _argo0 = 0;
8105 int tempbool3 = (int) TRUE;
8106 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8107
8108 self = self;
8109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8110 return NULL;
8111 if (_argo0) {
8112 if (_argo0 == Py_None) { _arg0 = NULL; }
8113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8115 return NULL;
8116 }
8117 }
8118 _arg3 = (bool ) tempbool3;
8119{
8120 wxPy_BEGIN_ALLOW_THREADS;
8121 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8122
8123 wxPy_END_ALLOW_THREADS;
8124} _resultobj = Py_BuildValue("i",_result);
8125 return _resultobj;
8126}
8127
8128#define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8129static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8130 PyObject * _resultobj;
8131 wxGrid * _arg0;
8132 int _arg1;
8133 int _arg2;
8134 PyObject * _argo0 = 0;
8135 char *_kwnames[] = { "self","row","col", NULL };
8136
8137 self = self;
8138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8139 return NULL;
8140 if (_argo0) {
8141 if (_argo0 == Py_None) { _arg0 = NULL; }
8142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8144 return NULL;
8145 }
8146 }
8147{
8148 wxPy_BEGIN_ALLOW_THREADS;
8149 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8150
8151 wxPy_END_ALLOW_THREADS;
8152} Py_INCREF(Py_None);
8153 _resultobj = Py_None;
8154 return _resultobj;
8155}
8156
8157#define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8158static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8159 PyObject * _resultobj;
8160 wxGrid * _arg0;
8161 int _arg1;
8162 int _arg2;
8163 PyObject * _argo0 = 0;
8164 char *_kwnames[] = { "self","row","col", NULL };
8165
8166 self = self;
8167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8168 return NULL;
8169 if (_argo0) {
8170 if (_argo0 == Py_None) { _arg0 = NULL; }
8171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8173 return NULL;
8174 }
8175 }
8176{
8177 wxPy_BEGIN_ALLOW_THREADS;
8178 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8179
8180 wxPy_END_ALLOW_THREADS;
8181} Py_INCREF(Py_None);
8182 _resultobj = Py_None;
8183 return _resultobj;
8184}
8185
8186#define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8187static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8188 PyObject * _resultobj;
8189 bool _result;
8190 wxGrid * _arg0;
8191 bool _arg1;
8192 PyObject * _argo0 = 0;
8193 int tempbool1;
8194 char *_kwnames[] = { "self","expandSelection", NULL };
8195
8196 self = self;
8197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8198 return NULL;
8199 if (_argo0) {
8200 if (_argo0 == Py_None) { _arg0 = NULL; }
8201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8203 return NULL;
8204 }
8205 }
8206 _arg1 = (bool ) tempbool1;
8207{
8208 wxPy_BEGIN_ALLOW_THREADS;
8209 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8210
8211 wxPy_END_ALLOW_THREADS;
8212} _resultobj = Py_BuildValue("i",_result);
8213 return _resultobj;
8214}
8215
8216#define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8217static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8218 PyObject * _resultobj;
8219 bool _result;
8220 wxGrid * _arg0;
8221 bool _arg1;
8222 PyObject * _argo0 = 0;
8223 int tempbool1;
8224 char *_kwnames[] = { "self","expandSelection", NULL };
8225
8226 self = self;
8227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8228 return NULL;
8229 if (_argo0) {
8230 if (_argo0 == Py_None) { _arg0 = NULL; }
8231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8233 return NULL;
8234 }
8235 }
8236 _arg1 = (bool ) tempbool1;
8237{
8238 wxPy_BEGIN_ALLOW_THREADS;
8239 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8240
8241 wxPy_END_ALLOW_THREADS;
8242} _resultobj = Py_BuildValue("i",_result);
8243 return _resultobj;
8244}
8245
8246#define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8247static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8248 PyObject * _resultobj;
8249 bool _result;
8250 wxGrid * _arg0;
8251 bool _arg1;
8252 PyObject * _argo0 = 0;
8253 int tempbool1;
8254 char *_kwnames[] = { "self","expandSelection", NULL };
8255
8256 self = self;
8257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8258 return NULL;
8259 if (_argo0) {
8260 if (_argo0 == Py_None) { _arg0 = NULL; }
8261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8263 return NULL;
8264 }
8265 }
8266 _arg1 = (bool ) tempbool1;
8267{
8268 wxPy_BEGIN_ALLOW_THREADS;
8269 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8270
8271 wxPy_END_ALLOW_THREADS;
8272} _resultobj = Py_BuildValue("i",_result);
8273 return _resultobj;
8274}
8275
8276#define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8277static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject * _resultobj;
8279 bool _result;
8280 wxGrid * _arg0;
8281 bool _arg1;
8282 PyObject * _argo0 = 0;
8283 int tempbool1;
8284 char *_kwnames[] = { "self","expandSelection", NULL };
8285
8286 self = self;
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8288 return NULL;
8289 if (_argo0) {
8290 if (_argo0 == Py_None) { _arg0 = NULL; }
8291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8293 return NULL;
8294 }
8295 }
8296 _arg1 = (bool ) tempbool1;
8297{
8298 wxPy_BEGIN_ALLOW_THREADS;
8299 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8300
8301 wxPy_END_ALLOW_THREADS;
8302} _resultobj = Py_BuildValue("i",_result);
8303 return _resultobj;
8304}
8305
8306#define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8307static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8308 PyObject * _resultobj;
8309 bool _result;
8310 wxGrid * _arg0;
8311 PyObject * _argo0 = 0;
8312 char *_kwnames[] = { "self", NULL };
8313
8314 self = self;
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8316 return NULL;
8317 if (_argo0) {
8318 if (_argo0 == Py_None) { _arg0 = NULL; }
8319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8321 return NULL;
8322 }
8323 }
8324{
8325 wxPy_BEGIN_ALLOW_THREADS;
8326 _result = (bool )wxGrid_MovePageDown(_arg0);
8327
8328 wxPy_END_ALLOW_THREADS;
8329} _resultobj = Py_BuildValue("i",_result);
8330 return _resultobj;
8331}
8332
8333#define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8334static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8335 PyObject * _resultobj;
8336 bool _result;
8337 wxGrid * _arg0;
8338 PyObject * _argo0 = 0;
8339 char *_kwnames[] = { "self", NULL };
8340
8341 self = self;
8342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8343 return NULL;
8344 if (_argo0) {
8345 if (_argo0 == Py_None) { _arg0 = NULL; }
8346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8348 return NULL;
8349 }
8350 }
8351{
8352 wxPy_BEGIN_ALLOW_THREADS;
8353 _result = (bool )wxGrid_MovePageUp(_arg0);
8354
8355 wxPy_END_ALLOW_THREADS;
8356} _resultobj = Py_BuildValue("i",_result);
8357 return _resultobj;
8358}
8359
8360#define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8361static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8362 PyObject * _resultobj;
8363 bool _result;
8364 wxGrid * _arg0;
8365 bool _arg1;
8366 PyObject * _argo0 = 0;
8367 int tempbool1;
8368 char *_kwnames[] = { "self","expandSelection", NULL };
8369
8370 self = self;
8371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
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_MoveCursorUpBlock. Expected _wxGrid_p.");
8377 return NULL;
8378 }
8379 }
8380 _arg1 = (bool ) tempbool1;
8381{
8382 wxPy_BEGIN_ALLOW_THREADS;
8383 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8384
8385 wxPy_END_ALLOW_THREADS;
8386} _resultobj = Py_BuildValue("i",_result);
8387 return _resultobj;
8388}
8389
8390#define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8391static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8392 PyObject * _resultobj;
8393 bool _result;
8394 wxGrid * _arg0;
8395 bool _arg1;
8396 PyObject * _argo0 = 0;
8397 int tempbool1;
8398 char *_kwnames[] = { "self","expandSelection", NULL };
8399
8400 self = self;
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8402 return NULL;
8403 if (_argo0) {
8404 if (_argo0 == Py_None) { _arg0 = NULL; }
8405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8407 return NULL;
8408 }
8409 }
8410 _arg1 = (bool ) tempbool1;
8411{
8412 wxPy_BEGIN_ALLOW_THREADS;
8413 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8414
8415 wxPy_END_ALLOW_THREADS;
8416} _resultobj = Py_BuildValue("i",_result);
8417 return _resultobj;
8418}
8419
8420#define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8421static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject * _resultobj;
8423 bool _result;
8424 wxGrid * _arg0;
8425 bool _arg1;
8426 PyObject * _argo0 = 0;
8427 int tempbool1;
8428 char *_kwnames[] = { "self","expandSelection", NULL };
8429
8430 self = self;
8431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8432 return NULL;
8433 if (_argo0) {
8434 if (_argo0 == Py_None) { _arg0 = NULL; }
8435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8437 return NULL;
8438 }
8439 }
8440 _arg1 = (bool ) tempbool1;
8441{
8442 wxPy_BEGIN_ALLOW_THREADS;
8443 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8444
8445 wxPy_END_ALLOW_THREADS;
8446} _resultobj = Py_BuildValue("i",_result);
8447 return _resultobj;
8448}
8449
8450#define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8451static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8452 PyObject * _resultobj;
8453 bool _result;
8454 wxGrid * _arg0;
8455 bool _arg1;
8456 PyObject * _argo0 = 0;
8457 int tempbool1;
8458 char *_kwnames[] = { "self","expandSelection", NULL };
8459
8460 self = self;
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8462 return NULL;
8463 if (_argo0) {
8464 if (_argo0 == Py_None) { _arg0 = NULL; }
8465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8467 return NULL;
8468 }
8469 }
8470 _arg1 = (bool ) tempbool1;
8471{
8472 wxPy_BEGIN_ALLOW_THREADS;
8473 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8474
8475 wxPy_END_ALLOW_THREADS;
8476} _resultobj = Py_BuildValue("i",_result);
8477 return _resultobj;
8478}
8479
8480#define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8481static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8482 PyObject * _resultobj;
8483 int _result;
8484 wxGrid * _arg0;
8485 PyObject * _argo0 = 0;
8486 char *_kwnames[] = { "self", NULL };
8487
8488 self = self;
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
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_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8495 return NULL;
8496 }
8497 }
8498{
8499 wxPy_BEGIN_ALLOW_THREADS;
8500 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8501
8502 wxPy_END_ALLOW_THREADS;
8503} _resultobj = Py_BuildValue("i",_result);
8504 return _resultobj;
8505}
8506
8507#define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8508static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject * _resultobj;
8510 int _result;
8511 wxGrid * _arg0;
8512 PyObject * _argo0 = 0;
8513 char *_kwnames[] = { "self", NULL };
8514
8515 self = self;
8516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8517 return NULL;
8518 if (_argo0) {
8519 if (_argo0 == Py_None) { _arg0 = NULL; }
8520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8522 return NULL;
8523 }
8524 }
8525{
8526 wxPy_BEGIN_ALLOW_THREADS;
8527 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8528
8529 wxPy_END_ALLOW_THREADS;
8530} _resultobj = Py_BuildValue("i",_result);
8531 return _resultobj;
8532}
8533
8534#define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8535static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8536 PyObject * _resultobj;
8537 int _result;
8538 wxGrid * _arg0;
8539 PyObject * _argo0 = 0;
8540 char *_kwnames[] = { "self", NULL };
8541
8542 self = self;
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8544 return NULL;
8545 if (_argo0) {
8546 if (_argo0 == Py_None) { _arg0 = NULL; }
8547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8549 return NULL;
8550 }
8551 }
8552{
8553 wxPy_BEGIN_ALLOW_THREADS;
8554 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8555
8556 wxPy_END_ALLOW_THREADS;
8557} _resultobj = Py_BuildValue("i",_result);
8558 return _resultobj;
8559}
8560
8561#define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8562static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8563 PyObject * _resultobj;
8564 int _result;
8565 wxGrid * _arg0;
8566 PyObject * _argo0 = 0;
8567 char *_kwnames[] = { "self", NULL };
8568
8569 self = self;
8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8571 return NULL;
8572 if (_argo0) {
8573 if (_argo0 == Py_None) { _arg0 = NULL; }
8574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8576 return NULL;
8577 }
8578 }
8579{
8580 wxPy_BEGIN_ALLOW_THREADS;
8581 _result = (int )wxGrid_GetColLabelSize(_arg0);
8582
8583 wxPy_END_ALLOW_THREADS;
8584} _resultobj = Py_BuildValue("i",_result);
8585 return _resultobj;
8586}
8587
8588#define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8589static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject * _resultobj;
8591 wxColour * _result;
8592 wxGrid * _arg0;
8593 PyObject * _argo0 = 0;
8594 char *_kwnames[] = { "self", NULL };
8595 char _ptemp[128];
8596
8597 self = self;
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8599 return NULL;
8600 if (_argo0) {
8601 if (_argo0 == Py_None) { _arg0 = NULL; }
8602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8604 return NULL;
8605 }
8606 }
8607{
8608 wxPy_BEGIN_ALLOW_THREADS;
8609 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8610
8611 wxPy_END_ALLOW_THREADS;
8612} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8613 _resultobj = Py_BuildValue("s",_ptemp);
8614 return _resultobj;
8615}
8616
8617#define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8618static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8619 PyObject * _resultobj;
8620 wxColour * _result;
8621 wxGrid * _arg0;
8622 PyObject * _argo0 = 0;
8623 char *_kwnames[] = { "self", NULL };
8624 char _ptemp[128];
8625
8626 self = self;
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8628 return NULL;
8629 if (_argo0) {
8630 if (_argo0 == Py_None) { _arg0 = NULL; }
8631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8633 return NULL;
8634 }
8635 }
8636{
8637 wxPy_BEGIN_ALLOW_THREADS;
8638 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8639
8640 wxPy_END_ALLOW_THREADS;
8641} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8642 _resultobj = Py_BuildValue("s",_ptemp);
8643 return _resultobj;
8644}
8645
8646#define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8647static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8648 PyObject * _resultobj;
8649 wxFont * _result;
8650 wxGrid * _arg0;
8651 PyObject * _argo0 = 0;
8652 char *_kwnames[] = { "self", NULL };
8653 char _ptemp[128];
8654
8655 self = self;
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8657 return NULL;
8658 if (_argo0) {
8659 if (_argo0 == Py_None) { _arg0 = NULL; }
8660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8662 return NULL;
8663 }
8664 }
8665{
8666 wxPy_BEGIN_ALLOW_THREADS;
8667 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8668
8669 wxPy_END_ALLOW_THREADS;
8670} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8671 _resultobj = Py_BuildValue("s",_ptemp);
8672 return _resultobj;
8673}
8674
8675#define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8676static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8677 PyObject * _resultobj;
8678 wxGrid * _arg0;
8679 int * _arg1;
8680 int temp;
8681 int * _arg2;
8682 int temp0;
8683 PyObject * _argo0 = 0;
8684 char *_kwnames[] = { "self", NULL };
8685
8686 self = self;
8687{
8688 _arg1 = &temp;
8689}
8690{
8691 _arg2 = &temp0;
8692}
8693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
8694 return NULL;
8695 if (_argo0) {
8696 if (_argo0 == Py_None) { _arg0 = NULL; }
8697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8699 return NULL;
8700 }
8701 }
8702{
8703 wxPy_BEGIN_ALLOW_THREADS;
8704 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
8705
8706 wxPy_END_ALLOW_THREADS;
8707} Py_INCREF(Py_None);
8708 _resultobj = Py_None;
8709{
8710 PyObject *o;
8711 o = PyInt_FromLong((long) (*_arg1));
8712 _resultobj = t_output_helper(_resultobj, o);
8713}
8714{
8715 PyObject *o;
8716 o = PyInt_FromLong((long) (*_arg2));
8717 _resultobj = t_output_helper(_resultobj, o);
8718}
8719 return _resultobj;
8720}
8721
8722#define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8723static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8724 PyObject * _resultobj;
8725 wxGrid * _arg0;
8726 int * _arg1;
8727 int temp;
8728 int * _arg2;
8729 int temp0;
8730 PyObject * _argo0 = 0;
8731 char *_kwnames[] = { "self", NULL };
8732
8733 self = self;
8734{
8735 _arg1 = &temp;
8736}
8737{
8738 _arg2 = &temp0;
8739}
8740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
8741 return NULL;
8742 if (_argo0) {
8743 if (_argo0 == Py_None) { _arg0 = NULL; }
8744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8746 return NULL;
8747 }
8748 }
8749{
8750 wxPy_BEGIN_ALLOW_THREADS;
8751 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
8752
8753 wxPy_END_ALLOW_THREADS;
8754} Py_INCREF(Py_None);
8755 _resultobj = Py_None;
8756{
8757 PyObject *o;
8758 o = PyInt_FromLong((long) (*_arg1));
8759 _resultobj = t_output_helper(_resultobj, o);
8760}
8761{
8762 PyObject *o;
8763 o = PyInt_FromLong((long) (*_arg2));
8764 _resultobj = t_output_helper(_resultobj, o);
8765}
8766 return _resultobj;
8767}
8768
8769#define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8770static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8771 PyObject * _resultobj;
8772 wxString * _result;
8773 wxGrid * _arg0;
8774 int _arg1;
8775 PyObject * _argo0 = 0;
8776 char *_kwnames[] = { "self","row", NULL };
8777
8778 self = self;
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
8780 return NULL;
8781 if (_argo0) {
8782 if (_argo0 == Py_None) { _arg0 = NULL; }
8783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8785 return NULL;
8786 }
8787 }
8788{
8789 wxPy_BEGIN_ALLOW_THREADS;
8790 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
8791
8792 wxPy_END_ALLOW_THREADS;
8793}{
8794 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8795}
8796{
8797 delete _result;
8798}
8799 return _resultobj;
8800}
8801
8802#define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8803static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8804 PyObject * _resultobj;
8805 wxString * _result;
8806 wxGrid * _arg0;
8807 int _arg1;
8808 PyObject * _argo0 = 0;
8809 char *_kwnames[] = { "self","col", NULL };
8810
8811 self = self;
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
8813 return NULL;
8814 if (_argo0) {
8815 if (_argo0 == Py_None) { _arg0 = NULL; }
8816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8818 return NULL;
8819 }
8820 }
8821{
8822 wxPy_BEGIN_ALLOW_THREADS;
8823 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
8824
8825 wxPy_END_ALLOW_THREADS;
8826}{
8827 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8828}
8829{
8830 delete _result;
8831}
8832 return _resultobj;
8833}
8834
8835#define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8836static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8837 PyObject * _resultobj;
8838 wxColour * _result;
8839 wxGrid * _arg0;
8840 PyObject * _argo0 = 0;
8841 char *_kwnames[] = { "self", NULL };
8842 char _ptemp[128];
8843
8844 self = self;
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
8846 return NULL;
8847 if (_argo0) {
8848 if (_argo0 == Py_None) { _arg0 = NULL; }
8849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8851 return NULL;
8852 }
8853 }
8854{
8855 wxPy_BEGIN_ALLOW_THREADS;
8856 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
8857
8858 wxPy_END_ALLOW_THREADS;
8859} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8860 _resultobj = Py_BuildValue("s",_ptemp);
8861 return _resultobj;
8862}
8863
8864#define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8865static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8866 PyObject * _resultobj;
8867 wxColour * _result;
8868 wxGrid * _arg0;
8869 PyObject * _argo0 = 0;
8870 char *_kwnames[] = { "self", NULL };
8871 char _ptemp[128];
8872
8873 self = self;
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
8875 return NULL;
8876 if (_argo0) {
8877 if (_argo0 == Py_None) { _arg0 = NULL; }
8878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8880 return NULL;
8881 }
8882 }
8883{
8884 wxPy_BEGIN_ALLOW_THREADS;
8885 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
8886
8887 wxPy_END_ALLOW_THREADS;
8888} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8889 _resultobj = Py_BuildValue("s",_ptemp);
8890 return _resultobj;
8891}
8892
9416aa89
RD
8893#define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
8894static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8895 PyObject * _resultobj;
8896 int _result;
8897 wxGrid * _arg0;
8898 PyObject * _argo0 = 0;
8899 char *_kwnames[] = { "self", NULL };
8900
8901 self = self;
8902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
8903 return NULL;
8904 if (_argo0) {
8905 if (_argo0 == Py_None) { _arg0 = NULL; }
8906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
8908 return NULL;
8909 }
8910 }
8911{
8912 wxPy_BEGIN_ALLOW_THREADS;
8913 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
8914
8915 wxPy_END_ALLOW_THREADS;
8916} _resultobj = Py_BuildValue("i",_result);
8917 return _resultobj;
8918}
8919
8920#define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
8921static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8922 PyObject * _resultobj;
8923 int _result;
8924 wxGrid * _arg0;
8925 PyObject * _argo0 = 0;
8926 char *_kwnames[] = { "self", NULL };
8927
8928 self = self;
8929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
8930 return NULL;
8931 if (_argo0) {
8932 if (_argo0 == Py_None) { _arg0 = NULL; }
8933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
8935 return NULL;
8936 }
8937 }
8938{
8939 wxPy_BEGIN_ALLOW_THREADS;
8940 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
8941
8942 wxPy_END_ALLOW_THREADS;
8943} _resultobj = Py_BuildValue("i",_result);
8944 return _resultobj;
8945}
8946
f6bcfd97
BP
8947#define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8948static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject * _resultobj;
8950 wxGrid * _arg0;
8951 int _arg1;
8952 PyObject * _argo0 = 0;
8953 char *_kwnames[] = { "self","width", NULL };
8954
8955 self = self;
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
8957 return NULL;
8958 if (_argo0) {
8959 if (_argo0 == Py_None) { _arg0 = NULL; }
8960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8962 return NULL;
8963 }
8964 }
8965{
8966 wxPy_BEGIN_ALLOW_THREADS;
8967 wxGrid_SetRowLabelSize(_arg0,_arg1);
8968
8969 wxPy_END_ALLOW_THREADS;
8970} Py_INCREF(Py_None);
8971 _resultobj = Py_None;
8972 return _resultobj;
8973}
8974
8975#define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8976static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8977 PyObject * _resultobj;
8978 wxGrid * _arg0;
8979 int _arg1;
8980 PyObject * _argo0 = 0;
8981 char *_kwnames[] = { "self","height", NULL };
8982
8983 self = self;
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
8985 return NULL;
8986 if (_argo0) {
8987 if (_argo0 == Py_None) { _arg0 = NULL; }
8988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8990 return NULL;
8991 }
8992 }
8993{
8994 wxPy_BEGIN_ALLOW_THREADS;
8995 wxGrid_SetColLabelSize(_arg0,_arg1);
8996
8997 wxPy_END_ALLOW_THREADS;
8998} Py_INCREF(Py_None);
8999 _resultobj = Py_None;
9000 return _resultobj;
9001}
9002
9003#define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9004static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9005 PyObject * _resultobj;
9006 wxGrid * _arg0;
9007 wxColour * _arg1;
9008 PyObject * _argo0 = 0;
9009 wxColour temp;
9010 PyObject * _obj1 = 0;
9011 char *_kwnames[] = { "self","arg2", NULL };
9012
9013 self = self;
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9015 return NULL;
9016 if (_argo0) {
9017 if (_argo0 == Py_None) { _arg0 = NULL; }
9018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9020 return NULL;
9021 }
9022 }
9023{
9024 _arg1 = &temp;
9025 if (! wxColour_helper(_obj1, &_arg1))
9026 return NULL;
9027}
9028{
9029 wxPy_BEGIN_ALLOW_THREADS;
9030 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9031
9032 wxPy_END_ALLOW_THREADS;
9033} Py_INCREF(Py_None);
9034 _resultobj = Py_None;
9035 return _resultobj;
9036}
9037
9038#define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9039static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9040 PyObject * _resultobj;
9041 wxGrid * _arg0;
9042 wxColour * _arg1;
9043 PyObject * _argo0 = 0;
9044 wxColour temp;
9045 PyObject * _obj1 = 0;
9046 char *_kwnames[] = { "self","arg2", NULL };
9047
9048 self = self;
9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9050 return NULL;
9051 if (_argo0) {
9052 if (_argo0 == Py_None) { _arg0 = NULL; }
9053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9055 return NULL;
9056 }
9057 }
9058{
9059 _arg1 = &temp;
9060 if (! wxColour_helper(_obj1, &_arg1))
9061 return NULL;
9062}
9063{
9064 wxPy_BEGIN_ALLOW_THREADS;
9065 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9066
9067 wxPy_END_ALLOW_THREADS;
9068} Py_INCREF(Py_None);
9069 _resultobj = Py_None;
9070 return _resultobj;
9071}
9072
9073#define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9074static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9075 PyObject * _resultobj;
9076 wxGrid * _arg0;
9077 wxFont * _arg1;
9078 PyObject * _argo0 = 0;
9079 PyObject * _argo1 = 0;
9080 char *_kwnames[] = { "self","arg2", NULL };
9081
9082 self = self;
9083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9084 return NULL;
9085 if (_argo0) {
9086 if (_argo0 == Py_None) { _arg0 = NULL; }
9087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9089 return NULL;
9090 }
9091 }
9092 if (_argo1) {
9093 if (_argo1 == Py_None) { _arg1 = NULL; }
9094 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9095 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9096 return NULL;
9097 }
9098 }
9099{
9100 wxPy_BEGIN_ALLOW_THREADS;
9101 wxGrid_SetLabelFont(_arg0,*_arg1);
9102
9103 wxPy_END_ALLOW_THREADS;
9104} Py_INCREF(Py_None);
9105 _resultobj = Py_None;
9106 return _resultobj;
9107}
9108
9109#define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9110static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9111 PyObject * _resultobj;
9112 wxGrid * _arg0;
9113 int _arg1;
9114 int _arg2;
9115 PyObject * _argo0 = 0;
9116 char *_kwnames[] = { "self","horiz","vert", NULL };
9117
9118 self = self;
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9120 return NULL;
9121 if (_argo0) {
9122 if (_argo0 == Py_None) { _arg0 = NULL; }
9123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9125 return NULL;
9126 }
9127 }
9128{
9129 wxPy_BEGIN_ALLOW_THREADS;
9130 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
9131
9132 wxPy_END_ALLOW_THREADS;
9133} Py_INCREF(Py_None);
9134 _resultobj = Py_None;
9135 return _resultobj;
9136}
9137
9138#define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9139static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9140 PyObject * _resultobj;
9141 wxGrid * _arg0;
9142 int _arg1;
9143 int _arg2;
9144 PyObject * _argo0 = 0;
9145 char *_kwnames[] = { "self","horiz","vert", NULL };
9146
9147 self = self;
9148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9149 return NULL;
9150 if (_argo0) {
9151 if (_argo0 == Py_None) { _arg0 = NULL; }
9152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9154 return NULL;
9155 }
9156 }
9157{
9158 wxPy_BEGIN_ALLOW_THREADS;
9159 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9160
9161 wxPy_END_ALLOW_THREADS;
9162} Py_INCREF(Py_None);
9163 _resultobj = Py_None;
9164 return _resultobj;
9165}
9166
9167#define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9168static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9169 PyObject * _resultobj;
9170 wxGrid * _arg0;
9171 int _arg1;
9172 wxString * _arg2;
9173 PyObject * _argo0 = 0;
9174 PyObject * _obj2 = 0;
9175 char *_kwnames[] = { "self","row","arg3", NULL };
9176
9177 self = self;
9178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9179 return NULL;
9180 if (_argo0) {
9181 if (_argo0 == Py_None) { _arg0 = NULL; }
9182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9184 return NULL;
9185 }
9186 }
9187{
185d7c3e
RD
9188#if PYTHON_API_VERSION >= 1009
9189 char* tmpPtr; int tmpSize;
9190 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 9191 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
9192 return NULL;
9193 }
9194 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9195 return NULL;
9196 _arg2 = new wxString(tmpPtr, tmpSize);
9197#else
f6bcfd97
BP
9198 if (!PyString_Check(_obj2)) {
9199 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9200 return NULL;
9201 }
185d7c3e
RD
9202 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9203#endif
f6bcfd97
BP
9204}
9205{
9206 wxPy_BEGIN_ALLOW_THREADS;
9207 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9208
9209 wxPy_END_ALLOW_THREADS;
9210} Py_INCREF(Py_None);
9211 _resultobj = Py_None;
9212{
9213 if (_obj2)
9214 delete _arg2;
9215}
9216 return _resultobj;
9217}
9218
9219#define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9220static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9221 PyObject * _resultobj;
9222 wxGrid * _arg0;
9223 int _arg1;
9224 wxString * _arg2;
9225 PyObject * _argo0 = 0;
9226 PyObject * _obj2 = 0;
9227 char *_kwnames[] = { "self","col","arg3", NULL };
9228
9229 self = self;
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
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_SetColLabelValue. Expected _wxGrid_p.");
9236 return NULL;
9237 }
9238 }
9239{
185d7c3e
RD
9240#if PYTHON_API_VERSION >= 1009
9241 char* tmpPtr; int tmpSize;
9242 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 9243 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
9244 return NULL;
9245 }
9246 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9247 return NULL;
9248 _arg2 = new wxString(tmpPtr, tmpSize);
9249#else
f6bcfd97
BP
9250 if (!PyString_Check(_obj2)) {
9251 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9252 return NULL;
9253 }
185d7c3e
RD
9254 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9255#endif
f6bcfd97
BP
9256}
9257{
9258 wxPy_BEGIN_ALLOW_THREADS;
9259 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9260
9261 wxPy_END_ALLOW_THREADS;
9262} Py_INCREF(Py_None);
9263 _resultobj = Py_None;
9264{
9265 if (_obj2)
9266 delete _arg2;
9267}
9268 return _resultobj;
9269}
9270
9271#define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9272static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9273 PyObject * _resultobj;
9274 wxGrid * _arg0;
9275 wxColour * _arg1;
9276 PyObject * _argo0 = 0;
9277 wxColour temp;
9278 PyObject * _obj1 = 0;
9279 char *_kwnames[] = { "self","arg2", NULL };
9280
9281 self = self;
9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9283 return NULL;
9284 if (_argo0) {
9285 if (_argo0 == Py_None) { _arg0 = NULL; }
9286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9288 return NULL;
9289 }
9290 }
9291{
9292 _arg1 = &temp;
9293 if (! wxColour_helper(_obj1, &_arg1))
9294 return NULL;
9295}
9296{
9297 wxPy_BEGIN_ALLOW_THREADS;
9298 wxGrid_SetGridLineColour(_arg0,*_arg1);
9299
9300 wxPy_END_ALLOW_THREADS;
9301} Py_INCREF(Py_None);
9302 _resultobj = Py_None;
9303 return _resultobj;
9304}
9305
9306#define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9307static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9308 PyObject * _resultobj;
9309 wxGrid * _arg0;
9310 wxColour * _arg1;
9311 PyObject * _argo0 = 0;
9312 wxColour temp;
9313 PyObject * _obj1 = 0;
9314 char *_kwnames[] = { "self","arg2", NULL };
9315
9316 self = self;
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9318 return NULL;
9319 if (_argo0) {
9320 if (_argo0 == Py_None) { _arg0 = NULL; }
9321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9323 return NULL;
9324 }
9325 }
9326{
9327 _arg1 = &temp;
9328 if (! wxColour_helper(_obj1, &_arg1))
9329 return NULL;
9330}
9331{
9332 wxPy_BEGIN_ALLOW_THREADS;
9333 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9334
9335 wxPy_END_ALLOW_THREADS;
9336} Py_INCREF(Py_None);
9337 _resultobj = Py_None;
9338 return _resultobj;
9339}
9340
9416aa89
RD
9341#define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9342static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9343 PyObject * _resultobj;
9344 wxGrid * _arg0;
9345 int _arg1;
9346 PyObject * _argo0 = 0;
9347 char *_kwnames[] = { "self","width", NULL };
9348
9349 self = self;
9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
9351 return NULL;
9352 if (_argo0) {
9353 if (_argo0 == Py_None) { _arg0 = NULL; }
9354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9356 return NULL;
9357 }
9358 }
9359{
9360 wxPy_BEGIN_ALLOW_THREADS;
9361 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
9362
9363 wxPy_END_ALLOW_THREADS;
9364} Py_INCREF(Py_None);
9365 _resultobj = Py_None;
9366 return _resultobj;
9367}
9368
9369#define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9370static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9371 PyObject * _resultobj;
9372 wxGrid * _arg0;
9373 int _arg1;
9374 PyObject * _argo0 = 0;
9375 char *_kwnames[] = { "self","width", NULL };
9376
9377 self = self;
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
9379 return NULL;
9380 if (_argo0) {
9381 if (_argo0 == Py_None) { _arg0 = NULL; }
9382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9384 return NULL;
9385 }
9386 }
9387{
9388 wxPy_BEGIN_ALLOW_THREADS;
9389 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
9390
9391 wxPy_END_ALLOW_THREADS;
9392} Py_INCREF(Py_None);
9393 _resultobj = Py_None;
9394 return _resultobj;
9395}
9396
f6bcfd97
BP
9397#define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9398static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9399 PyObject * _resultobj;
9400 wxGrid * _arg0;
9401 bool _arg1 = (bool ) TRUE;
9402 PyObject * _argo0 = 0;
9403 int tempbool1 = (int) TRUE;
9404 char *_kwnames[] = { "self","enable", NULL };
9405
9406 self = self;
9407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9408 return NULL;
9409 if (_argo0) {
9410 if (_argo0 == Py_None) { _arg0 = NULL; }
9411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9413 return NULL;
9414 }
9415 }
9416 _arg1 = (bool ) tempbool1;
9417{
9418 wxPy_BEGIN_ALLOW_THREADS;
9419 wxGrid_EnableDragRowSize(_arg0,_arg1);
9420
9421 wxPy_END_ALLOW_THREADS;
9422} Py_INCREF(Py_None);
9423 _resultobj = Py_None;
9424 return _resultobj;
9425}
9426
9427#define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9428static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9429 PyObject * _resultobj;
9430 wxGrid * _arg0;
9431 PyObject * _argo0 = 0;
9432 char *_kwnames[] = { "self", NULL };
9433
9434 self = self;
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9436 return NULL;
9437 if (_argo0) {
9438 if (_argo0 == Py_None) { _arg0 = NULL; }
9439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9441 return NULL;
9442 }
9443 }
9444{
9445 wxPy_BEGIN_ALLOW_THREADS;
9446 wxGrid_DisableDragRowSize(_arg0);
9447
9448 wxPy_END_ALLOW_THREADS;
9449} Py_INCREF(Py_None);
9450 _resultobj = Py_None;
9451 return _resultobj;
9452}
9453
9454#define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9455static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9456 PyObject * _resultobj;
9457 bool _result;
9458 wxGrid * _arg0;
9459 PyObject * _argo0 = 0;
9460 char *_kwnames[] = { "self", NULL };
9461
9462 self = self;
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9464 return NULL;
9465 if (_argo0) {
9466 if (_argo0 == Py_None) { _arg0 = NULL; }
9467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9469 return NULL;
9470 }
9471 }
9472{
9473 wxPy_BEGIN_ALLOW_THREADS;
9474 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9475
9476 wxPy_END_ALLOW_THREADS;
9477} _resultobj = Py_BuildValue("i",_result);
9478 return _resultobj;
9479}
9480
9481#define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9482static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9483 PyObject * _resultobj;
9484 wxGrid * _arg0;
9485 bool _arg1 = (bool ) TRUE;
9486 PyObject * _argo0 = 0;
9487 int tempbool1 = (int) TRUE;
9488 char *_kwnames[] = { "self","enable", NULL };
9489
9490 self = self;
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9492 return NULL;
9493 if (_argo0) {
9494 if (_argo0 == Py_None) { _arg0 = NULL; }
9495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9497 return NULL;
9498 }
9499 }
9500 _arg1 = (bool ) tempbool1;
9501{
9502 wxPy_BEGIN_ALLOW_THREADS;
9503 wxGrid_EnableDragColSize(_arg0,_arg1);
9504
9505 wxPy_END_ALLOW_THREADS;
9506} Py_INCREF(Py_None);
9507 _resultobj = Py_None;
9508 return _resultobj;
9509}
9510
9511#define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9512static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9513 PyObject * _resultobj;
9514 wxGrid * _arg0;
9515 PyObject * _argo0 = 0;
9516 char *_kwnames[] = { "self", NULL };
9517
9518 self = self;
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9520 return NULL;
9521 if (_argo0) {
9522 if (_argo0 == Py_None) { _arg0 = NULL; }
9523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9525 return NULL;
9526 }
9527 }
9528{
9529 wxPy_BEGIN_ALLOW_THREADS;
9530 wxGrid_DisableDragColSize(_arg0);
9531
9532 wxPy_END_ALLOW_THREADS;
9533} Py_INCREF(Py_None);
9534 _resultobj = Py_None;
9535 return _resultobj;
9536}
9537
9538#define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9539static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9540 PyObject * _resultobj;
9541 bool _result;
9542 wxGrid * _arg0;
9543 PyObject * _argo0 = 0;
9544 char *_kwnames[] = { "self", NULL };
9545
9546 self = self;
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9548 return NULL;
9549 if (_argo0) {
9550 if (_argo0 == Py_None) { _arg0 = NULL; }
9551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9553 return NULL;
9554 }
9555 }
9556{
9557 wxPy_BEGIN_ALLOW_THREADS;
9558 _result = (bool )wxGrid_CanDragColSize(_arg0);
9559
9560 wxPy_END_ALLOW_THREADS;
9561} _resultobj = Py_BuildValue("i",_result);
9562 return _resultobj;
9563}
9564
9565#define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9566static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9567 PyObject * _resultobj;
9568 wxGrid * _arg0;
9569 bool _arg1 = (bool ) TRUE;
9570 PyObject * _argo0 = 0;
9571 int tempbool1 = (int) TRUE;
9572 char *_kwnames[] = { "self","enable", NULL };
9573
9574 self = self;
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9576 return NULL;
9577 if (_argo0) {
9578 if (_argo0 == Py_None) { _arg0 = NULL; }
9579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9581 return NULL;
9582 }
9583 }
9584 _arg1 = (bool ) tempbool1;
9585{
9586 wxPy_BEGIN_ALLOW_THREADS;
9587 wxGrid_EnableDragGridSize(_arg0,_arg1);
9588
9589 wxPy_END_ALLOW_THREADS;
9590} Py_INCREF(Py_None);
9591 _resultobj = Py_None;
9592 return _resultobj;
9593}
9594
9595#define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9596static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9597 PyObject * _resultobj;
9598 wxGrid * _arg0;
9599 PyObject * _argo0 = 0;
9600 char *_kwnames[] = { "self", NULL };
9601
9602 self = self;
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9604 return NULL;
9605 if (_argo0) {
9606 if (_argo0 == Py_None) { _arg0 = NULL; }
9607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9609 return NULL;
9610 }
9611 }
9612{
9613 wxPy_BEGIN_ALLOW_THREADS;
9614 wxGrid_DisableDragGridSize(_arg0);
9615
9616 wxPy_END_ALLOW_THREADS;
9617} Py_INCREF(Py_None);
9618 _resultobj = Py_None;
9619 return _resultobj;
9620}
9621
9622#define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9623static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9624 PyObject * _resultobj;
9625 bool _result;
9626 wxGrid * _arg0;
9627 PyObject * _argo0 = 0;
9628 char *_kwnames[] = { "self", NULL };
9629
9630 self = self;
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9632 return NULL;
9633 if (_argo0) {
9634 if (_argo0 == Py_None) { _arg0 = NULL; }
9635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9637 return NULL;
9638 }
9639 }
9640{
9641 wxPy_BEGIN_ALLOW_THREADS;
9642 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9643
9644 wxPy_END_ALLOW_THREADS;
9645} _resultobj = Py_BuildValue("i",_result);
9646 return _resultobj;
9647}
9648
9649#define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9650static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject * _resultobj;
9652 wxGrid * _arg0;
9653 int _arg1;
9654 wxGridCellAttr * _arg2;
9655 PyObject * _argo0 = 0;
9656 PyObject * _argo2 = 0;
9657 char *_kwnames[] = { "self","row","attr", NULL };
9658
9659 self = self;
9660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9661 return NULL;
9662 if (_argo0) {
9663 if (_argo0 == Py_None) { _arg0 = NULL; }
9664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9666 return NULL;
9667 }
9668 }
9669 if (_argo2) {
9670 if (_argo2 == Py_None) { _arg2 = NULL; }
9671 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9672 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9673 return NULL;
9674 }
9675 }
9676{
9677 wxPy_BEGIN_ALLOW_THREADS;
9678 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
9679
9680 wxPy_END_ALLOW_THREADS;
9681} Py_INCREF(Py_None);
9682 _resultobj = Py_None;
9683 return _resultobj;
9684}
9685
9686#define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9687static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9688 PyObject * _resultobj;
9689 wxGrid * _arg0;
9690 int _arg1;
9691 wxGridCellAttr * _arg2;
9692 PyObject * _argo0 = 0;
9693 PyObject * _argo2 = 0;
9694 char *_kwnames[] = { "self","col","attr", NULL };
9695
9696 self = self;
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9698 return NULL;
9699 if (_argo0) {
9700 if (_argo0 == Py_None) { _arg0 = NULL; }
9701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9703 return NULL;
9704 }
9705 }
9706 if (_argo2) {
9707 if (_argo2 == Py_None) { _arg2 = NULL; }
9708 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9709 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9710 return NULL;
9711 }
9712 }
9713{
9714 wxPy_BEGIN_ALLOW_THREADS;
9715 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
9716
9717 wxPy_END_ALLOW_THREADS;
9718} Py_INCREF(Py_None);
9719 _resultobj = Py_None;
9720 return _resultobj;
9721}
9722
9723#define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9724static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9725 PyObject * _resultobj;
9726 wxGrid * _arg0;
9727 int _arg1;
9728 PyObject * _argo0 = 0;
9729 char *_kwnames[] = { "self","col", NULL };
9730
9731 self = self;
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
9733 return NULL;
9734 if (_argo0) {
9735 if (_argo0 == Py_None) { _arg0 = NULL; }
9736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9738 return NULL;
9739 }
9740 }
9741{
9742 wxPy_BEGIN_ALLOW_THREADS;
9743 wxGrid_SetColFormatBool(_arg0,_arg1);
9744
9745 wxPy_END_ALLOW_THREADS;
9746} Py_INCREF(Py_None);
9747 _resultobj = Py_None;
9748 return _resultobj;
9749}
9750
9751#define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9752static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
9753 PyObject * _resultobj;
9754 wxGrid * _arg0;
9755 int _arg1;
9756 PyObject * _argo0 = 0;
9757 char *_kwnames[] = { "self","col", NULL };
9758
9759 self = self;
9760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
9761 return NULL;
9762 if (_argo0) {
9763 if (_argo0 == Py_None) { _arg0 = NULL; }
9764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
9766 return NULL;
9767 }
9768 }
9769{
9770 wxPy_BEGIN_ALLOW_THREADS;
9771 wxGrid_SetColFormatNumber(_arg0,_arg1);
9772
9773 wxPy_END_ALLOW_THREADS;
9774} Py_INCREF(Py_None);
9775 _resultobj = Py_None;
9776 return _resultobj;
9777}
9778
9779#define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9780static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
9781 PyObject * _resultobj;
9782 wxGrid * _arg0;
9783 int _arg1;
9784 int _arg2 = (int ) -1;
9785 int _arg3 = (int ) -1;
9786 PyObject * _argo0 = 0;
9787 char *_kwnames[] = { "self","col","width","precision", NULL };
9788
9789 self = self;
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
9791 return NULL;
9792 if (_argo0) {
9793 if (_argo0 == Py_None) { _arg0 = NULL; }
9794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
9796 return NULL;
9797 }
9798 }
9799{
9800 wxPy_BEGIN_ALLOW_THREADS;
9801 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
9802
9803 wxPy_END_ALLOW_THREADS;
9804} Py_INCREF(Py_None);
9805 _resultobj = Py_None;
9806 return _resultobj;
9807}
9808
9809#define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9810static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
9811 PyObject * _resultobj;
9812 wxGrid * _arg0;
9813 int _arg1;
9814 wxString * _arg2;
9815 PyObject * _argo0 = 0;
9816 PyObject * _obj2 = 0;
9817 char *_kwnames[] = { "self","col","typeName", NULL };
9818
9819 self = self;
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
9821 return NULL;
9822 if (_argo0) {
9823 if (_argo0 == Py_None) { _arg0 = NULL; }
9824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9826 return NULL;
9827 }
9828 }
9829{
185d7c3e
RD
9830#if PYTHON_API_VERSION >= 1009
9831 char* tmpPtr; int tmpSize;
9832 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 9833 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
9834 return NULL;
9835 }
9836 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9837 return NULL;
9838 _arg2 = new wxString(tmpPtr, tmpSize);
9839#else
f6bcfd97
BP
9840 if (!PyString_Check(_obj2)) {
9841 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9842 return NULL;
9843 }
185d7c3e
RD
9844 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9845#endif
f6bcfd97
BP
9846}
9847{
9848 wxPy_BEGIN_ALLOW_THREADS;
9849 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
9850
9851 wxPy_END_ALLOW_THREADS;
9852} Py_INCREF(Py_None);
9853 _resultobj = Py_None;
9854{
9855 if (_obj2)
9856 delete _arg2;
9857}
9858 return _resultobj;
9859}
9860
9861#define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9862static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9863 PyObject * _resultobj;
9864 wxGrid * _arg0;
9865 bool _arg1 = (bool ) TRUE;
9866 PyObject * _argo0 = 0;
9867 int tempbool1 = (int) TRUE;
9868 char *_kwnames[] = { "self","enable", NULL };
9869
9870 self = self;
9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
9872 return NULL;
9873 if (_argo0) {
9874 if (_argo0 == Py_None) { _arg0 = NULL; }
9875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9877 return NULL;
9878 }
9879 }
9880 _arg1 = (bool ) tempbool1;
9881{
9882 wxPy_BEGIN_ALLOW_THREADS;
9883 wxGrid_EnableGridLines(_arg0,_arg1);
9884
9885 wxPy_END_ALLOW_THREADS;
9886} Py_INCREF(Py_None);
9887 _resultobj = Py_None;
9888 return _resultobj;
9889}
9890
9891#define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9892static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9893 PyObject * _resultobj;
9894 bool _result;
9895 wxGrid * _arg0;
9896 PyObject * _argo0 = 0;
9897 char *_kwnames[] = { "self", NULL };
9898
9899 self = self;
9900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
9901 return NULL;
9902 if (_argo0) {
9903 if (_argo0 == Py_None) { _arg0 = NULL; }
9904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9906 return NULL;
9907 }
9908 }
9909{
9910 wxPy_BEGIN_ALLOW_THREADS;
9911 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
9912
9913 wxPy_END_ALLOW_THREADS;
9914} _resultobj = Py_BuildValue("i",_result);
9915 return _resultobj;
9916}
9917
9918#define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9919static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject * _resultobj;
9921 int _result;
9922 wxGrid * _arg0;
9923 PyObject * _argo0 = 0;
9924 char *_kwnames[] = { "self", NULL };
9925
9926 self = self;
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
9928 return NULL;
9929 if (_argo0) {
9930 if (_argo0 == Py_None) { _arg0 = NULL; }
9931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9933 return NULL;
9934 }
9935 }
9936{
9937 wxPy_BEGIN_ALLOW_THREADS;
9938 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
9939
9940 wxPy_END_ALLOW_THREADS;
9941} _resultobj = Py_BuildValue("i",_result);
9942 return _resultobj;
9943}
9944
9945#define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9946static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9947 PyObject * _resultobj;
9948 int _result;
9949 wxGrid * _arg0;
9950 int _arg1;
9951 PyObject * _argo0 = 0;
9952 char *_kwnames[] = { "self","row", NULL };
9953
9954 self = self;
9955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
9956 return NULL;
9957 if (_argo0) {
9958 if (_argo0 == Py_None) { _arg0 = NULL; }
9959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
9961 return NULL;
9962 }
9963 }
9964{
9965 wxPy_BEGIN_ALLOW_THREADS;
9966 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
9967
9968 wxPy_END_ALLOW_THREADS;
9969} _resultobj = Py_BuildValue("i",_result);
9970 return _resultobj;
9971}
9972
9973#define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9974static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject * _resultobj;
9976 int _result;
9977 wxGrid * _arg0;
9978 PyObject * _argo0 = 0;
9979 char *_kwnames[] = { "self", NULL };
9980
9981 self = self;
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
9983 return NULL;
9984 if (_argo0) {
9985 if (_argo0 == Py_None) { _arg0 = NULL; }
9986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9988 return NULL;
9989 }
9990 }
9991{
9992 wxPy_BEGIN_ALLOW_THREADS;
9993 _result = (int )wxGrid_GetDefaultColSize(_arg0);
9994
9995 wxPy_END_ALLOW_THREADS;
9996} _resultobj = Py_BuildValue("i",_result);
9997 return _resultobj;
9998}
9999
10000#define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10001static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10002 PyObject * _resultobj;
10003 int _result;
10004 wxGrid * _arg0;
10005 int _arg1;
10006 PyObject * _argo0 = 0;
10007 char *_kwnames[] = { "self","col", NULL };
10008
10009 self = self;
10010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10011 return NULL;
10012 if (_argo0) {
10013 if (_argo0 == Py_None) { _arg0 = NULL; }
10014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10016 return NULL;
10017 }
10018 }
10019{
10020 wxPy_BEGIN_ALLOW_THREADS;
10021 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10022
10023 wxPy_END_ALLOW_THREADS;
10024} _resultobj = Py_BuildValue("i",_result);
10025 return _resultobj;
10026}
10027
10028#define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10029static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10030 PyObject * _resultobj;
10031 wxColour * _result;
10032 wxGrid * _arg0;
10033 PyObject * _argo0 = 0;
10034 char *_kwnames[] = { "self", NULL };
10035 char _ptemp[128];
10036
10037 self = self;
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10039 return NULL;
10040 if (_argo0) {
10041 if (_argo0 == Py_None) { _arg0 = NULL; }
10042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10044 return NULL;
10045 }
10046 }
10047{
10048 wxPy_BEGIN_ALLOW_THREADS;
10049 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10050
10051 wxPy_END_ALLOW_THREADS;
10052} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10053 _resultobj = Py_BuildValue("s",_ptemp);
10054 return _resultobj;
10055}
10056
10057#define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10058static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10059 PyObject * _resultobj;
10060 wxColour * _result;
10061 wxGrid * _arg0;
10062 int _arg1;
10063 int _arg2;
10064 PyObject * _argo0 = 0;
10065 char *_kwnames[] = { "self","row","col", NULL };
10066 char _ptemp[128];
10067
10068 self = self;
10069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10070 return NULL;
10071 if (_argo0) {
10072 if (_argo0 == Py_None) { _arg0 = NULL; }
10073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10075 return NULL;
10076 }
10077 }
10078{
10079 wxPy_BEGIN_ALLOW_THREADS;
10080 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
10081
10082 wxPy_END_ALLOW_THREADS;
10083} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10084 _resultobj = Py_BuildValue("s",_ptemp);
10085 return _resultobj;
10086}
10087
10088#define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10089static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10090 PyObject * _resultobj;
10091 wxColour * _result;
10092 wxGrid * _arg0;
10093 PyObject * _argo0 = 0;
10094 char *_kwnames[] = { "self", NULL };
10095 char _ptemp[128];
10096
10097 self = self;
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10099 return NULL;
10100 if (_argo0) {
10101 if (_argo0 == Py_None) { _arg0 = NULL; }
10102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10104 return NULL;
10105 }
10106 }
10107{
10108 wxPy_BEGIN_ALLOW_THREADS;
10109 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
10110
10111 wxPy_END_ALLOW_THREADS;
10112} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10113 _resultobj = Py_BuildValue("s",_ptemp);
10114 return _resultobj;
10115}
10116
10117#define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10118static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject * _resultobj;
10120 wxColour * _result;
10121 wxGrid * _arg0;
10122 int _arg1;
10123 int _arg2;
10124 PyObject * _argo0 = 0;
10125 char *_kwnames[] = { "self","row","col", NULL };
10126 char _ptemp[128];
10127
10128 self = self;
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10130 return NULL;
10131 if (_argo0) {
10132 if (_argo0 == Py_None) { _arg0 = NULL; }
10133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10135 return NULL;
10136 }
10137 }
10138{
10139 wxPy_BEGIN_ALLOW_THREADS;
10140 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
10141
10142 wxPy_END_ALLOW_THREADS;
10143} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10144 _resultobj = Py_BuildValue("s",_ptemp);
10145 return _resultobj;
10146}
10147
10148#define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10149static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject * _resultobj;
10151 wxFont * _result;
10152 wxGrid * _arg0;
10153 PyObject * _argo0 = 0;
10154 char *_kwnames[] = { "self", NULL };
10155 char _ptemp[128];
10156
10157 self = self;
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10159 return NULL;
10160 if (_argo0) {
10161 if (_argo0 == Py_None) { _arg0 = NULL; }
10162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10164 return NULL;
10165 }
10166 }
10167{
10168 wxPy_BEGIN_ALLOW_THREADS;
10169 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
10170
10171 wxPy_END_ALLOW_THREADS;
10172} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10173 _resultobj = Py_BuildValue("s",_ptemp);
10174 return _resultobj;
10175}
10176
10177#define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10178static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject * _resultobj;
10180 wxFont * _result;
10181 wxGrid * _arg0;
10182 int _arg1;
10183 int _arg2;
10184 PyObject * _argo0 = 0;
10185 char *_kwnames[] = { "self","row","col", NULL };
10186 char _ptemp[128];
10187
10188 self = self;
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10190 return NULL;
10191 if (_argo0) {
10192 if (_argo0 == Py_None) { _arg0 = NULL; }
10193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10195 return NULL;
10196 }
10197 }
10198{
10199 wxPy_BEGIN_ALLOW_THREADS;
10200 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
10201
10202 wxPy_END_ALLOW_THREADS;
10203} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10204 _resultobj = Py_BuildValue("s",_ptemp);
10205 return _resultobj;
10206}
10207
10208#define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10209static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject * _resultobj;
10211 wxGrid * _arg0;
10212 int * _arg1;
10213 int * _arg2;
10214 PyObject * _argo0 = 0;
10215 PyObject * _argo1 = 0;
10216 PyObject * _argo2 = 0;
10217 char *_kwnames[] = { "self","horiz","vert", NULL };
10218
10219 self = self;
10220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10221 return NULL;
10222 if (_argo0) {
10223 if (_argo0 == Py_None) { _arg0 = NULL; }
10224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10226 return NULL;
10227 }
10228 }
10229 if (_argo1) {
10230 if (_argo1 == Py_None) { _arg1 = NULL; }
10231 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10232 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10233 return NULL;
10234 }
10235 }
10236 if (_argo2) {
10237 if (_argo2 == Py_None) { _arg2 = NULL; }
10238 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10239 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10240 return NULL;
10241 }
10242 }
10243{
10244 wxPy_BEGIN_ALLOW_THREADS;
10245 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10246
10247 wxPy_END_ALLOW_THREADS;
10248} Py_INCREF(Py_None);
10249 _resultobj = Py_None;
10250 return _resultobj;
10251}
10252
10253#define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10254static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10255 PyObject * _resultobj;
10256 wxGrid * _arg0;
10257 int _arg1;
10258 int _arg2;
10259 int * _arg3;
10260 int * _arg4;
10261 PyObject * _argo0 = 0;
10262 PyObject * _argo3 = 0;
10263 PyObject * _argo4 = 0;
10264 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10265
10266 self = self;
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10268 return NULL;
10269 if (_argo0) {
10270 if (_argo0 == Py_None) { _arg0 = NULL; }
10271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10273 return NULL;
10274 }
10275 }
10276 if (_argo3) {
10277 if (_argo3 == Py_None) { _arg3 = NULL; }
10278 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10279 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10280 return NULL;
10281 }
10282 }
10283 if (_argo4) {
10284 if (_argo4 == Py_None) { _arg4 = NULL; }
10285 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10286 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10287 return NULL;
10288 }
10289 }
10290{
10291 wxPy_BEGIN_ALLOW_THREADS;
10292 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10293
10294 wxPy_END_ALLOW_THREADS;
10295} Py_INCREF(Py_None);
10296 _resultobj = Py_None;
10297 return _resultobj;
10298}
10299
10300#define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10301static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10302 PyObject * _resultobj;
10303 wxGrid * _arg0;
10304 int _arg1;
10305 bool _arg2 = (bool ) FALSE;
10306 PyObject * _argo0 = 0;
10307 int tempbool2 = (int) FALSE;
10308 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10309
10310 self = self;
10311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10312 return NULL;
10313 if (_argo0) {
10314 if (_argo0 == Py_None) { _arg0 = NULL; }
10315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10317 return NULL;
10318 }
10319 }
10320 _arg2 = (bool ) tempbool2;
10321{
10322 wxPy_BEGIN_ALLOW_THREADS;
10323 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10324
10325 wxPy_END_ALLOW_THREADS;
10326} Py_INCREF(Py_None);
10327 _resultobj = Py_None;
10328 return _resultobj;
10329}
10330
10331#define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10332static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10333 PyObject * _resultobj;
10334 wxGrid * _arg0;
10335 int _arg1;
10336 int _arg2;
10337 PyObject * _argo0 = 0;
10338 char *_kwnames[] = { "self","row","height", NULL };
10339
10340 self = self;
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10342 return NULL;
10343 if (_argo0) {
10344 if (_argo0 == Py_None) { _arg0 = NULL; }
10345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10347 return NULL;
10348 }
10349 }
10350{
10351 wxPy_BEGIN_ALLOW_THREADS;
10352 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10353
10354 wxPy_END_ALLOW_THREADS;
10355} Py_INCREF(Py_None);
10356 _resultobj = Py_None;
10357 return _resultobj;
10358}
10359
10360#define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10361static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10362 PyObject * _resultobj;
10363 wxGrid * _arg0;
10364 int _arg1;
10365 bool _arg2 = (bool ) FALSE;
10366 PyObject * _argo0 = 0;
10367 int tempbool2 = (int) FALSE;
10368 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10369
10370 self = self;
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10372 return NULL;
10373 if (_argo0) {
10374 if (_argo0 == Py_None) { _arg0 = NULL; }
10375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10377 return NULL;
10378 }
10379 }
10380 _arg2 = (bool ) tempbool2;
10381{
10382 wxPy_BEGIN_ALLOW_THREADS;
10383 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10384
10385 wxPy_END_ALLOW_THREADS;
10386} Py_INCREF(Py_None);
10387 _resultobj = Py_None;
10388 return _resultobj;
10389}
10390
10391#define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10392static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10393 PyObject * _resultobj;
10394 wxGrid * _arg0;
10395 int _arg1;
10396 int _arg2;
10397 PyObject * _argo0 = 0;
10398 char *_kwnames[] = { "self","col","width", NULL };
10399
10400 self = self;
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10402 return NULL;
10403 if (_argo0) {
10404 if (_argo0 == Py_None) { _arg0 = NULL; }
10405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10407 return NULL;
10408 }
10409 }
10410{
10411 wxPy_BEGIN_ALLOW_THREADS;
10412 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10413
10414 wxPy_END_ALLOW_THREADS;
10415} Py_INCREF(Py_None);
10416 _resultobj = Py_None;
10417 return _resultobj;
10418}
10419
10420#define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10421static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10422 PyObject * _resultobj;
10423 wxGrid * _arg0;
10424 int _arg1;
10425 bool _arg2 = (bool ) TRUE;
10426 PyObject * _argo0 = 0;
10427 int tempbool2 = (int) TRUE;
10428 char *_kwnames[] = { "self","col","setAsMin", NULL };
10429
10430 self = self;
10431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10432 return NULL;
10433 if (_argo0) {
10434 if (_argo0 == Py_None) { _arg0 = NULL; }
10435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10437 return NULL;
10438 }
10439 }
10440 _arg2 = (bool ) tempbool2;
10441{
10442 wxPy_BEGIN_ALLOW_THREADS;
10443 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10444
10445 wxPy_END_ALLOW_THREADS;
10446} Py_INCREF(Py_None);
10447 _resultobj = Py_None;
10448 return _resultobj;
10449}
10450
10451#define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10452static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10453 PyObject * _resultobj;
10454 wxGrid * _arg0;
10455 int _arg1;
10456 bool _arg2 = (bool ) TRUE;
10457 PyObject * _argo0 = 0;
10458 int tempbool2 = (int) TRUE;
10459 char *_kwnames[] = { "self","row","setAsMin", NULL };
10460
10461 self = self;
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10463 return NULL;
10464 if (_argo0) {
10465 if (_argo0 == Py_None) { _arg0 = NULL; }
10466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10468 return NULL;
10469 }
10470 }
10471 _arg2 = (bool ) tempbool2;
10472{
10473 wxPy_BEGIN_ALLOW_THREADS;
10474 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10475
10476 wxPy_END_ALLOW_THREADS;
10477} Py_INCREF(Py_None);
10478 _resultobj = Py_None;
10479 return _resultobj;
10480}
10481
10482#define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10483static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject * _resultobj;
10485 wxGrid * _arg0;
10486 bool _arg1 = (bool ) TRUE;
10487 PyObject * _argo0 = 0;
10488 int tempbool1 = (int) TRUE;
10489 char *_kwnames[] = { "self","setAsMin", NULL };
10490
10491 self = self;
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10493 return NULL;
10494 if (_argo0) {
10495 if (_argo0 == Py_None) { _arg0 = NULL; }
10496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10498 return NULL;
10499 }
10500 }
10501 _arg1 = (bool ) tempbool1;
10502{
10503 wxPy_BEGIN_ALLOW_THREADS;
10504 wxGrid_AutoSizeColumns(_arg0,_arg1);
10505
10506 wxPy_END_ALLOW_THREADS;
10507} Py_INCREF(Py_None);
10508 _resultobj = Py_None;
10509 return _resultobj;
10510}
10511
10512#define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10513static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject * _resultobj;
10515 wxGrid * _arg0;
10516 bool _arg1 = (bool ) TRUE;
10517 PyObject * _argo0 = 0;
10518 int tempbool1 = (int) TRUE;
10519 char *_kwnames[] = { "self","setAsMin", NULL };
10520
10521 self = self;
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10523 return NULL;
10524 if (_argo0) {
10525 if (_argo0 == Py_None) { _arg0 = NULL; }
10526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10528 return NULL;
10529 }
10530 }
10531 _arg1 = (bool ) tempbool1;
10532{
10533 wxPy_BEGIN_ALLOW_THREADS;
10534 wxGrid_AutoSizeRows(_arg0,_arg1);
10535
10536 wxPy_END_ALLOW_THREADS;
10537} Py_INCREF(Py_None);
10538 _resultobj = Py_None;
10539 return _resultobj;
10540}
10541
10542#define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10543static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10544 PyObject * _resultobj;
10545 wxGrid * _arg0;
10546 PyObject * _argo0 = 0;
10547 char *_kwnames[] = { "self", NULL };
10548
10549 self = self;
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10551 return NULL;
10552 if (_argo0) {
10553 if (_argo0 == Py_None) { _arg0 = NULL; }
10554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10556 return NULL;
10557 }
10558 }
10559{
10560 wxPy_BEGIN_ALLOW_THREADS;
10561 wxGrid_AutoSize(_arg0);
10562
10563 wxPy_END_ALLOW_THREADS;
10564} Py_INCREF(Py_None);
10565 _resultobj = Py_None;
10566 return _resultobj;
10567}
10568
10569#define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10570static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10571 PyObject * _resultobj;
10572 wxGrid * _arg0;
10573 int _arg1;
10574 int _arg2;
10575 PyObject * _argo0 = 0;
10576 char *_kwnames[] = { "self","col","width", NULL };
10577
10578 self = self;
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10580 return NULL;
10581 if (_argo0) {
10582 if (_argo0 == Py_None) { _arg0 = NULL; }
10583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10585 return NULL;
10586 }
10587 }
10588{
10589 wxPy_BEGIN_ALLOW_THREADS;
10590 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10591
10592 wxPy_END_ALLOW_THREADS;
10593} Py_INCREF(Py_None);
10594 _resultobj = Py_None;
10595 return _resultobj;
10596}
10597
10598#define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10599static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10600 PyObject * _resultobj;
10601 wxGrid * _arg0;
10602 int _arg1;
10603 int _arg2;
10604 PyObject * _argo0 = 0;
10605 char *_kwnames[] = { "self","row","width", NULL };
10606
10607 self = self;
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10609 return NULL;
10610 if (_argo0) {
10611 if (_argo0 == Py_None) { _arg0 = NULL; }
10612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10614 return NULL;
10615 }
10616 }
10617{
10618 wxPy_BEGIN_ALLOW_THREADS;
10619 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10620
10621 wxPy_END_ALLOW_THREADS;
10622} Py_INCREF(Py_None);
10623 _resultobj = Py_None;
10624 return _resultobj;
10625}
10626
10627#define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10628static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10629 PyObject * _resultobj;
10630 wxGrid * _arg0;
10631 wxColour * _arg1;
10632 PyObject * _argo0 = 0;
10633 wxColour temp;
10634 PyObject * _obj1 = 0;
10635 char *_kwnames[] = { "self","arg2", NULL };
10636
10637 self = self;
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10639 return NULL;
10640 if (_argo0) {
10641 if (_argo0 == Py_None) { _arg0 = NULL; }
10642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10644 return NULL;
10645 }
10646 }
10647{
10648 _arg1 = &temp;
10649 if (! wxColour_helper(_obj1, &_arg1))
10650 return NULL;
10651}
10652{
10653 wxPy_BEGIN_ALLOW_THREADS;
10654 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10655
10656 wxPy_END_ALLOW_THREADS;
10657} Py_INCREF(Py_None);
10658 _resultobj = Py_None;
10659 return _resultobj;
10660}
10661
10662#define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10663static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10664 PyObject * _resultobj;
10665 wxGrid * _arg0;
10666 int _arg1;
10667 int _arg2;
10668 wxColour * _arg3;
10669 PyObject * _argo0 = 0;
10670 wxColour temp;
10671 PyObject * _obj3 = 0;
10672 char *_kwnames[] = { "self","row","col","arg4", NULL };
10673
10674 self = self;
10675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10676 return NULL;
10677 if (_argo0) {
10678 if (_argo0 == Py_None) { _arg0 = NULL; }
10679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10681 return NULL;
10682 }
10683 }
10684{
10685 _arg3 = &temp;
10686 if (! wxColour_helper(_obj3, &_arg3))
10687 return NULL;
10688}
10689{
10690 wxPy_BEGIN_ALLOW_THREADS;
10691 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
10692
10693 wxPy_END_ALLOW_THREADS;
10694} Py_INCREF(Py_None);
10695 _resultobj = Py_None;
10696 return _resultobj;
10697}
10698
10699#define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10700static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10701 PyObject * _resultobj;
10702 wxGrid * _arg0;
10703 wxColour * _arg1;
10704 PyObject * _argo0 = 0;
10705 wxColour temp;
10706 PyObject * _obj1 = 0;
10707 char *_kwnames[] = { "self","arg2", NULL };
10708
10709 self = self;
10710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
10711 return NULL;
10712 if (_argo0) {
10713 if (_argo0 == Py_None) { _arg0 = NULL; }
10714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10716 return NULL;
10717 }
10718 }
10719{
10720 _arg1 = &temp;
10721 if (! wxColour_helper(_obj1, &_arg1))
10722 return NULL;
10723}
10724{
10725 wxPy_BEGIN_ALLOW_THREADS;
10726 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
10727
10728 wxPy_END_ALLOW_THREADS;
10729} Py_INCREF(Py_None);
10730 _resultobj = Py_None;
10731 return _resultobj;
10732}
10733
10734#define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10735static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10736 PyObject * _resultobj;
10737 wxGrid * _arg0;
10738 int _arg1;
10739 int _arg2;
10740 wxColour * _arg3;
10741 PyObject * _argo0 = 0;
10742 wxColour temp;
10743 PyObject * _obj3 = 0;
10744 char *_kwnames[] = { "self","row","col","arg4", NULL };
10745
10746 self = self;
10747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10748 return NULL;
10749 if (_argo0) {
10750 if (_argo0 == Py_None) { _arg0 = NULL; }
10751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10753 return NULL;
10754 }
10755 }
10756{
10757 _arg3 = &temp;
10758 if (! wxColour_helper(_obj3, &_arg3))
10759 return NULL;
10760}
10761{
10762 wxPy_BEGIN_ALLOW_THREADS;
10763 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
10764
10765 wxPy_END_ALLOW_THREADS;
10766} Py_INCREF(Py_None);
10767 _resultobj = Py_None;
10768 return _resultobj;
10769}
10770
10771#define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10772static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10773 PyObject * _resultobj;
10774 wxGrid * _arg0;
10775 wxFont * _arg1;
10776 PyObject * _argo0 = 0;
10777 PyObject * _argo1 = 0;
10778 char *_kwnames[] = { "self","arg2", NULL };
10779
10780 self = self;
10781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
10782 return NULL;
10783 if (_argo0) {
10784 if (_argo0 == Py_None) { _arg0 = NULL; }
10785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10787 return NULL;
10788 }
10789 }
10790 if (_argo1) {
10791 if (_argo1 == Py_None) { _arg1 = NULL; }
10792 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
10793 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10794 return NULL;
10795 }
10796 }
10797{
10798 wxPy_BEGIN_ALLOW_THREADS;
10799 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
10800
10801 wxPy_END_ALLOW_THREADS;
10802} Py_INCREF(Py_None);
10803 _resultobj = Py_None;
10804 return _resultobj;
10805}
10806
10807#define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10808static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10809 PyObject * _resultobj;
10810 wxGrid * _arg0;
10811 int _arg1;
10812 int _arg2;
10813 wxFont * _arg3;
10814 PyObject * _argo0 = 0;
10815 PyObject * _argo3 = 0;
10816 char *_kwnames[] = { "self","row","col","arg4", NULL };
10817
10818 self = self;
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10820 return NULL;
10821 if (_argo0) {
10822 if (_argo0 == Py_None) { _arg0 = NULL; }
10823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10825 return NULL;
10826 }
10827 }
10828 if (_argo3) {
10829 if (_argo3 == Py_None) { _arg3 = NULL; }
10830 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
10831 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10832 return NULL;
10833 }
10834 }
10835{
10836 wxPy_BEGIN_ALLOW_THREADS;
10837 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
10838
10839 wxPy_END_ALLOW_THREADS;
10840} Py_INCREF(Py_None);
10841 _resultobj = Py_None;
10842 return _resultobj;
10843}
10844
10845#define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10846static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10847 PyObject * _resultobj;
10848 wxGrid * _arg0;
10849 int _arg1;
10850 int _arg2;
10851 PyObject * _argo0 = 0;
10852 char *_kwnames[] = { "self","horiz","vert", NULL };
10853
10854 self = self;
10855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10856 return NULL;
10857 if (_argo0) {
10858 if (_argo0 == Py_None) { _arg0 = NULL; }
10859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10861 return NULL;
10862 }
10863 }
10864{
10865 wxPy_BEGIN_ALLOW_THREADS;
10866 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
10867
10868 wxPy_END_ALLOW_THREADS;
10869} Py_INCREF(Py_None);
10870 _resultobj = Py_None;
10871 return _resultobj;
10872}
10873
10874#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10875static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10876 PyObject * _resultobj;
10877 wxGrid * _arg0;
10878 int _arg1;
10879 int _arg2;
10880 int _arg3;
10881 int _arg4;
10882 PyObject * _argo0 = 0;
10883 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10884
10885 self = self;
10886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10887 return NULL;
10888 if (_argo0) {
10889 if (_argo0 == Py_None) { _arg0 = NULL; }
10890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10892 return NULL;
10893 }
10894 }
10895{
10896 wxPy_BEGIN_ALLOW_THREADS;
10897 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10898
10899 wxPy_END_ALLOW_THREADS;
10900} Py_INCREF(Py_None);
10901 _resultobj = Py_None;
10902 return _resultobj;
10903}
10904
10905#define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10906static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10907 PyObject * _resultobj;
10908 wxGrid * _arg0;
10909 wxGridCellRenderer * _arg1;
10910 PyObject * _argo0 = 0;
10911 PyObject * _argo1 = 0;
10912 char *_kwnames[] = { "self","renderer", NULL };
10913
10914 self = self;
10915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
10916 return NULL;
10917 if (_argo0) {
10918 if (_argo0 == Py_None) { _arg0 = NULL; }
10919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10921 return NULL;
10922 }
10923 }
10924 if (_argo1) {
10925 if (_argo1 == Py_None) { _arg1 = NULL; }
10926 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
10927 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10928 return NULL;
10929 }
10930 }
10931{
10932 wxPy_BEGIN_ALLOW_THREADS;
10933 wxGrid_SetDefaultRenderer(_arg0,_arg1);
10934
10935 wxPy_END_ALLOW_THREADS;
10936} Py_INCREF(Py_None);
10937 _resultobj = Py_None;
10938 return _resultobj;
10939}
10940
10941#define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10942static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10943 PyObject * _resultobj;
10944 wxGrid * _arg0;
10945 int _arg1;
10946 int _arg2;
10947 wxGridCellRenderer * _arg3;
10948 PyObject * _argo0 = 0;
10949 PyObject * _argo3 = 0;
10950 char *_kwnames[] = { "self","row","col","renderer", NULL };
10951
10952 self = self;
10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10954 return NULL;
10955 if (_argo0) {
10956 if (_argo0 == Py_None) { _arg0 = NULL; }
10957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10959 return NULL;
10960 }
10961 }
10962 if (_argo3) {
10963 if (_argo3 == Py_None) { _arg3 = NULL; }
10964 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
10965 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10966 return NULL;
10967 }
10968 }
10969{
10970 wxPy_BEGIN_ALLOW_THREADS;
10971 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
10972
10973 wxPy_END_ALLOW_THREADS;
10974} Py_INCREF(Py_None);
10975 _resultobj = Py_None;
10976 return _resultobj;
10977}
10978
10979#define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10980static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10981 PyObject * _resultobj;
10982 wxGridCellRenderer * _result;
10983 wxGrid * _arg0;
10984 PyObject * _argo0 = 0;
10985 char *_kwnames[] = { "self", NULL };
10986 char _ptemp[128];
10987
10988 self = self;
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
10990 return NULL;
10991 if (_argo0) {
10992 if (_argo0 == Py_None) { _arg0 = NULL; }
10993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10995 return NULL;
10996 }
10997 }
10998{
10999 wxPy_BEGIN_ALLOW_THREADS;
11000 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
11001
11002 wxPy_END_ALLOW_THREADS;
11003} if (_result) {
11004 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11005 _resultobj = Py_BuildValue("s",_ptemp);
11006 } else {
11007 Py_INCREF(Py_None);
11008 _resultobj = Py_None;
11009 }
11010 return _resultobj;
11011}
11012
11013#define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11014static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject * _resultobj;
11016 wxGridCellRenderer * _result;
11017 wxGrid * _arg0;
11018 int _arg1;
11019 int _arg2;
11020 PyObject * _argo0 = 0;
11021 char *_kwnames[] = { "self","row","col", NULL };
11022 char _ptemp[128];
11023
11024 self = self;
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11026 return NULL;
11027 if (_argo0) {
11028 if (_argo0 == Py_None) { _arg0 = NULL; }
11029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11031 return NULL;
11032 }
11033 }
11034{
11035 wxPy_BEGIN_ALLOW_THREADS;
11036 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
11037
11038 wxPy_END_ALLOW_THREADS;
11039} if (_result) {
11040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11041 _resultobj = Py_BuildValue("s",_ptemp);
11042 } else {
11043 Py_INCREF(Py_None);
11044 _resultobj = Py_None;
11045 }
11046 return _resultobj;
11047}
11048
11049#define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11050static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11051 PyObject * _resultobj;
11052 wxGrid * _arg0;
11053 wxGridCellEditor * _arg1;
11054 PyObject * _argo0 = 0;
11055 PyObject * _argo1 = 0;
11056 char *_kwnames[] = { "self","editor", NULL };
11057
11058 self = self;
11059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
11060 return NULL;
11061 if (_argo0) {
11062 if (_argo0 == Py_None) { _arg0 = NULL; }
11063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11065 return NULL;
11066 }
11067 }
11068 if (_argo1) {
11069 if (_argo1 == Py_None) { _arg1 = NULL; }
11070 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
11071 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11072 return NULL;
11073 }
11074 }
11075{
11076 wxPy_BEGIN_ALLOW_THREADS;
11077 wxGrid_SetDefaultEditor(_arg0,_arg1);
11078
11079 wxPy_END_ALLOW_THREADS;
11080} Py_INCREF(Py_None);
11081 _resultobj = Py_None;
11082 return _resultobj;
11083}
11084
11085#define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11086static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject * _resultobj;
11088 wxGrid * _arg0;
11089 int _arg1;
11090 int _arg2;
11091 wxGridCellEditor * _arg3;
11092 PyObject * _argo0 = 0;
11093 PyObject * _argo3 = 0;
11094 char *_kwnames[] = { "self","row","col","editor", NULL };
11095
11096 self = self;
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
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_SetCellEditor. Expected _wxGrid_p.");
11103 return NULL;
11104 }
11105 }
11106 if (_argo3) {
11107 if (_argo3 == Py_None) { _arg3 = NULL; }
11108 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11109 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11110 return NULL;
11111 }
11112 }
11113{
11114 wxPy_BEGIN_ALLOW_THREADS;
11115 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
11116
11117 wxPy_END_ALLOW_THREADS;
11118} Py_INCREF(Py_None);
11119 _resultobj = Py_None;
11120 return _resultobj;
11121}
11122
11123#define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11124static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11125 PyObject * _resultobj;
11126 wxGridCellEditor * _result;
11127 wxGrid * _arg0;
11128 PyObject * _argo0 = 0;
11129 char *_kwnames[] = { "self", NULL };
11130 char _ptemp[128];
11131
11132 self = self;
11133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
11134 return NULL;
11135 if (_argo0) {
11136 if (_argo0 == Py_None) { _arg0 = NULL; }
11137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11139 return NULL;
11140 }
11141 }
11142{
11143 wxPy_BEGIN_ALLOW_THREADS;
11144 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
11145
11146 wxPy_END_ALLOW_THREADS;
11147} if (_result) {
11148 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11149 _resultobj = Py_BuildValue("s",_ptemp);
11150 } else {
11151 Py_INCREF(Py_None);
11152 _resultobj = Py_None;
11153 }
11154 return _resultobj;
11155}
11156
11157#define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11158static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject * _resultobj;
11160 wxGridCellEditor * _result;
11161 wxGrid * _arg0;
11162 int _arg1;
11163 int _arg2;
11164 PyObject * _argo0 = 0;
11165 char *_kwnames[] = { "self","row","col", NULL };
11166 char _ptemp[128];
11167
11168 self = self;
11169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
11170 return NULL;
11171 if (_argo0) {
11172 if (_argo0 == Py_None) { _arg0 = NULL; }
11173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11175 return NULL;
11176 }
11177 }
11178{
11179 wxPy_BEGIN_ALLOW_THREADS;
11180 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
11181
11182 wxPy_END_ALLOW_THREADS;
11183} if (_result) {
11184 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11185 _resultobj = Py_BuildValue("s",_ptemp);
11186 } else {
11187 Py_INCREF(Py_None);
11188 _resultobj = Py_None;
11189 }
11190 return _resultobj;
11191}
11192
11193#define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11194static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11195 PyObject * _resultobj;
11196 wxString * _result;
11197 wxGrid * _arg0;
11198 int _arg1;
11199 int _arg2;
11200 PyObject * _argo0 = 0;
11201 char *_kwnames[] = { "self","row","col", NULL };
11202
11203 self = self;
11204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
11205 return NULL;
11206 if (_argo0) {
11207 if (_argo0 == Py_None) { _arg0 = NULL; }
11208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11210 return NULL;
11211 }
11212 }
11213{
11214 wxPy_BEGIN_ALLOW_THREADS;
11215 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11216
11217 wxPy_END_ALLOW_THREADS;
11218}{
11219 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11220}
11221{
11222 delete _result;
11223}
11224 return _resultobj;
11225}
11226
11227#define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11228static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11229 PyObject * _resultobj;
11230 wxGrid * _arg0;
11231 int _arg1;
11232 int _arg2;
11233 wxString * _arg3;
11234 PyObject * _argo0 = 0;
11235 PyObject * _obj3 = 0;
11236 char *_kwnames[] = { "self","row","col","s", NULL };
11237
11238 self = self;
11239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11240 return NULL;
11241 if (_argo0) {
11242 if (_argo0 == Py_None) { _arg0 = NULL; }
11243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11245 return NULL;
11246 }
11247 }
11248{
185d7c3e
RD
11249#if PYTHON_API_VERSION >= 1009
11250 char* tmpPtr; int tmpSize;
11251 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 11252 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
11253 return NULL;
11254 }
11255 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11256 return NULL;
11257 _arg3 = new wxString(tmpPtr, tmpSize);
11258#else
f6bcfd97
BP
11259 if (!PyString_Check(_obj3)) {
11260 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11261 return NULL;
11262 }
185d7c3e
RD
11263 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11264#endif
f6bcfd97
BP
11265}
11266{
11267 wxPy_BEGIN_ALLOW_THREADS;
11268 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11269
11270 wxPy_END_ALLOW_THREADS;
11271} Py_INCREF(Py_None);
11272 _resultobj = Py_None;
11273{
11274 if (_obj3)
11275 delete _arg3;
11276}
11277 return _resultobj;
11278}
11279
11280#define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11281static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11282 PyObject * _resultobj;
11283 bool _result;
11284 wxGrid * _arg0;
11285 int _arg1;
11286 int _arg2;
11287 PyObject * _argo0 = 0;
11288 char *_kwnames[] = { "self","row","col", NULL };
11289
11290 self = self;
11291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11292 return NULL;
11293 if (_argo0) {
11294 if (_argo0 == Py_None) { _arg0 = NULL; }
11295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11297 return NULL;
11298 }
11299 }
11300{
11301 wxPy_BEGIN_ALLOW_THREADS;
11302 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11303
11304 wxPy_END_ALLOW_THREADS;
11305} _resultobj = Py_BuildValue("i",_result);
11306 return _resultobj;
11307}
11308
11309#define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11310static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject * _resultobj;
11312 wxGrid * _arg0;
11313 int _arg1;
11314 int _arg2;
11315 bool _arg3 = (bool ) TRUE;
11316 PyObject * _argo0 = 0;
11317 int tempbool3 = (int) TRUE;
11318 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11319
11320 self = self;
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11322 return NULL;
11323 if (_argo0) {
11324 if (_argo0 == Py_None) { _arg0 = NULL; }
11325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11327 return NULL;
11328 }
11329 }
11330 _arg3 = (bool ) tempbool3;
11331{
11332 wxPy_BEGIN_ALLOW_THREADS;
11333 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11334
11335 wxPy_END_ALLOW_THREADS;
11336} Py_INCREF(Py_None);
11337 _resultobj = Py_None;
11338 return _resultobj;
11339}
11340
11341#define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11342static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11343 PyObject * _resultobj;
11344 wxGrid * _arg0;
11345 int _arg1;
11346 bool _arg2 = (bool ) FALSE;
11347 PyObject * _argo0 = 0;
11348 int tempbool2 = (int) FALSE;
11349 char *_kwnames[] = { "self","row","addToSelected", NULL };
11350
11351 self = self;
11352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11353 return NULL;
11354 if (_argo0) {
11355 if (_argo0 == Py_None) { _arg0 = NULL; }
11356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11358 return NULL;
11359 }
11360 }
11361 _arg2 = (bool ) tempbool2;
11362{
11363 wxPy_BEGIN_ALLOW_THREADS;
11364 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11365
11366 wxPy_END_ALLOW_THREADS;
11367} Py_INCREF(Py_None);
11368 _resultobj = Py_None;
11369 return _resultobj;
11370}
11371
11372#define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11373static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11374 PyObject * _resultobj;
11375 wxGrid * _arg0;
11376 int _arg1;
11377 bool _arg2 = (bool ) FALSE;
11378 PyObject * _argo0 = 0;
11379 int tempbool2 = (int) FALSE;
11380 char *_kwnames[] = { "self","col","addToSelected", NULL };
11381
11382 self = self;
11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11384 return NULL;
11385 if (_argo0) {
11386 if (_argo0 == Py_None) { _arg0 = NULL; }
11387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11389 return NULL;
11390 }
11391 }
11392 _arg2 = (bool ) tempbool2;
11393{
11394 wxPy_BEGIN_ALLOW_THREADS;
11395 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11396
11397 wxPy_END_ALLOW_THREADS;
11398} Py_INCREF(Py_None);
11399 _resultobj = Py_None;
11400 return _resultobj;
11401}
11402
c368d904 11403#define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
f6bcfd97
BP
11404static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11405 PyObject * _resultobj;
11406 wxGrid * _arg0;
11407 int _arg1;
11408 int _arg2;
11409 int _arg3;
11410 int _arg4;
c368d904 11411 bool _arg5 = (bool ) FALSE;
f6bcfd97 11412 PyObject * _argo0 = 0;
c368d904
RD
11413 int tempbool5 = (int) FALSE;
11414 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
f6bcfd97
BP
11415
11416 self = self;
c368d904 11417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
f6bcfd97
BP
11418 return NULL;
11419 if (_argo0) {
11420 if (_argo0 == Py_None) { _arg0 = NULL; }
11421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11423 return NULL;
11424 }
11425 }
c368d904 11426 _arg5 = (bool ) tempbool5;
f6bcfd97
BP
11427{
11428 wxPy_BEGIN_ALLOW_THREADS;
c368d904 11429 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
f6bcfd97
BP
11430
11431 wxPy_END_ALLOW_THREADS;
11432} Py_INCREF(Py_None);
11433 _resultobj = Py_None;
11434 return _resultobj;
11435}
11436
11437#define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11438static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11439 PyObject * _resultobj;
11440 wxGrid * _arg0;
11441 PyObject * _argo0 = 0;
11442 char *_kwnames[] = { "self", NULL };
11443
11444 self = self;
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11446 return NULL;
11447 if (_argo0) {
11448 if (_argo0 == Py_None) { _arg0 = NULL; }
11449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11451 return NULL;
11452 }
11453 }
11454{
11455 wxPy_BEGIN_ALLOW_THREADS;
11456 wxGrid_SelectAll(_arg0);
11457
11458 wxPy_END_ALLOW_THREADS;
11459} Py_INCREF(Py_None);
11460 _resultobj = Py_None;
11461 return _resultobj;
11462}
11463
11464#define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11465static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject * _resultobj;
11467 bool _result;
11468 wxGrid * _arg0;
11469 PyObject * _argo0 = 0;
11470 char *_kwnames[] = { "self", NULL };
11471
11472 self = self;
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
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_IsSelection. Expected _wxGrid_p.");
11479 return NULL;
11480 }
11481 }
11482{
11483 wxPy_BEGIN_ALLOW_THREADS;
11484 _result = (bool )wxGrid_IsSelection(_arg0);
11485
11486 wxPy_END_ALLOW_THREADS;
11487} _resultobj = Py_BuildValue("i",_result);
11488 return _resultobj;
11489}
11490
11491#define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11492static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11493 PyObject * _resultobj;
11494 wxGrid * _arg0;
11495 PyObject * _argo0 = 0;
11496 char *_kwnames[] = { "self", NULL };
11497
11498 self = self;
11499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11500 return NULL;
11501 if (_argo0) {
11502 if (_argo0 == Py_None) { _arg0 = NULL; }
11503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11505 return NULL;
11506 }
11507 }
11508{
11509 wxPy_BEGIN_ALLOW_THREADS;
11510 wxGrid_ClearSelection(_arg0);
11511
11512 wxPy_END_ALLOW_THREADS;
11513} Py_INCREF(Py_None);
11514 _resultobj = Py_None;
11515 return _resultobj;
11516}
11517
11518#define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11519static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11520 PyObject * _resultobj;
11521 bool _result;
11522 wxGrid * _arg0;
11523 int _arg1;
11524 int _arg2;
11525 PyObject * _argo0 = 0;
11526 char *_kwnames[] = { "self","row","col", NULL };
11527
11528 self = self;
11529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11530 return NULL;
11531 if (_argo0) {
11532 if (_argo0 == Py_None) { _arg0 = NULL; }
11533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11535 return NULL;
11536 }
11537 }
11538{
11539 wxPy_BEGIN_ALLOW_THREADS;
11540 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11541
11542 wxPy_END_ALLOW_THREADS;
11543} _resultobj = Py_BuildValue("i",_result);
11544 return _resultobj;
11545}
11546
11547#define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11548static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11549 PyObject * _resultobj;
11550 wxRect * _result;
11551 wxGrid * _arg0;
11552 wxGridCellCoords * _arg1;
11553 wxGridCellCoords * _arg2;
11554 PyObject * _argo0 = 0;
11555 wxGridCellCoords temp;
11556 PyObject * _obj1 = 0;
11557 wxGridCellCoords temp0;
11558 PyObject * _obj2 = 0;
11559 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11560 char _ptemp[128];
11561
11562 self = self;
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11564 return NULL;
11565 if (_argo0) {
11566 if (_argo0 == Py_None) { _arg0 = NULL; }
11567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11569 return NULL;
11570 }
11571 }
11572{
11573 _arg1 = &temp;
11574 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11575 return NULL;
11576}
11577{
11578 _arg2 = &temp0;
11579 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11580 return NULL;
11581}
11582{
11583 wxPy_BEGIN_ALLOW_THREADS;
11584 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11585
11586 wxPy_END_ALLOW_THREADS;
11587} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11588 _resultobj = Py_BuildValue("s",_ptemp);
11589 return _resultobj;
11590}
11591
11592#define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11593static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11594 PyObject * _resultobj;
11595 wxColour * _result;
11596 wxGrid * _arg0;
11597 PyObject * _argo0 = 0;
11598 char *_kwnames[] = { "self", NULL };
11599 char _ptemp[128];
11600
11601 self = self;
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11603 return NULL;
11604 if (_argo0) {
11605 if (_argo0 == Py_None) { _arg0 = NULL; }
11606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11608 return NULL;
11609 }
11610 }
11611{
11612 wxPy_BEGIN_ALLOW_THREADS;
11613 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11614
11615 wxPy_END_ALLOW_THREADS;
11616} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11617 _resultobj = Py_BuildValue("s",_ptemp);
11618 return _resultobj;
11619}
11620
11621#define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11622static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11623 PyObject * _resultobj;
11624 wxColour * _result;
11625 wxGrid * _arg0;
11626 PyObject * _argo0 = 0;
11627 char *_kwnames[] = { "self", NULL };
11628 char _ptemp[128];
11629
11630 self = self;
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11632 return NULL;
11633 if (_argo0) {
11634 if (_argo0 == Py_None) { _arg0 = NULL; }
11635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11637 return NULL;
11638 }
11639 }
11640{
11641 wxPy_BEGIN_ALLOW_THREADS;
11642 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
11643
11644 wxPy_END_ALLOW_THREADS;
11645} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11646 _resultobj = Py_BuildValue("s",_ptemp);
11647 return _resultobj;
11648}
11649
11650#define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11651static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11652 PyObject * _resultobj;
11653 wxGrid * _arg0;
11654 wxColour * _arg1;
11655 PyObject * _argo0 = 0;
11656 wxColour temp;
11657 PyObject * _obj1 = 0;
11658 char *_kwnames[] = { "self","c", NULL };
11659
11660 self = self;
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
11662 return NULL;
11663 if (_argo0) {
11664 if (_argo0 == Py_None) { _arg0 = NULL; }
11665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11667 return NULL;
11668 }
11669 }
11670{
11671 _arg1 = &temp;
11672 if (! wxColour_helper(_obj1, &_arg1))
11673 return NULL;
11674}
11675{
11676 wxPy_BEGIN_ALLOW_THREADS;
11677 wxGrid_SetSelectionBackground(_arg0,*_arg1);
11678
11679 wxPy_END_ALLOW_THREADS;
11680} Py_INCREF(Py_None);
11681 _resultobj = Py_None;
11682 return _resultobj;
11683}
11684
11685#define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11686static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11687 PyObject * _resultobj;
11688 wxGrid * _arg0;
11689 wxColour * _arg1;
11690 PyObject * _argo0 = 0;
11691 wxColour temp;
11692 PyObject * _obj1 = 0;
11693 char *_kwnames[] = { "self","c", NULL };
11694
11695 self = self;
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
11697 return NULL;
11698 if (_argo0) {
11699 if (_argo0 == Py_None) { _arg0 = NULL; }
11700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11702 return NULL;
11703 }
11704 }
11705{
11706 _arg1 = &temp;
11707 if (! wxColour_helper(_obj1, &_arg1))
11708 return NULL;
11709}
11710{
11711 wxPy_BEGIN_ALLOW_THREADS;
11712 wxGrid_SetSelectionForeground(_arg0,*_arg1);
11713
11714 wxPy_END_ALLOW_THREADS;
11715} Py_INCREF(Py_None);
11716 _resultobj = Py_None;
11717 return _resultobj;
11718}
11719
11720#define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11721static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
11722 PyObject * _resultobj;
11723 wxGrid * _arg0;
11724 wxString * _arg1;
11725 wxGridCellRenderer * _arg2;
11726 wxGridCellEditor * _arg3;
11727 PyObject * _argo0 = 0;
11728 PyObject * _obj1 = 0;
11729 PyObject * _argo2 = 0;
11730 PyObject * _argo3 = 0;
11731 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
11732
11733 self = self;
11734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
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_RegisterDataType. Expected _wxGrid_p.");
11740 return NULL;
11741 }
11742 }
11743{
185d7c3e
RD
11744#if PYTHON_API_VERSION >= 1009
11745 char* tmpPtr; int tmpSize;
11746 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 11747 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
11748 return NULL;
11749 }
11750 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11751 return NULL;
11752 _arg1 = new wxString(tmpPtr, tmpSize);
11753#else
f6bcfd97
BP
11754 if (!PyString_Check(_obj1)) {
11755 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11756 return NULL;
11757 }
185d7c3e
RD
11758 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11759#endif
f6bcfd97
BP
11760}
11761 if (_argo2) {
11762 if (_argo2 == Py_None) { _arg2 = NULL; }
11763 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
11764 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11765 return NULL;
11766 }
11767 }
11768 if (_argo3) {
11769 if (_argo3 == Py_None) { _arg3 = NULL; }
11770 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11771 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11772 return NULL;
11773 }
11774 }
11775{
11776 wxPy_BEGIN_ALLOW_THREADS;
11777 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
11778
11779 wxPy_END_ALLOW_THREADS;
11780} Py_INCREF(Py_None);
11781 _resultobj = Py_None;
11782{
11783 if (_obj1)
11784 delete _arg1;
11785}
11786 return _resultobj;
11787}
11788
11789#define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11790static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11791 PyObject * _resultobj;
11792 wxGridCellEditor * _result;
11793 wxGrid * _arg0;
11794 int _arg1;
11795 int _arg2;
11796 PyObject * _argo0 = 0;
11797 char *_kwnames[] = { "self","row","col", NULL };
11798 char _ptemp[128];
11799
11800 self = self;
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11802 return NULL;
11803 if (_argo0) {
11804 if (_argo0 == Py_None) { _arg0 = NULL; }
11805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11807 return NULL;
11808 }
11809 }
11810{
11811 wxPy_BEGIN_ALLOW_THREADS;
11812 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
11813
11814 wxPy_END_ALLOW_THREADS;
11815} if (_result) {
11816 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11817 _resultobj = Py_BuildValue("s",_ptemp);
11818 } else {
11819 Py_INCREF(Py_None);
11820 _resultobj = Py_None;
11821 }
11822 return _resultobj;
11823}
11824
11825#define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11826static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11827 PyObject * _resultobj;
11828 wxGridCellRenderer * _result;
11829 wxGrid * _arg0;
11830 int _arg1;
11831 int _arg2;
11832 PyObject * _argo0 = 0;
11833 char *_kwnames[] = { "self","row","col", NULL };
11834 char _ptemp[128];
11835
11836 self = self;
11837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11838 return NULL;
11839 if (_argo0) {
11840 if (_argo0 == Py_None) { _arg0 = NULL; }
11841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11843 return NULL;
11844 }
11845 }
11846{
11847 wxPy_BEGIN_ALLOW_THREADS;
11848 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
11849
11850 wxPy_END_ALLOW_THREADS;
11851} if (_result) {
11852 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11853 _resultobj = Py_BuildValue("s",_ptemp);
11854 } else {
11855 Py_INCREF(Py_None);
11856 _resultobj = Py_None;
11857 }
11858 return _resultobj;
11859}
11860
11861#define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11862static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11863 PyObject * _resultobj;
11864 wxGridCellEditor * _result;
11865 wxGrid * _arg0;
11866 wxString * _arg1;
11867 PyObject * _argo0 = 0;
11868 PyObject * _obj1 = 0;
11869 char *_kwnames[] = { "self","typeName", NULL };
11870 char _ptemp[128];
11871
11872 self = self;
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
11874 return NULL;
11875 if (_argo0) {
11876 if (_argo0 == Py_None) { _arg0 = NULL; }
11877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
11879 return NULL;
11880 }
11881 }
11882{
185d7c3e
RD
11883#if PYTHON_API_VERSION >= 1009
11884 char* tmpPtr; int tmpSize;
11885 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 11886 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
11887 return NULL;
11888 }
11889 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11890 return NULL;
11891 _arg1 = new wxString(tmpPtr, tmpSize);
11892#else
f6bcfd97
BP
11893 if (!PyString_Check(_obj1)) {
11894 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11895 return NULL;
11896 }
185d7c3e
RD
11897 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11898#endif
f6bcfd97
BP
11899}
11900{
11901 wxPy_BEGIN_ALLOW_THREADS;
11902 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
11903
11904 wxPy_END_ALLOW_THREADS;
11905} if (_result) {
11906 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11907 _resultobj = Py_BuildValue("s",_ptemp);
11908 } else {
11909 Py_INCREF(Py_None);
11910 _resultobj = Py_None;
11911 }
11912{
11913 if (_obj1)
11914 delete _arg1;
11915}
11916 return _resultobj;
11917}
11918
11919#define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11920static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11921 PyObject * _resultobj;
11922 wxGridCellRenderer * _result;
11923 wxGrid * _arg0;
11924 wxString * _arg1;
11925 PyObject * _argo0 = 0;
11926 PyObject * _obj1 = 0;
11927 char *_kwnames[] = { "self","typeName", NULL };
11928 char _ptemp[128];
11929
11930 self = self;
11931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
11932 return NULL;
11933 if (_argo0) {
11934 if (_argo0 == Py_None) { _arg0 = NULL; }
11935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11937 return NULL;
11938 }
11939 }
11940{
185d7c3e
RD
11941#if PYTHON_API_VERSION >= 1009
11942 char* tmpPtr; int tmpSize;
11943 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 11944 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
11945 return NULL;
11946 }
11947 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11948 return NULL;
11949 _arg1 = new wxString(tmpPtr, tmpSize);
11950#else
f6bcfd97
BP
11951 if (!PyString_Check(_obj1)) {
11952 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11953 return NULL;
11954 }
185d7c3e
RD
11955 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11956#endif
f6bcfd97
BP
11957}
11958{
11959 wxPy_BEGIN_ALLOW_THREADS;
11960 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
11961
11962 wxPy_END_ALLOW_THREADS;
11963} if (_result) {
11964 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11965 _resultobj = Py_BuildValue("s",_ptemp);
11966 } else {
11967 Py_INCREF(Py_None);
11968 _resultobj = Py_None;
11969 }
11970{
11971 if (_obj1)
11972 delete _arg1;
11973}
11974 return _resultobj;
11975}
11976
11977#define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11978static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
11979 PyObject * _resultobj;
11980 wxGrid * _arg0;
11981 int _arg1;
11982 int _arg2;
11983 PyObject * _argo0 = 0;
11984 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
11985
11986 self = self;
11987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
11988 return NULL;
11989 if (_argo0) {
11990 if (_argo0 == Py_None) { _arg0 = NULL; }
11991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11993 return NULL;
11994 }
11995 }
11996{
11997 wxPy_BEGIN_ALLOW_THREADS;
11998 wxGrid_SetMargins(_arg0,_arg1,_arg2);
11999
12000 wxPy_END_ALLOW_THREADS;
12001} Py_INCREF(Py_None);
12002 _resultobj = Py_None;
12003 return _resultobj;
12004}
12005
9416aa89
RD
12006#define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12007static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12008 PyObject * _resultobj;
12009 wxWindow * _result;
12010 wxGrid * _arg0;
12011 PyObject * _argo0 = 0;
12012 char *_kwnames[] = { "self", NULL };
12013
12014 self = self;
12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
12016 return NULL;
12017 if (_argo0) {
12018 if (_argo0 == Py_None) { _arg0 = NULL; }
12019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12021 return NULL;
12022 }
12023 }
12024{
12025 wxPy_BEGIN_ALLOW_THREADS;
12026 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
12027
12028 wxPy_END_ALLOW_THREADS;
12029}{ _resultobj = wxPyMake_wxObject(_result); }
12030 return _resultobj;
12031}
12032
12033#define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12034static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12035 PyObject * _resultobj;
12036 wxWindow * _result;
12037 wxGrid * _arg0;
12038 PyObject * _argo0 = 0;
12039 char *_kwnames[] = { "self", NULL };
12040
12041 self = self;
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12043 return NULL;
12044 if (_argo0) {
12045 if (_argo0 == Py_None) { _arg0 = NULL; }
12046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12048 return NULL;
12049 }
12050 }
12051{
12052 wxPy_BEGIN_ALLOW_THREADS;
12053 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
12054
12055 wxPy_END_ALLOW_THREADS;
12056}{ _resultobj = wxPyMake_wxObject(_result); }
12057 return _resultobj;
12058}
12059
12060#define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12061static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12062 PyObject * _resultobj;
12063 wxWindow * _result;
12064 wxGrid * _arg0;
12065 PyObject * _argo0 = 0;
12066 char *_kwnames[] = { "self", NULL };
12067
12068 self = self;
12069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12070 return NULL;
12071 if (_argo0) {
12072 if (_argo0 == Py_None) { _arg0 = NULL; }
12073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12075 return NULL;
12076 }
12077 }
12078{
12079 wxPy_BEGIN_ALLOW_THREADS;
12080 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
12081
12082 wxPy_END_ALLOW_THREADS;
12083}{ _resultobj = wxPyMake_wxObject(_result); }
12084 return _resultobj;
12085}
12086
12087#define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12088static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12089 PyObject * _resultobj;
12090 wxWindow * _result;
12091 wxGrid * _arg0;
12092 PyObject * _argo0 = 0;
12093 char *_kwnames[] = { "self", NULL };
12094
12095 self = self;
12096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
12097 return NULL;
12098 if (_argo0) {
12099 if (_argo0 == Py_None) { _arg0 = NULL; }
12100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12102 return NULL;
12103 }
12104 }
12105{
12106 wxPy_BEGIN_ALLOW_THREADS;
12107 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
12108
12109 wxPy_END_ALLOW_THREADS;
12110}{ _resultobj = wxPyMake_wxObject(_result); }
12111 return _resultobj;
12112}
12113
f6bcfd97
BP
12114static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
12115 wxGridEvent *src;
12116 wxNotifyEvent *dest;
12117 src = (wxGridEvent *) ptr;
12118 dest = (wxNotifyEvent *) src;
12119 return (void *) dest;
12120}
12121
12122static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
12123 wxGridEvent *src;
12124 wxCommandEvent *dest;
12125 src = (wxGridEvent *) ptr;
12126 dest = (wxCommandEvent *) src;
12127 return (void *) dest;
12128}
12129
12130static void *SwigwxGridEventTowxEvent(void *ptr) {
12131 wxGridEvent *src;
12132 wxEvent *dest;
12133 src = (wxGridEvent *) ptr;
12134 dest = (wxEvent *) src;
12135 return (void *) dest;
12136}
12137
9416aa89
RD
12138static void *SwigwxGridEventTowxObject(void *ptr) {
12139 wxGridEvent *src;
12140 wxObject *dest;
12141 src = (wxGridEvent *) ptr;
12142 dest = (wxObject *) src;
12143 return (void *) dest;
12144}
12145
f6bcfd97
BP
12146#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))
12147static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12148 PyObject * _resultobj;
12149 wxGridEvent * _result;
12150 int _arg0;
12151 wxEventType _arg1;
12152 wxGrid * _arg2;
12153 int _arg3 = (int ) -1;
12154 int _arg4 = (int ) -1;
12155 int _arg5 = (int ) -1;
12156 int _arg6 = (int ) -1;
12157 bool _arg7 = (bool ) TRUE;
12158 bool _arg8 = (bool ) FALSE;
12159 bool _arg9 = (bool ) FALSE;
12160 bool _arg10 = (bool ) FALSE;
12161 bool _arg11 = (bool ) FALSE;
12162 PyObject * _argo2 = 0;
12163 int tempbool7 = (int) TRUE;
12164 int tempbool8 = (int) FALSE;
12165 int tempbool9 = (int) FALSE;
12166 int tempbool10 = (int) FALSE;
12167 int tempbool11 = (int) FALSE;
12168 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
12169 char _ptemp[128];
12170
12171 self = self;
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
12173 return NULL;
12174 if (_argo2) {
12175 if (_argo2 == Py_None) { _arg2 = NULL; }
12176 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12177 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12178 return NULL;
12179 }
12180 }
12181 _arg7 = (bool ) tempbool7;
12182 _arg8 = (bool ) tempbool8;
12183 _arg9 = (bool ) tempbool9;
12184 _arg10 = (bool ) tempbool10;
12185 _arg11 = (bool ) tempbool11;
12186{
12187 wxPy_BEGIN_ALLOW_THREADS;
12188 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
12189
12190 wxPy_END_ALLOW_THREADS;
12191} if (_result) {
12192 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
12193 _resultobj = Py_BuildValue("s",_ptemp);
12194 } else {
12195 Py_INCREF(Py_None);
12196 _resultobj = Py_None;
12197 }
12198 return _resultobj;
12199}
12200
12201#define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12202static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12203 PyObject * _resultobj;
12204 int _result;
12205 wxGridEvent * _arg0;
12206 PyObject * _argo0 = 0;
12207 char *_kwnames[] = { "self", NULL };
12208
12209 self = self;
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
12211 return NULL;
12212 if (_argo0) {
12213 if (_argo0 == Py_None) { _arg0 = NULL; }
12214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12216 return NULL;
12217 }
12218 }
12219{
12220 wxPy_BEGIN_ALLOW_THREADS;
12221 _result = (int )wxGridEvent_GetRow(_arg0);
12222
12223 wxPy_END_ALLOW_THREADS;
12224} _resultobj = Py_BuildValue("i",_result);
12225 return _resultobj;
12226}
12227
12228#define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12229static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12230 PyObject * _resultobj;
12231 int _result;
12232 wxGridEvent * _arg0;
12233 PyObject * _argo0 = 0;
12234 char *_kwnames[] = { "self", NULL };
12235
12236 self = self;
12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
12238 return NULL;
12239 if (_argo0) {
12240 if (_argo0 == Py_None) { _arg0 = NULL; }
12241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12243 return NULL;
12244 }
12245 }
12246{
12247 wxPy_BEGIN_ALLOW_THREADS;
12248 _result = (int )wxGridEvent_GetCol(_arg0);
12249
12250 wxPy_END_ALLOW_THREADS;
12251} _resultobj = Py_BuildValue("i",_result);
12252 return _resultobj;
12253}
12254
12255#define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12256static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12257 PyObject * _resultobj;
12258 wxPoint * _result;
12259 wxGridEvent * _arg0;
12260 PyObject * _argo0 = 0;
12261 char *_kwnames[] = { "self", NULL };
12262 char _ptemp[128];
12263
12264 self = self;
12265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
12266 return NULL;
12267 if (_argo0) {
12268 if (_argo0 == Py_None) { _arg0 = NULL; }
12269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12271 return NULL;
12272 }
12273 }
12274{
12275 wxPy_BEGIN_ALLOW_THREADS;
12276 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
12277
12278 wxPy_END_ALLOW_THREADS;
12279} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12280 _resultobj = Py_BuildValue("s",_ptemp);
12281 return _resultobj;
12282}
12283
12284#define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12285static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12286 PyObject * _resultobj;
12287 bool _result;
12288 wxGridEvent * _arg0;
12289 PyObject * _argo0 = 0;
12290 char *_kwnames[] = { "self", NULL };
12291
12292 self = self;
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
12294 return NULL;
12295 if (_argo0) {
12296 if (_argo0 == Py_None) { _arg0 = NULL; }
12297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12299 return NULL;
12300 }
12301 }
12302{
12303 wxPy_BEGIN_ALLOW_THREADS;
12304 _result = (bool )wxGridEvent_Selecting(_arg0);
12305
12306 wxPy_END_ALLOW_THREADS;
12307} _resultobj = Py_BuildValue("i",_result);
12308 return _resultobj;
12309}
12310
12311#define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12312static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12313 PyObject * _resultobj;
12314 bool _result;
12315 wxGridEvent * _arg0;
12316 PyObject * _argo0 = 0;
12317 char *_kwnames[] = { "self", NULL };
12318
12319 self = self;
12320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
12321 return NULL;
12322 if (_argo0) {
12323 if (_argo0 == Py_None) { _arg0 = NULL; }
12324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12326 return NULL;
12327 }
12328 }
12329{
12330 wxPy_BEGIN_ALLOW_THREADS;
12331 _result = (bool )wxGridEvent_ControlDown(_arg0);
12332
12333 wxPy_END_ALLOW_THREADS;
12334} _resultobj = Py_BuildValue("i",_result);
12335 return _resultobj;
12336}
12337
12338#define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12339static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12340 PyObject * _resultobj;
12341 bool _result;
12342 wxGridEvent * _arg0;
12343 PyObject * _argo0 = 0;
12344 char *_kwnames[] = { "self", NULL };
12345
12346 self = self;
12347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12348 return NULL;
12349 if (_argo0) {
12350 if (_argo0 == Py_None) { _arg0 = NULL; }
12351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12353 return NULL;
12354 }
12355 }
12356{
12357 wxPy_BEGIN_ALLOW_THREADS;
12358 _result = (bool )wxGridEvent_MetaDown(_arg0);
12359
12360 wxPy_END_ALLOW_THREADS;
12361} _resultobj = Py_BuildValue("i",_result);
12362 return _resultobj;
12363}
12364
12365#define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12366static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12367 PyObject * _resultobj;
12368 bool _result;
12369 wxGridEvent * _arg0;
12370 PyObject * _argo0 = 0;
12371 char *_kwnames[] = { "self", NULL };
12372
12373 self = self;
12374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12375 return NULL;
12376 if (_argo0) {
12377 if (_argo0 == Py_None) { _arg0 = NULL; }
12378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12380 return NULL;
12381 }
12382 }
12383{
12384 wxPy_BEGIN_ALLOW_THREADS;
12385 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12386
12387 wxPy_END_ALLOW_THREADS;
12388} _resultobj = Py_BuildValue("i",_result);
12389 return _resultobj;
12390}
12391
12392#define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12393static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12394 PyObject * _resultobj;
12395 bool _result;
12396 wxGridEvent * _arg0;
12397 PyObject * _argo0 = 0;
12398 char *_kwnames[] = { "self", NULL };
12399
12400 self = self;
12401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12402 return NULL;
12403 if (_argo0) {
12404 if (_argo0 == Py_None) { _arg0 = NULL; }
12405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12407 return NULL;
12408 }
12409 }
12410{
12411 wxPy_BEGIN_ALLOW_THREADS;
12412 _result = (bool )wxGridEvent_AltDown(_arg0);
12413
12414 wxPy_END_ALLOW_THREADS;
12415} _resultobj = Py_BuildValue("i",_result);
12416 return _resultobj;
12417}
12418
12419static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12420 wxGridSizeEvent *src;
12421 wxNotifyEvent *dest;
12422 src = (wxGridSizeEvent *) ptr;
12423 dest = (wxNotifyEvent *) src;
12424 return (void *) dest;
12425}
12426
12427static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12428 wxGridSizeEvent *src;
12429 wxCommandEvent *dest;
12430 src = (wxGridSizeEvent *) ptr;
12431 dest = (wxCommandEvent *) src;
12432 return (void *) dest;
12433}
12434
12435static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12436 wxGridSizeEvent *src;
12437 wxEvent *dest;
12438 src = (wxGridSizeEvent *) ptr;
12439 dest = (wxEvent *) src;
12440 return (void *) dest;
12441}
12442
9416aa89
RD
12443static void *SwigwxGridSizeEventTowxObject(void *ptr) {
12444 wxGridSizeEvent *src;
12445 wxObject *dest;
12446 src = (wxGridSizeEvent *) ptr;
12447 dest = (wxObject *) src;
12448 return (void *) dest;
12449}
12450
f6bcfd97
BP
12451#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))
12452static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12453 PyObject * _resultobj;
12454 wxGridSizeEvent * _result;
12455 int _arg0;
12456 wxEventType _arg1;
12457 wxGrid * _arg2;
12458 int _arg3 = (int ) -1;
12459 int _arg4 = (int ) -1;
12460 int _arg5 = (int ) -1;
12461 bool _arg6 = (bool ) FALSE;
12462 bool _arg7 = (bool ) FALSE;
12463 bool _arg8 = (bool ) FALSE;
12464 bool _arg9 = (bool ) FALSE;
12465 PyObject * _argo2 = 0;
12466 int tempbool6 = (int) FALSE;
12467 int tempbool7 = (int) FALSE;
12468 int tempbool8 = (int) FALSE;
12469 int tempbool9 = (int) FALSE;
12470 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12471 char _ptemp[128];
12472
12473 self = self;
12474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12475 return NULL;
12476 if (_argo2) {
12477 if (_argo2 == Py_None) { _arg2 = NULL; }
12478 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12479 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12480 return NULL;
12481 }
12482 }
12483 _arg6 = (bool ) tempbool6;
12484 _arg7 = (bool ) tempbool7;
12485 _arg8 = (bool ) tempbool8;
12486 _arg9 = (bool ) tempbool9;
12487{
12488 wxPy_BEGIN_ALLOW_THREADS;
12489 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12490
12491 wxPy_END_ALLOW_THREADS;
12492} if (_result) {
12493 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12494 _resultobj = Py_BuildValue("s",_ptemp);
12495 } else {
12496 Py_INCREF(Py_None);
12497 _resultobj = Py_None;
12498 }
12499 return _resultobj;
12500}
12501
12502#define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12503static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12504 PyObject * _resultobj;
12505 int _result;
12506 wxGridSizeEvent * _arg0;
12507 PyObject * _argo0 = 0;
12508 char *_kwnames[] = { "self", NULL };
12509
12510 self = self;
12511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12512 return NULL;
12513 if (_argo0) {
12514 if (_argo0 == Py_None) { _arg0 = NULL; }
12515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12517 return NULL;
12518 }
12519 }
12520{
12521 wxPy_BEGIN_ALLOW_THREADS;
12522 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12523
12524 wxPy_END_ALLOW_THREADS;
12525} _resultobj = Py_BuildValue("i",_result);
12526 return _resultobj;
12527}
12528
12529#define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12530static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12531 PyObject * _resultobj;
12532 wxPoint * _result;
12533 wxGridSizeEvent * _arg0;
12534 PyObject * _argo0 = 0;
12535 char *_kwnames[] = { "self", NULL };
12536 char _ptemp[128];
12537
12538 self = self;
12539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12540 return NULL;
12541 if (_argo0) {
12542 if (_argo0 == Py_None) { _arg0 = NULL; }
12543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12545 return NULL;
12546 }
12547 }
12548{
12549 wxPy_BEGIN_ALLOW_THREADS;
12550 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12551
12552 wxPy_END_ALLOW_THREADS;
12553} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12554 _resultobj = Py_BuildValue("s",_ptemp);
12555 return _resultobj;
12556}
12557
12558#define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12559static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12560 PyObject * _resultobj;
12561 bool _result;
12562 wxGridSizeEvent * _arg0;
12563 PyObject * _argo0 = 0;
12564 char *_kwnames[] = { "self", NULL };
12565
12566 self = self;
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12568 return NULL;
12569 if (_argo0) {
12570 if (_argo0 == Py_None) { _arg0 = NULL; }
12571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12573 return NULL;
12574 }
12575 }
12576{
12577 wxPy_BEGIN_ALLOW_THREADS;
12578 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
12579
12580 wxPy_END_ALLOW_THREADS;
12581} _resultobj = Py_BuildValue("i",_result);
12582 return _resultobj;
12583}
12584
12585#define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12586static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12587 PyObject * _resultobj;
12588 bool _result;
12589 wxGridSizeEvent * _arg0;
12590 PyObject * _argo0 = 0;
12591 char *_kwnames[] = { "self", NULL };
12592
12593 self = self;
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12595 return NULL;
12596 if (_argo0) {
12597 if (_argo0 == Py_None) { _arg0 = NULL; }
12598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12600 return NULL;
12601 }
12602 }
12603{
12604 wxPy_BEGIN_ALLOW_THREADS;
12605 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12606
12607 wxPy_END_ALLOW_THREADS;
12608} _resultobj = Py_BuildValue("i",_result);
12609 return _resultobj;
12610}
12611
12612#define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12613static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12614 PyObject * _resultobj;
12615 bool _result;
12616 wxGridSizeEvent * _arg0;
12617 PyObject * _argo0 = 0;
12618 char *_kwnames[] = { "self", NULL };
12619
12620 self = self;
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12622 return NULL;
12623 if (_argo0) {
12624 if (_argo0 == Py_None) { _arg0 = NULL; }
12625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12627 return NULL;
12628 }
12629 }
12630{
12631 wxPy_BEGIN_ALLOW_THREADS;
12632 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12633
12634 wxPy_END_ALLOW_THREADS;
12635} _resultobj = Py_BuildValue("i",_result);
12636 return _resultobj;
12637}
12638
12639#define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12640static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12641 PyObject * _resultobj;
12642 bool _result;
12643 wxGridSizeEvent * _arg0;
12644 PyObject * _argo0 = 0;
12645 char *_kwnames[] = { "self", NULL };
12646
12647 self = self;
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
12649 return NULL;
12650 if (_argo0) {
12651 if (_argo0 == Py_None) { _arg0 = NULL; }
12652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12654 return NULL;
12655 }
12656 }
12657{
12658 wxPy_BEGIN_ALLOW_THREADS;
12659 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
12660
12661 wxPy_END_ALLOW_THREADS;
12662} _resultobj = Py_BuildValue("i",_result);
12663 return _resultobj;
12664}
12665
12666static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
12667 wxGridRangeSelectEvent *src;
12668 wxNotifyEvent *dest;
12669 src = (wxGridRangeSelectEvent *) ptr;
12670 dest = (wxNotifyEvent *) src;
12671 return (void *) dest;
12672}
12673
12674static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
12675 wxGridRangeSelectEvent *src;
12676 wxCommandEvent *dest;
12677 src = (wxGridRangeSelectEvent *) ptr;
12678 dest = (wxCommandEvent *) src;
12679 return (void *) dest;
12680}
12681
12682static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
12683 wxGridRangeSelectEvent *src;
12684 wxEvent *dest;
12685 src = (wxGridRangeSelectEvent *) ptr;
12686 dest = (wxEvent *) src;
12687 return (void *) dest;
12688}
12689
9416aa89
RD
12690static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
12691 wxGridRangeSelectEvent *src;
12692 wxObject *dest;
12693 src = (wxGridRangeSelectEvent *) ptr;
12694 dest = (wxObject *) src;
12695 return (void *) dest;
12696}
12697
f6bcfd97
BP
12698#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))
12699static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12700 PyObject * _resultobj;
12701 wxGridRangeSelectEvent * _result;
12702 int _arg0;
12703 wxEventType _arg1;
12704 wxGrid * _arg2;
12705 wxGridCellCoords * _arg3;
12706 wxGridCellCoords * _arg4;
12707 bool _arg5 = (bool ) TRUE;
12708 bool _arg6 = (bool ) FALSE;
12709 bool _arg7 = (bool ) FALSE;
12710 bool _arg8 = (bool ) FALSE;
12711 bool _arg9 = (bool ) FALSE;
12712 PyObject * _argo2 = 0;
12713 wxGridCellCoords temp;
12714 PyObject * _obj3 = 0;
12715 wxGridCellCoords temp0;
12716 PyObject * _obj4 = 0;
12717 int tempbool5 = (int) TRUE;
12718 int tempbool6 = (int) FALSE;
12719 int tempbool7 = (int) FALSE;
12720 int tempbool8 = (int) FALSE;
12721 int tempbool9 = (int) FALSE;
12722 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
12723 char _ptemp[128];
12724
12725 self = self;
12726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12727 return NULL;
12728 if (_argo2) {
12729 if (_argo2 == Py_None) { _arg2 = NULL; }
12730 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12731 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12732 return NULL;
12733 }
12734 }
12735{
12736 _arg3 = &temp;
12737 if (! wxGridCellCoords_helper(_obj3, &_arg3))
12738 return NULL;
12739}
12740{
12741 _arg4 = &temp0;
12742 if (! wxGridCellCoords_helper(_obj4, &_arg4))
12743 return NULL;
12744}
12745 _arg5 = (bool ) tempbool5;
12746 _arg6 = (bool ) tempbool6;
12747 _arg7 = (bool ) tempbool7;
12748 _arg8 = (bool ) tempbool8;
12749 _arg9 = (bool ) tempbool9;
12750{
12751 wxPy_BEGIN_ALLOW_THREADS;
12752 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12753
12754 wxPy_END_ALLOW_THREADS;
12755} if (_result) {
12756 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
12757 _resultobj = Py_BuildValue("s",_ptemp);
12758 } else {
12759 Py_INCREF(Py_None);
12760 _resultobj = Py_None;
12761 }
12762 return _resultobj;
12763}
12764
12765#define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12766static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12767 PyObject * _resultobj;
12768 wxGridCellCoords * _result;
12769 wxGridRangeSelectEvent * _arg0;
12770 PyObject * _argo0 = 0;
12771 char *_kwnames[] = { "self", NULL };
12772 char _ptemp[128];
12773
12774 self = self;
12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
12776 return NULL;
12777 if (_argo0) {
12778 if (_argo0 == Py_None) { _arg0 = NULL; }
12779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12781 return NULL;
12782 }
12783 }
12784{
12785 wxPy_BEGIN_ALLOW_THREADS;
12786 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
12787
12788 wxPy_END_ALLOW_THREADS;
12789} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12790 _resultobj = Py_BuildValue("s",_ptemp);
12791 return _resultobj;
12792}
12793
12794#define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12795static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12796 PyObject * _resultobj;
12797 wxGridCellCoords * _result;
12798 wxGridRangeSelectEvent * _arg0;
12799 PyObject * _argo0 = 0;
12800 char *_kwnames[] = { "self", NULL };
12801 char _ptemp[128];
12802
12803 self = self;
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
12805 return NULL;
12806 if (_argo0) {
12807 if (_argo0 == Py_None) { _arg0 = NULL; }
12808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12810 return NULL;
12811 }
12812 }
12813{
12814 wxPy_BEGIN_ALLOW_THREADS;
12815 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
12816
12817 wxPy_END_ALLOW_THREADS;
12818} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12819 _resultobj = Py_BuildValue("s",_ptemp);
12820 return _resultobj;
12821}
12822
12823#define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12824static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12825 PyObject * _resultobj;
12826 int _result;
12827 wxGridRangeSelectEvent * _arg0;
12828 PyObject * _argo0 = 0;
12829 char *_kwnames[] = { "self", NULL };
12830
12831 self = self;
12832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
12833 return NULL;
12834 if (_argo0) {
12835 if (_argo0 == Py_None) { _arg0 = NULL; }
12836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12838 return NULL;
12839 }
12840 }
12841{
12842 wxPy_BEGIN_ALLOW_THREADS;
12843 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
12844
12845 wxPy_END_ALLOW_THREADS;
12846} _resultobj = Py_BuildValue("i",_result);
12847 return _resultobj;
12848}
12849
12850#define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12851static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject * _resultobj;
12853 int _result;
12854 wxGridRangeSelectEvent * _arg0;
12855 PyObject * _argo0 = 0;
12856 char *_kwnames[] = { "self", NULL };
12857
12858 self = self;
12859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
12860 return NULL;
12861 if (_argo0) {
12862 if (_argo0 == Py_None) { _arg0 = NULL; }
12863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12865 return NULL;
12866 }
12867 }
12868{
12869 wxPy_BEGIN_ALLOW_THREADS;
12870 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
12871
12872 wxPy_END_ALLOW_THREADS;
12873} _resultobj = Py_BuildValue("i",_result);
12874 return _resultobj;
12875}
12876
12877#define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12878static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12879 PyObject * _resultobj;
12880 int _result;
12881 wxGridRangeSelectEvent * _arg0;
12882 PyObject * _argo0 = 0;
12883 char *_kwnames[] = { "self", NULL };
12884
12885 self = self;
12886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
12887 return NULL;
12888 if (_argo0) {
12889 if (_argo0 == Py_None) { _arg0 = NULL; }
12890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12892 return NULL;
12893 }
12894 }
12895{
12896 wxPy_BEGIN_ALLOW_THREADS;
12897 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
12898
12899 wxPy_END_ALLOW_THREADS;
12900} _resultobj = Py_BuildValue("i",_result);
12901 return _resultobj;
12902}
12903
12904#define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12905static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12906 PyObject * _resultobj;
12907 int _result;
12908 wxGridRangeSelectEvent * _arg0;
12909 PyObject * _argo0 = 0;
12910 char *_kwnames[] = { "self", NULL };
12911
12912 self = self;
12913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
12914 return NULL;
12915 if (_argo0) {
12916 if (_argo0 == Py_None) { _arg0 = NULL; }
12917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12919 return NULL;
12920 }
12921 }
12922{
12923 wxPy_BEGIN_ALLOW_THREADS;
12924 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
12925
12926 wxPy_END_ALLOW_THREADS;
12927} _resultobj = Py_BuildValue("i",_result);
12928 return _resultobj;
12929}
12930
12931#define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12932static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12933 PyObject * _resultobj;
12934 bool _result;
12935 wxGridRangeSelectEvent * _arg0;
12936 PyObject * _argo0 = 0;
12937 char *_kwnames[] = { "self", NULL };
12938
12939 self = self;
12940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
12941 return NULL;
12942 if (_argo0) {
12943 if (_argo0 == Py_None) { _arg0 = NULL; }
12944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12946 return NULL;
12947 }
12948 }
12949{
12950 wxPy_BEGIN_ALLOW_THREADS;
12951 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
12952
12953 wxPy_END_ALLOW_THREADS;
12954} _resultobj = Py_BuildValue("i",_result);
12955 return _resultobj;
12956}
12957
12958#define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12959static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12960 PyObject * _resultobj;
12961 bool _result;
12962 wxGridRangeSelectEvent * _arg0;
12963 PyObject * _argo0 = 0;
12964 char *_kwnames[] = { "self", NULL };
12965
12966 self = self;
12967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
12968 return NULL;
12969 if (_argo0) {
12970 if (_argo0 == Py_None) { _arg0 = NULL; }
12971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12973 return NULL;
12974 }
12975 }
12976{
12977 wxPy_BEGIN_ALLOW_THREADS;
12978 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
12979
12980 wxPy_END_ALLOW_THREADS;
12981} _resultobj = Py_BuildValue("i",_result);
12982 return _resultobj;
12983}
12984
12985#define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12986static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12987 PyObject * _resultobj;
12988 bool _result;
12989 wxGridRangeSelectEvent * _arg0;
12990 PyObject * _argo0 = 0;
12991 char *_kwnames[] = { "self", NULL };
12992
12993 self = self;
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
12995 return NULL;
12996 if (_argo0) {
12997 if (_argo0 == Py_None) { _arg0 = NULL; }
12998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13000 return NULL;
13001 }
13002 }
13003{
13004 wxPy_BEGIN_ALLOW_THREADS;
13005 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
13006
13007 wxPy_END_ALLOW_THREADS;
13008} _resultobj = Py_BuildValue("i",_result);
13009 return _resultobj;
13010}
13011
13012#define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13013static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13014 PyObject * _resultobj;
13015 bool _result;
13016 wxGridRangeSelectEvent * _arg0;
13017 PyObject * _argo0 = 0;
13018 char *_kwnames[] = { "self", NULL };
13019
13020 self = self;
13021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13022 return NULL;
13023 if (_argo0) {
13024 if (_argo0 == Py_None) { _arg0 = NULL; }
13025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13027 return NULL;
13028 }
13029 }
13030{
13031 wxPy_BEGIN_ALLOW_THREADS;
13032 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
13033
13034 wxPy_END_ALLOW_THREADS;
13035} _resultobj = Py_BuildValue("i",_result);
13036 return _resultobj;
13037}
13038
13039#define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13040static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13041 PyObject * _resultobj;
13042 bool _result;
13043 wxGridRangeSelectEvent * _arg0;
13044 PyObject * _argo0 = 0;
13045 char *_kwnames[] = { "self", NULL };
13046
13047 self = self;
13048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13049 return NULL;
13050 if (_argo0) {
13051 if (_argo0 == Py_None) { _arg0 = NULL; }
13052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13054 return NULL;
13055 }
13056 }
13057{
13058 wxPy_BEGIN_ALLOW_THREADS;
13059 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
13060
13061 wxPy_END_ALLOW_THREADS;
13062} _resultobj = Py_BuildValue("i",_result);
13063 return _resultobj;
13064}
13065
13066static PyMethodDef gridcMethods[] = {
13067 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13068 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13069 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13070 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13071 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13072 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
13073 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
13074 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
13075 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
13076 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
13077 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
13078 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
13079 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13080 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13081 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13082 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13083 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13084 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
13085 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
13086 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13087 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13088 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13089 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13090 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13091 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13092 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13093 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13094 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
13095 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
13096 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
13097 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
13098 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13099 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
13100 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
13101 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
13102 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
13103 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
13104 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
13105 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13106 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13107 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13108 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13109 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
13110 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
13111 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
13112 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
13113 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
13114 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
13115 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
13116 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
13117 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13118 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13119 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
13120 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
13121 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
13122 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13123 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
13124 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13125 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13126 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13127 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13128 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13129 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13130 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13131 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
13132 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13133 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13134 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13135 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13136 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13137 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
13138 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
13139 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
13140 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
13141 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
13142 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
13143 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
13144 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
13145 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13146 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
13147 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13148 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13149 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13150 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
13151 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13152 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13153 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13154 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13155 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13156 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
13157 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13158 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
13159 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13160 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
13161 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
13162 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
13163 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
13164 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
13165 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
13166 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13167 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13168 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
13169 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13170 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13171 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
13172 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
13173 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
13174 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
13175 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13176 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
13177 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13178 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13179 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13180 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13181 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13182 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13183 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13184 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13185 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
13186 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13187 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13188 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13189 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
13190 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13191 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13192 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13193 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13194 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13195 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13196 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13197 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13198 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
13199 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13200 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13201 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13202 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
13203 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13204 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13205 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
13206 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
13207 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
13208 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
13209 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
13210 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
13211 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
13212 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
13213 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
13214 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
13215 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
13216 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
13217 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
13218 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
13219 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
13220 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
13221 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
13222 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
13223 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
13224 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
13225 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
13226 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
13227 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
13228 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
13229 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
13230 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
13231 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
13232 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
13233 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13234 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13235 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
13236 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
13237 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
13238 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
13239 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
13240 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
13241 { "wxGrid_StringToLines", (PyCFunction) _wrap_wxGrid_StringToLines, METH_VARARGS | METH_KEYWORDS },
13242 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
13243 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
13244 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13245 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
13246 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
13247 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13248 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
13249 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
13250 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
13251 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
13252 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
13253 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
13254 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13255 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13256 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13257 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
13258 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
13259 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
13260 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
13261 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
13262 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
13263 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
13264 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
13265 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
13266 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13267 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13268 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13269 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13270 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
13271 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
13272 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
13273 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
13274 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
13275 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
13276 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13277 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13278 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
13279 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13280 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13281 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13282 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13283 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13284 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13285 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13286 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13287 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13288 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13289 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
13290 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
13291 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13292 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
13293 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
13294 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
13295 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13296 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13297 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13298 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
13299 { "wxPyGridTableBase__setSelf", (PyCFunction) _wrap_wxPyGridTableBase__setSelf, METH_VARARGS | METH_KEYWORDS },
13300 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
13301 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13302 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13303 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
13304 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
13305 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13306 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13307 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13308 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13309 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13310 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13311 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
13312 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
13313 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13314 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
13315 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
13316 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
13317 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13318 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13319 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13320 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13321 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13322 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13323 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13324 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13325 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13326 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
13327 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
13328 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
13329 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13330 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13331 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
13332 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
13333 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13334 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13335 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13336 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13337 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13338 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13339 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setSelf, METH_VARARGS | METH_KEYWORDS },
13340 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13341 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
13342 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
13343 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13344 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13345 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
13346 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
13347 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13348 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
13349 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13350 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
13351 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
13352 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13353 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13354 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13355 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9416aa89 13356 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13357 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13358 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13359 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13360 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13361 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13362 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
9416aa89 13363 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13364 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13365 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13366 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13367 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13368 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13369 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13370 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13371 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
13372 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
9416aa89 13373 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13374 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
13375 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
13376 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
13377 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
13378 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
13379 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
13380 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
13381 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13382 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
13383 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13384 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
13385 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
dbbb98cd 13386 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13387 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13388 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
13389 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
13390 { "wxPyGridCellEditor__setSelf", (PyCFunction) _wrap_wxPyGridCellEditor__setSelf, METH_VARARGS | METH_KEYWORDS },
13391 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
13392 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
13393 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13394 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
13395 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
13396 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13397 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13398 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
13399 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
13400 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
13401 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
13402 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
13403 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
13404 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
13405 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
13406 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
13407 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
13408 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
13409 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
13410 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
13411 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
13412 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
13413 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
13414 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
13415 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
13416 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
13417 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
13418 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
13419 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13420 { "wxPyGridCellRenderer__setSelf", (PyCFunction) _wrap_wxPyGridCellRenderer__setSelf, METH_VARARGS | METH_KEYWORDS },
13421 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
13422 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
13423 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
13424 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
13425 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
13426 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
13427 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
13428 { NULL, NULL }
13429};
13430#ifdef __cplusplus
13431}
13432#endif
13433/*
13434 * This table is used by the pointer type-checker
13435 */
13436static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
13437 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
13438 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13439 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13440 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13441 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13442 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
13443 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
13444 { "_wxEvent","_class_wxEvent",0},
13445 { "_class_wxActivateEvent","_wxActivateEvent",0},
13446 { "_signed_long","_long",0},
13447 { "_wxMenuEvent","_class_wxMenuEvent",0},
13448 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13449 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13450 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13451 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13452 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13453 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13454 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13455 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13456 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13457 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13458 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
13459 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
13460 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
13461 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
13462 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
13463 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
13464 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
13465 { "_wxPrintQuality","_wxCoord",0},
13466 { "_wxPrintQuality","_int",0},
13467 { "_wxPrintQuality","_signed_int",0},
13468 { "_wxPrintQuality","_unsigned_int",0},
13469 { "_wxPrintQuality","_wxWindowID",0},
13470 { "_wxPrintQuality","_uint",0},
13471 { "_wxPrintQuality","_EBool",0},
13472 { "_wxPrintQuality","_size_t",0},
c368d904 13473 { "_wxPrintQuality","_time_t",0},
f6bcfd97
BP
13474 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
13475 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
13476 { "_class_wxRegionIterator","_wxRegionIterator",0},
13477 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
13478 { "_class_wxMenuBar","_wxMenuBar",0},
13479 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
13480 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13481 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13482 { "_class_wxEvtHandler","_wxEvtHandler",0},
13483 { "_wxPaintEvent","_class_wxPaintEvent",0},
13484 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
13485 { "_wxCursor","_class_wxCursor",0},
13486 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13487 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13488 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13489 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13490 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13491 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13492 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
13493 { "_wxMask","_class_wxMask",0},
13494 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
13495 { "_wxGrid","_class_wxGrid",0},
13496 { "_wxPen","_class_wxPen",0},
13497 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
13498 { "_byte","_unsigned_char",0},
13499 { "_wxDataObject","_class_wxDataObject",0},
13500 { "_wxStaticBox","_class_wxStaticBox",0},
e0672e2f 13501 { "_wxColourDatabase","_class_wxColourDatabase",0},
f6bcfd97
BP
13502 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
13503 { "_wxPyDropSource","_class_wxPyDropSource",0},
13504 { "_wxChoice","_class_wxChoice",0},
13505 { "_wxSlider","_class_wxSlider",0},
13506 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
13507 { "_long","_unsigned_long",0},
13508 { "_long","_signed_long",0},
13509 { "_wxImageList","_class_wxImageList",0},
13510 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
13511 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
13512 { "_wxBitmapButton","_class_wxBitmapButton",0},
13513 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
13514 { "_class_wxClipboard","_wxClipboard",0},
13515 { "_class_wxGauge","_wxGauge",0},
13516 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
13517 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
9416aa89 13518 { "_wxGDIObject","_class_wxGDIObject",0},
f6bcfd97
BP
13519 { "_wxDC","_class_wxDC",0},
13520 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
13521 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
13522 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
9416aa89
RD
13523 { "_class_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
13524 { "_class_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
13525 { "_class_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
13526 { "_class_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
13527 { "_class_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject},
13528 { "_class_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
13529 { "_class_wxObject","_class_wxGrid",SwigwxGridTowxObject},
13530 { "_class_wxObject","_wxGrid",SwigwxGridTowxObject},
13531 { "_class_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject},
13532 { "_class_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
13533 { "_class_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
13534 { "_class_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
13535 { "_class_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject},
13536 { "_class_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
13537 { "_class_wxObject","_wxObject",0},
f6bcfd97
BP
13538 { "_wxSpinEvent","_class_wxSpinEvent",0},
13539 { "_size_t","_WXGRIDSELECTIONMODES",0},
13540 { "_size_t","_wxCoord",0},
13541 { "_size_t","_wxPrintQuality",0},
c368d904 13542 { "_size_t","_time_t",0},
f6bcfd97
BP
13543 { "_size_t","_unsigned_int",0},
13544 { "_size_t","_int",0},
13545 { "_size_t","_wxWindowID",0},
13546 { "_size_t","_uint",0},
13547 { "_class_wxRealPoint","_wxRealPoint",0},
13548 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
13549 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
f6bcfd97
BP
13550 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
13551 { "_class_wxMenuItem","_wxMenuItem",0},
13552 { "_class_wxPaintEvent","_wxPaintEvent",0},
13553 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
13554 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13555 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13556 { "_wxPanel","_class_wxPanel",0},
13557 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
13558 { "_wxCheckBox","_class_wxCheckBox",0},
13559 { "_wxPyEvent","_class_wxPyEvent",0},
13560 { "_wxTextCtrl","_class_wxTextCtrl",0},
13561 { "_class_wxMask","_wxMask",0},
13562 { "_wxTextDataObject","_class_wxTextDataObject",0},
13563 { "_class_wxKeyEvent","_wxKeyEvent",0},
13564 { "_class_wxGrid","_wxGrid",0},
13565 { "_wxColour","_class_wxColour",0},
13566 { "_class_wxDialog","_wxDialog",0},
13567 { "_class_wxFileDataObject","_wxFileDataObject",0},
13568 { "_wxIdleEvent","_class_wxIdleEvent",0},
13569 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
13570 { "_class_wxDataObject","_wxDataObject",0},
13571 { "_wxStaticLine","_class_wxStaticLine",0},
13572 { "_wxBrush","_class_wxBrush",0},
794c5cb1 13573 { "_wxToggleButton","_class_wxToggleButton",0},
f6bcfd97
BP
13574 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
13575 { "_wxDataFormat","_class_wxDataFormat",0},
13576 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
13577 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
13578 { "_wxShowEvent","_class_wxShowEvent",0},
13579 { "_uint","_WXGRIDSELECTIONMODES",0},
13580 { "_uint","_wxCoord",0},
13581 { "_uint","_wxPrintQuality",0},
c368d904 13582 { "_uint","_time_t",0},
f6bcfd97
BP
13583 { "_uint","_size_t",0},
13584 { "_uint","_unsigned_int",0},
13585 { "_uint","_int",0},
13586 { "_uint","_wxWindowID",0},
13587 { "_wxChar","_char",0},
13588 { "_wxPyValidator","_class_wxPyValidator",0},
13589 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13590 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13591 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13592 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13593 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
13594 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
13595 { "_class_wxEvent","_wxEvent",0},
13596 { "_wxCheckListBox","_class_wxCheckListBox",0},
13597 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
13598 { "_wxGridEvent","_class_wxGridEvent",0},
13599 { "_wxRect","_class_wxRect",0},
13600 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13601 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13602 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13603 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13604 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13605 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13606 { "_wxCommandEvent","_class_wxCommandEvent",0},
13607 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
13608 { "_wxSizeEvent","_class_wxSizeEvent",0},
13609 { "_wxPoint","_class_wxPoint",0},
13610 { "_class_wxButton","_wxButton",0},
13611 { "_wxRadioBox","_class_wxRadioBox",0},
13612 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
13613 { "_char","_wxChar",0},
13614 { "_wxBitmap","_class_wxBitmap",0},
e0672e2f 13615 { "_wxPenList","_class_wxPenList",0},
f6bcfd97
BP
13616 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13617 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13618 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13619 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13620 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
13621 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
13622 { "_wxWindowDC","_class_wxWindowDC",0},
13623 { "_wxTimerEvent","_class_wxTimerEvent",0},
13624 { "_wxScrollBar","_class_wxScrollBar",0},
13625 { "_wxSpinButton","_class_wxSpinButton",0},
13626 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
13627 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13628 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13629 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13630 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13631 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13632 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13633 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
13634 { "_class_wxValidator","_wxValidator",0},
13635 { "_class_wxPyEvent","_wxPyEvent",0},
13636 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
13637 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
13638 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
13639 { "_wxDropTarget","_class_wxDropTarget",0},
13640 { "_class_wxStaticLine","_wxStaticLine",0},
13641 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
e0672e2f 13642 { "_class_wxColourDatabase","_wxColourDatabase",0},
f6bcfd97
BP
13643 { "_wxScrollEvent","_class_wxScrollEvent",0},
13644 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13645 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13646 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13647 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13648 { "_wxGridTableBase","_class_wxGridTableBase",0},
13649 { "_wxGridStringTable","_class_wxGridStringTable",0},
13650 { "_EBool","_WXGRIDSELECTIONMODES",0},
13651 { "_EBool","_wxCoord",0},
13652 { "_EBool","_wxPrintQuality",0},
13653 { "_EBool","_signed_int",0},
13654 { "_EBool","_int",0},
13655 { "_EBool","_wxWindowID",0},
13656 { "_class_wxRegion","_wxRegion",0},
13657 { "_class_wxDataFormat","_wxDataFormat",0},
13658 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
13659 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13660 { "_wxStaticText","_class_wxStaticText",0},
13661 { "_wxFont","_class_wxFont",0},
13662 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13663 { "_wxCloseEvent","_class_wxCloseEvent",0},
13664 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13665 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13666 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13667 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13668 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13669 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13670 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13671 { "_unsigned_long","_long",0},
13672 { "_class_wxRect","_wxRect",0},
13673 { "_class_wxDC","_wxDC",0},
13674 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13675 { "_WXGRIDSELECTIONMODES","_int",0},
13676 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13677 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13678 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13679 { "_WXGRIDSELECTIONMODES","_uint",0},
13680 { "_WXGRIDSELECTIONMODES","_EBool",0},
13681 { "_WXGRIDSELECTIONMODES","_size_t",0},
c368d904 13682 { "_WXGRIDSELECTIONMODES","_time_t",0},
f6bcfd97
BP
13683 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13684 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
e0672e2f 13685 { "_class_wxBrushList","_wxBrushList",0},
f6bcfd97 13686 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
e0672e2f 13687 { "_class_wxPenList","_wxPenList",0},
f6bcfd97
BP
13688 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13689 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13690 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13691 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13692 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13693 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13694 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13695 { "_wxFocusEvent","_class_wxFocusEvent",0},
13696 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13697 { "_class_wxTimerEvent","_wxTimerEvent",0},
13698 { "_class_wxSpinButton","_wxSpinButton",0},
13699 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13700 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13701 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13702 { "_class_wxPanel","_wxPanel",0},
13703 { "_class_wxCheckBox","_wxCheckBox",0},
13704 { "_wxComboBox","_class_wxComboBox",0},
13705 { "_wxRadioButton","_class_wxRadioButton",0},
13706 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13707 { "_signed_int","_wxCoord",0},
13708 { "_signed_int","_wxPrintQuality",0},
13709 { "_signed_int","_EBool",0},
13710 { "_signed_int","_wxWindowID",0},
13711 { "_signed_int","_int",0},
13712 { "_class_wxTextCtrl","_wxTextCtrl",0},
13713 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13714 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
13715 { "_class_wxTextDataObject","_wxTextDataObject",0},
13716 { "_wxMenu","_class_wxMenu",0},
13717 { "_class_wxMoveEvent","_wxMoveEvent",0},
13718 { "_wxListBox","_class_wxListBox",0},
13719 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13720 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13721 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13722 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13723 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13724 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13725 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13726 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13727 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13728 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13729 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13730 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13731 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13732 { "_wxScreenDC","_class_wxScreenDC",0},
13733 { "_WXTYPE","_short",0},
13734 { "_WXTYPE","_signed_short",0},
13735 { "_WXTYPE","_unsigned_short",0},
13736 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13737 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13738 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13739 { "_class_wxDropTarget","_wxDropTarget",0},
13740 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13741 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13742 { "_class_wxBrush","_wxBrush",0},
13743 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13744 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13745 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13746 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13747 { "_class_wxGridTableBase","_wxGridTableBase",0},
13748 { "_unsigned_short","_WXTYPE",0},
13749 { "_unsigned_short","_short",0},
13750 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13751 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13752 { "_class_wxWindow","_wxWindow",0},
13753 { "_class_wxStaticText","_wxStaticText",0},
13754 { "_class_wxFont","_wxFont",0},
13755 { "_wxClipboard","_class_wxClipboard",0},
13756 { "_class_wxPyValidator","_wxPyValidator",0},
13757 { "_class_wxCloseEvent","_wxCloseEvent",0},
13758 { "_wxBusyInfo","_class_wxBusyInfo",0},
e0672e2f 13759 { "_wxFontList","_class_wxFontList",0},
f6bcfd97
BP
13760 { "_class_wxMenuEvent","_wxMenuEvent",0},
13761 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13762 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13763 { "_wxClientDC","_class_wxClientDC",0},
13764 { "_wxMouseEvent","_class_wxMouseEvent",0},
13765 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
9416aa89
RD
13766 { "_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
13767 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
13768 { "_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
13769 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
13770 { "_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject},
13771 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
13772 { "_wxObject","_class_wxGrid",SwigwxGridTowxObject},
13773 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
13774 { "_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject},
13775 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
13776 { "_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
13777 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
13778 { "_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject},
13779 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
13780 { "_wxObject","_class_wxObject",0},
f6bcfd97
BP
13781 { "_class_wxPoint","_wxPoint",0},
13782 { "_wxRealPoint","_class_wxRealPoint",0},
13783 { "_class_wxRadioBox","_wxRadioBox",0},
13784 { "_signed_short","_WXTYPE",0},
13785 { "_signed_short","_short",0},
13786 { "_wxMemoryDC","_class_wxMemoryDC",0},
13787 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13788 { "_wxPaintDC","_class_wxPaintDC",0},
13789 { "_class_wxWindowDC","_wxWindowDC",0},
13790 { "_class_wxFocusEvent","_wxFocusEvent",0},
13791 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13792 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13793 { "_class_wxCursor","_wxCursor",0},
13794 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13795 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13796 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13797 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13798 { "_unsigned_char","_byte",0},
13799 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
13800 { "_class_wxMenu","_wxMenu",0},
13801 { "_wxControl","_class_wxControl",0},
13802 { "_class_wxListBox","_wxListBox",0},
13803 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13804 { "_unsigned_int","_wxCoord",0},
13805 { "_unsigned_int","_wxPrintQuality",0},
c368d904 13806 { "_unsigned_int","_time_t",0},
f6bcfd97
BP
13807 { "_unsigned_int","_size_t",0},
13808 { "_unsigned_int","_uint",0},
13809 { "_unsigned_int","_wxWindowID",0},
13810 { "_unsigned_int","_int",0},
13811 { "_wxIcon","_class_wxIcon",0},
13812 { "_wxDialog","_class_wxDialog",0},
13813 { "_class_wxPen","_wxPen",0},
13814 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13815 { "_short","_WXTYPE",0},
13816 { "_short","_unsigned_short",0},
13817 { "_short","_signed_short",0},
13818 { "_class_wxStaticBox","_wxStaticBox",0},
13819 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13820 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13821 { "_class_wxPyDropSource","_wxPyDropSource",0},
13822 { "_class_wxScrollEvent","_wxScrollEvent",0},
13823 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13824 { "_class_wxChoice","_wxChoice",0},
13825 { "_class_wxSlider","_wxSlider",0},
13826 { "_class_wxImageList","_wxImageList",0},
13827 { "_class_wxBitmapButton","_wxBitmapButton",0},
13828 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13829 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13830 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13831 { "_wxWindowID","_wxCoord",0},
13832 { "_wxWindowID","_wxPrintQuality",0},
c368d904 13833 { "_wxWindowID","_time_t",0},
f6bcfd97
BP
13834 { "_wxWindowID","_size_t",0},
13835 { "_wxWindowID","_EBool",0},
13836 { "_wxWindowID","_uint",0},
13837 { "_wxWindowID","_int",0},
13838 { "_wxWindowID","_signed_int",0},
13839 { "_wxWindowID","_unsigned_int",0},
9416aa89 13840 { "_class_wxGDIObject","_wxGDIObject",0},
f6bcfd97
BP
13841 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13842 { "_int","_WXGRIDSELECTIONMODES",0},
13843 { "_int","_wxCoord",0},
13844 { "_int","_wxPrintQuality",0},
c368d904 13845 { "_int","_time_t",0},
f6bcfd97
BP
13846 { "_int","_size_t",0},
13847 { "_int","_EBool",0},
13848 { "_int","_uint",0},
13849 { "_int","_wxWindowID",0},
13850 { "_int","_unsigned_int",0},
13851 { "_int","_signed_int",0},
13852 { "_class_wxMouseEvent","_wxMouseEvent",0},
13853 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13854 { "_class_wxSpinEvent","_wxSpinEvent",0},
13855 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
c368d904
RD
13856 { "_time_t","_WXGRIDSELECTIONMODES",0},
13857 { "_time_t","_wxCoord",0},
13858 { "_time_t","_wxPrintQuality",0},
13859 { "_time_t","_unsigned_int",0},
13860 { "_time_t","_int",0},
13861 { "_time_t","_wxWindowID",0},
13862 { "_time_t","_uint",0},
13863 { "_time_t","_size_t",0},
f6bcfd97
BP
13864 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13865 { "_wxButton","_class_wxButton",0},
13866 { "_wxSize","_class_wxSize",0},
13867 { "_wxRegionIterator","_class_wxRegionIterator",0},
f6bcfd97
BP
13868 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13869 { "_class_wxPaintDC","_wxPaintDC",0},
13870 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13871 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13872 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13873 { "_class_wxComboBox","_wxComboBox",0},
13874 { "_class_wxRadioButton","_wxRadioButton",0},
13875 { "_wxValidator","_class_wxValidator",0},
13876 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13877 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13878 { "_class_wxControl","_wxControl",0},
13879 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13880 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13881 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13882 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13883 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13884 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13885 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13886 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13887 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13888 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13889 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13890 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13891 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13892 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13893 { "_class_wxIcon","_wxIcon",0},
13894 { "_class_wxColour","_wxColour",0},
13895 { "_class_wxScreenDC","_wxScreenDC",0},
13896 { "_wxPalette","_class_wxPalette",0},
13897 { "_class_wxIdleEvent","_wxIdleEvent",0},
13898 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13899 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13900 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13901 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13902 { "_wxCoord","_int",0},
13903 { "_wxCoord","_signed_int",0},
13904 { "_wxCoord","_unsigned_int",0},
13905 { "_wxCoord","_wxWindowID",0},
13906 { "_wxCoord","_uint",0},
13907 { "_wxCoord","_EBool",0},
13908 { "_wxCoord","_size_t",0},
c368d904 13909 { "_wxCoord","_time_t",0},
f6bcfd97
BP
13910 { "_wxCoord","_wxPrintQuality",0},
13911 { "_wxEraseEvent","_class_wxEraseEvent",0},
13912 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13913 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
794c5cb1 13914 { "_class_wxToggleButton","_wxToggleButton",0},
f6bcfd97
BP
13915 { "_wxRegion","_class_wxRegion",0},
13916 { "_class_wxShowEvent","_wxShowEvent",0},
13917 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13918 { "_wxActivateEvent","_class_wxActivateEvent",0},
13919 { "_wxGauge","_class_wxGauge",0},
13920 { "_class_wxCheckListBox","_wxCheckListBox",0},
13921 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13922 { "_class_wxBusyInfo","_wxBusyInfo",0},
e0672e2f 13923 { "_class_wxFontList","_wxFontList",0},
f6bcfd97
BP
13924 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13925 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13926 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13927 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13928 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13929 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13930 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13931 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13932 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13933 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13934 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13935 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13936 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13937 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13938 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13939 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13940 { "_class_wxGridEvent","_wxGridEvent",0},
13941 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13942 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13943 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13944 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13945 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13946 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13947 { "_class_wxCommandEvent","_wxCommandEvent",0},
13948 { "_class_wxClientDC","_wxClientDC",0},
13949 { "_class_wxSizeEvent","_wxSizeEvent",0},
e0672e2f 13950 { "_wxBrushList","_class_wxBrushList",0},
f6bcfd97
BP
13951 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13952 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13953 { "_class_wxSize","_wxSize",0},
13954 { "_class_wxBitmap","_wxBitmap",0},
13955 { "_class_wxMemoryDC","_wxMemoryDC",0},
13956 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13957 { "_wxMenuBar","_class_wxMenuBar",0},
13958 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13959 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13960 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13961 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13962 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13963 { "_wxEvtHandler","_class_wxEvtHandler",0},
13964 { "_wxMenuItem","_class_wxMenuItem",0},
13965 { "_class_wxScrollBar","_wxScrollBar",0},
13966 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13967 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13968 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13969 { "_wxKeyEvent","_class_wxKeyEvent",0},
13970 { "_wxMoveEvent","_class_wxMoveEvent",0},
13971 { "_class_wxPalette","_wxPalette",0},
13972 { "_wxFileDataObject","_class_wxFileDataObject",0},
13973 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13974 { "_class_wxEraseEvent","_wxEraseEvent",0},
13975 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13976 { "_class_wxGridStringTable","_wxGridStringTable",0},
13977 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13978 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13979 { "_wxWindow","_class_wxWindow",0},
13980 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13981{0,0,0}};
13982
13983static PyObject *SWIG_globals;
13984#ifdef __cplusplus
13985extern "C"
13986#endif
13987SWIGEXPORT(void) initgridc() {
13988 PyObject *m, *d;
13989 SWIG_globals = SWIG_newvarlink();
13990 m = Py_InitModule("gridc", gridcMethods);
13991 d = PyModule_GetDict(m);
13992 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13993 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13994 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13995 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13996 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13997 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13998 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13999 PyDict_SetItemString(d,"cvar", SWIG_globals);
14000 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14001 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14002 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14003 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14004 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14005 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14006 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14007 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14008 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14009 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14010 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14011 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14012 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14013 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14014 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14015 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14016 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14017 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14018 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14019 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14020 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14021 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14022 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14023 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14024 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
e508a2b6
RD
14025
14026 wxClassInfo::CleanUpClasses();
14027 wxClassInfo::InitializeClasses();
9416aa89
RD
14028 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14029 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14030 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14031 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14032 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14033 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
f6bcfd97
BP
14034 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14035 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14036 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14037{
14038 int i;
14039 for (i = 0; _swig_mapping[i].n1; i++)
14040 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14041}
14042}