]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/grid.cpp
More cleanup. Removed all wxPyDefaultXXX since they aren't needed any
[wxWidgets.git] / wxPython / src / gtk / grid.cpp
CommitLineData
f6bcfd97 1/*
c368d904 2 * FILE : src/gtk/grid.cpp
f6bcfd97
BP
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
f6bcfd97
BP
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
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
2cd2fac8 44
f6bcfd97
BP
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initgridc
55
56#define SWIG_name "gridc"
57
b68dc582 58#include "export.h"
f6bcfd97
BP
59#include <wx/grid.h>
60
61static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
2cd2fac8 63 if (!target) {
f6bcfd97 64 target = o;
2cd2fac8 65 } else if (target == Py_None) {
f6bcfd97
BP
66 Py_DECREF(Py_None);
67 target = o;
2cd2fac8 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
2cd2fac8 85 if (!target) {
f6bcfd97 86 target = o;
2cd2fac8 87 } else if (target == Py_None) {
f6bcfd97
BP
88 Py_DECREF(Py_None);
89 target = o;
2cd2fac8 90 } else {
f6bcfd97
BP
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
2cd2fac8
RD
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
f6bcfd97
BP
98
99 o2 = target;
2cd2fac8
RD
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
f6bcfd97
BP
102 Py_DECREF(o3);
103 }
104 return target;
105}
106
107static char* wxStringErrorMsg = "string type is required for parameter";
108
109#define PYCALLBACK_GCA_INTINT(PCLASS, CBNAME) \
110 wxGridCellAttr* CBNAME(int a, int b) { \
111 wxGridCellAttr* rval = NULL; \
112 bool doSave = wxPyRestoreThread(); \
b68dc582 113 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97
BP
114 PyObject* ro; \
115 wxGridCellAttr* ptr; \
b68dc582 116 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", a, b)); \
f6bcfd97
BP
117 if (ro) { \
118 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
119 rval = ptr; \
120 Py_DECREF(ro); \
121 } \
122 } \
123 else \
124 rval = PCLASS::CBNAME(a, b); \
125 wxPySaveThread(doSave); \
126 return rval; \
127 } \
128 wxGridCellAttr *base_##CBNAME(int a, int b) { \
129 return PCLASS::CBNAME(a, b); \
130 }
131
132
133
134#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
135 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
136 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
137 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
138 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
139 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
2cd2fac8
RD
140 Py_DECREF(obj); \
141 } \
f6bcfd97
BP
142 else \
143 PCLASS::CBNAME(attr, a, b); \
144 wxPySaveThread(doSave); \
145 } \
146 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
147 PCLASS::CBNAME(attr, a, b); \
148 }
149
150
151
152#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
153 void CBNAME(wxGridCellAttr *attr, int val) { \
154 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
155 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
156 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
157 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
2cd2fac8
RD
158 Py_DECREF(obj); \
159 } \
f6bcfd97
BP
160 else \
161 PCLASS::CBNAME(attr, val); \
162 wxPySaveThread(doSave); \
163 } \
164 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
165 PCLASS::CBNAME(attr, val); \
166 }
167
168
169
170#define PYCALLBACK_INT__pure(CBNAME) \
171 int CBNAME() { \
172 bool doSave = wxPyRestoreThread(); \
173 int rval = 0; \
b68dc582
RD
174 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
175 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
f6bcfd97
BP
176 wxPySaveThread(doSave); \
177 return rval; \
178 }
179
180
181
182#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
183 bool CBNAME(int a, int b) { \
184 bool doSave = wxPyRestoreThread(); \
185 bool rval = 0; \
b68dc582
RD
186 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
187 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97
BP
188 wxPySaveThread(doSave); \
189 return rval; \
190 }
191
192
193
194#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
195 wxString CBNAME(int a, int b) { \
196 bool doSave = wxPyRestoreThread(); \
197 wxString rval; \
b68dc582 198 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 199 PyObject* ro; \
b68dc582 200 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97 201 if (ro) { \
2cd2fac8
RD
202 PyObject* str = PyObject_Str(ro); \
203 rval = PyString_AsString(str); \
204 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
205 } \
206 } \
207 wxPySaveThread(doSave); \
208 return rval; \
209 }
210
211
212
213#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
214 void CBNAME(int a, int b, const wxString& c) { \
215 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
216 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
217 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str())); \
f6bcfd97
BP
218 wxPySaveThread(doSave); \
219 }
220
221
222#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
223 wxString CBNAME(int a, int b) { \
224 bool doSave = wxPyRestoreThread(); \
225 wxString rval; \
b68dc582 226 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 227 PyObject* ro; \
b68dc582 228 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97 229 if (ro) { \
2cd2fac8
RD
230 PyObject* str = PyObject_Str(ro); \
231 rval = PyString_AsString(str); \
232 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
233 } \
234 } else \
235 rval = PCLASS::CBNAME(a, b); \
236 wxPySaveThread(doSave); \
237 return rval; \
238 } \
239 wxString base_##CBNAME(int a, int b) { \
240 return PCLASS::CBNAME(a, b); \
241 }
242
243
244
245#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
246 bool CBNAME(int a, int b, const wxString& c) { \
247 bool rval; \
248 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
249 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
250 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str())); \
f6bcfd97
BP
251 else \
252 rval = PCLASS::CBNAME(a,b,c); \
253 wxPySaveThread(doSave); \
254 return rval; \
255 } \
256 bool base_##CBNAME(int a, int b, const wxString& c) { \
257 return PCLASS::CBNAME(a,b,c); \
258 }
259
260
261
262
263#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
264 long CBNAME(int a, int b) { \
265 long rval; \
266 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
267 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
268 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
269 else \
270 rval = PCLASS::CBNAME(a,b); \
271 wxPySaveThread(doSave); \
272 return rval; \
273 } \
274 long base_##CBNAME(int a, int b) { \
275 return PCLASS::CBNAME(a,b); \
276 }
277
278
279
280#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
281 bool CBNAME(int a, int b) { \
282 bool rval; \
283 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
284 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
285 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
286 else \
287 rval = PCLASS::CBNAME(a,b); \
288 wxPySaveThread(doSave); \
289 return rval; \
290 } \
291 bool base_##CBNAME(int a, int b) { \
292 return PCLASS::CBNAME(a,b); \
293 }
294
295
296
297#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
298 double CBNAME(int a, int b) { \
299 bool doSave = wxPyRestoreThread(); \
300 double rval; \
b68dc582 301 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 302 PyObject* ro; \
b68dc582 303 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
f6bcfd97 304 if (ro) { \
2cd2fac8
RD
305 PyObject* str = PyObject_Str(ro); \
306 rval = PyFloat_AsDouble(str); \
307 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
308 } \
309 } else \
310 rval = PCLASS::CBNAME(a, b); \
311 wxPySaveThread(doSave); \
312 return rval; \
313 } \
314 double base_##CBNAME(int a, int b) { \
315 return PCLASS::CBNAME(a, b); \
316 }
317
318
319
320#define PYCALLBACK__(PCLASS, CBNAME) \
321 void CBNAME() { \
322 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
323 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
324 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
f6bcfd97
BP
325 else \
326 PCLASS::CBNAME(); \
327 wxPySaveThread(doSave); \
328 } \
329 void base_##CBNAME() { \
330 PCLASS::CBNAME(); \
331 }
332
333
334
335
336#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
337 bool CBNAME(size_t a, size_t b) { \
338 bool rval; \
339 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
340 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
341 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
342 else \
343 rval = PCLASS::CBNAME(a,b); \
344 wxPySaveThread(doSave); \
345 return rval; \
346 } \
347 bool base_##CBNAME(size_t a, size_t b) { \
348 return PCLASS::CBNAME(a,b); \
349 }
350
351
352
353#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
354 bool CBNAME(size_t a) { \
355 bool rval; \
356 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
357 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
358 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
f6bcfd97
BP
359 else \
360 rval = PCLASS::CBNAME(a); \
361 wxPySaveThread(doSave); \
362 return rval; \
363 } \
364 bool base_##CBNAME(size_t a) { \
365 return PCLASS::CBNAME(a); \
366 }
367
368
369
370#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
371 wxString CBNAME(int a) { \
372 bool doSave = wxPyRestoreThread(); \
373 wxString rval; \
b68dc582 374 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
f6bcfd97 375 PyObject* ro; \
b68dc582 376 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
f6bcfd97 377 if (ro) { \
2cd2fac8
RD
378 PyObject* str = PyObject_Str(ro); \
379 rval = PyString_AsString(str); \
380 Py_DECREF(ro); Py_DECREF(str); \
f6bcfd97
BP
381 } \
382 } else \
383 rval = PCLASS::CBNAME(a); \
384 wxPySaveThread(doSave); \
385 return rval; \
386 } \
387 wxString base_##CBNAME(int a) { \
388 return PCLASS::CBNAME(a); \
389 }
390
391
392
393#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
394 void CBNAME(int a, const wxString& c) { \
395 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
396 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
397 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
f6bcfd97
BP
398 else \
399 PCLASS::CBNAME(a,c); \
400 wxPySaveThread(doSave); \
401 } \
402 void base_##CBNAME(int a, const wxString& c) { \
403 PCLASS::CBNAME(a,c); \
404 }
405
406
407
408
409#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
410 bool CBNAME() { \
411 bool rval; \
412 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
413 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
414 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
f6bcfd97
BP
415 else \
416 rval = PCLASS::CBNAME(); \
417 wxPySaveThread(doSave); \
418 return rval; \
419 } \
420 bool base_##CBNAME() { \
421 return PCLASS::CBNAME(); \
422 }
423
424
425
426#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
427 void CBNAME(size_t a, int b) { \
428 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
429 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
430 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
f6bcfd97
BP
431 else \
432 PCLASS::CBNAME(a,b); \
433 wxPySaveThread(doSave); \
434 } \
435 void base_##CBNAME(size_t a, int b) { \
436 PCLASS::CBNAME(a,b); \
437 }
438
439
440
441
442#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
443 void CBNAME(int a, int b, long c) { \
444 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
445 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
446 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
f6bcfd97
BP
447 else \
448 PCLASS::CBNAME(a,b,c); \
449 wxPySaveThread(doSave); \
450 } \
451 void base_##CBNAME(int a, int b, long c) { \
452 PCLASS::CBNAME(a,b,c); \
453 }
454
455
456
457
458#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
459 void CBNAME(int a, int b, double c) { \
460 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
461 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
462 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
f6bcfd97
BP
463 else \
464 PCLASS::CBNAME(a,b,c); \
465 wxPySaveThread(doSave); \
466 } \
467 void base_##CBNAME(int a, int b, double c) { \
468 PCLASS::CBNAME(a,b,c); \
469 }
470
471
472
473#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
474 void CBNAME(int a, int b, bool c) { \
475 bool doSave = wxPyRestoreThread(); \
b68dc582
RD
476 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
477 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
f6bcfd97
BP
478 else \
479 PCLASS::CBNAME(a,b,c); \
480 wxPySaveThread(doSave); \
481 } \
482 void base_##CBNAME(int a, int b, bool c) { \
483 PCLASS::CBNAME(a,b,c); \
484 }
485
486
487
488
489
490class wxPyGridCellRenderer : public wxGridCellRenderer
491{
492public:
493 wxPyGridCellRenderer() : wxGridCellRenderer() {};
494
495 // Implement Python callback aware virtual methods
496 void Draw(wxGrid& grid, wxGridCellAttr& attr,
497 wxDC& dc, const wxRect& rect,
498 int row, int col, bool isSelected) {
499 bool doSave = wxPyRestoreThread();
b68dc582
RD
500 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
501 wxPyCBH_callCallback(m_myInst,
f6bcfd97 502 Py_BuildValue("(OOOOiii)",
b68dc582
RD
503 wxPyConstructObject((void*)&grid, "wxGrid", 0),
504 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
505 wxPyConstructObject((void*)&dc, "wxDC", 0),
506 wxPyConstructObject((void*)&rect, "wxRect", 0),
f6bcfd97
BP
507 row, col, isSelected));
508 }
509 wxPySaveThread(doSave);
510 }
511
512 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
513 int row, int col) {
514 wxSize rval;
515 bool doSave = wxPyRestoreThread();
b68dc582 516 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
f6bcfd97
BP
517 PyObject* ro;
518 wxSize* ptr;
b68dc582 519 ro = wxPyCBH_callCallbackObj(m_myInst,
f6bcfd97 520 Py_BuildValue("(OOOii)",
b68dc582
RD
521 wxPyConstructObject((void*)&grid, "wxGrid", 0),
522 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
523 wxPyConstructObject((void*)&dc, "wxDC", 0),
f6bcfd97
BP
524 row, col));
525 if (ro) {
526 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
527 rval = *ptr;
528 Py_DECREF(ro);
529 }
530 }
531 wxPySaveThread(doSave);
532 return rval;
533 }
534
535
536 wxGridCellRenderer *Clone() const {
537 wxGridCellRenderer* rval = NULL;
538 bool doSave = wxPyRestoreThread();
b68dc582 539 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
f6bcfd97
BP
540 PyObject* ro;
541 wxGridCellRenderer* ptr;
b68dc582 542 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
f6bcfd97
BP
543 if (ro) {
544 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
545 rval = ptr;
546 Py_DECREF(ro);
547 }
548 }
549 wxPySaveThread(doSave);
550 return rval;
551 }
552
553 DEC_PYCALLBACK__STRING(SetParameters);
554
555 PYPRIVATE;
556};
557
558IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
559
560
561class wxPyGridCellEditor : public wxGridCellEditor
562{
563public:
564 wxPyGridCellEditor() : wxGridCellEditor() {}
565
566 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
567 bool doSave = wxPyRestoreThread();
b68dc582
RD
568 if (wxPyCBH_findCallback(m_myInst, "Create")) {
569 wxPyCBH_callCallback(m_myInst,
f6bcfd97 570 Py_BuildValue("(OiO)",
b68dc582 571 wxPyConstructObject((void*)parent, "wxWindow", 0),
f6bcfd97 572 id,
b68dc582 573 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
f6bcfd97
BP
574 }
575 wxPySaveThread(doSave);
576 }
577
578
579 void BeginEdit(int row, int col, wxGrid* grid) {
580 bool doSave = wxPyRestoreThread();
b68dc582
RD
581 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
582 wxPyCBH_callCallback(m_myInst,
f6bcfd97 583 Py_BuildValue("(iiO)", row, col,
b68dc582 584 wxPyConstructObject((void*)grid, "wxGrid", 0)));
f6bcfd97
BP
585 }
586 wxPySaveThread(doSave);
587 }
588
589
590 bool EndEdit(int row, int col, wxGrid* grid) {
591 bool rv = FALSE;
592 bool doSave = wxPyRestoreThread();
b68dc582
RD
593 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
594 rv = wxPyCBH_callCallback(m_myInst,
f6bcfd97 595 Py_BuildValue("(iiO)", row, col,
b68dc582 596 wxPyConstructObject((void*)grid, "wxGrid", 0)));
f6bcfd97
BP
597 }
598 wxPySaveThread(doSave);
599 return rv;
600 }
601
602
c368d904 603 wxGridCellEditor*Clone() const {
f6bcfd97
BP
604 wxGridCellEditor* rval = NULL;
605 bool doSave = wxPyRestoreThread();
b68dc582 606 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
f6bcfd97
BP
607 PyObject* ro;
608 wxGridCellEditor* ptr;
b68dc582 609 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
f6bcfd97
BP
610 if (ro) {
611 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
612 rval = ptr;
613 Py_DECREF(ro);
614 }
615 }
616 wxPySaveThread(doSave);
617 return rval;
618 }
619
620
621 void Show(bool show, wxGridCellAttr *attr) {
622 bool doSave = wxPyRestoreThread();
b68dc582
RD
623 if (wxPyCBH_findCallback(m_myInst, "Show"))
624 wxPyCBH_callCallback(m_myInst,
f6bcfd97 625 Py_BuildValue("(iO)", show,
b68dc582 626 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
f6bcfd97
BP
627 else
628 wxGridCellEditor::Show(show, attr);
629 wxPySaveThread(doSave);
630 }
631 void base_Show(bool show, wxGridCellAttr *attr) {
632 wxGridCellEditor::Show(show, attr);
633 }
634
635
636 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
637 bool doSave = wxPyRestoreThread();
b68dc582
RD
638 if (wxPyCBH_findCallback(m_myInst, "PaintBackground"))
639 wxPyCBH_callCallback(m_myInst,
f6bcfd97 640 Py_BuildValue("(OO)",
b68dc582
RD
641 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
642 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
f6bcfd97
BP
643 else
644 wxGridCellEditor::PaintBackground(rectCell, attr);
645 wxPySaveThread(doSave);
646 }
647 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
648 wxGridCellEditor::PaintBackground(rectCell, attr);
649 }
650
651
652 DEC_PYCALLBACK___pure(Reset);
653 DEC_PYCALLBACK__constany(SetSize, wxRect);
654 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
655 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
656 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
657 DEC_PYCALLBACK__(StartingClick);
658 DEC_PYCALLBACK__(Destroy);
659 DEC_PYCALLBACK__STRING(SetParameters);
660
661 PYPRIVATE;
662};
663
664
665IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
666IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
667IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
668IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
669IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
670IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
671IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
672IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
673
674
675class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
676{
677public:
678 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
679
680 PYCALLBACK_GCA_INTINT(wxGridCellAttrProvider, GetAttr);
681 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
682 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
683 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
684
685 PYPRIVATE;
686};
687
688class wxPyGridTableBase : public wxGridTableBase
689{
690public:
691 wxPyGridTableBase() : wxGridTableBase() {}
692
693 PYCALLBACK_INT__pure(GetNumberRows);
694 PYCALLBACK_INT__pure(GetNumberCols);
695 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
696 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
697 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
698 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
699 PYCALLBACK__(wxGridTableBase, Clear);
700 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
701 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
702 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
703 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
704 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
705 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
706 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
707 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
708 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
709 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
710 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
711 PYCALLBACK_GCA_INTINT(wxGridTableBase, GetAttr);
712 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
713 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
714 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
715
716
f6bcfd97
BP
717 wxString GetValue(int row, int col) {
718 bool doSave = wxPyRestoreThread();
719 wxString rval;
b68dc582 720 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97 721 PyObject* ro;
b68dc582 722 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
f6bcfd97 723 if (ro) {
2cd2fac8
RD
724 PyObject* str = PyObject_Str(ro);
725 rval = PyString_AsString(str);
f6bcfd97 726 Py_DECREF(ro);
2cd2fac8 727 Py_DECREF(str);
f6bcfd97
BP
728 }
729 }
730 wxPySaveThread(doSave);
731 return rval;
732 }
733
734 void SetValue(int row, int col, const wxString& val) {
735 bool doSave = wxPyRestoreThread();
b68dc582
RD
736 if (wxPyCBH_findCallback(m_myInst, "SetValue"))
737 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str()));
f6bcfd97
BP
738 wxPySaveThread(doSave);
739 }
740
741
742 // Map the Get/Set methods for the standard non-string types to
743 // the GetValue and SetValue python methods.
744 long GetValueAsLong( int row, int col ) {
745 long rval = 0;
746 bool doSave = wxPyRestoreThread();
b68dc582 747 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97
BP
748 PyObject* ro;
749 PyObject* num;
b68dc582 750 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
f6bcfd97
BP
751 if (ro && PyNumber_Check(ro)) {
752 num = PyNumber_Int(ro);
753 if (num) {
754 rval = PyInt_AsLong(num);
755 Py_DECREF(num);
756 }
757 Py_DECREF(ro);
758 }
759 }
760 wxPySaveThread(doSave);
761 return rval;
762 }
763
764 double GetValueAsDouble( int row, int col ) {
765 double rval = 0.0;
766 bool doSave = wxPyRestoreThread();
b68dc582 767 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
f6bcfd97
BP
768 PyObject* ro;
769 PyObject* num;
b68dc582 770 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
f6bcfd97
BP
771 if (ro && PyNumber_Check(ro)) {
772 num = PyNumber_Float(ro);
773 if (num) {
774 rval = PyFloat_AsDouble(num);
775 Py_DECREF(num);
776 }
777 Py_DECREF(ro);
778 }
779 }
780 wxPySaveThread(doSave);
781 return rval;
782 }
783
784 bool GetValueAsBool( int row, int col ) {
785 return (bool)GetValueAsLong(row, col);
786 }
787
788 void SetValueAsLong( int row, int col, long value ) {
789 bool doSave = wxPyRestoreThread();
b68dc582
RD
790 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
791 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
f6bcfd97
BP
792 }
793 wxPySaveThread(doSave);
794 }
795
796 void SetValueAsDouble( int row, int col, double value ) {
797 bool doSave = wxPyRestoreThread();
b68dc582
RD
798 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
799 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
f6bcfd97
BP
800 }
801 wxPySaveThread(doSave);
802 }
803
804 void SetValueAsBool( int row, int col, bool value ) {
805 SetValueAsLong( row, col, (long)value );
806 }
807
808
809 PYPRIVATE;
810};
811
812bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
813
814 // If source is an object instance then it may already be the right type
815 if (PyInstance_Check(source)) {
816 wxGridCellCoords* ptr;
817 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
818 goto error;
819 *obj = ptr;
820 return TRUE;
821 }
822 // otherwise a 2-tuple of integers is expected
823 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
824 PyObject* o1 = PySequence_GetItem(source, 0);
825 PyObject* o2 = PySequence_GetItem(source, 1);
826 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
827 return TRUE;
828 }
829
830 error:
831 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
832 return FALSE;
833}
834
835typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
836#ifdef __cplusplus
837extern "C" {
838#endif
839static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
840
841 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
842 return 1;
843}
844
845static PyObject *_wrap_wxGridNoCellCoords_get() {
846 PyObject * pyobj;
847 char ptemp[128];
848
849 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
850 pyobj = PyString_FromString(ptemp);
851 return pyobj;
852}
853
854static int _wrap_wxGridNoCellRect_set(PyObject *val) {
855
856 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
857 return 1;
858}
859
860static PyObject *_wrap_wxGridNoCellRect_get() {
861 PyObject * pyobj;
862 char ptemp[128];
863
864 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
865 pyobj = PyString_FromString(ptemp);
866 return pyobj;
867}
868
869#define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
870static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
871 PyObject * _resultobj;
872 wxGridCellRenderer * _arg0;
873 wxString * _arg1;
874 PyObject * _argo0 = 0;
875 PyObject * _obj1 = 0;
876 char *_kwnames[] = { "self","params", NULL };
877
878 self = self;
879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
880 return NULL;
881 if (_argo0) {
882 if (_argo0 == Py_None) { _arg0 = NULL; }
883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
885 return NULL;
886 }
887 }
888{
2cd2fac8
RD
889#if PYTHON_API_VERSION >= 1009
890 char* tmpPtr; int tmpSize;
891 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
892 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
893 return NULL;
894 }
895 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
896 return NULL;
897 _arg1 = new wxString(tmpPtr, tmpSize);
898#else
f6bcfd97
BP
899 if (!PyString_Check(_obj1)) {
900 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
901 return NULL;
902 }
2cd2fac8
RD
903 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
904#endif
f6bcfd97
BP
905}
906{
907 wxPy_BEGIN_ALLOW_THREADS;
908 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
909
910 wxPy_END_ALLOW_THREADS;
911} Py_INCREF(Py_None);
912 _resultobj = Py_None;
913{
914 if (_obj1)
915 delete _arg1;
916}
917 return _resultobj;
918}
919
920#define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
921static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
922 PyObject * _resultobj;
923 wxGridCellRenderer * _arg0;
924 PyObject * _argo0 = 0;
925 char *_kwnames[] = { "self", NULL };
926
927 self = self;
928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
929 return NULL;
930 if (_argo0) {
931 if (_argo0 == Py_None) { _arg0 = NULL; }
932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
934 return NULL;
935 }
936 }
937{
938 wxPy_BEGIN_ALLOW_THREADS;
939 wxGridCellRenderer_IncRef(_arg0);
940
941 wxPy_END_ALLOW_THREADS;
942} Py_INCREF(Py_None);
943 _resultobj = Py_None;
944 return _resultobj;
945}
946
947#define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
948static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
949 PyObject * _resultobj;
950 wxGridCellRenderer * _arg0;
951 PyObject * _argo0 = 0;
952 char *_kwnames[] = { "self", NULL };
953
954 self = self;
955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
956 return NULL;
957 if (_argo0) {
958 if (_argo0 == Py_None) { _arg0 = NULL; }
959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
961 return NULL;
962 }
963 }
964{
965 wxPy_BEGIN_ALLOW_THREADS;
966 wxGridCellRenderer_DecRef(_arg0);
967
968 wxPy_END_ALLOW_THREADS;
969} Py_INCREF(Py_None);
970 _resultobj = Py_None;
971 return _resultobj;
972}
973
974#define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
975static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
976 PyObject * _resultobj;
977 wxGridCellRenderer * _arg0;
978 wxGrid * _arg1;
979 wxGridCellAttr * _arg2;
980 wxDC * _arg3;
981 wxRect * _arg4;
982 int _arg5;
983 int _arg6;
984 bool _arg7;
985 PyObject * _argo0 = 0;
986 PyObject * _argo1 = 0;
987 PyObject * _argo2 = 0;
988 PyObject * _argo3 = 0;
989 wxRect temp;
990 PyObject * _obj4 = 0;
991 int tempbool7;
992 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
993
994 self = self;
995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
996 return NULL;
997 if (_argo0) {
998 if (_argo0 == Py_None) { _arg0 = NULL; }
999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1001 return NULL;
1002 }
1003 }
1004 if (_argo1) {
1005 if (_argo1 == Py_None) { _arg1 = NULL; }
1006 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1007 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1008 return NULL;
1009 }
1010 }
1011 if (_argo2) {
1012 if (_argo2 == Py_None) { _arg2 = NULL; }
1013 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1014 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1015 return NULL;
1016 }
1017 }
1018 if (_argo3) {
1019 if (_argo3 == Py_None) { _arg3 = NULL; }
1020 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1021 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1022 return NULL;
1023 }
1024 }
1025{
1026 _arg4 = &temp;
1027 if (! wxRect_helper(_obj4, &_arg4))
1028 return NULL;
1029}
1030 _arg7 = (bool ) tempbool7;
1031{
1032 wxPy_BEGIN_ALLOW_THREADS;
1033 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1034
1035 wxPy_END_ALLOW_THREADS;
1036} Py_INCREF(Py_None);
1037 _resultobj = Py_None;
1038 return _resultobj;
1039}
1040
1041#define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1042static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject * _resultobj;
1044 wxSize * _result;
1045 wxGridCellRenderer * _arg0;
1046 wxGrid * _arg1;
1047 wxGridCellAttr * _arg2;
1048 wxDC * _arg3;
1049 int _arg4;
1050 int _arg5;
1051 PyObject * _argo0 = 0;
1052 PyObject * _argo1 = 0;
1053 PyObject * _argo2 = 0;
1054 PyObject * _argo3 = 0;
1055 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1056 char _ptemp[128];
1057
1058 self = self;
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1060 return NULL;
1061 if (_argo0) {
1062 if (_argo0 == Py_None) { _arg0 = NULL; }
1063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1065 return NULL;
1066 }
1067 }
1068 if (_argo1) {
1069 if (_argo1 == Py_None) { _arg1 = NULL; }
1070 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1071 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1072 return NULL;
1073 }
1074 }
1075 if (_argo2) {
1076 if (_argo2 == Py_None) { _arg2 = NULL; }
1077 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1078 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1079 return NULL;
1080 }
1081 }
1082 if (_argo3) {
1083 if (_argo3 == Py_None) { _arg3 = NULL; }
1084 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1085 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1086 return NULL;
1087 }
1088 }
1089{
1090 wxPy_BEGIN_ALLOW_THREADS;
1091 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1092
1093 wxPy_END_ALLOW_THREADS;
1094} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1095 _resultobj = Py_BuildValue("s",_ptemp);
1096 return _resultobj;
1097}
1098
1099#define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1100static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1101 PyObject * _resultobj;
1102 wxGridCellRenderer * _result;
1103 wxGridCellRenderer * _arg0;
1104 PyObject * _argo0 = 0;
1105 char *_kwnames[] = { "self", NULL };
1106 char _ptemp[128];
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1110 return NULL;
1111 if (_argo0) {
1112 if (_argo0 == Py_None) { _arg0 = NULL; }
1113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1115 return NULL;
1116 }
1117 }
1118{
1119 wxPy_BEGIN_ALLOW_THREADS;
1120 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1121
1122 wxPy_END_ALLOW_THREADS;
1123} if (_result) {
1124 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1125 _resultobj = Py_BuildValue("s",_ptemp);
1126 } else {
1127 Py_INCREF(Py_None);
1128 _resultobj = Py_None;
1129 }
1130 return _resultobj;
1131}
1132
1133static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1134 wxPyGridCellRenderer *src;
1135 wxGridCellRenderer *dest;
1136 src = (wxPyGridCellRenderer *) ptr;
1137 dest = (wxGridCellRenderer *) src;
1138 return (void *) dest;
1139}
1140
1141#define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1142static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1143 PyObject * _resultobj;
1144 wxPyGridCellRenderer * _result;
1145 char *_kwnames[] = { NULL };
1146 char _ptemp[128];
1147
1148 self = self;
1149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1150 return NULL;
1151{
1152 wxPy_BEGIN_ALLOW_THREADS;
1153 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1154
1155 wxPy_END_ALLOW_THREADS;
1156} if (_result) {
1157 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1158 _resultobj = Py_BuildValue("s",_ptemp);
1159 } else {
1160 Py_INCREF(Py_None);
1161 _resultobj = Py_None;
1162 }
1163 return _resultobj;
1164}
1165
1166#define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1167static PyObject *_wrap_wxPyGridCellRenderer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1168 PyObject * _resultobj;
1169 wxPyGridCellRenderer * _arg0;
1170 PyObject * _arg1;
1171 PyObject * _arg2;
1172 PyObject * _argo0 = 0;
1173 PyObject * _obj1 = 0;
1174 PyObject * _obj2 = 0;
1175 char *_kwnames[] = { "self","self","_class", NULL };
1176
1177 self = self;
1178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1179 return NULL;
1180 if (_argo0) {
1181 if (_argo0 == Py_None) { _arg0 = NULL; }
1182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1184 return NULL;
1185 }
1186 }
1187{
1188 _arg1 = _obj1;
1189}
1190{
1191 _arg2 = _obj2;
1192}
1193{
1194 wxPy_BEGIN_ALLOW_THREADS;
1195 wxPyGridCellRenderer__setSelf(_arg0,_arg1,_arg2);
1196
1197 wxPy_END_ALLOW_THREADS;
1198} Py_INCREF(Py_None);
1199 _resultobj = Py_None;
1200 return _resultobj;
1201}
1202
1203#define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1204static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1205 PyObject * _resultobj;
1206 wxPyGridCellRenderer * _arg0;
1207 wxString * _arg1;
1208 PyObject * _argo0 = 0;
1209 PyObject * _obj1 = 0;
1210 char *_kwnames[] = { "self","params", NULL };
1211
1212 self = self;
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1214 return NULL;
1215 if (_argo0) {
1216 if (_argo0 == Py_None) { _arg0 = NULL; }
1217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1219 return NULL;
1220 }
1221 }
1222{
2cd2fac8
RD
1223#if PYTHON_API_VERSION >= 1009
1224 char* tmpPtr; int tmpSize;
1225 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1226 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1227 return NULL;
1228 }
1229 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1230 return NULL;
1231 _arg1 = new wxString(tmpPtr, tmpSize);
1232#else
f6bcfd97
BP
1233 if (!PyString_Check(_obj1)) {
1234 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1235 return NULL;
1236 }
2cd2fac8
RD
1237 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1238#endif
f6bcfd97
BP
1239}
1240{
1241 wxPy_BEGIN_ALLOW_THREADS;
1242 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1243
1244 wxPy_END_ALLOW_THREADS;
1245} Py_INCREF(Py_None);
1246 _resultobj = Py_None;
1247{
1248 if (_obj1)
1249 delete _arg1;
1250}
1251 return _resultobj;
1252}
1253
1254static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1255 wxGridCellStringRenderer *src;
1256 wxGridCellRenderer *dest;
1257 src = (wxGridCellStringRenderer *) ptr;
1258 dest = (wxGridCellRenderer *) src;
1259 return (void *) dest;
1260}
1261
1262#define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1263static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1264 PyObject * _resultobj;
1265 wxGridCellStringRenderer * _result;
1266 char *_kwnames[] = { NULL };
1267 char _ptemp[128];
1268
1269 self = self;
1270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1271 return NULL;
1272{
1273 wxPy_BEGIN_ALLOW_THREADS;
1274 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1275
1276 wxPy_END_ALLOW_THREADS;
1277} if (_result) {
1278 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1279 _resultobj = Py_BuildValue("s",_ptemp);
1280 } else {
1281 Py_INCREF(Py_None);
1282 _resultobj = Py_None;
1283 }
1284 return _resultobj;
1285}
1286
1287static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1288 wxGridCellNumberRenderer *src;
1289 wxGridCellStringRenderer *dest;
1290 src = (wxGridCellNumberRenderer *) ptr;
1291 dest = (wxGridCellStringRenderer *) src;
1292 return (void *) dest;
1293}
1294
1295static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1296 wxGridCellNumberRenderer *src;
1297 wxGridCellRenderer *dest;
1298 src = (wxGridCellNumberRenderer *) ptr;
1299 dest = (wxGridCellRenderer *) src;
1300 return (void *) dest;
1301}
1302
1303#define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1304static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject * _resultobj;
1306 wxGridCellNumberRenderer * _result;
1307 char *_kwnames[] = { NULL };
1308 char _ptemp[128];
1309
1310 self = self;
1311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1312 return NULL;
1313{
1314 wxPy_BEGIN_ALLOW_THREADS;
1315 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1316
1317 wxPy_END_ALLOW_THREADS;
1318} if (_result) {
1319 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1320 _resultobj = Py_BuildValue("s",_ptemp);
1321 } else {
1322 Py_INCREF(Py_None);
1323 _resultobj = Py_None;
1324 }
1325 return _resultobj;
1326}
1327
1328static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1329 wxGridCellFloatRenderer *src;
1330 wxGridCellStringRenderer *dest;
1331 src = (wxGridCellFloatRenderer *) ptr;
1332 dest = (wxGridCellStringRenderer *) src;
1333 return (void *) dest;
1334}
1335
1336static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1337 wxGridCellFloatRenderer *src;
1338 wxGridCellRenderer *dest;
1339 src = (wxGridCellFloatRenderer *) ptr;
1340 dest = (wxGridCellRenderer *) src;
1341 return (void *) dest;
1342}
1343
1344#define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1345static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject * _resultobj;
1347 wxGridCellFloatRenderer * _result;
1348 int _arg0 = (int ) -1;
1349 int _arg1 = (int ) -1;
1350 char *_kwnames[] = { "width","precision", NULL };
1351 char _ptemp[128];
1352
1353 self = self;
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1355 return NULL;
1356{
1357 wxPy_BEGIN_ALLOW_THREADS;
1358 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1359
1360 wxPy_END_ALLOW_THREADS;
1361} if (_result) {
1362 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1363 _resultobj = Py_BuildValue("s",_ptemp);
1364 } else {
1365 Py_INCREF(Py_None);
1366 _resultobj = Py_None;
1367 }
1368 return _resultobj;
1369}
1370
1371#define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1372static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1373 PyObject * _resultobj;
1374 int _result;
1375 wxGridCellFloatRenderer * _arg0;
1376 PyObject * _argo0 = 0;
1377 char *_kwnames[] = { "self", NULL };
1378
1379 self = self;
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1381 return NULL;
1382 if (_argo0) {
1383 if (_argo0 == Py_None) { _arg0 = NULL; }
1384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1386 return NULL;
1387 }
1388 }
1389{
1390 wxPy_BEGIN_ALLOW_THREADS;
1391 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1392
1393 wxPy_END_ALLOW_THREADS;
1394} _resultobj = Py_BuildValue("i",_result);
1395 return _resultobj;
1396}
1397
1398#define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1399static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1400 PyObject * _resultobj;
1401 wxGridCellFloatRenderer * _arg0;
1402 int _arg1;
1403 PyObject * _argo0 = 0;
1404 char *_kwnames[] = { "self","width", NULL };
1405
1406 self = self;
1407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1408 return NULL;
1409 if (_argo0) {
1410 if (_argo0 == Py_None) { _arg0 = NULL; }
1411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1413 return NULL;
1414 }
1415 }
1416{
1417 wxPy_BEGIN_ALLOW_THREADS;
1418 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1419
1420 wxPy_END_ALLOW_THREADS;
1421} Py_INCREF(Py_None);
1422 _resultobj = Py_None;
1423 return _resultobj;
1424}
1425
1426#define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1427static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject * _resultobj;
1429 int _result;
1430 wxGridCellFloatRenderer * _arg0;
1431 PyObject * _argo0 = 0;
1432 char *_kwnames[] = { "self", NULL };
1433
1434 self = self;
1435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1436 return NULL;
1437 if (_argo0) {
1438 if (_argo0 == Py_None) { _arg0 = NULL; }
1439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1441 return NULL;
1442 }
1443 }
1444{
1445 wxPy_BEGIN_ALLOW_THREADS;
1446 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1447
1448 wxPy_END_ALLOW_THREADS;
1449} _resultobj = Py_BuildValue("i",_result);
1450 return _resultobj;
1451}
1452
1453#define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1454static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1455 PyObject * _resultobj;
1456 wxGridCellFloatRenderer * _arg0;
1457 int _arg1;
1458 PyObject * _argo0 = 0;
1459 char *_kwnames[] = { "self","precision", NULL };
1460
1461 self = self;
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1463 return NULL;
1464 if (_argo0) {
1465 if (_argo0 == Py_None) { _arg0 = NULL; }
1466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1468 return NULL;
1469 }
1470 }
1471{
1472 wxPy_BEGIN_ALLOW_THREADS;
1473 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1474
1475 wxPy_END_ALLOW_THREADS;
1476} Py_INCREF(Py_None);
1477 _resultobj = Py_None;
1478 return _resultobj;
1479}
1480
1481static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1482 wxGridCellBoolRenderer *src;
1483 wxGridCellRenderer *dest;
1484 src = (wxGridCellBoolRenderer *) ptr;
1485 dest = (wxGridCellRenderer *) src;
1486 return (void *) dest;
1487}
1488
1489#define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1490static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1491 PyObject * _resultobj;
1492 wxGridCellBoolRenderer * _result;
1493 char *_kwnames[] = { NULL };
1494 char _ptemp[128];
1495
1496 self = self;
1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1498 return NULL;
1499{
1500 wxPy_BEGIN_ALLOW_THREADS;
1501 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1502
1503 wxPy_END_ALLOW_THREADS;
1504} if (_result) {
1505 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1506 _resultobj = Py_BuildValue("s",_ptemp);
1507 } else {
1508 Py_INCREF(Py_None);
1509 _resultobj = Py_None;
1510 }
1511 return _resultobj;
1512}
1513
1514#define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1515static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1516 PyObject * _resultobj;
1517 bool _result;
1518 wxGridCellEditor * _arg0;
1519 PyObject * _argo0 = 0;
1520 char *_kwnames[] = { "self", NULL };
1521
1522 self = self;
1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1524 return NULL;
1525 if (_argo0) {
1526 if (_argo0 == Py_None) { _arg0 = NULL; }
1527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1529 return NULL;
1530 }
1531 }
1532{
1533 wxPy_BEGIN_ALLOW_THREADS;
1534 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1535
1536 wxPy_END_ALLOW_THREADS;
1537} _resultobj = Py_BuildValue("i",_result);
1538 return _resultobj;
1539}
1540
1541#define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1542static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1543 PyObject * _resultobj;
1544 wxControl * _result;
1545 wxGridCellEditor * _arg0;
1546 PyObject * _argo0 = 0;
1547 char *_kwnames[] = { "self", NULL };
1548 char _ptemp[128];
1549
1550 self = self;
1551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1552 return NULL;
1553 if (_argo0) {
1554 if (_argo0 == Py_None) { _arg0 = NULL; }
1555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1557 return NULL;
1558 }
1559 }
1560{
1561 wxPy_BEGIN_ALLOW_THREADS;
1562 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1563
1564 wxPy_END_ALLOW_THREADS;
1565} if (_result) {
1566 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
1567 _resultobj = Py_BuildValue("s",_ptemp);
1568 } else {
1569 Py_INCREF(Py_None);
1570 _resultobj = Py_None;
1571 }
1572 return _resultobj;
1573}
1574
1575#define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1576static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1577 PyObject * _resultobj;
1578 wxGridCellEditor * _arg0;
1579 wxControl * _arg1;
1580 PyObject * _argo0 = 0;
1581 PyObject * _argo1 = 0;
1582 char *_kwnames[] = { "self","control", NULL };
1583
1584 self = self;
1585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1586 return NULL;
1587 if (_argo0) {
1588 if (_argo0 == Py_None) { _arg0 = NULL; }
1589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1591 return NULL;
1592 }
1593 }
1594 if (_argo1) {
1595 if (_argo1 == Py_None) { _arg1 = NULL; }
1596 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1597 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1598 return NULL;
1599 }
1600 }
1601{
1602 wxPy_BEGIN_ALLOW_THREADS;
1603 wxGridCellEditor_SetControl(_arg0,_arg1);
1604
1605 wxPy_END_ALLOW_THREADS;
1606} Py_INCREF(Py_None);
1607 _resultobj = Py_None;
1608 return _resultobj;
1609}
1610
1611#define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1612static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1613 PyObject * _resultobj;
1614 wxGridCellEditor * _arg0;
1615 wxString * _arg1;
1616 PyObject * _argo0 = 0;
1617 PyObject * _obj1 = 0;
1618 char *_kwnames[] = { "self","params", NULL };
1619
1620 self = self;
1621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1622 return NULL;
1623 if (_argo0) {
1624 if (_argo0 == Py_None) { _arg0 = NULL; }
1625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1627 return NULL;
1628 }
1629 }
1630{
2cd2fac8
RD
1631#if PYTHON_API_VERSION >= 1009
1632 char* tmpPtr; int tmpSize;
1633 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1634 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1635 return NULL;
1636 }
1637 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1638 return NULL;
1639 _arg1 = new wxString(tmpPtr, tmpSize);
1640#else
f6bcfd97
BP
1641 if (!PyString_Check(_obj1)) {
1642 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1643 return NULL;
1644 }
2cd2fac8
RD
1645 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1646#endif
f6bcfd97
BP
1647}
1648{
1649 wxPy_BEGIN_ALLOW_THREADS;
1650 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1651
1652 wxPy_END_ALLOW_THREADS;
1653} Py_INCREF(Py_None);
1654 _resultobj = Py_None;
1655{
1656 if (_obj1)
1657 delete _arg1;
1658}
1659 return _resultobj;
1660}
1661
1662#define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1663static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1664 PyObject * _resultobj;
1665 wxGridCellEditor * _arg0;
1666 PyObject * _argo0 = 0;
1667 char *_kwnames[] = { "self", NULL };
1668
1669 self = self;
1670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1671 return NULL;
1672 if (_argo0) {
1673 if (_argo0 == Py_None) { _arg0 = NULL; }
1674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1676 return NULL;
1677 }
1678 }
1679{
1680 wxPy_BEGIN_ALLOW_THREADS;
1681 wxGridCellEditor_IncRef(_arg0);
1682
1683 wxPy_END_ALLOW_THREADS;
1684} Py_INCREF(Py_None);
1685 _resultobj = Py_None;
1686 return _resultobj;
1687}
1688
1689#define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1690static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject * _resultobj;
1692 wxGridCellEditor * _arg0;
1693 PyObject * _argo0 = 0;
1694 char *_kwnames[] = { "self", NULL };
1695
1696 self = self;
1697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1698 return NULL;
1699 if (_argo0) {
1700 if (_argo0 == Py_None) { _arg0 = NULL; }
1701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1703 return NULL;
1704 }
1705 }
1706{
1707 wxPy_BEGIN_ALLOW_THREADS;
1708 wxGridCellEditor_DecRef(_arg0);
1709
1710 wxPy_END_ALLOW_THREADS;
1711} Py_INCREF(Py_None);
1712 _resultobj = Py_None;
1713 return _resultobj;
1714}
1715
1716#define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1717static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1718 PyObject * _resultobj;
1719 wxGridCellEditor * _arg0;
1720 wxWindow * _arg1;
1721 wxWindowID _arg2;
1722 wxEvtHandler * _arg3;
1723 PyObject * _argo0 = 0;
1724 PyObject * _argo1 = 0;
1725 PyObject * _argo3 = 0;
1726 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1727
1728 self = self;
1729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1730 return NULL;
1731 if (_argo0) {
1732 if (_argo0 == Py_None) { _arg0 = NULL; }
1733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1735 return NULL;
1736 }
1737 }
1738 if (_argo1) {
1739 if (_argo1 == Py_None) { _arg1 = NULL; }
1740 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1741 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1742 return NULL;
1743 }
1744 }
1745 if (_argo3) {
1746 if (_argo3 == Py_None) { _arg3 = NULL; }
1747 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1748 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1749 return NULL;
1750 }
1751 }
1752{
1753 wxPy_BEGIN_ALLOW_THREADS;
1754 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1755
1756 wxPy_END_ALLOW_THREADS;
1757} Py_INCREF(Py_None);
1758 _resultobj = Py_None;
1759 return _resultobj;
1760}
1761
1762#define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1763static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1764 PyObject * _resultobj;
1765 wxGridCellEditor * _arg0;
1766 int _arg1;
1767 int _arg2;
1768 wxGrid * _arg3;
1769 PyObject * _argo0 = 0;
1770 PyObject * _argo3 = 0;
1771 char *_kwnames[] = { "self","row","col","grid", NULL };
1772
1773 self = self;
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1775 return NULL;
1776 if (_argo0) {
1777 if (_argo0 == Py_None) { _arg0 = NULL; }
1778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1780 return NULL;
1781 }
1782 }
1783 if (_argo3) {
1784 if (_argo3 == Py_None) { _arg3 = NULL; }
1785 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1786 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1787 return NULL;
1788 }
1789 }
1790{
1791 wxPy_BEGIN_ALLOW_THREADS;
1792 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1793
1794 wxPy_END_ALLOW_THREADS;
1795} Py_INCREF(Py_None);
1796 _resultobj = Py_None;
1797 return _resultobj;
1798}
1799
1800#define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1801static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject * _resultobj;
1803 bool _result;
1804 wxGridCellEditor * _arg0;
1805 int _arg1;
1806 int _arg2;
1807 wxGrid * _arg3;
1808 PyObject * _argo0 = 0;
1809 PyObject * _argo3 = 0;
1810 char *_kwnames[] = { "self","row","col","grid", NULL };
1811
1812 self = self;
1813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1814 return NULL;
1815 if (_argo0) {
1816 if (_argo0 == Py_None) { _arg0 = NULL; }
1817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1819 return NULL;
1820 }
1821 }
1822 if (_argo3) {
1823 if (_argo3 == Py_None) { _arg3 = NULL; }
1824 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1825 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1826 return NULL;
1827 }
1828 }
1829{
1830 wxPy_BEGIN_ALLOW_THREADS;
1831 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1832
1833 wxPy_END_ALLOW_THREADS;
1834} _resultobj = Py_BuildValue("i",_result);
1835 return _resultobj;
1836}
1837
1838#define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1839static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject * _resultobj;
1841 wxGridCellEditor * _arg0;
1842 PyObject * _argo0 = 0;
1843 char *_kwnames[] = { "self", NULL };
1844
1845 self = self;
1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
1847 return NULL;
1848 if (_argo0) {
1849 if (_argo0 == Py_None) { _arg0 = NULL; }
1850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1852 return NULL;
1853 }
1854 }
1855{
1856 wxPy_BEGIN_ALLOW_THREADS;
1857 wxGridCellEditor_Reset(_arg0);
1858
1859 wxPy_END_ALLOW_THREADS;
1860} Py_INCREF(Py_None);
1861 _resultobj = Py_None;
1862 return _resultobj;
1863}
1864
1865#define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1866static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1867 PyObject * _resultobj;
1868 wxGridCellEditor * _result;
1869 wxGridCellEditor * _arg0;
1870 PyObject * _argo0 = 0;
1871 char *_kwnames[] = { "self", NULL };
1872 char _ptemp[128];
1873
1874 self = self;
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
1876 return NULL;
1877 if (_argo0) {
1878 if (_argo0 == Py_None) { _arg0 = NULL; }
1879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1881 return NULL;
1882 }
1883 }
1884{
1885 wxPy_BEGIN_ALLOW_THREADS;
1886 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
1887
1888 wxPy_END_ALLOW_THREADS;
1889} if (_result) {
1890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
1891 _resultobj = Py_BuildValue("s",_ptemp);
1892 } else {
1893 Py_INCREF(Py_None);
1894 _resultobj = Py_None;
1895 }
1896 return _resultobj;
1897}
1898
1899#define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1900static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1901 PyObject * _resultobj;
1902 wxGridCellEditor * _arg0;
1903 wxRect * _arg1;
1904 PyObject * _argo0 = 0;
1905 wxRect temp;
1906 PyObject * _obj1 = 0;
1907 char *_kwnames[] = { "self","rect", NULL };
1908
1909 self = self;
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
1911 return NULL;
1912 if (_argo0) {
1913 if (_argo0 == Py_None) { _arg0 = NULL; }
1914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1916 return NULL;
1917 }
1918 }
1919{
1920 _arg1 = &temp;
1921 if (! wxRect_helper(_obj1, &_arg1))
1922 return NULL;
1923}
1924{
1925 wxPy_BEGIN_ALLOW_THREADS;
1926 wxGridCellEditor_SetSize(_arg0,*_arg1);
1927
1928 wxPy_END_ALLOW_THREADS;
1929} Py_INCREF(Py_None);
1930 _resultobj = Py_None;
1931 return _resultobj;
1932}
1933
1934#define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1935static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1936 PyObject * _resultobj;
1937 wxGridCellEditor * _arg0;
1938 bool _arg1;
1939 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
1940 PyObject * _argo0 = 0;
1941 int tempbool1;
1942 PyObject * _argo2 = 0;
1943 char *_kwnames[] = { "self","show","attr", NULL };
1944
1945 self = self;
1946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
1947 return NULL;
1948 if (_argo0) {
1949 if (_argo0 == Py_None) { _arg0 = NULL; }
1950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1952 return NULL;
1953 }
1954 }
1955 _arg1 = (bool ) tempbool1;
1956 if (_argo2) {
1957 if (_argo2 == Py_None) { _arg2 = NULL; }
1958 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1960 return NULL;
1961 }
1962 }
1963{
1964 wxPy_BEGIN_ALLOW_THREADS;
1965 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
1966
1967 wxPy_END_ALLOW_THREADS;
1968} Py_INCREF(Py_None);
1969 _resultobj = Py_None;
1970 return _resultobj;
1971}
1972
1973#define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1974static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1975 PyObject * _resultobj;
1976 wxGridCellEditor * _arg0;
1977 wxRect * _arg1;
1978 wxGridCellAttr * _arg2;
1979 PyObject * _argo0 = 0;
1980 wxRect temp;
1981 PyObject * _obj1 = 0;
1982 PyObject * _argo2 = 0;
1983 char *_kwnames[] = { "self","rectCell","attr", NULL };
1984
1985 self = self;
1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
1987 return NULL;
1988 if (_argo0) {
1989 if (_argo0 == Py_None) { _arg0 = NULL; }
1990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
1992 return NULL;
1993 }
1994 }
1995{
1996 _arg1 = &temp;
1997 if (! wxRect_helper(_obj1, &_arg1))
1998 return NULL;
1999}
2000 if (_argo2) {
2001 if (_argo2 == Py_None) { _arg2 = NULL; }
2002 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2003 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2004 return NULL;
2005 }
2006 }
2007{
2008 wxPy_BEGIN_ALLOW_THREADS;
2009 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2010
2011 wxPy_END_ALLOW_THREADS;
2012} Py_INCREF(Py_None);
2013 _resultobj = Py_None;
2014 return _resultobj;
2015}
2016
2017#define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2018static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2019 PyObject * _resultobj;
2020 bool _result;
2021 wxGridCellEditor * _arg0;
2022 wxKeyEvent * _arg1;
2023 PyObject * _argo0 = 0;
2024 PyObject * _argo1 = 0;
2025 char *_kwnames[] = { "self","event", NULL };
2026
2027 self = self;
2028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2029 return NULL;
2030 if (_argo0) {
2031 if (_argo0 == Py_None) { _arg0 = NULL; }
2032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2034 return NULL;
2035 }
2036 }
2037 if (_argo1) {
2038 if (_argo1 == Py_None) { _arg1 = NULL; }
2039 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2040 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2041 return NULL;
2042 }
2043 }
2044{
2045 wxPy_BEGIN_ALLOW_THREADS;
2046 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2047
2048 wxPy_END_ALLOW_THREADS;
2049} _resultobj = Py_BuildValue("i",_result);
2050 return _resultobj;
2051}
2052
2053#define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2054static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2055 PyObject * _resultobj;
2056 wxGridCellEditor * _arg0;
2057 wxKeyEvent * _arg1;
2058 PyObject * _argo0 = 0;
2059 PyObject * _argo1 = 0;
2060 char *_kwnames[] = { "self","event", NULL };
2061
2062 self = self;
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2064 return NULL;
2065 if (_argo0) {
2066 if (_argo0 == Py_None) { _arg0 = NULL; }
2067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2069 return NULL;
2070 }
2071 }
2072 if (_argo1) {
2073 if (_argo1 == Py_None) { _arg1 = NULL; }
2074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2076 return NULL;
2077 }
2078 }
2079{
2080 wxPy_BEGIN_ALLOW_THREADS;
2081 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2082
2083 wxPy_END_ALLOW_THREADS;
2084} Py_INCREF(Py_None);
2085 _resultobj = Py_None;
2086 return _resultobj;
2087}
2088
2089#define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2090static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject * _resultobj;
2092 wxGridCellEditor * _arg0;
2093 PyObject * _argo0 = 0;
2094 char *_kwnames[] = { "self", NULL };
2095
2096 self = self;
2097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2098 return NULL;
2099 if (_argo0) {
2100 if (_argo0 == Py_None) { _arg0 = NULL; }
2101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2103 return NULL;
2104 }
2105 }
2106{
2107 wxPy_BEGIN_ALLOW_THREADS;
2108 wxGridCellEditor_StartingClick(_arg0);
2109
2110 wxPy_END_ALLOW_THREADS;
2111} Py_INCREF(Py_None);
2112 _resultobj = Py_None;
2113 return _resultobj;
2114}
2115
2116#define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2117static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2118 PyObject * _resultobj;
2119 wxGridCellEditor * _arg0;
2120 wxKeyEvent * _arg1;
2121 PyObject * _argo0 = 0;
2122 PyObject * _argo1 = 0;
2123 char *_kwnames[] = { "self","event", NULL };
2124
2125 self = self;
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2127 return NULL;
2128 if (_argo0) {
2129 if (_argo0 == Py_None) { _arg0 = NULL; }
2130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2132 return NULL;
2133 }
2134 }
2135 if (_argo1) {
2136 if (_argo1 == Py_None) { _arg1 = NULL; }
2137 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2138 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2139 return NULL;
2140 }
2141 }
2142{
2143 wxPy_BEGIN_ALLOW_THREADS;
2144 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2145
2146 wxPy_END_ALLOW_THREADS;
2147} Py_INCREF(Py_None);
2148 _resultobj = Py_None;
2149 return _resultobj;
2150}
2151
2152#define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2153static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject * _resultobj;
2155 wxGridCellEditor * _arg0;
2156 PyObject * _argo0 = 0;
2157 char *_kwnames[] = { "self", NULL };
2158
2159 self = self;
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2161 return NULL;
2162 if (_argo0) {
2163 if (_argo0 == Py_None) { _arg0 = NULL; }
2164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2166 return NULL;
2167 }
2168 }
2169{
2170 wxPy_BEGIN_ALLOW_THREADS;
2171 wxGridCellEditor_Destroy(_arg0);
2172
2173 wxPy_END_ALLOW_THREADS;
2174} Py_INCREF(Py_None);
2175 _resultobj = Py_None;
2176 return _resultobj;
2177}
2178
2179static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2180 wxPyGridCellEditor *src;
2181 wxGridCellEditor *dest;
2182 src = (wxPyGridCellEditor *) ptr;
2183 dest = (wxGridCellEditor *) src;
2184 return (void *) dest;
2185}
2186
2187#define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2188static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject * _resultobj;
2190 wxPyGridCellEditor * _result;
2191 char *_kwnames[] = { NULL };
2192 char _ptemp[128];
2193
2194 self = self;
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2196 return NULL;
2197{
2198 wxPy_BEGIN_ALLOW_THREADS;
2199 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2200
2201 wxPy_END_ALLOW_THREADS;
2202} if (_result) {
2203 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2204 _resultobj = Py_BuildValue("s",_ptemp);
2205 } else {
2206 Py_INCREF(Py_None);
2207 _resultobj = Py_None;
2208 }
2209 return _resultobj;
2210}
2211
2212#define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2213static PyObject *_wrap_wxPyGridCellEditor__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2214 PyObject * _resultobj;
2215 wxPyGridCellEditor * _arg0;
2216 PyObject * _arg1;
2217 PyObject * _arg2;
2218 PyObject * _argo0 = 0;
2219 PyObject * _obj1 = 0;
2220 PyObject * _obj2 = 0;
2221 char *_kwnames[] = { "self","self","_class", NULL };
2222
2223 self = self;
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
2225 return NULL;
2226 if (_argo0) {
2227 if (_argo0 == Py_None) { _arg0 = NULL; }
2228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2230 return NULL;
2231 }
2232 }
2233{
2234 _arg1 = _obj1;
2235}
2236{
2237 _arg2 = _obj2;
2238}
2239{
2240 wxPy_BEGIN_ALLOW_THREADS;
2241 wxPyGridCellEditor__setSelf(_arg0,_arg1,_arg2);
2242
2243 wxPy_END_ALLOW_THREADS;
2244} Py_INCREF(Py_None);
2245 _resultobj = Py_None;
2246 return _resultobj;
2247}
2248
2249#define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2250static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2251 PyObject * _resultobj;
2252 wxPyGridCellEditor * _arg0;
2253 wxRect * _arg1;
2254 PyObject * _argo0 = 0;
2255 wxRect temp;
2256 PyObject * _obj1 = 0;
2257 char *_kwnames[] = { "self","rect", NULL };
2258
2259 self = self;
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2261 return NULL;
2262 if (_argo0) {
2263 if (_argo0 == Py_None) { _arg0 = NULL; }
2264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2266 return NULL;
2267 }
2268 }
2269{
2270 _arg1 = &temp;
2271 if (! wxRect_helper(_obj1, &_arg1))
2272 return NULL;
2273}
2274{
2275 wxPy_BEGIN_ALLOW_THREADS;
2276 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2277
2278 wxPy_END_ALLOW_THREADS;
2279} Py_INCREF(Py_None);
2280 _resultobj = Py_None;
2281 return _resultobj;
2282}
2283
2284#define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2285static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject * _resultobj;
2287 wxPyGridCellEditor * _arg0;
2288 bool _arg1;
2289 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2290 PyObject * _argo0 = 0;
2291 int tempbool1;
2292 PyObject * _argo2 = 0;
2293 char *_kwnames[] = { "self","show","attr", NULL };
2294
2295 self = self;
2296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2297 return NULL;
2298 if (_argo0) {
2299 if (_argo0 == Py_None) { _arg0 = NULL; }
2300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2302 return NULL;
2303 }
2304 }
2305 _arg1 = (bool ) tempbool1;
2306 if (_argo2) {
2307 if (_argo2 == Py_None) { _arg2 = NULL; }
2308 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2309 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2310 return NULL;
2311 }
2312 }
2313{
2314 wxPy_BEGIN_ALLOW_THREADS;
2315 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2316
2317 wxPy_END_ALLOW_THREADS;
2318} Py_INCREF(Py_None);
2319 _resultobj = Py_None;
2320 return _resultobj;
2321}
2322
2323#define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2324static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject * _resultobj;
2326 wxPyGridCellEditor * _arg0;
2327 wxRect * _arg1;
2328 wxGridCellAttr * _arg2;
2329 PyObject * _argo0 = 0;
2330 wxRect temp;
2331 PyObject * _obj1 = 0;
2332 PyObject * _argo2 = 0;
2333 char *_kwnames[] = { "self","rectCell","attr", NULL };
2334
2335 self = self;
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2337 return NULL;
2338 if (_argo0) {
2339 if (_argo0 == Py_None) { _arg0 = NULL; }
2340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2342 return NULL;
2343 }
2344 }
2345{
2346 _arg1 = &temp;
2347 if (! wxRect_helper(_obj1, &_arg1))
2348 return NULL;
2349}
2350 if (_argo2) {
2351 if (_argo2 == Py_None) { _arg2 = NULL; }
2352 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2353 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2354 return NULL;
2355 }
2356 }
2357{
2358 wxPy_BEGIN_ALLOW_THREADS;
2359 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2360
2361 wxPy_END_ALLOW_THREADS;
2362} Py_INCREF(Py_None);
2363 _resultobj = Py_None;
2364 return _resultobj;
2365}
2366
2cd2fac8
RD
2367#define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2368static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2369 PyObject * _resultobj;
2370 wxPyGridCellEditor * _arg0;
2371 wxKeyEvent * _arg1;
2372 PyObject * _argo0 = 0;
2373 PyObject * _argo1 = 0;
2374 char *_kwnames[] = { "self","event", NULL };
2375
2376 self = self;
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2378 return NULL;
2379 if (_argo0) {
2380 if (_argo0 == Py_None) { _arg0 = NULL; }
2381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2383 return NULL;
2384 }
2385 }
2386 if (_argo1) {
2387 if (_argo1 == Py_None) { _arg1 = NULL; }
2388 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2389 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2390 return NULL;
2391 }
2392 }
2393{
2394 wxPy_BEGIN_ALLOW_THREADS;
2395 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2396
2397 wxPy_END_ALLOW_THREADS;
2398} Py_INCREF(Py_None);
2399 _resultobj = Py_None;
2400 return _resultobj;
2401}
2402
f6bcfd97
BP
2403#define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2404static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2405 PyObject * _resultobj;
2406 wxPyGridCellEditor * _arg0;
2407 wxKeyEvent * _arg1;
2408 PyObject * _argo0 = 0;
2409 PyObject * _argo1 = 0;
2410 char *_kwnames[] = { "self","event", NULL };
2411
2412 self = self;
2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2414 return NULL;
2415 if (_argo0) {
2416 if (_argo0 == Py_None) { _arg0 = NULL; }
2417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2419 return NULL;
2420 }
2421 }
2422 if (_argo1) {
2423 if (_argo1 == Py_None) { _arg1 = NULL; }
2424 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2425 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2426 return NULL;
2427 }
2428 }
2429{
2430 wxPy_BEGIN_ALLOW_THREADS;
2431 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2432
2433 wxPy_END_ALLOW_THREADS;
2434} Py_INCREF(Py_None);
2435 _resultobj = Py_None;
2436 return _resultobj;
2437}
2438
2439#define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2440static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject * _resultobj;
2442 wxPyGridCellEditor * _arg0;
2443 PyObject * _argo0 = 0;
2444 char *_kwnames[] = { "self", NULL };
2445
2446 self = self;
2447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2448 return NULL;
2449 if (_argo0) {
2450 if (_argo0 == Py_None) { _arg0 = NULL; }
2451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2453 return NULL;
2454 }
2455 }
2456{
2457 wxPy_BEGIN_ALLOW_THREADS;
2458 wxPyGridCellEditor_base_StartingClick(_arg0);
2459
2460 wxPy_END_ALLOW_THREADS;
2461} Py_INCREF(Py_None);
2462 _resultobj = Py_None;
2463 return _resultobj;
2464}
2465
2466#define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2467static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2468 PyObject * _resultobj;
2469 wxPyGridCellEditor * _arg0;
2470 wxKeyEvent * _arg1;
2471 PyObject * _argo0 = 0;
2472 PyObject * _argo1 = 0;
2473 char *_kwnames[] = { "self","event", NULL };
2474
2475 self = self;
2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2477 return NULL;
2478 if (_argo0) {
2479 if (_argo0 == Py_None) { _arg0 = NULL; }
2480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2482 return NULL;
2483 }
2484 }
2485 if (_argo1) {
2486 if (_argo1 == Py_None) { _arg1 = NULL; }
2487 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2488 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2489 return NULL;
2490 }
2491 }
2492{
2493 wxPy_BEGIN_ALLOW_THREADS;
2494 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2495
2496 wxPy_END_ALLOW_THREADS;
2497} Py_INCREF(Py_None);
2498 _resultobj = Py_None;
2499 return _resultobj;
2500}
2501
2502#define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2503static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2504 PyObject * _resultobj;
2505 wxPyGridCellEditor * _arg0;
2506 PyObject * _argo0 = 0;
2507 char *_kwnames[] = { "self", NULL };
2508
2509 self = self;
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2511 return NULL;
2512 if (_argo0) {
2513 if (_argo0 == Py_None) { _arg0 = NULL; }
2514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2516 return NULL;
2517 }
2518 }
2519{
2520 wxPy_BEGIN_ALLOW_THREADS;
2521 wxPyGridCellEditor_base_Destroy(_arg0);
2522
2523 wxPy_END_ALLOW_THREADS;
2524} Py_INCREF(Py_None);
2525 _resultobj = Py_None;
2526 return _resultobj;
2527}
2528
2529#define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2530static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2531 PyObject * _resultobj;
2532 wxPyGridCellEditor * _arg0;
2533 wxString * _arg1;
2534 PyObject * _argo0 = 0;
2535 PyObject * _obj1 = 0;
2536 char *_kwnames[] = { "self","params", NULL };
2537
2538 self = self;
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2540 return NULL;
2541 if (_argo0) {
2542 if (_argo0 == Py_None) { _arg0 = NULL; }
2543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2545 return NULL;
2546 }
2547 }
2548{
2cd2fac8
RD
2549#if PYTHON_API_VERSION >= 1009
2550 char* tmpPtr; int tmpSize;
2551 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2552 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
2553 return NULL;
2554 }
2555 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2556 return NULL;
2557 _arg1 = new wxString(tmpPtr, tmpSize);
2558#else
f6bcfd97
BP
2559 if (!PyString_Check(_obj1)) {
2560 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2561 return NULL;
2562 }
2cd2fac8
RD
2563 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2564#endif
f6bcfd97
BP
2565}
2566{
2567 wxPy_BEGIN_ALLOW_THREADS;
2568 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2569
2570 wxPy_END_ALLOW_THREADS;
2571} Py_INCREF(Py_None);
2572 _resultobj = Py_None;
2573{
2574 if (_obj1)
2575 delete _arg1;
2576}
2577 return _resultobj;
2578}
2579
2580static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2581 wxGridCellTextEditor *src;
2582 wxGridCellEditor *dest;
2583 src = (wxGridCellTextEditor *) ptr;
2584 dest = (wxGridCellEditor *) src;
2585 return (void *) dest;
2586}
2587
2588#define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2589static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2590 PyObject * _resultobj;
2591 wxGridCellTextEditor * _result;
2592 char *_kwnames[] = { NULL };
2593 char _ptemp[128];
2594
2595 self = self;
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2597 return NULL;
2598{
2599 wxPy_BEGIN_ALLOW_THREADS;
2600 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2601
2602 wxPy_END_ALLOW_THREADS;
2603} if (_result) {
2604 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2605 _resultobj = Py_BuildValue("s",_ptemp);
2606 } else {
2607 Py_INCREF(Py_None);
2608 _resultobj = Py_None;
2609 }
2610 return _resultobj;
2611}
2612
2613static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2614 wxGridCellNumberEditor *src;
2615 wxGridCellTextEditor *dest;
2616 src = (wxGridCellNumberEditor *) ptr;
2617 dest = (wxGridCellTextEditor *) src;
2618 return (void *) dest;
2619}
2620
2621static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2622 wxGridCellNumberEditor *src;
2623 wxGridCellEditor *dest;
2624 src = (wxGridCellNumberEditor *) ptr;
2625 dest = (wxGridCellEditor *) src;
2626 return (void *) dest;
2627}
2628
2629#define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2630static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2631 PyObject * _resultobj;
2632 wxGridCellNumberEditor * _result;
2633 int _arg0 = (int ) -1;
2634 int _arg1 = (int ) -1;
2635 char *_kwnames[] = { "min","max", NULL };
2636 char _ptemp[128];
2637
2638 self = self;
2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2640 return NULL;
2641{
2642 wxPy_BEGIN_ALLOW_THREADS;
2643 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2644
2645 wxPy_END_ALLOW_THREADS;
2646} if (_result) {
2647 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2648 _resultobj = Py_BuildValue("s",_ptemp);
2649 } else {
2650 Py_INCREF(Py_None);
2651 _resultobj = Py_None;
2652 }
2653 return _resultobj;
2654}
2655
2656static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2657 wxGridCellFloatEditor *src;
2658 wxGridCellTextEditor *dest;
2659 src = (wxGridCellFloatEditor *) ptr;
2660 dest = (wxGridCellTextEditor *) src;
2661 return (void *) dest;
2662}
2663
2664static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2665 wxGridCellFloatEditor *src;
2666 wxGridCellEditor *dest;
2667 src = (wxGridCellFloatEditor *) ptr;
2668 dest = (wxGridCellEditor *) src;
2669 return (void *) dest;
2670}
2671
2672#define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2673static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject * _resultobj;
2675 wxGridCellFloatEditor * _result;
2676 char *_kwnames[] = { NULL };
2677 char _ptemp[128];
2678
2679 self = self;
2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2681 return NULL;
2682{
2683 wxPy_BEGIN_ALLOW_THREADS;
2684 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2685
2686 wxPy_END_ALLOW_THREADS;
2687} if (_result) {
2688 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2689 _resultobj = Py_BuildValue("s",_ptemp);
2690 } else {
2691 Py_INCREF(Py_None);
2692 _resultobj = Py_None;
2693 }
2694 return _resultobj;
2695}
2696
2697static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2698 wxGridCellBoolEditor *src;
2699 wxGridCellEditor *dest;
2700 src = (wxGridCellBoolEditor *) ptr;
2701 dest = (wxGridCellEditor *) src;
2702 return (void *) dest;
2703}
2704
2705#define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2706static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2707 PyObject * _resultobj;
2708 wxGridCellBoolEditor * _result;
2709 char *_kwnames[] = { NULL };
2710 char _ptemp[128];
2711
2712 self = self;
2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2714 return NULL;
2715{
2716 wxPy_BEGIN_ALLOW_THREADS;
2717 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2718
2719 wxPy_END_ALLOW_THREADS;
2720} if (_result) {
2721 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2722 _resultobj = Py_BuildValue("s",_ptemp);
2723 } else {
2724 Py_INCREF(Py_None);
2725 _resultobj = Py_None;
2726 }
2727 return _resultobj;
2728}
2729
2730static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2731 wxGridCellChoiceEditor *src;
2732 wxGridCellEditor *dest;
2733 src = (wxGridCellChoiceEditor *) ptr;
2734 dest = (wxGridCellEditor *) src;
2735 return (void *) dest;
2736}
2737
2738#define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2739static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2740 PyObject * _resultobj;
2741 wxGridCellChoiceEditor * _result;
2742 int _arg0 = (int ) 0;
2743 wxString * _arg1 = (wxString *) NULL;
2744 bool _arg2 = (bool ) FALSE;
2745 PyObject * _obj1 = 0;
2746 int tempbool2 = (int) FALSE;
2747 char *_kwnames[] = { "choices","allowOthers", NULL };
2748 char _ptemp[128];
2749
2750 self = self;
2751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2752 return NULL;
2753 if (_obj1)
2754{
2755 _arg1 = wxString_LIST_helper(_obj1);
2756 if (_arg1 == NULL) {
2757 return NULL;
2758 }
2759}
2760 _arg2 = (bool ) tempbool2;
2761{
2762 if (_obj1) {
2763 _arg0 = PyList_Size(_obj1);
2764 }
2765 else {
2766 _arg0 = 0;
2767 }
2768}
2769{
2770 wxPy_BEGIN_ALLOW_THREADS;
2771 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2772
2773 wxPy_END_ALLOW_THREADS;
2774} if (_result) {
2775 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2776 _resultobj = Py_BuildValue("s",_ptemp);
2777 } else {
2778 Py_INCREF(Py_None);
2779 _resultobj = Py_None;
2780 }
2781{
2782 delete [] _arg1;
2783}
2784 return _resultobj;
2785}
2786
2787#define new_wxGridCellAttr() (new wxGridCellAttr())
2788static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject * _resultobj;
2790 wxGridCellAttr * _result;
2791 char *_kwnames[] = { NULL };
2792 char _ptemp[128];
2793
2794 self = self;
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttr",_kwnames))
2796 return NULL;
2797{
2798 wxPy_BEGIN_ALLOW_THREADS;
2799 _result = (wxGridCellAttr *)new_wxGridCellAttr();
2800
2801 wxPy_END_ALLOW_THREADS;
2802} if (_result) {
2803 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2804 _resultobj = Py_BuildValue("s",_ptemp);
2805 } else {
2806 Py_INCREF(Py_None);
2807 _resultobj = Py_None;
2808 }
2809 return _resultobj;
2810}
2811
2812#define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2813static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2814 PyObject * _resultobj;
2815 wxGridCellAttr * _result;
2816 wxGridCellAttr * _arg0;
2817 PyObject * _argo0 = 0;
2818 char *_kwnames[] = { "self", NULL };
2819 char _ptemp[128];
2820
2821 self = self;
2822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
2823 return NULL;
2824 if (_argo0) {
2825 if (_argo0 == Py_None) { _arg0 = NULL; }
2826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2828 return NULL;
2829 }
2830 }
2831{
2832 wxPy_BEGIN_ALLOW_THREADS;
2833 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
2834
2835 wxPy_END_ALLOW_THREADS;
2836} if (_result) {
2837 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2838 _resultobj = Py_BuildValue("s",_ptemp);
2839 } else {
2840 Py_INCREF(Py_None);
2841 _resultobj = Py_None;
2842 }
2843 return _resultobj;
2844}
2845
2846#define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2847static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2848 PyObject * _resultobj;
2849 wxGridCellAttr * _arg0;
2850 PyObject * _argo0 = 0;
2851 char *_kwnames[] = { "self", NULL };
2852
2853 self = self;
2854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
2855 return NULL;
2856 if (_argo0) {
2857 if (_argo0 == Py_None) { _arg0 = NULL; }
2858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2860 return NULL;
2861 }
2862 }
2863{
2864 wxPy_BEGIN_ALLOW_THREADS;
2865 wxGridCellAttr_IncRef(_arg0);
2866
2867 wxPy_END_ALLOW_THREADS;
2868} Py_INCREF(Py_None);
2869 _resultobj = Py_None;
2870 return _resultobj;
2871}
2872
2873#define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2874static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2875 PyObject * _resultobj;
2876 wxGridCellAttr * _arg0;
2877 PyObject * _argo0 = 0;
2878 char *_kwnames[] = { "self", NULL };
2879
2880 self = self;
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
2882 return NULL;
2883 if (_argo0) {
2884 if (_argo0 == Py_None) { _arg0 = NULL; }
2885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2887 return NULL;
2888 }
2889 }
2890{
2891 wxPy_BEGIN_ALLOW_THREADS;
2892 wxGridCellAttr_DecRef(_arg0);
2893
2894 wxPy_END_ALLOW_THREADS;
2895} Py_INCREF(Py_None);
2896 _resultobj = Py_None;
2897 return _resultobj;
2898}
2899
2900#define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2901static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2902 PyObject * _resultobj;
2903 wxGridCellAttr * _arg0;
2904 wxColour * _arg1;
2905 PyObject * _argo0 = 0;
2906 wxColour temp;
2907 PyObject * _obj1 = 0;
2908 char *_kwnames[] = { "self","colText", NULL };
2909
2910 self = self;
2911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
2912 return NULL;
2913 if (_argo0) {
2914 if (_argo0 == Py_None) { _arg0 = NULL; }
2915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2917 return NULL;
2918 }
2919 }
2920{
2921 _arg1 = &temp;
2922 if (! wxColour_helper(_obj1, &_arg1))
2923 return NULL;
2924}
2925{
2926 wxPy_BEGIN_ALLOW_THREADS;
2927 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
2928
2929 wxPy_END_ALLOW_THREADS;
2930} Py_INCREF(Py_None);
2931 _resultobj = Py_None;
2932 return _resultobj;
2933}
2934
2935#define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2936static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2937 PyObject * _resultobj;
2938 wxGridCellAttr * _arg0;
2939 wxColour * _arg1;
2940 PyObject * _argo0 = 0;
2941 wxColour temp;
2942 PyObject * _obj1 = 0;
2943 char *_kwnames[] = { "self","colBack", NULL };
2944
2945 self = self;
2946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
2947 return NULL;
2948 if (_argo0) {
2949 if (_argo0 == Py_None) { _arg0 = NULL; }
2950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2952 return NULL;
2953 }
2954 }
2955{
2956 _arg1 = &temp;
2957 if (! wxColour_helper(_obj1, &_arg1))
2958 return NULL;
2959}
2960{
2961 wxPy_BEGIN_ALLOW_THREADS;
2962 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
2963
2964 wxPy_END_ALLOW_THREADS;
2965} Py_INCREF(Py_None);
2966 _resultobj = Py_None;
2967 return _resultobj;
2968}
2969
2970#define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2971static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject * _resultobj;
2973 wxGridCellAttr * _arg0;
2974 wxFont * _arg1;
2975 PyObject * _argo0 = 0;
2976 PyObject * _argo1 = 0;
2977 char *_kwnames[] = { "self","font", NULL };
2978
2979 self = self;
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
2981 return NULL;
2982 if (_argo0) {
2983 if (_argo0 == Py_None) { _arg0 = NULL; }
2984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
2986 return NULL;
2987 }
2988 }
2989 if (_argo1) {
2990 if (_argo1 == Py_None) { _arg1 = NULL; }
2991 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2992 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
2993 return NULL;
2994 }
2995 }
2996{
2997 wxPy_BEGIN_ALLOW_THREADS;
2998 wxGridCellAttr_SetFont(_arg0,*_arg1);
2999
3000 wxPy_END_ALLOW_THREADS;
3001} Py_INCREF(Py_None);
3002 _resultobj = Py_None;
3003 return _resultobj;
3004}
3005
3006#define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3007static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3008 PyObject * _resultobj;
3009 wxGridCellAttr * _arg0;
3010 int _arg1;
3011 int _arg2;
3012 PyObject * _argo0 = 0;
3013 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3014
3015 self = self;
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3017 return NULL;
3018 if (_argo0) {
3019 if (_argo0 == Py_None) { _arg0 = NULL; }
3020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3022 return NULL;
3023 }
3024 }
3025{
3026 wxPy_BEGIN_ALLOW_THREADS;
3027 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3028
3029 wxPy_END_ALLOW_THREADS;
3030} Py_INCREF(Py_None);
3031 _resultobj = Py_None;
3032 return _resultobj;
3033}
3034
3035#define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3036static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3037 PyObject * _resultobj;
3038 wxGridCellAttr * _arg0;
3039 bool _arg1 = (bool ) TRUE;
3040 PyObject * _argo0 = 0;
3041 int tempbool1 = (int) TRUE;
3042 char *_kwnames[] = { "self","isReadOnly", NULL };
3043
3044 self = self;
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3046 return NULL;
3047 if (_argo0) {
3048 if (_argo0 == Py_None) { _arg0 = NULL; }
3049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3051 return NULL;
3052 }
3053 }
3054 _arg1 = (bool ) tempbool1;
3055{
3056 wxPy_BEGIN_ALLOW_THREADS;
3057 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3058
3059 wxPy_END_ALLOW_THREADS;
3060} Py_INCREF(Py_None);
3061 _resultobj = Py_None;
3062 return _resultobj;
3063}
3064
3065#define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3066static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3067 PyObject * _resultobj;
3068 wxGridCellAttr * _arg0;
3069 wxGridCellRenderer * _arg1;
3070 PyObject * _argo0 = 0;
3071 PyObject * _argo1 = 0;
3072 char *_kwnames[] = { "self","renderer", NULL };
3073
3074 self = self;
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3076 return NULL;
3077 if (_argo0) {
3078 if (_argo0 == Py_None) { _arg0 = NULL; }
3079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3081 return NULL;
3082 }
3083 }
3084 if (_argo1) {
3085 if (_argo1 == Py_None) { _arg1 = NULL; }
3086 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3087 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3088 return NULL;
3089 }
3090 }
3091{
3092 wxPy_BEGIN_ALLOW_THREADS;
3093 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3094
3095 wxPy_END_ALLOW_THREADS;
3096} Py_INCREF(Py_None);
3097 _resultobj = Py_None;
3098 return _resultobj;
3099}
3100
3101#define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3102static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3103 PyObject * _resultobj;
3104 wxGridCellAttr * _arg0;
3105 wxGridCellEditor * _arg1;
3106 PyObject * _argo0 = 0;
3107 PyObject * _argo1 = 0;
3108 char *_kwnames[] = { "self","editor", NULL };
3109
3110 self = self;
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3112 return NULL;
3113 if (_argo0) {
3114 if (_argo0 == Py_None) { _arg0 = NULL; }
3115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3117 return NULL;
3118 }
3119 }
3120 if (_argo1) {
3121 if (_argo1 == Py_None) { _arg1 = NULL; }
3122 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3123 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3124 return NULL;
3125 }
3126 }
3127{
3128 wxPy_BEGIN_ALLOW_THREADS;
3129 wxGridCellAttr_SetEditor(_arg0,_arg1);
3130
3131 wxPy_END_ALLOW_THREADS;
3132} Py_INCREF(Py_None);
3133 _resultobj = Py_None;
3134 return _resultobj;
3135}
3136
3137#define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3138static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3139 PyObject * _resultobj;
3140 bool _result;
3141 wxGridCellAttr * _arg0;
3142 PyObject * _argo0 = 0;
3143 char *_kwnames[] = { "self", NULL };
3144
3145 self = self;
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3147 return NULL;
3148 if (_argo0) {
3149 if (_argo0 == Py_None) { _arg0 = NULL; }
3150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3152 return NULL;
3153 }
3154 }
3155{
3156 wxPy_BEGIN_ALLOW_THREADS;
3157 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3158
3159 wxPy_END_ALLOW_THREADS;
3160} _resultobj = Py_BuildValue("i",_result);
3161 return _resultobj;
3162}
3163
3164#define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3165static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3166 PyObject * _resultobj;
3167 bool _result;
3168 wxGridCellAttr * _arg0;
3169 PyObject * _argo0 = 0;
3170 char *_kwnames[] = { "self", NULL };
3171
3172 self = self;
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3174 return NULL;
3175 if (_argo0) {
3176 if (_argo0 == Py_None) { _arg0 = NULL; }
3177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3179 return NULL;
3180 }
3181 }
3182{
3183 wxPy_BEGIN_ALLOW_THREADS;
3184 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3185
3186 wxPy_END_ALLOW_THREADS;
3187} _resultobj = Py_BuildValue("i",_result);
3188 return _resultobj;
3189}
3190
3191#define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3192static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject * _resultobj;
3194 bool _result;
3195 wxGridCellAttr * _arg0;
3196 PyObject * _argo0 = 0;
3197 char *_kwnames[] = { "self", NULL };
3198
3199 self = self;
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3201 return NULL;
3202 if (_argo0) {
3203 if (_argo0 == Py_None) { _arg0 = NULL; }
3204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3206 return NULL;
3207 }
3208 }
3209{
3210 wxPy_BEGIN_ALLOW_THREADS;
3211 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3212
3213 wxPy_END_ALLOW_THREADS;
3214} _resultobj = Py_BuildValue("i",_result);
3215 return _resultobj;
3216}
3217
3218#define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3219static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3220 PyObject * _resultobj;
3221 bool _result;
3222 wxGridCellAttr * _arg0;
3223 PyObject * _argo0 = 0;
3224 char *_kwnames[] = { "self", NULL };
3225
3226 self = self;
3227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3228 return NULL;
3229 if (_argo0) {
3230 if (_argo0 == Py_None) { _arg0 = NULL; }
3231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3233 return NULL;
3234 }
3235 }
3236{
3237 wxPy_BEGIN_ALLOW_THREADS;
3238 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3239
3240 wxPy_END_ALLOW_THREADS;
3241} _resultobj = Py_BuildValue("i",_result);
3242 return _resultobj;
3243}
3244
3245#define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3246static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject * _resultobj;
3248 bool _result;
3249 wxGridCellAttr * _arg0;
3250 PyObject * _argo0 = 0;
3251 char *_kwnames[] = { "self", NULL };
3252
3253 self = self;
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3255 return NULL;
3256 if (_argo0) {
3257 if (_argo0 == Py_None) { _arg0 = NULL; }
3258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3260 return NULL;
3261 }
3262 }
3263{
3264 wxPy_BEGIN_ALLOW_THREADS;
3265 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3266
3267 wxPy_END_ALLOW_THREADS;
3268} _resultobj = Py_BuildValue("i",_result);
3269 return _resultobj;
3270}
3271
3272#define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3273static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject * _resultobj;
3275 bool _result;
3276 wxGridCellAttr * _arg0;
3277 PyObject * _argo0 = 0;
3278 char *_kwnames[] = { "self", NULL };
3279
3280 self = self;
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3282 return NULL;
3283 if (_argo0) {
3284 if (_argo0 == Py_None) { _arg0 = NULL; }
3285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3287 return NULL;
3288 }
3289 }
3290{
3291 wxPy_BEGIN_ALLOW_THREADS;
3292 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3293
3294 wxPy_END_ALLOW_THREADS;
3295} _resultobj = Py_BuildValue("i",_result);
3296 return _resultobj;
3297}
3298
3299#define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3300static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3301 PyObject * _resultobj;
3302 wxColour * _result;
3303 wxGridCellAttr * _arg0;
3304 PyObject * _argo0 = 0;
3305 char *_kwnames[] = { "self", NULL };
3306 char _ptemp[128];
3307
3308 self = self;
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3310 return NULL;
3311 if (_argo0) {
3312 if (_argo0 == Py_None) { _arg0 = NULL; }
3313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3315 return NULL;
3316 }
3317 }
3318{
3319 wxPy_BEGIN_ALLOW_THREADS;
3320 const wxColour & _result_ref = wxGridCellAttr_GetTextColour(_arg0);
3321 _result = (wxColour *) &_result_ref;
3322
3323 wxPy_END_ALLOW_THREADS;
3324} if (_result) {
3325 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3326 _resultobj = Py_BuildValue("s",_ptemp);
3327 } else {
3328 Py_INCREF(Py_None);
3329 _resultobj = Py_None;
3330 }
3331 return _resultobj;
3332}
3333
3334#define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3335static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3336 PyObject * _resultobj;
3337 wxColour * _result;
3338 wxGridCellAttr * _arg0;
3339 PyObject * _argo0 = 0;
3340 char *_kwnames[] = { "self", NULL };
3341 char _ptemp[128];
3342
3343 self = self;
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3345 return NULL;
3346 if (_argo0) {
3347 if (_argo0 == Py_None) { _arg0 = NULL; }
3348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3350 return NULL;
3351 }
3352 }
3353{
3354 wxPy_BEGIN_ALLOW_THREADS;
3355 const wxColour & _result_ref = wxGridCellAttr_GetBackgroundColour(_arg0);
3356 _result = (wxColour *) &_result_ref;
3357
3358 wxPy_END_ALLOW_THREADS;
3359} if (_result) {
3360 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3361 _resultobj = Py_BuildValue("s",_ptemp);
3362 } else {
3363 Py_INCREF(Py_None);
3364 _resultobj = Py_None;
3365 }
3366 return _resultobj;
3367}
3368
3369#define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3370static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3371 PyObject * _resultobj;
3372 wxFont * _result;
3373 wxGridCellAttr * _arg0;
3374 PyObject * _argo0 = 0;
3375 char *_kwnames[] = { "self", NULL };
3376 char _ptemp[128];
3377
3378 self = self;
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3380 return NULL;
3381 if (_argo0) {
3382 if (_argo0 == Py_None) { _arg0 = NULL; }
3383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3385 return NULL;
3386 }
3387 }
3388{
3389 wxPy_BEGIN_ALLOW_THREADS;
3390 const wxFont & _result_ref = wxGridCellAttr_GetFont(_arg0);
3391 _result = (wxFont *) &_result_ref;
3392
3393 wxPy_END_ALLOW_THREADS;
3394} if (_result) {
3395 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3396 _resultobj = Py_BuildValue("s",_ptemp);
3397 } else {
3398 Py_INCREF(Py_None);
3399 _resultobj = Py_None;
3400 }
3401 return _resultobj;
3402}
3403
3404#define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3405static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject * _resultobj;
3407 wxGridCellAttr * _arg0;
3408 int * _arg1;
3409 int temp;
3410 int * _arg2;
3411 int temp0;
3412 PyObject * _argo0 = 0;
3413 char *_kwnames[] = { "self", NULL };
3414
3415 self = self;
3416{
3417 _arg1 = &temp;
3418}
3419{
3420 _arg2 = &temp0;
3421}
3422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3423 return NULL;
3424 if (_argo0) {
3425 if (_argo0 == Py_None) { _arg0 = NULL; }
3426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3428 return NULL;
3429 }
3430 }
3431{
3432 wxPy_BEGIN_ALLOW_THREADS;
3433 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3434
3435 wxPy_END_ALLOW_THREADS;
3436} Py_INCREF(Py_None);
3437 _resultobj = Py_None;
3438{
3439 PyObject *o;
3440 o = PyInt_FromLong((long) (*_arg1));
3441 _resultobj = t_output_helper(_resultobj, o);
3442}
3443{
3444 PyObject *o;
3445 o = PyInt_FromLong((long) (*_arg2));
3446 _resultobj = t_output_helper(_resultobj, o);
3447}
3448 return _resultobj;
3449}
3450
3451#define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3452static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject * _resultobj;
3454 wxGridCellRenderer * _result;
3455 wxGridCellAttr * _arg0;
3456 wxGrid * _arg1;
3457 int _arg2;
3458 int _arg3;
3459 PyObject * _argo0 = 0;
3460 PyObject * _argo1 = 0;
3461 char *_kwnames[] = { "self","grid","row","col", NULL };
3462 char _ptemp[128];
3463
3464 self = self;
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3466 return NULL;
3467 if (_argo0) {
3468 if (_argo0 == Py_None) { _arg0 = NULL; }
3469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3471 return NULL;
3472 }
3473 }
3474 if (_argo1) {
3475 if (_argo1 == Py_None) { _arg1 = NULL; }
3476 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3477 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3478 return NULL;
3479 }
3480 }
3481{
3482 wxPy_BEGIN_ALLOW_THREADS;
3483 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3484
3485 wxPy_END_ALLOW_THREADS;
3486} if (_result) {
3487 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3488 _resultobj = Py_BuildValue("s",_ptemp);
3489 } else {
3490 Py_INCREF(Py_None);
3491 _resultobj = Py_None;
3492 }
3493 return _resultobj;
3494}
3495
3496#define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3497static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3498 PyObject * _resultobj;
3499 wxGridCellEditor * _result;
3500 wxGridCellAttr * _arg0;
3501 wxGrid * _arg1;
3502 int _arg2;
3503 int _arg3;
3504 PyObject * _argo0 = 0;
3505 PyObject * _argo1 = 0;
3506 char *_kwnames[] = { "self","grid","row","col", NULL };
3507 char _ptemp[128];
3508
3509 self = self;
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
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_GetEditor. Expected _wxGridCellAttr_p.");
3516 return NULL;
3517 }
3518 }
3519 if (_argo1) {
3520 if (_argo1 == Py_None) { _arg1 = NULL; }
3521 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3522 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3523 return NULL;
3524 }
3525 }
3526{
3527 wxPy_BEGIN_ALLOW_THREADS;
3528 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3529
3530 wxPy_END_ALLOW_THREADS;
3531} if (_result) {
3532 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3533 _resultobj = Py_BuildValue("s",_ptemp);
3534 } else {
3535 Py_INCREF(Py_None);
3536 _resultobj = Py_None;
3537 }
3538 return _resultobj;
3539}
3540
3541#define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3542static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject * _resultobj;
3544 bool _result;
3545 wxGridCellAttr * _arg0;
3546 PyObject * _argo0 = 0;
3547 char *_kwnames[] = { "self", NULL };
3548
3549 self = self;
3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3551 return NULL;
3552 if (_argo0) {
3553 if (_argo0 == Py_None) { _arg0 = NULL; }
3554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3556 return NULL;
3557 }
3558 }
3559{
3560 wxPy_BEGIN_ALLOW_THREADS;
3561 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3562
3563 wxPy_END_ALLOW_THREADS;
3564} _resultobj = Py_BuildValue("i",_result);
3565 return _resultobj;
3566}
3567
3568#define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3569static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject * _resultobj;
3571 wxGridCellAttr * _arg0;
3572 wxGridCellAttr * _arg1;
3573 PyObject * _argo0 = 0;
3574 PyObject * _argo1 = 0;
3575 char *_kwnames[] = { "self","defAttr", NULL };
3576
3577 self = self;
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3579 return NULL;
3580 if (_argo0) {
3581 if (_argo0 == Py_None) { _arg0 = NULL; }
3582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3584 return NULL;
3585 }
3586 }
3587 if (_argo1) {
3588 if (_argo1 == Py_None) { _arg1 = NULL; }
3589 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3590 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3591 return NULL;
3592 }
3593 }
3594{
3595 wxPy_BEGIN_ALLOW_THREADS;
3596 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3597
3598 wxPy_END_ALLOW_THREADS;
3599} Py_INCREF(Py_None);
3600 _resultobj = Py_None;
3601 return _resultobj;
3602}
3603
3604#define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3605static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3606 PyObject * _resultobj;
3607 wxGridCellAttrProvider * _result;
3608 char *_kwnames[] = { NULL };
3609 char _ptemp[128];
3610
3611 self = self;
3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3613 return NULL;
3614{
3615 wxPy_BEGIN_ALLOW_THREADS;
3616 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3617
3618 wxPy_END_ALLOW_THREADS;
3619} if (_result) {
3620 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_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 wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
3630static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3631 PyObject * _resultobj;
3632 wxGridCellAttr * _result;
3633 wxGridCellAttrProvider * _arg0;
3634 int _arg1;
3635 int _arg2;
3636 PyObject * _argo0 = 0;
3637 char *_kwnames[] = { "self","row","col", NULL };
3638 char _ptemp[128];
3639
3640 self = self;
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3642 return NULL;
3643 if (_argo0) {
3644 if (_argo0 == Py_None) { _arg0 = NULL; }
3645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3647 return NULL;
3648 }
3649 }
3650{
3651 wxPy_BEGIN_ALLOW_THREADS;
3652 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2);
3653
3654 wxPy_END_ALLOW_THREADS;
3655} if (_result) {
3656 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3657 _resultobj = Py_BuildValue("s",_ptemp);
3658 } else {
3659 Py_INCREF(Py_None);
3660 _resultobj = Py_None;
3661 }
3662 return _resultobj;
3663}
3664
3665#define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3666static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3667 PyObject * _resultobj;
3668 wxGridCellAttrProvider * _arg0;
3669 wxGridCellAttr * _arg1;
3670 int _arg2;
3671 int _arg3;
3672 PyObject * _argo0 = 0;
3673 PyObject * _argo1 = 0;
3674 char *_kwnames[] = { "self","attr","row","col", NULL };
3675
3676 self = self;
3677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3678 return NULL;
3679 if (_argo0) {
3680 if (_argo0 == Py_None) { _arg0 = NULL; }
3681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3683 return NULL;
3684 }
3685 }
3686 if (_argo1) {
3687 if (_argo1 == Py_None) { _arg1 = NULL; }
3688 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3689 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3690 return NULL;
3691 }
3692 }
3693{
3694 wxPy_BEGIN_ALLOW_THREADS;
3695 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
3696
3697 wxPy_END_ALLOW_THREADS;
3698} Py_INCREF(Py_None);
3699 _resultobj = Py_None;
3700 return _resultobj;
3701}
3702
3703#define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3704static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3705 PyObject * _resultobj;
3706 wxGridCellAttrProvider * _arg0;
3707 wxGridCellAttr * _arg1;
3708 int _arg2;
3709 PyObject * _argo0 = 0;
3710 PyObject * _argo1 = 0;
3711 char *_kwnames[] = { "self","attr","row", NULL };
3712
3713 self = self;
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3715 return NULL;
3716 if (_argo0) {
3717 if (_argo0 == Py_None) { _arg0 = NULL; }
3718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3720 return NULL;
3721 }
3722 }
3723 if (_argo1) {
3724 if (_argo1 == Py_None) { _arg1 = NULL; }
3725 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3726 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3727 return NULL;
3728 }
3729 }
3730{
3731 wxPy_BEGIN_ALLOW_THREADS;
3732 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
3733
3734 wxPy_END_ALLOW_THREADS;
3735} Py_INCREF(Py_None);
3736 _resultobj = Py_None;
3737 return _resultobj;
3738}
3739
3740#define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3741static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3742 PyObject * _resultobj;
3743 wxGridCellAttrProvider * _arg0;
3744 wxGridCellAttr * _arg1;
3745 int _arg2;
3746 PyObject * _argo0 = 0;
3747 PyObject * _argo1 = 0;
3748 char *_kwnames[] = { "self","attr","col", NULL };
3749
3750 self = self;
3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3752 return NULL;
3753 if (_argo0) {
3754 if (_argo0 == Py_None) { _arg0 = NULL; }
3755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3757 return NULL;
3758 }
3759 }
3760 if (_argo1) {
3761 if (_argo1 == Py_None) { _arg1 = NULL; }
3762 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3763 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3764 return NULL;
3765 }
3766 }
3767{
3768 wxPy_BEGIN_ALLOW_THREADS;
3769 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
3770
3771 wxPy_END_ALLOW_THREADS;
3772} Py_INCREF(Py_None);
3773 _resultobj = Py_None;
3774 return _resultobj;
3775}
3776
3777#define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3778static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3779 PyObject * _resultobj;
3780 wxGridCellAttrProvider * _arg0;
3781 size_t _arg1;
3782 int _arg2;
3783 PyObject * _argo0 = 0;
3784 char *_kwnames[] = { "self","pos","numRows", NULL };
3785
3786 self = self;
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
3788 return NULL;
3789 if (_argo0) {
3790 if (_argo0 == Py_None) { _arg0 = NULL; }
3791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3793 return NULL;
3794 }
3795 }
3796{
3797 wxPy_BEGIN_ALLOW_THREADS;
3798 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
3799
3800 wxPy_END_ALLOW_THREADS;
3801} Py_INCREF(Py_None);
3802 _resultobj = Py_None;
3803 return _resultobj;
3804}
3805
3806#define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3807static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject * _resultobj;
3809 wxGridCellAttrProvider * _arg0;
3810 size_t _arg1;
3811 int _arg2;
3812 PyObject * _argo0 = 0;
3813 char *_kwnames[] = { "self","pos","numCols", NULL };
3814
3815 self = self;
3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
3817 return NULL;
3818 if (_argo0) {
3819 if (_argo0 == Py_None) { _arg0 = NULL; }
3820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3822 return NULL;
3823 }
3824 }
3825{
3826 wxPy_BEGIN_ALLOW_THREADS;
3827 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
3828
3829 wxPy_END_ALLOW_THREADS;
3830} Py_INCREF(Py_None);
3831 _resultobj = Py_None;
3832 return _resultobj;
3833}
3834
3835static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
3836 wxPyGridCellAttrProvider *src;
3837 wxGridCellAttrProvider *dest;
3838 src = (wxPyGridCellAttrProvider *) ptr;
3839 dest = (wxGridCellAttrProvider *) src;
3840 return (void *) dest;
3841}
3842
3843#define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3844static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3845 PyObject * _resultobj;
3846 wxPyGridCellAttrProvider * _result;
3847 char *_kwnames[] = { NULL };
3848 char _ptemp[128];
3849
3850 self = self;
3851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
3852 return NULL;
3853{
3854 wxPy_BEGIN_ALLOW_THREADS;
3855 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
3856
3857 wxPy_END_ALLOW_THREADS;
3858} if (_result) {
3859 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
3860 _resultobj = Py_BuildValue("s",_ptemp);
3861 } else {
3862 Py_INCREF(Py_None);
3863 _resultobj = Py_None;
3864 }
3865 return _resultobj;
3866}
3867
3868#define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3869static PyObject *_wrap_wxPyGridCellAttrProvider__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
3870 PyObject * _resultobj;
3871 wxPyGridCellAttrProvider * _arg0;
3872 PyObject * _arg1;
3873 PyObject * _arg2;
3874 PyObject * _argo0 = 0;
3875 PyObject * _obj1 = 0;
3876 PyObject * _obj2 = 0;
3877 char *_kwnames[] = { "self","self","_class", NULL };
3878
3879 self = self;
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
3881 return NULL;
3882 if (_argo0) {
3883 if (_argo0 == Py_None) { _arg0 = NULL; }
3884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3886 return NULL;
3887 }
3888 }
3889{
3890 _arg1 = _obj1;
3891}
3892{
3893 _arg2 = _obj2;
3894}
3895{
3896 wxPy_BEGIN_ALLOW_THREADS;
3897 wxPyGridCellAttrProvider__setSelf(_arg0,_arg1,_arg2);
3898
3899 wxPy_END_ALLOW_THREADS;
3900} Py_INCREF(Py_None);
3901 _resultobj = Py_None;
3902 return _resultobj;
3903}
3904
3905#define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
3906static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3907 PyObject * _resultobj;
3908 wxGridCellAttr * _result;
3909 wxPyGridCellAttrProvider * _arg0;
3910 int _arg1;
3911 int _arg2;
3912 PyObject * _argo0 = 0;
3913 char *_kwnames[] = { "self","row","col", NULL };
3914 char _ptemp[128];
3915
3916 self = self;
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3918 return NULL;
3919 if (_argo0) {
3920 if (_argo0 == Py_None) { _arg0 = NULL; }
3921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
3923 return NULL;
3924 }
3925 }
3926{
3927 wxPy_BEGIN_ALLOW_THREADS;
3928 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2);
3929
3930 wxPy_END_ALLOW_THREADS;
3931} if (_result) {
3932 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3933 _resultobj = Py_BuildValue("s",_ptemp);
3934 } else {
3935 Py_INCREF(Py_None);
3936 _resultobj = Py_None;
3937 }
3938 return _resultobj;
3939}
3940
3941#define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
3942static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3943 PyObject * _resultobj;
3944 wxPyGridCellAttrProvider * _arg0;
3945 wxGridCellAttr * _arg1;
3946 int _arg2;
3947 int _arg3;
3948 PyObject * _argo0 = 0;
3949 PyObject * _argo1 = 0;
3950 char *_kwnames[] = { "self","attr","row","col", NULL };
3951
3952 self = self;
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3954 return NULL;
3955 if (_argo0) {
3956 if (_argo0 == Py_None) { _arg0 = NULL; }
3957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
3959 return NULL;
3960 }
3961 }
3962 if (_argo1) {
3963 if (_argo1 == Py_None) { _arg1 = NULL; }
3964 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3965 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
3966 return NULL;
3967 }
3968 }
3969{
3970 wxPy_BEGIN_ALLOW_THREADS;
3971 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
3972
3973 wxPy_END_ALLOW_THREADS;
3974} Py_INCREF(Py_None);
3975 _resultobj = Py_None;
3976 return _resultobj;
3977}
3978
3979#define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
3980static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3981 PyObject * _resultobj;
3982 wxPyGridCellAttrProvider * _arg0;
3983 wxGridCellAttr * _arg1;
3984 int _arg2;
3985 PyObject * _argo0 = 0;
3986 PyObject * _argo1 = 0;
3987 char *_kwnames[] = { "self","attr","row", NULL };
3988
3989 self = self;
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3991 return NULL;
3992 if (_argo0) {
3993 if (_argo0 == Py_None) { _arg0 = NULL; }
3994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
3996 return NULL;
3997 }
3998 }
3999 if (_argo1) {
4000 if (_argo1 == Py_None) { _arg1 = NULL; }
4001 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4002 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4003 return NULL;
4004 }
4005 }
4006{
4007 wxPy_BEGIN_ALLOW_THREADS;
4008 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4009
4010 wxPy_END_ALLOW_THREADS;
4011} Py_INCREF(Py_None);
4012 _resultobj = Py_None;
4013 return _resultobj;
4014}
4015
4016#define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4017static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4018 PyObject * _resultobj;
4019 wxPyGridCellAttrProvider * _arg0;
4020 wxGridCellAttr * _arg1;
4021 int _arg2;
4022 PyObject * _argo0 = 0;
4023 PyObject * _argo1 = 0;
4024 char *_kwnames[] = { "self","attr","col", NULL };
4025
4026 self = self;
4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4028 return NULL;
4029 if (_argo0) {
4030 if (_argo0 == Py_None) { _arg0 = NULL; }
4031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4033 return NULL;
4034 }
4035 }
4036 if (_argo1) {
4037 if (_argo1 == Py_None) { _arg1 = NULL; }
4038 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4039 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4040 return NULL;
4041 }
4042 }
4043{
4044 wxPy_BEGIN_ALLOW_THREADS;
4045 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4046
4047 wxPy_END_ALLOW_THREADS;
4048} Py_INCREF(Py_None);
4049 _resultobj = Py_None;
4050 return _resultobj;
4051}
4052
4053#define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4054static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4055 PyObject * _resultobj;
4056 wxGridTableBase * _arg0;
4057 wxGridCellAttrProvider * _arg1;
4058 PyObject * _argo0 = 0;
4059 PyObject * _argo1 = 0;
4060 char *_kwnames[] = { "self","attrProvider", NULL };
4061
4062 self = self;
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4064 return NULL;
4065 if (_argo0) {
4066 if (_argo0 == Py_None) { _arg0 = NULL; }
4067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4069 return NULL;
4070 }
4071 }
4072 if (_argo1) {
4073 if (_argo1 == Py_None) { _arg1 = NULL; }
4074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4076 return NULL;
4077 }
4078 }
4079{
4080 wxPy_BEGIN_ALLOW_THREADS;
4081 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4082
4083 wxPy_END_ALLOW_THREADS;
4084} Py_INCREF(Py_None);
4085 _resultobj = Py_None;
4086 return _resultobj;
4087}
4088
4089#define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4090static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4091 PyObject * _resultobj;
4092 wxGridCellAttrProvider * _result;
4093 wxGridTableBase * _arg0;
4094 PyObject * _argo0 = 0;
4095 char *_kwnames[] = { "self", NULL };
4096 char _ptemp[128];
4097
4098 self = self;
4099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4100 return NULL;
4101 if (_argo0) {
4102 if (_argo0 == Py_None) { _arg0 = NULL; }
4103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4105 return NULL;
4106 }
4107 }
4108{
4109 wxPy_BEGIN_ALLOW_THREADS;
4110 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4111
4112 wxPy_END_ALLOW_THREADS;
4113} if (_result) {
4114 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4115 _resultobj = Py_BuildValue("s",_ptemp);
4116 } else {
4117 Py_INCREF(Py_None);
4118 _resultobj = Py_None;
4119 }
4120 return _resultobj;
4121}
4122
4123#define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4124static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4125 PyObject * _resultobj;
4126 wxGridTableBase * _arg0;
4127 wxGrid * _arg1;
4128 PyObject * _argo0 = 0;
4129 PyObject * _argo1 = 0;
4130 char *_kwnames[] = { "self","grid", NULL };
4131
4132 self = self;
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4134 return NULL;
4135 if (_argo0) {
4136 if (_argo0 == Py_None) { _arg0 = NULL; }
4137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4139 return NULL;
4140 }
4141 }
4142 if (_argo1) {
4143 if (_argo1 == Py_None) { _arg1 = NULL; }
4144 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4145 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4146 return NULL;
4147 }
4148 }
4149{
4150 wxPy_BEGIN_ALLOW_THREADS;
4151 wxGridTableBase_SetView(_arg0,_arg1);
4152
4153 wxPy_END_ALLOW_THREADS;
4154} Py_INCREF(Py_None);
4155 _resultobj = Py_None;
4156 return _resultobj;
4157}
4158
4159#define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4160static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject * _resultobj;
4162 wxGrid * _result;
4163 wxGridTableBase * _arg0;
4164 PyObject * _argo0 = 0;
4165 char *_kwnames[] = { "self", NULL };
4166 char _ptemp[128];
4167
4168 self = self;
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4170 return NULL;
4171 if (_argo0) {
4172 if (_argo0 == Py_None) { _arg0 = NULL; }
4173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4175 return NULL;
4176 }
4177 }
4178{
4179 wxPy_BEGIN_ALLOW_THREADS;
4180 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4181
4182 wxPy_END_ALLOW_THREADS;
4183} if (_result) {
4184 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
4185 _resultobj = Py_BuildValue("s",_ptemp);
4186 } else {
4187 Py_INCREF(Py_None);
4188 _resultobj = Py_None;
4189 }
4190 return _resultobj;
4191}
4192
4193#define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4194static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4195 PyObject * _resultobj;
4196 int _result;
4197 wxGridTableBase * _arg0;
4198 PyObject * _argo0 = 0;
4199 char *_kwnames[] = { "self", NULL };
4200
4201 self = self;
4202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4203 return NULL;
4204 if (_argo0) {
4205 if (_argo0 == Py_None) { _arg0 = NULL; }
4206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4208 return NULL;
4209 }
4210 }
4211{
4212 wxPy_BEGIN_ALLOW_THREADS;
4213 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4214
4215 wxPy_END_ALLOW_THREADS;
4216} _resultobj = Py_BuildValue("i",_result);
4217 return _resultobj;
4218}
4219
4220#define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4221static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject * _resultobj;
4223 int _result;
4224 wxGridTableBase * _arg0;
4225 PyObject * _argo0 = 0;
4226 char *_kwnames[] = { "self", NULL };
4227
4228 self = self;
4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4230 return NULL;
4231 if (_argo0) {
4232 if (_argo0 == Py_None) { _arg0 = NULL; }
4233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4235 return NULL;
4236 }
4237 }
4238{
4239 wxPy_BEGIN_ALLOW_THREADS;
4240 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4241
4242 wxPy_END_ALLOW_THREADS;
4243} _resultobj = Py_BuildValue("i",_result);
4244 return _resultobj;
4245}
4246
4247#define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4248static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject * _resultobj;
4250 bool _result;
4251 wxGridTableBase * _arg0;
4252 int _arg1;
4253 int _arg2;
4254 PyObject * _argo0 = 0;
4255 char *_kwnames[] = { "self","row","col", NULL };
4256
4257 self = self;
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4259 return NULL;
4260 if (_argo0) {
4261 if (_argo0 == Py_None) { _arg0 = NULL; }
4262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4264 return NULL;
4265 }
4266 }
4267{
4268 wxPy_BEGIN_ALLOW_THREADS;
4269 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4270
4271 wxPy_END_ALLOW_THREADS;
4272} _resultobj = Py_BuildValue("i",_result);
4273 return _resultobj;
4274}
4275
4276#define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4277static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4278 PyObject * _resultobj;
4279 wxString * _result;
4280 wxGridTableBase * _arg0;
4281 int _arg1;
4282 int _arg2;
4283 PyObject * _argo0 = 0;
4284 char *_kwnames[] = { "self","row","col", NULL };
4285
4286 self = self;
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4288 return NULL;
4289 if (_argo0) {
4290 if (_argo0 == Py_None) { _arg0 = NULL; }
4291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4293 return NULL;
4294 }
4295 }
4296{
4297 wxPy_BEGIN_ALLOW_THREADS;
4298 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4299
4300 wxPy_END_ALLOW_THREADS;
4301}{
4302 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4303}
4304{
4305 delete _result;
4306}
4307 return _resultobj;
4308}
4309
4310#define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4311static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4312 PyObject * _resultobj;
4313 wxGridTableBase * _arg0;
4314 int _arg1;
4315 int _arg2;
4316 wxString * _arg3;
4317 PyObject * _argo0 = 0;
4318 PyObject * _obj3 = 0;
4319 char *_kwnames[] = { "self","row","col","value", NULL };
4320
4321 self = self;
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4323 return NULL;
4324 if (_argo0) {
4325 if (_argo0 == Py_None) { _arg0 = NULL; }
4326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4328 return NULL;
4329 }
4330 }
4331{
2cd2fac8
RD
4332#if PYTHON_API_VERSION >= 1009
4333 char* tmpPtr; int tmpSize;
4334 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4335 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4336 return NULL;
4337 }
4338 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4339 return NULL;
4340 _arg3 = new wxString(tmpPtr, tmpSize);
4341#else
f6bcfd97
BP
4342 if (!PyString_Check(_obj3)) {
4343 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4344 return NULL;
4345 }
2cd2fac8
RD
4346 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4347#endif
f6bcfd97
BP
4348}
4349{
4350 wxPy_BEGIN_ALLOW_THREADS;
4351 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4352
4353 wxPy_END_ALLOW_THREADS;
4354} Py_INCREF(Py_None);
4355 _resultobj = Py_None;
4356{
4357 if (_obj3)
4358 delete _arg3;
4359}
4360 return _resultobj;
4361}
4362
4363#define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4364static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4365 PyObject * _resultobj;
4366 wxString * _result;
4367 wxGridTableBase * _arg0;
4368 int _arg1;
4369 int _arg2;
4370 PyObject * _argo0 = 0;
4371 char *_kwnames[] = { "self","row","col", NULL };
4372
4373 self = self;
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4375 return NULL;
4376 if (_argo0) {
4377 if (_argo0 == Py_None) { _arg0 = NULL; }
4378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4380 return NULL;
4381 }
4382 }
4383{
4384 wxPy_BEGIN_ALLOW_THREADS;
4385 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4386
4387 wxPy_END_ALLOW_THREADS;
4388}{
4389 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4390}
4391{
4392 delete _result;
4393}
4394 return _resultobj;
4395}
4396
4397#define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4398static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4399 PyObject * _resultobj;
4400 bool _result;
4401 wxGridTableBase * _arg0;
4402 int _arg1;
4403 int _arg2;
4404 wxString * _arg3;
4405 PyObject * _argo0 = 0;
4406 PyObject * _obj3 = 0;
4407 char *_kwnames[] = { "self","row","col","typeName", NULL };
4408
4409 self = self;
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4411 return NULL;
4412 if (_argo0) {
4413 if (_argo0 == Py_None) { _arg0 = NULL; }
4414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4416 return NULL;
4417 }
4418 }
4419{
2cd2fac8
RD
4420#if PYTHON_API_VERSION >= 1009
4421 char* tmpPtr; int tmpSize;
4422 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4423 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4424 return NULL;
4425 }
4426 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4427 return NULL;
4428 _arg3 = new wxString(tmpPtr, tmpSize);
4429#else
f6bcfd97
BP
4430 if (!PyString_Check(_obj3)) {
4431 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4432 return NULL;
4433 }
2cd2fac8
RD
4434 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4435#endif
f6bcfd97
BP
4436}
4437{
4438 wxPy_BEGIN_ALLOW_THREADS;
4439 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4440
4441 wxPy_END_ALLOW_THREADS;
4442} _resultobj = Py_BuildValue("i",_result);
4443{
4444 if (_obj3)
4445 delete _arg3;
4446}
4447 return _resultobj;
4448}
4449
4450#define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4451static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject * _resultobj;
4453 bool _result;
4454 wxGridTableBase * _arg0;
4455 int _arg1;
4456 int _arg2;
4457 wxString * _arg3;
4458 PyObject * _argo0 = 0;
4459 PyObject * _obj3 = 0;
4460 char *_kwnames[] = { "self","row","col","typeName", NULL };
4461
4462 self = self;
4463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4464 return NULL;
4465 if (_argo0) {
4466 if (_argo0 == Py_None) { _arg0 = NULL; }
4467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4469 return NULL;
4470 }
4471 }
4472{
2cd2fac8
RD
4473#if PYTHON_API_VERSION >= 1009
4474 char* tmpPtr; int tmpSize;
4475 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4476 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4477 return NULL;
4478 }
4479 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4480 return NULL;
4481 _arg3 = new wxString(tmpPtr, tmpSize);
4482#else
f6bcfd97
BP
4483 if (!PyString_Check(_obj3)) {
4484 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4485 return NULL;
4486 }
2cd2fac8
RD
4487 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4488#endif
f6bcfd97
BP
4489}
4490{
4491 wxPy_BEGIN_ALLOW_THREADS;
4492 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4493
4494 wxPy_END_ALLOW_THREADS;
4495} _resultobj = Py_BuildValue("i",_result);
4496{
4497 if (_obj3)
4498 delete _arg3;
4499}
4500 return _resultobj;
4501}
4502
4503#define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4504static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4505 PyObject * _resultobj;
4506 long _result;
4507 wxGridTableBase * _arg0;
4508 int _arg1;
4509 int _arg2;
4510 PyObject * _argo0 = 0;
4511 char *_kwnames[] = { "self","row","col", NULL };
4512
4513 self = self;
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4515 return NULL;
4516 if (_argo0) {
4517 if (_argo0 == Py_None) { _arg0 = NULL; }
4518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4520 return NULL;
4521 }
4522 }
4523{
4524 wxPy_BEGIN_ALLOW_THREADS;
4525 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4526
4527 wxPy_END_ALLOW_THREADS;
4528} _resultobj = Py_BuildValue("l",_result);
4529 return _resultobj;
4530}
4531
4532#define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4533static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4534 PyObject * _resultobj;
4535 double _result;
4536 wxGridTableBase * _arg0;
4537 int _arg1;
4538 int _arg2;
4539 PyObject * _argo0 = 0;
4540 char *_kwnames[] = { "self","row","col", NULL };
4541
4542 self = self;
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4544 return NULL;
4545 if (_argo0) {
4546 if (_argo0 == Py_None) { _arg0 = NULL; }
4547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4549 return NULL;
4550 }
4551 }
4552{
4553 wxPy_BEGIN_ALLOW_THREADS;
4554 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4555
4556 wxPy_END_ALLOW_THREADS;
4557} _resultobj = Py_BuildValue("d",_result);
4558 return _resultobj;
4559}
4560
4561#define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4562static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4563 PyObject * _resultobj;
4564 bool _result;
4565 wxGridTableBase * _arg0;
4566 int _arg1;
4567 int _arg2;
4568 PyObject * _argo0 = 0;
4569 char *_kwnames[] = { "self","row","col", NULL };
4570
4571 self = self;
4572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4573 return NULL;
4574 if (_argo0) {
4575 if (_argo0 == Py_None) { _arg0 = NULL; }
4576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4578 return NULL;
4579 }
4580 }
4581{
4582 wxPy_BEGIN_ALLOW_THREADS;
4583 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4584
4585 wxPy_END_ALLOW_THREADS;
4586} _resultobj = Py_BuildValue("i",_result);
4587 return _resultobj;
4588}
4589
4590#define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4591static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4592 PyObject * _resultobj;
4593 wxGridTableBase * _arg0;
4594 int _arg1;
4595 int _arg2;
4596 long _arg3;
4597 PyObject * _argo0 = 0;
4598 char *_kwnames[] = { "self","row","col","value", NULL };
4599
4600 self = self;
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4602 return NULL;
4603 if (_argo0) {
4604 if (_argo0 == Py_None) { _arg0 = NULL; }
4605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4607 return NULL;
4608 }
4609 }
4610{
4611 wxPy_BEGIN_ALLOW_THREADS;
4612 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4613
4614 wxPy_END_ALLOW_THREADS;
4615} Py_INCREF(Py_None);
4616 _resultobj = Py_None;
4617 return _resultobj;
4618}
4619
4620#define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4621static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject * _resultobj;
4623 wxGridTableBase * _arg0;
4624 int _arg1;
4625 int _arg2;
4626 double _arg3;
4627 PyObject * _argo0 = 0;
4628 char *_kwnames[] = { "self","row","col","value", NULL };
4629
4630 self = self;
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4632 return NULL;
4633 if (_argo0) {
4634 if (_argo0 == Py_None) { _arg0 = NULL; }
4635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4637 return NULL;
4638 }
4639 }
4640{
4641 wxPy_BEGIN_ALLOW_THREADS;
4642 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
4643
4644 wxPy_END_ALLOW_THREADS;
4645} Py_INCREF(Py_None);
4646 _resultobj = Py_None;
4647 return _resultobj;
4648}
4649
4650#define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4651static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4652 PyObject * _resultobj;
4653 wxGridTableBase * _arg0;
4654 int _arg1;
4655 int _arg2;
4656 bool _arg3;
4657 PyObject * _argo0 = 0;
4658 int tempbool3;
4659 char *_kwnames[] = { "self","row","col","value", NULL };
4660
4661 self = self;
4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4663 return NULL;
4664 if (_argo0) {
4665 if (_argo0 == Py_None) { _arg0 = NULL; }
4666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4668 return NULL;
4669 }
4670 }
4671 _arg3 = (bool ) tempbool3;
4672{
4673 wxPy_BEGIN_ALLOW_THREADS;
4674 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
4675
4676 wxPy_END_ALLOW_THREADS;
4677} Py_INCREF(Py_None);
4678 _resultobj = Py_None;
4679 return _resultobj;
4680}
4681
4682#define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4683static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4684 PyObject * _resultobj;
4685 wxGridTableBase * _arg0;
4686 PyObject * _argo0 = 0;
4687 char *_kwnames[] = { "self", NULL };
4688
4689 self = self;
4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
4691 return NULL;
4692 if (_argo0) {
4693 if (_argo0 == Py_None) { _arg0 = NULL; }
4694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4696 return NULL;
4697 }
4698 }
4699{
4700 wxPy_BEGIN_ALLOW_THREADS;
4701 wxGridTableBase_Clear(_arg0);
4702
4703 wxPy_END_ALLOW_THREADS;
4704} Py_INCREF(Py_None);
4705 _resultobj = Py_None;
4706 return _resultobj;
4707}
4708
4709#define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4710static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4711 PyObject * _resultobj;
4712 bool _result;
4713 wxGridTableBase * _arg0;
4714 size_t _arg1 = (size_t ) 0;
4715 size_t _arg2 = (size_t ) 1;
4716 PyObject * _argo0 = 0;
4717 char *_kwnames[] = { "self","pos","numRows", NULL };
4718
4719 self = self;
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
4721 return NULL;
4722 if (_argo0) {
4723 if (_argo0 == Py_None) { _arg0 = NULL; }
4724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4726 return NULL;
4727 }
4728 }
4729{
4730 wxPy_BEGIN_ALLOW_THREADS;
4731 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
4732
4733 wxPy_END_ALLOW_THREADS;
4734} _resultobj = Py_BuildValue("i",_result);
4735 return _resultobj;
4736}
4737
4738#define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4739static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject * _resultobj;
4741 bool _result;
4742 wxGridTableBase * _arg0;
4743 size_t _arg1 = (size_t ) 1;
4744 PyObject * _argo0 = 0;
4745 char *_kwnames[] = { "self","numRows", NULL };
4746
4747 self = self;
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
4749 return NULL;
4750 if (_argo0) {
4751 if (_argo0 == Py_None) { _arg0 = NULL; }
4752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4754 return NULL;
4755 }
4756 }
4757{
4758 wxPy_BEGIN_ALLOW_THREADS;
4759 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
4760
4761 wxPy_END_ALLOW_THREADS;
4762} _resultobj = Py_BuildValue("i",_result);
4763 return _resultobj;
4764}
4765
4766#define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4767static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4768 PyObject * _resultobj;
4769 bool _result;
4770 wxGridTableBase * _arg0;
4771 size_t _arg1 = (size_t ) 0;
4772 size_t _arg2 = (size_t ) 1;
4773 PyObject * _argo0 = 0;
4774 char *_kwnames[] = { "self","pos","numRows", NULL };
4775
4776 self = self;
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
4778 return NULL;
4779 if (_argo0) {
4780 if (_argo0 == Py_None) { _arg0 = NULL; }
4781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4783 return NULL;
4784 }
4785 }
4786{
4787 wxPy_BEGIN_ALLOW_THREADS;
4788 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
4789
4790 wxPy_END_ALLOW_THREADS;
4791} _resultobj = Py_BuildValue("i",_result);
4792 return _resultobj;
4793}
4794
4795#define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4796static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4797 PyObject * _resultobj;
4798 bool _result;
4799 wxGridTableBase * _arg0;
4800 size_t _arg1 = (size_t ) 0;
4801 size_t _arg2 = (size_t ) 1;
4802 PyObject * _argo0 = 0;
4803 char *_kwnames[] = { "self","pos","numCols", NULL };
4804
4805 self = self;
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
4807 return NULL;
4808 if (_argo0) {
4809 if (_argo0 == Py_None) { _arg0 = NULL; }
4810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4812 return NULL;
4813 }
4814 }
4815{
4816 wxPy_BEGIN_ALLOW_THREADS;
4817 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
4818
4819 wxPy_END_ALLOW_THREADS;
4820} _resultobj = Py_BuildValue("i",_result);
4821 return _resultobj;
4822}
4823
4824#define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4825static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject * _resultobj;
4827 bool _result;
4828 wxGridTableBase * _arg0;
4829 size_t _arg1 = (size_t ) 1;
4830 PyObject * _argo0 = 0;
4831 char *_kwnames[] = { "self","numCols", NULL };
4832
4833 self = self;
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
4835 return NULL;
4836 if (_argo0) {
4837 if (_argo0 == Py_None) { _arg0 = NULL; }
4838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4840 return NULL;
4841 }
4842 }
4843{
4844 wxPy_BEGIN_ALLOW_THREADS;
4845 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
4846
4847 wxPy_END_ALLOW_THREADS;
4848} _resultobj = Py_BuildValue("i",_result);
4849 return _resultobj;
4850}
4851
4852#define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4853static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject * _resultobj;
4855 bool _result;
4856 wxGridTableBase * _arg0;
4857 size_t _arg1 = (size_t ) 0;
4858 size_t _arg2 = (size_t ) 1;
4859 PyObject * _argo0 = 0;
4860 char *_kwnames[] = { "self","pos","numCols", NULL };
4861
4862 self = self;
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
4864 return NULL;
4865 if (_argo0) {
4866 if (_argo0 == Py_None) { _arg0 = NULL; }
4867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4869 return NULL;
4870 }
4871 }
4872{
4873 wxPy_BEGIN_ALLOW_THREADS;
4874 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
4875
4876 wxPy_END_ALLOW_THREADS;
4877} _resultobj = Py_BuildValue("i",_result);
4878 return _resultobj;
4879}
4880
4881#define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4882static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4883 PyObject * _resultobj;
4884 wxString * _result;
4885 wxGridTableBase * _arg0;
4886 int _arg1;
4887 PyObject * _argo0 = 0;
4888 char *_kwnames[] = { "self","row", NULL };
4889
4890 self = self;
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
4892 return NULL;
4893 if (_argo0) {
4894 if (_argo0 == Py_None) { _arg0 = NULL; }
4895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4897 return NULL;
4898 }
4899 }
4900{
4901 wxPy_BEGIN_ALLOW_THREADS;
4902 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
4903
4904 wxPy_END_ALLOW_THREADS;
4905}{
4906 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4907}
4908{
4909 delete _result;
4910}
4911 return _resultobj;
4912}
4913
4914#define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
4915static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4916 PyObject * _resultobj;
4917 wxString * _result;
4918 wxGridTableBase * _arg0;
4919 int _arg1;
4920 PyObject * _argo0 = 0;
4921 char *_kwnames[] = { "self","col", NULL };
4922
4923 self = self;
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
4925 return NULL;
4926 if (_argo0) {
4927 if (_argo0 == Py_None) { _arg0 = NULL; }
4928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
4930 return NULL;
4931 }
4932 }
4933{
4934 wxPy_BEGIN_ALLOW_THREADS;
4935 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
4936
4937 wxPy_END_ALLOW_THREADS;
4938}{
4939 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4940}
4941{
4942 delete _result;
4943}
4944 return _resultobj;
4945}
4946
4947#define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
4948static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4949 PyObject * _resultobj;
4950 wxGridTableBase * _arg0;
4951 int _arg1;
4952 wxString * _arg2;
4953 PyObject * _argo0 = 0;
4954 PyObject * _obj2 = 0;
4955 char *_kwnames[] = { "self","row","value", NULL };
4956
4957 self = self;
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
4959 return NULL;
4960 if (_argo0) {
4961 if (_argo0 == Py_None) { _arg0 = NULL; }
4962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
4964 return NULL;
4965 }
4966 }
4967{
2cd2fac8
RD
4968#if PYTHON_API_VERSION >= 1009
4969 char* tmpPtr; int tmpSize;
4970 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4971 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4972 return NULL;
4973 }
4974 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4975 return NULL;
4976 _arg2 = new wxString(tmpPtr, tmpSize);
4977#else
f6bcfd97
BP
4978 if (!PyString_Check(_obj2)) {
4979 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4980 return NULL;
4981 }
2cd2fac8
RD
4982 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4983#endif
f6bcfd97
BP
4984}
4985{
4986 wxPy_BEGIN_ALLOW_THREADS;
4987 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
4988
4989 wxPy_END_ALLOW_THREADS;
4990} Py_INCREF(Py_None);
4991 _resultobj = Py_None;
4992{
4993 if (_obj2)
4994 delete _arg2;
4995}
4996 return _resultobj;
4997}
4998
4999#define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5000static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject * _resultobj;
5002 wxGridTableBase * _arg0;
5003 int _arg1;
5004 wxString * _arg2;
5005 PyObject * _argo0 = 0;
5006 PyObject * _obj2 = 0;
5007 char *_kwnames[] = { "self","col","value", NULL };
5008
5009 self = self;
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5011 return NULL;
5012 if (_argo0) {
5013 if (_argo0 == Py_None) { _arg0 = NULL; }
5014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5016 return NULL;
5017 }
5018 }
5019{
2cd2fac8
RD
5020#if PYTHON_API_VERSION >= 1009
5021 char* tmpPtr; int tmpSize;
5022 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5023 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5024 return NULL;
5025 }
5026 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5027 return NULL;
5028 _arg2 = new wxString(tmpPtr, tmpSize);
5029#else
f6bcfd97
BP
5030 if (!PyString_Check(_obj2)) {
5031 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5032 return NULL;
5033 }
2cd2fac8
RD
5034 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5035#endif
f6bcfd97
BP
5036}
5037{
5038 wxPy_BEGIN_ALLOW_THREADS;
5039 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5040
5041 wxPy_END_ALLOW_THREADS;
5042} Py_INCREF(Py_None);
5043 _resultobj = Py_None;
5044{
5045 if (_obj2)
5046 delete _arg2;
5047}
5048 return _resultobj;
5049}
5050
5051#define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5052static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5053 PyObject * _resultobj;
5054 bool _result;
5055 wxGridTableBase * _arg0;
5056 PyObject * _argo0 = 0;
5057 char *_kwnames[] = { "self", NULL };
5058
5059 self = self;
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5061 return NULL;
5062 if (_argo0) {
5063 if (_argo0 == Py_None) { _arg0 = NULL; }
5064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5066 return NULL;
5067 }
5068 }
5069{
5070 wxPy_BEGIN_ALLOW_THREADS;
5071 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5072
5073 wxPy_END_ALLOW_THREADS;
5074} _resultobj = Py_BuildValue("i",_result);
5075 return _resultobj;
5076}
5077
5078#define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
5079static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5080 PyObject * _resultobj;
5081 wxGridCellAttr * _result;
5082 wxGridTableBase * _arg0;
5083 int _arg1;
5084 int _arg2;
5085 PyObject * _argo0 = 0;
5086 char *_kwnames[] = { "self","row","col", NULL };
5087 char _ptemp[128];
5088
5089 self = self;
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
5091 return NULL;
5092 if (_argo0) {
5093 if (_argo0 == Py_None) { _arg0 = NULL; }
5094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5096 return NULL;
5097 }
5098 }
5099{
5100 wxPy_BEGIN_ALLOW_THREADS;
5101 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2);
5102
5103 wxPy_END_ALLOW_THREADS;
5104} if (_result) {
5105 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5106 _resultobj = Py_BuildValue("s",_ptemp);
5107 } else {
5108 Py_INCREF(Py_None);
5109 _resultobj = Py_None;
5110 }
5111 return _resultobj;
5112}
5113
5114#define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5115static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5116 PyObject * _resultobj;
5117 wxGridTableBase * _arg0;
5118 wxGridCellAttr * _arg1;
5119 int _arg2;
5120 int _arg3;
5121 PyObject * _argo0 = 0;
5122 PyObject * _argo1 = 0;
5123 char *_kwnames[] = { "self","attr","row","col", NULL };
5124
5125 self = self;
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5127 return NULL;
5128 if (_argo0) {
5129 if (_argo0 == Py_None) { _arg0 = NULL; }
5130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5132 return NULL;
5133 }
5134 }
5135 if (_argo1) {
5136 if (_argo1 == Py_None) { _arg1 = NULL; }
5137 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5138 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5139 return NULL;
5140 }
5141 }
5142{
5143 wxPy_BEGIN_ALLOW_THREADS;
5144 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5145
5146 wxPy_END_ALLOW_THREADS;
5147} Py_INCREF(Py_None);
5148 _resultobj = Py_None;
5149 return _resultobj;
5150}
5151
5152#define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5153static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5154 PyObject * _resultobj;
5155 wxGridTableBase * _arg0;
5156 wxGridCellAttr * _arg1;
5157 int _arg2;
5158 PyObject * _argo0 = 0;
5159 PyObject * _argo1 = 0;
5160 char *_kwnames[] = { "self","attr","row", NULL };
5161
5162 self = self;
5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5164 return NULL;
5165 if (_argo0) {
5166 if (_argo0 == Py_None) { _arg0 = NULL; }
5167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5169 return NULL;
5170 }
5171 }
5172 if (_argo1) {
5173 if (_argo1 == Py_None) { _arg1 = NULL; }
5174 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5175 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5176 return NULL;
5177 }
5178 }
5179{
5180 wxPy_BEGIN_ALLOW_THREADS;
5181 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5182
5183 wxPy_END_ALLOW_THREADS;
5184} Py_INCREF(Py_None);
5185 _resultobj = Py_None;
5186 return _resultobj;
5187}
5188
5189#define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5190static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5191 PyObject * _resultobj;
5192 wxGridTableBase * _arg0;
5193 wxGridCellAttr * _arg1;
5194 int _arg2;
5195 PyObject * _argo0 = 0;
5196 PyObject * _argo1 = 0;
5197 char *_kwnames[] = { "self","attr","col", NULL };
5198
5199 self = self;
5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5201 return NULL;
5202 if (_argo0) {
5203 if (_argo0 == Py_None) { _arg0 = NULL; }
5204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5206 return NULL;
5207 }
5208 }
5209 if (_argo1) {
5210 if (_argo1 == Py_None) { _arg1 = NULL; }
5211 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5212 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5213 return NULL;
5214 }
5215 }
5216{
5217 wxPy_BEGIN_ALLOW_THREADS;
5218 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5219
5220 wxPy_END_ALLOW_THREADS;
5221} Py_INCREF(Py_None);
5222 _resultobj = Py_None;
5223 return _resultobj;
5224}
5225
5226static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5227 wxPyGridTableBase *src;
5228 wxGridTableBase *dest;
5229 src = (wxPyGridTableBase *) ptr;
5230 dest = (wxGridTableBase *) src;
5231 return (void *) dest;
5232}
5233
5234#define new_wxPyGridTableBase() (new wxPyGridTableBase())
5235static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5236 PyObject * _resultobj;
5237 wxPyGridTableBase * _result;
5238 char *_kwnames[] = { NULL };
5239 char _ptemp[128];
5240
5241 self = self;
5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5243 return NULL;
5244{
5245 wxPy_BEGIN_ALLOW_THREADS;
5246 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5247
5248 wxPy_END_ALLOW_THREADS;
5249} if (_result) {
5250 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5251 _resultobj = Py_BuildValue("s",_ptemp);
5252 } else {
5253 Py_INCREF(Py_None);
5254 _resultobj = Py_None;
5255 }
5256 return _resultobj;
5257}
5258
5259#define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5260static PyObject *_wrap_wxPyGridTableBase__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject * _resultobj;
5262 wxPyGridTableBase * _arg0;
5263 PyObject * _arg1;
5264 PyObject * _arg2;
5265 PyObject * _argo0 = 0;
5266 PyObject * _obj1 = 0;
5267 PyObject * _obj2 = 0;
5268 char *_kwnames[] = { "self","self","_class", NULL };
5269
5270 self = self;
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5272 return NULL;
5273 if (_argo0) {
5274 if (_argo0 == Py_None) { _arg0 = NULL; }
5275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5277 return NULL;
5278 }
5279 }
5280{
5281 _arg1 = _obj1;
5282}
5283{
5284 _arg2 = _obj2;
5285}
5286{
5287 wxPy_BEGIN_ALLOW_THREADS;
5288 wxPyGridTableBase__setSelf(_arg0,_arg1,_arg2);
5289
5290 wxPy_END_ALLOW_THREADS;
5291} Py_INCREF(Py_None);
5292 _resultobj = Py_None;
5293 return _resultobj;
5294}
5295
5296static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5297static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject * _resultobj;
5299 wxPyGridTableBase * _arg0;
5300 PyObject * _argo0 = 0;
5301 char *_kwnames[] = { "self", NULL };
5302
5303 self = self;
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5305 return NULL;
5306 if (_argo0) {
5307 if (_argo0 == Py_None) { _arg0 = NULL; }
5308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5310 return NULL;
5311 }
5312 }
5313{
5314 wxPy_BEGIN_ALLOW_THREADS;
5315 wxPyGridTableBase_Destroy(_arg0);
5316
5317 wxPy_END_ALLOW_THREADS;
5318} Py_INCREF(Py_None);
5319 _resultobj = Py_None;
5320 return _resultobj;
5321}
5322
5323#define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5324static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5325 PyObject * _resultobj;
5326 wxString * _result;
5327 wxPyGridTableBase * _arg0;
5328 int _arg1;
5329 int _arg2;
5330 PyObject * _argo0 = 0;
5331 char *_kwnames[] = { "self","row","col", NULL };
5332
5333 self = self;
5334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5335 return NULL;
5336 if (_argo0) {
5337 if (_argo0 == Py_None) { _arg0 = NULL; }
5338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5340 return NULL;
5341 }
5342 }
5343{
5344 wxPy_BEGIN_ALLOW_THREADS;
5345 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5346
5347 wxPy_END_ALLOW_THREADS;
5348}{
5349 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5350}
5351{
5352 delete _result;
5353}
5354 return _resultobj;
5355}
5356
5357#define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5358static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5359 PyObject * _resultobj;
5360 bool _result;
5361 wxPyGridTableBase * _arg0;
5362 int _arg1;
5363 int _arg2;
5364 wxString * _arg3;
5365 PyObject * _argo0 = 0;
5366 PyObject * _obj3 = 0;
5367 char *_kwnames[] = { "self","row","col","typeName", NULL };
5368
5369 self = self;
5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5371 return NULL;
5372 if (_argo0) {
5373 if (_argo0 == Py_None) { _arg0 = NULL; }
5374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5376 return NULL;
5377 }
5378 }
5379{
2cd2fac8
RD
5380#if PYTHON_API_VERSION >= 1009
5381 char* tmpPtr; int tmpSize;
5382 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5383 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5384 return NULL;
5385 }
5386 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5387 return NULL;
5388 _arg3 = new wxString(tmpPtr, tmpSize);
5389#else
f6bcfd97
BP
5390 if (!PyString_Check(_obj3)) {
5391 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5392 return NULL;
5393 }
2cd2fac8
RD
5394 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5395#endif
f6bcfd97
BP
5396}
5397{
5398 wxPy_BEGIN_ALLOW_THREADS;
5399 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5400
5401 wxPy_END_ALLOW_THREADS;
5402} _resultobj = Py_BuildValue("i",_result);
5403{
5404 if (_obj3)
5405 delete _arg3;
5406}
5407 return _resultobj;
5408}
5409
5410#define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5411static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject * _resultobj;
5413 bool _result;
5414 wxPyGridTableBase * _arg0;
5415 int _arg1;
5416 int _arg2;
5417 wxString * _arg3;
5418 PyObject * _argo0 = 0;
5419 PyObject * _obj3 = 0;
5420 char *_kwnames[] = { "self","row","col","typeName", NULL };
5421
5422 self = self;
5423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5424 return NULL;
5425 if (_argo0) {
5426 if (_argo0 == Py_None) { _arg0 = NULL; }
5427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5429 return NULL;
5430 }
5431 }
5432{
2cd2fac8
RD
5433#if PYTHON_API_VERSION >= 1009
5434 char* tmpPtr; int tmpSize;
5435 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5436 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5437 return NULL;
5438 }
5439 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5440 return NULL;
5441 _arg3 = new wxString(tmpPtr, tmpSize);
5442#else
f6bcfd97
BP
5443 if (!PyString_Check(_obj3)) {
5444 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5445 return NULL;
5446 }
2cd2fac8
RD
5447 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5448#endif
f6bcfd97
BP
5449}
5450{
5451 wxPy_BEGIN_ALLOW_THREADS;
5452 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5453
5454 wxPy_END_ALLOW_THREADS;
5455} _resultobj = Py_BuildValue("i",_result);
5456{
5457 if (_obj3)
5458 delete _arg3;
5459}
5460 return _resultobj;
5461}
5462
5463#define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5464static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5465 PyObject * _resultobj;
5466 wxPyGridTableBase * _arg0;
5467 PyObject * _argo0 = 0;
5468 char *_kwnames[] = { "self", NULL };
5469
5470 self = self;
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5472 return NULL;
5473 if (_argo0) {
5474 if (_argo0 == Py_None) { _arg0 = NULL; }
5475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5477 return NULL;
5478 }
5479 }
5480{
5481 wxPy_BEGIN_ALLOW_THREADS;
5482 wxPyGridTableBase_base_Clear(_arg0);
5483
5484 wxPy_END_ALLOW_THREADS;
5485} Py_INCREF(Py_None);
5486 _resultobj = Py_None;
5487 return _resultobj;
5488}
5489
5490#define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5491static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject * _resultobj;
5493 bool _result;
5494 wxPyGridTableBase * _arg0;
5495 size_t _arg1 = (size_t ) 0;
5496 size_t _arg2 = (size_t ) 1;
5497 PyObject * _argo0 = 0;
5498 char *_kwnames[] = { "self","pos","numRows", NULL };
5499
5500 self = self;
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5502 return NULL;
5503 if (_argo0) {
5504 if (_argo0 == Py_None) { _arg0 = NULL; }
5505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5507 return NULL;
5508 }
5509 }
5510{
5511 wxPy_BEGIN_ALLOW_THREADS;
5512 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5513
5514 wxPy_END_ALLOW_THREADS;
5515} _resultobj = Py_BuildValue("i",_result);
5516 return _resultobj;
5517}
5518
5519#define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5520static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5521 PyObject * _resultobj;
5522 bool _result;
5523 wxPyGridTableBase * _arg0;
5524 size_t _arg1 = (size_t ) 1;
5525 PyObject * _argo0 = 0;
5526 char *_kwnames[] = { "self","numRows", NULL };
5527
5528 self = self;
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5530 return NULL;
5531 if (_argo0) {
5532 if (_argo0 == Py_None) { _arg0 = NULL; }
5533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5535 return NULL;
5536 }
5537 }
5538{
5539 wxPy_BEGIN_ALLOW_THREADS;
5540 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5541
5542 wxPy_END_ALLOW_THREADS;
5543} _resultobj = Py_BuildValue("i",_result);
5544 return _resultobj;
5545}
5546
5547#define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5548static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5549 PyObject * _resultobj;
5550 bool _result;
5551 wxPyGridTableBase * _arg0;
5552 size_t _arg1 = (size_t ) 0;
5553 size_t _arg2 = (size_t ) 1;
5554 PyObject * _argo0 = 0;
5555 char *_kwnames[] = { "self","pos","numRows", NULL };
5556
5557 self = self;
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5559 return NULL;
5560 if (_argo0) {
5561 if (_argo0 == Py_None) { _arg0 = NULL; }
5562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5564 return NULL;
5565 }
5566 }
5567{
5568 wxPy_BEGIN_ALLOW_THREADS;
5569 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5570
5571 wxPy_END_ALLOW_THREADS;
5572} _resultobj = Py_BuildValue("i",_result);
5573 return _resultobj;
5574}
5575
5576#define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5577static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject * _resultobj;
5579 bool _result;
5580 wxPyGridTableBase * _arg0;
5581 size_t _arg1 = (size_t ) 0;
5582 size_t _arg2 = (size_t ) 1;
5583 PyObject * _argo0 = 0;
5584 char *_kwnames[] = { "self","pos","numCols", NULL };
5585
5586 self = self;
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5588 return NULL;
5589 if (_argo0) {
5590 if (_argo0 == Py_None) { _arg0 = NULL; }
5591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5593 return NULL;
5594 }
5595 }
5596{
5597 wxPy_BEGIN_ALLOW_THREADS;
5598 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5599
5600 wxPy_END_ALLOW_THREADS;
5601} _resultobj = Py_BuildValue("i",_result);
5602 return _resultobj;
5603}
5604
5605#define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5606static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5607 PyObject * _resultobj;
5608 bool _result;
5609 wxPyGridTableBase * _arg0;
5610 size_t _arg1 = (size_t ) 1;
5611 PyObject * _argo0 = 0;
5612 char *_kwnames[] = { "self","numCols", NULL };
5613
5614 self = self;
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5616 return NULL;
5617 if (_argo0) {
5618 if (_argo0 == Py_None) { _arg0 = NULL; }
5619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5621 return NULL;
5622 }
5623 }
5624{
5625 wxPy_BEGIN_ALLOW_THREADS;
5626 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5627
5628 wxPy_END_ALLOW_THREADS;
5629} _resultobj = Py_BuildValue("i",_result);
5630 return _resultobj;
5631}
5632
5633#define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5634static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject * _resultobj;
5636 bool _result;
5637 wxPyGridTableBase * _arg0;
5638 size_t _arg1 = (size_t ) 0;
5639 size_t _arg2 = (size_t ) 1;
5640 PyObject * _argo0 = 0;
5641 char *_kwnames[] = { "self","pos","numCols", NULL };
5642
5643 self = self;
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5645 return NULL;
5646 if (_argo0) {
5647 if (_argo0 == Py_None) { _arg0 = NULL; }
5648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5650 return NULL;
5651 }
5652 }
5653{
5654 wxPy_BEGIN_ALLOW_THREADS;
5655 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
5656
5657 wxPy_END_ALLOW_THREADS;
5658} _resultobj = Py_BuildValue("i",_result);
5659 return _resultobj;
5660}
5661
5662#define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5663static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5664 PyObject * _resultobj;
5665 wxString * _result;
5666 wxPyGridTableBase * _arg0;
5667 int _arg1;
5668 PyObject * _argo0 = 0;
5669 char *_kwnames[] = { "self","row", NULL };
5670
5671 self = self;
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5673 return NULL;
5674 if (_argo0) {
5675 if (_argo0 == Py_None) { _arg0 = NULL; }
5676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5678 return NULL;
5679 }
5680 }
5681{
5682 wxPy_BEGIN_ALLOW_THREADS;
5683 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
5684
5685 wxPy_END_ALLOW_THREADS;
5686}{
5687 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5688}
5689{
5690 delete _result;
5691}
5692 return _resultobj;
5693}
5694
5695#define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5696static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject * _resultobj;
5698 wxString * _result;
5699 wxPyGridTableBase * _arg0;
5700 int _arg1;
5701 PyObject * _argo0 = 0;
5702 char *_kwnames[] = { "self","col", NULL };
5703
5704 self = self;
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5706 return NULL;
5707 if (_argo0) {
5708 if (_argo0 == Py_None) { _arg0 = NULL; }
5709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5711 return NULL;
5712 }
5713 }
5714{
5715 wxPy_BEGIN_ALLOW_THREADS;
5716 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
5717
5718 wxPy_END_ALLOW_THREADS;
5719}{
5720 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5721}
5722{
5723 delete _result;
5724}
5725 return _resultobj;
5726}
5727
5728#define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5729static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5730 PyObject * _resultobj;
5731 wxPyGridTableBase * _arg0;
5732 int _arg1;
5733 wxString * _arg2;
5734 PyObject * _argo0 = 0;
5735 PyObject * _obj2 = 0;
5736 char *_kwnames[] = { "self","row","value", NULL };
5737
5738 self = self;
5739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5740 return NULL;
5741 if (_argo0) {
5742 if (_argo0 == Py_None) { _arg0 = NULL; }
5743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5745 return NULL;
5746 }
5747 }
5748{
2cd2fac8
RD
5749#if PYTHON_API_VERSION >= 1009
5750 char* tmpPtr; int tmpSize;
5751 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5752 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5753 return NULL;
5754 }
5755 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5756 return NULL;
5757 _arg2 = new wxString(tmpPtr, tmpSize);
5758#else
f6bcfd97
BP
5759 if (!PyString_Check(_obj2)) {
5760 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5761 return NULL;
5762 }
2cd2fac8
RD
5763 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5764#endif
f6bcfd97
BP
5765}
5766{
5767 wxPy_BEGIN_ALLOW_THREADS;
5768 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
5769
5770 wxPy_END_ALLOW_THREADS;
5771} Py_INCREF(Py_None);
5772 _resultobj = Py_None;
5773{
5774 if (_obj2)
5775 delete _arg2;
5776}
5777 return _resultobj;
5778}
5779
5780#define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5781static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5782 PyObject * _resultobj;
5783 wxPyGridTableBase * _arg0;
5784 int _arg1;
5785 wxString * _arg2;
5786 PyObject * _argo0 = 0;
5787 PyObject * _obj2 = 0;
5788 char *_kwnames[] = { "self","col","value", NULL };
5789
5790 self = self;
5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5792 return NULL;
5793 if (_argo0) {
5794 if (_argo0 == Py_None) { _arg0 = NULL; }
5795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5797 return NULL;
5798 }
5799 }
5800{
2cd2fac8
RD
5801#if PYTHON_API_VERSION >= 1009
5802 char* tmpPtr; int tmpSize;
5803 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5804 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5805 return NULL;
5806 }
5807 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5808 return NULL;
5809 _arg2 = new wxString(tmpPtr, tmpSize);
5810#else
f6bcfd97
BP
5811 if (!PyString_Check(_obj2)) {
5812 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5813 return NULL;
5814 }
2cd2fac8
RD
5815 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5816#endif
f6bcfd97
BP
5817}
5818{
5819 wxPy_BEGIN_ALLOW_THREADS;
5820 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
5821
5822 wxPy_END_ALLOW_THREADS;
5823} Py_INCREF(Py_None);
5824 _resultobj = Py_None;
5825{
5826 if (_obj2)
5827 delete _arg2;
5828}
5829 return _resultobj;
5830}
5831
5832#define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5833static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject * _resultobj;
5835 bool _result;
5836 wxPyGridTableBase * _arg0;
5837 PyObject * _argo0 = 0;
5838 char *_kwnames[] = { "self", NULL };
5839
5840 self = self;
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
5842 return NULL;
5843 if (_argo0) {
5844 if (_argo0 == Py_None) { _arg0 = NULL; }
5845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5847 return NULL;
5848 }
5849 }
5850{
5851 wxPy_BEGIN_ALLOW_THREADS;
5852 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
5853
5854 wxPy_END_ALLOW_THREADS;
5855} _resultobj = Py_BuildValue("i",_result);
5856 return _resultobj;
5857}
5858
5859#define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
5860static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5861 PyObject * _resultobj;
5862 wxGridCellAttr * _result;
5863 wxPyGridTableBase * _arg0;
5864 int _arg1;
5865 int _arg2;
5866 PyObject * _argo0 = 0;
5867 char *_kwnames[] = { "self","row","col", NULL };
5868 char _ptemp[128];
5869
5870 self = self;
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
5872 return NULL;
5873 if (_argo0) {
5874 if (_argo0 == Py_None) { _arg0 = NULL; }
5875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5877 return NULL;
5878 }
5879 }
5880{
5881 wxPy_BEGIN_ALLOW_THREADS;
5882 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2);
5883
5884 wxPy_END_ALLOW_THREADS;
5885} if (_result) {
5886 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5887 _resultobj = Py_BuildValue("s",_ptemp);
5888 } else {
5889 Py_INCREF(Py_None);
5890 _resultobj = Py_None;
5891 }
5892 return _resultobj;
5893}
5894
5895#define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5896static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5897 PyObject * _resultobj;
5898 wxPyGridTableBase * _arg0;
5899 wxGridCellAttr * _arg1;
5900 int _arg2;
5901 int _arg3;
5902 PyObject * _argo0 = 0;
5903 PyObject * _argo1 = 0;
5904 char *_kwnames[] = { "self","attr","row","col", NULL };
5905
5906 self = self;
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5908 return NULL;
5909 if (_argo0) {
5910 if (_argo0 == Py_None) { _arg0 = NULL; }
5911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
5913 return NULL;
5914 }
5915 }
5916 if (_argo1) {
5917 if (_argo1 == Py_None) { _arg1 = NULL; }
5918 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5919 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
5920 return NULL;
5921 }
5922 }
5923{
5924 wxPy_BEGIN_ALLOW_THREADS;
5925 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
5926
5927 wxPy_END_ALLOW_THREADS;
5928} Py_INCREF(Py_None);
5929 _resultobj = Py_None;
5930 return _resultobj;
5931}
5932
5933#define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5934static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject * _resultobj;
5936 wxPyGridTableBase * _arg0;
5937 wxGridCellAttr * _arg1;
5938 int _arg2;
5939 PyObject * _argo0 = 0;
5940 PyObject * _argo1 = 0;
5941 char *_kwnames[] = { "self","attr","row", NULL };
5942
5943 self = self;
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5945 return NULL;
5946 if (_argo0) {
5947 if (_argo0 == Py_None) { _arg0 = NULL; }
5948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
5950 return NULL;
5951 }
5952 }
5953 if (_argo1) {
5954 if (_argo1 == Py_None) { _arg1 = NULL; }
5955 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5956 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5957 return NULL;
5958 }
5959 }
5960{
5961 wxPy_BEGIN_ALLOW_THREADS;
5962 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
5963
5964 wxPy_END_ALLOW_THREADS;
5965} Py_INCREF(Py_None);
5966 _resultobj = Py_None;
5967 return _resultobj;
5968}
5969
5970#define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5971static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5972 PyObject * _resultobj;
5973 wxPyGridTableBase * _arg0;
5974 wxGridCellAttr * _arg1;
5975 int _arg2;
5976 PyObject * _argo0 = 0;
5977 PyObject * _argo1 = 0;
5978 char *_kwnames[] = { "self","attr","col", NULL };
5979
5980 self = self;
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5982 return NULL;
5983 if (_argo0) {
5984 if (_argo0 == Py_None) { _arg0 = NULL; }
5985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
5987 return NULL;
5988 }
5989 }
5990 if (_argo1) {
5991 if (_argo1 == Py_None) { _arg1 = NULL; }
5992 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5993 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
5994 return NULL;
5995 }
5996 }
5997{
5998 wxPy_BEGIN_ALLOW_THREADS;
5999 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6000
6001 wxPy_END_ALLOW_THREADS;
6002} Py_INCREF(Py_None);
6003 _resultobj = Py_None;
6004 return _resultobj;
6005}
6006
6007static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6008 wxGridStringTable *src;
6009 wxGridTableBase *dest;
6010 src = (wxGridStringTable *) ptr;
6011 dest = (wxGridTableBase *) src;
6012 return (void *) dest;
6013}
6014
6015#define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6016static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6017 PyObject * _resultobj;
6018 wxGridStringTable * _result;
6019 int _arg0 = (int ) 0;
6020 int _arg1 = (int ) 0;
6021 char *_kwnames[] = { "numRows","numCols", NULL };
6022 char _ptemp[128];
6023
6024 self = self;
6025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6026 return NULL;
6027{
6028 wxPy_BEGIN_ALLOW_THREADS;
6029 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6030
6031 wxPy_END_ALLOW_THREADS;
6032} if (_result) {
6033 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6034 _resultobj = Py_BuildValue("s",_ptemp);
6035 } else {
6036 Py_INCREF(Py_None);
6037 _resultobj = Py_None;
6038 }
6039 return _resultobj;
6040}
6041
6042#define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6043static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject * _resultobj;
6045 wxGridTableMessage * _result;
6046 wxGridTableBase * _arg0;
6047 int _arg1;
6048 int _arg2 = (int ) -1;
6049 int _arg3 = (int ) -1;
6050 PyObject * _argo0 = 0;
6051 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6052 char _ptemp[128];
6053
6054 self = self;
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6056 return NULL;
6057 if (_argo0) {
6058 if (_argo0 == Py_None) { _arg0 = NULL; }
6059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6061 return NULL;
6062 }
6063 }
6064{
6065 wxPy_BEGIN_ALLOW_THREADS;
6066 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6067
6068 wxPy_END_ALLOW_THREADS;
6069} if (_result) {
6070 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6071 _resultobj = Py_BuildValue("s",_ptemp);
6072 } else {
6073 Py_INCREF(Py_None);
6074 _resultobj = Py_None;
6075 }
6076 return _resultobj;
6077}
6078
6079#define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6080static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6081 PyObject * _resultobj;
6082 wxGridTableMessage * _arg0;
6083 PyObject * _argo0 = 0;
6084 char *_kwnames[] = { "self", NULL };
6085
6086 self = self;
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6088 return NULL;
6089 if (_argo0) {
6090 if (_argo0 == Py_None) { _arg0 = NULL; }
6091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6093 return NULL;
6094 }
6095 }
6096{
6097 wxPy_BEGIN_ALLOW_THREADS;
6098 delete_wxGridTableMessage(_arg0);
6099
6100 wxPy_END_ALLOW_THREADS;
6101} Py_INCREF(Py_None);
6102 _resultobj = Py_None;
6103 return _resultobj;
6104}
6105
6106#define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6107static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6108 PyObject * _resultobj;
6109 wxGridTableMessage * _arg0;
6110 wxGridTableBase * _arg1;
6111 PyObject * _argo0 = 0;
6112 PyObject * _argo1 = 0;
6113 char *_kwnames[] = { "self","table", NULL };
6114
6115 self = self;
6116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6117 return NULL;
6118 if (_argo0) {
6119 if (_argo0 == Py_None) { _arg0 = NULL; }
6120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6122 return NULL;
6123 }
6124 }
6125 if (_argo1) {
6126 if (_argo1 == Py_None) { _arg1 = NULL; }
6127 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6128 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6129 return NULL;
6130 }
6131 }
6132{
6133 wxPy_BEGIN_ALLOW_THREADS;
6134 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6135
6136 wxPy_END_ALLOW_THREADS;
6137} Py_INCREF(Py_None);
6138 _resultobj = Py_None;
6139 return _resultobj;
6140}
6141
6142#define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6143static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6144 PyObject * _resultobj;
6145 wxGridTableBase * _result;
6146 wxGridTableMessage * _arg0;
6147 PyObject * _argo0 = 0;
6148 char *_kwnames[] = { "self", NULL };
6149 char _ptemp[128];
6150
6151 self = self;
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6153 return NULL;
6154 if (_argo0) {
6155 if (_argo0 == Py_None) { _arg0 = NULL; }
6156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6158 return NULL;
6159 }
6160 }
6161{
6162 wxPy_BEGIN_ALLOW_THREADS;
6163 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6164
6165 wxPy_END_ALLOW_THREADS;
6166} if (_result) {
6167 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6168 _resultobj = Py_BuildValue("s",_ptemp);
6169 } else {
6170 Py_INCREF(Py_None);
6171 _resultobj = Py_None;
6172 }
6173 return _resultobj;
6174}
6175
6176#define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6177static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6178 PyObject * _resultobj;
6179 wxGridTableMessage * _arg0;
6180 int _arg1;
6181 PyObject * _argo0 = 0;
6182 char *_kwnames[] = { "self","id", NULL };
6183
6184 self = self;
6185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6186 return NULL;
6187 if (_argo0) {
6188 if (_argo0 == Py_None) { _arg0 = NULL; }
6189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6191 return NULL;
6192 }
6193 }
6194{
6195 wxPy_BEGIN_ALLOW_THREADS;
6196 wxGridTableMessage_SetId(_arg0,_arg1);
6197
6198 wxPy_END_ALLOW_THREADS;
6199} Py_INCREF(Py_None);
6200 _resultobj = Py_None;
6201 return _resultobj;
6202}
6203
6204#define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6205static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject * _resultobj;
6207 int _result;
6208 wxGridTableMessage * _arg0;
6209 PyObject * _argo0 = 0;
6210 char *_kwnames[] = { "self", NULL };
6211
6212 self = self;
6213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6214 return NULL;
6215 if (_argo0) {
6216 if (_argo0 == Py_None) { _arg0 = NULL; }
6217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6219 return NULL;
6220 }
6221 }
6222{
6223 wxPy_BEGIN_ALLOW_THREADS;
6224 _result = (int )wxGridTableMessage_GetId(_arg0);
6225
6226 wxPy_END_ALLOW_THREADS;
6227} _resultobj = Py_BuildValue("i",_result);
6228 return _resultobj;
6229}
6230
6231#define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6232static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6233 PyObject * _resultobj;
6234 wxGridTableMessage * _arg0;
6235 int _arg1;
6236 PyObject * _argo0 = 0;
6237 char *_kwnames[] = { "self","comInt1", NULL };
6238
6239 self = self;
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6241 return NULL;
6242 if (_argo0) {
6243 if (_argo0 == Py_None) { _arg0 = NULL; }
6244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6246 return NULL;
6247 }
6248 }
6249{
6250 wxPy_BEGIN_ALLOW_THREADS;
6251 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6252
6253 wxPy_END_ALLOW_THREADS;
6254} Py_INCREF(Py_None);
6255 _resultobj = Py_None;
6256 return _resultobj;
6257}
6258
6259#define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6260static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6261 PyObject * _resultobj;
6262 int _result;
6263 wxGridTableMessage * _arg0;
6264 PyObject * _argo0 = 0;
6265 char *_kwnames[] = { "self", NULL };
6266
6267 self = self;
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6269 return NULL;
6270 if (_argo0) {
6271 if (_argo0 == Py_None) { _arg0 = NULL; }
6272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6274 return NULL;
6275 }
6276 }
6277{
6278 wxPy_BEGIN_ALLOW_THREADS;
6279 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6280
6281 wxPy_END_ALLOW_THREADS;
6282} _resultobj = Py_BuildValue("i",_result);
6283 return _resultobj;
6284}
6285
6286#define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6287static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6288 PyObject * _resultobj;
6289 wxGridTableMessage * _arg0;
6290 int _arg1;
6291 PyObject * _argo0 = 0;
6292 char *_kwnames[] = { "self","comInt2", NULL };
6293
6294 self = self;
6295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6296 return NULL;
6297 if (_argo0) {
6298 if (_argo0 == Py_None) { _arg0 = NULL; }
6299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6301 return NULL;
6302 }
6303 }
6304{
6305 wxPy_BEGIN_ALLOW_THREADS;
6306 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6307
6308 wxPy_END_ALLOW_THREADS;
6309} Py_INCREF(Py_None);
6310 _resultobj = Py_None;
6311 return _resultobj;
6312}
6313
6314#define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6315static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject * _resultobj;
6317 int _result;
6318 wxGridTableMessage * _arg0;
6319 PyObject * _argo0 = 0;
6320 char *_kwnames[] = { "self", NULL };
6321
6322 self = self;
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6324 return NULL;
6325 if (_argo0) {
6326 if (_argo0 == Py_None) { _arg0 = NULL; }
6327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6329 return NULL;
6330 }
6331 }
6332{
6333 wxPy_BEGIN_ALLOW_THREADS;
6334 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6335
6336 wxPy_END_ALLOW_THREADS;
6337} _resultobj = Py_BuildValue("i",_result);
6338 return _resultobj;
6339}
6340
6341#define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6342static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6343 PyObject * _resultobj;
6344 wxGridCellCoords * _result;
6345 int _arg0 = (int ) -1;
6346 int _arg1 = (int ) -1;
6347 char *_kwnames[] = { "r","c", NULL };
6348 char _ptemp[128];
6349
6350 self = self;
6351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6352 return NULL;
6353{
6354 wxPy_BEGIN_ALLOW_THREADS;
6355 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6356
6357 wxPy_END_ALLOW_THREADS;
6358} if (_result) {
6359 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6360 _resultobj = Py_BuildValue("s",_ptemp);
6361 } else {
6362 Py_INCREF(Py_None);
6363 _resultobj = Py_None;
6364 }
6365 return _resultobj;
6366}
6367
6368#define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6369static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject * _resultobj;
6371 wxGridCellCoords * _arg0;
6372 PyObject * _argo0 = 0;
6373 char *_kwnames[] = { "self", NULL };
6374
6375 self = self;
6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6377 return NULL;
6378 if (_argo0) {
6379 if (_argo0 == Py_None) { _arg0 = NULL; }
6380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6382 return NULL;
6383 }
6384 }
6385{
6386 wxPy_BEGIN_ALLOW_THREADS;
6387 delete_wxGridCellCoords(_arg0);
6388
6389 wxPy_END_ALLOW_THREADS;
6390} Py_INCREF(Py_None);
6391 _resultobj = Py_None;
6392 return _resultobj;
6393}
6394
6395#define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6396static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6397 PyObject * _resultobj;
6398 int _result;
6399 wxGridCellCoords * _arg0;
6400 PyObject * _argo0 = 0;
6401 char *_kwnames[] = { "self", NULL };
6402
6403 self = self;
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6405 return NULL;
6406 if (_argo0) {
6407 if (_argo0 == Py_None) { _arg0 = NULL; }
6408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6410 return NULL;
6411 }
6412 }
6413{
6414 wxPy_BEGIN_ALLOW_THREADS;
6415 _result = (int )wxGridCellCoords_GetRow(_arg0);
6416
6417 wxPy_END_ALLOW_THREADS;
6418} _resultobj = Py_BuildValue("i",_result);
6419 return _resultobj;
6420}
6421
6422#define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6423static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject * _resultobj;
6425 wxGridCellCoords * _arg0;
6426 int _arg1;
6427 PyObject * _argo0 = 0;
6428 char *_kwnames[] = { "self","n", NULL };
6429
6430 self = self;
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6432 return NULL;
6433 if (_argo0) {
6434 if (_argo0 == Py_None) { _arg0 = NULL; }
6435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6437 return NULL;
6438 }
6439 }
6440{
6441 wxPy_BEGIN_ALLOW_THREADS;
6442 wxGridCellCoords_SetRow(_arg0,_arg1);
6443
6444 wxPy_END_ALLOW_THREADS;
6445} Py_INCREF(Py_None);
6446 _resultobj = Py_None;
6447 return _resultobj;
6448}
6449
6450#define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6451static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6452 PyObject * _resultobj;
6453 int _result;
6454 wxGridCellCoords * _arg0;
6455 PyObject * _argo0 = 0;
6456 char *_kwnames[] = { "self", NULL };
6457
6458 self = self;
6459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6460 return NULL;
6461 if (_argo0) {
6462 if (_argo0 == Py_None) { _arg0 = NULL; }
6463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6465 return NULL;
6466 }
6467 }
6468{
6469 wxPy_BEGIN_ALLOW_THREADS;
6470 _result = (int )wxGridCellCoords_GetCol(_arg0);
6471
6472 wxPy_END_ALLOW_THREADS;
6473} _resultobj = Py_BuildValue("i",_result);
6474 return _resultobj;
6475}
6476
6477#define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6478static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6479 PyObject * _resultobj;
6480 wxGridCellCoords * _arg0;
6481 int _arg1;
6482 PyObject * _argo0 = 0;
6483 char *_kwnames[] = { "self","n", NULL };
6484
6485 self = self;
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6487 return NULL;
6488 if (_argo0) {
6489 if (_argo0 == Py_None) { _arg0 = NULL; }
6490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6492 return NULL;
6493 }
6494 }
6495{
6496 wxPy_BEGIN_ALLOW_THREADS;
6497 wxGridCellCoords_SetCol(_arg0,_arg1);
6498
6499 wxPy_END_ALLOW_THREADS;
6500} Py_INCREF(Py_None);
6501 _resultobj = Py_None;
6502 return _resultobj;
6503}
6504
6505#define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6506static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6507 PyObject * _resultobj;
6508 wxGridCellCoords * _arg0;
6509 int _arg1;
6510 int _arg2;
6511 PyObject * _argo0 = 0;
6512 char *_kwnames[] = { "self","row","col", NULL };
6513
6514 self = self;
6515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6516 return NULL;
6517 if (_argo0) {
6518 if (_argo0 == Py_None) { _arg0 = NULL; }
6519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6521 return NULL;
6522 }
6523 }
6524{
6525 wxPy_BEGIN_ALLOW_THREADS;
6526 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6527
6528 wxPy_END_ALLOW_THREADS;
6529} Py_INCREF(Py_None);
6530 _resultobj = Py_None;
6531 return _resultobj;
6532}
6533
6534static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6535 PyObject* tup = PyTuple_New(2);
6536 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6537 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6538 return tup;
6539 }
6540static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6541 PyObject * _resultobj;
6542 PyObject * _result;
6543 wxGridCellCoords * _arg0;
6544 PyObject * _argo0 = 0;
6545 char *_kwnames[] = { "self", NULL };
6546
6547 self = self;
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6549 return NULL;
6550 if (_argo0) {
6551 if (_argo0 == Py_None) { _arg0 = NULL; }
6552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6554 return NULL;
6555 }
6556 }
6557{
6558 wxPy_BEGIN_ALLOW_THREADS;
6559 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6560
6561 wxPy_END_ALLOW_THREADS;
6562}{
6563 _resultobj = _result;
6564}
6565 return _resultobj;
6566}
6567
6568static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6569 return *self != other;
6570 }
6571static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6572 PyObject * _resultobj;
6573 int _result;
6574 wxGridCellCoords * _arg0;
6575 wxGridCellCoords * _arg1;
6576 PyObject * _argo0 = 0;
6577 PyObject * _argo1 = 0;
6578 char *_kwnames[] = { "self","other", NULL };
6579
6580 self = self;
6581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6582 return NULL;
6583 if (_argo0) {
6584 if (_argo0 == Py_None) { _arg0 = NULL; }
6585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6587 return NULL;
6588 }
6589 }
6590 if (_argo1) {
6591 if (_argo1 == Py_None) { _arg1 = NULL; }
6592 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6593 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6594 return NULL;
6595 }
6596 }
6597{
6598 wxPy_BEGIN_ALLOW_THREADS;
6599 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6600
6601 wxPy_END_ALLOW_THREADS;
6602} _resultobj = Py_BuildValue("i",_result);
6603 return _resultobj;
6604}
6605
6606static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6607 wxGrid *src;
6608 wxScrolledWindow *dest;
6609 src = (wxGrid *) ptr;
6610 dest = (wxScrolledWindow *) src;
6611 return (void *) dest;
6612}
6613
6614static void *SwigwxGridTowxPanel(void *ptr) {
6615 wxGrid *src;
6616 wxPanel *dest;
6617 src = (wxGrid *) ptr;
6618 dest = (wxPanel *) src;
6619 return (void *) dest;
6620}
6621
6622static void *SwigwxGridTowxWindow(void *ptr) {
6623 wxGrid *src;
6624 wxWindow *dest;
6625 src = (wxGrid *) ptr;
6626 dest = (wxWindow *) src;
6627 return (void *) dest;
6628}
6629
6630static void *SwigwxGridTowxEvtHandler(void *ptr) {
6631 wxGrid *src;
6632 wxEvtHandler *dest;
6633 src = (wxGrid *) ptr;
6634 dest = (wxEvtHandler *) src;
6635 return (void *) dest;
6636}
6637
6638#define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6639static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject * _resultobj;
6641 wxGrid * _result;
6642 wxWindow * _arg0;
6643 wxWindowID _arg1;
6644 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6645 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6646 long _arg4 = (long ) wxWANTS_CHARS;
6647 char * _arg5 = (char *) wxPanelNameStr;
6648 PyObject * _argo0 = 0;
6649 wxPoint temp;
6650 PyObject * _obj2 = 0;
6651 wxSize temp0;
6652 PyObject * _obj3 = 0;
6653 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6654 char _ptemp[128];
6655
6656 self = self;
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
6658 return NULL;
6659 if (_argo0) {
6660 if (_argo0 == Py_None) { _arg0 = NULL; }
6661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6663 return NULL;
6664 }
6665 }
6666 if (_obj2)
6667{
6668 _arg2 = &temp;
6669 if (! wxPoint_helper(_obj2, &_arg2))
6670 return NULL;
6671}
6672 if (_obj3)
6673{
6674 _arg3 = &temp0;
6675 if (! wxSize_helper(_obj3, &_arg3))
6676 return NULL;
6677}
6678{
6679 wxPy_BEGIN_ALLOW_THREADS;
6680 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
6681
6682 wxPy_END_ALLOW_THREADS;
6683} if (_result) {
6684 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
6685 _resultobj = Py_BuildValue("s",_ptemp);
6686 } else {
6687 Py_INCREF(Py_None);
6688 _resultobj = Py_None;
6689 }
6690 return _resultobj;
6691}
6692
6693#define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6694static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject * _resultobj;
6696 bool _result;
6697 wxGrid * _arg0;
6698 int _arg1;
6699 int _arg2;
6700 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6701 PyObject * _argo0 = 0;
6702 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
6703
6704 self = self;
6705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6706 return NULL;
6707 if (_argo0) {
6708 if (_argo0 == Py_None) { _arg0 = NULL; }
6709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6711 return NULL;
6712 }
6713 }
6714{
6715 wxPy_BEGIN_ALLOW_THREADS;
6716 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
6717
6718 wxPy_END_ALLOW_THREADS;
6719} _resultobj = Py_BuildValue("i",_result);
6720 return _resultobj;
6721}
6722
6723#define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6724static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6725 PyObject * _resultobj;
6726 wxGrid * _arg0;
6727 WXGRIDSELECTIONMODES _arg1;
6728 PyObject * _argo0 = 0;
6729 char *_kwnames[] = { "self","selmode", NULL };
6730
6731 self = self;
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
6733 return NULL;
6734 if (_argo0) {
6735 if (_argo0 == Py_None) { _arg0 = NULL; }
6736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6738 return NULL;
6739 }
6740 }
6741{
6742 wxPy_BEGIN_ALLOW_THREADS;
6743 wxGrid_SetSelectionMode(_arg0,_arg1);
6744
6745 wxPy_END_ALLOW_THREADS;
6746} Py_INCREF(Py_None);
6747 _resultobj = Py_None;
6748 return _resultobj;
6749}
6750
6751#define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6752static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6753 PyObject * _resultobj;
6754 int _result;
6755 wxGrid * _arg0;
6756 PyObject * _argo0 = 0;
6757 char *_kwnames[] = { "self", NULL };
6758
6759 self = self;
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
6761 return NULL;
6762 if (_argo0) {
6763 if (_argo0 == Py_None) { _arg0 = NULL; }
6764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6766 return NULL;
6767 }
6768 }
6769{
6770 wxPy_BEGIN_ALLOW_THREADS;
6771 _result = (int )wxGrid_GetNumberRows(_arg0);
6772
6773 wxPy_END_ALLOW_THREADS;
6774} _resultobj = Py_BuildValue("i",_result);
6775 return _resultobj;
6776}
6777
6778#define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6779static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6780 PyObject * _resultobj;
6781 int _result;
6782 wxGrid * _arg0;
6783 PyObject * _argo0 = 0;
6784 char *_kwnames[] = { "self", NULL };
6785
6786 self = self;
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
6788 return NULL;
6789 if (_argo0) {
6790 if (_argo0 == Py_None) { _arg0 = NULL; }
6791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6793 return NULL;
6794 }
6795 }
6796{
6797 wxPy_BEGIN_ALLOW_THREADS;
6798 _result = (int )wxGrid_GetNumberCols(_arg0);
6799
6800 wxPy_END_ALLOW_THREADS;
6801} _resultobj = Py_BuildValue("i",_result);
6802 return _resultobj;
6803}
6804
6805#define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6806static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6807 PyObject * _resultobj;
6808 bool _result;
6809 wxGrid * _arg0;
6810 wxGridTableMessage * _arg1;
6811 PyObject * _argo0 = 0;
6812 PyObject * _argo1 = 0;
6813 char *_kwnames[] = { "self","arg2", NULL };
6814
6815 self = self;
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
6817 return NULL;
6818 if (_argo0) {
6819 if (_argo0 == Py_None) { _arg0 = NULL; }
6820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6822 return NULL;
6823 }
6824 }
6825 if (_argo1) {
6826 if (_argo1 == Py_None) { _arg1 = NULL; }
6827 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
6828 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6829 return NULL;
6830 }
6831 }
6832{
6833 wxPy_BEGIN_ALLOW_THREADS;
6834 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
6835
6836 wxPy_END_ALLOW_THREADS;
6837} _resultobj = Py_BuildValue("i",_result);
6838 return _resultobj;
6839}
6840
6841#define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6842static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject * _resultobj;
6844 wxGridTableBase * _result;
6845 wxGrid * _arg0;
6846 PyObject * _argo0 = 0;
6847 char *_kwnames[] = { "self", NULL };
6848 char _ptemp[128];
6849
6850 self = self;
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
6852 return NULL;
6853 if (_argo0) {
6854 if (_argo0 == Py_None) { _arg0 = NULL; }
6855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6857 return NULL;
6858 }
6859 }
6860{
6861 wxPy_BEGIN_ALLOW_THREADS;
6862 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
6863
6864 wxPy_END_ALLOW_THREADS;
6865} if (_result) {
6866 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6867 _resultobj = Py_BuildValue("s",_ptemp);
6868 } else {
6869 Py_INCREF(Py_None);
6870 _resultobj = Py_None;
6871 }
6872 return _resultobj;
6873}
6874
6875#define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6876static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6877 PyObject * _resultobj;
6878 bool _result;
6879 wxGrid * _arg0;
6880 wxGridTableBase * _arg1;
6881 bool _arg2 = (bool ) FALSE;
6882 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6883 PyObject * _argo0 = 0;
6884 PyObject * _argo1 = 0;
6885 int tempbool2 = (int) FALSE;
6886 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
6887
6888 self = self;
6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
6890 return NULL;
6891 if (_argo0) {
6892 if (_argo0 == Py_None) { _arg0 = NULL; }
6893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
6895 return NULL;
6896 }
6897 }
6898 if (_argo1) {
6899 if (_argo1 == Py_None) { _arg1 = NULL; }
6900 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6901 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
6902 return NULL;
6903 }
6904 }
6905 _arg2 = (bool ) tempbool2;
6906{
6907 wxPy_BEGIN_ALLOW_THREADS;
6908 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
6909
6910 wxPy_END_ALLOW_THREADS;
6911} _resultobj = Py_BuildValue("i",_result);
6912 return _resultobj;
6913}
6914
6915#define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
6916static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6917 PyObject * _resultobj;
6918 wxGrid * _arg0;
6919 PyObject * _argo0 = 0;
6920 char *_kwnames[] = { "self", NULL };
6921
6922 self = self;
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
6924 return NULL;
6925 if (_argo0) {
6926 if (_argo0 == Py_None) { _arg0 = NULL; }
6927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
6929 return NULL;
6930 }
6931 }
6932{
6933 wxPy_BEGIN_ALLOW_THREADS;
6934 wxGrid_ClearGrid(_arg0);
6935
6936 wxPy_END_ALLOW_THREADS;
6937} Py_INCREF(Py_None);
6938 _resultobj = Py_None;
6939 return _resultobj;
6940}
6941
6942#define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
6943static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6944 PyObject * _resultobj;
6945 bool _result;
6946 wxGrid * _arg0;
6947 int _arg1 = (int ) 0;
6948 int _arg2 = (int ) 1;
6949 bool _arg3 = (bool ) TRUE;
6950 PyObject * _argo0 = 0;
6951 int tempbool3 = (int) TRUE;
6952 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
6953
6954 self = self;
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6956 return NULL;
6957 if (_argo0) {
6958 if (_argo0 == Py_None) { _arg0 = NULL; }
6959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
6961 return NULL;
6962 }
6963 }
6964 _arg3 = (bool ) tempbool3;
6965{
6966 wxPy_BEGIN_ALLOW_THREADS;
6967 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
6968
6969 wxPy_END_ALLOW_THREADS;
6970} _resultobj = Py_BuildValue("i",_result);
6971 return _resultobj;
6972}
6973
6974#define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
6975static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6976 PyObject * _resultobj;
6977 bool _result;
6978 wxGrid * _arg0;
6979 int _arg1 = (int ) 1;
6980 bool _arg2 = (bool ) TRUE;
6981 PyObject * _argo0 = 0;
6982 int tempbool2 = (int) TRUE;
6983 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
6984
6985 self = self;
6986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
6987 return NULL;
6988 if (_argo0) {
6989 if (_argo0 == Py_None) { _arg0 = NULL; }
6990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
6992 return NULL;
6993 }
6994 }
6995 _arg2 = (bool ) tempbool2;
6996{
6997 wxPy_BEGIN_ALLOW_THREADS;
6998 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
6999
7000 wxPy_END_ALLOW_THREADS;
7001} _resultobj = Py_BuildValue("i",_result);
7002 return _resultobj;
7003}
7004
7005#define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7006static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7007 PyObject * _resultobj;
7008 bool _result;
7009 wxGrid * _arg0;
7010 int _arg1 = (int ) 0;
7011 int _arg2 = (int ) 1;
7012 bool _arg3 = (bool ) TRUE;
7013 PyObject * _argo0 = 0;
7014 int tempbool3 = (int) TRUE;
7015 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7016
7017 self = self;
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7019 return NULL;
7020 if (_argo0) {
7021 if (_argo0 == Py_None) { _arg0 = NULL; }
7022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7024 return NULL;
7025 }
7026 }
7027 _arg3 = (bool ) tempbool3;
7028{
7029 wxPy_BEGIN_ALLOW_THREADS;
7030 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7031
7032 wxPy_END_ALLOW_THREADS;
7033} _resultobj = Py_BuildValue("i",_result);
7034 return _resultobj;
7035}
7036
7037#define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7038static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7039 PyObject * _resultobj;
7040 bool _result;
7041 wxGrid * _arg0;
7042 int _arg1 = (int ) 0;
7043 int _arg2 = (int ) 1;
7044 bool _arg3 = (bool ) TRUE;
7045 PyObject * _argo0 = 0;
7046 int tempbool3 = (int) TRUE;
7047 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7048
7049 self = self;
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7051 return NULL;
7052 if (_argo0) {
7053 if (_argo0 == Py_None) { _arg0 = NULL; }
7054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7056 return NULL;
7057 }
7058 }
7059 _arg3 = (bool ) tempbool3;
7060{
7061 wxPy_BEGIN_ALLOW_THREADS;
7062 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7063
7064 wxPy_END_ALLOW_THREADS;
7065} _resultobj = Py_BuildValue("i",_result);
7066 return _resultobj;
7067}
7068
7069#define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7070static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject * _resultobj;
7072 bool _result;
7073 wxGrid * _arg0;
7074 int _arg1 = (int ) 1;
7075 bool _arg2 = (bool ) TRUE;
7076 PyObject * _argo0 = 0;
7077 int tempbool2 = (int) TRUE;
7078 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7079
7080 self = self;
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7082 return NULL;
7083 if (_argo0) {
7084 if (_argo0 == Py_None) { _arg0 = NULL; }
7085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7087 return NULL;
7088 }
7089 }
7090 _arg2 = (bool ) tempbool2;
7091{
7092 wxPy_BEGIN_ALLOW_THREADS;
7093 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7094
7095 wxPy_END_ALLOW_THREADS;
7096} _resultobj = Py_BuildValue("i",_result);
7097 return _resultobj;
7098}
7099
7100#define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7101static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7102 PyObject * _resultobj;
7103 bool _result;
7104 wxGrid * _arg0;
7105 int _arg1 = (int ) 0;
7106 int _arg2 = (int ) 1;
7107 bool _arg3 = (bool ) TRUE;
7108 PyObject * _argo0 = 0;
7109 int tempbool3 = (int) TRUE;
7110 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7111
7112 self = self;
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7114 return NULL;
7115 if (_argo0) {
7116 if (_argo0 == Py_None) { _arg0 = NULL; }
7117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7119 return NULL;
7120 }
7121 }
7122 _arg3 = (bool ) tempbool3;
7123{
7124 wxPy_BEGIN_ALLOW_THREADS;
7125 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7126
7127 wxPy_END_ALLOW_THREADS;
7128} _resultobj = Py_BuildValue("i",_result);
7129 return _resultobj;
7130}
7131
7132#define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7133static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject * _resultobj;
7135 wxGrid * _arg0;
7136 wxDC * _arg1;
7137 wxGridCellAttr * _arg2;
7138 PyObject * _argo0 = 0;
7139 PyObject * _argo1 = 0;
7140 PyObject * _argo2 = 0;
7141 char *_kwnames[] = { "self","dc","attr", NULL };
7142
7143 self = self;
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7145 return NULL;
7146 if (_argo0) {
7147 if (_argo0 == Py_None) { _arg0 = NULL; }
7148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7150 return NULL;
7151 }
7152 }
7153 if (_argo1) {
7154 if (_argo1 == Py_None) { _arg1 = NULL; }
7155 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7156 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7157 return NULL;
7158 }
7159 }
7160 if (_argo2) {
7161 if (_argo2 == Py_None) { _arg2 = NULL; }
7162 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7163 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7164 return NULL;
7165 }
7166 }
7167{
7168 wxPy_BEGIN_ALLOW_THREADS;
7169 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7170
7171 wxPy_END_ALLOW_THREADS;
7172} Py_INCREF(Py_None);
7173 _resultobj = Py_None;
7174 return _resultobj;
7175}
7176
7177#define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7178static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject * _resultobj;
7180 wxGrid * _arg0;
7181 wxDC * _arg1;
7182 wxString * _arg2;
7183 wxRect * _arg3;
7184 int _arg4 = (int ) wxLEFT;
7185 int _arg5 = (int ) wxTOP;
7186 PyObject * _argo0 = 0;
7187 PyObject * _argo1 = 0;
7188 PyObject * _obj2 = 0;
7189 wxRect temp;
7190 PyObject * _obj3 = 0;
7191 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7192
7193 self = self;
7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7195 return NULL;
7196 if (_argo0) {
7197 if (_argo0 == Py_None) { _arg0 = NULL; }
7198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7200 return NULL;
7201 }
7202 }
7203 if (_argo1) {
7204 if (_argo1 == Py_None) { _arg1 = NULL; }
7205 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7206 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7207 return NULL;
7208 }
7209 }
7210{
2cd2fac8
RD
7211#if PYTHON_API_VERSION >= 1009
7212 char* tmpPtr; int tmpSize;
7213 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7214 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
7215 return NULL;
7216 }
7217 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7218 return NULL;
7219 _arg2 = new wxString(tmpPtr, tmpSize);
7220#else
f6bcfd97
BP
7221 if (!PyString_Check(_obj2)) {
7222 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7223 return NULL;
7224 }
2cd2fac8
RD
7225 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7226#endif
f6bcfd97
BP
7227}
7228{
7229 _arg3 = &temp;
7230 if (! wxRect_helper(_obj3, &_arg3))
7231 return NULL;
7232}
7233{
7234 wxPy_BEGIN_ALLOW_THREADS;
7235 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7236
7237 wxPy_END_ALLOW_THREADS;
7238} Py_INCREF(Py_None);
7239 _resultobj = Py_None;
7240{
7241 if (_obj2)
7242 delete _arg2;
7243}
7244 return _resultobj;
7245}
7246
7247#define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7248static PyObject *_wrap_wxGrid_StringToLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject * _resultobj;
7250 wxGrid * _arg0;
7251 wxString * _arg1;
7252 wxArrayString * _arg2;
7253 PyObject * _argo0 = 0;
7254 PyObject * _obj1 = 0;
7255 PyObject * _argo2 = 0;
7256 char *_kwnames[] = { "self","value","lines", NULL };
7257
7258 self = self;
7259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_StringToLines",_kwnames,&_argo0,&_obj1,&_argo2))
7260 return NULL;
7261 if (_argo0) {
7262 if (_argo0 == Py_None) { _arg0 = NULL; }
7263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7265 return NULL;
7266 }
7267 }
7268{
2cd2fac8
RD
7269#if PYTHON_API_VERSION >= 1009
7270 char* tmpPtr; int tmpSize;
7271 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7272 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
7273 return NULL;
7274 }
7275 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7276 return NULL;
7277 _arg1 = new wxString(tmpPtr, tmpSize);
7278#else
f6bcfd97
BP
7279 if (!PyString_Check(_obj1)) {
7280 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7281 return NULL;
7282 }
2cd2fac8
RD
7283 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7284#endif
f6bcfd97
BP
7285}
7286 if (_argo2) {
7287 if (_argo2 == Py_None) { _arg2 = NULL; }
7288 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7289 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7290 return NULL;
7291 }
7292 }
7293{
7294 wxPy_BEGIN_ALLOW_THREADS;
7295 wxGrid_StringToLines(_arg0,*_arg1,*_arg2);
7296
7297 wxPy_END_ALLOW_THREADS;
7298} Py_INCREF(Py_None);
7299 _resultobj = Py_None;
7300{
7301 if (_obj1)
7302 delete _arg1;
7303}
7304 return _resultobj;
7305}
7306
7307#define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7308static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7309 PyObject * _resultobj;
7310 wxGrid * _arg0;
7311 wxDC * _arg1;
7312 wxArrayString * _arg2;
7313 long * _arg3;
7314 long temp;
7315 long * _arg4;
7316 long temp0;
7317 PyObject * _argo0 = 0;
7318 PyObject * _argo1 = 0;
7319 PyObject * _argo2 = 0;
7320 char *_kwnames[] = { "self","dc","lines", NULL };
7321
7322 self = self;
7323{
7324 _arg3 = &temp;
7325}
7326{
7327 _arg4 = &temp0;
7328}
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_argo2))
7330 return NULL;
7331 if (_argo0) {
7332 if (_argo0 == Py_None) { _arg0 = NULL; }
7333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7335 return NULL;
7336 }
7337 }
7338 if (_argo1) {
7339 if (_argo1 == Py_None) { _arg1 = NULL; }
7340 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7341 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7342 return NULL;
7343 }
7344 }
7345 if (_argo2) {
7346 if (_argo2 == Py_None) { _arg2 = NULL; }
7347 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7348 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7349 return NULL;
7350 }
7351 }
7352{
7353 wxPy_BEGIN_ALLOW_THREADS;
7354 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7355
7356 wxPy_END_ALLOW_THREADS;
7357} Py_INCREF(Py_None);
7358 _resultobj = Py_None;
7359{
7360 PyObject *o;
7361 o = PyInt_FromLong((long) (*_arg3));
7362 _resultobj = t_output_helper(_resultobj, o);
7363}
7364{
7365 PyObject *o;
7366 o = PyInt_FromLong((long) (*_arg4));
7367 _resultobj = t_output_helper(_resultobj, o);
7368}
7369 return _resultobj;
7370}
7371
7372#define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7373static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject * _resultobj;
7375 wxGrid * _arg0;
7376 PyObject * _argo0 = 0;
7377 char *_kwnames[] = { "self", NULL };
7378
7379 self = self;
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7381 return NULL;
7382 if (_argo0) {
7383 if (_argo0 == Py_None) { _arg0 = NULL; }
7384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7386 return NULL;
7387 }
7388 }
7389{
7390 wxPy_BEGIN_ALLOW_THREADS;
7391 wxGrid_BeginBatch(_arg0);
7392
7393 wxPy_END_ALLOW_THREADS;
7394} Py_INCREF(Py_None);
7395 _resultobj = Py_None;
7396 return _resultobj;
7397}
7398
7399#define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7400static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7401 PyObject * _resultobj;
7402 wxGrid * _arg0;
7403 PyObject * _argo0 = 0;
7404 char *_kwnames[] = { "self", NULL };
7405
7406 self = self;
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7408 return NULL;
7409 if (_argo0) {
7410 if (_argo0 == Py_None) { _arg0 = NULL; }
7411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7413 return NULL;
7414 }
7415 }
7416{
7417 wxPy_BEGIN_ALLOW_THREADS;
7418 wxGrid_EndBatch(_arg0);
7419
7420 wxPy_END_ALLOW_THREADS;
7421} Py_INCREF(Py_None);
7422 _resultobj = Py_None;
7423 return _resultobj;
7424}
7425
7426#define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7427static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7428 PyObject * _resultobj;
7429 int _result;
7430 wxGrid * _arg0;
7431 PyObject * _argo0 = 0;
7432 char *_kwnames[] = { "self", NULL };
7433
7434 self = self;
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7436 return NULL;
7437 if (_argo0) {
7438 if (_argo0 == Py_None) { _arg0 = NULL; }
7439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7441 return NULL;
7442 }
7443 }
7444{
7445 wxPy_BEGIN_ALLOW_THREADS;
7446 _result = (int )wxGrid_GetBatchCount(_arg0);
7447
7448 wxPy_END_ALLOW_THREADS;
7449} _resultobj = Py_BuildValue("i",_result);
7450 return _resultobj;
7451}
7452
7453#define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7454static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7455 PyObject * _resultobj;
7456 bool _result;
7457 wxGrid * _arg0;
7458 PyObject * _argo0 = 0;
7459 char *_kwnames[] = { "self", NULL };
7460
7461 self = self;
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7463 return NULL;
7464 if (_argo0) {
7465 if (_argo0 == Py_None) { _arg0 = NULL; }
7466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7468 return NULL;
7469 }
7470 }
7471{
7472 wxPy_BEGIN_ALLOW_THREADS;
7473 _result = (bool )wxGrid_IsEditable(_arg0);
7474
7475 wxPy_END_ALLOW_THREADS;
7476} _resultobj = Py_BuildValue("i",_result);
7477 return _resultobj;
7478}
7479
7480#define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7481static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7482 PyObject * _resultobj;
7483 wxGrid * _arg0;
7484 bool _arg1;
7485 PyObject * _argo0 = 0;
7486 int tempbool1;
7487 char *_kwnames[] = { "self","edit", NULL };
7488
7489 self = self;
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7491 return NULL;
7492 if (_argo0) {
7493 if (_argo0 == Py_None) { _arg0 = NULL; }
7494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7496 return NULL;
7497 }
7498 }
7499 _arg1 = (bool ) tempbool1;
7500{
7501 wxPy_BEGIN_ALLOW_THREADS;
7502 wxGrid_EnableEditing(_arg0,_arg1);
7503
7504 wxPy_END_ALLOW_THREADS;
7505} Py_INCREF(Py_None);
7506 _resultobj = Py_None;
7507 return _resultobj;
7508}
7509
7510#define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7511static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7512 PyObject * _resultobj;
7513 wxGrid * _arg0;
7514 bool _arg1 = (bool ) TRUE;
7515 PyObject * _argo0 = 0;
7516 int tempbool1 = (int) TRUE;
7517 char *_kwnames[] = { "self","enable", NULL };
7518
7519 self = self;
7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7521 return NULL;
7522 if (_argo0) {
7523 if (_argo0 == Py_None) { _arg0 = NULL; }
7524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7526 return NULL;
7527 }
7528 }
7529 _arg1 = (bool ) tempbool1;
7530{
7531 wxPy_BEGIN_ALLOW_THREADS;
7532 wxGrid_EnableCellEditControl(_arg0,_arg1);
7533
7534 wxPy_END_ALLOW_THREADS;
7535} Py_INCREF(Py_None);
7536 _resultobj = Py_None;
7537 return _resultobj;
7538}
7539
7540#define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7541static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7542 PyObject * _resultobj;
7543 wxGrid * _arg0;
7544 PyObject * _argo0 = 0;
7545 char *_kwnames[] = { "self", NULL };
7546
7547 self = self;
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7549 return NULL;
7550 if (_argo0) {
7551 if (_argo0 == Py_None) { _arg0 = NULL; }
7552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7554 return NULL;
7555 }
7556 }
7557{
7558 wxPy_BEGIN_ALLOW_THREADS;
7559 wxGrid_DisableCellEditControl(_arg0);
7560
7561 wxPy_END_ALLOW_THREADS;
7562} Py_INCREF(Py_None);
7563 _resultobj = Py_None;
7564 return _resultobj;
7565}
7566
7567#define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7568static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7569 PyObject * _resultobj;
7570 bool _result;
7571 wxGrid * _arg0;
7572 PyObject * _argo0 = 0;
7573 char *_kwnames[] = { "self", NULL };
7574
7575 self = self;
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7577 return NULL;
7578 if (_argo0) {
7579 if (_argo0 == Py_None) { _arg0 = NULL; }
7580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7582 return NULL;
7583 }
7584 }
7585{
7586 wxPy_BEGIN_ALLOW_THREADS;
7587 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7588
7589 wxPy_END_ALLOW_THREADS;
7590} _resultobj = Py_BuildValue("i",_result);
7591 return _resultobj;
7592}
7593
7594#define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7595static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7596 PyObject * _resultobj;
7597 bool _result;
7598 wxGrid * _arg0;
7599 PyObject * _argo0 = 0;
7600 char *_kwnames[] = { "self", NULL };
7601
7602 self = self;
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7604 return NULL;
7605 if (_argo0) {
7606 if (_argo0 == Py_None) { _arg0 = NULL; }
7607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7609 return NULL;
7610 }
7611 }
7612{
7613 wxPy_BEGIN_ALLOW_THREADS;
7614 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7615
7616 wxPy_END_ALLOW_THREADS;
7617} _resultobj = Py_BuildValue("i",_result);
7618 return _resultobj;
7619}
7620
7621#define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7622static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
7623 PyObject * _resultobj;
7624 bool _result;
7625 wxGrid * _arg0;
7626 PyObject * _argo0 = 0;
7627 char *_kwnames[] = { "self", NULL };
7628
7629 self = self;
7630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
7631 return NULL;
7632 if (_argo0) {
7633 if (_argo0 == Py_None) { _arg0 = NULL; }
7634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7636 return NULL;
7637 }
7638 }
7639{
7640 wxPy_BEGIN_ALLOW_THREADS;
7641 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
7642
7643 wxPy_END_ALLOW_THREADS;
7644} _resultobj = Py_BuildValue("i",_result);
7645 return _resultobj;
7646}
7647
7648#define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7649static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
7650 PyObject * _resultobj;
7651 bool _result;
7652 wxGrid * _arg0;
7653 PyObject * _argo0 = 0;
7654 char *_kwnames[] = { "self", NULL };
7655
7656 self = self;
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
7658 return NULL;
7659 if (_argo0) {
7660 if (_argo0 == Py_None) { _arg0 = NULL; }
7661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7663 return NULL;
7664 }
7665 }
7666{
7667 wxPy_BEGIN_ALLOW_THREADS;
7668 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
7669
7670 wxPy_END_ALLOW_THREADS;
7671} _resultobj = Py_BuildValue("i",_result);
7672 return _resultobj;
7673}
7674
7675#define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7676static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject * _resultobj;
7678 wxGrid * _arg0;
7679 PyObject * _argo0 = 0;
7680 char *_kwnames[] = { "self", NULL };
7681
7682 self = self;
7683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
7684 return NULL;
7685 if (_argo0) {
7686 if (_argo0 == Py_None) { _arg0 = NULL; }
7687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7689 return NULL;
7690 }
7691 }
7692{
7693 wxPy_BEGIN_ALLOW_THREADS;
7694 wxGrid_ShowCellEditControl(_arg0);
7695
7696 wxPy_END_ALLOW_THREADS;
7697} Py_INCREF(Py_None);
7698 _resultobj = Py_None;
7699 return _resultobj;
7700}
7701
7702#define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7703static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject * _resultobj;
7705 wxGrid * _arg0;
7706 PyObject * _argo0 = 0;
7707 char *_kwnames[] = { "self", NULL };
7708
7709 self = self;
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
7711 return NULL;
7712 if (_argo0) {
7713 if (_argo0 == Py_None) { _arg0 = NULL; }
7714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7716 return NULL;
7717 }
7718 }
7719{
7720 wxPy_BEGIN_ALLOW_THREADS;
7721 wxGrid_HideCellEditControl(_arg0);
7722
7723 wxPy_END_ALLOW_THREADS;
7724} Py_INCREF(Py_None);
7725 _resultobj = Py_None;
7726 return _resultobj;
7727}
7728
7729#define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7730static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7731 PyObject * _resultobj;
7732 wxGrid * _arg0;
7733 PyObject * _argo0 = 0;
7734 char *_kwnames[] = { "self", NULL };
7735
7736 self = self;
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
7738 return NULL;
7739 if (_argo0) {
7740 if (_argo0 == Py_None) { _arg0 = NULL; }
7741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7743 return NULL;
7744 }
7745 }
7746{
7747 wxPy_BEGIN_ALLOW_THREADS;
7748 wxGrid_SaveEditControlValue(_arg0);
7749
7750 wxPy_END_ALLOW_THREADS;
7751} Py_INCREF(Py_None);
7752 _resultobj = Py_None;
7753 return _resultobj;
7754}
7755
7756static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
7757 wxGridCellCoords rv;
7758 self->XYToCell(x, y, rv);
7759 return new wxGridCellCoords(rv);
7760 }
7761static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
7762 PyObject * _resultobj;
7763 wxGridCellCoords * _result;
7764 wxGrid * _arg0;
7765 int _arg1;
7766 int _arg2;
7767 PyObject * _argo0 = 0;
7768 char *_kwnames[] = { "self","x","y", NULL };
7769 char _ptemp[128];
7770
7771 self = self;
7772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
7773 return NULL;
7774 if (_argo0) {
7775 if (_argo0 == Py_None) { _arg0 = NULL; }
7776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7778 return NULL;
7779 }
7780 }
7781{
7782 wxPy_BEGIN_ALLOW_THREADS;
7783 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
7784
7785 wxPy_END_ALLOW_THREADS;
7786} if (_result) {
7787 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7788 _resultobj = Py_BuildValue("s",_ptemp);
7789 } else {
7790 Py_INCREF(Py_None);
7791 _resultobj = Py_None;
7792 }
7793 return _resultobj;
7794}
7795
7796#define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7797static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject * _resultobj;
7799 int _result;
7800 wxGrid * _arg0;
7801 int _arg1;
7802 PyObject * _argo0 = 0;
7803 char *_kwnames[] = { "self","y", NULL };
7804
7805 self = self;
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
7807 return NULL;
7808 if (_argo0) {
7809 if (_argo0 == Py_None) { _arg0 = NULL; }
7810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7812 return NULL;
7813 }
7814 }
7815{
7816 wxPy_BEGIN_ALLOW_THREADS;
7817 _result = (int )wxGrid_YToRow(_arg0,_arg1);
7818
7819 wxPy_END_ALLOW_THREADS;
7820} _resultobj = Py_BuildValue("i",_result);
7821 return _resultobj;
7822}
7823
7824#define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7825static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7826 PyObject * _resultobj;
7827 int _result;
7828 wxGrid * _arg0;
7829 int _arg1;
7830 PyObject * _argo0 = 0;
7831 char *_kwnames[] = { "self","x", NULL };
7832
7833 self = self;
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
7835 return NULL;
7836 if (_argo0) {
7837 if (_argo0 == Py_None) { _arg0 = NULL; }
7838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7840 return NULL;
7841 }
7842 }
7843{
7844 wxPy_BEGIN_ALLOW_THREADS;
7845 _result = (int )wxGrid_XToCol(_arg0,_arg1);
7846
7847 wxPy_END_ALLOW_THREADS;
7848} _resultobj = Py_BuildValue("i",_result);
7849 return _resultobj;
7850}
7851
7852#define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7853static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7854 PyObject * _resultobj;
7855 int _result;
7856 wxGrid * _arg0;
7857 int _arg1;
7858 PyObject * _argo0 = 0;
7859 char *_kwnames[] = { "self","y", NULL };
7860
7861 self = self;
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
7863 return NULL;
7864 if (_argo0) {
7865 if (_argo0 == Py_None) { _arg0 = NULL; }
7866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
7868 return NULL;
7869 }
7870 }
7871{
7872 wxPy_BEGIN_ALLOW_THREADS;
7873 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
7874
7875 wxPy_END_ALLOW_THREADS;
7876} _resultobj = Py_BuildValue("i",_result);
7877 return _resultobj;
7878}
7879
7880#define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7881static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7882 PyObject * _resultobj;
7883 int _result;
7884 wxGrid * _arg0;
7885 int _arg1;
7886 PyObject * _argo0 = 0;
7887 char *_kwnames[] = { "self","x", NULL };
7888
7889 self = self;
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
7891 return NULL;
7892 if (_argo0) {
7893 if (_argo0 == Py_None) { _arg0 = NULL; }
7894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
7896 return NULL;
7897 }
7898 }
7899{
7900 wxPy_BEGIN_ALLOW_THREADS;
7901 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
7902
7903 wxPy_END_ALLOW_THREADS;
7904} _resultobj = Py_BuildValue("i",_result);
7905 return _resultobj;
7906}
7907
7908#define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
7909static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7910 PyObject * _resultobj;
7911 wxRect * _result;
7912 wxGrid * _arg0;
7913 int _arg1;
7914 int _arg2;
7915 PyObject * _argo0 = 0;
7916 char *_kwnames[] = { "self","row","col", NULL };
7917 char _ptemp[128];
7918
7919 self = self;
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
7921 return NULL;
7922 if (_argo0) {
7923 if (_argo0 == Py_None) { _arg0 = NULL; }
7924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
7926 return NULL;
7927 }
7928 }
7929{
7930 wxPy_BEGIN_ALLOW_THREADS;
7931 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
7932
7933 wxPy_END_ALLOW_THREADS;
7934} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
7935 _resultobj = Py_BuildValue("s",_ptemp);
7936 return _resultobj;
7937}
7938
7939#define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
7940static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7941 PyObject * _resultobj;
7942 int _result;
7943 wxGrid * _arg0;
7944 PyObject * _argo0 = 0;
7945 char *_kwnames[] = { "self", NULL };
7946
7947 self = self;
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
7949 return NULL;
7950 if (_argo0) {
7951 if (_argo0 == Py_None) { _arg0 = NULL; }
7952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
7954 return NULL;
7955 }
7956 }
7957{
7958 wxPy_BEGIN_ALLOW_THREADS;
7959 _result = (int )wxGrid_GetGridCursorRow(_arg0);
7960
7961 wxPy_END_ALLOW_THREADS;
7962} _resultobj = Py_BuildValue("i",_result);
7963 return _resultobj;
7964}
7965
7966#define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
7967static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7968 PyObject * _resultobj;
7969 int _result;
7970 wxGrid * _arg0;
7971 PyObject * _argo0 = 0;
7972 char *_kwnames[] = { "self", NULL };
7973
7974 self = self;
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
7976 return NULL;
7977 if (_argo0) {
7978 if (_argo0 == Py_None) { _arg0 = NULL; }
7979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
7981 return NULL;
7982 }
7983 }
7984{
7985 wxPy_BEGIN_ALLOW_THREADS;
7986 _result = (int )wxGrid_GetGridCursorCol(_arg0);
7987
7988 wxPy_END_ALLOW_THREADS;
7989} _resultobj = Py_BuildValue("i",_result);
7990 return _resultobj;
7991}
7992
7993#define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
7994static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7995 PyObject * _resultobj;
7996 bool _result;
7997 wxGrid * _arg0;
7998 int _arg1;
7999 int _arg2;
8000 bool _arg3 = (bool ) TRUE;
8001 PyObject * _argo0 = 0;
8002 int tempbool3 = (int) TRUE;
8003 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8004
8005 self = self;
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8007 return NULL;
8008 if (_argo0) {
8009 if (_argo0 == Py_None) { _arg0 = NULL; }
8010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8012 return NULL;
8013 }
8014 }
8015 _arg3 = (bool ) tempbool3;
8016{
8017 wxPy_BEGIN_ALLOW_THREADS;
8018 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8019
8020 wxPy_END_ALLOW_THREADS;
8021} _resultobj = Py_BuildValue("i",_result);
8022 return _resultobj;
8023}
8024
8025#define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8026static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8027 PyObject * _resultobj;
8028 wxGrid * _arg0;
8029 int _arg1;
8030 int _arg2;
8031 PyObject * _argo0 = 0;
8032 char *_kwnames[] = { "self","row","col", NULL };
8033
8034 self = self;
8035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8036 return NULL;
8037 if (_argo0) {
8038 if (_argo0 == Py_None) { _arg0 = NULL; }
8039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8041 return NULL;
8042 }
8043 }
8044{
8045 wxPy_BEGIN_ALLOW_THREADS;
8046 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8047
8048 wxPy_END_ALLOW_THREADS;
8049} Py_INCREF(Py_None);
8050 _resultobj = Py_None;
8051 return _resultobj;
8052}
8053
8054#define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8055static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject * _resultobj;
8057 wxGrid * _arg0;
8058 int _arg1;
8059 int _arg2;
8060 PyObject * _argo0 = 0;
8061 char *_kwnames[] = { "self","row","col", NULL };
8062
8063 self = self;
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8065 return NULL;
8066 if (_argo0) {
8067 if (_argo0 == Py_None) { _arg0 = NULL; }
8068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8070 return NULL;
8071 }
8072 }
8073{
8074 wxPy_BEGIN_ALLOW_THREADS;
8075 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8076
8077 wxPy_END_ALLOW_THREADS;
8078} Py_INCREF(Py_None);
8079 _resultobj = Py_None;
8080 return _resultobj;
8081}
8082
8083#define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8084static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8085 PyObject * _resultobj;
8086 bool _result;
8087 wxGrid * _arg0;
8088 bool _arg1;
8089 PyObject * _argo0 = 0;
8090 int tempbool1;
8091 char *_kwnames[] = { "self","expandSelection", NULL };
8092
8093 self = self;
8094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8095 return NULL;
8096 if (_argo0) {
8097 if (_argo0 == Py_None) { _arg0 = NULL; }
8098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8100 return NULL;
8101 }
8102 }
8103 _arg1 = (bool ) tempbool1;
8104{
8105 wxPy_BEGIN_ALLOW_THREADS;
8106 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8107
8108 wxPy_END_ALLOW_THREADS;
8109} _resultobj = Py_BuildValue("i",_result);
8110 return _resultobj;
8111}
8112
8113#define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8114static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8115 PyObject * _resultobj;
8116 bool _result;
8117 wxGrid * _arg0;
8118 bool _arg1;
8119 PyObject * _argo0 = 0;
8120 int tempbool1;
8121 char *_kwnames[] = { "self","expandSelection", NULL };
8122
8123 self = self;
8124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8125 return NULL;
8126 if (_argo0) {
8127 if (_argo0 == Py_None) { _arg0 = NULL; }
8128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8130 return NULL;
8131 }
8132 }
8133 _arg1 = (bool ) tempbool1;
8134{
8135 wxPy_BEGIN_ALLOW_THREADS;
8136 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8137
8138 wxPy_END_ALLOW_THREADS;
8139} _resultobj = Py_BuildValue("i",_result);
8140 return _resultobj;
8141}
8142
8143#define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8144static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8145 PyObject * _resultobj;
8146 bool _result;
8147 wxGrid * _arg0;
8148 bool _arg1;
8149 PyObject * _argo0 = 0;
8150 int tempbool1;
8151 char *_kwnames[] = { "self","expandSelection", NULL };
8152
8153 self = self;
8154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8155 return NULL;
8156 if (_argo0) {
8157 if (_argo0 == Py_None) { _arg0 = NULL; }
8158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8160 return NULL;
8161 }
8162 }
8163 _arg1 = (bool ) tempbool1;
8164{
8165 wxPy_BEGIN_ALLOW_THREADS;
8166 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8167
8168 wxPy_END_ALLOW_THREADS;
8169} _resultobj = Py_BuildValue("i",_result);
8170 return _resultobj;
8171}
8172
8173#define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8174static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8175 PyObject * _resultobj;
8176 bool _result;
8177 wxGrid * _arg0;
8178 bool _arg1;
8179 PyObject * _argo0 = 0;
8180 int tempbool1;
8181 char *_kwnames[] = { "self","expandSelection", NULL };
8182
8183 self = self;
8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8185 return NULL;
8186 if (_argo0) {
8187 if (_argo0 == Py_None) { _arg0 = NULL; }
8188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8190 return NULL;
8191 }
8192 }
8193 _arg1 = (bool ) tempbool1;
8194{
8195 wxPy_BEGIN_ALLOW_THREADS;
8196 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8197
8198 wxPy_END_ALLOW_THREADS;
8199} _resultobj = Py_BuildValue("i",_result);
8200 return _resultobj;
8201}
8202
8203#define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8204static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8205 PyObject * _resultobj;
8206 bool _result;
8207 wxGrid * _arg0;
8208 PyObject * _argo0 = 0;
8209 char *_kwnames[] = { "self", NULL };
8210
8211 self = self;
8212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8213 return NULL;
8214 if (_argo0) {
8215 if (_argo0 == Py_None) { _arg0 = NULL; }
8216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8218 return NULL;
8219 }
8220 }
8221{
8222 wxPy_BEGIN_ALLOW_THREADS;
8223 _result = (bool )wxGrid_MovePageDown(_arg0);
8224
8225 wxPy_END_ALLOW_THREADS;
8226} _resultobj = Py_BuildValue("i",_result);
8227 return _resultobj;
8228}
8229
8230#define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8231static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8232 PyObject * _resultobj;
8233 bool _result;
8234 wxGrid * _arg0;
8235 PyObject * _argo0 = 0;
8236 char *_kwnames[] = { "self", NULL };
8237
8238 self = self;
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8240 return NULL;
8241 if (_argo0) {
8242 if (_argo0 == Py_None) { _arg0 = NULL; }
8243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8245 return NULL;
8246 }
8247 }
8248{
8249 wxPy_BEGIN_ALLOW_THREADS;
8250 _result = (bool )wxGrid_MovePageUp(_arg0);
8251
8252 wxPy_END_ALLOW_THREADS;
8253} _resultobj = Py_BuildValue("i",_result);
8254 return _resultobj;
8255}
8256
8257#define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8258static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8259 PyObject * _resultobj;
8260 bool _result;
8261 wxGrid * _arg0;
8262 bool _arg1;
8263 PyObject * _argo0 = 0;
8264 int tempbool1;
8265 char *_kwnames[] = { "self","expandSelection", NULL };
8266
8267 self = self;
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8269 return NULL;
8270 if (_argo0) {
8271 if (_argo0 == Py_None) { _arg0 = NULL; }
8272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8274 return NULL;
8275 }
8276 }
8277 _arg1 = (bool ) tempbool1;
8278{
8279 wxPy_BEGIN_ALLOW_THREADS;
8280 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8281
8282 wxPy_END_ALLOW_THREADS;
8283} _resultobj = Py_BuildValue("i",_result);
8284 return _resultobj;
8285}
8286
8287#define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8288static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8289 PyObject * _resultobj;
8290 bool _result;
8291 wxGrid * _arg0;
8292 bool _arg1;
8293 PyObject * _argo0 = 0;
8294 int tempbool1;
8295 char *_kwnames[] = { "self","expandSelection", NULL };
8296
8297 self = self;
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8299 return NULL;
8300 if (_argo0) {
8301 if (_argo0 == Py_None) { _arg0 = NULL; }
8302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8304 return NULL;
8305 }
8306 }
8307 _arg1 = (bool ) tempbool1;
8308{
8309 wxPy_BEGIN_ALLOW_THREADS;
8310 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8311
8312 wxPy_END_ALLOW_THREADS;
8313} _resultobj = Py_BuildValue("i",_result);
8314 return _resultobj;
8315}
8316
8317#define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8318static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8319 PyObject * _resultobj;
8320 bool _result;
8321 wxGrid * _arg0;
8322 bool _arg1;
8323 PyObject * _argo0 = 0;
8324 int tempbool1;
8325 char *_kwnames[] = { "self","expandSelection", NULL };
8326
8327 self = self;
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8329 return NULL;
8330 if (_argo0) {
8331 if (_argo0 == Py_None) { _arg0 = NULL; }
8332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8334 return NULL;
8335 }
8336 }
8337 _arg1 = (bool ) tempbool1;
8338{
8339 wxPy_BEGIN_ALLOW_THREADS;
8340 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8341
8342 wxPy_END_ALLOW_THREADS;
8343} _resultobj = Py_BuildValue("i",_result);
8344 return _resultobj;
8345}
8346
8347#define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8348static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8349 PyObject * _resultobj;
8350 bool _result;
8351 wxGrid * _arg0;
8352 bool _arg1;
8353 PyObject * _argo0 = 0;
8354 int tempbool1;
8355 char *_kwnames[] = { "self","expandSelection", NULL };
8356
8357 self = self;
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8359 return NULL;
8360 if (_argo0) {
8361 if (_argo0 == Py_None) { _arg0 = NULL; }
8362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8364 return NULL;
8365 }
8366 }
8367 _arg1 = (bool ) tempbool1;
8368{
8369 wxPy_BEGIN_ALLOW_THREADS;
8370 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8371
8372 wxPy_END_ALLOW_THREADS;
8373} _resultobj = Py_BuildValue("i",_result);
8374 return _resultobj;
8375}
8376
8377#define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8378static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8379 PyObject * _resultobj;
8380 int _result;
8381 wxGrid * _arg0;
8382 PyObject * _argo0 = 0;
8383 char *_kwnames[] = { "self", NULL };
8384
8385 self = self;
8386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8387 return NULL;
8388 if (_argo0) {
8389 if (_argo0 == Py_None) { _arg0 = NULL; }
8390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8392 return NULL;
8393 }
8394 }
8395{
8396 wxPy_BEGIN_ALLOW_THREADS;
8397 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8398
8399 wxPy_END_ALLOW_THREADS;
8400} _resultobj = Py_BuildValue("i",_result);
8401 return _resultobj;
8402}
8403
8404#define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8405static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8406 PyObject * _resultobj;
8407 int _result;
8408 wxGrid * _arg0;
8409 PyObject * _argo0 = 0;
8410 char *_kwnames[] = { "self", NULL };
8411
8412 self = self;
8413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8414 return NULL;
8415 if (_argo0) {
8416 if (_argo0 == Py_None) { _arg0 = NULL; }
8417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8419 return NULL;
8420 }
8421 }
8422{
8423 wxPy_BEGIN_ALLOW_THREADS;
8424 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8425
8426 wxPy_END_ALLOW_THREADS;
8427} _resultobj = Py_BuildValue("i",_result);
8428 return _resultobj;
8429}
8430
8431#define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8432static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8433 PyObject * _resultobj;
8434 int _result;
8435 wxGrid * _arg0;
8436 PyObject * _argo0 = 0;
8437 char *_kwnames[] = { "self", NULL };
8438
8439 self = self;
8440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8441 return NULL;
8442 if (_argo0) {
8443 if (_argo0 == Py_None) { _arg0 = NULL; }
8444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8446 return NULL;
8447 }
8448 }
8449{
8450 wxPy_BEGIN_ALLOW_THREADS;
8451 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8452
8453 wxPy_END_ALLOW_THREADS;
8454} _resultobj = Py_BuildValue("i",_result);
8455 return _resultobj;
8456}
8457
8458#define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8459static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8460 PyObject * _resultobj;
8461 int _result;
8462 wxGrid * _arg0;
8463 PyObject * _argo0 = 0;
8464 char *_kwnames[] = { "self", NULL };
8465
8466 self = self;
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8468 return NULL;
8469 if (_argo0) {
8470 if (_argo0 == Py_None) { _arg0 = NULL; }
8471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8473 return NULL;
8474 }
8475 }
8476{
8477 wxPy_BEGIN_ALLOW_THREADS;
8478 _result = (int )wxGrid_GetColLabelSize(_arg0);
8479
8480 wxPy_END_ALLOW_THREADS;
8481} _resultobj = Py_BuildValue("i",_result);
8482 return _resultobj;
8483}
8484
8485#define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8486static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject * _resultobj;
8488 wxColour * _result;
8489 wxGrid * _arg0;
8490 PyObject * _argo0 = 0;
8491 char *_kwnames[] = { "self", NULL };
8492 char _ptemp[128];
8493
8494 self = self;
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8496 return NULL;
8497 if (_argo0) {
8498 if (_argo0 == Py_None) { _arg0 = NULL; }
8499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8501 return NULL;
8502 }
8503 }
8504{
8505 wxPy_BEGIN_ALLOW_THREADS;
8506 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8507
8508 wxPy_END_ALLOW_THREADS;
8509} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8510 _resultobj = Py_BuildValue("s",_ptemp);
8511 return _resultobj;
8512}
8513
8514#define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8515static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8516 PyObject * _resultobj;
8517 wxColour * _result;
8518 wxGrid * _arg0;
8519 PyObject * _argo0 = 0;
8520 char *_kwnames[] = { "self", NULL };
8521 char _ptemp[128];
8522
8523 self = self;
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8525 return NULL;
8526 if (_argo0) {
8527 if (_argo0 == Py_None) { _arg0 = NULL; }
8528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8530 return NULL;
8531 }
8532 }
8533{
8534 wxPy_BEGIN_ALLOW_THREADS;
8535 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8536
8537 wxPy_END_ALLOW_THREADS;
8538} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8539 _resultobj = Py_BuildValue("s",_ptemp);
8540 return _resultobj;
8541}
8542
8543#define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8544static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8545 PyObject * _resultobj;
8546 wxFont * _result;
8547 wxGrid * _arg0;
8548 PyObject * _argo0 = 0;
8549 char *_kwnames[] = { "self", NULL };
8550 char _ptemp[128];
8551
8552 self = self;
8553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8554 return NULL;
8555 if (_argo0) {
8556 if (_argo0 == Py_None) { _arg0 = NULL; }
8557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8559 return NULL;
8560 }
8561 }
8562{
8563 wxPy_BEGIN_ALLOW_THREADS;
8564 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8565
8566 wxPy_END_ALLOW_THREADS;
8567} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8568 _resultobj = Py_BuildValue("s",_ptemp);
8569 return _resultobj;
8570}
8571
8572#define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8573static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8574 PyObject * _resultobj;
8575 wxGrid * _arg0;
8576 int * _arg1;
8577 int temp;
8578 int * _arg2;
8579 int temp0;
8580 PyObject * _argo0 = 0;
8581 char *_kwnames[] = { "self", NULL };
8582
8583 self = self;
8584{
8585 _arg1 = &temp;
8586}
8587{
8588 _arg2 = &temp0;
8589}
8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
8591 return NULL;
8592 if (_argo0) {
8593 if (_argo0 == Py_None) { _arg0 = NULL; }
8594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8596 return NULL;
8597 }
8598 }
8599{
8600 wxPy_BEGIN_ALLOW_THREADS;
8601 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
8602
8603 wxPy_END_ALLOW_THREADS;
8604} Py_INCREF(Py_None);
8605 _resultobj = Py_None;
8606{
8607 PyObject *o;
8608 o = PyInt_FromLong((long) (*_arg1));
8609 _resultobj = t_output_helper(_resultobj, o);
8610}
8611{
8612 PyObject *o;
8613 o = PyInt_FromLong((long) (*_arg2));
8614 _resultobj = t_output_helper(_resultobj, o);
8615}
8616 return _resultobj;
8617}
8618
8619#define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8620static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8621 PyObject * _resultobj;
8622 wxGrid * _arg0;
8623 int * _arg1;
8624 int temp;
8625 int * _arg2;
8626 int temp0;
8627 PyObject * _argo0 = 0;
8628 char *_kwnames[] = { "self", NULL };
8629
8630 self = self;
8631{
8632 _arg1 = &temp;
8633}
8634{
8635 _arg2 = &temp0;
8636}
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
8638 return NULL;
8639 if (_argo0) {
8640 if (_argo0 == Py_None) { _arg0 = NULL; }
8641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8643 return NULL;
8644 }
8645 }
8646{
8647 wxPy_BEGIN_ALLOW_THREADS;
8648 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
8649
8650 wxPy_END_ALLOW_THREADS;
8651} Py_INCREF(Py_None);
8652 _resultobj = Py_None;
8653{
8654 PyObject *o;
8655 o = PyInt_FromLong((long) (*_arg1));
8656 _resultobj = t_output_helper(_resultobj, o);
8657}
8658{
8659 PyObject *o;
8660 o = PyInt_FromLong((long) (*_arg2));
8661 _resultobj = t_output_helper(_resultobj, o);
8662}
8663 return _resultobj;
8664}
8665
8666#define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8667static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8668 PyObject * _resultobj;
8669 wxString * _result;
8670 wxGrid * _arg0;
8671 int _arg1;
8672 PyObject * _argo0 = 0;
8673 char *_kwnames[] = { "self","row", NULL };
8674
8675 self = self;
8676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
8677 return NULL;
8678 if (_argo0) {
8679 if (_argo0 == Py_None) { _arg0 = NULL; }
8680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8682 return NULL;
8683 }
8684 }
8685{
8686 wxPy_BEGIN_ALLOW_THREADS;
8687 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
8688
8689 wxPy_END_ALLOW_THREADS;
8690}{
8691 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8692}
8693{
8694 delete _result;
8695}
8696 return _resultobj;
8697}
8698
8699#define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8700static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject * _resultobj;
8702 wxString * _result;
8703 wxGrid * _arg0;
8704 int _arg1;
8705 PyObject * _argo0 = 0;
8706 char *_kwnames[] = { "self","col", NULL };
8707
8708 self = self;
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
8710 return NULL;
8711 if (_argo0) {
8712 if (_argo0 == Py_None) { _arg0 = NULL; }
8713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8715 return NULL;
8716 }
8717 }
8718{
8719 wxPy_BEGIN_ALLOW_THREADS;
8720 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
8721
8722 wxPy_END_ALLOW_THREADS;
8723}{
8724 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8725}
8726{
8727 delete _result;
8728}
8729 return _resultobj;
8730}
8731
8732#define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8733static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject * _resultobj;
8735 wxColour * _result;
8736 wxGrid * _arg0;
8737 PyObject * _argo0 = 0;
8738 char *_kwnames[] = { "self", NULL };
8739 char _ptemp[128];
8740
8741 self = self;
8742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
8743 return NULL;
8744 if (_argo0) {
8745 if (_argo0 == Py_None) { _arg0 = NULL; }
8746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8748 return NULL;
8749 }
8750 }
8751{
8752 wxPy_BEGIN_ALLOW_THREADS;
8753 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
8754
8755 wxPy_END_ALLOW_THREADS;
8756} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8757 _resultobj = Py_BuildValue("s",_ptemp);
8758 return _resultobj;
8759}
8760
8761#define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8762static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8763 PyObject * _resultobj;
8764 wxColour * _result;
8765 wxGrid * _arg0;
8766 PyObject * _argo0 = 0;
8767 char *_kwnames[] = { "self", NULL };
8768 char _ptemp[128];
8769
8770 self = self;
8771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
8772 return NULL;
8773 if (_argo0) {
8774 if (_argo0 == Py_None) { _arg0 = NULL; }
8775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8777 return NULL;
8778 }
8779 }
8780{
8781 wxPy_BEGIN_ALLOW_THREADS;
8782 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
8783
8784 wxPy_END_ALLOW_THREADS;
8785} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8786 _resultobj = Py_BuildValue("s",_ptemp);
8787 return _resultobj;
8788}
8789
8790#define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8791static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8792 PyObject * _resultobj;
8793 wxGrid * _arg0;
8794 int _arg1;
8795 PyObject * _argo0 = 0;
8796 char *_kwnames[] = { "self","width", NULL };
8797
8798 self = self;
8799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
8800 return NULL;
8801 if (_argo0) {
8802 if (_argo0 == Py_None) { _arg0 = NULL; }
8803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8805 return NULL;
8806 }
8807 }
8808{
8809 wxPy_BEGIN_ALLOW_THREADS;
8810 wxGrid_SetRowLabelSize(_arg0,_arg1);
8811
8812 wxPy_END_ALLOW_THREADS;
8813} Py_INCREF(Py_None);
8814 _resultobj = Py_None;
8815 return _resultobj;
8816}
8817
8818#define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8819static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8820 PyObject * _resultobj;
8821 wxGrid * _arg0;
8822 int _arg1;
8823 PyObject * _argo0 = 0;
8824 char *_kwnames[] = { "self","height", NULL };
8825
8826 self = self;
8827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
8828 return NULL;
8829 if (_argo0) {
8830 if (_argo0 == Py_None) { _arg0 = NULL; }
8831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8833 return NULL;
8834 }
8835 }
8836{
8837 wxPy_BEGIN_ALLOW_THREADS;
8838 wxGrid_SetColLabelSize(_arg0,_arg1);
8839
8840 wxPy_END_ALLOW_THREADS;
8841} Py_INCREF(Py_None);
8842 _resultobj = Py_None;
8843 return _resultobj;
8844}
8845
8846#define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
8847static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8848 PyObject * _resultobj;
8849 wxGrid * _arg0;
8850 wxColour * _arg1;
8851 PyObject * _argo0 = 0;
8852 wxColour temp;
8853 PyObject * _obj1 = 0;
8854 char *_kwnames[] = { "self","arg2", NULL };
8855
8856 self = self;
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
8858 return NULL;
8859 if (_argo0) {
8860 if (_argo0 == Py_None) { _arg0 = NULL; }
8861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
8863 return NULL;
8864 }
8865 }
8866{
8867 _arg1 = &temp;
8868 if (! wxColour_helper(_obj1, &_arg1))
8869 return NULL;
8870}
8871{
8872 wxPy_BEGIN_ALLOW_THREADS;
8873 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
8874
8875 wxPy_END_ALLOW_THREADS;
8876} Py_INCREF(Py_None);
8877 _resultobj = Py_None;
8878 return _resultobj;
8879}
8880
8881#define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
8882static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject * _resultobj;
8884 wxGrid * _arg0;
8885 wxColour * _arg1;
8886 PyObject * _argo0 = 0;
8887 wxColour temp;
8888 PyObject * _obj1 = 0;
8889 char *_kwnames[] = { "self","arg2", NULL };
8890
8891 self = self;
8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
8893 return NULL;
8894 if (_argo0) {
8895 if (_argo0 == Py_None) { _arg0 = NULL; }
8896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
8898 return NULL;
8899 }
8900 }
8901{
8902 _arg1 = &temp;
8903 if (! wxColour_helper(_obj1, &_arg1))
8904 return NULL;
8905}
8906{
8907 wxPy_BEGIN_ALLOW_THREADS;
8908 wxGrid_SetLabelTextColour(_arg0,*_arg1);
8909
8910 wxPy_END_ALLOW_THREADS;
8911} Py_INCREF(Py_None);
8912 _resultobj = Py_None;
8913 return _resultobj;
8914}
8915
8916#define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
8917static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8918 PyObject * _resultobj;
8919 wxGrid * _arg0;
8920 wxFont * _arg1;
8921 PyObject * _argo0 = 0;
8922 PyObject * _argo1 = 0;
8923 char *_kwnames[] = { "self","arg2", NULL };
8924
8925 self = self;
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
8927 return NULL;
8928 if (_argo0) {
8929 if (_argo0 == Py_None) { _arg0 = NULL; }
8930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
8932 return NULL;
8933 }
8934 }
8935 if (_argo1) {
8936 if (_argo1 == Py_None) { _arg1 = NULL; }
8937 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8938 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
8939 return NULL;
8940 }
8941 }
8942{
8943 wxPy_BEGIN_ALLOW_THREADS;
8944 wxGrid_SetLabelFont(_arg0,*_arg1);
8945
8946 wxPy_END_ALLOW_THREADS;
8947} Py_INCREF(Py_None);
8948 _resultobj = Py_None;
8949 return _resultobj;
8950}
8951
8952#define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
8953static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8954 PyObject * _resultobj;
8955 wxGrid * _arg0;
8956 int _arg1;
8957 int _arg2;
8958 PyObject * _argo0 = 0;
8959 char *_kwnames[] = { "self","horiz","vert", NULL };
8960
8961 self = self;
8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8963 return NULL;
8964 if (_argo0) {
8965 if (_argo0 == Py_None) { _arg0 = NULL; }
8966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
8968 return NULL;
8969 }
8970 }
8971{
8972 wxPy_BEGIN_ALLOW_THREADS;
8973 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
8974
8975 wxPy_END_ALLOW_THREADS;
8976} Py_INCREF(Py_None);
8977 _resultobj = Py_None;
8978 return _resultobj;
8979}
8980
8981#define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
8982static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8983 PyObject * _resultobj;
8984 wxGrid * _arg0;
8985 int _arg1;
8986 int _arg2;
8987 PyObject * _argo0 = 0;
8988 char *_kwnames[] = { "self","horiz","vert", NULL };
8989
8990 self = self;
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8992 return NULL;
8993 if (_argo0) {
8994 if (_argo0 == Py_None) { _arg0 = NULL; }
8995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
8997 return NULL;
8998 }
8999 }
9000{
9001 wxPy_BEGIN_ALLOW_THREADS;
9002 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9003
9004 wxPy_END_ALLOW_THREADS;
9005} Py_INCREF(Py_None);
9006 _resultobj = Py_None;
9007 return _resultobj;
9008}
9009
9010#define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9011static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9012 PyObject * _resultobj;
9013 wxGrid * _arg0;
9014 int _arg1;
9015 wxString * _arg2;
9016 PyObject * _argo0 = 0;
9017 PyObject * _obj2 = 0;
9018 char *_kwnames[] = { "self","row","arg3", NULL };
9019
9020 self = self;
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9022 return NULL;
9023 if (_argo0) {
9024 if (_argo0 == Py_None) { _arg0 = NULL; }
9025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9027 return NULL;
9028 }
9029 }
9030{
2cd2fac8
RD
9031#if PYTHON_API_VERSION >= 1009
9032 char* tmpPtr; int tmpSize;
9033 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9034 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
9035 return NULL;
9036 }
9037 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9038 return NULL;
9039 _arg2 = new wxString(tmpPtr, tmpSize);
9040#else
f6bcfd97
BP
9041 if (!PyString_Check(_obj2)) {
9042 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9043 return NULL;
9044 }
2cd2fac8
RD
9045 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9046#endif
f6bcfd97
BP
9047}
9048{
9049 wxPy_BEGIN_ALLOW_THREADS;
9050 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9051
9052 wxPy_END_ALLOW_THREADS;
9053} Py_INCREF(Py_None);
9054 _resultobj = Py_None;
9055{
9056 if (_obj2)
9057 delete _arg2;
9058}
9059 return _resultobj;
9060}
9061
9062#define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9063static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9064 PyObject * _resultobj;
9065 wxGrid * _arg0;
9066 int _arg1;
9067 wxString * _arg2;
9068 PyObject * _argo0 = 0;
9069 PyObject * _obj2 = 0;
9070 char *_kwnames[] = { "self","col","arg3", NULL };
9071
9072 self = self;
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9074 return NULL;
9075 if (_argo0) {
9076 if (_argo0 == Py_None) { _arg0 = NULL; }
9077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9079 return NULL;
9080 }
9081 }
9082{
2cd2fac8
RD
9083#if PYTHON_API_VERSION >= 1009
9084 char* tmpPtr; int tmpSize;
9085 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9086 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
9087 return NULL;
9088 }
9089 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9090 return NULL;
9091 _arg2 = new wxString(tmpPtr, tmpSize);
9092#else
f6bcfd97
BP
9093 if (!PyString_Check(_obj2)) {
9094 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9095 return NULL;
9096 }
2cd2fac8
RD
9097 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9098#endif
f6bcfd97
BP
9099}
9100{
9101 wxPy_BEGIN_ALLOW_THREADS;
9102 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9103
9104 wxPy_END_ALLOW_THREADS;
9105} Py_INCREF(Py_None);
9106 _resultobj = Py_None;
9107{
9108 if (_obj2)
9109 delete _arg2;
9110}
9111 return _resultobj;
9112}
9113
9114#define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9115static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9116 PyObject * _resultobj;
9117 wxGrid * _arg0;
9118 wxColour * _arg1;
9119 PyObject * _argo0 = 0;
9120 wxColour temp;
9121 PyObject * _obj1 = 0;
9122 char *_kwnames[] = { "self","arg2", NULL };
9123
9124 self = self;
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9126 return NULL;
9127 if (_argo0) {
9128 if (_argo0 == Py_None) { _arg0 = NULL; }
9129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9131 return NULL;
9132 }
9133 }
9134{
9135 _arg1 = &temp;
9136 if (! wxColour_helper(_obj1, &_arg1))
9137 return NULL;
9138}
9139{
9140 wxPy_BEGIN_ALLOW_THREADS;
9141 wxGrid_SetGridLineColour(_arg0,*_arg1);
9142
9143 wxPy_END_ALLOW_THREADS;
9144} Py_INCREF(Py_None);
9145 _resultobj = Py_None;
9146 return _resultobj;
9147}
9148
9149#define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9150static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9151 PyObject * _resultobj;
9152 wxGrid * _arg0;
9153 wxColour * _arg1;
9154 PyObject * _argo0 = 0;
9155 wxColour temp;
9156 PyObject * _obj1 = 0;
9157 char *_kwnames[] = { "self","arg2", NULL };
9158
9159 self = self;
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9161 return NULL;
9162 if (_argo0) {
9163 if (_argo0 == Py_None) { _arg0 = NULL; }
9164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9166 return NULL;
9167 }
9168 }
9169{
9170 _arg1 = &temp;
9171 if (! wxColour_helper(_obj1, &_arg1))
9172 return NULL;
9173}
9174{
9175 wxPy_BEGIN_ALLOW_THREADS;
9176 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9177
9178 wxPy_END_ALLOW_THREADS;
9179} Py_INCREF(Py_None);
9180 _resultobj = Py_None;
9181 return _resultobj;
9182}
9183
9184#define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9185static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9186 PyObject * _resultobj;
9187 wxGrid * _arg0;
9188 bool _arg1 = (bool ) TRUE;
9189 PyObject * _argo0 = 0;
9190 int tempbool1 = (int) TRUE;
9191 char *_kwnames[] = { "self","enable", NULL };
9192
9193 self = self;
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9195 return NULL;
9196 if (_argo0) {
9197 if (_argo0 == Py_None) { _arg0 = NULL; }
9198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9200 return NULL;
9201 }
9202 }
9203 _arg1 = (bool ) tempbool1;
9204{
9205 wxPy_BEGIN_ALLOW_THREADS;
9206 wxGrid_EnableDragRowSize(_arg0,_arg1);
9207
9208 wxPy_END_ALLOW_THREADS;
9209} Py_INCREF(Py_None);
9210 _resultobj = Py_None;
9211 return _resultobj;
9212}
9213
9214#define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9215static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9216 PyObject * _resultobj;
9217 wxGrid * _arg0;
9218 PyObject * _argo0 = 0;
9219 char *_kwnames[] = { "self", NULL };
9220
9221 self = self;
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9223 return NULL;
9224 if (_argo0) {
9225 if (_argo0 == Py_None) { _arg0 = NULL; }
9226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9228 return NULL;
9229 }
9230 }
9231{
9232 wxPy_BEGIN_ALLOW_THREADS;
9233 wxGrid_DisableDragRowSize(_arg0);
9234
9235 wxPy_END_ALLOW_THREADS;
9236} Py_INCREF(Py_None);
9237 _resultobj = Py_None;
9238 return _resultobj;
9239}
9240
9241#define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9242static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9243 PyObject * _resultobj;
9244 bool _result;
9245 wxGrid * _arg0;
9246 PyObject * _argo0 = 0;
9247 char *_kwnames[] = { "self", NULL };
9248
9249 self = self;
9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9251 return NULL;
9252 if (_argo0) {
9253 if (_argo0 == Py_None) { _arg0 = NULL; }
9254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9256 return NULL;
9257 }
9258 }
9259{
9260 wxPy_BEGIN_ALLOW_THREADS;
9261 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9262
9263 wxPy_END_ALLOW_THREADS;
9264} _resultobj = Py_BuildValue("i",_result);
9265 return _resultobj;
9266}
9267
9268#define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9269static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9270 PyObject * _resultobj;
9271 wxGrid * _arg0;
9272 bool _arg1 = (bool ) TRUE;
9273 PyObject * _argo0 = 0;
9274 int tempbool1 = (int) TRUE;
9275 char *_kwnames[] = { "self","enable", NULL };
9276
9277 self = self;
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9279 return NULL;
9280 if (_argo0) {
9281 if (_argo0 == Py_None) { _arg0 = NULL; }
9282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9284 return NULL;
9285 }
9286 }
9287 _arg1 = (bool ) tempbool1;
9288{
9289 wxPy_BEGIN_ALLOW_THREADS;
9290 wxGrid_EnableDragColSize(_arg0,_arg1);
9291
9292 wxPy_END_ALLOW_THREADS;
9293} Py_INCREF(Py_None);
9294 _resultobj = Py_None;
9295 return _resultobj;
9296}
9297
9298#define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9299static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9300 PyObject * _resultobj;
9301 wxGrid * _arg0;
9302 PyObject * _argo0 = 0;
9303 char *_kwnames[] = { "self", NULL };
9304
9305 self = self;
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9307 return NULL;
9308 if (_argo0) {
9309 if (_argo0 == Py_None) { _arg0 = NULL; }
9310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9312 return NULL;
9313 }
9314 }
9315{
9316 wxPy_BEGIN_ALLOW_THREADS;
9317 wxGrid_DisableDragColSize(_arg0);
9318
9319 wxPy_END_ALLOW_THREADS;
9320} Py_INCREF(Py_None);
9321 _resultobj = Py_None;
9322 return _resultobj;
9323}
9324
9325#define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9326static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9327 PyObject * _resultobj;
9328 bool _result;
9329 wxGrid * _arg0;
9330 PyObject * _argo0 = 0;
9331 char *_kwnames[] = { "self", NULL };
9332
9333 self = self;
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9335 return NULL;
9336 if (_argo0) {
9337 if (_argo0 == Py_None) { _arg0 = NULL; }
9338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9340 return NULL;
9341 }
9342 }
9343{
9344 wxPy_BEGIN_ALLOW_THREADS;
9345 _result = (bool )wxGrid_CanDragColSize(_arg0);
9346
9347 wxPy_END_ALLOW_THREADS;
9348} _resultobj = Py_BuildValue("i",_result);
9349 return _resultobj;
9350}
9351
9352#define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9353static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9354 PyObject * _resultobj;
9355 wxGrid * _arg0;
9356 bool _arg1 = (bool ) TRUE;
9357 PyObject * _argo0 = 0;
9358 int tempbool1 = (int) TRUE;
9359 char *_kwnames[] = { "self","enable", NULL };
9360
9361 self = self;
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9363 return NULL;
9364 if (_argo0) {
9365 if (_argo0 == Py_None) { _arg0 = NULL; }
9366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9368 return NULL;
9369 }
9370 }
9371 _arg1 = (bool ) tempbool1;
9372{
9373 wxPy_BEGIN_ALLOW_THREADS;
9374 wxGrid_EnableDragGridSize(_arg0,_arg1);
9375
9376 wxPy_END_ALLOW_THREADS;
9377} Py_INCREF(Py_None);
9378 _resultobj = Py_None;
9379 return _resultobj;
9380}
9381
9382#define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9383static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9384 PyObject * _resultobj;
9385 wxGrid * _arg0;
9386 PyObject * _argo0 = 0;
9387 char *_kwnames[] = { "self", NULL };
9388
9389 self = self;
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9391 return NULL;
9392 if (_argo0) {
9393 if (_argo0 == Py_None) { _arg0 = NULL; }
9394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9396 return NULL;
9397 }
9398 }
9399{
9400 wxPy_BEGIN_ALLOW_THREADS;
9401 wxGrid_DisableDragGridSize(_arg0);
9402
9403 wxPy_END_ALLOW_THREADS;
9404} Py_INCREF(Py_None);
9405 _resultobj = Py_None;
9406 return _resultobj;
9407}
9408
9409#define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9410static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9411 PyObject * _resultobj;
9412 bool _result;
9413 wxGrid * _arg0;
9414 PyObject * _argo0 = 0;
9415 char *_kwnames[] = { "self", NULL };
9416
9417 self = self;
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9419 return NULL;
9420 if (_argo0) {
9421 if (_argo0 == Py_None) { _arg0 = NULL; }
9422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9424 return NULL;
9425 }
9426 }
9427{
9428 wxPy_BEGIN_ALLOW_THREADS;
9429 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9430
9431 wxPy_END_ALLOW_THREADS;
9432} _resultobj = Py_BuildValue("i",_result);
9433 return _resultobj;
9434}
9435
9436#define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9437static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9438 PyObject * _resultobj;
9439 wxGrid * _arg0;
9440 int _arg1;
9441 wxGridCellAttr * _arg2;
9442 PyObject * _argo0 = 0;
9443 PyObject * _argo2 = 0;
9444 char *_kwnames[] = { "self","row","attr", NULL };
9445
9446 self = self;
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9448 return NULL;
9449 if (_argo0) {
9450 if (_argo0 == Py_None) { _arg0 = NULL; }
9451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9453 return NULL;
9454 }
9455 }
9456 if (_argo2) {
9457 if (_argo2 == Py_None) { _arg2 = NULL; }
9458 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9459 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9460 return NULL;
9461 }
9462 }
9463{
9464 wxPy_BEGIN_ALLOW_THREADS;
9465 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
9466
9467 wxPy_END_ALLOW_THREADS;
9468} Py_INCREF(Py_None);
9469 _resultobj = Py_None;
9470 return _resultobj;
9471}
9472
9473#define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9474static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9475 PyObject * _resultobj;
9476 wxGrid * _arg0;
9477 int _arg1;
9478 wxGridCellAttr * _arg2;
9479 PyObject * _argo0 = 0;
9480 PyObject * _argo2 = 0;
9481 char *_kwnames[] = { "self","col","attr", NULL };
9482
9483 self = self;
9484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9485 return NULL;
9486 if (_argo0) {
9487 if (_argo0 == Py_None) { _arg0 = NULL; }
9488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9490 return NULL;
9491 }
9492 }
9493 if (_argo2) {
9494 if (_argo2 == Py_None) { _arg2 = NULL; }
9495 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9496 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9497 return NULL;
9498 }
9499 }
9500{
9501 wxPy_BEGIN_ALLOW_THREADS;
9502 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
9503
9504 wxPy_END_ALLOW_THREADS;
9505} Py_INCREF(Py_None);
9506 _resultobj = Py_None;
9507 return _resultobj;
9508}
9509
9510#define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9511static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9512 PyObject * _resultobj;
9513 wxGrid * _arg0;
9514 int _arg1;
9515 PyObject * _argo0 = 0;
9516 char *_kwnames[] = { "self","col", NULL };
9517
9518 self = self;
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
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_SetColFormatBool. Expected _wxGrid_p.");
9525 return NULL;
9526 }
9527 }
9528{
9529 wxPy_BEGIN_ALLOW_THREADS;
9530 wxGrid_SetColFormatBool(_arg0,_arg1);
9531
9532 wxPy_END_ALLOW_THREADS;
9533} Py_INCREF(Py_None);
9534 _resultobj = Py_None;
9535 return _resultobj;
9536}
9537
9538#define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9539static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
9540 PyObject * _resultobj;
9541 wxGrid * _arg0;
9542 int _arg1;
9543 PyObject * _argo0 = 0;
9544 char *_kwnames[] = { "self","col", NULL };
9545
9546 self = self;
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
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_SetColFormatNumber. Expected _wxGrid_p.");
9553 return NULL;
9554 }
9555 }
9556{
9557 wxPy_BEGIN_ALLOW_THREADS;
9558 wxGrid_SetColFormatNumber(_arg0,_arg1);
9559
9560 wxPy_END_ALLOW_THREADS;
9561} Py_INCREF(Py_None);
9562 _resultobj = Py_None;
9563 return _resultobj;
9564}
9565
9566#define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9567static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
9568 PyObject * _resultobj;
9569 wxGrid * _arg0;
9570 int _arg1;
9571 int _arg2 = (int ) -1;
9572 int _arg3 = (int ) -1;
9573 PyObject * _argo0 = 0;
9574 char *_kwnames[] = { "self","col","width","precision", NULL };
9575
9576 self = self;
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
9578 return NULL;
9579 if (_argo0) {
9580 if (_argo0 == Py_None) { _arg0 = NULL; }
9581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
9583 return NULL;
9584 }
9585 }
9586{
9587 wxPy_BEGIN_ALLOW_THREADS;
9588 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
9589
9590 wxPy_END_ALLOW_THREADS;
9591} Py_INCREF(Py_None);
9592 _resultobj = Py_None;
9593 return _resultobj;
9594}
9595
9596#define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9597static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
9598 PyObject * _resultobj;
9599 wxGrid * _arg0;
9600 int _arg1;
9601 wxString * _arg2;
9602 PyObject * _argo0 = 0;
9603 PyObject * _obj2 = 0;
9604 char *_kwnames[] = { "self","col","typeName", NULL };
9605
9606 self = self;
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
9608 return NULL;
9609 if (_argo0) {
9610 if (_argo0 == Py_None) { _arg0 = NULL; }
9611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9613 return NULL;
9614 }
9615 }
9616{
2cd2fac8
RD
9617#if PYTHON_API_VERSION >= 1009
9618 char* tmpPtr; int tmpSize;
9619 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9620 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
9621 return NULL;
9622 }
9623 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9624 return NULL;
9625 _arg2 = new wxString(tmpPtr, tmpSize);
9626#else
f6bcfd97
BP
9627 if (!PyString_Check(_obj2)) {
9628 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9629 return NULL;
9630 }
2cd2fac8
RD
9631 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9632#endif
f6bcfd97
BP
9633}
9634{
9635 wxPy_BEGIN_ALLOW_THREADS;
9636 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
9637
9638 wxPy_END_ALLOW_THREADS;
9639} Py_INCREF(Py_None);
9640 _resultobj = Py_None;
9641{
9642 if (_obj2)
9643 delete _arg2;
9644}
9645 return _resultobj;
9646}
9647
9648#define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9649static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9650 PyObject * _resultobj;
9651 wxGrid * _arg0;
9652 bool _arg1 = (bool ) TRUE;
9653 PyObject * _argo0 = 0;
9654 int tempbool1 = (int) TRUE;
9655 char *_kwnames[] = { "self","enable", NULL };
9656
9657 self = self;
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
9659 return NULL;
9660 if (_argo0) {
9661 if (_argo0 == Py_None) { _arg0 = NULL; }
9662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9664 return NULL;
9665 }
9666 }
9667 _arg1 = (bool ) tempbool1;
9668{
9669 wxPy_BEGIN_ALLOW_THREADS;
9670 wxGrid_EnableGridLines(_arg0,_arg1);
9671
9672 wxPy_END_ALLOW_THREADS;
9673} Py_INCREF(Py_None);
9674 _resultobj = Py_None;
9675 return _resultobj;
9676}
9677
9678#define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9679static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject * _resultobj;
9681 bool _result;
9682 wxGrid * _arg0;
9683 PyObject * _argo0 = 0;
9684 char *_kwnames[] = { "self", NULL };
9685
9686 self = self;
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
9688 return NULL;
9689 if (_argo0) {
9690 if (_argo0 == Py_None) { _arg0 = NULL; }
9691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9693 return NULL;
9694 }
9695 }
9696{
9697 wxPy_BEGIN_ALLOW_THREADS;
9698 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
9699
9700 wxPy_END_ALLOW_THREADS;
9701} _resultobj = Py_BuildValue("i",_result);
9702 return _resultobj;
9703}
9704
9705#define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9706static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9707 PyObject * _resultobj;
9708 int _result;
9709 wxGrid * _arg0;
9710 PyObject * _argo0 = 0;
9711 char *_kwnames[] = { "self", NULL };
9712
9713 self = self;
9714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
9715 return NULL;
9716 if (_argo0) {
9717 if (_argo0 == Py_None) { _arg0 = NULL; }
9718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9720 return NULL;
9721 }
9722 }
9723{
9724 wxPy_BEGIN_ALLOW_THREADS;
9725 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
9726
9727 wxPy_END_ALLOW_THREADS;
9728} _resultobj = Py_BuildValue("i",_result);
9729 return _resultobj;
9730}
9731
9732#define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9733static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject * _resultobj;
9735 int _result;
9736 wxGrid * _arg0;
9737 int _arg1;
9738 PyObject * _argo0 = 0;
9739 char *_kwnames[] = { "self","row", NULL };
9740
9741 self = self;
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
9743 return NULL;
9744 if (_argo0) {
9745 if (_argo0 == Py_None) { _arg0 = NULL; }
9746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
9748 return NULL;
9749 }
9750 }
9751{
9752 wxPy_BEGIN_ALLOW_THREADS;
9753 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
9754
9755 wxPy_END_ALLOW_THREADS;
9756} _resultobj = Py_BuildValue("i",_result);
9757 return _resultobj;
9758}
9759
9760#define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9761static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9762 PyObject * _resultobj;
9763 int _result;
9764 wxGrid * _arg0;
9765 PyObject * _argo0 = 0;
9766 char *_kwnames[] = { "self", NULL };
9767
9768 self = self;
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
9770 return NULL;
9771 if (_argo0) {
9772 if (_argo0 == Py_None) { _arg0 = NULL; }
9773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9775 return NULL;
9776 }
9777 }
9778{
9779 wxPy_BEGIN_ALLOW_THREADS;
9780 _result = (int )wxGrid_GetDefaultColSize(_arg0);
9781
9782 wxPy_END_ALLOW_THREADS;
9783} _resultobj = Py_BuildValue("i",_result);
9784 return _resultobj;
9785}
9786
9787#define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
9788static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject * _resultobj;
9790 int _result;
9791 wxGrid * _arg0;
9792 int _arg1;
9793 PyObject * _argo0 = 0;
9794 char *_kwnames[] = { "self","col", NULL };
9795
9796 self = self;
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
9798 return NULL;
9799 if (_argo0) {
9800 if (_argo0 == Py_None) { _arg0 = NULL; }
9801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
9803 return NULL;
9804 }
9805 }
9806{
9807 wxPy_BEGIN_ALLOW_THREADS;
9808 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
9809
9810 wxPy_END_ALLOW_THREADS;
9811} _resultobj = Py_BuildValue("i",_result);
9812 return _resultobj;
9813}
9814
9815#define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
9816static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9817 PyObject * _resultobj;
9818 wxColour * _result;
9819 wxGrid * _arg0;
9820 PyObject * _argo0 = 0;
9821 char *_kwnames[] = { "self", NULL };
9822 char _ptemp[128];
9823
9824 self = self;
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
9826 return NULL;
9827 if (_argo0) {
9828 if (_argo0 == Py_None) { _arg0 = NULL; }
9829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
9831 return NULL;
9832 }
9833 }
9834{
9835 wxPy_BEGIN_ALLOW_THREADS;
9836 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
9837
9838 wxPy_END_ALLOW_THREADS;
9839} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9840 _resultobj = Py_BuildValue("s",_ptemp);
9841 return _resultobj;
9842}
9843
9844#define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
9845static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9846 PyObject * _resultobj;
9847 wxColour * _result;
9848 wxGrid * _arg0;
9849 int _arg1;
9850 int _arg2;
9851 PyObject * _argo0 = 0;
9852 char *_kwnames[] = { "self","row","col", NULL };
9853 char _ptemp[128];
9854
9855 self = self;
9856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
9857 return NULL;
9858 if (_argo0) {
9859 if (_argo0 == Py_None) { _arg0 = NULL; }
9860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
9862 return NULL;
9863 }
9864 }
9865{
9866 wxPy_BEGIN_ALLOW_THREADS;
9867 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
9868
9869 wxPy_END_ALLOW_THREADS;
9870} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9871 _resultobj = Py_BuildValue("s",_ptemp);
9872 return _resultobj;
9873}
9874
9875#define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
9876static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9877 PyObject * _resultobj;
9878 wxColour * _result;
9879 wxGrid * _arg0;
9880 PyObject * _argo0 = 0;
9881 char *_kwnames[] = { "self", NULL };
9882 char _ptemp[128];
9883
9884 self = self;
9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
9886 return NULL;
9887 if (_argo0) {
9888 if (_argo0 == Py_None) { _arg0 = NULL; }
9889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
9891 return NULL;
9892 }
9893 }
9894{
9895 wxPy_BEGIN_ALLOW_THREADS;
9896 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
9897
9898 wxPy_END_ALLOW_THREADS;
9899} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9900 _resultobj = Py_BuildValue("s",_ptemp);
9901 return _resultobj;
9902}
9903
9904#define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
9905static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9906 PyObject * _resultobj;
9907 wxColour * _result;
9908 wxGrid * _arg0;
9909 int _arg1;
9910 int _arg2;
9911 PyObject * _argo0 = 0;
9912 char *_kwnames[] = { "self","row","col", NULL };
9913 char _ptemp[128];
9914
9915 self = self;
9916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
9917 return NULL;
9918 if (_argo0) {
9919 if (_argo0 == Py_None) { _arg0 = NULL; }
9920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
9922 return NULL;
9923 }
9924 }
9925{
9926 wxPy_BEGIN_ALLOW_THREADS;
9927 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
9928
9929 wxPy_END_ALLOW_THREADS;
9930} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9931 _resultobj = Py_BuildValue("s",_ptemp);
9932 return _resultobj;
9933}
9934
9935#define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
9936static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9937 PyObject * _resultobj;
9938 wxFont * _result;
9939 wxGrid * _arg0;
9940 PyObject * _argo0 = 0;
9941 char *_kwnames[] = { "self", NULL };
9942 char _ptemp[128];
9943
9944 self = self;
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
9946 return NULL;
9947 if (_argo0) {
9948 if (_argo0 == Py_None) { _arg0 = NULL; }
9949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
9951 return NULL;
9952 }
9953 }
9954{
9955 wxPy_BEGIN_ALLOW_THREADS;
9956 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
9957
9958 wxPy_END_ALLOW_THREADS;
9959} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9960 _resultobj = Py_BuildValue("s",_ptemp);
9961 return _resultobj;
9962}
9963
9964#define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
9965static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9966 PyObject * _resultobj;
9967 wxFont * _result;
9968 wxGrid * _arg0;
9969 int _arg1;
9970 int _arg2;
9971 PyObject * _argo0 = 0;
9972 char *_kwnames[] = { "self","row","col", NULL };
9973 char _ptemp[128];
9974
9975 self = self;
9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
9977 return NULL;
9978 if (_argo0) {
9979 if (_argo0 == Py_None) { _arg0 = NULL; }
9980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
9982 return NULL;
9983 }
9984 }
9985{
9986 wxPy_BEGIN_ALLOW_THREADS;
9987 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
9988
9989 wxPy_END_ALLOW_THREADS;
9990} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9991 _resultobj = Py_BuildValue("s",_ptemp);
9992 return _resultobj;
9993}
9994
9995#define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
9996static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9997 PyObject * _resultobj;
9998 wxGrid * _arg0;
9999 int * _arg1;
10000 int * _arg2;
10001 PyObject * _argo0 = 0;
10002 PyObject * _argo1 = 0;
10003 PyObject * _argo2 = 0;
10004 char *_kwnames[] = { "self","horiz","vert", NULL };
10005
10006 self = self;
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10008 return NULL;
10009 if (_argo0) {
10010 if (_argo0 == Py_None) { _arg0 = NULL; }
10011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10013 return NULL;
10014 }
10015 }
10016 if (_argo1) {
10017 if (_argo1 == Py_None) { _arg1 = NULL; }
10018 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10019 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10020 return NULL;
10021 }
10022 }
10023 if (_argo2) {
10024 if (_argo2 == Py_None) { _arg2 = NULL; }
10025 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10026 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10027 return NULL;
10028 }
10029 }
10030{
10031 wxPy_BEGIN_ALLOW_THREADS;
10032 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10033
10034 wxPy_END_ALLOW_THREADS;
10035} Py_INCREF(Py_None);
10036 _resultobj = Py_None;
10037 return _resultobj;
10038}
10039
10040#define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10041static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10042 PyObject * _resultobj;
10043 wxGrid * _arg0;
10044 int _arg1;
10045 int _arg2;
10046 int * _arg3;
10047 int * _arg4;
10048 PyObject * _argo0 = 0;
10049 PyObject * _argo3 = 0;
10050 PyObject * _argo4 = 0;
10051 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10052
10053 self = self;
10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10055 return NULL;
10056 if (_argo0) {
10057 if (_argo0 == Py_None) { _arg0 = NULL; }
10058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10060 return NULL;
10061 }
10062 }
10063 if (_argo3) {
10064 if (_argo3 == Py_None) { _arg3 = NULL; }
10065 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10066 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10067 return NULL;
10068 }
10069 }
10070 if (_argo4) {
10071 if (_argo4 == Py_None) { _arg4 = NULL; }
10072 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10073 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10074 return NULL;
10075 }
10076 }
10077{
10078 wxPy_BEGIN_ALLOW_THREADS;
10079 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10080
10081 wxPy_END_ALLOW_THREADS;
10082} Py_INCREF(Py_None);
10083 _resultobj = Py_None;
10084 return _resultobj;
10085}
10086
10087#define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10088static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject * _resultobj;
10090 wxGrid * _arg0;
10091 int _arg1;
10092 bool _arg2 = (bool ) FALSE;
10093 PyObject * _argo0 = 0;
10094 int tempbool2 = (int) FALSE;
10095 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10096
10097 self = self;
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
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_SetDefaultRowSize. Expected _wxGrid_p.");
10104 return NULL;
10105 }
10106 }
10107 _arg2 = (bool ) tempbool2;
10108{
10109 wxPy_BEGIN_ALLOW_THREADS;
10110 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10111
10112 wxPy_END_ALLOW_THREADS;
10113} Py_INCREF(Py_None);
10114 _resultobj = Py_None;
10115 return _resultobj;
10116}
10117
10118#define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10119static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10120 PyObject * _resultobj;
10121 wxGrid * _arg0;
10122 int _arg1;
10123 int _arg2;
10124 PyObject * _argo0 = 0;
10125 char *_kwnames[] = { "self","row","height", NULL };
10126
10127 self = self;
10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10129 return NULL;
10130 if (_argo0) {
10131 if (_argo0 == Py_None) { _arg0 = NULL; }
10132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10134 return NULL;
10135 }
10136 }
10137{
10138 wxPy_BEGIN_ALLOW_THREADS;
10139 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10140
10141 wxPy_END_ALLOW_THREADS;
10142} Py_INCREF(Py_None);
10143 _resultobj = Py_None;
10144 return _resultobj;
10145}
10146
10147#define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10148static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10149 PyObject * _resultobj;
10150 wxGrid * _arg0;
10151 int _arg1;
10152 bool _arg2 = (bool ) FALSE;
10153 PyObject * _argo0 = 0;
10154 int tempbool2 = (int) FALSE;
10155 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10156
10157 self = self;
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
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_SetDefaultColSize. Expected _wxGrid_p.");
10164 return NULL;
10165 }
10166 }
10167 _arg2 = (bool ) tempbool2;
10168{
10169 wxPy_BEGIN_ALLOW_THREADS;
10170 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10171
10172 wxPy_END_ALLOW_THREADS;
10173} Py_INCREF(Py_None);
10174 _resultobj = Py_None;
10175 return _resultobj;
10176}
10177
10178#define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10179static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10180 PyObject * _resultobj;
10181 wxGrid * _arg0;
10182 int _arg1;
10183 int _arg2;
10184 PyObject * _argo0 = 0;
10185 char *_kwnames[] = { "self","col","width", NULL };
10186
10187 self = self;
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10189 return NULL;
10190 if (_argo0) {
10191 if (_argo0 == Py_None) { _arg0 = NULL; }
10192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10194 return NULL;
10195 }
10196 }
10197{
10198 wxPy_BEGIN_ALLOW_THREADS;
10199 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10200
10201 wxPy_END_ALLOW_THREADS;
10202} Py_INCREF(Py_None);
10203 _resultobj = Py_None;
10204 return _resultobj;
10205}
10206
10207#define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10208static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10209 PyObject * _resultobj;
10210 wxGrid * _arg0;
10211 int _arg1;
10212 bool _arg2 = (bool ) TRUE;
10213 PyObject * _argo0 = 0;
10214 int tempbool2 = (int) TRUE;
10215 char *_kwnames[] = { "self","col","setAsMin", NULL };
10216
10217 self = self;
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10219 return NULL;
10220 if (_argo0) {
10221 if (_argo0 == Py_None) { _arg0 = NULL; }
10222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10224 return NULL;
10225 }
10226 }
10227 _arg2 = (bool ) tempbool2;
10228{
10229 wxPy_BEGIN_ALLOW_THREADS;
10230 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10231
10232 wxPy_END_ALLOW_THREADS;
10233} Py_INCREF(Py_None);
10234 _resultobj = Py_None;
10235 return _resultobj;
10236}
10237
10238#define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10239static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10240 PyObject * _resultobj;
10241 wxGrid * _arg0;
10242 int _arg1;
10243 bool _arg2 = (bool ) TRUE;
10244 PyObject * _argo0 = 0;
10245 int tempbool2 = (int) TRUE;
10246 char *_kwnames[] = { "self","row","setAsMin", NULL };
10247
10248 self = self;
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10250 return NULL;
10251 if (_argo0) {
10252 if (_argo0 == Py_None) { _arg0 = NULL; }
10253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10255 return NULL;
10256 }
10257 }
10258 _arg2 = (bool ) tempbool2;
10259{
10260 wxPy_BEGIN_ALLOW_THREADS;
10261 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10262
10263 wxPy_END_ALLOW_THREADS;
10264} Py_INCREF(Py_None);
10265 _resultobj = Py_None;
10266 return _resultobj;
10267}
10268
10269#define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10270static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject * _resultobj;
10272 wxGrid * _arg0;
10273 bool _arg1 = (bool ) TRUE;
10274 PyObject * _argo0 = 0;
10275 int tempbool1 = (int) TRUE;
10276 char *_kwnames[] = { "self","setAsMin", NULL };
10277
10278 self = self;
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10280 return NULL;
10281 if (_argo0) {
10282 if (_argo0 == Py_None) { _arg0 = NULL; }
10283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10285 return NULL;
10286 }
10287 }
10288 _arg1 = (bool ) tempbool1;
10289{
10290 wxPy_BEGIN_ALLOW_THREADS;
10291 wxGrid_AutoSizeColumns(_arg0,_arg1);
10292
10293 wxPy_END_ALLOW_THREADS;
10294} Py_INCREF(Py_None);
10295 _resultobj = Py_None;
10296 return _resultobj;
10297}
10298
10299#define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10300static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10301 PyObject * _resultobj;
10302 wxGrid * _arg0;
10303 bool _arg1 = (bool ) TRUE;
10304 PyObject * _argo0 = 0;
10305 int tempbool1 = (int) TRUE;
10306 char *_kwnames[] = { "self","setAsMin", NULL };
10307
10308 self = self;
10309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10310 return NULL;
10311 if (_argo0) {
10312 if (_argo0 == Py_None) { _arg0 = NULL; }
10313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10315 return NULL;
10316 }
10317 }
10318 _arg1 = (bool ) tempbool1;
10319{
10320 wxPy_BEGIN_ALLOW_THREADS;
10321 wxGrid_AutoSizeRows(_arg0,_arg1);
10322
10323 wxPy_END_ALLOW_THREADS;
10324} Py_INCREF(Py_None);
10325 _resultobj = Py_None;
10326 return _resultobj;
10327}
10328
10329#define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10330static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject * _resultobj;
10332 wxGrid * _arg0;
10333 PyObject * _argo0 = 0;
10334 char *_kwnames[] = { "self", NULL };
10335
10336 self = self;
10337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10338 return NULL;
10339 if (_argo0) {
10340 if (_argo0 == Py_None) { _arg0 = NULL; }
10341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10343 return NULL;
10344 }
10345 }
10346{
10347 wxPy_BEGIN_ALLOW_THREADS;
10348 wxGrid_AutoSize(_arg0);
10349
10350 wxPy_END_ALLOW_THREADS;
10351} Py_INCREF(Py_None);
10352 _resultobj = Py_None;
10353 return _resultobj;
10354}
10355
10356#define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10357static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10358 PyObject * _resultobj;
10359 wxGrid * _arg0;
10360 int _arg1;
10361 int _arg2;
10362 PyObject * _argo0 = 0;
10363 char *_kwnames[] = { "self","col","width", NULL };
10364
10365 self = self;
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10367 return NULL;
10368 if (_argo0) {
10369 if (_argo0 == Py_None) { _arg0 = NULL; }
10370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10372 return NULL;
10373 }
10374 }
10375{
10376 wxPy_BEGIN_ALLOW_THREADS;
10377 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10378
10379 wxPy_END_ALLOW_THREADS;
10380} Py_INCREF(Py_None);
10381 _resultobj = Py_None;
10382 return _resultobj;
10383}
10384
10385#define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10386static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10387 PyObject * _resultobj;
10388 wxGrid * _arg0;
10389 int _arg1;
10390 int _arg2;
10391 PyObject * _argo0 = 0;
10392 char *_kwnames[] = { "self","row","width", NULL };
10393
10394 self = self;
10395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10396 return NULL;
10397 if (_argo0) {
10398 if (_argo0 == Py_None) { _arg0 = NULL; }
10399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10401 return NULL;
10402 }
10403 }
10404{
10405 wxPy_BEGIN_ALLOW_THREADS;
10406 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10407
10408 wxPy_END_ALLOW_THREADS;
10409} Py_INCREF(Py_None);
10410 _resultobj = Py_None;
10411 return _resultobj;
10412}
10413
10414#define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10415static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10416 PyObject * _resultobj;
10417 wxGrid * _arg0;
10418 wxColour * _arg1;
10419 PyObject * _argo0 = 0;
10420 wxColour temp;
10421 PyObject * _obj1 = 0;
10422 char *_kwnames[] = { "self","arg2", NULL };
10423
10424 self = self;
10425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10426 return NULL;
10427 if (_argo0) {
10428 if (_argo0 == Py_None) { _arg0 = NULL; }
10429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10431 return NULL;
10432 }
10433 }
10434{
10435 _arg1 = &temp;
10436 if (! wxColour_helper(_obj1, &_arg1))
10437 return NULL;
10438}
10439{
10440 wxPy_BEGIN_ALLOW_THREADS;
10441 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10442
10443 wxPy_END_ALLOW_THREADS;
10444} Py_INCREF(Py_None);
10445 _resultobj = Py_None;
10446 return _resultobj;
10447}
10448
10449#define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10450static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject * _resultobj;
10452 wxGrid * _arg0;
10453 int _arg1;
10454 int _arg2;
10455 wxColour * _arg3;
10456 PyObject * _argo0 = 0;
10457 wxColour temp;
10458 PyObject * _obj3 = 0;
10459 char *_kwnames[] = { "self","row","col","arg4", NULL };
10460
10461 self = self;
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
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_SetCellBackgroundColour. Expected _wxGrid_p.");
10468 return NULL;
10469 }
10470 }
10471{
10472 _arg3 = &temp;
10473 if (! wxColour_helper(_obj3, &_arg3))
10474 return NULL;
10475}
10476{
10477 wxPy_BEGIN_ALLOW_THREADS;
10478 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
10479
10480 wxPy_END_ALLOW_THREADS;
10481} Py_INCREF(Py_None);
10482 _resultobj = Py_None;
10483 return _resultobj;
10484}
10485
10486#define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10487static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10488 PyObject * _resultobj;
10489 wxGrid * _arg0;
10490 wxColour * _arg1;
10491 PyObject * _argo0 = 0;
10492 wxColour temp;
10493 PyObject * _obj1 = 0;
10494 char *_kwnames[] = { "self","arg2", NULL };
10495
10496 self = self;
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
10498 return NULL;
10499 if (_argo0) {
10500 if (_argo0 == Py_None) { _arg0 = NULL; }
10501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10503 return NULL;
10504 }
10505 }
10506{
10507 _arg1 = &temp;
10508 if (! wxColour_helper(_obj1, &_arg1))
10509 return NULL;
10510}
10511{
10512 wxPy_BEGIN_ALLOW_THREADS;
10513 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
10514
10515 wxPy_END_ALLOW_THREADS;
10516} Py_INCREF(Py_None);
10517 _resultobj = Py_None;
10518 return _resultobj;
10519}
10520
10521#define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10522static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10523 PyObject * _resultobj;
10524 wxGrid * _arg0;
10525 int _arg1;
10526 int _arg2;
10527 wxColour * _arg3;
10528 PyObject * _argo0 = 0;
10529 wxColour temp;
10530 PyObject * _obj3 = 0;
10531 char *_kwnames[] = { "self","row","col","arg4", NULL };
10532
10533 self = self;
10534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10535 return NULL;
10536 if (_argo0) {
10537 if (_argo0 == Py_None) { _arg0 = NULL; }
10538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10540 return NULL;
10541 }
10542 }
10543{
10544 _arg3 = &temp;
10545 if (! wxColour_helper(_obj3, &_arg3))
10546 return NULL;
10547}
10548{
10549 wxPy_BEGIN_ALLOW_THREADS;
10550 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
10551
10552 wxPy_END_ALLOW_THREADS;
10553} Py_INCREF(Py_None);
10554 _resultobj = Py_None;
10555 return _resultobj;
10556}
10557
10558#define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10559static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10560 PyObject * _resultobj;
10561 wxGrid * _arg0;
10562 wxFont * _arg1;
10563 PyObject * _argo0 = 0;
10564 PyObject * _argo1 = 0;
10565 char *_kwnames[] = { "self","arg2", NULL };
10566
10567 self = self;
10568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
10569 return NULL;
10570 if (_argo0) {
10571 if (_argo0 == Py_None) { _arg0 = NULL; }
10572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10574 return NULL;
10575 }
10576 }
10577 if (_argo1) {
10578 if (_argo1 == Py_None) { _arg1 = NULL; }
10579 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
10580 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10581 return NULL;
10582 }
10583 }
10584{
10585 wxPy_BEGIN_ALLOW_THREADS;
10586 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
10587
10588 wxPy_END_ALLOW_THREADS;
10589} Py_INCREF(Py_None);
10590 _resultobj = Py_None;
10591 return _resultobj;
10592}
10593
10594#define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10595static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10596 PyObject * _resultobj;
10597 wxGrid * _arg0;
10598 int _arg1;
10599 int _arg2;
10600 wxFont * _arg3;
10601 PyObject * _argo0 = 0;
10602 PyObject * _argo3 = 0;
10603 char *_kwnames[] = { "self","row","col","arg4", NULL };
10604
10605 self = self;
10606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10607 return NULL;
10608 if (_argo0) {
10609 if (_argo0 == Py_None) { _arg0 = NULL; }
10610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10612 return NULL;
10613 }
10614 }
10615 if (_argo3) {
10616 if (_argo3 == Py_None) { _arg3 = NULL; }
10617 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
10618 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10619 return NULL;
10620 }
10621 }
10622{
10623 wxPy_BEGIN_ALLOW_THREADS;
10624 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
10625
10626 wxPy_END_ALLOW_THREADS;
10627} Py_INCREF(Py_None);
10628 _resultobj = Py_None;
10629 return _resultobj;
10630}
10631
10632#define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10633static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10634 PyObject * _resultobj;
10635 wxGrid * _arg0;
10636 int _arg1;
10637 int _arg2;
10638 PyObject * _argo0 = 0;
10639 char *_kwnames[] = { "self","horiz","vert", NULL };
10640
10641 self = self;
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10643 return NULL;
10644 if (_argo0) {
10645 if (_argo0 == Py_None) { _arg0 = NULL; }
10646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10648 return NULL;
10649 }
10650 }
10651{
10652 wxPy_BEGIN_ALLOW_THREADS;
10653 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
10654
10655 wxPy_END_ALLOW_THREADS;
10656} Py_INCREF(Py_None);
10657 _resultobj = Py_None;
10658 return _resultobj;
10659}
10660
10661#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10662static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject * _resultobj;
10664 wxGrid * _arg0;
10665 int _arg1;
10666 int _arg2;
10667 int _arg3;
10668 int _arg4;
10669 PyObject * _argo0 = 0;
10670 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10671
10672 self = self;
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10674 return NULL;
10675 if (_argo0) {
10676 if (_argo0 == Py_None) { _arg0 = NULL; }
10677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10679 return NULL;
10680 }
10681 }
10682{
10683 wxPy_BEGIN_ALLOW_THREADS;
10684 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10685
10686 wxPy_END_ALLOW_THREADS;
10687} Py_INCREF(Py_None);
10688 _resultobj = Py_None;
10689 return _resultobj;
10690}
10691
10692#define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10693static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10694 PyObject * _resultobj;
10695 wxGrid * _arg0;
10696 wxGridCellRenderer * _arg1;
10697 PyObject * _argo0 = 0;
10698 PyObject * _argo1 = 0;
10699 char *_kwnames[] = { "self","renderer", NULL };
10700
10701 self = self;
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
10703 return NULL;
10704 if (_argo0) {
10705 if (_argo0 == Py_None) { _arg0 = NULL; }
10706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10708 return NULL;
10709 }
10710 }
10711 if (_argo1) {
10712 if (_argo1 == Py_None) { _arg1 = NULL; }
10713 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
10714 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10715 return NULL;
10716 }
10717 }
10718{
10719 wxPy_BEGIN_ALLOW_THREADS;
10720 wxGrid_SetDefaultRenderer(_arg0,_arg1);
10721
10722 wxPy_END_ALLOW_THREADS;
10723} Py_INCREF(Py_None);
10724 _resultobj = Py_None;
10725 return _resultobj;
10726}
10727
10728#define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10729static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10730 PyObject * _resultobj;
10731 wxGrid * _arg0;
10732 int _arg1;
10733 int _arg2;
10734 wxGridCellRenderer * _arg3;
10735 PyObject * _argo0 = 0;
10736 PyObject * _argo3 = 0;
10737 char *_kwnames[] = { "self","row","col","renderer", NULL };
10738
10739 self = self;
10740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10741 return NULL;
10742 if (_argo0) {
10743 if (_argo0 == Py_None) { _arg0 = NULL; }
10744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10746 return NULL;
10747 }
10748 }
10749 if (_argo3) {
10750 if (_argo3 == Py_None) { _arg3 = NULL; }
10751 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
10752 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10753 return NULL;
10754 }
10755 }
10756{
10757 wxPy_BEGIN_ALLOW_THREADS;
10758 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
10759
10760 wxPy_END_ALLOW_THREADS;
10761} Py_INCREF(Py_None);
10762 _resultobj = Py_None;
10763 return _resultobj;
10764}
10765
10766#define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10767static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10768 PyObject * _resultobj;
10769 wxGridCellRenderer * _result;
10770 wxGrid * _arg0;
10771 PyObject * _argo0 = 0;
10772 char *_kwnames[] = { "self", NULL };
10773 char _ptemp[128];
10774
10775 self = self;
10776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
10777 return NULL;
10778 if (_argo0) {
10779 if (_argo0 == Py_None) { _arg0 = NULL; }
10780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10782 return NULL;
10783 }
10784 }
10785{
10786 wxPy_BEGIN_ALLOW_THREADS;
10787 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
10788
10789 wxPy_END_ALLOW_THREADS;
10790} if (_result) {
10791 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10792 _resultobj = Py_BuildValue("s",_ptemp);
10793 } else {
10794 Py_INCREF(Py_None);
10795 _resultobj = Py_None;
10796 }
10797 return _resultobj;
10798}
10799
10800#define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
10801static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10802 PyObject * _resultobj;
10803 wxGridCellRenderer * _result;
10804 wxGrid * _arg0;
10805 int _arg1;
10806 int _arg2;
10807 PyObject * _argo0 = 0;
10808 char *_kwnames[] = { "self","row","col", NULL };
10809 char _ptemp[128];
10810
10811 self = self;
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
10813 return NULL;
10814 if (_argo0) {
10815 if (_argo0 == Py_None) { _arg0 = NULL; }
10816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
10818 return NULL;
10819 }
10820 }
10821{
10822 wxPy_BEGIN_ALLOW_THREADS;
10823 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
10824
10825 wxPy_END_ALLOW_THREADS;
10826} if (_result) {
10827 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10828 _resultobj = Py_BuildValue("s",_ptemp);
10829 } else {
10830 Py_INCREF(Py_None);
10831 _resultobj = Py_None;
10832 }
10833 return _resultobj;
10834}
10835
10836#define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
10837static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10838 PyObject * _resultobj;
10839 wxGrid * _arg0;
10840 wxGridCellEditor * _arg1;
10841 PyObject * _argo0 = 0;
10842 PyObject * _argo1 = 0;
10843 char *_kwnames[] = { "self","editor", NULL };
10844
10845 self = self;
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
10847 return NULL;
10848 if (_argo0) {
10849 if (_argo0 == Py_None) { _arg0 = NULL; }
10850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
10852 return NULL;
10853 }
10854 }
10855 if (_argo1) {
10856 if (_argo1 == Py_None) { _arg1 = NULL; }
10857 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
10858 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
10859 return NULL;
10860 }
10861 }
10862{
10863 wxPy_BEGIN_ALLOW_THREADS;
10864 wxGrid_SetDefaultEditor(_arg0,_arg1);
10865
10866 wxPy_END_ALLOW_THREADS;
10867} Py_INCREF(Py_None);
10868 _resultobj = Py_None;
10869 return _resultobj;
10870}
10871
10872#define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
10873static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10874 PyObject * _resultobj;
10875 wxGrid * _arg0;
10876 int _arg1;
10877 int _arg2;
10878 wxGridCellEditor * _arg3;
10879 PyObject * _argo0 = 0;
10880 PyObject * _argo3 = 0;
10881 char *_kwnames[] = { "self","row","col","editor", NULL };
10882
10883 self = self;
10884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10885 return NULL;
10886 if (_argo0) {
10887 if (_argo0 == Py_None) { _arg0 = NULL; }
10888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
10890 return NULL;
10891 }
10892 }
10893 if (_argo3) {
10894 if (_argo3 == Py_None) { _arg3 = NULL; }
10895 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
10896 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
10897 return NULL;
10898 }
10899 }
10900{
10901 wxPy_BEGIN_ALLOW_THREADS;
10902 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
10903
10904 wxPy_END_ALLOW_THREADS;
10905} Py_INCREF(Py_None);
10906 _resultobj = Py_None;
10907 return _resultobj;
10908}
10909
10910#define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
10911static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject * _resultobj;
10913 wxGridCellEditor * _result;
10914 wxGrid * _arg0;
10915 PyObject * _argo0 = 0;
10916 char *_kwnames[] = { "self", NULL };
10917 char _ptemp[128];
10918
10919 self = self;
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
10921 return NULL;
10922 if (_argo0) {
10923 if (_argo0 == Py_None) { _arg0 = NULL; }
10924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
10926 return NULL;
10927 }
10928 }
10929{
10930 wxPy_BEGIN_ALLOW_THREADS;
10931 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
10932
10933 wxPy_END_ALLOW_THREADS;
10934} if (_result) {
10935 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10936 _resultobj = Py_BuildValue("s",_ptemp);
10937 } else {
10938 Py_INCREF(Py_None);
10939 _resultobj = Py_None;
10940 }
10941 return _resultobj;
10942}
10943
10944#define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
10945static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10946 PyObject * _resultobj;
10947 wxGridCellEditor * _result;
10948 wxGrid * _arg0;
10949 int _arg1;
10950 int _arg2;
10951 PyObject * _argo0 = 0;
10952 char *_kwnames[] = { "self","row","col", NULL };
10953 char _ptemp[128];
10954
10955 self = self;
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
10957 return NULL;
10958 if (_argo0) {
10959 if (_argo0 == Py_None) { _arg0 = NULL; }
10960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
10962 return NULL;
10963 }
10964 }
10965{
10966 wxPy_BEGIN_ALLOW_THREADS;
10967 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
10968
10969 wxPy_END_ALLOW_THREADS;
10970} if (_result) {
10971 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10972 _resultobj = Py_BuildValue("s",_ptemp);
10973 } else {
10974 Py_INCREF(Py_None);
10975 _resultobj = Py_None;
10976 }
10977 return _resultobj;
10978}
10979
10980#define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
10981static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10982 PyObject * _resultobj;
10983 wxString * _result;
10984 wxGrid * _arg0;
10985 int _arg1;
10986 int _arg2;
10987 PyObject * _argo0 = 0;
10988 char *_kwnames[] = { "self","row","col", NULL };
10989
10990 self = self;
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
10992 return NULL;
10993 if (_argo0) {
10994 if (_argo0 == Py_None) { _arg0 = NULL; }
10995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
10997 return NULL;
10998 }
10999 }
11000{
11001 wxPy_BEGIN_ALLOW_THREADS;
11002 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11003
11004 wxPy_END_ALLOW_THREADS;
11005}{
11006 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11007}
11008{
11009 delete _result;
11010}
11011 return _resultobj;
11012}
11013
11014#define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11015static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11016 PyObject * _resultobj;
11017 wxGrid * _arg0;
11018 int _arg1;
11019 int _arg2;
11020 wxString * _arg3;
11021 PyObject * _argo0 = 0;
11022 PyObject * _obj3 = 0;
11023 char *_kwnames[] = { "self","row","col","s", NULL };
11024
11025 self = self;
11026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11027 return NULL;
11028 if (_argo0) {
11029 if (_argo0 == Py_None) { _arg0 = NULL; }
11030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11032 return NULL;
11033 }
11034 }
11035{
2cd2fac8
RD
11036#if PYTHON_API_VERSION >= 1009
11037 char* tmpPtr; int tmpSize;
11038 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
11039 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11040 return NULL;
11041 }
11042 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11043 return NULL;
11044 _arg3 = new wxString(tmpPtr, tmpSize);
11045#else
f6bcfd97
BP
11046 if (!PyString_Check(_obj3)) {
11047 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11048 return NULL;
11049 }
2cd2fac8
RD
11050 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11051#endif
f6bcfd97
BP
11052}
11053{
11054 wxPy_BEGIN_ALLOW_THREADS;
11055 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11056
11057 wxPy_END_ALLOW_THREADS;
11058} Py_INCREF(Py_None);
11059 _resultobj = Py_None;
11060{
11061 if (_obj3)
11062 delete _arg3;
11063}
11064 return _resultobj;
11065}
11066
11067#define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11068static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11069 PyObject * _resultobj;
11070 bool _result;
11071 wxGrid * _arg0;
11072 int _arg1;
11073 int _arg2;
11074 PyObject * _argo0 = 0;
11075 char *_kwnames[] = { "self","row","col", NULL };
11076
11077 self = self;
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11079 return NULL;
11080 if (_argo0) {
11081 if (_argo0 == Py_None) { _arg0 = NULL; }
11082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11084 return NULL;
11085 }
11086 }
11087{
11088 wxPy_BEGIN_ALLOW_THREADS;
11089 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11090
11091 wxPy_END_ALLOW_THREADS;
11092} _resultobj = Py_BuildValue("i",_result);
11093 return _resultobj;
11094}
11095
11096#define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11097static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11098 PyObject * _resultobj;
11099 wxGrid * _arg0;
11100 int _arg1;
11101 int _arg2;
11102 bool _arg3 = (bool ) TRUE;
11103 PyObject * _argo0 = 0;
11104 int tempbool3 = (int) TRUE;
11105 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11106
11107 self = self;
11108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11109 return NULL;
11110 if (_argo0) {
11111 if (_argo0 == Py_None) { _arg0 = NULL; }
11112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11114 return NULL;
11115 }
11116 }
11117 _arg3 = (bool ) tempbool3;
11118{
11119 wxPy_BEGIN_ALLOW_THREADS;
11120 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11121
11122 wxPy_END_ALLOW_THREADS;
11123} Py_INCREF(Py_None);
11124 _resultobj = Py_None;
11125 return _resultobj;
11126}
11127
11128#define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11129static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11130 PyObject * _resultobj;
11131 wxGrid * _arg0;
11132 int _arg1;
11133 bool _arg2 = (bool ) FALSE;
11134 PyObject * _argo0 = 0;
11135 int tempbool2 = (int) FALSE;
11136 char *_kwnames[] = { "self","row","addToSelected", NULL };
11137
11138 self = self;
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11140 return NULL;
11141 if (_argo0) {
11142 if (_argo0 == Py_None) { _arg0 = NULL; }
11143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11145 return NULL;
11146 }
11147 }
11148 _arg2 = (bool ) tempbool2;
11149{
11150 wxPy_BEGIN_ALLOW_THREADS;
11151 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11152
11153 wxPy_END_ALLOW_THREADS;
11154} Py_INCREF(Py_None);
11155 _resultobj = Py_None;
11156 return _resultobj;
11157}
11158
11159#define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11160static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11161 PyObject * _resultobj;
11162 wxGrid * _arg0;
11163 int _arg1;
11164 bool _arg2 = (bool ) FALSE;
11165 PyObject * _argo0 = 0;
11166 int tempbool2 = (int) FALSE;
11167 char *_kwnames[] = { "self","col","addToSelected", NULL };
11168
11169 self = self;
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11171 return NULL;
11172 if (_argo0) {
11173 if (_argo0 == Py_None) { _arg0 = NULL; }
11174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11176 return NULL;
11177 }
11178 }
11179 _arg2 = (bool ) tempbool2;
11180{
11181 wxPy_BEGIN_ALLOW_THREADS;
11182 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11183
11184 wxPy_END_ALLOW_THREADS;
11185} Py_INCREF(Py_None);
11186 _resultobj = Py_None;
11187 return _resultobj;
11188}
11189
c368d904 11190#define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
f6bcfd97
BP
11191static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11192 PyObject * _resultobj;
11193 wxGrid * _arg0;
11194 int _arg1;
11195 int _arg2;
11196 int _arg3;
11197 int _arg4;
c368d904 11198 bool _arg5 = (bool ) FALSE;
f6bcfd97 11199 PyObject * _argo0 = 0;
c368d904
RD
11200 int tempbool5 = (int) FALSE;
11201 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
f6bcfd97
BP
11202
11203 self = self;
c368d904 11204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
f6bcfd97
BP
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_SelectBlock. Expected _wxGrid_p.");
11210 return NULL;
11211 }
11212 }
c368d904 11213 _arg5 = (bool ) tempbool5;
f6bcfd97
BP
11214{
11215 wxPy_BEGIN_ALLOW_THREADS;
c368d904 11216 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
f6bcfd97
BP
11217
11218 wxPy_END_ALLOW_THREADS;
11219} Py_INCREF(Py_None);
11220 _resultobj = Py_None;
11221 return _resultobj;
11222}
11223
11224#define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11225static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11226 PyObject * _resultobj;
11227 wxGrid * _arg0;
11228 PyObject * _argo0 = 0;
11229 char *_kwnames[] = { "self", NULL };
11230
11231 self = self;
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11233 return NULL;
11234 if (_argo0) {
11235 if (_argo0 == Py_None) { _arg0 = NULL; }
11236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11238 return NULL;
11239 }
11240 }
11241{
11242 wxPy_BEGIN_ALLOW_THREADS;
11243 wxGrid_SelectAll(_arg0);
11244
11245 wxPy_END_ALLOW_THREADS;
11246} Py_INCREF(Py_None);
11247 _resultobj = Py_None;
11248 return _resultobj;
11249}
11250
11251#define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11252static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject * _resultobj;
11254 bool _result;
11255 wxGrid * _arg0;
11256 PyObject * _argo0 = 0;
11257 char *_kwnames[] = { "self", NULL };
11258
11259 self = self;
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11261 return NULL;
11262 if (_argo0) {
11263 if (_argo0 == Py_None) { _arg0 = NULL; }
11264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11266 return NULL;
11267 }
11268 }
11269{
11270 wxPy_BEGIN_ALLOW_THREADS;
11271 _result = (bool )wxGrid_IsSelection(_arg0);
11272
11273 wxPy_END_ALLOW_THREADS;
11274} _resultobj = Py_BuildValue("i",_result);
11275 return _resultobj;
11276}
11277
11278#define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11279static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11280 PyObject * _resultobj;
11281 wxGrid * _arg0;
11282 PyObject * _argo0 = 0;
11283 char *_kwnames[] = { "self", NULL };
11284
11285 self = self;
11286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11287 return NULL;
11288 if (_argo0) {
11289 if (_argo0 == Py_None) { _arg0 = NULL; }
11290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11292 return NULL;
11293 }
11294 }
11295{
11296 wxPy_BEGIN_ALLOW_THREADS;
11297 wxGrid_ClearSelection(_arg0);
11298
11299 wxPy_END_ALLOW_THREADS;
11300} Py_INCREF(Py_None);
11301 _resultobj = Py_None;
11302 return _resultobj;
11303}
11304
11305#define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11306static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11307 PyObject * _resultobj;
11308 bool _result;
11309 wxGrid * _arg0;
11310 int _arg1;
11311 int _arg2;
11312 PyObject * _argo0 = 0;
11313 char *_kwnames[] = { "self","row","col", NULL };
11314
11315 self = self;
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11317 return NULL;
11318 if (_argo0) {
11319 if (_argo0 == Py_None) { _arg0 = NULL; }
11320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11322 return NULL;
11323 }
11324 }
11325{
11326 wxPy_BEGIN_ALLOW_THREADS;
11327 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11328
11329 wxPy_END_ALLOW_THREADS;
11330} _resultobj = Py_BuildValue("i",_result);
11331 return _resultobj;
11332}
11333
11334#define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11335static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11336 PyObject * _resultobj;
11337 wxRect * _result;
11338 wxGrid * _arg0;
11339 wxGridCellCoords * _arg1;
11340 wxGridCellCoords * _arg2;
11341 PyObject * _argo0 = 0;
11342 wxGridCellCoords temp;
11343 PyObject * _obj1 = 0;
11344 wxGridCellCoords temp0;
11345 PyObject * _obj2 = 0;
11346 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11347 char _ptemp[128];
11348
11349 self = self;
11350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11351 return NULL;
11352 if (_argo0) {
11353 if (_argo0 == Py_None) { _arg0 = NULL; }
11354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11356 return NULL;
11357 }
11358 }
11359{
11360 _arg1 = &temp;
11361 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11362 return NULL;
11363}
11364{
11365 _arg2 = &temp0;
11366 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11367 return NULL;
11368}
11369{
11370 wxPy_BEGIN_ALLOW_THREADS;
11371 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11372
11373 wxPy_END_ALLOW_THREADS;
11374} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11375 _resultobj = Py_BuildValue("s",_ptemp);
11376 return _resultobj;
11377}
11378
11379#define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11380static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11381 PyObject * _resultobj;
11382 wxColour * _result;
11383 wxGrid * _arg0;
11384 PyObject * _argo0 = 0;
11385 char *_kwnames[] = { "self", NULL };
11386 char _ptemp[128];
11387
11388 self = self;
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11390 return NULL;
11391 if (_argo0) {
11392 if (_argo0 == Py_None) { _arg0 = NULL; }
11393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11395 return NULL;
11396 }
11397 }
11398{
11399 wxPy_BEGIN_ALLOW_THREADS;
11400 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11401
11402 wxPy_END_ALLOW_THREADS;
11403} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11404 _resultobj = Py_BuildValue("s",_ptemp);
11405 return _resultobj;
11406}
11407
11408#define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11409static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject * _resultobj;
11411 wxColour * _result;
11412 wxGrid * _arg0;
11413 PyObject * _argo0 = 0;
11414 char *_kwnames[] = { "self", NULL };
11415 char _ptemp[128];
11416
11417 self = self;
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11419 return NULL;
11420 if (_argo0) {
11421 if (_argo0 == Py_None) { _arg0 = NULL; }
11422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11424 return NULL;
11425 }
11426 }
11427{
11428 wxPy_BEGIN_ALLOW_THREADS;
11429 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
11430
11431 wxPy_END_ALLOW_THREADS;
11432} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11433 _resultobj = Py_BuildValue("s",_ptemp);
11434 return _resultobj;
11435}
11436
11437#define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11438static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11439 PyObject * _resultobj;
11440 wxGrid * _arg0;
11441 wxColour * _arg1;
11442 PyObject * _argo0 = 0;
11443 wxColour temp;
11444 PyObject * _obj1 = 0;
11445 char *_kwnames[] = { "self","c", NULL };
11446
11447 self = self;
11448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
11449 return NULL;
11450 if (_argo0) {
11451 if (_argo0 == Py_None) { _arg0 = NULL; }
11452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11454 return NULL;
11455 }
11456 }
11457{
11458 _arg1 = &temp;
11459 if (! wxColour_helper(_obj1, &_arg1))
11460 return NULL;
11461}
11462{
11463 wxPy_BEGIN_ALLOW_THREADS;
11464 wxGrid_SetSelectionBackground(_arg0,*_arg1);
11465
11466 wxPy_END_ALLOW_THREADS;
11467} Py_INCREF(Py_None);
11468 _resultobj = Py_None;
11469 return _resultobj;
11470}
11471
11472#define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11473static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11474 PyObject * _resultobj;
11475 wxGrid * _arg0;
11476 wxColour * _arg1;
11477 PyObject * _argo0 = 0;
11478 wxColour temp;
11479 PyObject * _obj1 = 0;
11480 char *_kwnames[] = { "self","c", NULL };
11481
11482 self = self;
11483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
11484 return NULL;
11485 if (_argo0) {
11486 if (_argo0 == Py_None) { _arg0 = NULL; }
11487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11489 return NULL;
11490 }
11491 }
11492{
11493 _arg1 = &temp;
11494 if (! wxColour_helper(_obj1, &_arg1))
11495 return NULL;
11496}
11497{
11498 wxPy_BEGIN_ALLOW_THREADS;
11499 wxGrid_SetSelectionForeground(_arg0,*_arg1);
11500
11501 wxPy_END_ALLOW_THREADS;
11502} Py_INCREF(Py_None);
11503 _resultobj = Py_None;
11504 return _resultobj;
11505}
11506
11507#define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11508static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
11509 PyObject * _resultobj;
11510 wxGrid * _arg0;
11511 wxString * _arg1;
11512 wxGridCellRenderer * _arg2;
11513 wxGridCellEditor * _arg3;
11514 PyObject * _argo0 = 0;
11515 PyObject * _obj1 = 0;
11516 PyObject * _argo2 = 0;
11517 PyObject * _argo3 = 0;
11518 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
11519
11520 self = self;
11521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
11522 return NULL;
11523 if (_argo0) {
11524 if (_argo0 == Py_None) { _arg0 = NULL; }
11525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
11527 return NULL;
11528 }
11529 }
11530{
2cd2fac8
RD
11531#if PYTHON_API_VERSION >= 1009
11532 char* tmpPtr; int tmpSize;
11533 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11534 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11535 return NULL;
11536 }
11537 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11538 return NULL;
11539 _arg1 = new wxString(tmpPtr, tmpSize);
11540#else
f6bcfd97
BP
11541 if (!PyString_Check(_obj1)) {
11542 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11543 return NULL;
11544 }
2cd2fac8
RD
11545 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11546#endif
f6bcfd97
BP
11547}
11548 if (_argo2) {
11549 if (_argo2 == Py_None) { _arg2 = NULL; }
11550 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
11551 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11552 return NULL;
11553 }
11554 }
11555 if (_argo3) {
11556 if (_argo3 == Py_None) { _arg3 = NULL; }
11557 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11558 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11559 return NULL;
11560 }
11561 }
11562{
11563 wxPy_BEGIN_ALLOW_THREADS;
11564 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
11565
11566 wxPy_END_ALLOW_THREADS;
11567} Py_INCREF(Py_None);
11568 _resultobj = Py_None;
11569{
11570 if (_obj1)
11571 delete _arg1;
11572}
11573 return _resultobj;
11574}
11575
11576#define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11577static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11578 PyObject * _resultobj;
11579 wxGridCellEditor * _result;
11580 wxGrid * _arg0;
11581 int _arg1;
11582 int _arg2;
11583 PyObject * _argo0 = 0;
11584 char *_kwnames[] = { "self","row","col", NULL };
11585 char _ptemp[128];
11586
11587 self = self;
11588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11589 return NULL;
11590 if (_argo0) {
11591 if (_argo0 == Py_None) { _arg0 = NULL; }
11592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11594 return NULL;
11595 }
11596 }
11597{
11598 wxPy_BEGIN_ALLOW_THREADS;
11599 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
11600
11601 wxPy_END_ALLOW_THREADS;
11602} if (_result) {
11603 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11604 _resultobj = Py_BuildValue("s",_ptemp);
11605 } else {
11606 Py_INCREF(Py_None);
11607 _resultobj = Py_None;
11608 }
11609 return _resultobj;
11610}
11611
11612#define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11613static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11614 PyObject * _resultobj;
11615 wxGridCellRenderer * _result;
11616 wxGrid * _arg0;
11617 int _arg1;
11618 int _arg2;
11619 PyObject * _argo0 = 0;
11620 char *_kwnames[] = { "self","row","col", NULL };
11621 char _ptemp[128];
11622
11623 self = self;
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11625 return NULL;
11626 if (_argo0) {
11627 if (_argo0 == Py_None) { _arg0 = NULL; }
11628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11630 return NULL;
11631 }
11632 }
11633{
11634 wxPy_BEGIN_ALLOW_THREADS;
11635 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
11636
11637 wxPy_END_ALLOW_THREADS;
11638} if (_result) {
11639 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11640 _resultobj = Py_BuildValue("s",_ptemp);
11641 } else {
11642 Py_INCREF(Py_None);
11643 _resultobj = Py_None;
11644 }
11645 return _resultobj;
11646}
11647
11648#define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11649static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11650 PyObject * _resultobj;
11651 wxGridCellEditor * _result;
11652 wxGrid * _arg0;
11653 wxString * _arg1;
11654 PyObject * _argo0 = 0;
11655 PyObject * _obj1 = 0;
11656 char *_kwnames[] = { "self","typeName", NULL };
11657 char _ptemp[128];
11658
11659 self = self;
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
11661 return NULL;
11662 if (_argo0) {
11663 if (_argo0 == Py_None) { _arg0 = NULL; }
11664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
11666 return NULL;
11667 }
11668 }
11669{
2cd2fac8
RD
11670#if PYTHON_API_VERSION >= 1009
11671 char* tmpPtr; int tmpSize;
11672 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11673 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11674 return NULL;
11675 }
11676 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11677 return NULL;
11678 _arg1 = new wxString(tmpPtr, tmpSize);
11679#else
f6bcfd97
BP
11680 if (!PyString_Check(_obj1)) {
11681 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11682 return NULL;
11683 }
2cd2fac8
RD
11684 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11685#endif
f6bcfd97
BP
11686}
11687{
11688 wxPy_BEGIN_ALLOW_THREADS;
11689 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
11690
11691 wxPy_END_ALLOW_THREADS;
11692} if (_result) {
11693 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11694 _resultobj = Py_BuildValue("s",_ptemp);
11695 } else {
11696 Py_INCREF(Py_None);
11697 _resultobj = Py_None;
11698 }
11699{
11700 if (_obj1)
11701 delete _arg1;
11702}
11703 return _resultobj;
11704}
11705
11706#define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11707static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11708 PyObject * _resultobj;
11709 wxGridCellRenderer * _result;
11710 wxGrid * _arg0;
11711 wxString * _arg1;
11712 PyObject * _argo0 = 0;
11713 PyObject * _obj1 = 0;
11714 char *_kwnames[] = { "self","typeName", NULL };
11715 char _ptemp[128];
11716
11717 self = self;
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
11719 return NULL;
11720 if (_argo0) {
11721 if (_argo0 == Py_None) { _arg0 = NULL; }
11722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11724 return NULL;
11725 }
11726 }
11727{
2cd2fac8
RD
11728#if PYTHON_API_VERSION >= 1009
11729 char* tmpPtr; int tmpSize;
11730 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11731 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11732 return NULL;
11733 }
11734 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11735 return NULL;
11736 _arg1 = new wxString(tmpPtr, tmpSize);
11737#else
f6bcfd97
BP
11738 if (!PyString_Check(_obj1)) {
11739 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11740 return NULL;
11741 }
2cd2fac8
RD
11742 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11743#endif
f6bcfd97
BP
11744}
11745{
11746 wxPy_BEGIN_ALLOW_THREADS;
11747 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
11748
11749 wxPy_END_ALLOW_THREADS;
11750} if (_result) {
11751 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11752 _resultobj = Py_BuildValue("s",_ptemp);
11753 } else {
11754 Py_INCREF(Py_None);
11755 _resultobj = Py_None;
11756 }
11757{
11758 if (_obj1)
11759 delete _arg1;
11760}
11761 return _resultobj;
11762}
11763
11764#define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11765static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
11766 PyObject * _resultobj;
11767 wxGrid * _arg0;
11768 int _arg1;
11769 int _arg2;
11770 PyObject * _argo0 = 0;
11771 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
11772
11773 self = self;
11774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
11775 return NULL;
11776 if (_argo0) {
11777 if (_argo0 == Py_None) { _arg0 = NULL; }
11778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11780 return NULL;
11781 }
11782 }
11783{
11784 wxPy_BEGIN_ALLOW_THREADS;
11785 wxGrid_SetMargins(_arg0,_arg1,_arg2);
11786
11787 wxPy_END_ALLOW_THREADS;
11788} Py_INCREF(Py_None);
11789 _resultobj = Py_None;
11790 return _resultobj;
11791}
11792
11793static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
11794 wxGridEvent *src;
11795 wxNotifyEvent *dest;
11796 src = (wxGridEvent *) ptr;
11797 dest = (wxNotifyEvent *) src;
11798 return (void *) dest;
11799}
11800
11801static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
11802 wxGridEvent *src;
11803 wxCommandEvent *dest;
11804 src = (wxGridEvent *) ptr;
11805 dest = (wxCommandEvent *) src;
11806 return (void *) dest;
11807}
11808
11809static void *SwigwxGridEventTowxEvent(void *ptr) {
11810 wxGridEvent *src;
11811 wxEvent *dest;
11812 src = (wxGridEvent *) ptr;
11813 dest = (wxEvent *) src;
11814 return (void *) dest;
11815}
11816
11817#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))
11818static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11819 PyObject * _resultobj;
11820 wxGridEvent * _result;
11821 int _arg0;
11822 wxEventType _arg1;
11823 wxGrid * _arg2;
11824 int _arg3 = (int ) -1;
11825 int _arg4 = (int ) -1;
11826 int _arg5 = (int ) -1;
11827 int _arg6 = (int ) -1;
11828 bool _arg7 = (bool ) TRUE;
11829 bool _arg8 = (bool ) FALSE;
11830 bool _arg9 = (bool ) FALSE;
11831 bool _arg10 = (bool ) FALSE;
11832 bool _arg11 = (bool ) FALSE;
11833 PyObject * _argo2 = 0;
11834 int tempbool7 = (int) TRUE;
11835 int tempbool8 = (int) FALSE;
11836 int tempbool9 = (int) FALSE;
11837 int tempbool10 = (int) FALSE;
11838 int tempbool11 = (int) FALSE;
11839 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
11840 char _ptemp[128];
11841
11842 self = self;
11843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
11844 return NULL;
11845 if (_argo2) {
11846 if (_argo2 == Py_None) { _arg2 = NULL; }
11847 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
11848 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
11849 return NULL;
11850 }
11851 }
11852 _arg7 = (bool ) tempbool7;
11853 _arg8 = (bool ) tempbool8;
11854 _arg9 = (bool ) tempbool9;
11855 _arg10 = (bool ) tempbool10;
11856 _arg11 = (bool ) tempbool11;
11857{
11858 wxPy_BEGIN_ALLOW_THREADS;
11859 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
11860
11861 wxPy_END_ALLOW_THREADS;
11862} if (_result) {
11863 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
11864 _resultobj = Py_BuildValue("s",_ptemp);
11865 } else {
11866 Py_INCREF(Py_None);
11867 _resultobj = Py_None;
11868 }
11869 return _resultobj;
11870}
11871
11872#define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
11873static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11874 PyObject * _resultobj;
11875 int _result;
11876 wxGridEvent * _arg0;
11877 PyObject * _argo0 = 0;
11878 char *_kwnames[] = { "self", NULL };
11879
11880 self = self;
11881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
11882 return NULL;
11883 if (_argo0) {
11884 if (_argo0 == Py_None) { _arg0 = NULL; }
11885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
11887 return NULL;
11888 }
11889 }
11890{
11891 wxPy_BEGIN_ALLOW_THREADS;
11892 _result = (int )wxGridEvent_GetRow(_arg0);
11893
11894 wxPy_END_ALLOW_THREADS;
11895} _resultobj = Py_BuildValue("i",_result);
11896 return _resultobj;
11897}
11898
11899#define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
11900static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11901 PyObject * _resultobj;
11902 int _result;
11903 wxGridEvent * _arg0;
11904 PyObject * _argo0 = 0;
11905 char *_kwnames[] = { "self", NULL };
11906
11907 self = self;
11908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
11909 return NULL;
11910 if (_argo0) {
11911 if (_argo0 == Py_None) { _arg0 = NULL; }
11912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
11914 return NULL;
11915 }
11916 }
11917{
11918 wxPy_BEGIN_ALLOW_THREADS;
11919 _result = (int )wxGridEvent_GetCol(_arg0);
11920
11921 wxPy_END_ALLOW_THREADS;
11922} _resultobj = Py_BuildValue("i",_result);
11923 return _resultobj;
11924}
11925
11926#define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11927static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11928 PyObject * _resultobj;
11929 wxPoint * _result;
11930 wxGridEvent * _arg0;
11931 PyObject * _argo0 = 0;
11932 char *_kwnames[] = { "self", NULL };
11933 char _ptemp[128];
11934
11935 self = self;
11936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
11937 return NULL;
11938 if (_argo0) {
11939 if (_argo0 == Py_None) { _arg0 = NULL; }
11940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
11942 return NULL;
11943 }
11944 }
11945{
11946 wxPy_BEGIN_ALLOW_THREADS;
11947 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
11948
11949 wxPy_END_ALLOW_THREADS;
11950} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
11951 _resultobj = Py_BuildValue("s",_ptemp);
11952 return _resultobj;
11953}
11954
11955#define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
11956static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
11957 PyObject * _resultobj;
11958 bool _result;
11959 wxGridEvent * _arg0;
11960 PyObject * _argo0 = 0;
11961 char *_kwnames[] = { "self", NULL };
11962
11963 self = self;
11964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
11965 return NULL;
11966 if (_argo0) {
11967 if (_argo0 == Py_None) { _arg0 = NULL; }
11968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
11970 return NULL;
11971 }
11972 }
11973{
11974 wxPy_BEGIN_ALLOW_THREADS;
11975 _result = (bool )wxGridEvent_Selecting(_arg0);
11976
11977 wxPy_END_ALLOW_THREADS;
11978} _resultobj = Py_BuildValue("i",_result);
11979 return _resultobj;
11980}
11981
11982#define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11983static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11984 PyObject * _resultobj;
11985 bool _result;
11986 wxGridEvent * _arg0;
11987 PyObject * _argo0 = 0;
11988 char *_kwnames[] = { "self", NULL };
11989
11990 self = self;
11991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
11992 return NULL;
11993 if (_argo0) {
11994 if (_argo0 == Py_None) { _arg0 = NULL; }
11995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
11997 return NULL;
11998 }
11999 }
12000{
12001 wxPy_BEGIN_ALLOW_THREADS;
12002 _result = (bool )wxGridEvent_ControlDown(_arg0);
12003
12004 wxPy_END_ALLOW_THREADS;
12005} _resultobj = Py_BuildValue("i",_result);
12006 return _resultobj;
12007}
12008
12009#define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12010static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12011 PyObject * _resultobj;
12012 bool _result;
12013 wxGridEvent * _arg0;
12014 PyObject * _argo0 = 0;
12015 char *_kwnames[] = { "self", NULL };
12016
12017 self = self;
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12019 return NULL;
12020 if (_argo0) {
12021 if (_argo0 == Py_None) { _arg0 = NULL; }
12022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12024 return NULL;
12025 }
12026 }
12027{
12028 wxPy_BEGIN_ALLOW_THREADS;
12029 _result = (bool )wxGridEvent_MetaDown(_arg0);
12030
12031 wxPy_END_ALLOW_THREADS;
12032} _resultobj = Py_BuildValue("i",_result);
12033 return _resultobj;
12034}
12035
12036#define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12037static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12038 PyObject * _resultobj;
12039 bool _result;
12040 wxGridEvent * _arg0;
12041 PyObject * _argo0 = 0;
12042 char *_kwnames[] = { "self", NULL };
12043
12044 self = self;
12045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12046 return NULL;
12047 if (_argo0) {
12048 if (_argo0 == Py_None) { _arg0 = NULL; }
12049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12051 return NULL;
12052 }
12053 }
12054{
12055 wxPy_BEGIN_ALLOW_THREADS;
12056 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12057
12058 wxPy_END_ALLOW_THREADS;
12059} _resultobj = Py_BuildValue("i",_result);
12060 return _resultobj;
12061}
12062
12063#define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12064static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12065 PyObject * _resultobj;
12066 bool _result;
12067 wxGridEvent * _arg0;
12068 PyObject * _argo0 = 0;
12069 char *_kwnames[] = { "self", NULL };
12070
12071 self = self;
12072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12073 return NULL;
12074 if (_argo0) {
12075 if (_argo0 == Py_None) { _arg0 = NULL; }
12076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12078 return NULL;
12079 }
12080 }
12081{
12082 wxPy_BEGIN_ALLOW_THREADS;
12083 _result = (bool )wxGridEvent_AltDown(_arg0);
12084
12085 wxPy_END_ALLOW_THREADS;
12086} _resultobj = Py_BuildValue("i",_result);
12087 return _resultobj;
12088}
12089
12090static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12091 wxGridSizeEvent *src;
12092 wxNotifyEvent *dest;
12093 src = (wxGridSizeEvent *) ptr;
12094 dest = (wxNotifyEvent *) src;
12095 return (void *) dest;
12096}
12097
12098static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12099 wxGridSizeEvent *src;
12100 wxCommandEvent *dest;
12101 src = (wxGridSizeEvent *) ptr;
12102 dest = (wxCommandEvent *) src;
12103 return (void *) dest;
12104}
12105
12106static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12107 wxGridSizeEvent *src;
12108 wxEvent *dest;
12109 src = (wxGridSizeEvent *) ptr;
12110 dest = (wxEvent *) src;
12111 return (void *) dest;
12112}
12113
12114#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))
12115static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12116 PyObject * _resultobj;
12117 wxGridSizeEvent * _result;
12118 int _arg0;
12119 wxEventType _arg1;
12120 wxGrid * _arg2;
12121 int _arg3 = (int ) -1;
12122 int _arg4 = (int ) -1;
12123 int _arg5 = (int ) -1;
12124 bool _arg6 = (bool ) FALSE;
12125 bool _arg7 = (bool ) FALSE;
12126 bool _arg8 = (bool ) FALSE;
12127 bool _arg9 = (bool ) FALSE;
12128 PyObject * _argo2 = 0;
12129 int tempbool6 = (int) FALSE;
12130 int tempbool7 = (int) FALSE;
12131 int tempbool8 = (int) FALSE;
12132 int tempbool9 = (int) FALSE;
12133 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12134 char _ptemp[128];
12135
12136 self = self;
12137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12138 return NULL;
12139 if (_argo2) {
12140 if (_argo2 == Py_None) { _arg2 = NULL; }
12141 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12142 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12143 return NULL;
12144 }
12145 }
12146 _arg6 = (bool ) tempbool6;
12147 _arg7 = (bool ) tempbool7;
12148 _arg8 = (bool ) tempbool8;
12149 _arg9 = (bool ) tempbool9;
12150{
12151 wxPy_BEGIN_ALLOW_THREADS;
12152 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12153
12154 wxPy_END_ALLOW_THREADS;
12155} if (_result) {
12156 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12157 _resultobj = Py_BuildValue("s",_ptemp);
12158 } else {
12159 Py_INCREF(Py_None);
12160 _resultobj = Py_None;
12161 }
12162 return _resultobj;
12163}
12164
12165#define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12166static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12167 PyObject * _resultobj;
12168 int _result;
12169 wxGridSizeEvent * _arg0;
12170 PyObject * _argo0 = 0;
12171 char *_kwnames[] = { "self", NULL };
12172
12173 self = self;
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12175 return NULL;
12176 if (_argo0) {
12177 if (_argo0 == Py_None) { _arg0 = NULL; }
12178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12180 return NULL;
12181 }
12182 }
12183{
12184 wxPy_BEGIN_ALLOW_THREADS;
12185 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12186
12187 wxPy_END_ALLOW_THREADS;
12188} _resultobj = Py_BuildValue("i",_result);
12189 return _resultobj;
12190}
12191
12192#define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12193static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12194 PyObject * _resultobj;
12195 wxPoint * _result;
12196 wxGridSizeEvent * _arg0;
12197 PyObject * _argo0 = 0;
12198 char *_kwnames[] = { "self", NULL };
12199 char _ptemp[128];
12200
12201 self = self;
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12203 return NULL;
12204 if (_argo0) {
12205 if (_argo0 == Py_None) { _arg0 = NULL; }
12206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12208 return NULL;
12209 }
12210 }
12211{
12212 wxPy_BEGIN_ALLOW_THREADS;
12213 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12214
12215 wxPy_END_ALLOW_THREADS;
12216} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12217 _resultobj = Py_BuildValue("s",_ptemp);
12218 return _resultobj;
12219}
12220
12221#define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12222static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12223 PyObject * _resultobj;
12224 bool _result;
12225 wxGridSizeEvent * _arg0;
12226 PyObject * _argo0 = 0;
12227 char *_kwnames[] = { "self", NULL };
12228
12229 self = self;
12230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12231 return NULL;
12232 if (_argo0) {
12233 if (_argo0 == Py_None) { _arg0 = NULL; }
12234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12236 return NULL;
12237 }
12238 }
12239{
12240 wxPy_BEGIN_ALLOW_THREADS;
12241 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
12242
12243 wxPy_END_ALLOW_THREADS;
12244} _resultobj = Py_BuildValue("i",_result);
12245 return _resultobj;
12246}
12247
12248#define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12249static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12250 PyObject * _resultobj;
12251 bool _result;
12252 wxGridSizeEvent * _arg0;
12253 PyObject * _argo0 = 0;
12254 char *_kwnames[] = { "self", NULL };
12255
12256 self = self;
12257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12258 return NULL;
12259 if (_argo0) {
12260 if (_argo0 == Py_None) { _arg0 = NULL; }
12261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12263 return NULL;
12264 }
12265 }
12266{
12267 wxPy_BEGIN_ALLOW_THREADS;
12268 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12269
12270 wxPy_END_ALLOW_THREADS;
12271} _resultobj = Py_BuildValue("i",_result);
12272 return _resultobj;
12273}
12274
12275#define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12276static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12277 PyObject * _resultobj;
12278 bool _result;
12279 wxGridSizeEvent * _arg0;
12280 PyObject * _argo0 = 0;
12281 char *_kwnames[] = { "self", NULL };
12282
12283 self = self;
12284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12285 return NULL;
12286 if (_argo0) {
12287 if (_argo0 == Py_None) { _arg0 = NULL; }
12288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12290 return NULL;
12291 }
12292 }
12293{
12294 wxPy_BEGIN_ALLOW_THREADS;
12295 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12296
12297 wxPy_END_ALLOW_THREADS;
12298} _resultobj = Py_BuildValue("i",_result);
12299 return _resultobj;
12300}
12301
12302#define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12303static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12304 PyObject * _resultobj;
12305 bool _result;
12306 wxGridSizeEvent * _arg0;
12307 PyObject * _argo0 = 0;
12308 char *_kwnames[] = { "self", NULL };
12309
12310 self = self;
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
12312 return NULL;
12313 if (_argo0) {
12314 if (_argo0 == Py_None) { _arg0 = NULL; }
12315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12317 return NULL;
12318 }
12319 }
12320{
12321 wxPy_BEGIN_ALLOW_THREADS;
12322 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
12323
12324 wxPy_END_ALLOW_THREADS;
12325} _resultobj = Py_BuildValue("i",_result);
12326 return _resultobj;
12327}
12328
12329static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
12330 wxGridRangeSelectEvent *src;
12331 wxNotifyEvent *dest;
12332 src = (wxGridRangeSelectEvent *) ptr;
12333 dest = (wxNotifyEvent *) src;
12334 return (void *) dest;
12335}
12336
12337static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
12338 wxGridRangeSelectEvent *src;
12339 wxCommandEvent *dest;
12340 src = (wxGridRangeSelectEvent *) ptr;
12341 dest = (wxCommandEvent *) src;
12342 return (void *) dest;
12343}
12344
12345static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
12346 wxGridRangeSelectEvent *src;
12347 wxEvent *dest;
12348 src = (wxGridRangeSelectEvent *) ptr;
12349 dest = (wxEvent *) src;
12350 return (void *) dest;
12351}
12352
12353#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))
12354static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12355 PyObject * _resultobj;
12356 wxGridRangeSelectEvent * _result;
12357 int _arg0;
12358 wxEventType _arg1;
12359 wxGrid * _arg2;
12360 wxGridCellCoords * _arg3;
12361 wxGridCellCoords * _arg4;
12362 bool _arg5 = (bool ) TRUE;
12363 bool _arg6 = (bool ) FALSE;
12364 bool _arg7 = (bool ) FALSE;
12365 bool _arg8 = (bool ) FALSE;
12366 bool _arg9 = (bool ) FALSE;
12367 PyObject * _argo2 = 0;
12368 wxGridCellCoords temp;
12369 PyObject * _obj3 = 0;
12370 wxGridCellCoords temp0;
12371 PyObject * _obj4 = 0;
12372 int tempbool5 = (int) TRUE;
12373 int tempbool6 = (int) FALSE;
12374 int tempbool7 = (int) FALSE;
12375 int tempbool8 = (int) FALSE;
12376 int tempbool9 = (int) FALSE;
12377 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
12378 char _ptemp[128];
12379
12380 self = self;
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12382 return NULL;
12383 if (_argo2) {
12384 if (_argo2 == Py_None) { _arg2 = NULL; }
12385 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12386 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12387 return NULL;
12388 }
12389 }
12390{
12391 _arg3 = &temp;
12392 if (! wxGridCellCoords_helper(_obj3, &_arg3))
12393 return NULL;
12394}
12395{
12396 _arg4 = &temp0;
12397 if (! wxGridCellCoords_helper(_obj4, &_arg4))
12398 return NULL;
12399}
12400 _arg5 = (bool ) tempbool5;
12401 _arg6 = (bool ) tempbool6;
12402 _arg7 = (bool ) tempbool7;
12403 _arg8 = (bool ) tempbool8;
12404 _arg9 = (bool ) tempbool9;
12405{
12406 wxPy_BEGIN_ALLOW_THREADS;
12407 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12408
12409 wxPy_END_ALLOW_THREADS;
12410} if (_result) {
12411 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
12412 _resultobj = Py_BuildValue("s",_ptemp);
12413 } else {
12414 Py_INCREF(Py_None);
12415 _resultobj = Py_None;
12416 }
12417 return _resultobj;
12418}
12419
12420#define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12421static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12422 PyObject * _resultobj;
12423 wxGridCellCoords * _result;
12424 wxGridRangeSelectEvent * _arg0;
12425 PyObject * _argo0 = 0;
12426 char *_kwnames[] = { "self", NULL };
12427 char _ptemp[128];
12428
12429 self = self;
12430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
12431 return NULL;
12432 if (_argo0) {
12433 if (_argo0 == Py_None) { _arg0 = NULL; }
12434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12436 return NULL;
12437 }
12438 }
12439{
12440 wxPy_BEGIN_ALLOW_THREADS;
12441 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
12442
12443 wxPy_END_ALLOW_THREADS;
12444} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12445 _resultobj = Py_BuildValue("s",_ptemp);
12446 return _resultobj;
12447}
12448
12449#define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12450static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12451 PyObject * _resultobj;
12452 wxGridCellCoords * _result;
12453 wxGridRangeSelectEvent * _arg0;
12454 PyObject * _argo0 = 0;
12455 char *_kwnames[] = { "self", NULL };
12456 char _ptemp[128];
12457
12458 self = self;
12459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
12460 return NULL;
12461 if (_argo0) {
12462 if (_argo0 == Py_None) { _arg0 = NULL; }
12463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12465 return NULL;
12466 }
12467 }
12468{
12469 wxPy_BEGIN_ALLOW_THREADS;
12470 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
12471
12472 wxPy_END_ALLOW_THREADS;
12473} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12474 _resultobj = Py_BuildValue("s",_ptemp);
12475 return _resultobj;
12476}
12477
12478#define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12479static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12480 PyObject * _resultobj;
12481 int _result;
12482 wxGridRangeSelectEvent * _arg0;
12483 PyObject * _argo0 = 0;
12484 char *_kwnames[] = { "self", NULL };
12485
12486 self = self;
12487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
12488 return NULL;
12489 if (_argo0) {
12490 if (_argo0 == Py_None) { _arg0 = NULL; }
12491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12493 return NULL;
12494 }
12495 }
12496{
12497 wxPy_BEGIN_ALLOW_THREADS;
12498 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
12499
12500 wxPy_END_ALLOW_THREADS;
12501} _resultobj = Py_BuildValue("i",_result);
12502 return _resultobj;
12503}
12504
12505#define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12506static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12507 PyObject * _resultobj;
12508 int _result;
12509 wxGridRangeSelectEvent * _arg0;
12510 PyObject * _argo0 = 0;
12511 char *_kwnames[] = { "self", NULL };
12512
12513 self = self;
12514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
12515 return NULL;
12516 if (_argo0) {
12517 if (_argo0 == Py_None) { _arg0 = NULL; }
12518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12520 return NULL;
12521 }
12522 }
12523{
12524 wxPy_BEGIN_ALLOW_THREADS;
12525 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
12526
12527 wxPy_END_ALLOW_THREADS;
12528} _resultobj = Py_BuildValue("i",_result);
12529 return _resultobj;
12530}
12531
12532#define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12533static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12534 PyObject * _resultobj;
12535 int _result;
12536 wxGridRangeSelectEvent * _arg0;
12537 PyObject * _argo0 = 0;
12538 char *_kwnames[] = { "self", NULL };
12539
12540 self = self;
12541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
12542 return NULL;
12543 if (_argo0) {
12544 if (_argo0 == Py_None) { _arg0 = NULL; }
12545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12547 return NULL;
12548 }
12549 }
12550{
12551 wxPy_BEGIN_ALLOW_THREADS;
12552 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
12553
12554 wxPy_END_ALLOW_THREADS;
12555} _resultobj = Py_BuildValue("i",_result);
12556 return _resultobj;
12557}
12558
12559#define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12560static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12561 PyObject * _resultobj;
12562 int _result;
12563 wxGridRangeSelectEvent * _arg0;
12564 PyObject * _argo0 = 0;
12565 char *_kwnames[] = { "self", NULL };
12566
12567 self = self;
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
12569 return NULL;
12570 if (_argo0) {
12571 if (_argo0 == Py_None) { _arg0 = NULL; }
12572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12574 return NULL;
12575 }
12576 }
12577{
12578 wxPy_BEGIN_ALLOW_THREADS;
12579 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
12580
12581 wxPy_END_ALLOW_THREADS;
12582} _resultobj = Py_BuildValue("i",_result);
12583 return _resultobj;
12584}
12585
12586#define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12587static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12588 PyObject * _resultobj;
12589 bool _result;
12590 wxGridRangeSelectEvent * _arg0;
12591 PyObject * _argo0 = 0;
12592 char *_kwnames[] = { "self", NULL };
12593
12594 self = self;
12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
12596 return NULL;
12597 if (_argo0) {
12598 if (_argo0 == Py_None) { _arg0 = NULL; }
12599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12601 return NULL;
12602 }
12603 }
12604{
12605 wxPy_BEGIN_ALLOW_THREADS;
12606 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
12607
12608 wxPy_END_ALLOW_THREADS;
12609} _resultobj = Py_BuildValue("i",_result);
12610 return _resultobj;
12611}
12612
12613#define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12614static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12615 PyObject * _resultobj;
12616 bool _result;
12617 wxGridRangeSelectEvent * _arg0;
12618 PyObject * _argo0 = 0;
12619 char *_kwnames[] = { "self", NULL };
12620
12621 self = self;
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
12623 return NULL;
12624 if (_argo0) {
12625 if (_argo0 == Py_None) { _arg0 = NULL; }
12626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12628 return NULL;
12629 }
12630 }
12631{
12632 wxPy_BEGIN_ALLOW_THREADS;
12633 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
12634
12635 wxPy_END_ALLOW_THREADS;
12636} _resultobj = Py_BuildValue("i",_result);
12637 return _resultobj;
12638}
12639
12640#define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12641static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12642 PyObject * _resultobj;
12643 bool _result;
12644 wxGridRangeSelectEvent * _arg0;
12645 PyObject * _argo0 = 0;
12646 char *_kwnames[] = { "self", NULL };
12647
12648 self = self;
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
12650 return NULL;
12651 if (_argo0) {
12652 if (_argo0 == Py_None) { _arg0 = NULL; }
12653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
12655 return NULL;
12656 }
12657 }
12658{
12659 wxPy_BEGIN_ALLOW_THREADS;
12660 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
12661
12662 wxPy_END_ALLOW_THREADS;
12663} _resultobj = Py_BuildValue("i",_result);
12664 return _resultobj;
12665}
12666
12667#define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12668static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12669 PyObject * _resultobj;
12670 bool _result;
12671 wxGridRangeSelectEvent * _arg0;
12672 PyObject * _argo0 = 0;
12673 char *_kwnames[] = { "self", NULL };
12674
12675 self = self;
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
12677 return NULL;
12678 if (_argo0) {
12679 if (_argo0 == Py_None) { _arg0 = NULL; }
12680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
12682 return NULL;
12683 }
12684 }
12685{
12686 wxPy_BEGIN_ALLOW_THREADS;
12687 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
12688
12689 wxPy_END_ALLOW_THREADS;
12690} _resultobj = Py_BuildValue("i",_result);
12691 return _resultobj;
12692}
12693
12694#define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
12695static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12696 PyObject * _resultobj;
12697 bool _result;
12698 wxGridRangeSelectEvent * _arg0;
12699 PyObject * _argo0 = 0;
12700 char *_kwnames[] = { "self", NULL };
12701
12702 self = self;
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
12704 return NULL;
12705 if (_argo0) {
12706 if (_argo0 == Py_None) { _arg0 = NULL; }
12707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
12709 return NULL;
12710 }
12711 }
12712{
12713 wxPy_BEGIN_ALLOW_THREADS;
12714 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
12715
12716 wxPy_END_ALLOW_THREADS;
12717} _resultobj = Py_BuildValue("i",_result);
12718 return _resultobj;
12719}
12720
12721static PyMethodDef gridcMethods[] = {
12722 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12723 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12724 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12725 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12726 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12727 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
12728 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
12729 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
12730 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
12731 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
12732 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
12733 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
12734 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12735 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12736 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12737 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12738 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12739 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
12740 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
12741 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12742 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12743 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12744 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12745 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12746 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12747 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
12748 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
12749 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
12750 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
12751 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
12752 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
12753 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
12754 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
12755 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
12756 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12757 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12758 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12759 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12760 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
12761 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
12762 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
12763 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
12764 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
12765 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
12766 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
12767 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
12768 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12769 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12770 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
12771 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
12772 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
12773 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12774 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
12775 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12776 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12777 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12778 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12779 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12780 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12781 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12782 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
12783 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12784 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12785 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12786 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12787 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12788 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
12789 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
12790 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
12791 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
12792 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
12793 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
12794 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
12795 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
12796 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12797 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
12798 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12799 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12800 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12801 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
12802 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12803 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12804 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12805 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12806 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12807 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
12808 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12809 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
12810 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12811 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
12812 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
12813 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
12814 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
12815 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
12816 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
12817 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12818 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12819 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
12820 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12821 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12822 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
12823 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
12824 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
12825 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
12826 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12827 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12828 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12829 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12830 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12831 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12832 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12833 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12834 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
12835 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12836 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12837 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12838 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12839 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12840 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12841 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12842 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12843 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12844 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12845 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
12846 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12847 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12848 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12849 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
12850 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12851 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12852 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
12853 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
12854 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
12855 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
12856 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
12857 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
12858 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
12859 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
12860 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
12861 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
12862 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
12863 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
12864 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
12865 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
12866 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
12867 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
12868 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
12869 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
12870 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
12871 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
12872 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
12873 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
12874 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
12875 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
12876 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
12877 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
12878 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
12879 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
12880 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12881 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12882 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
12883 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
12884 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
12885 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
12886 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
12887 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
12888 { "wxGrid_StringToLines", (PyCFunction) _wrap_wxGrid_StringToLines, METH_VARARGS | METH_KEYWORDS },
12889 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
12890 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
12891 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12892 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
12893 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
12894 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12895 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
12896 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
12897 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
12898 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
12899 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
12900 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
12901 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12902 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12903 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
12904 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
12905 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
12906 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
12907 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
12908 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
12909 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
12910 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
12911 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
12912 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
12913 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12914 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12915 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12916 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12917 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
12918 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
12919 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
12920 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
12921 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
12922 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
12923 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12924 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12925 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
12926 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12927 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12928 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12929 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12930 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12931 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12932 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12933 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12934 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12935 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12936 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
12937 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
12938 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12939 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
12940 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
12941 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
12942 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12943 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12944 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12945 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
12946 { "wxPyGridTableBase__setSelf", (PyCFunction) _wrap_wxPyGridTableBase__setSelf, METH_VARARGS | METH_KEYWORDS },
12947 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
12948 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12949 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12950 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
12951 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
12952 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12953 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12954 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12955 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12956 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12957 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12958 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
12959 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
12960 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12961 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
12962 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
12963 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
12964 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12965 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12966 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12967 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12968 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12969 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12970 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12971 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12972 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12973 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
12974 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
12975 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
12976 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12977 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12978 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
12979 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
12980 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12981 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12982 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12983 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12984 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12985 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12986 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setSelf, METH_VARARGS | METH_KEYWORDS },
12987 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12988 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
12989 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
12990 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12991 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12992 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
12993 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
12994 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12995 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
12996 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12997 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
12998 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
12999 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13000 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13001 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13002 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
13003 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13004 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13005 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13006 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13007 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13008 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
13009 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13010 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13011 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13012 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13013 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13014 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13015 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13016 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
13017 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
13018 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
13019 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
13020 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
13021 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
13022 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
13023 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
13024 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
13025 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13026 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
13027 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13028 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
13029 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
2cd2fac8 13030 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13031 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13032 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
13033 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
13034 { "wxPyGridCellEditor__setSelf", (PyCFunction) _wrap_wxPyGridCellEditor__setSelf, METH_VARARGS | METH_KEYWORDS },
13035 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
13036 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
13037 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13038 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
13039 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
13040 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13041 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13042 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
13043 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
13044 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
13045 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
13046 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
13047 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
13048 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
13049 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
13050 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
13051 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
13052 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
13053 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
13054 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
13055 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
13056 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
13057 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
13058 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
13059 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
13060 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
13061 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
13062 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
13063 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13064 { "wxPyGridCellRenderer__setSelf", (PyCFunction) _wrap_wxPyGridCellRenderer__setSelf, METH_VARARGS | METH_KEYWORDS },
13065 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
13066 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
13067 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
13068 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
13069 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
13070 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
13071 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
13072 { NULL, NULL }
13073};
13074#ifdef __cplusplus
13075}
13076#endif
13077/*
13078 * This table is used by the pointer type-checker
13079 */
13080static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
13081 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
13082 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13083 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13084 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13085 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13086 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
13087 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
13088 { "_wxEvent","_class_wxEvent",0},
13089 { "_class_wxActivateEvent","_wxActivateEvent",0},
13090 { "_signed_long","_long",0},
13091 { "_wxMenuEvent","_class_wxMenuEvent",0},
13092 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13093 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13094 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13095 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13096 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13097 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13098 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13099 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13100 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13101 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13102 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
13103 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
13104 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
13105 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
13106 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
13107 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
13108 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
13109 { "_wxPrintQuality","_wxCoord",0},
13110 { "_wxPrintQuality","_int",0},
13111 { "_wxPrintQuality","_signed_int",0},
13112 { "_wxPrintQuality","_unsigned_int",0},
13113 { "_wxPrintQuality","_wxWindowID",0},
13114 { "_wxPrintQuality","_uint",0},
13115 { "_wxPrintQuality","_EBool",0},
13116 { "_wxPrintQuality","_size_t",0},
c368d904 13117 { "_wxPrintQuality","_time_t",0},
f6bcfd97
BP
13118 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
13119 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
13120 { "_class_wxRegionIterator","_wxRegionIterator",0},
13121 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
13122 { "_class_wxMenuBar","_wxMenuBar",0},
13123 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
13124 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13125 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13126 { "_class_wxEvtHandler","_wxEvtHandler",0},
13127 { "_wxPaintEvent","_class_wxPaintEvent",0},
13128 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
13129 { "_wxCursor","_class_wxCursor",0},
13130 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13131 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13132 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13133 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13134 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13135 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13136 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
13137 { "_wxMask","_class_wxMask",0},
13138 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
13139 { "_wxGrid","_class_wxGrid",0},
13140 { "_wxPen","_class_wxPen",0},
13141 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
13142 { "_byte","_unsigned_char",0},
13143 { "_wxDataObject","_class_wxDataObject",0},
13144 { "_wxStaticBox","_class_wxStaticBox",0},
13145 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
13146 { "_wxPyDropSource","_class_wxPyDropSource",0},
13147 { "_wxChoice","_class_wxChoice",0},
13148 { "_wxSlider","_class_wxSlider",0},
13149 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
13150 { "_long","_unsigned_long",0},
13151 { "_long","_signed_long",0},
13152 { "_wxImageList","_class_wxImageList",0},
13153 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
13154 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
13155 { "_wxBitmapButton","_class_wxBitmapButton",0},
13156 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
13157 { "_class_wxClipboard","_wxClipboard",0},
13158 { "_class_wxGauge","_wxGauge",0},
13159 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
13160 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
13161 { "_wxDC","_class_wxDC",0},
13162 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
13163 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
13164 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
13165 { "_wxSpinEvent","_class_wxSpinEvent",0},
13166 { "_size_t","_WXGRIDSELECTIONMODES",0},
13167 { "_size_t","_wxCoord",0},
13168 { "_size_t","_wxPrintQuality",0},
c368d904 13169 { "_size_t","_time_t",0},
f6bcfd97
BP
13170 { "_size_t","_unsigned_int",0},
13171 { "_size_t","_int",0},
13172 { "_size_t","_wxWindowID",0},
13173 { "_size_t","_uint",0},
13174 { "_class_wxRealPoint","_wxRealPoint",0},
13175 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
13176 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
13177 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
13178 { "_class_wxMenuItem","_wxMenuItem",0},
13179 { "_class_wxPaintEvent","_wxPaintEvent",0},
13180 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
13181 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
13182 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13183 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13184 { "_wxPanel","_class_wxPanel",0},
13185 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
13186 { "_wxCheckBox","_class_wxCheckBox",0},
13187 { "_wxPyEvent","_class_wxPyEvent",0},
13188 { "_wxTextCtrl","_class_wxTextCtrl",0},
13189 { "_class_wxMask","_wxMask",0},
13190 { "_wxTextDataObject","_class_wxTextDataObject",0},
13191 { "_class_wxKeyEvent","_wxKeyEvent",0},
13192 { "_class_wxGrid","_wxGrid",0},
13193 { "_wxColour","_class_wxColour",0},
13194 { "_class_wxDialog","_wxDialog",0},
13195 { "_class_wxFileDataObject","_wxFileDataObject",0},
13196 { "_wxIdleEvent","_class_wxIdleEvent",0},
13197 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
13198 { "_class_wxDataObject","_wxDataObject",0},
13199 { "_wxStaticLine","_class_wxStaticLine",0},
13200 { "_wxBrush","_class_wxBrush",0},
13201 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
13202 { "_wxDataFormat","_class_wxDataFormat",0},
13203 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
13204 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
13205 { "_wxShowEvent","_class_wxShowEvent",0},
13206 { "_uint","_WXGRIDSELECTIONMODES",0},
13207 { "_uint","_wxCoord",0},
13208 { "_uint","_wxPrintQuality",0},
c368d904 13209 { "_uint","_time_t",0},
f6bcfd97
BP
13210 { "_uint","_size_t",0},
13211 { "_uint","_unsigned_int",0},
13212 { "_uint","_int",0},
13213 { "_uint","_wxWindowID",0},
13214 { "_wxChar","_char",0},
13215 { "_wxPyValidator","_class_wxPyValidator",0},
13216 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13217 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13218 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13219 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13220 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
13221 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
13222 { "_class_wxEvent","_wxEvent",0},
13223 { "_wxCheckListBox","_class_wxCheckListBox",0},
13224 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
13225 { "_wxGridEvent","_class_wxGridEvent",0},
13226 { "_wxRect","_class_wxRect",0},
13227 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13228 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13229 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13230 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13231 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13232 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13233 { "_wxCommandEvent","_class_wxCommandEvent",0},
13234 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
13235 { "_wxSizeEvent","_class_wxSizeEvent",0},
13236 { "_wxPoint","_class_wxPoint",0},
13237 { "_class_wxButton","_wxButton",0},
13238 { "_wxRadioBox","_class_wxRadioBox",0},
13239 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
13240 { "_char","_wxChar",0},
13241 { "_wxBitmap","_class_wxBitmap",0},
13242 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13243 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13244 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13245 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13246 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
13247 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
13248 { "_wxWindowDC","_class_wxWindowDC",0},
13249 { "_wxTimerEvent","_class_wxTimerEvent",0},
13250 { "_wxScrollBar","_class_wxScrollBar",0},
13251 { "_wxSpinButton","_class_wxSpinButton",0},
13252 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
13253 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13254 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13255 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13256 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13257 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13258 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13259 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
13260 { "_class_wxValidator","_wxValidator",0},
13261 { "_class_wxPyEvent","_wxPyEvent",0},
13262 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
13263 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
13264 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
13265 { "_wxDropTarget","_class_wxDropTarget",0},
13266 { "_class_wxStaticLine","_wxStaticLine",0},
13267 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
13268 { "_wxScrollEvent","_class_wxScrollEvent",0},
13269 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13270 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13271 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13272 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13273 { "_wxGridTableBase","_class_wxGridTableBase",0},
13274 { "_wxGridStringTable","_class_wxGridStringTable",0},
13275 { "_EBool","_WXGRIDSELECTIONMODES",0},
13276 { "_EBool","_wxCoord",0},
13277 { "_EBool","_wxPrintQuality",0},
13278 { "_EBool","_signed_int",0},
13279 { "_EBool","_int",0},
13280 { "_EBool","_wxWindowID",0},
13281 { "_class_wxRegion","_wxRegion",0},
13282 { "_class_wxDataFormat","_wxDataFormat",0},
13283 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
13284 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13285 { "_wxStaticText","_class_wxStaticText",0},
13286 { "_wxFont","_class_wxFont",0},
13287 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13288 { "_wxCloseEvent","_class_wxCloseEvent",0},
13289 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13290 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13291 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13292 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13293 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13294 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13295 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13296 { "_unsigned_long","_long",0},
13297 { "_class_wxRect","_wxRect",0},
13298 { "_class_wxDC","_wxDC",0},
13299 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13300 { "_WXGRIDSELECTIONMODES","_int",0},
13301 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13302 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13303 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13304 { "_WXGRIDSELECTIONMODES","_uint",0},
13305 { "_WXGRIDSELECTIONMODES","_EBool",0},
13306 { "_WXGRIDSELECTIONMODES","_size_t",0},
c368d904 13307 { "_WXGRIDSELECTIONMODES","_time_t",0},
f6bcfd97
BP
13308 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13309 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
13310 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
13311 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13312 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13313 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13314 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13315 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13316 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13317 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13318 { "_wxFocusEvent","_class_wxFocusEvent",0},
13319 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13320 { "_class_wxTimerEvent","_wxTimerEvent",0},
13321 { "_class_wxSpinButton","_wxSpinButton",0},
13322 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13323 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13324 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13325 { "_class_wxPanel","_wxPanel",0},
13326 { "_class_wxCheckBox","_wxCheckBox",0},
13327 { "_wxComboBox","_class_wxComboBox",0},
13328 { "_wxRadioButton","_class_wxRadioButton",0},
13329 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13330 { "_signed_int","_wxCoord",0},
13331 { "_signed_int","_wxPrintQuality",0},
13332 { "_signed_int","_EBool",0},
13333 { "_signed_int","_wxWindowID",0},
13334 { "_signed_int","_int",0},
13335 { "_class_wxTextCtrl","_wxTextCtrl",0},
13336 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13337 { "_class_wxTextDataObject","_wxTextDataObject",0},
13338 { "_wxMenu","_class_wxMenu",0},
13339 { "_class_wxMoveEvent","_wxMoveEvent",0},
13340 { "_wxListBox","_class_wxListBox",0},
13341 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13342 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13343 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13344 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13345 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13346 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13347 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13348 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13349 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13350 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13351 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13352 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13353 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13354 { "_wxScreenDC","_class_wxScreenDC",0},
13355 { "_WXTYPE","_short",0},
13356 { "_WXTYPE","_signed_short",0},
13357 { "_WXTYPE","_unsigned_short",0},
13358 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13359 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13360 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13361 { "_class_wxDropTarget","_wxDropTarget",0},
13362 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13363 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13364 { "_class_wxBrush","_wxBrush",0},
13365 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13366 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13367 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13368 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13369 { "_class_wxGridTableBase","_wxGridTableBase",0},
13370 { "_unsigned_short","_WXTYPE",0},
13371 { "_unsigned_short","_short",0},
13372 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13373 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13374 { "_class_wxWindow","_wxWindow",0},
13375 { "_class_wxStaticText","_wxStaticText",0},
13376 { "_class_wxFont","_wxFont",0},
13377 { "_wxClipboard","_class_wxClipboard",0},
13378 { "_class_wxPyValidator","_wxPyValidator",0},
13379 { "_class_wxCloseEvent","_wxCloseEvent",0},
13380 { "_wxBusyInfo","_class_wxBusyInfo",0},
13381 { "_class_wxMenuEvent","_wxMenuEvent",0},
13382 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13383 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13384 { "_wxClientDC","_class_wxClientDC",0},
13385 { "_wxMouseEvent","_class_wxMouseEvent",0},
13386 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
13387 { "_class_wxPoint","_wxPoint",0},
13388 { "_wxRealPoint","_class_wxRealPoint",0},
13389 { "_class_wxRadioBox","_wxRadioBox",0},
13390 { "_signed_short","_WXTYPE",0},
13391 { "_signed_short","_short",0},
13392 { "_wxMemoryDC","_class_wxMemoryDC",0},
13393 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13394 { "_wxPaintDC","_class_wxPaintDC",0},
13395 { "_class_wxWindowDC","_wxWindowDC",0},
13396 { "_class_wxFocusEvent","_wxFocusEvent",0},
13397 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13398 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13399 { "_class_wxCursor","_wxCursor",0},
13400 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
13401 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13402 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13403 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13404 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13405 { "_unsigned_char","_byte",0},
13406 { "_class_wxMenu","_wxMenu",0},
13407 { "_wxControl","_class_wxControl",0},
13408 { "_class_wxListBox","_wxListBox",0},
13409 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13410 { "_unsigned_int","_wxCoord",0},
13411 { "_unsigned_int","_wxPrintQuality",0},
c368d904 13412 { "_unsigned_int","_time_t",0},
f6bcfd97
BP
13413 { "_unsigned_int","_size_t",0},
13414 { "_unsigned_int","_uint",0},
13415 { "_unsigned_int","_wxWindowID",0},
13416 { "_unsigned_int","_int",0},
13417 { "_wxIcon","_class_wxIcon",0},
13418 { "_wxDialog","_class_wxDialog",0},
13419 { "_class_wxPen","_wxPen",0},
13420 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13421 { "_short","_WXTYPE",0},
13422 { "_short","_unsigned_short",0},
13423 { "_short","_signed_short",0},
13424 { "_class_wxStaticBox","_wxStaticBox",0},
13425 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13426 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13427 { "_class_wxPyDropSource","_wxPyDropSource",0},
13428 { "_class_wxScrollEvent","_wxScrollEvent",0},
13429 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13430 { "_class_wxChoice","_wxChoice",0},
13431 { "_class_wxSlider","_wxSlider",0},
13432 { "_class_wxImageList","_wxImageList",0},
13433 { "_class_wxBitmapButton","_wxBitmapButton",0},
13434 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13435 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13436 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13437 { "_wxWindowID","_wxCoord",0},
13438 { "_wxWindowID","_wxPrintQuality",0},
c368d904 13439 { "_wxWindowID","_time_t",0},
f6bcfd97
BP
13440 { "_wxWindowID","_size_t",0},
13441 { "_wxWindowID","_EBool",0},
13442 { "_wxWindowID","_uint",0},
13443 { "_wxWindowID","_int",0},
13444 { "_wxWindowID","_signed_int",0},
13445 { "_wxWindowID","_unsigned_int",0},
13446 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13447 { "_int","_WXGRIDSELECTIONMODES",0},
13448 { "_int","_wxCoord",0},
13449 { "_int","_wxPrintQuality",0},
c368d904 13450 { "_int","_time_t",0},
f6bcfd97
BP
13451 { "_int","_size_t",0},
13452 { "_int","_EBool",0},
13453 { "_int","_uint",0},
13454 { "_int","_wxWindowID",0},
13455 { "_int","_unsigned_int",0},
13456 { "_int","_signed_int",0},
13457 { "_class_wxMouseEvent","_wxMouseEvent",0},
13458 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13459 { "_class_wxSpinEvent","_wxSpinEvent",0},
13460 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
c368d904
RD
13461 { "_time_t","_WXGRIDSELECTIONMODES",0},
13462 { "_time_t","_wxCoord",0},
13463 { "_time_t","_wxPrintQuality",0},
13464 { "_time_t","_unsigned_int",0},
13465 { "_time_t","_int",0},
13466 { "_time_t","_wxWindowID",0},
13467 { "_time_t","_uint",0},
13468 { "_time_t","_size_t",0},
f6bcfd97
BP
13469 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13470 { "_wxButton","_class_wxButton",0},
13471 { "_wxSize","_class_wxSize",0},
13472 { "_wxRegionIterator","_class_wxRegionIterator",0},
13473 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13474 { "_class_wxPaintDC","_wxPaintDC",0},
13475 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13476 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13477 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13478 { "_class_wxComboBox","_wxComboBox",0},
13479 { "_class_wxRadioButton","_wxRadioButton",0},
13480 { "_wxValidator","_class_wxValidator",0},
13481 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13482 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13483 { "_class_wxControl","_wxControl",0},
13484 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13485 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13486 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13487 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13488 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13489 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13490 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13491 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13492 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13493 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13494 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13495 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13496 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13497 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13498 { "_class_wxIcon","_wxIcon",0},
13499 { "_class_wxColour","_wxColour",0},
13500 { "_class_wxScreenDC","_wxScreenDC",0},
13501 { "_wxPalette","_class_wxPalette",0},
13502 { "_class_wxIdleEvent","_wxIdleEvent",0},
13503 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13504 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13505 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13506 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13507 { "_wxCoord","_int",0},
13508 { "_wxCoord","_signed_int",0},
13509 { "_wxCoord","_unsigned_int",0},
13510 { "_wxCoord","_wxWindowID",0},
13511 { "_wxCoord","_uint",0},
13512 { "_wxCoord","_EBool",0},
13513 { "_wxCoord","_size_t",0},
c368d904 13514 { "_wxCoord","_time_t",0},
f6bcfd97
BP
13515 { "_wxCoord","_wxPrintQuality",0},
13516 { "_wxEraseEvent","_class_wxEraseEvent",0},
13517 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13518 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13519 { "_wxRegion","_class_wxRegion",0},
13520 { "_class_wxShowEvent","_wxShowEvent",0},
13521 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13522 { "_wxActivateEvent","_class_wxActivateEvent",0},
13523 { "_wxGauge","_class_wxGauge",0},
13524 { "_class_wxCheckListBox","_wxCheckListBox",0},
13525 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13526 { "_class_wxBusyInfo","_wxBusyInfo",0},
13527 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13528 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13529 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13530 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13531 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13532 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13533 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13534 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13535 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13536 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13537 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13538 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13539 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13540 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13541 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13542 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13543 { "_class_wxGridEvent","_wxGridEvent",0},
13544 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13545 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13546 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13547 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13548 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13549 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13550 { "_class_wxCommandEvent","_wxCommandEvent",0},
13551 { "_class_wxClientDC","_wxClientDC",0},
13552 { "_class_wxSizeEvent","_wxSizeEvent",0},
13553 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13554 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13555 { "_class_wxSize","_wxSize",0},
13556 { "_class_wxBitmap","_wxBitmap",0},
13557 { "_class_wxMemoryDC","_wxMemoryDC",0},
13558 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13559 { "_wxMenuBar","_class_wxMenuBar",0},
13560 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13561 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13562 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13563 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13564 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13565 { "_wxEvtHandler","_class_wxEvtHandler",0},
13566 { "_wxMenuItem","_class_wxMenuItem",0},
13567 { "_class_wxScrollBar","_wxScrollBar",0},
13568 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13569 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13570 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13571 { "_wxKeyEvent","_class_wxKeyEvent",0},
13572 { "_wxMoveEvent","_class_wxMoveEvent",0},
13573 { "_class_wxPalette","_wxPalette",0},
13574 { "_wxFileDataObject","_class_wxFileDataObject",0},
13575 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13576 { "_class_wxEraseEvent","_wxEraseEvent",0},
13577 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13578 { "_class_wxGridStringTable","_wxGridStringTable",0},
13579 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13580 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13581 { "_wxWindow","_class_wxWindow",0},
13582 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13583{0,0,0}};
13584
13585static PyObject *SWIG_globals;
13586#ifdef __cplusplus
13587extern "C"
13588#endif
13589SWIGEXPORT(void) initgridc() {
13590 PyObject *m, *d;
13591 SWIG_globals = SWIG_newvarlink();
13592 m = Py_InitModule("gridc", gridcMethods);
13593 d = PyModule_GetDict(m);
13594 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13595 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13596 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13597 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13598 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13599 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13600 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13601 PyDict_SetItemString(d,"cvar", SWIG_globals);
13602 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
13603 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
13604 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
13605 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
13606 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
13607 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
13608 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
13609 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
13610 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
13611 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
13612 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
13613 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
13614 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
13615 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
13616 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
13617 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
13618 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
13619 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
13620 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
13621 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
13622 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
13623 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
13624 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
13625 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
13626 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
13627 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
13628 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
13629 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
13630{
13631 int i;
13632 for (i = 0; _swig_mapping[i].n1; i++)
13633 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13634}
13635}