]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid.cpp
SWIGged updates for wxGTK
[wxWidgets.git] / wxPython / src / gtk / grid.cpp
1 /*
2 * FILE : src/gtk/grid.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initgridc
55
56 #define SWIG_name "gridc"
57
58 #include "export.h"
59 #include <wx/grid.h>
60 #include <wx/generic/gridctrl.h>
61
62
63 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
80
81 o2 = target;
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
84 Py_DECREF(o3);
85 }
86 return target;
87 }
88
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg = "String or Unicode type required";
91 #else
92 static char* wxStringErrorMsg = "String type required";
93 #endif
94
95 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
96 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
97 wxGridCellAttr* rval = NULL; \
98 bool found; \
99 wxPyBeginBlockThreads(); \
100 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
101 PyObject* ro; \
102 wxGridCellAttr* ptr; \
103 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
104 if (ro) { \
105 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
106 rval = ptr; \
107 Py_DECREF(ro); \
108 } \
109 } \
110 wxPyEndBlockThreads(); \
111 if (! found) \
112 rval = PCLASS::CBNAME(a, b, c); \
113 return rval; \
114 } \
115 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
116 return PCLASS::CBNAME(a, b, c); \
117 }
118
119
120
121 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
122 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
123 wxPyBeginBlockThreads(); \
124 bool found; \
125 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
126 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
127 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
128 Py_DECREF(obj); \
129 } \
130 wxPyEndBlockThreads(); \
131 if (! found) \
132 PCLASS::CBNAME(attr, a, b); \
133 } \
134 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
135 PCLASS::CBNAME(attr, a, b); \
136 }
137
138
139
140 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
141 void CBNAME(wxGridCellAttr *attr, int val) { \
142 wxPyBeginBlockThreads(); \
143 bool found; \
144 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
145 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
146 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
147 Py_DECREF(obj); \
148 } \
149 wxPyEndBlockThreads(); \
150 if (! found) \
151 PCLASS::CBNAME(attr, val); \
152 } \
153 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
154 PCLASS::CBNAME(attr, val); \
155 }
156
157
158
159 #define PYCALLBACK_INT__pure(CBNAME) \
160 int CBNAME() { \
161 wxPyBeginBlockThreads(); \
162 int rval = 0; \
163 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
164 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
165 wxPyEndBlockThreads(); \
166 return rval; \
167 }
168
169
170
171 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
172 bool CBNAME(int a, int b) { \
173 wxPyBeginBlockThreads(); \
174 bool rval = 0; \
175 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
176 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
177 wxPyEndBlockThreads(); \
178 return rval; \
179 }
180
181
182
183 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
184 wxString CBNAME(int a, int b) { \
185 wxPyBeginBlockThreads(); \
186 wxString rval; \
187 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
188 PyObject* ro; \
189 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
190 if (ro) { \
191 PyObject* str = PyObject_Str(ro); \
192 rval = PyString_AsString(str); \
193 Py_DECREF(ro); Py_DECREF(str); \
194 } \
195 } \
196 wxPyEndBlockThreads(); \
197 return rval; \
198 }
199
200
201
202 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
203 void CBNAME(int a, int b, const wxString& c) { \
204 wxPyBeginBlockThreads(); \
205 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
206 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str()));\
207 wxPyEndBlockThreads(); \
208 }
209
210
211 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
212 wxString CBNAME(int a, int b) { \
213 bool found; \
214 wxPyBeginBlockThreads(); \
215 wxString rval; \
216 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
217 PyObject* ro; \
218 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
219 if (ro) { \
220 PyObject* str = PyObject_Str(ro); \
221 rval = PyString_AsString(str); \
222 Py_DECREF(ro); Py_DECREF(str); \
223 } \
224 } \
225 wxPyEndBlockThreads(); \
226 if (! found) \
227 rval = PCLASS::CBNAME(a, b); \
228 return rval; \
229 } \
230 wxString base_##CBNAME(int a, int b) { \
231 return PCLASS::CBNAME(a, b); \
232 }
233
234
235
236 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
237 bool CBNAME(int a, int b, const wxString& c) { \
238 bool rval = 0; \
239 bool found; \
240 wxPyBeginBlockThreads(); \
241 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
242 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str()));\
243 wxPyEndBlockThreads(); \
244 if (! found) \
245 rval = PCLASS::CBNAME(a,b,c); \
246 return rval; \
247 } \
248 bool base_##CBNAME(int a, int b, const wxString& c) { \
249 return PCLASS::CBNAME(a,b,c); \
250 }
251
252
253
254
255 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
256 long CBNAME(int a, int b) { \
257 long rval; \
258 bool found; \
259 wxPyBeginBlockThreads(); \
260 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
261 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
262 wxPyEndBlockThreads(); \
263 if (! found) \
264 rval = PCLASS::CBNAME(a,b); \
265 return rval; \
266 } \
267 long base_##CBNAME(int a, int b) { \
268 return PCLASS::CBNAME(a,b); \
269 }
270
271
272
273 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
274 bool CBNAME(int a, int b) { \
275 bool rval = 0; \
276 bool found; \
277 wxPyBeginBlockThreads(); \
278 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
279 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
280 wxPyEndBlockThreads(); \
281 if (! found) \
282 rval = PCLASS::CBNAME(a,b); \
283 return rval; \
284 } \
285 bool base_##CBNAME(int a, int b) { \
286 return PCLASS::CBNAME(a,b); \
287 }
288
289
290
291 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
292 double CBNAME(int a, int b) { \
293 bool found; \
294 wxPyBeginBlockThreads(); \
295 double rval; \
296 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
297 PyObject* ro; \
298 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
299 if (ro) { \
300 PyObject* str = PyObject_Str(ro); \
301 rval = PyFloat_AsDouble(str); \
302 Py_DECREF(ro); Py_DECREF(str); \
303 } \
304 } \
305 wxPyEndBlockThreads(); \
306 if (! found) \
307 rval = PCLASS::CBNAME(a, b); \
308 return rval; \
309 } \
310 double base_##CBNAME(int a, int b) { \
311 return PCLASS::CBNAME(a, b); \
312 }
313
314
315
316 #define PYCALLBACK__(PCLASS, CBNAME) \
317 void CBNAME() { \
318 bool found; \
319 wxPyBeginBlockThreads(); \
320 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
321 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
322 wxPyEndBlockThreads(); \
323 if (! found) \
324 PCLASS::CBNAME(); \
325 } \
326 void base_##CBNAME() { \
327 PCLASS::CBNAME(); \
328 }
329
330
331
332
333 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
334 bool CBNAME(size_t a, size_t b) { \
335 bool rval = 0; \
336 bool found; \
337 wxPyBeginBlockThreads(); \
338 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
339 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
340 wxPyEndBlockThreads(); \
341 if (! found) \
342 rval = PCLASS::CBNAME(a,b); \
343 return rval; \
344 } \
345 bool base_##CBNAME(size_t a, size_t b) { \
346 return PCLASS::CBNAME(a,b); \
347 }
348
349
350
351 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
352 bool CBNAME(size_t a) { \
353 bool rval = 0; \
354 bool found; \
355 wxPyBeginBlockThreads(); \
356 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
357 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
358 wxPyEndBlockThreads(); \
359 if (! found) \
360 rval = PCLASS::CBNAME(a); \
361 return rval; \
362 } \
363 bool base_##CBNAME(size_t a) { \
364 return PCLASS::CBNAME(a); \
365 }
366
367
368
369 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
370 wxString CBNAME(int a) { \
371 bool found; \
372 wxPyBeginBlockThreads(); \
373 wxString rval; \
374 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
375 PyObject* ro; \
376 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
377 if (ro) { \
378 PyObject* str = PyObject_Str(ro); \
379 rval = PyString_AsString(str); \
380 Py_DECREF(ro); Py_DECREF(str); \
381 } \
382 } \
383 wxPyEndBlockThreads(); \
384 if (! found) \
385 rval = PCLASS::CBNAME(a); \
386 return rval; \
387 } \
388 wxString base_##CBNAME(int a) { \
389 return PCLASS::CBNAME(a); \
390 }
391
392
393
394 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
395 void CBNAME(int a, const wxString& c) { \
396 bool found; \
397 wxPyBeginBlockThreads(); \
398 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
399 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
400 wxPyEndBlockThreads(); \
401 if (! found) \
402 PCLASS::CBNAME(a,c); \
403 } \
404 void base_##CBNAME(int a, const wxString& c) { \
405 PCLASS::CBNAME(a,c); \
406 }
407
408
409
410
411 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
412 bool CBNAME() { \
413 bool rval = 0; \
414 bool found; \
415 wxPyBeginBlockThreads(); \
416 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
417 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
418 wxPyEndBlockThreads(); \
419 if (! found) \
420 rval = PCLASS::CBNAME(); \
421 return rval; \
422 } \
423 bool base_##CBNAME() { \
424 return PCLASS::CBNAME(); \
425 }
426
427
428
429 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
430 void CBNAME(size_t a, int b) { \
431 bool found; \
432 wxPyBeginBlockThreads(); \
433 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
435 wxPyEndBlockThreads(); \
436 if (! found) \
437 PCLASS::CBNAME(a,b); \
438 } \
439 void base_##CBNAME(size_t a, int b) { \
440 PCLASS::CBNAME(a,b); \
441 }
442
443
444
445
446 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
447 void CBNAME(int a, int b, long c) { \
448 bool found; \
449 wxPyBeginBlockThreads(); \
450 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
451 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
452 wxPyEndBlockThreads(); \
453 if (! found) \
454 PCLASS::CBNAME(a,b,c); \
455 } \
456 void base_##CBNAME(int a, int b, long c) { \
457 PCLASS::CBNAME(a,b,c); \
458 }
459
460
461
462
463 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
464 void CBNAME(int a, int b, double c) { \
465 bool found; \
466 wxPyBeginBlockThreads(); \
467 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
468 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
469 wxPyEndBlockThreads(); \
470 if (! found) \
471 PCLASS::CBNAME(a,b,c); \
472 } \
473 void base_##CBNAME(int a, int b, double c) { \
474 PCLASS::CBNAME(a,b,c); \
475 }
476
477
478
479 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
480 void CBNAME(int a, int b, bool c) { \
481 bool found; \
482 wxPyBeginBlockThreads(); \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
484 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
485 wxPyEndBlockThreads(); \
486 if (! found) \
487 PCLASS::CBNAME(a,b,c); \
488 } \
489 void base_##CBNAME(int a, int b, bool c) { \
490 PCLASS::CBNAME(a,b,c); \
491 }
492
493
494
495
496
497 class wxPyGridCellRenderer : public wxGridCellRenderer
498 {
499 public:
500 wxPyGridCellRenderer() : wxGridCellRenderer() {};
501
502 // Implement Python callback aware virtual methods
503 void Draw(wxGrid& grid, wxGridCellAttr& attr,
504 wxDC& dc, const wxRect& rect,
505 int row, int col, bool isSelected) {
506 wxPyBeginBlockThreads();
507 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
508 wxPyCBH_callCallback(m_myInst,
509 Py_BuildValue("(OOOOiii)",
510 wxPyConstructObject((void*)&grid, "wxGrid", 0),
511 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
512 wxPyConstructObject((void*)&dc, "wxDC", 0),
513 wxPyConstructObject((void*)&rect, "wxRect", 0),
514 row, col, isSelected));
515 }
516 wxPyEndBlockThreads();
517 }
518
519 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
520 int row, int col) {
521 wxSize rval;
522 wxPyBeginBlockThreads();
523 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
524 PyObject* ro;
525 wxSize* ptr;
526 ro = wxPyCBH_callCallbackObj(m_myInst,
527 Py_BuildValue("(OOOii)",
528 wxPyConstructObject((void*)&grid, "wxGrid", 0),
529 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
530 wxPyConstructObject((void*)&dc, "wxDC", 0),
531 row, col));
532 if (ro) {
533 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
534 rval = *ptr;
535 Py_DECREF(ro);
536 }
537 }
538 wxPyEndBlockThreads();
539 return rval;
540 }
541
542
543 wxGridCellRenderer *Clone() const {
544 wxGridCellRenderer* rval = NULL;
545 wxPyBeginBlockThreads();
546 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
547 PyObject* ro;
548 wxGridCellRenderer* ptr;
549 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
550 if (ro) {
551 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
552 rval = ptr;
553 Py_DECREF(ro);
554 }
555 }
556 wxPyEndBlockThreads();
557 return rval;
558 }
559
560 DEC_PYCALLBACK__STRING(SetParameters);
561
562 PYPRIVATE;
563 };
564
565 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
566
567
568 class wxPyGridCellEditor : public wxGridCellEditor
569 {
570 public:
571 wxPyGridCellEditor() : wxGridCellEditor() {}
572
573 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
574 wxPyBeginBlockThreads();
575 if (wxPyCBH_findCallback(m_myInst, "Create")) {
576 wxPyCBH_callCallback(m_myInst,
577 Py_BuildValue("(OiO)",
578 wxPyConstructObject((void*)parent, "wxWindow", 0),
579 id,
580 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
581 }
582 wxPyEndBlockThreads();
583 }
584
585
586 void BeginEdit(int row, int col, wxGrid* grid) {
587 wxPyBeginBlockThreads();
588 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
589 wxPyCBH_callCallback(m_myInst,
590 Py_BuildValue("(iiO)", row, col,
591 wxPyConstructObject((void*)grid, "wxGrid", 0)));
592 }
593 wxPyEndBlockThreads();
594 }
595
596
597 bool EndEdit(int row, int col, wxGrid* grid) {
598 bool rv = FALSE;
599 wxPyBeginBlockThreads();
600 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
601 rv = wxPyCBH_callCallback(m_myInst,
602 Py_BuildValue("(iiO)", row, col,
603 wxPyConstructObject((void*)grid, "wxGrid", 0)));
604 }
605 wxPyEndBlockThreads();
606 return rv;
607 }
608
609
610 wxGridCellEditor*Clone() const {
611 wxGridCellEditor* rval = NULL;
612 wxPyBeginBlockThreads();
613 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
614 PyObject* ro;
615 wxGridCellEditor* ptr;
616 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
617 if (ro) {
618 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
619 rval = ptr;
620 Py_DECREF(ro);
621 }
622 }
623 wxPyEndBlockThreads();
624 return rval;
625 }
626
627
628 void Show(bool show, wxGridCellAttr *attr) {
629 bool found;
630 wxPyBeginBlockThreads();
631 if ((found = wxPyCBH_findCallback(m_myInst, "Show")))
632 wxPyCBH_callCallback(m_myInst,
633 Py_BuildValue("(iO)", show,
634 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
635 wxPyEndBlockThreads();
636 if (! found)
637 wxGridCellEditor::Show(show, attr);
638 }
639 void base_Show(bool show, wxGridCellAttr *attr) {
640 wxGridCellEditor::Show(show, attr);
641 }
642
643
644 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
645 bool found; \
646 wxPyBeginBlockThreads();
647 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)")))
648 wxPyCBH_callCallback(m_myInst,
649 Py_BuildValue("(OO)",
650 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
651 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
652 wxPyEndBlockThreads();
653 if (! found)
654 wxGridCellEditor::PaintBackground(rectCell, attr);
655 }
656 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
657 wxGridCellEditor::PaintBackground(rectCell, attr);
658 }
659
660
661 DEC_PYCALLBACK___pure(Reset);
662 DEC_PYCALLBACK__constany(SetSize, wxRect);
663 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
664 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
665 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
666 DEC_PYCALLBACK__(StartingClick);
667 DEC_PYCALLBACK__(Destroy);
668 DEC_PYCALLBACK__STRING(SetParameters);
669
670 PYPRIVATE;
671 };
672
673
674 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
675 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
676 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
677 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
678 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
679 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
680 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
681 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
682
683
684 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
685 {
686 public:
687 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
688
689 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
690 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
691 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
692 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
693
694 PYPRIVATE;
695 };
696
697 class wxPyGridTableBase : public wxGridTableBase
698 {
699 public:
700 wxPyGridTableBase() : wxGridTableBase() {}
701
702 PYCALLBACK_INT__pure(GetNumberRows);
703 PYCALLBACK_INT__pure(GetNumberCols);
704 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
705 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
706 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
707 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
708 PYCALLBACK__(wxGridTableBase, Clear);
709 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
710 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
711 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
712 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
713 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
714 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
715 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
716 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
717 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
718 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
719 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
720 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
721 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
722 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
723 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
724
725
726 wxString GetValue(int row, int col) {
727 wxPyBeginBlockThreads();
728 wxString rval;
729 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
730 PyObject* ro;
731 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
732 if (ro) {
733 PyObject* str = PyObject_Str(ro);
734 rval = PyString_AsString(str);
735 Py_DECREF(ro);
736 Py_DECREF(str);
737 }
738 }
739 wxPyEndBlockThreads();
740 return rval;
741 }
742
743 void SetValue(int row, int col, const wxString& val) {
744 wxPyBeginBlockThreads();
745 if (wxPyCBH_findCallback(m_myInst, "SetValue"))
746 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str()));
747 wxPyEndBlockThreads();
748 }
749
750
751 // Map the Get/Set methods for the standard non-string types to
752 // the GetValue and SetValue python methods.
753 long GetValueAsLong( int row, int col ) {
754 long rval = 0;
755 wxPyBeginBlockThreads();
756 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
757 PyObject* ro;
758 PyObject* num;
759 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
760 if (ro && PyNumber_Check(ro)) {
761 num = PyNumber_Int(ro);
762 if (num) {
763 rval = PyInt_AsLong(num);
764 Py_DECREF(num);
765 }
766 Py_DECREF(ro);
767 }
768 }
769 wxPyEndBlockThreads();
770 return rval;
771 }
772
773 double GetValueAsDouble( int row, int col ) {
774 double rval = 0.0;
775 wxPyBeginBlockThreads();
776 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
777 PyObject* ro;
778 PyObject* num;
779 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
780 if (ro && PyNumber_Check(ro)) {
781 num = PyNumber_Float(ro);
782 if (num) {
783 rval = PyFloat_AsDouble(num);
784 Py_DECREF(num);
785 }
786 Py_DECREF(ro);
787 }
788 }
789 wxPyEndBlockThreads();
790 return rval;
791 }
792
793 bool GetValueAsBool( int row, int col ) {
794 return (bool)GetValueAsLong(row, col);
795 }
796
797 void SetValueAsLong( int row, int col, long value ) {
798 wxPyBeginBlockThreads();
799 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
800 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
801 }
802 wxPyEndBlockThreads();
803 }
804
805 void SetValueAsDouble( int row, int col, double value ) {
806 wxPyBeginBlockThreads();
807 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
808 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
809 }
810 wxPyEndBlockThreads();
811 }
812
813 void SetValueAsBool( int row, int col, bool value ) {
814 SetValueAsLong( row, col, (long)value );
815 }
816
817
818 PYPRIVATE;
819 };
820
821 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
822
823 // If source is an object instance then it may already be the right type
824 if (PyInstance_Check(source)) {
825 wxGridCellCoords* ptr;
826 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
827 goto error;
828 *obj = ptr;
829 return TRUE;
830 }
831 // otherwise a 2-tuple of integers is expected
832 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
833 PyObject* o1 = PySequence_GetItem(source, 0);
834 PyObject* o2 = PySequence_GetItem(source, 1);
835 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
836 return TRUE;
837 }
838
839 error:
840 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
841 return FALSE;
842 }
843
844 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
845 #ifdef __cplusplus
846 extern "C" {
847 #endif
848 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
849
850 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
851 return 1;
852 }
853
854 static PyObject *_wrap_wxGridNoCellCoords_get() {
855 PyObject * pyobj;
856 char ptemp[128];
857
858 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
859 pyobj = PyString_FromString(ptemp);
860 return pyobj;
861 }
862
863 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
864
865 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
866 return 1;
867 }
868
869 static PyObject *_wrap_wxGridNoCellRect_get() {
870 PyObject * pyobj;
871 char ptemp[128];
872
873 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
874 pyobj = PyString_FromString(ptemp);
875 return pyobj;
876 }
877
878 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
879 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
880 PyObject * _resultobj;
881 wxGridCellRenderer * _arg0;
882 wxString * _arg1;
883 PyObject * _argo0 = 0;
884 PyObject * _obj1 = 0;
885 char *_kwnames[] = { "self","params", NULL };
886
887 self = self;
888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
889 return NULL;
890 if (_argo0) {
891 if (_argo0 == Py_None) { _arg0 = NULL; }
892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
894 return NULL;
895 }
896 }
897 {
898 #if PYTHON_API_VERSION >= 1009
899 char* tmpPtr; int tmpSize;
900 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
901 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
902 return NULL;
903 }
904 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
905 return NULL;
906 _arg1 = new wxString(tmpPtr, tmpSize);
907 #else
908 if (!PyString_Check(_obj1)) {
909 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
910 return NULL;
911 }
912 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
913 #endif
914 }
915 {
916 PyThreadState* __tstate = wxPyBeginAllowThreads();
917 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
918
919 wxPyEndAllowThreads(__tstate);
920 if (PyErr_Occurred()) return NULL;
921 } Py_INCREF(Py_None);
922 _resultobj = Py_None;
923 {
924 if (_obj1)
925 delete _arg1;
926 }
927 return _resultobj;
928 }
929
930 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
931 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
932 PyObject * _resultobj;
933 wxGridCellRenderer * _arg0;
934 PyObject * _argo0 = 0;
935 char *_kwnames[] = { "self", NULL };
936
937 self = self;
938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
939 return NULL;
940 if (_argo0) {
941 if (_argo0 == Py_None) { _arg0 = NULL; }
942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
944 return NULL;
945 }
946 }
947 {
948 PyThreadState* __tstate = wxPyBeginAllowThreads();
949 wxGridCellRenderer_IncRef(_arg0);
950
951 wxPyEndAllowThreads(__tstate);
952 if (PyErr_Occurred()) return NULL;
953 } Py_INCREF(Py_None);
954 _resultobj = Py_None;
955 return _resultobj;
956 }
957
958 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
959 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
960 PyObject * _resultobj;
961 wxGridCellRenderer * _arg0;
962 PyObject * _argo0 = 0;
963 char *_kwnames[] = { "self", NULL };
964
965 self = self;
966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
967 return NULL;
968 if (_argo0) {
969 if (_argo0 == Py_None) { _arg0 = NULL; }
970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
972 return NULL;
973 }
974 }
975 {
976 PyThreadState* __tstate = wxPyBeginAllowThreads();
977 wxGridCellRenderer_DecRef(_arg0);
978
979 wxPyEndAllowThreads(__tstate);
980 if (PyErr_Occurred()) return NULL;
981 } Py_INCREF(Py_None);
982 _resultobj = Py_None;
983 return _resultobj;
984 }
985
986 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
987 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
988 PyObject * _resultobj;
989 wxGridCellRenderer * _arg0;
990 wxGrid * _arg1;
991 wxGridCellAttr * _arg2;
992 wxDC * _arg3;
993 wxRect * _arg4;
994 int _arg5;
995 int _arg6;
996 bool _arg7;
997 PyObject * _argo0 = 0;
998 PyObject * _argo1 = 0;
999 PyObject * _argo2 = 0;
1000 PyObject * _argo3 = 0;
1001 wxRect temp;
1002 PyObject * _obj4 = 0;
1003 int tempbool7;
1004 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
1005
1006 self = self;
1007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
1008 return NULL;
1009 if (_argo0) {
1010 if (_argo0 == Py_None) { _arg0 = NULL; }
1011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1013 return NULL;
1014 }
1015 }
1016 if (_argo1) {
1017 if (_argo1 == Py_None) { _arg1 = NULL; }
1018 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1019 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1020 return NULL;
1021 }
1022 }
1023 if (_argo2) {
1024 if (_argo2 == Py_None) { _arg2 = NULL; }
1025 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1026 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1027 return NULL;
1028 }
1029 }
1030 if (_argo3) {
1031 if (_argo3 == Py_None) { _arg3 = NULL; }
1032 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1033 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1034 return NULL;
1035 }
1036 }
1037 {
1038 _arg4 = &temp;
1039 if (! wxRect_helper(_obj4, &_arg4))
1040 return NULL;
1041 }
1042 _arg7 = (bool ) tempbool7;
1043 {
1044 PyThreadState* __tstate = wxPyBeginAllowThreads();
1045 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1046
1047 wxPyEndAllowThreads(__tstate);
1048 if (PyErr_Occurred()) return NULL;
1049 } Py_INCREF(Py_None);
1050 _resultobj = Py_None;
1051 return _resultobj;
1052 }
1053
1054 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1055 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1056 PyObject * _resultobj;
1057 wxSize * _result;
1058 wxGridCellRenderer * _arg0;
1059 wxGrid * _arg1;
1060 wxGridCellAttr * _arg2;
1061 wxDC * _arg3;
1062 int _arg4;
1063 int _arg5;
1064 PyObject * _argo0 = 0;
1065 PyObject * _argo1 = 0;
1066 PyObject * _argo2 = 0;
1067 PyObject * _argo3 = 0;
1068 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1069 char _ptemp[128];
1070
1071 self = self;
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1073 return NULL;
1074 if (_argo0) {
1075 if (_argo0 == Py_None) { _arg0 = NULL; }
1076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1078 return NULL;
1079 }
1080 }
1081 if (_argo1) {
1082 if (_argo1 == Py_None) { _arg1 = NULL; }
1083 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1084 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1085 return NULL;
1086 }
1087 }
1088 if (_argo2) {
1089 if (_argo2 == Py_None) { _arg2 = NULL; }
1090 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1091 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1092 return NULL;
1093 }
1094 }
1095 if (_argo3) {
1096 if (_argo3 == Py_None) { _arg3 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1099 return NULL;
1100 }
1101 }
1102 {
1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
1104 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1105
1106 wxPyEndAllowThreads(__tstate);
1107 if (PyErr_Occurred()) return NULL;
1108 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1109 _resultobj = Py_BuildValue("s",_ptemp);
1110 return _resultobj;
1111 }
1112
1113 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1114 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1115 PyObject * _resultobj;
1116 wxGridCellRenderer * _result;
1117 wxGridCellRenderer * _arg0;
1118 PyObject * _argo0 = 0;
1119 char *_kwnames[] = { "self", NULL };
1120 char _ptemp[128];
1121
1122 self = self;
1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1124 return NULL;
1125 if (_argo0) {
1126 if (_argo0 == Py_None) { _arg0 = NULL; }
1127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1129 return NULL;
1130 }
1131 }
1132 {
1133 PyThreadState* __tstate = wxPyBeginAllowThreads();
1134 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1135
1136 wxPyEndAllowThreads(__tstate);
1137 if (PyErr_Occurred()) return NULL;
1138 } if (_result) {
1139 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1140 _resultobj = Py_BuildValue("s",_ptemp);
1141 } else {
1142 Py_INCREF(Py_None);
1143 _resultobj = Py_None;
1144 }
1145 return _resultobj;
1146 }
1147
1148 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1149 wxPyGridCellRenderer *src;
1150 wxGridCellRenderer *dest;
1151 src = (wxPyGridCellRenderer *) ptr;
1152 dest = (wxGridCellRenderer *) src;
1153 return (void *) dest;
1154 }
1155
1156 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1157 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1158 PyObject * _resultobj;
1159 wxPyGridCellRenderer * _result;
1160 char *_kwnames[] = { NULL };
1161 char _ptemp[128];
1162
1163 self = self;
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1165 return NULL;
1166 {
1167 PyThreadState* __tstate = wxPyBeginAllowThreads();
1168 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1169
1170 wxPyEndAllowThreads(__tstate);
1171 if (PyErr_Occurred()) return NULL;
1172 } if (_result) {
1173 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1174 _resultobj = Py_BuildValue("s",_ptemp);
1175 } else {
1176 Py_INCREF(Py_None);
1177 _resultobj = Py_None;
1178 }
1179 return _resultobj;
1180 }
1181
1182 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1183 static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1184 PyObject * _resultobj;
1185 wxPyGridCellRenderer * _arg0;
1186 PyObject * _arg1;
1187 PyObject * _arg2;
1188 PyObject * _argo0 = 0;
1189 PyObject * _obj1 = 0;
1190 PyObject * _obj2 = 0;
1191 char *_kwnames[] = { "self","self","_class", NULL };
1192
1193 self = self;
1194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1195 return NULL;
1196 if (_argo0) {
1197 if (_argo0 == Py_None) { _arg0 = NULL; }
1198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1200 return NULL;
1201 }
1202 }
1203 {
1204 _arg1 = _obj1;
1205 }
1206 {
1207 _arg2 = _obj2;
1208 }
1209 {
1210 PyThreadState* __tstate = wxPyBeginAllowThreads();
1211 wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2);
1212
1213 wxPyEndAllowThreads(__tstate);
1214 if (PyErr_Occurred()) return NULL;
1215 } Py_INCREF(Py_None);
1216 _resultobj = Py_None;
1217 return _resultobj;
1218 }
1219
1220 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1221 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1222 PyObject * _resultobj;
1223 wxPyGridCellRenderer * _arg0;
1224 wxString * _arg1;
1225 PyObject * _argo0 = 0;
1226 PyObject * _obj1 = 0;
1227 char *_kwnames[] = { "self","params", NULL };
1228
1229 self = self;
1230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1231 return NULL;
1232 if (_argo0) {
1233 if (_argo0 == Py_None) { _arg0 = NULL; }
1234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1236 return NULL;
1237 }
1238 }
1239 {
1240 #if PYTHON_API_VERSION >= 1009
1241 char* tmpPtr; int tmpSize;
1242 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1243 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1244 return NULL;
1245 }
1246 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1247 return NULL;
1248 _arg1 = new wxString(tmpPtr, tmpSize);
1249 #else
1250 if (!PyString_Check(_obj1)) {
1251 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1252 return NULL;
1253 }
1254 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1255 #endif
1256 }
1257 {
1258 PyThreadState* __tstate = wxPyBeginAllowThreads();
1259 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1260
1261 wxPyEndAllowThreads(__tstate);
1262 if (PyErr_Occurred()) return NULL;
1263 } Py_INCREF(Py_None);
1264 _resultobj = Py_None;
1265 {
1266 if (_obj1)
1267 delete _arg1;
1268 }
1269 return _resultobj;
1270 }
1271
1272 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1273 wxGridCellStringRenderer *src;
1274 wxGridCellRenderer *dest;
1275 src = (wxGridCellStringRenderer *) ptr;
1276 dest = (wxGridCellRenderer *) src;
1277 return (void *) dest;
1278 }
1279
1280 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1281 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1282 PyObject * _resultobj;
1283 wxGridCellStringRenderer * _result;
1284 char *_kwnames[] = { NULL };
1285 char _ptemp[128];
1286
1287 self = self;
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1289 return NULL;
1290 {
1291 PyThreadState* __tstate = wxPyBeginAllowThreads();
1292 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1293
1294 wxPyEndAllowThreads(__tstate);
1295 if (PyErr_Occurred()) return NULL;
1296 } if (_result) {
1297 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1298 _resultobj = Py_BuildValue("s",_ptemp);
1299 } else {
1300 Py_INCREF(Py_None);
1301 _resultobj = Py_None;
1302 }
1303 return _resultobj;
1304 }
1305
1306 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1307 wxGridCellNumberRenderer *src;
1308 wxGridCellStringRenderer *dest;
1309 src = (wxGridCellNumberRenderer *) ptr;
1310 dest = (wxGridCellStringRenderer *) src;
1311 return (void *) dest;
1312 }
1313
1314 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1315 wxGridCellNumberRenderer *src;
1316 wxGridCellRenderer *dest;
1317 src = (wxGridCellNumberRenderer *) ptr;
1318 dest = (wxGridCellRenderer *) src;
1319 return (void *) dest;
1320 }
1321
1322 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1323 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1324 PyObject * _resultobj;
1325 wxGridCellNumberRenderer * _result;
1326 char *_kwnames[] = { NULL };
1327 char _ptemp[128];
1328
1329 self = self;
1330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1331 return NULL;
1332 {
1333 PyThreadState* __tstate = wxPyBeginAllowThreads();
1334 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1335
1336 wxPyEndAllowThreads(__tstate);
1337 if (PyErr_Occurred()) return NULL;
1338 } if (_result) {
1339 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1340 _resultobj = Py_BuildValue("s",_ptemp);
1341 } else {
1342 Py_INCREF(Py_None);
1343 _resultobj = Py_None;
1344 }
1345 return _resultobj;
1346 }
1347
1348 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1349 wxGridCellFloatRenderer *src;
1350 wxGridCellStringRenderer *dest;
1351 src = (wxGridCellFloatRenderer *) ptr;
1352 dest = (wxGridCellStringRenderer *) src;
1353 return (void *) dest;
1354 }
1355
1356 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1357 wxGridCellFloatRenderer *src;
1358 wxGridCellRenderer *dest;
1359 src = (wxGridCellFloatRenderer *) ptr;
1360 dest = (wxGridCellRenderer *) src;
1361 return (void *) dest;
1362 }
1363
1364 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1365 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1366 PyObject * _resultobj;
1367 wxGridCellFloatRenderer * _result;
1368 int _arg0 = (int ) -1;
1369 int _arg1 = (int ) -1;
1370 char *_kwnames[] = { "width","precision", NULL };
1371 char _ptemp[128];
1372
1373 self = self;
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1375 return NULL;
1376 {
1377 PyThreadState* __tstate = wxPyBeginAllowThreads();
1378 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1379
1380 wxPyEndAllowThreads(__tstate);
1381 if (PyErr_Occurred()) return NULL;
1382 } if (_result) {
1383 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1384 _resultobj = Py_BuildValue("s",_ptemp);
1385 } else {
1386 Py_INCREF(Py_None);
1387 _resultobj = Py_None;
1388 }
1389 return _resultobj;
1390 }
1391
1392 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1393 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1394 PyObject * _resultobj;
1395 int _result;
1396 wxGridCellFloatRenderer * _arg0;
1397 PyObject * _argo0 = 0;
1398 char *_kwnames[] = { "self", NULL };
1399
1400 self = self;
1401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1402 return NULL;
1403 if (_argo0) {
1404 if (_argo0 == Py_None) { _arg0 = NULL; }
1405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1407 return NULL;
1408 }
1409 }
1410 {
1411 PyThreadState* __tstate = wxPyBeginAllowThreads();
1412 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1413
1414 wxPyEndAllowThreads(__tstate);
1415 if (PyErr_Occurred()) return NULL;
1416 } _resultobj = Py_BuildValue("i",_result);
1417 return _resultobj;
1418 }
1419
1420 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1421 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1422 PyObject * _resultobj;
1423 wxGridCellFloatRenderer * _arg0;
1424 int _arg1;
1425 PyObject * _argo0 = 0;
1426 char *_kwnames[] = { "self","width", NULL };
1427
1428 self = self;
1429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1430 return NULL;
1431 if (_argo0) {
1432 if (_argo0 == Py_None) { _arg0 = NULL; }
1433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1435 return NULL;
1436 }
1437 }
1438 {
1439 PyThreadState* __tstate = wxPyBeginAllowThreads();
1440 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1441
1442 wxPyEndAllowThreads(__tstate);
1443 if (PyErr_Occurred()) return NULL;
1444 } Py_INCREF(Py_None);
1445 _resultobj = Py_None;
1446 return _resultobj;
1447 }
1448
1449 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1450 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1451 PyObject * _resultobj;
1452 int _result;
1453 wxGridCellFloatRenderer * _arg0;
1454 PyObject * _argo0 = 0;
1455 char *_kwnames[] = { "self", NULL };
1456
1457 self = self;
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1459 return NULL;
1460 if (_argo0) {
1461 if (_argo0 == Py_None) { _arg0 = NULL; }
1462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1464 return NULL;
1465 }
1466 }
1467 {
1468 PyThreadState* __tstate = wxPyBeginAllowThreads();
1469 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1470
1471 wxPyEndAllowThreads(__tstate);
1472 if (PyErr_Occurred()) return NULL;
1473 } _resultobj = Py_BuildValue("i",_result);
1474 return _resultobj;
1475 }
1476
1477 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1478 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1479 PyObject * _resultobj;
1480 wxGridCellFloatRenderer * _arg0;
1481 int _arg1;
1482 PyObject * _argo0 = 0;
1483 char *_kwnames[] = { "self","precision", NULL };
1484
1485 self = self;
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1487 return NULL;
1488 if (_argo0) {
1489 if (_argo0 == Py_None) { _arg0 = NULL; }
1490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1492 return NULL;
1493 }
1494 }
1495 {
1496 PyThreadState* __tstate = wxPyBeginAllowThreads();
1497 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1498
1499 wxPyEndAllowThreads(__tstate);
1500 if (PyErr_Occurred()) return NULL;
1501 } Py_INCREF(Py_None);
1502 _resultobj = Py_None;
1503 return _resultobj;
1504 }
1505
1506 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1507 wxGridCellBoolRenderer *src;
1508 wxGridCellRenderer *dest;
1509 src = (wxGridCellBoolRenderer *) ptr;
1510 dest = (wxGridCellRenderer *) src;
1511 return (void *) dest;
1512 }
1513
1514 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1515 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1516 PyObject * _resultobj;
1517 wxGridCellBoolRenderer * _result;
1518 char *_kwnames[] = { NULL };
1519 char _ptemp[128];
1520
1521 self = self;
1522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1523 return NULL;
1524 {
1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
1526 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1527
1528 wxPyEndAllowThreads(__tstate);
1529 if (PyErr_Occurred()) return NULL;
1530 } if (_result) {
1531 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1532 _resultobj = Py_BuildValue("s",_ptemp);
1533 } else {
1534 Py_INCREF(Py_None);
1535 _resultobj = Py_None;
1536 }
1537 return _resultobj;
1538 }
1539
1540 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) {
1541 wxGridCellDateTimeRenderer *src;
1542 wxGridCellStringRenderer *dest;
1543 src = (wxGridCellDateTimeRenderer *) ptr;
1544 dest = (wxGridCellStringRenderer *) src;
1545 return (void *) dest;
1546 }
1547
1548 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) {
1549 wxGridCellDateTimeRenderer *src;
1550 wxGridCellRenderer *dest;
1551 src = (wxGridCellDateTimeRenderer *) ptr;
1552 dest = (wxGridCellRenderer *) src;
1553 return (void *) dest;
1554 }
1555
1556 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1557 static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1558 PyObject * _resultobj;
1559 wxGridCellDateTimeRenderer * _result;
1560 wxString * _arg0 = (wxString *) &"%c";
1561 wxString * _arg1 = (wxString *) &"%c";
1562 PyObject * _obj0 = 0;
1563 PyObject * _obj1 = 0;
1564 char *_kwnames[] = { "outformat","informat", NULL };
1565 char _ptemp[128];
1566
1567 self = self;
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1))
1569 return NULL;
1570 if (_obj0)
1571 {
1572 #if PYTHON_API_VERSION >= 1009
1573 char* tmpPtr; int tmpSize;
1574 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
1575 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1576 return NULL;
1577 }
1578 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1579 return NULL;
1580 _arg0 = new wxString(tmpPtr, tmpSize);
1581 #else
1582 if (!PyString_Check(_obj0)) {
1583 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1584 return NULL;
1585 }
1586 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1587 #endif
1588 }
1589 if (_obj1)
1590 {
1591 #if PYTHON_API_VERSION >= 1009
1592 char* tmpPtr; int tmpSize;
1593 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1594 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1595 return NULL;
1596 }
1597 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1598 return NULL;
1599 _arg1 = new wxString(tmpPtr, tmpSize);
1600 #else
1601 if (!PyString_Check(_obj1)) {
1602 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1603 return NULL;
1604 }
1605 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1606 #endif
1607 }
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1);
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) return NULL;
1614 } if (_result) {
1615 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p");
1616 _resultobj = Py_BuildValue("s",_ptemp);
1617 } else {
1618 Py_INCREF(Py_None);
1619 _resultobj = Py_None;
1620 }
1621 {
1622 if (_obj0)
1623 delete _arg0;
1624 }
1625 {
1626 if (_obj1)
1627 delete _arg1;
1628 }
1629 return _resultobj;
1630 }
1631
1632 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) {
1633 wxGridCellEnumRenderer *src;
1634 wxGridCellStringRenderer *dest;
1635 src = (wxGridCellEnumRenderer *) ptr;
1636 dest = (wxGridCellStringRenderer *) src;
1637 return (void *) dest;
1638 }
1639
1640 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) {
1641 wxGridCellEnumRenderer *src;
1642 wxGridCellRenderer *dest;
1643 src = (wxGridCellEnumRenderer *) ptr;
1644 dest = (wxGridCellRenderer *) src;
1645 return (void *) dest;
1646 }
1647
1648 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1649 static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject * _resultobj;
1651 wxGridCellEnumRenderer * _result;
1652 wxString * _arg0 = (wxString *) &"";
1653 PyObject * _obj0 = 0;
1654 char *_kwnames[] = { "choices", NULL };
1655 char _ptemp[128];
1656
1657 self = self;
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0))
1659 return NULL;
1660 if (_obj0)
1661 {
1662 _arg0 = wxString_LIST_helper(_obj0);
1663 if (_arg0 == NULL) {
1664 return NULL;
1665 }
1666 }
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0);
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) return NULL;
1673 } if (_result) {
1674 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p");
1675 _resultobj = Py_BuildValue("s",_ptemp);
1676 } else {
1677 Py_INCREF(Py_None);
1678 _resultobj = Py_None;
1679 }
1680 {
1681 delete [] _arg0;
1682 }
1683 return _resultobj;
1684 }
1685
1686 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) {
1687 wxGridCellAutoWrapStringRenderer *src;
1688 wxGridCellStringRenderer *dest;
1689 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1690 dest = (wxGridCellStringRenderer *) src;
1691 return (void *) dest;
1692 }
1693
1694 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) {
1695 wxGridCellAutoWrapStringRenderer *src;
1696 wxGridCellRenderer *dest;
1697 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1698 dest = (wxGridCellRenderer *) src;
1699 return (void *) dest;
1700 }
1701
1702 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1703 static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject * _resultobj;
1705 wxGridCellAutoWrapStringRenderer * _result;
1706 char *_kwnames[] = { NULL };
1707 char _ptemp[128];
1708
1709 self = self;
1710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames))
1711 return NULL;
1712 {
1713 PyThreadState* __tstate = wxPyBeginAllowThreads();
1714 _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer();
1715
1716 wxPyEndAllowThreads(__tstate);
1717 if (PyErr_Occurred()) return NULL;
1718 } if (_result) {
1719 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p");
1720 _resultobj = Py_BuildValue("s",_ptemp);
1721 } else {
1722 Py_INCREF(Py_None);
1723 _resultobj = Py_None;
1724 }
1725 return _resultobj;
1726 }
1727
1728 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1729 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject * _resultobj;
1731 bool _result;
1732 wxGridCellEditor * _arg0;
1733 PyObject * _argo0 = 0;
1734 char *_kwnames[] = { "self", NULL };
1735
1736 self = self;
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1738 return NULL;
1739 if (_argo0) {
1740 if (_argo0 == Py_None) { _arg0 = NULL; }
1741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1743 return NULL;
1744 }
1745 }
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) return NULL;
1752 } _resultobj = Py_BuildValue("i",_result);
1753 return _resultobj;
1754 }
1755
1756 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1757 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1758 PyObject * _resultobj;
1759 wxControl * _result;
1760 wxGridCellEditor * _arg0;
1761 PyObject * _argo0 = 0;
1762 char *_kwnames[] = { "self", NULL };
1763
1764 self = self;
1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1766 return NULL;
1767 if (_argo0) {
1768 if (_argo0 == Py_None) { _arg0 = NULL; }
1769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1771 return NULL;
1772 }
1773 }
1774 {
1775 PyThreadState* __tstate = wxPyBeginAllowThreads();
1776 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1777
1778 wxPyEndAllowThreads(__tstate);
1779 if (PyErr_Occurred()) return NULL;
1780 }{ _resultobj = wxPyMake_wxObject(_result); }
1781 return _resultobj;
1782 }
1783
1784 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1785 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject * _resultobj;
1787 wxGridCellEditor * _arg0;
1788 wxControl * _arg1;
1789 PyObject * _argo0 = 0;
1790 PyObject * _argo1 = 0;
1791 char *_kwnames[] = { "self","control", NULL };
1792
1793 self = self;
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1795 return NULL;
1796 if (_argo0) {
1797 if (_argo0 == Py_None) { _arg0 = NULL; }
1798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1800 return NULL;
1801 }
1802 }
1803 if (_argo1) {
1804 if (_argo1 == Py_None) { _arg1 = NULL; }
1805 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1806 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1807 return NULL;
1808 }
1809 }
1810 {
1811 PyThreadState* __tstate = wxPyBeginAllowThreads();
1812 wxGridCellEditor_SetControl(_arg0,_arg1);
1813
1814 wxPyEndAllowThreads(__tstate);
1815 if (PyErr_Occurred()) return NULL;
1816 } Py_INCREF(Py_None);
1817 _resultobj = Py_None;
1818 return _resultobj;
1819 }
1820
1821 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1822 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject * _resultobj;
1824 wxGridCellEditor * _arg0;
1825 wxString * _arg1;
1826 PyObject * _argo0 = 0;
1827 PyObject * _obj1 = 0;
1828 char *_kwnames[] = { "self","params", NULL };
1829
1830 self = self;
1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1832 return NULL;
1833 if (_argo0) {
1834 if (_argo0 == Py_None) { _arg0 = NULL; }
1835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1837 return NULL;
1838 }
1839 }
1840 {
1841 #if PYTHON_API_VERSION >= 1009
1842 char* tmpPtr; int tmpSize;
1843 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1844 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1845 return NULL;
1846 }
1847 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1848 return NULL;
1849 _arg1 = new wxString(tmpPtr, tmpSize);
1850 #else
1851 if (!PyString_Check(_obj1)) {
1852 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1853 return NULL;
1854 }
1855 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1856 #endif
1857 }
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) return NULL;
1864 } Py_INCREF(Py_None);
1865 _resultobj = Py_None;
1866 {
1867 if (_obj1)
1868 delete _arg1;
1869 }
1870 return _resultobj;
1871 }
1872
1873 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1874 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1875 PyObject * _resultobj;
1876 wxGridCellEditor * _arg0;
1877 PyObject * _argo0 = 0;
1878 char *_kwnames[] = { "self", NULL };
1879
1880 self = self;
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1882 return NULL;
1883 if (_argo0) {
1884 if (_argo0 == Py_None) { _arg0 = NULL; }
1885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1887 return NULL;
1888 }
1889 }
1890 {
1891 PyThreadState* __tstate = wxPyBeginAllowThreads();
1892 wxGridCellEditor_IncRef(_arg0);
1893
1894 wxPyEndAllowThreads(__tstate);
1895 if (PyErr_Occurred()) return NULL;
1896 } Py_INCREF(Py_None);
1897 _resultobj = Py_None;
1898 return _resultobj;
1899 }
1900
1901 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1902 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1903 PyObject * _resultobj;
1904 wxGridCellEditor * _arg0;
1905 PyObject * _argo0 = 0;
1906 char *_kwnames[] = { "self", NULL };
1907
1908 self = self;
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1910 return NULL;
1911 if (_argo0) {
1912 if (_argo0 == Py_None) { _arg0 = NULL; }
1913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1915 return NULL;
1916 }
1917 }
1918 {
1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
1920 wxGridCellEditor_DecRef(_arg0);
1921
1922 wxPyEndAllowThreads(__tstate);
1923 if (PyErr_Occurred()) return NULL;
1924 } Py_INCREF(Py_None);
1925 _resultobj = Py_None;
1926 return _resultobj;
1927 }
1928
1929 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1930 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1931 PyObject * _resultobj;
1932 wxGridCellEditor * _arg0;
1933 wxWindow * _arg1;
1934 wxWindowID _arg2;
1935 wxEvtHandler * _arg3;
1936 PyObject * _argo0 = 0;
1937 PyObject * _argo1 = 0;
1938 PyObject * _argo3 = 0;
1939 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1940
1941 self = self;
1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1943 return NULL;
1944 if (_argo0) {
1945 if (_argo0 == Py_None) { _arg0 = NULL; }
1946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1948 return NULL;
1949 }
1950 }
1951 if (_argo1) {
1952 if (_argo1 == Py_None) { _arg1 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1955 return NULL;
1956 }
1957 }
1958 if (_argo3) {
1959 if (_argo3 == Py_None) { _arg3 = NULL; }
1960 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1961 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1962 return NULL;
1963 }
1964 }
1965 {
1966 PyThreadState* __tstate = wxPyBeginAllowThreads();
1967 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1968
1969 wxPyEndAllowThreads(__tstate);
1970 if (PyErr_Occurred()) return NULL;
1971 } Py_INCREF(Py_None);
1972 _resultobj = Py_None;
1973 return _resultobj;
1974 }
1975
1976 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1977 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject * _resultobj;
1979 wxGridCellEditor * _arg0;
1980 int _arg1;
1981 int _arg2;
1982 wxGrid * _arg3;
1983 PyObject * _argo0 = 0;
1984 PyObject * _argo3 = 0;
1985 char *_kwnames[] = { "self","row","col","grid", NULL };
1986
1987 self = self;
1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1989 return NULL;
1990 if (_argo0) {
1991 if (_argo0 == Py_None) { _arg0 = NULL; }
1992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1994 return NULL;
1995 }
1996 }
1997 if (_argo3) {
1998 if (_argo3 == Py_None) { _arg3 = NULL; }
1999 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2000 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2001 return NULL;
2002 }
2003 }
2004 {
2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
2006 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
2007
2008 wxPyEndAllowThreads(__tstate);
2009 if (PyErr_Occurred()) return NULL;
2010 } Py_INCREF(Py_None);
2011 _resultobj = Py_None;
2012 return _resultobj;
2013 }
2014
2015 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2016 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject * _resultobj;
2018 bool _result;
2019 wxGridCellEditor * _arg0;
2020 int _arg1;
2021 int _arg2;
2022 wxGrid * _arg3;
2023 PyObject * _argo0 = 0;
2024 PyObject * _argo3 = 0;
2025 char *_kwnames[] = { "self","row","col","grid", NULL };
2026
2027 self = self;
2028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2029 return NULL;
2030 if (_argo0) {
2031 if (_argo0 == Py_None) { _arg0 = NULL; }
2032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2034 return NULL;
2035 }
2036 }
2037 if (_argo3) {
2038 if (_argo3 == Py_None) { _arg3 = NULL; }
2039 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2040 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2041 return NULL;
2042 }
2043 }
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) return NULL;
2050 } _resultobj = Py_BuildValue("i",_result);
2051 return _resultobj;
2052 }
2053
2054 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2055 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2056 PyObject * _resultobj;
2057 wxGridCellEditor * _arg0;
2058 PyObject * _argo0 = 0;
2059 char *_kwnames[] = { "self", NULL };
2060
2061 self = self;
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
2063 return NULL;
2064 if (_argo0) {
2065 if (_argo0 == Py_None) { _arg0 = NULL; }
2066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2068 return NULL;
2069 }
2070 }
2071 {
2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
2073 wxGridCellEditor_Reset(_arg0);
2074
2075 wxPyEndAllowThreads(__tstate);
2076 if (PyErr_Occurred()) return NULL;
2077 } Py_INCREF(Py_None);
2078 _resultobj = Py_None;
2079 return _resultobj;
2080 }
2081
2082 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2083 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2084 PyObject * _resultobj;
2085 wxGridCellEditor * _result;
2086 wxGridCellEditor * _arg0;
2087 PyObject * _argo0 = 0;
2088 char *_kwnames[] = { "self", NULL };
2089 char _ptemp[128];
2090
2091 self = self;
2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
2093 return NULL;
2094 if (_argo0) {
2095 if (_argo0 == Py_None) { _arg0 = NULL; }
2096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2098 return NULL;
2099 }
2100 }
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
2103 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) return NULL;
2107 } if (_result) {
2108 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
2109 _resultobj = Py_BuildValue("s",_ptemp);
2110 } else {
2111 Py_INCREF(Py_None);
2112 _resultobj = Py_None;
2113 }
2114 return _resultobj;
2115 }
2116
2117 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2118 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject * _resultobj;
2120 wxGridCellEditor * _arg0;
2121 wxRect * _arg1;
2122 PyObject * _argo0 = 0;
2123 wxRect temp;
2124 PyObject * _obj1 = 0;
2125 char *_kwnames[] = { "self","rect", NULL };
2126
2127 self = self;
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
2129 return NULL;
2130 if (_argo0) {
2131 if (_argo0 == Py_None) { _arg0 = NULL; }
2132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2134 return NULL;
2135 }
2136 }
2137 {
2138 _arg1 = &temp;
2139 if (! wxRect_helper(_obj1, &_arg1))
2140 return NULL;
2141 }
2142 {
2143 PyThreadState* __tstate = wxPyBeginAllowThreads();
2144 wxGridCellEditor_SetSize(_arg0,*_arg1);
2145
2146 wxPyEndAllowThreads(__tstate);
2147 if (PyErr_Occurred()) return NULL;
2148 } Py_INCREF(Py_None);
2149 _resultobj = Py_None;
2150 return _resultobj;
2151 }
2152
2153 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2154 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject * _resultobj;
2156 wxGridCellEditor * _arg0;
2157 bool _arg1;
2158 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2159 PyObject * _argo0 = 0;
2160 int tempbool1;
2161 PyObject * _argo2 = 0;
2162 char *_kwnames[] = { "self","show","attr", NULL };
2163
2164 self = self;
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2166 return NULL;
2167 if (_argo0) {
2168 if (_argo0 == Py_None) { _arg0 = NULL; }
2169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2171 return NULL;
2172 }
2173 }
2174 _arg1 = (bool ) tempbool1;
2175 if (_argo2) {
2176 if (_argo2 == Py_None) { _arg2 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2179 return NULL;
2180 }
2181 }
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) return NULL;
2188 } Py_INCREF(Py_None);
2189 _resultobj = Py_None;
2190 return _resultobj;
2191 }
2192
2193 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2194 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2195 PyObject * _resultobj;
2196 wxGridCellEditor * _arg0;
2197 wxRect * _arg1;
2198 wxGridCellAttr * _arg2;
2199 PyObject * _argo0 = 0;
2200 wxRect temp;
2201 PyObject * _obj1 = 0;
2202 PyObject * _argo2 = 0;
2203 char *_kwnames[] = { "self","rectCell","attr", NULL };
2204
2205 self = self;
2206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2207 return NULL;
2208 if (_argo0) {
2209 if (_argo0 == Py_None) { _arg0 = NULL; }
2210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2212 return NULL;
2213 }
2214 }
2215 {
2216 _arg1 = &temp;
2217 if (! wxRect_helper(_obj1, &_arg1))
2218 return NULL;
2219 }
2220 if (_argo2) {
2221 if (_argo2 == Py_None) { _arg2 = NULL; }
2222 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2223 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2224 return NULL;
2225 }
2226 }
2227 {
2228 PyThreadState* __tstate = wxPyBeginAllowThreads();
2229 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2230
2231 wxPyEndAllowThreads(__tstate);
2232 if (PyErr_Occurred()) return NULL;
2233 } Py_INCREF(Py_None);
2234 _resultobj = Py_None;
2235 return _resultobj;
2236 }
2237
2238 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2239 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject * _resultobj;
2241 bool _result;
2242 wxGridCellEditor * _arg0;
2243 wxKeyEvent * _arg1;
2244 PyObject * _argo0 = 0;
2245 PyObject * _argo1 = 0;
2246 char *_kwnames[] = { "self","event", NULL };
2247
2248 self = self;
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2250 return NULL;
2251 if (_argo0) {
2252 if (_argo0 == Py_None) { _arg0 = NULL; }
2253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2255 return NULL;
2256 }
2257 }
2258 if (_argo1) {
2259 if (_argo1 == Py_None) { _arg1 = NULL; }
2260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2262 return NULL;
2263 }
2264 }
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) return NULL;
2271 } _resultobj = Py_BuildValue("i",_result);
2272 return _resultobj;
2273 }
2274
2275 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2276 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject * _resultobj;
2278 wxGridCellEditor * _arg0;
2279 wxKeyEvent * _arg1;
2280 PyObject * _argo0 = 0;
2281 PyObject * _argo1 = 0;
2282 char *_kwnames[] = { "self","event", NULL };
2283
2284 self = self;
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2286 return NULL;
2287 if (_argo0) {
2288 if (_argo0 == Py_None) { _arg0 = NULL; }
2289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2291 return NULL;
2292 }
2293 }
2294 if (_argo1) {
2295 if (_argo1 == Py_None) { _arg1 = NULL; }
2296 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2297 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2298 return NULL;
2299 }
2300 }
2301 {
2302 PyThreadState* __tstate = wxPyBeginAllowThreads();
2303 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2304
2305 wxPyEndAllowThreads(__tstate);
2306 if (PyErr_Occurred()) return NULL;
2307 } Py_INCREF(Py_None);
2308 _resultobj = Py_None;
2309 return _resultobj;
2310 }
2311
2312 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2313 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject * _resultobj;
2315 wxGridCellEditor * _arg0;
2316 PyObject * _argo0 = 0;
2317 char *_kwnames[] = { "self", NULL };
2318
2319 self = self;
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2321 return NULL;
2322 if (_argo0) {
2323 if (_argo0 == Py_None) { _arg0 = NULL; }
2324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2326 return NULL;
2327 }
2328 }
2329 {
2330 PyThreadState* __tstate = wxPyBeginAllowThreads();
2331 wxGridCellEditor_StartingClick(_arg0);
2332
2333 wxPyEndAllowThreads(__tstate);
2334 if (PyErr_Occurred()) return NULL;
2335 } Py_INCREF(Py_None);
2336 _resultobj = Py_None;
2337 return _resultobj;
2338 }
2339
2340 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2341 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject * _resultobj;
2343 wxGridCellEditor * _arg0;
2344 wxKeyEvent * _arg1;
2345 PyObject * _argo0 = 0;
2346 PyObject * _argo1 = 0;
2347 char *_kwnames[] = { "self","event", NULL };
2348
2349 self = self;
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2351 return NULL;
2352 if (_argo0) {
2353 if (_argo0 == Py_None) { _arg0 = NULL; }
2354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2356 return NULL;
2357 }
2358 }
2359 if (_argo1) {
2360 if (_argo1 == Py_None) { _arg1 = NULL; }
2361 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2362 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2363 return NULL;
2364 }
2365 }
2366 {
2367 PyThreadState* __tstate = wxPyBeginAllowThreads();
2368 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2369
2370 wxPyEndAllowThreads(__tstate);
2371 if (PyErr_Occurred()) return NULL;
2372 } Py_INCREF(Py_None);
2373 _resultobj = Py_None;
2374 return _resultobj;
2375 }
2376
2377 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2378 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject * _resultobj;
2380 wxGridCellEditor * _arg0;
2381 PyObject * _argo0 = 0;
2382 char *_kwnames[] = { "self", NULL };
2383
2384 self = self;
2385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2386 return NULL;
2387 if (_argo0) {
2388 if (_argo0 == Py_None) { _arg0 = NULL; }
2389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2391 return NULL;
2392 }
2393 }
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 wxGridCellEditor_Destroy(_arg0);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) return NULL;
2400 } Py_INCREF(Py_None);
2401 _resultobj = Py_None;
2402 return _resultobj;
2403 }
2404
2405 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2406 wxPyGridCellEditor *src;
2407 wxGridCellEditor *dest;
2408 src = (wxPyGridCellEditor *) ptr;
2409 dest = (wxGridCellEditor *) src;
2410 return (void *) dest;
2411 }
2412
2413 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2414 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2415 PyObject * _resultobj;
2416 wxPyGridCellEditor * _result;
2417 char *_kwnames[] = { NULL };
2418 char _ptemp[128];
2419
2420 self = self;
2421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2422 return NULL;
2423 {
2424 PyThreadState* __tstate = wxPyBeginAllowThreads();
2425 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2426
2427 wxPyEndAllowThreads(__tstate);
2428 if (PyErr_Occurred()) return NULL;
2429 } if (_result) {
2430 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2431 _resultobj = Py_BuildValue("s",_ptemp);
2432 } else {
2433 Py_INCREF(Py_None);
2434 _resultobj = Py_None;
2435 }
2436 return _resultobj;
2437 }
2438
2439 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2440 static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject * _resultobj;
2442 wxPyGridCellEditor * _arg0;
2443 PyObject * _arg1;
2444 PyObject * _arg2;
2445 PyObject * _argo0 = 0;
2446 PyObject * _obj1 = 0;
2447 PyObject * _obj2 = 0;
2448 char *_kwnames[] = { "self","self","_class", NULL };
2449
2450 self = self;
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2452 return NULL;
2453 if (_argo0) {
2454 if (_argo0 == Py_None) { _arg0 = NULL; }
2455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2457 return NULL;
2458 }
2459 }
2460 {
2461 _arg1 = _obj1;
2462 }
2463 {
2464 _arg2 = _obj2;
2465 }
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2);
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) return NULL;
2472 } Py_INCREF(Py_None);
2473 _resultobj = Py_None;
2474 return _resultobj;
2475 }
2476
2477 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2478 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2479 PyObject * _resultobj;
2480 wxPyGridCellEditor * _arg0;
2481 wxRect * _arg1;
2482 PyObject * _argo0 = 0;
2483 wxRect temp;
2484 PyObject * _obj1 = 0;
2485 char *_kwnames[] = { "self","rect", NULL };
2486
2487 self = self;
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2489 return NULL;
2490 if (_argo0) {
2491 if (_argo0 == Py_None) { _arg0 = NULL; }
2492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2494 return NULL;
2495 }
2496 }
2497 {
2498 _arg1 = &temp;
2499 if (! wxRect_helper(_obj1, &_arg1))
2500 return NULL;
2501 }
2502 {
2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
2504 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2505
2506 wxPyEndAllowThreads(__tstate);
2507 if (PyErr_Occurred()) return NULL;
2508 } Py_INCREF(Py_None);
2509 _resultobj = Py_None;
2510 return _resultobj;
2511 }
2512
2513 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2514 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2515 PyObject * _resultobj;
2516 wxPyGridCellEditor * _arg0;
2517 bool _arg1;
2518 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2519 PyObject * _argo0 = 0;
2520 int tempbool1;
2521 PyObject * _argo2 = 0;
2522 char *_kwnames[] = { "self","show","attr", NULL };
2523
2524 self = self;
2525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2526 return NULL;
2527 if (_argo0) {
2528 if (_argo0 == Py_None) { _arg0 = NULL; }
2529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2531 return NULL;
2532 }
2533 }
2534 _arg1 = (bool ) tempbool1;
2535 if (_argo2) {
2536 if (_argo2 == Py_None) { _arg2 = NULL; }
2537 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2538 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2539 return NULL;
2540 }
2541 }
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
2544 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) return NULL;
2548 } Py_INCREF(Py_None);
2549 _resultobj = Py_None;
2550 return _resultobj;
2551 }
2552
2553 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2554 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject * _resultobj;
2556 wxPyGridCellEditor * _arg0;
2557 wxRect * _arg1;
2558 wxGridCellAttr * _arg2;
2559 PyObject * _argo0 = 0;
2560 wxRect temp;
2561 PyObject * _obj1 = 0;
2562 PyObject * _argo2 = 0;
2563 char *_kwnames[] = { "self","rectCell","attr", NULL };
2564
2565 self = self;
2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2567 return NULL;
2568 if (_argo0) {
2569 if (_argo0 == Py_None) { _arg0 = NULL; }
2570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2572 return NULL;
2573 }
2574 }
2575 {
2576 _arg1 = &temp;
2577 if (! wxRect_helper(_obj1, &_arg1))
2578 return NULL;
2579 }
2580 if (_argo2) {
2581 if (_argo2 == Py_None) { _arg2 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2584 return NULL;
2585 }
2586 }
2587 {
2588 PyThreadState* __tstate = wxPyBeginAllowThreads();
2589 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2590
2591 wxPyEndAllowThreads(__tstate);
2592 if (PyErr_Occurred()) return NULL;
2593 } Py_INCREF(Py_None);
2594 _resultobj = Py_None;
2595 return _resultobj;
2596 }
2597
2598 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2599 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2600 PyObject * _resultobj;
2601 wxPyGridCellEditor * _arg0;
2602 wxKeyEvent * _arg1;
2603 PyObject * _argo0 = 0;
2604 PyObject * _argo1 = 0;
2605 char *_kwnames[] = { "self","event", NULL };
2606
2607 self = self;
2608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2609 return NULL;
2610 if (_argo0) {
2611 if (_argo0 == Py_None) { _arg0 = NULL; }
2612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2614 return NULL;
2615 }
2616 }
2617 if (_argo1) {
2618 if (_argo1 == Py_None) { _arg1 = NULL; }
2619 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2620 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2621 return NULL;
2622 }
2623 }
2624 {
2625 PyThreadState* __tstate = wxPyBeginAllowThreads();
2626 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2627
2628 wxPyEndAllowThreads(__tstate);
2629 if (PyErr_Occurred()) return NULL;
2630 } Py_INCREF(Py_None);
2631 _resultobj = Py_None;
2632 return _resultobj;
2633 }
2634
2635 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2636 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject * _resultobj;
2638 wxPyGridCellEditor * _arg0;
2639 wxKeyEvent * _arg1;
2640 PyObject * _argo0 = 0;
2641 PyObject * _argo1 = 0;
2642 char *_kwnames[] = { "self","event", NULL };
2643
2644 self = self;
2645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2646 return NULL;
2647 if (_argo0) {
2648 if (_argo0 == Py_None) { _arg0 = NULL; }
2649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2651 return NULL;
2652 }
2653 }
2654 if (_argo1) {
2655 if (_argo1 == Py_None) { _arg1 = NULL; }
2656 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2658 return NULL;
2659 }
2660 }
2661 {
2662 PyThreadState* __tstate = wxPyBeginAllowThreads();
2663 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2664
2665 wxPyEndAllowThreads(__tstate);
2666 if (PyErr_Occurred()) return NULL;
2667 } Py_INCREF(Py_None);
2668 _resultobj = Py_None;
2669 return _resultobj;
2670 }
2671
2672 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2673 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject * _resultobj;
2675 wxPyGridCellEditor * _arg0;
2676 PyObject * _argo0 = 0;
2677 char *_kwnames[] = { "self", NULL };
2678
2679 self = self;
2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2681 return NULL;
2682 if (_argo0) {
2683 if (_argo0 == Py_None) { _arg0 = NULL; }
2684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2686 return NULL;
2687 }
2688 }
2689 {
2690 PyThreadState* __tstate = wxPyBeginAllowThreads();
2691 wxPyGridCellEditor_base_StartingClick(_arg0);
2692
2693 wxPyEndAllowThreads(__tstate);
2694 if (PyErr_Occurred()) return NULL;
2695 } Py_INCREF(Py_None);
2696 _resultobj = Py_None;
2697 return _resultobj;
2698 }
2699
2700 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2701 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2702 PyObject * _resultobj;
2703 wxPyGridCellEditor * _arg0;
2704 wxKeyEvent * _arg1;
2705 PyObject * _argo0 = 0;
2706 PyObject * _argo1 = 0;
2707 char *_kwnames[] = { "self","event", NULL };
2708
2709 self = self;
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2711 return NULL;
2712 if (_argo0) {
2713 if (_argo0 == Py_None) { _arg0 = NULL; }
2714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2716 return NULL;
2717 }
2718 }
2719 if (_argo1) {
2720 if (_argo1 == Py_None) { _arg1 = NULL; }
2721 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2722 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2723 return NULL;
2724 }
2725 }
2726 {
2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
2728 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2729
2730 wxPyEndAllowThreads(__tstate);
2731 if (PyErr_Occurred()) return NULL;
2732 } Py_INCREF(Py_None);
2733 _resultobj = Py_None;
2734 return _resultobj;
2735 }
2736
2737 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2738 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2739 PyObject * _resultobj;
2740 wxPyGridCellEditor * _arg0;
2741 PyObject * _argo0 = 0;
2742 char *_kwnames[] = { "self", NULL };
2743
2744 self = self;
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2746 return NULL;
2747 if (_argo0) {
2748 if (_argo0 == Py_None) { _arg0 = NULL; }
2749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2751 return NULL;
2752 }
2753 }
2754 {
2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
2756 wxPyGridCellEditor_base_Destroy(_arg0);
2757
2758 wxPyEndAllowThreads(__tstate);
2759 if (PyErr_Occurred()) return NULL;
2760 } Py_INCREF(Py_None);
2761 _resultobj = Py_None;
2762 return _resultobj;
2763 }
2764
2765 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2766 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2767 PyObject * _resultobj;
2768 wxPyGridCellEditor * _arg0;
2769 wxString * _arg1;
2770 PyObject * _argo0 = 0;
2771 PyObject * _obj1 = 0;
2772 char *_kwnames[] = { "self","params", NULL };
2773
2774 self = self;
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2776 return NULL;
2777 if (_argo0) {
2778 if (_argo0 == Py_None) { _arg0 = NULL; }
2779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2781 return NULL;
2782 }
2783 }
2784 {
2785 #if PYTHON_API_VERSION >= 1009
2786 char* tmpPtr; int tmpSize;
2787 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2788 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2789 return NULL;
2790 }
2791 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2792 return NULL;
2793 _arg1 = new wxString(tmpPtr, tmpSize);
2794 #else
2795 if (!PyString_Check(_obj1)) {
2796 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2797 return NULL;
2798 }
2799 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2800 #endif
2801 }
2802 {
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) return NULL;
2808 } Py_INCREF(Py_None);
2809 _resultobj = Py_None;
2810 {
2811 if (_obj1)
2812 delete _arg1;
2813 }
2814 return _resultobj;
2815 }
2816
2817 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2818 wxGridCellTextEditor *src;
2819 wxGridCellEditor *dest;
2820 src = (wxGridCellTextEditor *) ptr;
2821 dest = (wxGridCellEditor *) src;
2822 return (void *) dest;
2823 }
2824
2825 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2826 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject * _resultobj;
2828 wxGridCellTextEditor * _result;
2829 char *_kwnames[] = { NULL };
2830 char _ptemp[128];
2831
2832 self = self;
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2834 return NULL;
2835 {
2836 PyThreadState* __tstate = wxPyBeginAllowThreads();
2837 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2838
2839 wxPyEndAllowThreads(__tstate);
2840 if (PyErr_Occurred()) return NULL;
2841 } if (_result) {
2842 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2843 _resultobj = Py_BuildValue("s",_ptemp);
2844 } else {
2845 Py_INCREF(Py_None);
2846 _resultobj = Py_None;
2847 }
2848 return _resultobj;
2849 }
2850
2851 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2852 wxGridCellNumberEditor *src;
2853 wxGridCellTextEditor *dest;
2854 src = (wxGridCellNumberEditor *) ptr;
2855 dest = (wxGridCellTextEditor *) src;
2856 return (void *) dest;
2857 }
2858
2859 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2860 wxGridCellNumberEditor *src;
2861 wxGridCellEditor *dest;
2862 src = (wxGridCellNumberEditor *) ptr;
2863 dest = (wxGridCellEditor *) src;
2864 return (void *) dest;
2865 }
2866
2867 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2868 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject * _resultobj;
2870 wxGridCellNumberEditor * _result;
2871 int _arg0 = (int ) -1;
2872 int _arg1 = (int ) -1;
2873 char *_kwnames[] = { "min","max", NULL };
2874 char _ptemp[128];
2875
2876 self = self;
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2878 return NULL;
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) return NULL;
2885 } if (_result) {
2886 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2887 _resultobj = Py_BuildValue("s",_ptemp);
2888 } else {
2889 Py_INCREF(Py_None);
2890 _resultobj = Py_None;
2891 }
2892 return _resultobj;
2893 }
2894
2895 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2896 wxGridCellFloatEditor *src;
2897 wxGridCellTextEditor *dest;
2898 src = (wxGridCellFloatEditor *) ptr;
2899 dest = (wxGridCellTextEditor *) src;
2900 return (void *) dest;
2901 }
2902
2903 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2904 wxGridCellFloatEditor *src;
2905 wxGridCellEditor *dest;
2906 src = (wxGridCellFloatEditor *) ptr;
2907 dest = (wxGridCellEditor *) src;
2908 return (void *) dest;
2909 }
2910
2911 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2912 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2913 PyObject * _resultobj;
2914 wxGridCellFloatEditor * _result;
2915 char *_kwnames[] = { NULL };
2916 char _ptemp[128];
2917
2918 self = self;
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2920 return NULL;
2921 {
2922 PyThreadState* __tstate = wxPyBeginAllowThreads();
2923 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2924
2925 wxPyEndAllowThreads(__tstate);
2926 if (PyErr_Occurred()) return NULL;
2927 } if (_result) {
2928 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2929 _resultobj = Py_BuildValue("s",_ptemp);
2930 } else {
2931 Py_INCREF(Py_None);
2932 _resultobj = Py_None;
2933 }
2934 return _resultobj;
2935 }
2936
2937 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2938 wxGridCellBoolEditor *src;
2939 wxGridCellEditor *dest;
2940 src = (wxGridCellBoolEditor *) ptr;
2941 dest = (wxGridCellEditor *) src;
2942 return (void *) dest;
2943 }
2944
2945 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2946 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2947 PyObject * _resultobj;
2948 wxGridCellBoolEditor * _result;
2949 char *_kwnames[] = { NULL };
2950 char _ptemp[128];
2951
2952 self = self;
2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2954 return NULL;
2955 {
2956 PyThreadState* __tstate = wxPyBeginAllowThreads();
2957 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2958
2959 wxPyEndAllowThreads(__tstate);
2960 if (PyErr_Occurred()) return NULL;
2961 } if (_result) {
2962 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2963 _resultobj = Py_BuildValue("s",_ptemp);
2964 } else {
2965 Py_INCREF(Py_None);
2966 _resultobj = Py_None;
2967 }
2968 return _resultobj;
2969 }
2970
2971 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2972 wxGridCellChoiceEditor *src;
2973 wxGridCellEditor *dest;
2974 src = (wxGridCellChoiceEditor *) ptr;
2975 dest = (wxGridCellEditor *) src;
2976 return (void *) dest;
2977 }
2978
2979 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2980 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject * _resultobj;
2982 wxGridCellChoiceEditor * _result;
2983 int _arg0 = (int ) 0;
2984 wxString * _arg1 = (wxString *) NULL;
2985 bool _arg2 = (bool ) FALSE;
2986 PyObject * _obj1 = 0;
2987 int tempbool2 = (int) FALSE;
2988 char *_kwnames[] = { "choices","allowOthers", NULL };
2989 char _ptemp[128];
2990
2991 self = self;
2992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2993 return NULL;
2994 if (_obj1)
2995 {
2996 _arg1 = wxString_LIST_helper(_obj1);
2997 if (_arg1 == NULL) {
2998 return NULL;
2999 }
3000 }
3001 _arg2 = (bool ) tempbool2;
3002 {
3003 if (_obj1) {
3004 _arg0 = PyList_Size(_obj1);
3005 }
3006 else {
3007 _arg0 = 0;
3008 }
3009 }
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) return NULL;
3016 } if (_result) {
3017 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
3018 _resultobj = Py_BuildValue("s",_ptemp);
3019 } else {
3020 Py_INCREF(Py_None);
3021 _resultobj = Py_None;
3022 }
3023 {
3024 delete [] _arg1;
3025 }
3026 return _resultobj;
3027 }
3028
3029 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) {
3030 wxGridCellEnumEditor *src;
3031 wxGridCellChoiceEditor *dest;
3032 src = (wxGridCellEnumEditor *) ptr;
3033 dest = (wxGridCellChoiceEditor *) src;
3034 return (void *) dest;
3035 }
3036
3037 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) {
3038 wxGridCellEnumEditor *src;
3039 wxGridCellEditor *dest;
3040 src = (wxGridCellEnumEditor *) ptr;
3041 dest = (wxGridCellEditor *) src;
3042 return (void *) dest;
3043 }
3044
3045 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3046 static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3047 PyObject * _resultobj;
3048 wxGridCellEnumEditor * _result;
3049 wxString * _arg0 = (wxString *) &"";
3050 PyObject * _obj0 = 0;
3051 char *_kwnames[] = { "choices", NULL };
3052 char _ptemp[128];
3053
3054 self = self;
3055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0))
3056 return NULL;
3057 if (_obj0)
3058 {
3059 _arg0 = wxString_LIST_helper(_obj0);
3060 if (_arg0 == NULL) {
3061 return NULL;
3062 }
3063 }
3064 {
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0);
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) return NULL;
3070 } if (_result) {
3071 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p");
3072 _resultobj = Py_BuildValue("s",_ptemp);
3073 } else {
3074 Py_INCREF(Py_None);
3075 _resultobj = Py_None;
3076 }
3077 {
3078 delete [] _arg0;
3079 }
3080 return _resultobj;
3081 }
3082
3083 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) {
3084 wxGridCellAutoWrapStringEditor *src;
3085 wxGridCellTextEditor *dest;
3086 src = (wxGridCellAutoWrapStringEditor *) ptr;
3087 dest = (wxGridCellTextEditor *) src;
3088 return (void *) dest;
3089 }
3090
3091 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) {
3092 wxGridCellAutoWrapStringEditor *src;
3093 wxGridCellEditor *dest;
3094 src = (wxGridCellAutoWrapStringEditor *) ptr;
3095 dest = (wxGridCellEditor *) src;
3096 return (void *) dest;
3097 }
3098
3099 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3100 static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3101 PyObject * _resultobj;
3102 wxGridCellAutoWrapStringEditor * _result;
3103 char *_kwnames[] = { NULL };
3104 char _ptemp[128];
3105
3106 self = self;
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames))
3108 return NULL;
3109 {
3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
3111 _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor();
3112
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) return NULL;
3115 } if (_result) {
3116 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p");
3117 _resultobj = Py_BuildValue("s",_ptemp);
3118 } else {
3119 Py_INCREF(Py_None);
3120 _resultobj = Py_None;
3121 }
3122 return _resultobj;
3123 }
3124
3125 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3126 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3127 PyObject * _resultobj;
3128 wxGridCellAttr * _result;
3129 wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL;
3130 PyObject * _argo0 = 0;
3131 char *_kwnames[] = { "attrDefault", NULL };
3132 char _ptemp[128];
3133
3134 self = self;
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0))
3136 return NULL;
3137 if (_argo0) {
3138 if (_argo0 == Py_None) { _arg0 = NULL; }
3139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3141 return NULL;
3142 }
3143 }
3144 {
3145 PyThreadState* __tstate = wxPyBeginAllowThreads();
3146 _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0);
3147
3148 wxPyEndAllowThreads(__tstate);
3149 if (PyErr_Occurred()) return NULL;
3150 } if (_result) {
3151 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3152 _resultobj = Py_BuildValue("s",_ptemp);
3153 } else {
3154 Py_INCREF(Py_None);
3155 _resultobj = Py_None;
3156 }
3157 return _resultobj;
3158 }
3159
3160 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3161 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3162 PyObject * _resultobj;
3163 wxGridCellAttr * _result;
3164 wxGridCellAttr * _arg0;
3165 PyObject * _argo0 = 0;
3166 char *_kwnames[] = { "self", NULL };
3167 char _ptemp[128];
3168
3169 self = self;
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
3171 return NULL;
3172 if (_argo0) {
3173 if (_argo0 == Py_None) { _arg0 = NULL; }
3174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3176 return NULL;
3177 }
3178 }
3179 {
3180 PyThreadState* __tstate = wxPyBeginAllowThreads();
3181 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
3182
3183 wxPyEndAllowThreads(__tstate);
3184 if (PyErr_Occurred()) return NULL;
3185 } if (_result) {
3186 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3187 _resultobj = Py_BuildValue("s",_ptemp);
3188 } else {
3189 Py_INCREF(Py_None);
3190 _resultobj = Py_None;
3191 }
3192 return _resultobj;
3193 }
3194
3195 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3196 static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3197 PyObject * _resultobj;
3198 wxGridCellAttr * _arg0;
3199 wxGridCellAttr * _arg1;
3200 PyObject * _argo0 = 0;
3201 PyObject * _argo1 = 0;
3202 char *_kwnames[] = { "self","mergefrom", NULL };
3203
3204 self = self;
3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
3206 return NULL;
3207 if (_argo0) {
3208 if (_argo0 == Py_None) { _arg0 = NULL; }
3209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3211 return NULL;
3212 }
3213 }
3214 if (_argo1) {
3215 if (_argo1 == Py_None) { _arg1 = NULL; }
3216 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3218 return NULL;
3219 }
3220 }
3221 {
3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
3223 wxGridCellAttr_MergeWith(_arg0,_arg1);
3224
3225 wxPyEndAllowThreads(__tstate);
3226 if (PyErr_Occurred()) return NULL;
3227 } Py_INCREF(Py_None);
3228 _resultobj = Py_None;
3229 return _resultobj;
3230 }
3231
3232 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3233 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3234 PyObject * _resultobj;
3235 wxGridCellAttr * _arg0;
3236 PyObject * _argo0 = 0;
3237 char *_kwnames[] = { "self", NULL };
3238
3239 self = self;
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
3241 return NULL;
3242 if (_argo0) {
3243 if (_argo0 == Py_None) { _arg0 = NULL; }
3244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3246 return NULL;
3247 }
3248 }
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 wxGridCellAttr_IncRef(_arg0);
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) return NULL;
3255 } Py_INCREF(Py_None);
3256 _resultobj = Py_None;
3257 return _resultobj;
3258 }
3259
3260 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3261 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3262 PyObject * _resultobj;
3263 wxGridCellAttr * _arg0;
3264 PyObject * _argo0 = 0;
3265 char *_kwnames[] = { "self", NULL };
3266
3267 self = self;
3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
3269 return NULL;
3270 if (_argo0) {
3271 if (_argo0 == Py_None) { _arg0 = NULL; }
3272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3274 return NULL;
3275 }
3276 }
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 wxGridCellAttr_DecRef(_arg0);
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) return NULL;
3283 } Py_INCREF(Py_None);
3284 _resultobj = Py_None;
3285 return _resultobj;
3286 }
3287
3288 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3289 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3290 PyObject * _resultobj;
3291 wxGridCellAttr * _arg0;
3292 wxColour * _arg1;
3293 PyObject * _argo0 = 0;
3294 wxColour temp;
3295 PyObject * _obj1 = 0;
3296 char *_kwnames[] = { "self","colText", NULL };
3297
3298 self = self;
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
3300 return NULL;
3301 if (_argo0) {
3302 if (_argo0 == Py_None) { _arg0 = NULL; }
3303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3305 return NULL;
3306 }
3307 }
3308 {
3309 _arg1 = &temp;
3310 if (! wxColour_helper(_obj1, &_arg1))
3311 return NULL;
3312 }
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
3315 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) return NULL;
3319 } Py_INCREF(Py_None);
3320 _resultobj = Py_None;
3321 return _resultobj;
3322 }
3323
3324 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3325 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3326 PyObject * _resultobj;
3327 wxGridCellAttr * _arg0;
3328 wxColour * _arg1;
3329 PyObject * _argo0 = 0;
3330 wxColour temp;
3331 PyObject * _obj1 = 0;
3332 char *_kwnames[] = { "self","colBack", NULL };
3333
3334 self = self;
3335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3336 return NULL;
3337 if (_argo0) {
3338 if (_argo0 == Py_None) { _arg0 = NULL; }
3339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3341 return NULL;
3342 }
3343 }
3344 {
3345 _arg1 = &temp;
3346 if (! wxColour_helper(_obj1, &_arg1))
3347 return NULL;
3348 }
3349 {
3350 PyThreadState* __tstate = wxPyBeginAllowThreads();
3351 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3352
3353 wxPyEndAllowThreads(__tstate);
3354 if (PyErr_Occurred()) return NULL;
3355 } Py_INCREF(Py_None);
3356 _resultobj = Py_None;
3357 return _resultobj;
3358 }
3359
3360 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3361 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3362 PyObject * _resultobj;
3363 wxGridCellAttr * _arg0;
3364 wxFont * _arg1;
3365 PyObject * _argo0 = 0;
3366 PyObject * _argo1 = 0;
3367 char *_kwnames[] = { "self","font", NULL };
3368
3369 self = self;
3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3371 return NULL;
3372 if (_argo0) {
3373 if (_argo0 == Py_None) { _arg0 = NULL; }
3374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3376 return NULL;
3377 }
3378 }
3379 if (_argo1) {
3380 if (_argo1 == Py_None) { _arg1 = NULL; }
3381 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3382 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3383 return NULL;
3384 }
3385 }
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 wxGridCellAttr_SetFont(_arg0,*_arg1);
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) return NULL;
3392 } Py_INCREF(Py_None);
3393 _resultobj = Py_None;
3394 return _resultobj;
3395 }
3396
3397 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3398 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject * _resultobj;
3400 wxGridCellAttr * _arg0;
3401 int _arg1;
3402 int _arg2;
3403 PyObject * _argo0 = 0;
3404 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3405
3406 self = self;
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3408 return NULL;
3409 if (_argo0) {
3410 if (_argo0 == Py_None) { _arg0 = NULL; }
3411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3413 return NULL;
3414 }
3415 }
3416 {
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3419
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) return NULL;
3422 } Py_INCREF(Py_None);
3423 _resultobj = Py_None;
3424 return _resultobj;
3425 }
3426
3427 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3428 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject * _resultobj;
3430 wxGridCellAttr * _arg0;
3431 bool _arg1 = (bool ) TRUE;
3432 PyObject * _argo0 = 0;
3433 int tempbool1 = (int) TRUE;
3434 char *_kwnames[] = { "self","isReadOnly", NULL };
3435
3436 self = self;
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3438 return NULL;
3439 if (_argo0) {
3440 if (_argo0 == Py_None) { _arg0 = NULL; }
3441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3443 return NULL;
3444 }
3445 }
3446 _arg1 = (bool ) tempbool1;
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) return NULL;
3453 } Py_INCREF(Py_None);
3454 _resultobj = Py_None;
3455 return _resultobj;
3456 }
3457
3458 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3459 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3460 PyObject * _resultobj;
3461 wxGridCellAttr * _arg0;
3462 wxGridCellRenderer * _arg1;
3463 PyObject * _argo0 = 0;
3464 PyObject * _argo1 = 0;
3465 char *_kwnames[] = { "self","renderer", NULL };
3466
3467 self = self;
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3469 return NULL;
3470 if (_argo0) {
3471 if (_argo0 == Py_None) { _arg0 = NULL; }
3472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3474 return NULL;
3475 }
3476 }
3477 if (_argo1) {
3478 if (_argo1 == Py_None) { _arg1 = NULL; }
3479 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3480 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3481 return NULL;
3482 }
3483 }
3484 {
3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
3486 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3487
3488 wxPyEndAllowThreads(__tstate);
3489 if (PyErr_Occurred()) return NULL;
3490 } Py_INCREF(Py_None);
3491 _resultobj = Py_None;
3492 return _resultobj;
3493 }
3494
3495 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3496 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3497 PyObject * _resultobj;
3498 wxGridCellAttr * _arg0;
3499 wxGridCellEditor * _arg1;
3500 PyObject * _argo0 = 0;
3501 PyObject * _argo1 = 0;
3502 char *_kwnames[] = { "self","editor", NULL };
3503
3504 self = self;
3505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3506 return NULL;
3507 if (_argo0) {
3508 if (_argo0 == Py_None) { _arg0 = NULL; }
3509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3511 return NULL;
3512 }
3513 }
3514 if (_argo1) {
3515 if (_argo1 == Py_None) { _arg1 = NULL; }
3516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3518 return NULL;
3519 }
3520 }
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 wxGridCellAttr_SetEditor(_arg0,_arg1);
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) return NULL;
3527 } Py_INCREF(Py_None);
3528 _resultobj = Py_None;
3529 return _resultobj;
3530 }
3531
3532 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3533 static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3534 PyObject * _resultobj;
3535 wxGridCellAttr * _arg0;
3536 wxGridCellAttr::wxAttrKind _arg1;
3537 PyObject * _argo0 = 0;
3538 char *_kwnames[] = { "self","kind", NULL };
3539
3540 self = self;
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3542 return NULL;
3543 if (_argo0) {
3544 if (_argo0 == Py_None) { _arg0 = NULL; }
3545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3547 return NULL;
3548 }
3549 }
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 wxGridCellAttr_SetKind(_arg0,_arg1);
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) return NULL;
3556 } Py_INCREF(Py_None);
3557 _resultobj = Py_None;
3558 return _resultobj;
3559 }
3560
3561 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3562 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject * _resultobj;
3564 bool _result;
3565 wxGridCellAttr * _arg0;
3566 PyObject * _argo0 = 0;
3567 char *_kwnames[] = { "self", NULL };
3568
3569 self = self;
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3571 return NULL;
3572 if (_argo0) {
3573 if (_argo0 == Py_None) { _arg0 = NULL; }
3574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3576 return NULL;
3577 }
3578 }
3579 {
3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
3581 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3582
3583 wxPyEndAllowThreads(__tstate);
3584 if (PyErr_Occurred()) return NULL;
3585 } _resultobj = Py_BuildValue("i",_result);
3586 return _resultobj;
3587 }
3588
3589 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3590 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3591 PyObject * _resultobj;
3592 bool _result;
3593 wxGridCellAttr * _arg0;
3594 PyObject * _argo0 = 0;
3595 char *_kwnames[] = { "self", NULL };
3596
3597 self = self;
3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3599 return NULL;
3600 if (_argo0) {
3601 if (_argo0 == Py_None) { _arg0 = NULL; }
3602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3604 return NULL;
3605 }
3606 }
3607 {
3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
3609 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) return NULL;
3613 } _resultobj = Py_BuildValue("i",_result);
3614 return _resultobj;
3615 }
3616
3617 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3618 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3619 PyObject * _resultobj;
3620 bool _result;
3621 wxGridCellAttr * _arg0;
3622 PyObject * _argo0 = 0;
3623 char *_kwnames[] = { "self", NULL };
3624
3625 self = self;
3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3627 return NULL;
3628 if (_argo0) {
3629 if (_argo0 == Py_None) { _arg0 = NULL; }
3630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3632 return NULL;
3633 }
3634 }
3635 {
3636 PyThreadState* __tstate = wxPyBeginAllowThreads();
3637 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3638
3639 wxPyEndAllowThreads(__tstate);
3640 if (PyErr_Occurred()) return NULL;
3641 } _resultobj = Py_BuildValue("i",_result);
3642 return _resultobj;
3643 }
3644
3645 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3646 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3647 PyObject * _resultobj;
3648 bool _result;
3649 wxGridCellAttr * _arg0;
3650 PyObject * _argo0 = 0;
3651 char *_kwnames[] = { "self", NULL };
3652
3653 self = self;
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3655 return NULL;
3656 if (_argo0) {
3657 if (_argo0 == Py_None) { _arg0 = NULL; }
3658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3660 return NULL;
3661 }
3662 }
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) return NULL;
3669 } _resultobj = Py_BuildValue("i",_result);
3670 return _resultobj;
3671 }
3672
3673 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3674 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject * _resultobj;
3676 bool _result;
3677 wxGridCellAttr * _arg0;
3678 PyObject * _argo0 = 0;
3679 char *_kwnames[] = { "self", NULL };
3680
3681 self = self;
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3683 return NULL;
3684 if (_argo0) {
3685 if (_argo0 == Py_None) { _arg0 = NULL; }
3686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3688 return NULL;
3689 }
3690 }
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) return NULL;
3697 } _resultobj = Py_BuildValue("i",_result);
3698 return _resultobj;
3699 }
3700
3701 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3702 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3703 PyObject * _resultobj;
3704 bool _result;
3705 wxGridCellAttr * _arg0;
3706 PyObject * _argo0 = 0;
3707 char *_kwnames[] = { "self", NULL };
3708
3709 self = self;
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3711 return NULL;
3712 if (_argo0) {
3713 if (_argo0 == Py_None) { _arg0 = NULL; }
3714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3716 return NULL;
3717 }
3718 }
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) return NULL;
3725 } _resultobj = Py_BuildValue("i",_result);
3726 return _resultobj;
3727 }
3728
3729 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3730 static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject * _resultobj;
3732 bool _result;
3733 wxGridCellAttr * _arg0;
3734 PyObject * _argo0 = 0;
3735 char *_kwnames[] = { "self", NULL };
3736
3737 self = self;
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3739 return NULL;
3740 if (_argo0) {
3741 if (_argo0 == Py_None) { _arg0 = NULL; }
3742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3744 return NULL;
3745 }
3746 }
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) return NULL;
3753 } _resultobj = Py_BuildValue("i",_result);
3754 return _resultobj;
3755 }
3756
3757 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3758 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject * _resultobj;
3760 wxColour * _result;
3761 wxGridCellAttr * _arg0;
3762 PyObject * _argo0 = 0;
3763 char *_kwnames[] = { "self", NULL };
3764 char _ptemp[128];
3765
3766 self = self;
3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3768 return NULL;
3769 if (_argo0) {
3770 if (_argo0 == Py_None) { _arg0 = NULL; }
3771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3773 return NULL;
3774 }
3775 }
3776 {
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
3779
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) return NULL;
3782 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3783 _resultobj = Py_BuildValue("s",_ptemp);
3784 return _resultobj;
3785 }
3786
3787 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3788 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3789 PyObject * _resultobj;
3790 wxColour * _result;
3791 wxGridCellAttr * _arg0;
3792 PyObject * _argo0 = 0;
3793 char *_kwnames[] = { "self", NULL };
3794 char _ptemp[128];
3795
3796 self = self;
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3798 return NULL;
3799 if (_argo0) {
3800 if (_argo0 == Py_None) { _arg0 = NULL; }
3801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3803 return NULL;
3804 }
3805 }
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) return NULL;
3812 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3813 _resultobj = Py_BuildValue("s",_ptemp);
3814 return _resultobj;
3815 }
3816
3817 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3818 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3819 PyObject * _resultobj;
3820 wxFont * _result;
3821 wxGridCellAttr * _arg0;
3822 PyObject * _argo0 = 0;
3823 char *_kwnames[] = { "self", NULL };
3824 char _ptemp[128];
3825
3826 self = self;
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3828 return NULL;
3829 if (_argo0) {
3830 if (_argo0 == Py_None) { _arg0 = NULL; }
3831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3833 return NULL;
3834 }
3835 }
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) return NULL;
3842 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
3843 _resultobj = Py_BuildValue("s",_ptemp);
3844 return _resultobj;
3845 }
3846
3847 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3848 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3849 PyObject * _resultobj;
3850 wxGridCellAttr * _arg0;
3851 int * _arg1;
3852 int temp;
3853 int * _arg2;
3854 int temp0;
3855 PyObject * _argo0 = 0;
3856 char *_kwnames[] = { "self", NULL };
3857
3858 self = self;
3859 {
3860 _arg1 = &temp;
3861 }
3862 {
3863 _arg2 = &temp0;
3864 }
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3866 return NULL;
3867 if (_argo0) {
3868 if (_argo0 == Py_None) { _arg0 = NULL; }
3869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3871 return NULL;
3872 }
3873 }
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) return NULL;
3880 } Py_INCREF(Py_None);
3881 _resultobj = Py_None;
3882 {
3883 PyObject *o;
3884 o = PyInt_FromLong((long) (*_arg1));
3885 _resultobj = t_output_helper(_resultobj, o);
3886 }
3887 {
3888 PyObject *o;
3889 o = PyInt_FromLong((long) (*_arg2));
3890 _resultobj = t_output_helper(_resultobj, o);
3891 }
3892 return _resultobj;
3893 }
3894
3895 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3896 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3897 PyObject * _resultobj;
3898 wxGridCellRenderer * _result;
3899 wxGridCellAttr * _arg0;
3900 wxGrid * _arg1;
3901 int _arg2;
3902 int _arg3;
3903 PyObject * _argo0 = 0;
3904 PyObject * _argo1 = 0;
3905 char *_kwnames[] = { "self","grid","row","col", NULL };
3906 char _ptemp[128];
3907
3908 self = self;
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3910 return NULL;
3911 if (_argo0) {
3912 if (_argo0 == Py_None) { _arg0 = NULL; }
3913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3915 return NULL;
3916 }
3917 }
3918 if (_argo1) {
3919 if (_argo1 == Py_None) { _arg1 = NULL; }
3920 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3921 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3922 return NULL;
3923 }
3924 }
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3928
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) return NULL;
3931 } if (_result) {
3932 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3933 _resultobj = Py_BuildValue("s",_ptemp);
3934 } else {
3935 Py_INCREF(Py_None);
3936 _resultobj = Py_None;
3937 }
3938 return _resultobj;
3939 }
3940
3941 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3942 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3943 PyObject * _resultobj;
3944 wxGridCellEditor * _result;
3945 wxGridCellAttr * _arg0;
3946 wxGrid * _arg1;
3947 int _arg2;
3948 int _arg3;
3949 PyObject * _argo0 = 0;
3950 PyObject * _argo1 = 0;
3951 char *_kwnames[] = { "self","grid","row","col", NULL };
3952 char _ptemp[128];
3953
3954 self = self;
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3956 return NULL;
3957 if (_argo0) {
3958 if (_argo0 == Py_None) { _arg0 = NULL; }
3959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3961 return NULL;
3962 }
3963 }
3964 if (_argo1) {
3965 if (_argo1 == Py_None) { _arg1 = NULL; }
3966 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3967 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3968 return NULL;
3969 }
3970 }
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) return NULL;
3977 } if (_result) {
3978 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3979 _resultobj = Py_BuildValue("s",_ptemp);
3980 } else {
3981 Py_INCREF(Py_None);
3982 _resultobj = Py_None;
3983 }
3984 return _resultobj;
3985 }
3986
3987 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3988 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3989 PyObject * _resultobj;
3990 bool _result;
3991 wxGridCellAttr * _arg0;
3992 PyObject * _argo0 = 0;
3993 char *_kwnames[] = { "self", NULL };
3994
3995 self = self;
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3997 return NULL;
3998 if (_argo0) {
3999 if (_argo0 == Py_None) { _arg0 = NULL; }
4000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4002 return NULL;
4003 }
4004 }
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) return NULL;
4011 } _resultobj = Py_BuildValue("i",_result);
4012 return _resultobj;
4013 }
4014
4015 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4016 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject * _resultobj;
4018 wxGridCellAttr * _arg0;
4019 wxGridCellAttr * _arg1;
4020 PyObject * _argo0 = 0;
4021 PyObject * _argo1 = 0;
4022 char *_kwnames[] = { "self","defAttr", NULL };
4023
4024 self = self;
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
4026 return NULL;
4027 if (_argo0) {
4028 if (_argo0 == Py_None) { _arg0 = NULL; }
4029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4031 return NULL;
4032 }
4033 }
4034 if (_argo1) {
4035 if (_argo1 == Py_None) { _arg1 = NULL; }
4036 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4037 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4038 return NULL;
4039 }
4040 }
4041 {
4042 PyThreadState* __tstate = wxPyBeginAllowThreads();
4043 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
4044
4045 wxPyEndAllowThreads(__tstate);
4046 if (PyErr_Occurred()) return NULL;
4047 } Py_INCREF(Py_None);
4048 _resultobj = Py_None;
4049 return _resultobj;
4050 }
4051
4052 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4053 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4054 PyObject * _resultobj;
4055 wxGridCellAttrProvider * _result;
4056 char *_kwnames[] = { NULL };
4057 char _ptemp[128];
4058
4059 self = self;
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
4061 return NULL;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) return NULL;
4068 } if (_result) {
4069 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4070 _resultobj = Py_BuildValue("s",_ptemp);
4071 } else {
4072 Py_INCREF(Py_None);
4073 _resultobj = Py_None;
4074 }
4075 return _resultobj;
4076 }
4077
4078 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4079 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject * _resultobj;
4081 wxGridCellAttr * _result;
4082 wxGridCellAttrProvider * _arg0;
4083 int _arg1;
4084 int _arg2;
4085 wxGridCellAttr::wxAttrKind _arg3;
4086 PyObject * _argo0 = 0;
4087 char *_kwnames[] = { "self","row","col","kind", NULL };
4088 char _ptemp[128];
4089
4090 self = self;
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4092 return NULL;
4093 if (_argo0) {
4094 if (_argo0 == Py_None) { _arg0 = NULL; }
4095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4097 return NULL;
4098 }
4099 }
4100 {
4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
4102 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
4103
4104 wxPyEndAllowThreads(__tstate);
4105 if (PyErr_Occurred()) return NULL;
4106 } if (_result) {
4107 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4108 _resultobj = Py_BuildValue("s",_ptemp);
4109 } else {
4110 Py_INCREF(Py_None);
4111 _resultobj = Py_None;
4112 }
4113 return _resultobj;
4114 }
4115
4116 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4117 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject * _resultobj;
4119 wxGridCellAttrProvider * _arg0;
4120 wxGridCellAttr * _arg1;
4121 int _arg2;
4122 int _arg3;
4123 PyObject * _argo0 = 0;
4124 PyObject * _argo1 = 0;
4125 char *_kwnames[] = { "self","attr","row","col", NULL };
4126
4127 self = self;
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4129 return NULL;
4130 if (_argo0) {
4131 if (_argo0 == Py_None) { _arg0 = NULL; }
4132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4134 return NULL;
4135 }
4136 }
4137 if (_argo1) {
4138 if (_argo1 == Py_None) { _arg1 = NULL; }
4139 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4141 return NULL;
4142 }
4143 }
4144 {
4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4146 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
4147
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) return NULL;
4150 } Py_INCREF(Py_None);
4151 _resultobj = Py_None;
4152 return _resultobj;
4153 }
4154
4155 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4156 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4157 PyObject * _resultobj;
4158 wxGridCellAttrProvider * _arg0;
4159 wxGridCellAttr * _arg1;
4160 int _arg2;
4161 PyObject * _argo0 = 0;
4162 PyObject * _argo1 = 0;
4163 char *_kwnames[] = { "self","attr","row", NULL };
4164
4165 self = self;
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4167 return NULL;
4168 if (_argo0) {
4169 if (_argo0 == Py_None) { _arg0 = NULL; }
4170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4172 return NULL;
4173 }
4174 }
4175 if (_argo1) {
4176 if (_argo1 == Py_None) { _arg1 = NULL; }
4177 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4179 return NULL;
4180 }
4181 }
4182 {
4183 PyThreadState* __tstate = wxPyBeginAllowThreads();
4184 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
4185
4186 wxPyEndAllowThreads(__tstate);
4187 if (PyErr_Occurred()) return NULL;
4188 } Py_INCREF(Py_None);
4189 _resultobj = Py_None;
4190 return _resultobj;
4191 }
4192
4193 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4194 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4195 PyObject * _resultobj;
4196 wxGridCellAttrProvider * _arg0;
4197 wxGridCellAttr * _arg1;
4198 int _arg2;
4199 PyObject * _argo0 = 0;
4200 PyObject * _argo1 = 0;
4201 char *_kwnames[] = { "self","attr","col", NULL };
4202
4203 self = self;
4204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4205 return NULL;
4206 if (_argo0) {
4207 if (_argo0 == Py_None) { _arg0 = NULL; }
4208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4210 return NULL;
4211 }
4212 }
4213 if (_argo1) {
4214 if (_argo1 == Py_None) { _arg1 = NULL; }
4215 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4216 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4217 return NULL;
4218 }
4219 }
4220 {
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
4223
4224 wxPyEndAllowThreads(__tstate);
4225 if (PyErr_Occurred()) return NULL;
4226 } Py_INCREF(Py_None);
4227 _resultobj = Py_None;
4228 return _resultobj;
4229 }
4230
4231 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4232 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4233 PyObject * _resultobj;
4234 wxGridCellAttrProvider * _arg0;
4235 size_t _arg1;
4236 int _arg2;
4237 PyObject * _argo0 = 0;
4238 char *_kwnames[] = { "self","pos","numRows", NULL };
4239
4240 self = self;
4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4242 return NULL;
4243 if (_argo0) {
4244 if (_argo0 == Py_None) { _arg0 = NULL; }
4245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4247 return NULL;
4248 }
4249 }
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) return NULL;
4256 } Py_INCREF(Py_None);
4257 _resultobj = Py_None;
4258 return _resultobj;
4259 }
4260
4261 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4262 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject * _resultobj;
4264 wxGridCellAttrProvider * _arg0;
4265 size_t _arg1;
4266 int _arg2;
4267 PyObject * _argo0 = 0;
4268 char *_kwnames[] = { "self","pos","numCols", NULL };
4269
4270 self = self;
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4272 return NULL;
4273 if (_argo0) {
4274 if (_argo0 == Py_None) { _arg0 = NULL; }
4275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4277 return NULL;
4278 }
4279 }
4280 {
4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
4282 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
4283
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) return NULL;
4286 } Py_INCREF(Py_None);
4287 _resultobj = Py_None;
4288 return _resultobj;
4289 }
4290
4291 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4292 wxPyGridCellAttrProvider *src;
4293 wxGridCellAttrProvider *dest;
4294 src = (wxPyGridCellAttrProvider *) ptr;
4295 dest = (wxGridCellAttrProvider *) src;
4296 return (void *) dest;
4297 }
4298
4299 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4300 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4301 PyObject * _resultobj;
4302 wxPyGridCellAttrProvider * _result;
4303 char *_kwnames[] = { NULL };
4304 char _ptemp[128];
4305
4306 self = self;
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4308 return NULL;
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) return NULL;
4315 } if (_result) {
4316 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4317 _resultobj = Py_BuildValue("s",_ptemp);
4318 } else {
4319 Py_INCREF(Py_None);
4320 _resultobj = Py_None;
4321 }
4322 return _resultobj;
4323 }
4324
4325 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4326 static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4327 PyObject * _resultobj;
4328 wxPyGridCellAttrProvider * _arg0;
4329 PyObject * _arg1;
4330 PyObject * _arg2;
4331 PyObject * _argo0 = 0;
4332 PyObject * _obj1 = 0;
4333 PyObject * _obj2 = 0;
4334 char *_kwnames[] = { "self","self","_class", NULL };
4335
4336 self = self;
4337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4338 return NULL;
4339 if (_argo0) {
4340 if (_argo0 == Py_None) { _arg0 = NULL; }
4341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4343 return NULL;
4344 }
4345 }
4346 {
4347 _arg1 = _obj1;
4348 }
4349 {
4350 _arg2 = _obj2;
4351 }
4352 {
4353 PyThreadState* __tstate = wxPyBeginAllowThreads();
4354 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
4355
4356 wxPyEndAllowThreads(__tstate);
4357 if (PyErr_Occurred()) return NULL;
4358 } Py_INCREF(Py_None);
4359 _resultobj = Py_None;
4360 return _resultobj;
4361 }
4362
4363 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4364 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4365 PyObject * _resultobj;
4366 wxGridCellAttr * _result;
4367 wxPyGridCellAttrProvider * _arg0;
4368 int _arg1;
4369 int _arg2;
4370 wxGridCellAttr::wxAttrKind _arg3;
4371 PyObject * _argo0 = 0;
4372 char *_kwnames[] = { "self","row","col","kind", NULL };
4373 char _ptemp[128];
4374
4375 self = self;
4376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4377 return NULL;
4378 if (_argo0) {
4379 if (_argo0 == Py_None) { _arg0 = NULL; }
4380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4382 return NULL;
4383 }
4384 }
4385 {
4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
4387 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4388
4389 wxPyEndAllowThreads(__tstate);
4390 if (PyErr_Occurred()) return NULL;
4391 } if (_result) {
4392 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4393 _resultobj = Py_BuildValue("s",_ptemp);
4394 } else {
4395 Py_INCREF(Py_None);
4396 _resultobj = Py_None;
4397 }
4398 return _resultobj;
4399 }
4400
4401 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4402 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject * _resultobj;
4404 wxPyGridCellAttrProvider * _arg0;
4405 wxGridCellAttr * _arg1;
4406 int _arg2;
4407 int _arg3;
4408 PyObject * _argo0 = 0;
4409 PyObject * _argo1 = 0;
4410 char *_kwnames[] = { "self","attr","row","col", NULL };
4411
4412 self = self;
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4414 return NULL;
4415 if (_argo0) {
4416 if (_argo0 == Py_None) { _arg0 = NULL; }
4417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4419 return NULL;
4420 }
4421 }
4422 if (_argo1) {
4423 if (_argo1 == Py_None) { _arg1 = NULL; }
4424 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4425 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4426 return NULL;
4427 }
4428 }
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4432
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) return NULL;
4435 } Py_INCREF(Py_None);
4436 _resultobj = Py_None;
4437 return _resultobj;
4438 }
4439
4440 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4441 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4442 PyObject * _resultobj;
4443 wxPyGridCellAttrProvider * _arg0;
4444 wxGridCellAttr * _arg1;
4445 int _arg2;
4446 PyObject * _argo0 = 0;
4447 PyObject * _argo1 = 0;
4448 char *_kwnames[] = { "self","attr","row", NULL };
4449
4450 self = self;
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4452 return NULL;
4453 if (_argo0) {
4454 if (_argo0 == Py_None) { _arg0 = NULL; }
4455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4457 return NULL;
4458 }
4459 }
4460 if (_argo1) {
4461 if (_argo1 == Py_None) { _arg1 = NULL; }
4462 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4463 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4464 return NULL;
4465 }
4466 }
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4470
4471 wxPyEndAllowThreads(__tstate);
4472 if (PyErr_Occurred()) return NULL;
4473 } Py_INCREF(Py_None);
4474 _resultobj = Py_None;
4475 return _resultobj;
4476 }
4477
4478 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4479 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4480 PyObject * _resultobj;
4481 wxPyGridCellAttrProvider * _arg0;
4482 wxGridCellAttr * _arg1;
4483 int _arg2;
4484 PyObject * _argo0 = 0;
4485 PyObject * _argo1 = 0;
4486 char *_kwnames[] = { "self","attr","col", NULL };
4487
4488 self = self;
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4490 return NULL;
4491 if (_argo0) {
4492 if (_argo0 == Py_None) { _arg0 = NULL; }
4493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4495 return NULL;
4496 }
4497 }
4498 if (_argo1) {
4499 if (_argo1 == Py_None) { _arg1 = NULL; }
4500 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4501 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4502 return NULL;
4503 }
4504 }
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) return NULL;
4511 } Py_INCREF(Py_None);
4512 _resultobj = Py_None;
4513 return _resultobj;
4514 }
4515
4516 static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4517 wxGridTableBase *src;
4518 wxObject *dest;
4519 src = (wxGridTableBase *) ptr;
4520 dest = (wxObject *) src;
4521 return (void *) dest;
4522 }
4523
4524 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4525 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject * _resultobj;
4527 wxGridTableBase * _arg0;
4528 wxGridCellAttrProvider * _arg1;
4529 PyObject * _argo0 = 0;
4530 PyObject * _argo1 = 0;
4531 char *_kwnames[] = { "self","attrProvider", NULL };
4532
4533 self = self;
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4535 return NULL;
4536 if (_argo0) {
4537 if (_argo0 == Py_None) { _arg0 = NULL; }
4538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4540 return NULL;
4541 }
4542 }
4543 if (_argo1) {
4544 if (_argo1 == Py_None) { _arg1 = NULL; }
4545 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4546 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4547 return NULL;
4548 }
4549 }
4550 {
4551 PyThreadState* __tstate = wxPyBeginAllowThreads();
4552 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4553
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) return NULL;
4556 } Py_INCREF(Py_None);
4557 _resultobj = Py_None;
4558 return _resultobj;
4559 }
4560
4561 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4562 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4563 PyObject * _resultobj;
4564 wxGridCellAttrProvider * _result;
4565 wxGridTableBase * _arg0;
4566 PyObject * _argo0 = 0;
4567 char *_kwnames[] = { "self", NULL };
4568 char _ptemp[128];
4569
4570 self = self;
4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4572 return NULL;
4573 if (_argo0) {
4574 if (_argo0 == Py_None) { _arg0 = NULL; }
4575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4577 return NULL;
4578 }
4579 }
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) return NULL;
4586 } if (_result) {
4587 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4588 _resultobj = Py_BuildValue("s",_ptemp);
4589 } else {
4590 Py_INCREF(Py_None);
4591 _resultobj = Py_None;
4592 }
4593 return _resultobj;
4594 }
4595
4596 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4597 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject * _resultobj;
4599 wxGridTableBase * _arg0;
4600 wxGrid * _arg1;
4601 PyObject * _argo0 = 0;
4602 PyObject * _argo1 = 0;
4603 char *_kwnames[] = { "self","grid", NULL };
4604
4605 self = self;
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4607 return NULL;
4608 if (_argo0) {
4609 if (_argo0 == Py_None) { _arg0 = NULL; }
4610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4612 return NULL;
4613 }
4614 }
4615 if (_argo1) {
4616 if (_argo1 == Py_None) { _arg1 = NULL; }
4617 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4618 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4619 return NULL;
4620 }
4621 }
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 wxGridTableBase_SetView(_arg0,_arg1);
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) return NULL;
4628 } Py_INCREF(Py_None);
4629 _resultobj = Py_None;
4630 return _resultobj;
4631 }
4632
4633 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4634 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4635 PyObject * _resultobj;
4636 wxGrid * _result;
4637 wxGridTableBase * _arg0;
4638 PyObject * _argo0 = 0;
4639 char *_kwnames[] = { "self", NULL };
4640
4641 self = self;
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4643 return NULL;
4644 if (_argo0) {
4645 if (_argo0 == Py_None) { _arg0 = NULL; }
4646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4648 return NULL;
4649 }
4650 }
4651 {
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4654
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) return NULL;
4657 }{ _resultobj = wxPyMake_wxObject(_result); }
4658 return _resultobj;
4659 }
4660
4661 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4662 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject * _resultobj;
4664 int _result;
4665 wxGridTableBase * _arg0;
4666 PyObject * _argo0 = 0;
4667 char *_kwnames[] = { "self", NULL };
4668
4669 self = self;
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4671 return NULL;
4672 if (_argo0) {
4673 if (_argo0 == Py_None) { _arg0 = NULL; }
4674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4676 return NULL;
4677 }
4678 }
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) return NULL;
4685 } _resultobj = Py_BuildValue("i",_result);
4686 return _resultobj;
4687 }
4688
4689 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4690 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4691 PyObject * _resultobj;
4692 int _result;
4693 wxGridTableBase * _arg0;
4694 PyObject * _argo0 = 0;
4695 char *_kwnames[] = { "self", NULL };
4696
4697 self = self;
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4699 return NULL;
4700 if (_argo0) {
4701 if (_argo0 == Py_None) { _arg0 = NULL; }
4702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4704 return NULL;
4705 }
4706 }
4707 {
4708 PyThreadState* __tstate = wxPyBeginAllowThreads();
4709 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4710
4711 wxPyEndAllowThreads(__tstate);
4712 if (PyErr_Occurred()) return NULL;
4713 } _resultobj = Py_BuildValue("i",_result);
4714 return _resultobj;
4715 }
4716
4717 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4718 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4719 PyObject * _resultobj;
4720 bool _result;
4721 wxGridTableBase * _arg0;
4722 int _arg1;
4723 int _arg2;
4724 PyObject * _argo0 = 0;
4725 char *_kwnames[] = { "self","row","col", NULL };
4726
4727 self = self;
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4729 return NULL;
4730 if (_argo0) {
4731 if (_argo0 == Py_None) { _arg0 = NULL; }
4732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4734 return NULL;
4735 }
4736 }
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) return NULL;
4743 } _resultobj = Py_BuildValue("i",_result);
4744 return _resultobj;
4745 }
4746
4747 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4748 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4749 PyObject * _resultobj;
4750 wxString * _result;
4751 wxGridTableBase * _arg0;
4752 int _arg1;
4753 int _arg2;
4754 PyObject * _argo0 = 0;
4755 char *_kwnames[] = { "self","row","col", NULL };
4756
4757 self = self;
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4759 return NULL;
4760 if (_argo0) {
4761 if (_argo0 == Py_None) { _arg0 = NULL; }
4762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4764 return NULL;
4765 }
4766 }
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) return NULL;
4773 }{
4774 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4775 }
4776 {
4777 delete _result;
4778 }
4779 return _resultobj;
4780 }
4781
4782 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4783 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4784 PyObject * _resultobj;
4785 wxGridTableBase * _arg0;
4786 int _arg1;
4787 int _arg2;
4788 wxString * _arg3;
4789 PyObject * _argo0 = 0;
4790 PyObject * _obj3 = 0;
4791 char *_kwnames[] = { "self","row","col","value", NULL };
4792
4793 self = self;
4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4795 return NULL;
4796 if (_argo0) {
4797 if (_argo0 == Py_None) { _arg0 = NULL; }
4798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4800 return NULL;
4801 }
4802 }
4803 {
4804 #if PYTHON_API_VERSION >= 1009
4805 char* tmpPtr; int tmpSize;
4806 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4807 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4808 return NULL;
4809 }
4810 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4811 return NULL;
4812 _arg3 = new wxString(tmpPtr, tmpSize);
4813 #else
4814 if (!PyString_Check(_obj3)) {
4815 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4816 return NULL;
4817 }
4818 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4819 #endif
4820 }
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) return NULL;
4827 } Py_INCREF(Py_None);
4828 _resultobj = Py_None;
4829 {
4830 if (_obj3)
4831 delete _arg3;
4832 }
4833 return _resultobj;
4834 }
4835
4836 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4837 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4838 PyObject * _resultobj;
4839 wxString * _result;
4840 wxGridTableBase * _arg0;
4841 int _arg1;
4842 int _arg2;
4843 PyObject * _argo0 = 0;
4844 char *_kwnames[] = { "self","row","col", NULL };
4845
4846 self = self;
4847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4848 return NULL;
4849 if (_argo0) {
4850 if (_argo0 == Py_None) { _arg0 = NULL; }
4851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4853 return NULL;
4854 }
4855 }
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) return NULL;
4862 }{
4863 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4864 }
4865 {
4866 delete _result;
4867 }
4868 return _resultobj;
4869 }
4870
4871 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4872 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4873 PyObject * _resultobj;
4874 bool _result;
4875 wxGridTableBase * _arg0;
4876 int _arg1;
4877 int _arg2;
4878 wxString * _arg3;
4879 PyObject * _argo0 = 0;
4880 PyObject * _obj3 = 0;
4881 char *_kwnames[] = { "self","row","col","typeName", NULL };
4882
4883 self = self;
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4885 return NULL;
4886 if (_argo0) {
4887 if (_argo0 == Py_None) { _arg0 = NULL; }
4888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4890 return NULL;
4891 }
4892 }
4893 {
4894 #if PYTHON_API_VERSION >= 1009
4895 char* tmpPtr; int tmpSize;
4896 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4897 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4898 return NULL;
4899 }
4900 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4901 return NULL;
4902 _arg3 = new wxString(tmpPtr, tmpSize);
4903 #else
4904 if (!PyString_Check(_obj3)) {
4905 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4906 return NULL;
4907 }
4908 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4909 #endif
4910 }
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) return NULL;
4917 } _resultobj = Py_BuildValue("i",_result);
4918 {
4919 if (_obj3)
4920 delete _arg3;
4921 }
4922 return _resultobj;
4923 }
4924
4925 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4926 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject * _resultobj;
4928 bool _result;
4929 wxGridTableBase * _arg0;
4930 int _arg1;
4931 int _arg2;
4932 wxString * _arg3;
4933 PyObject * _argo0 = 0;
4934 PyObject * _obj3 = 0;
4935 char *_kwnames[] = { "self","row","col","typeName", NULL };
4936
4937 self = self;
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4939 return NULL;
4940 if (_argo0) {
4941 if (_argo0 == Py_None) { _arg0 = NULL; }
4942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4944 return NULL;
4945 }
4946 }
4947 {
4948 #if PYTHON_API_VERSION >= 1009
4949 char* tmpPtr; int tmpSize;
4950 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4951 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4952 return NULL;
4953 }
4954 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4955 return NULL;
4956 _arg3 = new wxString(tmpPtr, tmpSize);
4957 #else
4958 if (!PyString_Check(_obj3)) {
4959 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4960 return NULL;
4961 }
4962 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4963 #endif
4964 }
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) return NULL;
4971 } _resultobj = Py_BuildValue("i",_result);
4972 {
4973 if (_obj3)
4974 delete _arg3;
4975 }
4976 return _resultobj;
4977 }
4978
4979 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4980 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4981 PyObject * _resultobj;
4982 long _result;
4983 wxGridTableBase * _arg0;
4984 int _arg1;
4985 int _arg2;
4986 PyObject * _argo0 = 0;
4987 char *_kwnames[] = { "self","row","col", NULL };
4988
4989 self = self;
4990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4991 return NULL;
4992 if (_argo0) {
4993 if (_argo0 == Py_None) { _arg0 = NULL; }
4994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4996 return NULL;
4997 }
4998 }
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) return NULL;
5005 } _resultobj = Py_BuildValue("l",_result);
5006 return _resultobj;
5007 }
5008
5009 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5010 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5011 PyObject * _resultobj;
5012 double _result;
5013 wxGridTableBase * _arg0;
5014 int _arg1;
5015 int _arg2;
5016 PyObject * _argo0 = 0;
5017 char *_kwnames[] = { "self","row","col", NULL };
5018
5019 self = self;
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
5021 return NULL;
5022 if (_argo0) {
5023 if (_argo0 == Py_None) { _arg0 = NULL; }
5024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5026 return NULL;
5027 }
5028 }
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) return NULL;
5035 } _resultobj = Py_BuildValue("d",_result);
5036 return _resultobj;
5037 }
5038
5039 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5040 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5041 PyObject * _resultobj;
5042 bool _result;
5043 wxGridTableBase * _arg0;
5044 int _arg1;
5045 int _arg2;
5046 PyObject * _argo0 = 0;
5047 char *_kwnames[] = { "self","row","col", NULL };
5048
5049 self = self;
5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
5051 return NULL;
5052 if (_argo0) {
5053 if (_argo0 == Py_None) { _arg0 = NULL; }
5054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5056 return NULL;
5057 }
5058 }
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) return NULL;
5065 } _resultobj = Py_BuildValue("i",_result);
5066 return _resultobj;
5067 }
5068
5069 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5070 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5071 PyObject * _resultobj;
5072 wxGridTableBase * _arg0;
5073 int _arg1;
5074 int _arg2;
5075 long _arg3;
5076 PyObject * _argo0 = 0;
5077 char *_kwnames[] = { "self","row","col","value", NULL };
5078
5079 self = self;
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5081 return NULL;
5082 if (_argo0) {
5083 if (_argo0 == Py_None) { _arg0 = NULL; }
5084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5086 return NULL;
5087 }
5088 }
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) return NULL;
5095 } Py_INCREF(Py_None);
5096 _resultobj = Py_None;
5097 return _resultobj;
5098 }
5099
5100 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5101 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5102 PyObject * _resultobj;
5103 wxGridTableBase * _arg0;
5104 int _arg1;
5105 int _arg2;
5106 double _arg3;
5107 PyObject * _argo0 = 0;
5108 char *_kwnames[] = { "self","row","col","value", NULL };
5109
5110 self = self;
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5112 return NULL;
5113 if (_argo0) {
5114 if (_argo0 == Py_None) { _arg0 = NULL; }
5115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5117 return NULL;
5118 }
5119 }
5120 {
5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
5122 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
5123
5124 wxPyEndAllowThreads(__tstate);
5125 if (PyErr_Occurred()) return NULL;
5126 } Py_INCREF(Py_None);
5127 _resultobj = Py_None;
5128 return _resultobj;
5129 }
5130
5131 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5132 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject * _resultobj;
5134 wxGridTableBase * _arg0;
5135 int _arg1;
5136 int _arg2;
5137 bool _arg3;
5138 PyObject * _argo0 = 0;
5139 int tempbool3;
5140 char *_kwnames[] = { "self","row","col","value", NULL };
5141
5142 self = self;
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5144 return NULL;
5145 if (_argo0) {
5146 if (_argo0 == Py_None) { _arg0 = NULL; }
5147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5149 return NULL;
5150 }
5151 }
5152 _arg3 = (bool ) tempbool3;
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) return NULL;
5159 } Py_INCREF(Py_None);
5160 _resultobj = Py_None;
5161 return _resultobj;
5162 }
5163
5164 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5165 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5166 PyObject * _resultobj;
5167 wxGridTableBase * _arg0;
5168 PyObject * _argo0 = 0;
5169 char *_kwnames[] = { "self", NULL };
5170
5171 self = self;
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5173 return NULL;
5174 if (_argo0) {
5175 if (_argo0 == Py_None) { _arg0 = NULL; }
5176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5178 return NULL;
5179 }
5180 }
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 wxGridTableBase_Clear(_arg0);
5184
5185 wxPyEndAllowThreads(__tstate);
5186 if (PyErr_Occurred()) return NULL;
5187 } Py_INCREF(Py_None);
5188 _resultobj = Py_None;
5189 return _resultobj;
5190 }
5191
5192 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5193 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject * _resultobj;
5195 bool _result;
5196 wxGridTableBase * _arg0;
5197 size_t _arg1 = (size_t ) 0;
5198 size_t _arg2 = (size_t ) 1;
5199 PyObject * _argo0 = 0;
5200 char *_kwnames[] = { "self","pos","numRows", NULL };
5201
5202 self = self;
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5204 return NULL;
5205 if (_argo0) {
5206 if (_argo0 == Py_None) { _arg0 = NULL; }
5207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5209 return NULL;
5210 }
5211 }
5212 {
5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5214 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
5215
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) return NULL;
5218 } _resultobj = Py_BuildValue("i",_result);
5219 return _resultobj;
5220 }
5221
5222 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5223 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5224 PyObject * _resultobj;
5225 bool _result;
5226 wxGridTableBase * _arg0;
5227 size_t _arg1 = (size_t ) 1;
5228 PyObject * _argo0 = 0;
5229 char *_kwnames[] = { "self","numRows", NULL };
5230
5231 self = self;
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5233 return NULL;
5234 if (_argo0) {
5235 if (_argo0 == Py_None) { _arg0 = NULL; }
5236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5238 return NULL;
5239 }
5240 }
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
5244
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) return NULL;
5247 } _resultobj = Py_BuildValue("i",_result);
5248 return _resultobj;
5249 }
5250
5251 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5252 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5253 PyObject * _resultobj;
5254 bool _result;
5255 wxGridTableBase * _arg0;
5256 size_t _arg1 = (size_t ) 0;
5257 size_t _arg2 = (size_t ) 1;
5258 PyObject * _argo0 = 0;
5259 char *_kwnames[] = { "self","pos","numRows", NULL };
5260
5261 self = self;
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5263 return NULL;
5264 if (_argo0) {
5265 if (_argo0 == Py_None) { _arg0 = NULL; }
5266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5268 return NULL;
5269 }
5270 }
5271 {
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) return NULL;
5277 } _resultobj = Py_BuildValue("i",_result);
5278 return _resultobj;
5279 }
5280
5281 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5282 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject * _resultobj;
5284 bool _result;
5285 wxGridTableBase * _arg0;
5286 size_t _arg1 = (size_t ) 0;
5287 size_t _arg2 = (size_t ) 1;
5288 PyObject * _argo0 = 0;
5289 char *_kwnames[] = { "self","pos","numCols", NULL };
5290
5291 self = self;
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5293 return NULL;
5294 if (_argo0) {
5295 if (_argo0 == Py_None) { _arg0 = NULL; }
5296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5298 return NULL;
5299 }
5300 }
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5304
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) return NULL;
5307 } _resultobj = Py_BuildValue("i",_result);
5308 return _resultobj;
5309 }
5310
5311 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5312 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5313 PyObject * _resultobj;
5314 bool _result;
5315 wxGridTableBase * _arg0;
5316 size_t _arg1 = (size_t ) 1;
5317 PyObject * _argo0 = 0;
5318 char *_kwnames[] = { "self","numCols", NULL };
5319
5320 self = self;
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5322 return NULL;
5323 if (_argo0) {
5324 if (_argo0 == Py_None) { _arg0 = NULL; }
5325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5327 return NULL;
5328 }
5329 }
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) return NULL;
5336 } _resultobj = Py_BuildValue("i",_result);
5337 return _resultobj;
5338 }
5339
5340 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5341 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5342 PyObject * _resultobj;
5343 bool _result;
5344 wxGridTableBase * _arg0;
5345 size_t _arg1 = (size_t ) 0;
5346 size_t _arg2 = (size_t ) 1;
5347 PyObject * _argo0 = 0;
5348 char *_kwnames[] = { "self","pos","numCols", NULL };
5349
5350 self = self;
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5352 return NULL;
5353 if (_argo0) {
5354 if (_argo0 == Py_None) { _arg0 = NULL; }
5355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5357 return NULL;
5358 }
5359 }
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) return NULL;
5366 } _resultobj = Py_BuildValue("i",_result);
5367 return _resultobj;
5368 }
5369
5370 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5371 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5372 PyObject * _resultobj;
5373 wxString * _result;
5374 wxGridTableBase * _arg0;
5375 int _arg1;
5376 PyObject * _argo0 = 0;
5377 char *_kwnames[] = { "self","row", NULL };
5378
5379 self = self;
5380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5381 return NULL;
5382 if (_argo0) {
5383 if (_argo0 == Py_None) { _arg0 = NULL; }
5384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5386 return NULL;
5387 }
5388 }
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) return NULL;
5395 }{
5396 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5397 }
5398 {
5399 delete _result;
5400 }
5401 return _resultobj;
5402 }
5403
5404 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5405 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5406 PyObject * _resultobj;
5407 wxString * _result;
5408 wxGridTableBase * _arg0;
5409 int _arg1;
5410 PyObject * _argo0 = 0;
5411 char *_kwnames[] = { "self","col", NULL };
5412
5413 self = self;
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5415 return NULL;
5416 if (_argo0) {
5417 if (_argo0 == Py_None) { _arg0 = NULL; }
5418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5420 return NULL;
5421 }
5422 }
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5426
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) return NULL;
5429 }{
5430 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5431 }
5432 {
5433 delete _result;
5434 }
5435 return _resultobj;
5436 }
5437
5438 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5439 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject * _resultobj;
5441 wxGridTableBase * _arg0;
5442 int _arg1;
5443 wxString * _arg2;
5444 PyObject * _argo0 = 0;
5445 PyObject * _obj2 = 0;
5446 char *_kwnames[] = { "self","row","value", NULL };
5447
5448 self = self;
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5450 return NULL;
5451 if (_argo0) {
5452 if (_argo0 == Py_None) { _arg0 = NULL; }
5453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5455 return NULL;
5456 }
5457 }
5458 {
5459 #if PYTHON_API_VERSION >= 1009
5460 char* tmpPtr; int tmpSize;
5461 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5462 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5463 return NULL;
5464 }
5465 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5466 return NULL;
5467 _arg2 = new wxString(tmpPtr, tmpSize);
5468 #else
5469 if (!PyString_Check(_obj2)) {
5470 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5471 return NULL;
5472 }
5473 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5474 #endif
5475 }
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5479
5480 wxPyEndAllowThreads(__tstate);
5481 if (PyErr_Occurred()) return NULL;
5482 } Py_INCREF(Py_None);
5483 _resultobj = Py_None;
5484 {
5485 if (_obj2)
5486 delete _arg2;
5487 }
5488 return _resultobj;
5489 }
5490
5491 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5492 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5493 PyObject * _resultobj;
5494 wxGridTableBase * _arg0;
5495 int _arg1;
5496 wxString * _arg2;
5497 PyObject * _argo0 = 0;
5498 PyObject * _obj2 = 0;
5499 char *_kwnames[] = { "self","col","value", NULL };
5500
5501 self = self;
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5503 return NULL;
5504 if (_argo0) {
5505 if (_argo0 == Py_None) { _arg0 = NULL; }
5506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5508 return NULL;
5509 }
5510 }
5511 {
5512 #if PYTHON_API_VERSION >= 1009
5513 char* tmpPtr; int tmpSize;
5514 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5515 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5516 return NULL;
5517 }
5518 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5519 return NULL;
5520 _arg2 = new wxString(tmpPtr, tmpSize);
5521 #else
5522 if (!PyString_Check(_obj2)) {
5523 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5524 return NULL;
5525 }
5526 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5527 #endif
5528 }
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) return NULL;
5535 } Py_INCREF(Py_None);
5536 _resultobj = Py_None;
5537 {
5538 if (_obj2)
5539 delete _arg2;
5540 }
5541 return _resultobj;
5542 }
5543
5544 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5545 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject * _resultobj;
5547 bool _result;
5548 wxGridTableBase * _arg0;
5549 PyObject * _argo0 = 0;
5550 char *_kwnames[] = { "self", NULL };
5551
5552 self = self;
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5554 return NULL;
5555 if (_argo0) {
5556 if (_argo0 == Py_None) { _arg0 = NULL; }
5557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5559 return NULL;
5560 }
5561 }
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5565
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) return NULL;
5568 } _resultobj = Py_BuildValue("i",_result);
5569 return _resultobj;
5570 }
5571
5572 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5573 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject * _resultobj;
5575 wxGridCellAttr * _result;
5576 wxGridTableBase * _arg0;
5577 int _arg1;
5578 int _arg2;
5579 wxGridCellAttr::wxAttrKind _arg3;
5580 PyObject * _argo0 = 0;
5581 char *_kwnames[] = { "self","row","col","kind", NULL };
5582 char _ptemp[128];
5583
5584 self = self;
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5586 return NULL;
5587 if (_argo0) {
5588 if (_argo0 == Py_None) { _arg0 = NULL; }
5589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5591 return NULL;
5592 }
5593 }
5594 {
5595 PyThreadState* __tstate = wxPyBeginAllowThreads();
5596 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
5597
5598 wxPyEndAllowThreads(__tstate);
5599 if (PyErr_Occurred()) return NULL;
5600 } if (_result) {
5601 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5602 _resultobj = Py_BuildValue("s",_ptemp);
5603 } else {
5604 Py_INCREF(Py_None);
5605 _resultobj = Py_None;
5606 }
5607 return _resultobj;
5608 }
5609
5610 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5611 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5612 PyObject * _resultobj;
5613 wxGridTableBase * _arg0;
5614 wxGridCellAttr * _arg1;
5615 int _arg2;
5616 int _arg3;
5617 PyObject * _argo0 = 0;
5618 PyObject * _argo1 = 0;
5619 char *_kwnames[] = { "self","attr","row","col", NULL };
5620
5621 self = self;
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5623 return NULL;
5624 if (_argo0) {
5625 if (_argo0 == Py_None) { _arg0 = NULL; }
5626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5628 return NULL;
5629 }
5630 }
5631 if (_argo1) {
5632 if (_argo1 == Py_None) { _arg1 = NULL; }
5633 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5634 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5635 return NULL;
5636 }
5637 }
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) return NULL;
5644 } Py_INCREF(Py_None);
5645 _resultobj = Py_None;
5646 return _resultobj;
5647 }
5648
5649 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5650 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5651 PyObject * _resultobj;
5652 wxGridTableBase * _arg0;
5653 wxGridCellAttr * _arg1;
5654 int _arg2;
5655 PyObject * _argo0 = 0;
5656 PyObject * _argo1 = 0;
5657 char *_kwnames[] = { "self","attr","row", NULL };
5658
5659 self = self;
5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5661 return NULL;
5662 if (_argo0) {
5663 if (_argo0 == Py_None) { _arg0 = NULL; }
5664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5666 return NULL;
5667 }
5668 }
5669 if (_argo1) {
5670 if (_argo1 == Py_None) { _arg1 = NULL; }
5671 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5672 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5673 return NULL;
5674 }
5675 }
5676 {
5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
5678 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5679
5680 wxPyEndAllowThreads(__tstate);
5681 if (PyErr_Occurred()) return NULL;
5682 } Py_INCREF(Py_None);
5683 _resultobj = Py_None;
5684 return _resultobj;
5685 }
5686
5687 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5688 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5689 PyObject * _resultobj;
5690 wxGridTableBase * _arg0;
5691 wxGridCellAttr * _arg1;
5692 int _arg2;
5693 PyObject * _argo0 = 0;
5694 PyObject * _argo1 = 0;
5695 char *_kwnames[] = { "self","attr","col", NULL };
5696
5697 self = self;
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5699 return NULL;
5700 if (_argo0) {
5701 if (_argo0 == Py_None) { _arg0 = NULL; }
5702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5704 return NULL;
5705 }
5706 }
5707 if (_argo1) {
5708 if (_argo1 == Py_None) { _arg1 = NULL; }
5709 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5710 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5711 return NULL;
5712 }
5713 }
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) return NULL;
5720 } Py_INCREF(Py_None);
5721 _resultobj = Py_None;
5722 return _resultobj;
5723 }
5724
5725 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5726 wxPyGridTableBase *src;
5727 wxGridTableBase *dest;
5728 src = (wxPyGridTableBase *) ptr;
5729 dest = (wxGridTableBase *) src;
5730 return (void *) dest;
5731 }
5732
5733 static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5734 wxPyGridTableBase *src;
5735 wxObject *dest;
5736 src = (wxPyGridTableBase *) ptr;
5737 dest = (wxObject *) src;
5738 return (void *) dest;
5739 }
5740
5741 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5742 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject * _resultobj;
5744 wxPyGridTableBase * _result;
5745 char *_kwnames[] = { NULL };
5746 char _ptemp[128];
5747
5748 self = self;
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5750 return NULL;
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) return NULL;
5757 } if (_result) {
5758 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5759 _resultobj = Py_BuildValue("s",_ptemp);
5760 } else {
5761 Py_INCREF(Py_None);
5762 _resultobj = Py_None;
5763 }
5764 return _resultobj;
5765 }
5766
5767 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5768 static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5769 PyObject * _resultobj;
5770 wxPyGridTableBase * _arg0;
5771 PyObject * _arg1;
5772 PyObject * _arg2;
5773 PyObject * _argo0 = 0;
5774 PyObject * _obj1 = 0;
5775 PyObject * _obj2 = 0;
5776 char *_kwnames[] = { "self","self","_class", NULL };
5777
5778 self = self;
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5780 return NULL;
5781 if (_argo0) {
5782 if (_argo0 == Py_None) { _arg0 = NULL; }
5783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5785 return NULL;
5786 }
5787 }
5788 {
5789 _arg1 = _obj1;
5790 }
5791 {
5792 _arg2 = _obj2;
5793 }
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) return NULL;
5800 } Py_INCREF(Py_None);
5801 _resultobj = Py_None;
5802 return _resultobj;
5803 }
5804
5805 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5806 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject * _resultobj;
5808 wxPyGridTableBase * _arg0;
5809 PyObject * _argo0 = 0;
5810 char *_kwnames[] = { "self", NULL };
5811
5812 self = self;
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5814 return NULL;
5815 if (_argo0) {
5816 if (_argo0 == Py_None) { _arg0 = NULL; }
5817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5819 return NULL;
5820 }
5821 }
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 wxPyGridTableBase_Destroy(_arg0);
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) return NULL;
5828 } Py_INCREF(Py_None);
5829 _resultobj = Py_None;
5830 return _resultobj;
5831 }
5832
5833 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5834 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5835 PyObject * _resultobj;
5836 wxString * _result;
5837 wxPyGridTableBase * _arg0;
5838 int _arg1;
5839 int _arg2;
5840 PyObject * _argo0 = 0;
5841 char *_kwnames[] = { "self","row","col", NULL };
5842
5843 self = self;
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5845 return NULL;
5846 if (_argo0) {
5847 if (_argo0 == Py_None) { _arg0 = NULL; }
5848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5850 return NULL;
5851 }
5852 }
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) return NULL;
5859 }{
5860 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5861 }
5862 {
5863 delete _result;
5864 }
5865 return _resultobj;
5866 }
5867
5868 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5869 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject * _resultobj;
5871 bool _result;
5872 wxPyGridTableBase * _arg0;
5873 int _arg1;
5874 int _arg2;
5875 wxString * _arg3;
5876 PyObject * _argo0 = 0;
5877 PyObject * _obj3 = 0;
5878 char *_kwnames[] = { "self","row","col","typeName", NULL };
5879
5880 self = self;
5881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5882 return NULL;
5883 if (_argo0) {
5884 if (_argo0 == Py_None) { _arg0 = NULL; }
5885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5887 return NULL;
5888 }
5889 }
5890 {
5891 #if PYTHON_API_VERSION >= 1009
5892 char* tmpPtr; int tmpSize;
5893 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5894 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5895 return NULL;
5896 }
5897 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5898 return NULL;
5899 _arg3 = new wxString(tmpPtr, tmpSize);
5900 #else
5901 if (!PyString_Check(_obj3)) {
5902 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5903 return NULL;
5904 }
5905 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5906 #endif
5907 }
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) return NULL;
5914 } _resultobj = Py_BuildValue("i",_result);
5915 {
5916 if (_obj3)
5917 delete _arg3;
5918 }
5919 return _resultobj;
5920 }
5921
5922 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5923 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject * _resultobj;
5925 bool _result;
5926 wxPyGridTableBase * _arg0;
5927 int _arg1;
5928 int _arg2;
5929 wxString * _arg3;
5930 PyObject * _argo0 = 0;
5931 PyObject * _obj3 = 0;
5932 char *_kwnames[] = { "self","row","col","typeName", NULL };
5933
5934 self = self;
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5936 return NULL;
5937 if (_argo0) {
5938 if (_argo0 == Py_None) { _arg0 = NULL; }
5939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5941 return NULL;
5942 }
5943 }
5944 {
5945 #if PYTHON_API_VERSION >= 1009
5946 char* tmpPtr; int tmpSize;
5947 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5948 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5949 return NULL;
5950 }
5951 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5952 return NULL;
5953 _arg3 = new wxString(tmpPtr, tmpSize);
5954 #else
5955 if (!PyString_Check(_obj3)) {
5956 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5957 return NULL;
5958 }
5959 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5960 #endif
5961 }
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) return NULL;
5968 } _resultobj = Py_BuildValue("i",_result);
5969 {
5970 if (_obj3)
5971 delete _arg3;
5972 }
5973 return _resultobj;
5974 }
5975
5976 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5977 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5978 PyObject * _resultobj;
5979 wxPyGridTableBase * _arg0;
5980 PyObject * _argo0 = 0;
5981 char *_kwnames[] = { "self", NULL };
5982
5983 self = self;
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5985 return NULL;
5986 if (_argo0) {
5987 if (_argo0 == Py_None) { _arg0 = NULL; }
5988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5990 return NULL;
5991 }
5992 }
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 wxPyGridTableBase_base_Clear(_arg0);
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) return NULL;
5999 } Py_INCREF(Py_None);
6000 _resultobj = Py_None;
6001 return _resultobj;
6002 }
6003
6004 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6005 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject * _resultobj;
6007 bool _result;
6008 wxPyGridTableBase * _arg0;
6009 size_t _arg1 = (size_t ) 0;
6010 size_t _arg2 = (size_t ) 1;
6011 PyObject * _argo0 = 0;
6012 char *_kwnames[] = { "self","pos","numRows", NULL };
6013
6014 self = self;
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
6016 return NULL;
6017 if (_argo0) {
6018 if (_argo0 == Py_None) { _arg0 = NULL; }
6019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6021 return NULL;
6022 }
6023 }
6024 {
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
6027
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) return NULL;
6030 } _resultobj = Py_BuildValue("i",_result);
6031 return _resultobj;
6032 }
6033
6034 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6035 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject * _resultobj;
6037 bool _result;
6038 wxPyGridTableBase * _arg0;
6039 size_t _arg1 = (size_t ) 1;
6040 PyObject * _argo0 = 0;
6041 char *_kwnames[] = { "self","numRows", NULL };
6042
6043 self = self;
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
6045 return NULL;
6046 if (_argo0) {
6047 if (_argo0 == Py_None) { _arg0 = NULL; }
6048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6050 return NULL;
6051 }
6052 }
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) return NULL;
6059 } _resultobj = Py_BuildValue("i",_result);
6060 return _resultobj;
6061 }
6062
6063 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6064 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6065 PyObject * _resultobj;
6066 bool _result;
6067 wxPyGridTableBase * _arg0;
6068 size_t _arg1 = (size_t ) 0;
6069 size_t _arg2 = (size_t ) 1;
6070 PyObject * _argo0 = 0;
6071 char *_kwnames[] = { "self","pos","numRows", NULL };
6072
6073 self = self;
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
6075 return NULL;
6076 if (_argo0) {
6077 if (_argo0 == Py_None) { _arg0 = NULL; }
6078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6080 return NULL;
6081 }
6082 }
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) return NULL;
6089 } _resultobj = Py_BuildValue("i",_result);
6090 return _resultobj;
6091 }
6092
6093 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6094 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject * _resultobj;
6096 bool _result;
6097 wxPyGridTableBase * _arg0;
6098 size_t _arg1 = (size_t ) 0;
6099 size_t _arg2 = (size_t ) 1;
6100 PyObject * _argo0 = 0;
6101 char *_kwnames[] = { "self","pos","numCols", NULL };
6102
6103 self = self;
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
6105 return NULL;
6106 if (_argo0) {
6107 if (_argo0 == Py_None) { _arg0 = NULL; }
6108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6110 return NULL;
6111 }
6112 }
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) return NULL;
6119 } _resultobj = Py_BuildValue("i",_result);
6120 return _resultobj;
6121 }
6122
6123 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6124 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject * _resultobj;
6126 bool _result;
6127 wxPyGridTableBase * _arg0;
6128 size_t _arg1 = (size_t ) 1;
6129 PyObject * _argo0 = 0;
6130 char *_kwnames[] = { "self","numCols", NULL };
6131
6132 self = self;
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
6134 return NULL;
6135 if (_argo0) {
6136 if (_argo0 == Py_None) { _arg0 = NULL; }
6137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6139 return NULL;
6140 }
6141 }
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6144 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) return NULL;
6148 } _resultobj = Py_BuildValue("i",_result);
6149 return _resultobj;
6150 }
6151
6152 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6153 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject * _resultobj;
6155 bool _result;
6156 wxPyGridTableBase * _arg0;
6157 size_t _arg1 = (size_t ) 0;
6158 size_t _arg2 = (size_t ) 1;
6159 PyObject * _argo0 = 0;
6160 char *_kwnames[] = { "self","pos","numCols", NULL };
6161
6162 self = self;
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
6164 return NULL;
6165 if (_argo0) {
6166 if (_argo0 == Py_None) { _arg0 = NULL; }
6167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6169 return NULL;
6170 }
6171 }
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) return NULL;
6178 } _resultobj = Py_BuildValue("i",_result);
6179 return _resultobj;
6180 }
6181
6182 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6183 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6184 PyObject * _resultobj;
6185 wxString * _result;
6186 wxPyGridTableBase * _arg0;
6187 int _arg1;
6188 PyObject * _argo0 = 0;
6189 char *_kwnames[] = { "self","row", NULL };
6190
6191 self = self;
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
6193 return NULL;
6194 if (_argo0) {
6195 if (_argo0 == Py_None) { _arg0 = NULL; }
6196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6198 return NULL;
6199 }
6200 }
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
6204
6205 wxPyEndAllowThreads(__tstate);
6206 if (PyErr_Occurred()) return NULL;
6207 }{
6208 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6209 }
6210 {
6211 delete _result;
6212 }
6213 return _resultobj;
6214 }
6215
6216 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6217 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6218 PyObject * _resultobj;
6219 wxString * _result;
6220 wxPyGridTableBase * _arg0;
6221 int _arg1;
6222 PyObject * _argo0 = 0;
6223 char *_kwnames[] = { "self","col", NULL };
6224
6225 self = self;
6226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6227 return NULL;
6228 if (_argo0) {
6229 if (_argo0 == Py_None) { _arg0 = NULL; }
6230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6232 return NULL;
6233 }
6234 }
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) return NULL;
6241 }{
6242 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6243 }
6244 {
6245 delete _result;
6246 }
6247 return _resultobj;
6248 }
6249
6250 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6251 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6252 PyObject * _resultobj;
6253 wxPyGridTableBase * _arg0;
6254 int _arg1;
6255 wxString * _arg2;
6256 PyObject * _argo0 = 0;
6257 PyObject * _obj2 = 0;
6258 char *_kwnames[] = { "self","row","value", NULL };
6259
6260 self = self;
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6262 return NULL;
6263 if (_argo0) {
6264 if (_argo0 == Py_None) { _arg0 = NULL; }
6265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6267 return NULL;
6268 }
6269 }
6270 {
6271 #if PYTHON_API_VERSION >= 1009
6272 char* tmpPtr; int tmpSize;
6273 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6274 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6275 return NULL;
6276 }
6277 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6278 return NULL;
6279 _arg2 = new wxString(tmpPtr, tmpSize);
6280 #else
6281 if (!PyString_Check(_obj2)) {
6282 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6283 return NULL;
6284 }
6285 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6286 #endif
6287 }
6288 {
6289 PyThreadState* __tstate = wxPyBeginAllowThreads();
6290 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
6291
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) return NULL;
6294 } Py_INCREF(Py_None);
6295 _resultobj = Py_None;
6296 {
6297 if (_obj2)
6298 delete _arg2;
6299 }
6300 return _resultobj;
6301 }
6302
6303 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6304 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject * _resultobj;
6306 wxPyGridTableBase * _arg0;
6307 int _arg1;
6308 wxString * _arg2;
6309 PyObject * _argo0 = 0;
6310 PyObject * _obj2 = 0;
6311 char *_kwnames[] = { "self","col","value", NULL };
6312
6313 self = self;
6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6315 return NULL;
6316 if (_argo0) {
6317 if (_argo0 == Py_None) { _arg0 = NULL; }
6318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6320 return NULL;
6321 }
6322 }
6323 {
6324 #if PYTHON_API_VERSION >= 1009
6325 char* tmpPtr; int tmpSize;
6326 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6327 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6328 return NULL;
6329 }
6330 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6331 return NULL;
6332 _arg2 = new wxString(tmpPtr, tmpSize);
6333 #else
6334 if (!PyString_Check(_obj2)) {
6335 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6336 return NULL;
6337 }
6338 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6339 #endif
6340 }
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) return NULL;
6347 } Py_INCREF(Py_None);
6348 _resultobj = Py_None;
6349 {
6350 if (_obj2)
6351 delete _arg2;
6352 }
6353 return _resultobj;
6354 }
6355
6356 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6357 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6358 PyObject * _resultobj;
6359 bool _result;
6360 wxPyGridTableBase * _arg0;
6361 PyObject * _argo0 = 0;
6362 char *_kwnames[] = { "self", NULL };
6363
6364 self = self;
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6366 return NULL;
6367 if (_argo0) {
6368 if (_argo0 == Py_None) { _arg0 = NULL; }
6369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6371 return NULL;
6372 }
6373 }
6374 {
6375 PyThreadState* __tstate = wxPyBeginAllowThreads();
6376 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6377
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) return NULL;
6380 } _resultobj = Py_BuildValue("i",_result);
6381 return _resultobj;
6382 }
6383
6384 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6385 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject * _resultobj;
6387 wxGridCellAttr * _result;
6388 wxPyGridTableBase * _arg0;
6389 int _arg1;
6390 int _arg2;
6391 wxGridCellAttr::wxAttrKind _arg3;
6392 PyObject * _argo0 = 0;
6393 char *_kwnames[] = { "self","row","col","kind", NULL };
6394 char _ptemp[128];
6395
6396 self = self;
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6398 return NULL;
6399 if (_argo0) {
6400 if (_argo0 == Py_None) { _arg0 = NULL; }
6401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6403 return NULL;
6404 }
6405 }
6406 {
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6409
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) return NULL;
6412 } if (_result) {
6413 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
6414 _resultobj = Py_BuildValue("s",_ptemp);
6415 } else {
6416 Py_INCREF(Py_None);
6417 _resultobj = Py_None;
6418 }
6419 return _resultobj;
6420 }
6421
6422 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6423 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject * _resultobj;
6425 wxPyGridTableBase * _arg0;
6426 wxGridCellAttr * _arg1;
6427 int _arg2;
6428 int _arg3;
6429 PyObject * _argo0 = 0;
6430 PyObject * _argo1 = 0;
6431 char *_kwnames[] = { "self","attr","row","col", NULL };
6432
6433 self = self;
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6435 return NULL;
6436 if (_argo0) {
6437 if (_argo0 == Py_None) { _arg0 = NULL; }
6438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6440 return NULL;
6441 }
6442 }
6443 if (_argo1) {
6444 if (_argo1 == Py_None) { _arg1 = NULL; }
6445 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6446 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6447 return NULL;
6448 }
6449 }
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) return NULL;
6456 } Py_INCREF(Py_None);
6457 _resultobj = Py_None;
6458 return _resultobj;
6459 }
6460
6461 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6462 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6463 PyObject * _resultobj;
6464 wxPyGridTableBase * _arg0;
6465 wxGridCellAttr * _arg1;
6466 int _arg2;
6467 PyObject * _argo0 = 0;
6468 PyObject * _argo1 = 0;
6469 char *_kwnames[] = { "self","attr","row", NULL };
6470
6471 self = self;
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6473 return NULL;
6474 if (_argo0) {
6475 if (_argo0 == Py_None) { _arg0 = NULL; }
6476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6478 return NULL;
6479 }
6480 }
6481 if (_argo1) {
6482 if (_argo1 == Py_None) { _arg1 = NULL; }
6483 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6484 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6485 return NULL;
6486 }
6487 }
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6491
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) return NULL;
6494 } Py_INCREF(Py_None);
6495 _resultobj = Py_None;
6496 return _resultobj;
6497 }
6498
6499 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6500 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject * _resultobj;
6502 wxPyGridTableBase * _arg0;
6503 wxGridCellAttr * _arg1;
6504 int _arg2;
6505 PyObject * _argo0 = 0;
6506 PyObject * _argo1 = 0;
6507 char *_kwnames[] = { "self","attr","col", NULL };
6508
6509 self = self;
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6511 return NULL;
6512 if (_argo0) {
6513 if (_argo0 == Py_None) { _arg0 = NULL; }
6514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6516 return NULL;
6517 }
6518 }
6519 if (_argo1) {
6520 if (_argo1 == Py_None) { _arg1 = NULL; }
6521 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6522 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6523 return NULL;
6524 }
6525 }
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) return NULL;
6532 } Py_INCREF(Py_None);
6533 _resultobj = Py_None;
6534 return _resultobj;
6535 }
6536
6537 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6538 wxGridStringTable *src;
6539 wxGridTableBase *dest;
6540 src = (wxGridStringTable *) ptr;
6541 dest = (wxGridTableBase *) src;
6542 return (void *) dest;
6543 }
6544
6545 static void *SwigwxGridStringTableTowxObject(void *ptr) {
6546 wxGridStringTable *src;
6547 wxObject *dest;
6548 src = (wxGridStringTable *) ptr;
6549 dest = (wxObject *) src;
6550 return (void *) dest;
6551 }
6552
6553 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6554 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject * _resultobj;
6556 wxGridStringTable * _result;
6557 int _arg0 = (int ) 0;
6558 int _arg1 = (int ) 0;
6559 char *_kwnames[] = { "numRows","numCols", NULL };
6560 char _ptemp[128];
6561
6562 self = self;
6563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6564 return NULL;
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) return NULL;
6571 } if (_result) {
6572 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6573 _resultobj = Py_BuildValue("s",_ptemp);
6574 } else {
6575 Py_INCREF(Py_None);
6576 _resultobj = Py_None;
6577 }
6578 return _resultobj;
6579 }
6580
6581 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6582 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6583 PyObject * _resultobj;
6584 wxGridTableMessage * _result;
6585 wxGridTableBase * _arg0;
6586 int _arg1;
6587 int _arg2 = (int ) -1;
6588 int _arg3 = (int ) -1;
6589 PyObject * _argo0 = 0;
6590 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6591 char _ptemp[128];
6592
6593 self = self;
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6595 return NULL;
6596 if (_argo0) {
6597 if (_argo0 == Py_None) { _arg0 = NULL; }
6598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6600 return NULL;
6601 }
6602 }
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6606
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) return NULL;
6609 } if (_result) {
6610 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6611 _resultobj = Py_BuildValue("s",_ptemp);
6612 } else {
6613 Py_INCREF(Py_None);
6614 _resultobj = Py_None;
6615 }
6616 return _resultobj;
6617 }
6618
6619 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6620 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6621 PyObject * _resultobj;
6622 wxGridTableMessage * _arg0;
6623 PyObject * _argo0 = 0;
6624 char *_kwnames[] = { "self", NULL };
6625
6626 self = self;
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6628 return NULL;
6629 if (_argo0) {
6630 if (_argo0 == Py_None) { _arg0 = NULL; }
6631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6633 return NULL;
6634 }
6635 }
6636 {
6637 PyThreadState* __tstate = wxPyBeginAllowThreads();
6638 delete_wxGridTableMessage(_arg0);
6639
6640 wxPyEndAllowThreads(__tstate);
6641 if (PyErr_Occurred()) return NULL;
6642 } Py_INCREF(Py_None);
6643 _resultobj = Py_None;
6644 return _resultobj;
6645 }
6646
6647 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6648 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6649 PyObject * _resultobj;
6650 wxGridTableMessage * _arg0;
6651 wxGridTableBase * _arg1;
6652 PyObject * _argo0 = 0;
6653 PyObject * _argo1 = 0;
6654 char *_kwnames[] = { "self","table", NULL };
6655
6656 self = self;
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6658 return NULL;
6659 if (_argo0) {
6660 if (_argo0 == Py_None) { _arg0 = NULL; }
6661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6663 return NULL;
6664 }
6665 }
6666 if (_argo1) {
6667 if (_argo1 == Py_None) { _arg1 = NULL; }
6668 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6669 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6670 return NULL;
6671 }
6672 }
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6676
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) return NULL;
6679 } Py_INCREF(Py_None);
6680 _resultobj = Py_None;
6681 return _resultobj;
6682 }
6683
6684 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6685 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6686 PyObject * _resultobj;
6687 wxGridTableBase * _result;
6688 wxGridTableMessage * _arg0;
6689 PyObject * _argo0 = 0;
6690 char *_kwnames[] = { "self", NULL };
6691
6692 self = self;
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6694 return NULL;
6695 if (_argo0) {
6696 if (_argo0 == Py_None) { _arg0 = NULL; }
6697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6699 return NULL;
6700 }
6701 }
6702 {
6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
6704 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6705
6706 wxPyEndAllowThreads(__tstate);
6707 if (PyErr_Occurred()) return NULL;
6708 }{ _resultobj = wxPyMake_wxObject(_result); }
6709 return _resultobj;
6710 }
6711
6712 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6713 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject * _resultobj;
6715 wxGridTableMessage * _arg0;
6716 int _arg1;
6717 PyObject * _argo0 = 0;
6718 char *_kwnames[] = { "self","id", NULL };
6719
6720 self = self;
6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6722 return NULL;
6723 if (_argo0) {
6724 if (_argo0 == Py_None) { _arg0 = NULL; }
6725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6727 return NULL;
6728 }
6729 }
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 wxGridTableMessage_SetId(_arg0,_arg1);
6733
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) return NULL;
6736 } Py_INCREF(Py_None);
6737 _resultobj = Py_None;
6738 return _resultobj;
6739 }
6740
6741 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6742 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject * _resultobj;
6744 int _result;
6745 wxGridTableMessage * _arg0;
6746 PyObject * _argo0 = 0;
6747 char *_kwnames[] = { "self", NULL };
6748
6749 self = self;
6750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6751 return NULL;
6752 if (_argo0) {
6753 if (_argo0 == Py_None) { _arg0 = NULL; }
6754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6756 return NULL;
6757 }
6758 }
6759 {
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 _result = (int )wxGridTableMessage_GetId(_arg0);
6762
6763 wxPyEndAllowThreads(__tstate);
6764 if (PyErr_Occurred()) return NULL;
6765 } _resultobj = Py_BuildValue("i",_result);
6766 return _resultobj;
6767 }
6768
6769 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6770 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6771 PyObject * _resultobj;
6772 wxGridTableMessage * _arg0;
6773 int _arg1;
6774 PyObject * _argo0 = 0;
6775 char *_kwnames[] = { "self","comInt1", NULL };
6776
6777 self = self;
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6779 return NULL;
6780 if (_argo0) {
6781 if (_argo0 == Py_None) { _arg0 = NULL; }
6782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6784 return NULL;
6785 }
6786 }
6787 {
6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
6789 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6790
6791 wxPyEndAllowThreads(__tstate);
6792 if (PyErr_Occurred()) return NULL;
6793 } Py_INCREF(Py_None);
6794 _resultobj = Py_None;
6795 return _resultobj;
6796 }
6797
6798 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6799 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6800 PyObject * _resultobj;
6801 int _result;
6802 wxGridTableMessage * _arg0;
6803 PyObject * _argo0 = 0;
6804 char *_kwnames[] = { "self", NULL };
6805
6806 self = self;
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6808 return NULL;
6809 if (_argo0) {
6810 if (_argo0 == Py_None) { _arg0 = NULL; }
6811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6813 return NULL;
6814 }
6815 }
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) return NULL;
6822 } _resultobj = Py_BuildValue("i",_result);
6823 return _resultobj;
6824 }
6825
6826 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6827 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject * _resultobj;
6829 wxGridTableMessage * _arg0;
6830 int _arg1;
6831 PyObject * _argo0 = 0;
6832 char *_kwnames[] = { "self","comInt2", NULL };
6833
6834 self = self;
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6836 return NULL;
6837 if (_argo0) {
6838 if (_argo0 == Py_None) { _arg0 = NULL; }
6839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6841 return NULL;
6842 }
6843 }
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) return NULL;
6850 } Py_INCREF(Py_None);
6851 _resultobj = Py_None;
6852 return _resultobj;
6853 }
6854
6855 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6856 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6857 PyObject * _resultobj;
6858 int _result;
6859 wxGridTableMessage * _arg0;
6860 PyObject * _argo0 = 0;
6861 char *_kwnames[] = { "self", NULL };
6862
6863 self = self;
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6865 return NULL;
6866 if (_argo0) {
6867 if (_argo0 == Py_None) { _arg0 = NULL; }
6868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6870 return NULL;
6871 }
6872 }
6873 {
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6876
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) return NULL;
6879 } _resultobj = Py_BuildValue("i",_result);
6880 return _resultobj;
6881 }
6882
6883 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6884 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6885 PyObject * _resultobj;
6886 wxGridCellCoords * _result;
6887 int _arg0 = (int ) -1;
6888 int _arg1 = (int ) -1;
6889 char *_kwnames[] = { "r","c", NULL };
6890 char _ptemp[128];
6891
6892 self = self;
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6894 return NULL;
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6898
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) return NULL;
6901 } if (_result) {
6902 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6903 _resultobj = Py_BuildValue("s",_ptemp);
6904 } else {
6905 Py_INCREF(Py_None);
6906 _resultobj = Py_None;
6907 }
6908 return _resultobj;
6909 }
6910
6911 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6912 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6913 PyObject * _resultobj;
6914 wxGridCellCoords * _arg0;
6915 PyObject * _argo0 = 0;
6916 char *_kwnames[] = { "self", NULL };
6917
6918 self = self;
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6920 return NULL;
6921 if (_argo0) {
6922 if (_argo0 == Py_None) { _arg0 = NULL; }
6923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6925 return NULL;
6926 }
6927 }
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 delete_wxGridCellCoords(_arg0);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) return NULL;
6934 } Py_INCREF(Py_None);
6935 _resultobj = Py_None;
6936 return _resultobj;
6937 }
6938
6939 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6940 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6941 PyObject * _resultobj;
6942 int _result;
6943 wxGridCellCoords * _arg0;
6944 PyObject * _argo0 = 0;
6945 char *_kwnames[] = { "self", NULL };
6946
6947 self = self;
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6949 return NULL;
6950 if (_argo0) {
6951 if (_argo0 == Py_None) { _arg0 = NULL; }
6952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6954 return NULL;
6955 }
6956 }
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 _result = (int )wxGridCellCoords_GetRow(_arg0);
6960
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) return NULL;
6963 } _resultobj = Py_BuildValue("i",_result);
6964 return _resultobj;
6965 }
6966
6967 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6968 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6969 PyObject * _resultobj;
6970 wxGridCellCoords * _arg0;
6971 int _arg1;
6972 PyObject * _argo0 = 0;
6973 char *_kwnames[] = { "self","n", NULL };
6974
6975 self = self;
6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6977 return NULL;
6978 if (_argo0) {
6979 if (_argo0 == Py_None) { _arg0 = NULL; }
6980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6982 return NULL;
6983 }
6984 }
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 wxGridCellCoords_SetRow(_arg0,_arg1);
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) return NULL;
6991 } Py_INCREF(Py_None);
6992 _resultobj = Py_None;
6993 return _resultobj;
6994 }
6995
6996 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6997 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6998 PyObject * _resultobj;
6999 int _result;
7000 wxGridCellCoords * _arg0;
7001 PyObject * _argo0 = 0;
7002 char *_kwnames[] = { "self", NULL };
7003
7004 self = self;
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
7006 return NULL;
7007 if (_argo0) {
7008 if (_argo0 == Py_None) { _arg0 = NULL; }
7009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7011 return NULL;
7012 }
7013 }
7014 {
7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
7016 _result = (int )wxGridCellCoords_GetCol(_arg0);
7017
7018 wxPyEndAllowThreads(__tstate);
7019 if (PyErr_Occurred()) return NULL;
7020 } _resultobj = Py_BuildValue("i",_result);
7021 return _resultobj;
7022 }
7023
7024 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7025 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7026 PyObject * _resultobj;
7027 wxGridCellCoords * _arg0;
7028 int _arg1;
7029 PyObject * _argo0 = 0;
7030 char *_kwnames[] = { "self","n", NULL };
7031
7032 self = self;
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
7034 return NULL;
7035 if (_argo0) {
7036 if (_argo0 == Py_None) { _arg0 = NULL; }
7037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7039 return NULL;
7040 }
7041 }
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 wxGridCellCoords_SetCol(_arg0,_arg1);
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) return NULL;
7048 } Py_INCREF(Py_None);
7049 _resultobj = Py_None;
7050 return _resultobj;
7051 }
7052
7053 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7054 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject * _resultobj;
7056 wxGridCellCoords * _arg0;
7057 int _arg1;
7058 int _arg2;
7059 PyObject * _argo0 = 0;
7060 char *_kwnames[] = { "self","row","col", NULL };
7061
7062 self = self;
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
7064 return NULL;
7065 if (_argo0) {
7066 if (_argo0 == Py_None) { _arg0 = NULL; }
7067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7069 return NULL;
7070 }
7071 }
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
7075
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) return NULL;
7078 } Py_INCREF(Py_None);
7079 _resultobj = Py_None;
7080 return _resultobj;
7081 }
7082
7083 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
7084 PyObject* tup = PyTuple_New(2);
7085 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
7086 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
7087 return tup;
7088 }
7089 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7090 PyObject * _resultobj;
7091 PyObject * _result;
7092 wxGridCellCoords * _arg0;
7093 PyObject * _argo0 = 0;
7094 char *_kwnames[] = { "self", NULL };
7095
7096 self = self;
7097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
7098 return NULL;
7099 if (_argo0) {
7100 if (_argo0 == Py_None) { _arg0 = NULL; }
7101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7103 return NULL;
7104 }
7105 }
7106 {
7107 PyThreadState* __tstate = wxPyBeginAllowThreads();
7108 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
7109
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) return NULL;
7112 }{
7113 _resultobj = _result;
7114 }
7115 return _resultobj;
7116 }
7117
7118 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
7119 return *self != other;
7120 }
7121 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
7122 PyObject * _resultobj;
7123 int _result;
7124 wxGridCellCoords * _arg0;
7125 wxGridCellCoords * _arg1;
7126 PyObject * _argo0 = 0;
7127 PyObject * _argo1 = 0;
7128 char *_kwnames[] = { "self","other", NULL };
7129
7130 self = self;
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
7132 return NULL;
7133 if (_argo0) {
7134 if (_argo0 == Py_None) { _arg0 = NULL; }
7135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7137 return NULL;
7138 }
7139 }
7140 if (_argo1) {
7141 if (_argo1 == Py_None) { _arg1 = NULL; }
7142 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
7143 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7144 return NULL;
7145 }
7146 }
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
7150
7151 wxPyEndAllowThreads(__tstate);
7152 if (PyErr_Occurred()) return NULL;
7153 } _resultobj = Py_BuildValue("i",_result);
7154 return _resultobj;
7155 }
7156
7157 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
7158 wxGrid *src;
7159 wxScrolledWindow *dest;
7160 src = (wxGrid *) ptr;
7161 dest = (wxScrolledWindow *) src;
7162 return (void *) dest;
7163 }
7164
7165 static void *SwigwxGridTowxPanel(void *ptr) {
7166 wxGrid *src;
7167 wxPanel *dest;
7168 src = (wxGrid *) ptr;
7169 dest = (wxPanel *) src;
7170 return (void *) dest;
7171 }
7172
7173 static void *SwigwxGridTowxWindow(void *ptr) {
7174 wxGrid *src;
7175 wxWindow *dest;
7176 src = (wxGrid *) ptr;
7177 dest = (wxWindow *) src;
7178 return (void *) dest;
7179 }
7180
7181 static void *SwigwxGridTowxEvtHandler(void *ptr) {
7182 wxGrid *src;
7183 wxEvtHandler *dest;
7184 src = (wxGrid *) ptr;
7185 dest = (wxEvtHandler *) src;
7186 return (void *) dest;
7187 }
7188
7189 static void *SwigwxGridTowxObject(void *ptr) {
7190 wxGrid *src;
7191 wxObject *dest;
7192 src = (wxGrid *) ptr;
7193 dest = (wxObject *) src;
7194 return (void *) dest;
7195 }
7196
7197 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7198 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7199 PyObject * _resultobj;
7200 wxGrid * _result;
7201 wxWindow * _arg0;
7202 wxWindowID _arg1;
7203 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7204 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7205 long _arg4 = (long ) wxWANTS_CHARS;
7206 char * _arg5 = (char *) wxPanelNameStr;
7207 PyObject * _argo0 = 0;
7208 wxPoint temp;
7209 PyObject * _obj2 = 0;
7210 wxSize temp0;
7211 PyObject * _obj3 = 0;
7212 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7213 char _ptemp[128];
7214
7215 self = self;
7216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
7217 return NULL;
7218 if (_argo0) {
7219 if (_argo0 == Py_None) { _arg0 = NULL; }
7220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7222 return NULL;
7223 }
7224 }
7225 if (_obj2)
7226 {
7227 _arg2 = &temp;
7228 if (! wxPoint_helper(_obj2, &_arg2))
7229 return NULL;
7230 }
7231 if (_obj3)
7232 {
7233 _arg3 = &temp0;
7234 if (! wxSize_helper(_obj3, &_arg3))
7235 return NULL;
7236 }
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) return NULL;
7243 } if (_result) {
7244 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7245 _resultobj = Py_BuildValue("s",_ptemp);
7246 } else {
7247 Py_INCREF(Py_None);
7248 _resultobj = Py_None;
7249 }
7250 return _resultobj;
7251 }
7252
7253 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7254 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject * _resultobj;
7256 bool _result;
7257 wxGrid * _arg0;
7258 int _arg1;
7259 int _arg2;
7260 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7261 PyObject * _argo0 = 0;
7262 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7263
7264 self = self;
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7266 return NULL;
7267 if (_argo0) {
7268 if (_argo0 == Py_None) { _arg0 = NULL; }
7269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7271 return NULL;
7272 }
7273 }
7274 {
7275 PyThreadState* __tstate = wxPyBeginAllowThreads();
7276 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
7277
7278 wxPyEndAllowThreads(__tstate);
7279 if (PyErr_Occurred()) return NULL;
7280 } _resultobj = Py_BuildValue("i",_result);
7281 return _resultobj;
7282 }
7283
7284 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7285 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7286 PyObject * _resultobj;
7287 wxGrid * _arg0;
7288 WXGRIDSELECTIONMODES _arg1;
7289 PyObject * _argo0 = 0;
7290 char *_kwnames[] = { "self","selmode", NULL };
7291
7292 self = self;
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
7294 return NULL;
7295 if (_argo0) {
7296 if (_argo0 == Py_None) { _arg0 = NULL; }
7297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7299 return NULL;
7300 }
7301 }
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 wxGrid_SetSelectionMode(_arg0,_arg1);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) return NULL;
7308 } Py_INCREF(Py_None);
7309 _resultobj = Py_None;
7310 return _resultobj;
7311 }
7312
7313 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7314 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7315 PyObject * _resultobj;
7316 int _result;
7317 wxGrid * _arg0;
7318 PyObject * _argo0 = 0;
7319 char *_kwnames[] = { "self", NULL };
7320
7321 self = self;
7322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7323 return NULL;
7324 if (_argo0) {
7325 if (_argo0 == Py_None) { _arg0 = NULL; }
7326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7328 return NULL;
7329 }
7330 }
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 _result = (int )wxGrid_GetNumberRows(_arg0);
7334
7335 wxPyEndAllowThreads(__tstate);
7336 if (PyErr_Occurred()) return NULL;
7337 } _resultobj = Py_BuildValue("i",_result);
7338 return _resultobj;
7339 }
7340
7341 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7342 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7343 PyObject * _resultobj;
7344 int _result;
7345 wxGrid * _arg0;
7346 PyObject * _argo0 = 0;
7347 char *_kwnames[] = { "self", NULL };
7348
7349 self = self;
7350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7351 return NULL;
7352 if (_argo0) {
7353 if (_argo0 == Py_None) { _arg0 = NULL; }
7354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7356 return NULL;
7357 }
7358 }
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 _result = (int )wxGrid_GetNumberCols(_arg0);
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) return NULL;
7365 } _resultobj = Py_BuildValue("i",_result);
7366 return _resultobj;
7367 }
7368
7369 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7370 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7371 PyObject * _resultobj;
7372 bool _result;
7373 wxGrid * _arg0;
7374 wxGridTableMessage * _arg1;
7375 PyObject * _argo0 = 0;
7376 PyObject * _argo1 = 0;
7377 char *_kwnames[] = { "self","arg2", NULL };
7378
7379 self = self;
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7381 return NULL;
7382 if (_argo0) {
7383 if (_argo0 == Py_None) { _arg0 = NULL; }
7384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7386 return NULL;
7387 }
7388 }
7389 if (_argo1) {
7390 if (_argo1 == Py_None) { _arg1 = NULL; }
7391 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7392 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7393 return NULL;
7394 }
7395 }
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) return NULL;
7402 } _resultobj = Py_BuildValue("i",_result);
7403 return _resultobj;
7404 }
7405
7406 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7407 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject * _resultobj;
7409 wxGridTableBase * _result;
7410 wxGrid * _arg0;
7411 PyObject * _argo0 = 0;
7412 char *_kwnames[] = { "self", NULL };
7413
7414 self = self;
7415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7416 return NULL;
7417 if (_argo0) {
7418 if (_argo0 == Py_None) { _arg0 = NULL; }
7419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7421 return NULL;
7422 }
7423 }
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) return NULL;
7430 }{ _resultobj = wxPyMake_wxObject(_result); }
7431 return _resultobj;
7432 }
7433
7434 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7435 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7436 PyObject * _resultobj;
7437 bool _result;
7438 wxGrid * _arg0;
7439 wxGridTableBase * _arg1;
7440 bool _arg2 = (bool ) FALSE;
7441 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7442 PyObject * _argo0 = 0;
7443 PyObject * _argo1 = 0;
7444 int tempbool2 = (int) FALSE;
7445 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7446
7447 self = self;
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7449 return NULL;
7450 if (_argo0) {
7451 if (_argo0 == Py_None) { _arg0 = NULL; }
7452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7454 return NULL;
7455 }
7456 }
7457 if (_argo1) {
7458 if (_argo1 == Py_None) { _arg1 = NULL; }
7459 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7460 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7461 return NULL;
7462 }
7463 }
7464 _arg2 = (bool ) tempbool2;
7465 {
7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7467 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7468
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) return NULL;
7471 } _resultobj = Py_BuildValue("i",_result);
7472 return _resultobj;
7473 }
7474
7475 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7476 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject * _resultobj;
7478 wxGrid * _arg0;
7479 PyObject * _argo0 = 0;
7480 char *_kwnames[] = { "self", NULL };
7481
7482 self = self;
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7484 return NULL;
7485 if (_argo0) {
7486 if (_argo0 == Py_None) { _arg0 = NULL; }
7487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7489 return NULL;
7490 }
7491 }
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 wxGrid_ClearGrid(_arg0);
7495
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) return NULL;
7498 } Py_INCREF(Py_None);
7499 _resultobj = Py_None;
7500 return _resultobj;
7501 }
7502
7503 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7504 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7505 PyObject * _resultobj;
7506 bool _result;
7507 wxGrid * _arg0;
7508 int _arg1 = (int ) 0;
7509 int _arg2 = (int ) 1;
7510 bool _arg3 = (bool ) TRUE;
7511 PyObject * _argo0 = 0;
7512 int tempbool3 = (int) TRUE;
7513 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7514
7515 self = self;
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7517 return NULL;
7518 if (_argo0) {
7519 if (_argo0 == Py_None) { _arg0 = NULL; }
7520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7522 return NULL;
7523 }
7524 }
7525 _arg3 = (bool ) tempbool3;
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) return NULL;
7532 } _resultobj = Py_BuildValue("i",_result);
7533 return _resultobj;
7534 }
7535
7536 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7537 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7538 PyObject * _resultobj;
7539 bool _result;
7540 wxGrid * _arg0;
7541 int _arg1 = (int ) 1;
7542 bool _arg2 = (bool ) TRUE;
7543 PyObject * _argo0 = 0;
7544 int tempbool2 = (int) TRUE;
7545 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7546
7547 self = self;
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7549 return NULL;
7550 if (_argo0) {
7551 if (_argo0 == Py_None) { _arg0 = NULL; }
7552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7554 return NULL;
7555 }
7556 }
7557 _arg2 = (bool ) tempbool2;
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) return NULL;
7564 } _resultobj = Py_BuildValue("i",_result);
7565 return _resultobj;
7566 }
7567
7568 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7569 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7570 PyObject * _resultobj;
7571 bool _result;
7572 wxGrid * _arg0;
7573 int _arg1 = (int ) 0;
7574 int _arg2 = (int ) 1;
7575 bool _arg3 = (bool ) TRUE;
7576 PyObject * _argo0 = 0;
7577 int tempbool3 = (int) TRUE;
7578 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7579
7580 self = self;
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7582 return NULL;
7583 if (_argo0) {
7584 if (_argo0 == Py_None) { _arg0 = NULL; }
7585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7587 return NULL;
7588 }
7589 }
7590 _arg3 = (bool ) tempbool3;
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) return NULL;
7597 } _resultobj = Py_BuildValue("i",_result);
7598 return _resultobj;
7599 }
7600
7601 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7602 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7603 PyObject * _resultobj;
7604 bool _result;
7605 wxGrid * _arg0;
7606 int _arg1 = (int ) 0;
7607 int _arg2 = (int ) 1;
7608 bool _arg3 = (bool ) TRUE;
7609 PyObject * _argo0 = 0;
7610 int tempbool3 = (int) TRUE;
7611 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7612
7613 self = self;
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7615 return NULL;
7616 if (_argo0) {
7617 if (_argo0 == Py_None) { _arg0 = NULL; }
7618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7620 return NULL;
7621 }
7622 }
7623 _arg3 = (bool ) tempbool3;
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7627
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) return NULL;
7630 } _resultobj = Py_BuildValue("i",_result);
7631 return _resultobj;
7632 }
7633
7634 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7635 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7636 PyObject * _resultobj;
7637 bool _result;
7638 wxGrid * _arg0;
7639 int _arg1 = (int ) 1;
7640 bool _arg2 = (bool ) TRUE;
7641 PyObject * _argo0 = 0;
7642 int tempbool2 = (int) TRUE;
7643 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7644
7645 self = self;
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7647 return NULL;
7648 if (_argo0) {
7649 if (_argo0 == Py_None) { _arg0 = NULL; }
7650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7652 return NULL;
7653 }
7654 }
7655 _arg2 = (bool ) tempbool2;
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) return NULL;
7662 } _resultobj = Py_BuildValue("i",_result);
7663 return _resultobj;
7664 }
7665
7666 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7667 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7668 PyObject * _resultobj;
7669 bool _result;
7670 wxGrid * _arg0;
7671 int _arg1 = (int ) 0;
7672 int _arg2 = (int ) 1;
7673 bool _arg3 = (bool ) TRUE;
7674 PyObject * _argo0 = 0;
7675 int tempbool3 = (int) TRUE;
7676 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7677
7678 self = self;
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7680 return NULL;
7681 if (_argo0) {
7682 if (_argo0 == Py_None) { _arg0 = NULL; }
7683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7685 return NULL;
7686 }
7687 }
7688 _arg3 = (bool ) tempbool3;
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7692
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) return NULL;
7695 } _resultobj = Py_BuildValue("i",_result);
7696 return _resultobj;
7697 }
7698
7699 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7700 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7701 PyObject * _resultobj;
7702 wxGrid * _arg0;
7703 wxDC * _arg1;
7704 wxGridCellAttr * _arg2;
7705 PyObject * _argo0 = 0;
7706 PyObject * _argo1 = 0;
7707 PyObject * _argo2 = 0;
7708 char *_kwnames[] = { "self","dc","attr", NULL };
7709
7710 self = self;
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7712 return NULL;
7713 if (_argo0) {
7714 if (_argo0 == Py_None) { _arg0 = NULL; }
7715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7717 return NULL;
7718 }
7719 }
7720 if (_argo1) {
7721 if (_argo1 == Py_None) { _arg1 = NULL; }
7722 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7723 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7724 return NULL;
7725 }
7726 }
7727 if (_argo2) {
7728 if (_argo2 == Py_None) { _arg2 = NULL; }
7729 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7730 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7731 return NULL;
7732 }
7733 }
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) return NULL;
7740 } Py_INCREF(Py_None);
7741 _resultobj = Py_None;
7742 return _resultobj;
7743 }
7744
7745 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7746 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7747 PyObject * _resultobj;
7748 wxGrid * _arg0;
7749 wxDC * _arg1;
7750 wxString * _arg2;
7751 wxRect * _arg3;
7752 int _arg4 = (int ) wxLEFT;
7753 int _arg5 = (int ) wxTOP;
7754 PyObject * _argo0 = 0;
7755 PyObject * _argo1 = 0;
7756 PyObject * _obj2 = 0;
7757 wxRect temp;
7758 PyObject * _obj3 = 0;
7759 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7760
7761 self = self;
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7763 return NULL;
7764 if (_argo0) {
7765 if (_argo0 == Py_None) { _arg0 = NULL; }
7766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7768 return NULL;
7769 }
7770 }
7771 if (_argo1) {
7772 if (_argo1 == Py_None) { _arg1 = NULL; }
7773 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7775 return NULL;
7776 }
7777 }
7778 {
7779 #if PYTHON_API_VERSION >= 1009
7780 char* tmpPtr; int tmpSize;
7781 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7782 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7783 return NULL;
7784 }
7785 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7786 return NULL;
7787 _arg2 = new wxString(tmpPtr, tmpSize);
7788 #else
7789 if (!PyString_Check(_obj2)) {
7790 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7791 return NULL;
7792 }
7793 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7794 #endif
7795 }
7796 {
7797 _arg3 = &temp;
7798 if (! wxRect_helper(_obj3, &_arg3))
7799 return NULL;
7800 }
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) return NULL;
7807 } Py_INCREF(Py_None);
7808 _resultobj = Py_None;
7809 {
7810 if (_obj2)
7811 delete _arg2;
7812 }
7813 return _resultobj;
7814 }
7815
7816 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7817 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7818 PyObject * _resultobj;
7819 wxGrid * _arg0;
7820 wxDC * _arg1;
7821 wxArrayString * _arg2;
7822 long * _arg3;
7823 long temp;
7824 long * _arg4;
7825 long temp0;
7826 PyObject * _argo0 = 0;
7827 PyObject * _argo1 = 0;
7828 PyObject * _obj2 = 0;
7829 char *_kwnames[] = { "self","dc","lines", NULL };
7830
7831 self = self;
7832 {
7833 _arg3 = &temp;
7834 }
7835 {
7836 _arg4 = &temp0;
7837 }
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
7839 return NULL;
7840 if (_argo0) {
7841 if (_argo0 == Py_None) { _arg0 = NULL; }
7842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7844 return NULL;
7845 }
7846 }
7847 if (_argo1) {
7848 if (_argo1 == Py_None) { _arg1 = NULL; }
7849 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7850 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7851 return NULL;
7852 }
7853 }
7854 {
7855 if (! PySequence_Check(_obj2)) {
7856 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7857 return NULL;
7858 }
7859 _arg2 = new wxArrayString;
7860 int i, len=PySequence_Length(_obj2);
7861 for (i=0; i<len; i++) {
7862 PyObject* item = PySequence_GetItem(_obj2, i);
7863 PyObject* str = PyObject_Str(item);
7864 _arg2->Add(PyString_AsString(str));
7865 Py_DECREF(item);
7866 Py_DECREF(str);
7867 }
7868 }
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) return NULL;
7875 } Py_INCREF(Py_None);
7876 _resultobj = Py_None;
7877 {
7878 PyObject *o;
7879 o = PyInt_FromLong((long) (*_arg3));
7880 _resultobj = t_output_helper(_resultobj, o);
7881 }
7882 {
7883 PyObject *o;
7884 o = PyInt_FromLong((long) (*_arg4));
7885 _resultobj = t_output_helper(_resultobj, o);
7886 }
7887 {
7888 if (_obj2)
7889 delete _arg2;
7890 }
7891 return _resultobj;
7892 }
7893
7894 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7895 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7896 PyObject * _resultobj;
7897 wxGrid * _arg0;
7898 PyObject * _argo0 = 0;
7899 char *_kwnames[] = { "self", NULL };
7900
7901 self = self;
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7903 return NULL;
7904 if (_argo0) {
7905 if (_argo0 == Py_None) { _arg0 = NULL; }
7906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7908 return NULL;
7909 }
7910 }
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 wxGrid_BeginBatch(_arg0);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) return NULL;
7917 } Py_INCREF(Py_None);
7918 _resultobj = Py_None;
7919 return _resultobj;
7920 }
7921
7922 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7923 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject * _resultobj;
7925 wxGrid * _arg0;
7926 PyObject * _argo0 = 0;
7927 char *_kwnames[] = { "self", NULL };
7928
7929 self = self;
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7931 return NULL;
7932 if (_argo0) {
7933 if (_argo0 == Py_None) { _arg0 = NULL; }
7934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7936 return NULL;
7937 }
7938 }
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 wxGrid_EndBatch(_arg0);
7942
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) return NULL;
7945 } Py_INCREF(Py_None);
7946 _resultobj = Py_None;
7947 return _resultobj;
7948 }
7949
7950 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7951 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject * _resultobj;
7953 int _result;
7954 wxGrid * _arg0;
7955 PyObject * _argo0 = 0;
7956 char *_kwnames[] = { "self", NULL };
7957
7958 self = self;
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7960 return NULL;
7961 if (_argo0) {
7962 if (_argo0 == Py_None) { _arg0 = NULL; }
7963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7965 return NULL;
7966 }
7967 }
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 _result = (int )wxGrid_GetBatchCount(_arg0);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) return NULL;
7974 } _resultobj = Py_BuildValue("i",_result);
7975 return _resultobj;
7976 }
7977
7978 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7979 static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject * _resultobj;
7981 wxGrid * _arg0;
7982 PyObject * _argo0 = 0;
7983 char *_kwnames[] = { "self", NULL };
7984
7985 self = self;
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
7987 return NULL;
7988 if (_argo0) {
7989 if (_argo0 == Py_None) { _arg0 = NULL; }
7990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7992 return NULL;
7993 }
7994 }
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 wxGrid_ForceRefresh(_arg0);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) return NULL;
8001 } Py_INCREF(Py_None);
8002 _resultobj = Py_None;
8003 return _resultobj;
8004 }
8005
8006 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8007 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject * _resultobj;
8009 bool _result;
8010 wxGrid * _arg0;
8011 PyObject * _argo0 = 0;
8012 char *_kwnames[] = { "self", NULL };
8013
8014 self = self;
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
8016 return NULL;
8017 if (_argo0) {
8018 if (_argo0 == Py_None) { _arg0 = NULL; }
8019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8021 return NULL;
8022 }
8023 }
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 _result = (bool )wxGrid_IsEditable(_arg0);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) return NULL;
8030 } _resultobj = Py_BuildValue("i",_result);
8031 return _resultobj;
8032 }
8033
8034 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8035 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject * _resultobj;
8037 wxGrid * _arg0;
8038 bool _arg1;
8039 PyObject * _argo0 = 0;
8040 int tempbool1;
8041 char *_kwnames[] = { "self","edit", NULL };
8042
8043 self = self;
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
8045 return NULL;
8046 if (_argo0) {
8047 if (_argo0 == Py_None) { _arg0 = NULL; }
8048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8050 return NULL;
8051 }
8052 }
8053 _arg1 = (bool ) tempbool1;
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 wxGrid_EnableEditing(_arg0,_arg1);
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) return NULL;
8060 } Py_INCREF(Py_None);
8061 _resultobj = Py_None;
8062 return _resultobj;
8063 }
8064
8065 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8066 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8067 PyObject * _resultobj;
8068 wxGrid * _arg0;
8069 bool _arg1 = (bool ) TRUE;
8070 PyObject * _argo0 = 0;
8071 int tempbool1 = (int) TRUE;
8072 char *_kwnames[] = { "self","enable", NULL };
8073
8074 self = self;
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
8076 return NULL;
8077 if (_argo0) {
8078 if (_argo0 == Py_None) { _arg0 = NULL; }
8079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8081 return NULL;
8082 }
8083 }
8084 _arg1 = (bool ) tempbool1;
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 wxGrid_EnableCellEditControl(_arg0,_arg1);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) return NULL;
8091 } Py_INCREF(Py_None);
8092 _resultobj = Py_None;
8093 return _resultobj;
8094 }
8095
8096 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8097 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject * _resultobj;
8099 wxGrid * _arg0;
8100 PyObject * _argo0 = 0;
8101 char *_kwnames[] = { "self", NULL };
8102
8103 self = self;
8104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
8105 return NULL;
8106 if (_argo0) {
8107 if (_argo0 == Py_None) { _arg0 = NULL; }
8108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8110 return NULL;
8111 }
8112 }
8113 {
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 wxGrid_DisableCellEditControl(_arg0);
8116
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) return NULL;
8119 } Py_INCREF(Py_None);
8120 _resultobj = Py_None;
8121 return _resultobj;
8122 }
8123
8124 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8125 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8126 PyObject * _resultobj;
8127 bool _result;
8128 wxGrid * _arg0;
8129 PyObject * _argo0 = 0;
8130 char *_kwnames[] = { "self", NULL };
8131
8132 self = self;
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
8134 return NULL;
8135 if (_argo0) {
8136 if (_argo0 == Py_None) { _arg0 = NULL; }
8137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8139 return NULL;
8140 }
8141 }
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) return NULL;
8148 } _resultobj = Py_BuildValue("i",_result);
8149 return _resultobj;
8150 }
8151
8152 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8153 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject * _resultobj;
8155 bool _result;
8156 wxGrid * _arg0;
8157 PyObject * _argo0 = 0;
8158 char *_kwnames[] = { "self", NULL };
8159
8160 self = self;
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
8162 return NULL;
8163 if (_argo0) {
8164 if (_argo0 == Py_None) { _arg0 = NULL; }
8165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8167 return NULL;
8168 }
8169 }
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) return NULL;
8176 } _resultobj = Py_BuildValue("i",_result);
8177 return _resultobj;
8178 }
8179
8180 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8181 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8182 PyObject * _resultobj;
8183 bool _result;
8184 wxGrid * _arg0;
8185 PyObject * _argo0 = 0;
8186 char *_kwnames[] = { "self", NULL };
8187
8188 self = self;
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
8190 return NULL;
8191 if (_argo0) {
8192 if (_argo0 == Py_None) { _arg0 = NULL; }
8193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8195 return NULL;
8196 }
8197 }
8198 {
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
8201
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) return NULL;
8204 } _resultobj = Py_BuildValue("i",_result);
8205 return _resultobj;
8206 }
8207
8208 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8209 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8210 PyObject * _resultobj;
8211 bool _result;
8212 wxGrid * _arg0;
8213 PyObject * _argo0 = 0;
8214 char *_kwnames[] = { "self", NULL };
8215
8216 self = self;
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8218 return NULL;
8219 if (_argo0) {
8220 if (_argo0 == Py_None) { _arg0 = NULL; }
8221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8223 return NULL;
8224 }
8225 }
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) return NULL;
8232 } _resultobj = Py_BuildValue("i",_result);
8233 return _resultobj;
8234 }
8235
8236 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8237 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8238 PyObject * _resultobj;
8239 wxGrid * _arg0;
8240 PyObject * _argo0 = 0;
8241 char *_kwnames[] = { "self", NULL };
8242
8243 self = self;
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
8245 return NULL;
8246 if (_argo0) {
8247 if (_argo0 == Py_None) { _arg0 = NULL; }
8248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8250 return NULL;
8251 }
8252 }
8253 {
8254 PyThreadState* __tstate = wxPyBeginAllowThreads();
8255 wxGrid_ShowCellEditControl(_arg0);
8256
8257 wxPyEndAllowThreads(__tstate);
8258 if (PyErr_Occurred()) return NULL;
8259 } Py_INCREF(Py_None);
8260 _resultobj = Py_None;
8261 return _resultobj;
8262 }
8263
8264 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8265 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject * _resultobj;
8267 wxGrid * _arg0;
8268 PyObject * _argo0 = 0;
8269 char *_kwnames[] = { "self", NULL };
8270
8271 self = self;
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8273 return NULL;
8274 if (_argo0) {
8275 if (_argo0 == Py_None) { _arg0 = NULL; }
8276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8278 return NULL;
8279 }
8280 }
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 wxGrid_HideCellEditControl(_arg0);
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) return NULL;
8287 } Py_INCREF(Py_None);
8288 _resultobj = Py_None;
8289 return _resultobj;
8290 }
8291
8292 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8293 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8294 PyObject * _resultobj;
8295 wxGrid * _arg0;
8296 PyObject * _argo0 = 0;
8297 char *_kwnames[] = { "self", NULL };
8298
8299 self = self;
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8301 return NULL;
8302 if (_argo0) {
8303 if (_argo0 == Py_None) { _arg0 = NULL; }
8304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8306 return NULL;
8307 }
8308 }
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 wxGrid_SaveEditControlValue(_arg0);
8312
8313 wxPyEndAllowThreads(__tstate);
8314 if (PyErr_Occurred()) return NULL;
8315 } Py_INCREF(Py_None);
8316 _resultobj = Py_None;
8317 return _resultobj;
8318 }
8319
8320 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8321 wxGridCellCoords rv;
8322 self->XYToCell(x, y, rv);
8323 return new wxGridCellCoords(rv);
8324 }
8325 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8326 PyObject * _resultobj;
8327 wxGridCellCoords * _result;
8328 wxGrid * _arg0;
8329 int _arg1;
8330 int _arg2;
8331 PyObject * _argo0 = 0;
8332 char *_kwnames[] = { "self","x","y", NULL };
8333 char _ptemp[128];
8334
8335 self = self;
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8337 return NULL;
8338 if (_argo0) {
8339 if (_argo0 == Py_None) { _arg0 = NULL; }
8340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8342 return NULL;
8343 }
8344 }
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8348
8349 wxPyEndAllowThreads(__tstate);
8350 if (PyErr_Occurred()) return NULL;
8351 } if (_result) {
8352 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8353 _resultobj = Py_BuildValue("s",_ptemp);
8354 } else {
8355 Py_INCREF(Py_None);
8356 _resultobj = Py_None;
8357 }
8358 return _resultobj;
8359 }
8360
8361 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8362 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8363 PyObject * _resultobj;
8364 int _result;
8365 wxGrid * _arg0;
8366 int _arg1;
8367 PyObject * _argo0 = 0;
8368 char *_kwnames[] = { "self","y", NULL };
8369
8370 self = self;
8371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8372 return NULL;
8373 if (_argo0) {
8374 if (_argo0 == Py_None) { _arg0 = NULL; }
8375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8377 return NULL;
8378 }
8379 }
8380 {
8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8382 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8383
8384 wxPyEndAllowThreads(__tstate);
8385 if (PyErr_Occurred()) return NULL;
8386 } _resultobj = Py_BuildValue("i",_result);
8387 return _resultobj;
8388 }
8389
8390 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8391 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8392 PyObject * _resultobj;
8393 int _result;
8394 wxGrid * _arg0;
8395 int _arg1;
8396 PyObject * _argo0 = 0;
8397 char *_kwnames[] = { "self","x", NULL };
8398
8399 self = self;
8400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8401 return NULL;
8402 if (_argo0) {
8403 if (_argo0 == Py_None) { _arg0 = NULL; }
8404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8406 return NULL;
8407 }
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) return NULL;
8415 } _resultobj = Py_BuildValue("i",_result);
8416 return _resultobj;
8417 }
8418
8419 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8420 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8421 PyObject * _resultobj;
8422 int _result;
8423 wxGrid * _arg0;
8424 int _arg1;
8425 PyObject * _argo0 = 0;
8426 char *_kwnames[] = { "self","y", NULL };
8427
8428 self = self;
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8430 return NULL;
8431 if (_argo0) {
8432 if (_argo0 == Py_None) { _arg0 = NULL; }
8433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8435 return NULL;
8436 }
8437 }
8438 {
8439 PyThreadState* __tstate = wxPyBeginAllowThreads();
8440 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8441
8442 wxPyEndAllowThreads(__tstate);
8443 if (PyErr_Occurred()) return NULL;
8444 } _resultobj = Py_BuildValue("i",_result);
8445 return _resultobj;
8446 }
8447
8448 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8449 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8450 PyObject * _resultobj;
8451 int _result;
8452 wxGrid * _arg0;
8453 int _arg1;
8454 PyObject * _argo0 = 0;
8455 char *_kwnames[] = { "self","x", NULL };
8456
8457 self = self;
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8459 return NULL;
8460 if (_argo0) {
8461 if (_argo0 == Py_None) { _arg0 = NULL; }
8462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8464 return NULL;
8465 }
8466 }
8467 {
8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
8469 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8470
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) return NULL;
8473 } _resultobj = Py_BuildValue("i",_result);
8474 return _resultobj;
8475 }
8476
8477 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8478 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8479 PyObject * _resultobj;
8480 wxRect * _result;
8481 wxGrid * _arg0;
8482 int _arg1;
8483 int _arg2;
8484 PyObject * _argo0 = 0;
8485 char *_kwnames[] = { "self","row","col", NULL };
8486 char _ptemp[128];
8487
8488 self = self;
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8490 return NULL;
8491 if (_argo0) {
8492 if (_argo0 == Py_None) { _arg0 = NULL; }
8493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8495 return NULL;
8496 }
8497 }
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) return NULL;
8504 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8505 _resultobj = Py_BuildValue("s",_ptemp);
8506 return _resultobj;
8507 }
8508
8509 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8510 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8511 PyObject * _resultobj;
8512 int _result;
8513 wxGrid * _arg0;
8514 PyObject * _argo0 = 0;
8515 char *_kwnames[] = { "self", NULL };
8516
8517 self = self;
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8519 return NULL;
8520 if (_argo0) {
8521 if (_argo0 == Py_None) { _arg0 = NULL; }
8522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8524 return NULL;
8525 }
8526 }
8527 {
8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
8529 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8530
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) return NULL;
8533 } _resultobj = Py_BuildValue("i",_result);
8534 return _resultobj;
8535 }
8536
8537 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8538 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8539 PyObject * _resultobj;
8540 int _result;
8541 wxGrid * _arg0;
8542 PyObject * _argo0 = 0;
8543 char *_kwnames[] = { "self", NULL };
8544
8545 self = self;
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8547 return NULL;
8548 if (_argo0) {
8549 if (_argo0 == Py_None) { _arg0 = NULL; }
8550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8552 return NULL;
8553 }
8554 }
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) return NULL;
8561 } _resultobj = Py_BuildValue("i",_result);
8562 return _resultobj;
8563 }
8564
8565 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8566 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8567 PyObject * _resultobj;
8568 bool _result;
8569 wxGrid * _arg0;
8570 int _arg1;
8571 int _arg2;
8572 bool _arg3 = (bool ) TRUE;
8573 PyObject * _argo0 = 0;
8574 int tempbool3 = (int) TRUE;
8575 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8576
8577 self = self;
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8579 return NULL;
8580 if (_argo0) {
8581 if (_argo0 == Py_None) { _arg0 = NULL; }
8582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8584 return NULL;
8585 }
8586 }
8587 _arg3 = (bool ) tempbool3;
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8591
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) return NULL;
8594 } _resultobj = Py_BuildValue("i",_result);
8595 return _resultobj;
8596 }
8597
8598 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8599 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8600 PyObject * _resultobj;
8601 wxGrid * _arg0;
8602 int _arg1;
8603 int _arg2;
8604 PyObject * _argo0 = 0;
8605 char *_kwnames[] = { "self","row","col", NULL };
8606
8607 self = self;
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8609 return NULL;
8610 if (_argo0) {
8611 if (_argo0 == Py_None) { _arg0 = NULL; }
8612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8614 return NULL;
8615 }
8616 }
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) return NULL;
8623 } Py_INCREF(Py_None);
8624 _resultobj = Py_None;
8625 return _resultobj;
8626 }
8627
8628 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8629 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject * _resultobj;
8631 wxGrid * _arg0;
8632 int _arg1;
8633 int _arg2;
8634 PyObject * _argo0 = 0;
8635 char *_kwnames[] = { "self","row","col", NULL };
8636
8637 self = self;
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8639 return NULL;
8640 if (_argo0) {
8641 if (_argo0 == Py_None) { _arg0 = NULL; }
8642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8644 return NULL;
8645 }
8646 }
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) return NULL;
8653 } Py_INCREF(Py_None);
8654 _resultobj = Py_None;
8655 return _resultobj;
8656 }
8657
8658 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8659 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject * _resultobj;
8661 bool _result;
8662 wxGrid * _arg0;
8663 bool _arg1;
8664 PyObject * _argo0 = 0;
8665 int tempbool1;
8666 char *_kwnames[] = { "self","expandSelection", NULL };
8667
8668 self = self;
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8670 return NULL;
8671 if (_argo0) {
8672 if (_argo0 == Py_None) { _arg0 = NULL; }
8673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8675 return NULL;
8676 }
8677 }
8678 _arg1 = (bool ) tempbool1;
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) return NULL;
8685 } _resultobj = Py_BuildValue("i",_result);
8686 return _resultobj;
8687 }
8688
8689 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8690 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8691 PyObject * _resultobj;
8692 bool _result;
8693 wxGrid * _arg0;
8694 bool _arg1;
8695 PyObject * _argo0 = 0;
8696 int tempbool1;
8697 char *_kwnames[] = { "self","expandSelection", NULL };
8698
8699 self = self;
8700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8701 return NULL;
8702 if (_argo0) {
8703 if (_argo0 == Py_None) { _arg0 = NULL; }
8704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8706 return NULL;
8707 }
8708 }
8709 _arg1 = (bool ) tempbool1;
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) return NULL;
8716 } _resultobj = Py_BuildValue("i",_result);
8717 return _resultobj;
8718 }
8719
8720 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8721 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8722 PyObject * _resultobj;
8723 bool _result;
8724 wxGrid * _arg0;
8725 bool _arg1;
8726 PyObject * _argo0 = 0;
8727 int tempbool1;
8728 char *_kwnames[] = { "self","expandSelection", NULL };
8729
8730 self = self;
8731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8732 return NULL;
8733 if (_argo0) {
8734 if (_argo0 == Py_None) { _arg0 = NULL; }
8735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8737 return NULL;
8738 }
8739 }
8740 _arg1 = (bool ) tempbool1;
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) return NULL;
8747 } _resultobj = Py_BuildValue("i",_result);
8748 return _resultobj;
8749 }
8750
8751 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8752 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8753 PyObject * _resultobj;
8754 bool _result;
8755 wxGrid * _arg0;
8756 bool _arg1;
8757 PyObject * _argo0 = 0;
8758 int tempbool1;
8759 char *_kwnames[] = { "self","expandSelection", NULL };
8760
8761 self = self;
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8763 return NULL;
8764 if (_argo0) {
8765 if (_argo0 == Py_None) { _arg0 = NULL; }
8766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8768 return NULL;
8769 }
8770 }
8771 _arg1 = (bool ) tempbool1;
8772 {
8773 PyThreadState* __tstate = wxPyBeginAllowThreads();
8774 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8775
8776 wxPyEndAllowThreads(__tstate);
8777 if (PyErr_Occurred()) return NULL;
8778 } _resultobj = Py_BuildValue("i",_result);
8779 return _resultobj;
8780 }
8781
8782 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8783 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8784 PyObject * _resultobj;
8785 bool _result;
8786 wxGrid * _arg0;
8787 PyObject * _argo0 = 0;
8788 char *_kwnames[] = { "self", NULL };
8789
8790 self = self;
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8792 return NULL;
8793 if (_argo0) {
8794 if (_argo0 == Py_None) { _arg0 = NULL; }
8795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8797 return NULL;
8798 }
8799 }
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 _result = (bool )wxGrid_MovePageDown(_arg0);
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) return NULL;
8806 } _resultobj = Py_BuildValue("i",_result);
8807 return _resultobj;
8808 }
8809
8810 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8811 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8812 PyObject * _resultobj;
8813 bool _result;
8814 wxGrid * _arg0;
8815 PyObject * _argo0 = 0;
8816 char *_kwnames[] = { "self", NULL };
8817
8818 self = self;
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8820 return NULL;
8821 if (_argo0) {
8822 if (_argo0 == Py_None) { _arg0 = NULL; }
8823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8825 return NULL;
8826 }
8827 }
8828 {
8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
8830 _result = (bool )wxGrid_MovePageUp(_arg0);
8831
8832 wxPyEndAllowThreads(__tstate);
8833 if (PyErr_Occurred()) return NULL;
8834 } _resultobj = Py_BuildValue("i",_result);
8835 return _resultobj;
8836 }
8837
8838 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8839 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8840 PyObject * _resultobj;
8841 bool _result;
8842 wxGrid * _arg0;
8843 bool _arg1;
8844 PyObject * _argo0 = 0;
8845 int tempbool1;
8846 char *_kwnames[] = { "self","expandSelection", NULL };
8847
8848 self = self;
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8850 return NULL;
8851 if (_argo0) {
8852 if (_argo0 == Py_None) { _arg0 = NULL; }
8853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8855 return NULL;
8856 }
8857 }
8858 _arg1 = (bool ) tempbool1;
8859 {
8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
8861 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8862
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) return NULL;
8865 } _resultobj = Py_BuildValue("i",_result);
8866 return _resultobj;
8867 }
8868
8869 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8870 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8871 PyObject * _resultobj;
8872 bool _result;
8873 wxGrid * _arg0;
8874 bool _arg1;
8875 PyObject * _argo0 = 0;
8876 int tempbool1;
8877 char *_kwnames[] = { "self","expandSelection", NULL };
8878
8879 self = self;
8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8881 return NULL;
8882 if (_argo0) {
8883 if (_argo0 == Py_None) { _arg0 = NULL; }
8884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8886 return NULL;
8887 }
8888 }
8889 _arg1 = (bool ) tempbool1;
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) return NULL;
8896 } _resultobj = Py_BuildValue("i",_result);
8897 return _resultobj;
8898 }
8899
8900 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8901 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8902 PyObject * _resultobj;
8903 bool _result;
8904 wxGrid * _arg0;
8905 bool _arg1;
8906 PyObject * _argo0 = 0;
8907 int tempbool1;
8908 char *_kwnames[] = { "self","expandSelection", NULL };
8909
8910 self = self;
8911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8912 return NULL;
8913 if (_argo0) {
8914 if (_argo0 == Py_None) { _arg0 = NULL; }
8915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8917 return NULL;
8918 }
8919 }
8920 _arg1 = (bool ) tempbool1;
8921 {
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8924
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) return NULL;
8927 } _resultobj = Py_BuildValue("i",_result);
8928 return _resultobj;
8929 }
8930
8931 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8932 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8933 PyObject * _resultobj;
8934 bool _result;
8935 wxGrid * _arg0;
8936 bool _arg1;
8937 PyObject * _argo0 = 0;
8938 int tempbool1;
8939 char *_kwnames[] = { "self","expandSelection", NULL };
8940
8941 self = self;
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8943 return NULL;
8944 if (_argo0) {
8945 if (_argo0 == Py_None) { _arg0 = NULL; }
8946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8948 return NULL;
8949 }
8950 }
8951 _arg1 = (bool ) tempbool1;
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8955
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) return NULL;
8958 } _resultobj = Py_BuildValue("i",_result);
8959 return _resultobj;
8960 }
8961
8962 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8963 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8964 PyObject * _resultobj;
8965 int _result;
8966 wxGrid * _arg0;
8967 PyObject * _argo0 = 0;
8968 char *_kwnames[] = { "self", NULL };
8969
8970 self = self;
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8972 return NULL;
8973 if (_argo0) {
8974 if (_argo0 == Py_None) { _arg0 = NULL; }
8975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8977 return NULL;
8978 }
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) return NULL;
8986 } _resultobj = Py_BuildValue("i",_result);
8987 return _resultobj;
8988 }
8989
8990 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8991 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8992 PyObject * _resultobj;
8993 int _result;
8994 wxGrid * _arg0;
8995 PyObject * _argo0 = 0;
8996 char *_kwnames[] = { "self", NULL };
8997
8998 self = self;
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
9000 return NULL;
9001 if (_argo0) {
9002 if (_argo0 == Py_None) { _arg0 = NULL; }
9003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9005 return NULL;
9006 }
9007 }
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 _result = (int )wxGrid_GetRowLabelSize(_arg0);
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) return NULL;
9014 } _resultobj = Py_BuildValue("i",_result);
9015 return _resultobj;
9016 }
9017
9018 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9019 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9020 PyObject * _resultobj;
9021 int _result;
9022 wxGrid * _arg0;
9023 PyObject * _argo0 = 0;
9024 char *_kwnames[] = { "self", NULL };
9025
9026 self = self;
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
9028 return NULL;
9029 if (_argo0) {
9030 if (_argo0 == Py_None) { _arg0 = NULL; }
9031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9033 return NULL;
9034 }
9035 }
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) return NULL;
9042 } _resultobj = Py_BuildValue("i",_result);
9043 return _resultobj;
9044 }
9045
9046 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9047 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject * _resultobj;
9049 int _result;
9050 wxGrid * _arg0;
9051 PyObject * _argo0 = 0;
9052 char *_kwnames[] = { "self", NULL };
9053
9054 self = self;
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
9056 return NULL;
9057 if (_argo0) {
9058 if (_argo0 == Py_None) { _arg0 = NULL; }
9059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9061 return NULL;
9062 }
9063 }
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 _result = (int )wxGrid_GetColLabelSize(_arg0);
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) return NULL;
9070 } _resultobj = Py_BuildValue("i",_result);
9071 return _resultobj;
9072 }
9073
9074 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9075 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9076 PyObject * _resultobj;
9077 wxColour * _result;
9078 wxGrid * _arg0;
9079 PyObject * _argo0 = 0;
9080 char *_kwnames[] = { "self", NULL };
9081 char _ptemp[128];
9082
9083 self = self;
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
9085 return NULL;
9086 if (_argo0) {
9087 if (_argo0 == Py_None) { _arg0 = NULL; }
9088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9090 return NULL;
9091 }
9092 }
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) return NULL;
9099 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9100 _resultobj = Py_BuildValue("s",_ptemp);
9101 return _resultobj;
9102 }
9103
9104 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9105 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9106 PyObject * _resultobj;
9107 wxColour * _result;
9108 wxGrid * _arg0;
9109 PyObject * _argo0 = 0;
9110 char *_kwnames[] = { "self", NULL };
9111 char _ptemp[128];
9112
9113 self = self;
9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
9115 return NULL;
9116 if (_argo0) {
9117 if (_argo0 == Py_None) { _arg0 = NULL; }
9118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9120 return NULL;
9121 }
9122 }
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) return NULL;
9129 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9130 _resultobj = Py_BuildValue("s",_ptemp);
9131 return _resultobj;
9132 }
9133
9134 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9135 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9136 PyObject * _resultobj;
9137 wxFont * _result;
9138 wxGrid * _arg0;
9139 PyObject * _argo0 = 0;
9140 char *_kwnames[] = { "self", NULL };
9141 char _ptemp[128];
9142
9143 self = self;
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
9145 return NULL;
9146 if (_argo0) {
9147 if (_argo0 == Py_None) { _arg0 = NULL; }
9148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9150 return NULL;
9151 }
9152 }
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
9156
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) return NULL;
9159 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9160 _resultobj = Py_BuildValue("s",_ptemp);
9161 return _resultobj;
9162 }
9163
9164 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9165 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject * _resultobj;
9167 wxGrid * _arg0;
9168 int * _arg1;
9169 int temp;
9170 int * _arg2;
9171 int temp0;
9172 PyObject * _argo0 = 0;
9173 char *_kwnames[] = { "self", NULL };
9174
9175 self = self;
9176 {
9177 _arg1 = &temp;
9178 }
9179 {
9180 _arg2 = &temp0;
9181 }
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
9183 return NULL;
9184 if (_argo0) {
9185 if (_argo0 == Py_None) { _arg0 = NULL; }
9186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9188 return NULL;
9189 }
9190 }
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
9194
9195 wxPyEndAllowThreads(__tstate);
9196 if (PyErr_Occurred()) return NULL;
9197 } Py_INCREF(Py_None);
9198 _resultobj = Py_None;
9199 {
9200 PyObject *o;
9201 o = PyInt_FromLong((long) (*_arg1));
9202 _resultobj = t_output_helper(_resultobj, o);
9203 }
9204 {
9205 PyObject *o;
9206 o = PyInt_FromLong((long) (*_arg2));
9207 _resultobj = t_output_helper(_resultobj, o);
9208 }
9209 return _resultobj;
9210 }
9211
9212 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9213 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9214 PyObject * _resultobj;
9215 wxGrid * _arg0;
9216 int * _arg1;
9217 int temp;
9218 int * _arg2;
9219 int temp0;
9220 PyObject * _argo0 = 0;
9221 char *_kwnames[] = { "self", NULL };
9222
9223 self = self;
9224 {
9225 _arg1 = &temp;
9226 }
9227 {
9228 _arg2 = &temp0;
9229 }
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9231 return NULL;
9232 if (_argo0) {
9233 if (_argo0 == Py_None) { _arg0 = NULL; }
9234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9236 return NULL;
9237 }
9238 }
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) return NULL;
9245 } Py_INCREF(Py_None);
9246 _resultobj = Py_None;
9247 {
9248 PyObject *o;
9249 o = PyInt_FromLong((long) (*_arg1));
9250 _resultobj = t_output_helper(_resultobj, o);
9251 }
9252 {
9253 PyObject *o;
9254 o = PyInt_FromLong((long) (*_arg2));
9255 _resultobj = t_output_helper(_resultobj, o);
9256 }
9257 return _resultobj;
9258 }
9259
9260 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9261 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9262 PyObject * _resultobj;
9263 wxString * _result;
9264 wxGrid * _arg0;
9265 int _arg1;
9266 PyObject * _argo0 = 0;
9267 char *_kwnames[] = { "self","row", NULL };
9268
9269 self = self;
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9271 return NULL;
9272 if (_argo0) {
9273 if (_argo0 == Py_None) { _arg0 = NULL; }
9274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9276 return NULL;
9277 }
9278 }
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9282
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) return NULL;
9285 }{
9286 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9287 }
9288 {
9289 delete _result;
9290 }
9291 return _resultobj;
9292 }
9293
9294 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9295 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject * _resultobj;
9297 wxString * _result;
9298 wxGrid * _arg0;
9299 int _arg1;
9300 PyObject * _argo0 = 0;
9301 char *_kwnames[] = { "self","col", NULL };
9302
9303 self = self;
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9305 return NULL;
9306 if (_argo0) {
9307 if (_argo0 == Py_None) { _arg0 = NULL; }
9308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9310 return NULL;
9311 }
9312 }
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) return NULL;
9319 }{
9320 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9321 }
9322 {
9323 delete _result;
9324 }
9325 return _resultobj;
9326 }
9327
9328 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9329 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9330 PyObject * _resultobj;
9331 wxColour * _result;
9332 wxGrid * _arg0;
9333 PyObject * _argo0 = 0;
9334 char *_kwnames[] = { "self", NULL };
9335 char _ptemp[128];
9336
9337 self = self;
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9339 return NULL;
9340 if (_argo0) {
9341 if (_argo0 == Py_None) { _arg0 = NULL; }
9342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9344 return NULL;
9345 }
9346 }
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) return NULL;
9353 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9354 _resultobj = Py_BuildValue("s",_ptemp);
9355 return _resultobj;
9356 }
9357
9358 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9359 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject * _resultobj;
9361 wxColour * _result;
9362 wxGrid * _arg0;
9363 PyObject * _argo0 = 0;
9364 char *_kwnames[] = { "self", NULL };
9365 char _ptemp[128];
9366
9367 self = self;
9368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9369 return NULL;
9370 if (_argo0) {
9371 if (_argo0 == Py_None) { _arg0 = NULL; }
9372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9374 return NULL;
9375 }
9376 }
9377 {
9378 PyThreadState* __tstate = wxPyBeginAllowThreads();
9379 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9380
9381 wxPyEndAllowThreads(__tstate);
9382 if (PyErr_Occurred()) return NULL;
9383 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9384 _resultobj = Py_BuildValue("s",_ptemp);
9385 return _resultobj;
9386 }
9387
9388 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9389 static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject * _resultobj;
9391 int _result;
9392 wxGrid * _arg0;
9393 PyObject * _argo0 = 0;
9394 char *_kwnames[] = { "self", NULL };
9395
9396 self = self;
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9398 return NULL;
9399 if (_argo0) {
9400 if (_argo0 == Py_None) { _arg0 = NULL; }
9401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9403 return NULL;
9404 }
9405 }
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) return NULL;
9412 } _resultobj = Py_BuildValue("i",_result);
9413 return _resultobj;
9414 }
9415
9416 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9417 static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9418 PyObject * _resultobj;
9419 int _result;
9420 wxGrid * _arg0;
9421 PyObject * _argo0 = 0;
9422 char *_kwnames[] = { "self", NULL };
9423
9424 self = self;
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9426 return NULL;
9427 if (_argo0) {
9428 if (_argo0 == Py_None) { _arg0 = NULL; }
9429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9431 return NULL;
9432 }
9433 }
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) return NULL;
9440 } _resultobj = Py_BuildValue("i",_result);
9441 return _resultobj;
9442 }
9443
9444 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9445 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9446 PyObject * _resultobj;
9447 wxGrid * _arg0;
9448 int _arg1;
9449 PyObject * _argo0 = 0;
9450 char *_kwnames[] = { "self","width", NULL };
9451
9452 self = self;
9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9454 return NULL;
9455 if (_argo0) {
9456 if (_argo0 == Py_None) { _arg0 = NULL; }
9457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9459 return NULL;
9460 }
9461 }
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 wxGrid_SetRowLabelSize(_arg0,_arg1);
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) return NULL;
9468 } Py_INCREF(Py_None);
9469 _resultobj = Py_None;
9470 return _resultobj;
9471 }
9472
9473 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9474 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9475 PyObject * _resultobj;
9476 wxGrid * _arg0;
9477 int _arg1;
9478 PyObject * _argo0 = 0;
9479 char *_kwnames[] = { "self","height", NULL };
9480
9481 self = self;
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9483 return NULL;
9484 if (_argo0) {
9485 if (_argo0 == Py_None) { _arg0 = NULL; }
9486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9488 return NULL;
9489 }
9490 }
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 wxGrid_SetColLabelSize(_arg0,_arg1);
9494
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) return NULL;
9497 } Py_INCREF(Py_None);
9498 _resultobj = Py_None;
9499 return _resultobj;
9500 }
9501
9502 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9503 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9504 PyObject * _resultobj;
9505 wxGrid * _arg0;
9506 wxColour * _arg1;
9507 PyObject * _argo0 = 0;
9508 wxColour temp;
9509 PyObject * _obj1 = 0;
9510 char *_kwnames[] = { "self","arg2", NULL };
9511
9512 self = self;
9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9514 return NULL;
9515 if (_argo0) {
9516 if (_argo0 == Py_None) { _arg0 = NULL; }
9517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9519 return NULL;
9520 }
9521 }
9522 {
9523 _arg1 = &temp;
9524 if (! wxColour_helper(_obj1, &_arg1))
9525 return NULL;
9526 }
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) return NULL;
9533 } Py_INCREF(Py_None);
9534 _resultobj = Py_None;
9535 return _resultobj;
9536 }
9537
9538 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9539 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9540 PyObject * _resultobj;
9541 wxGrid * _arg0;
9542 wxColour * _arg1;
9543 PyObject * _argo0 = 0;
9544 wxColour temp;
9545 PyObject * _obj1 = 0;
9546 char *_kwnames[] = { "self","arg2", NULL };
9547
9548 self = self;
9549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9550 return NULL;
9551 if (_argo0) {
9552 if (_argo0 == Py_None) { _arg0 = NULL; }
9553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9555 return NULL;
9556 }
9557 }
9558 {
9559 _arg1 = &temp;
9560 if (! wxColour_helper(_obj1, &_arg1))
9561 return NULL;
9562 }
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) return NULL;
9569 } Py_INCREF(Py_None);
9570 _resultobj = Py_None;
9571 return _resultobj;
9572 }
9573
9574 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9575 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject * _resultobj;
9577 wxGrid * _arg0;
9578 wxFont * _arg1;
9579 PyObject * _argo0 = 0;
9580 PyObject * _argo1 = 0;
9581 char *_kwnames[] = { "self","arg2", NULL };
9582
9583 self = self;
9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9585 return NULL;
9586 if (_argo0) {
9587 if (_argo0 == Py_None) { _arg0 = NULL; }
9588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9590 return NULL;
9591 }
9592 }
9593 if (_argo1) {
9594 if (_argo1 == Py_None) { _arg1 = NULL; }
9595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9597 return NULL;
9598 }
9599 }
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 wxGrid_SetLabelFont(_arg0,*_arg1);
9603
9604 wxPyEndAllowThreads(__tstate);
9605 if (PyErr_Occurred()) return NULL;
9606 } Py_INCREF(Py_None);
9607 _resultobj = Py_None;
9608 return _resultobj;
9609 }
9610
9611 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9612 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject * _resultobj;
9614 wxGrid * _arg0;
9615 int _arg1;
9616 int _arg2;
9617 PyObject * _argo0 = 0;
9618 char *_kwnames[] = { "self","horiz","vert", NULL };
9619
9620 self = self;
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9622 return NULL;
9623 if (_argo0) {
9624 if (_argo0 == Py_None) { _arg0 = NULL; }
9625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9627 return NULL;
9628 }
9629 }
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) return NULL;
9636 } Py_INCREF(Py_None);
9637 _resultobj = Py_None;
9638 return _resultobj;
9639 }
9640
9641 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9642 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9643 PyObject * _resultobj;
9644 wxGrid * _arg0;
9645 int _arg1;
9646 int _arg2;
9647 PyObject * _argo0 = 0;
9648 char *_kwnames[] = { "self","horiz","vert", NULL };
9649
9650 self = self;
9651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9652 return NULL;
9653 if (_argo0) {
9654 if (_argo0 == Py_None) { _arg0 = NULL; }
9655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9657 return NULL;
9658 }
9659 }
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9663
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) return NULL;
9666 } Py_INCREF(Py_None);
9667 _resultobj = Py_None;
9668 return _resultobj;
9669 }
9670
9671 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9672 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9673 PyObject * _resultobj;
9674 wxGrid * _arg0;
9675 int _arg1;
9676 wxString * _arg2;
9677 PyObject * _argo0 = 0;
9678 PyObject * _obj2 = 0;
9679 char *_kwnames[] = { "self","row","arg3", NULL };
9680
9681 self = self;
9682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9683 return NULL;
9684 if (_argo0) {
9685 if (_argo0 == Py_None) { _arg0 = NULL; }
9686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9688 return NULL;
9689 }
9690 }
9691 {
9692 #if PYTHON_API_VERSION >= 1009
9693 char* tmpPtr; int tmpSize;
9694 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9695 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9696 return NULL;
9697 }
9698 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9699 return NULL;
9700 _arg2 = new wxString(tmpPtr, tmpSize);
9701 #else
9702 if (!PyString_Check(_obj2)) {
9703 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9704 return NULL;
9705 }
9706 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9707 #endif
9708 }
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9712
9713 wxPyEndAllowThreads(__tstate);
9714 if (PyErr_Occurred()) return NULL;
9715 } Py_INCREF(Py_None);
9716 _resultobj = Py_None;
9717 {
9718 if (_obj2)
9719 delete _arg2;
9720 }
9721 return _resultobj;
9722 }
9723
9724 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9725 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9726 PyObject * _resultobj;
9727 wxGrid * _arg0;
9728 int _arg1;
9729 wxString * _arg2;
9730 PyObject * _argo0 = 0;
9731 PyObject * _obj2 = 0;
9732 char *_kwnames[] = { "self","col","arg3", NULL };
9733
9734 self = self;
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9736 return NULL;
9737 if (_argo0) {
9738 if (_argo0 == Py_None) { _arg0 = NULL; }
9739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9741 return NULL;
9742 }
9743 }
9744 {
9745 #if PYTHON_API_VERSION >= 1009
9746 char* tmpPtr; int tmpSize;
9747 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9748 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9749 return NULL;
9750 }
9751 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9752 return NULL;
9753 _arg2 = new wxString(tmpPtr, tmpSize);
9754 #else
9755 if (!PyString_Check(_obj2)) {
9756 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9757 return NULL;
9758 }
9759 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9760 #endif
9761 }
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9765
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) return NULL;
9768 } Py_INCREF(Py_None);
9769 _resultobj = Py_None;
9770 {
9771 if (_obj2)
9772 delete _arg2;
9773 }
9774 return _resultobj;
9775 }
9776
9777 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9778 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9779 PyObject * _resultobj;
9780 wxGrid * _arg0;
9781 wxColour * _arg1;
9782 PyObject * _argo0 = 0;
9783 wxColour temp;
9784 PyObject * _obj1 = 0;
9785 char *_kwnames[] = { "self","arg2", NULL };
9786
9787 self = self;
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9789 return NULL;
9790 if (_argo0) {
9791 if (_argo0 == Py_None) { _arg0 = NULL; }
9792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9794 return NULL;
9795 }
9796 }
9797 {
9798 _arg1 = &temp;
9799 if (! wxColour_helper(_obj1, &_arg1))
9800 return NULL;
9801 }
9802 {
9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
9804 wxGrid_SetGridLineColour(_arg0,*_arg1);
9805
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) return NULL;
9808 } Py_INCREF(Py_None);
9809 _resultobj = Py_None;
9810 return _resultobj;
9811 }
9812
9813 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9814 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject * _resultobj;
9816 wxGrid * _arg0;
9817 wxColour * _arg1;
9818 PyObject * _argo0 = 0;
9819 wxColour temp;
9820 PyObject * _obj1 = 0;
9821 char *_kwnames[] = { "self","arg2", NULL };
9822
9823 self = self;
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9825 return NULL;
9826 if (_argo0) {
9827 if (_argo0 == Py_None) { _arg0 = NULL; }
9828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9830 return NULL;
9831 }
9832 }
9833 {
9834 _arg1 = &temp;
9835 if (! wxColour_helper(_obj1, &_arg1))
9836 return NULL;
9837 }
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9841
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) return NULL;
9844 } Py_INCREF(Py_None);
9845 _resultobj = Py_None;
9846 return _resultobj;
9847 }
9848
9849 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9850 static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9851 PyObject * _resultobj;
9852 wxGrid * _arg0;
9853 int _arg1;
9854 PyObject * _argo0 = 0;
9855 char *_kwnames[] = { "self","width", NULL };
9856
9857 self = self;
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
9859 return NULL;
9860 if (_argo0) {
9861 if (_argo0 == Py_None) { _arg0 = NULL; }
9862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9864 return NULL;
9865 }
9866 }
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) return NULL;
9873 } Py_INCREF(Py_None);
9874 _resultobj = Py_None;
9875 return _resultobj;
9876 }
9877
9878 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9879 static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9880 PyObject * _resultobj;
9881 wxGrid * _arg0;
9882 int _arg1;
9883 PyObject * _argo0 = 0;
9884 char *_kwnames[] = { "self","width", NULL };
9885
9886 self = self;
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
9888 return NULL;
9889 if (_argo0) {
9890 if (_argo0 == Py_None) { _arg0 = NULL; }
9891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9893 return NULL;
9894 }
9895 }
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) return NULL;
9902 } Py_INCREF(Py_None);
9903 _resultobj = Py_None;
9904 return _resultobj;
9905 }
9906
9907 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9908 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9909 PyObject * _resultobj;
9910 wxGrid * _arg0;
9911 bool _arg1 = (bool ) TRUE;
9912 PyObject * _argo0 = 0;
9913 int tempbool1 = (int) TRUE;
9914 char *_kwnames[] = { "self","enable", NULL };
9915
9916 self = self;
9917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9918 return NULL;
9919 if (_argo0) {
9920 if (_argo0 == Py_None) { _arg0 = NULL; }
9921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9923 return NULL;
9924 }
9925 }
9926 _arg1 = (bool ) tempbool1;
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 wxGrid_EnableDragRowSize(_arg0,_arg1);
9930
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) return NULL;
9933 } Py_INCREF(Py_None);
9934 _resultobj = Py_None;
9935 return _resultobj;
9936 }
9937
9938 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9939 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9940 PyObject * _resultobj;
9941 wxGrid * _arg0;
9942 PyObject * _argo0 = 0;
9943 char *_kwnames[] = { "self", NULL };
9944
9945 self = self;
9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9947 return NULL;
9948 if (_argo0) {
9949 if (_argo0 == Py_None) { _arg0 = NULL; }
9950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9952 return NULL;
9953 }
9954 }
9955 {
9956 PyThreadState* __tstate = wxPyBeginAllowThreads();
9957 wxGrid_DisableDragRowSize(_arg0);
9958
9959 wxPyEndAllowThreads(__tstate);
9960 if (PyErr_Occurred()) return NULL;
9961 } Py_INCREF(Py_None);
9962 _resultobj = Py_None;
9963 return _resultobj;
9964 }
9965
9966 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9967 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9968 PyObject * _resultobj;
9969 bool _result;
9970 wxGrid * _arg0;
9971 PyObject * _argo0 = 0;
9972 char *_kwnames[] = { "self", NULL };
9973
9974 self = self;
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9976 return NULL;
9977 if (_argo0) {
9978 if (_argo0 == Py_None) { _arg0 = NULL; }
9979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9981 return NULL;
9982 }
9983 }
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) return NULL;
9990 } _resultobj = Py_BuildValue("i",_result);
9991 return _resultobj;
9992 }
9993
9994 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9995 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9996 PyObject * _resultobj;
9997 wxGrid * _arg0;
9998 bool _arg1 = (bool ) TRUE;
9999 PyObject * _argo0 = 0;
10000 int tempbool1 = (int) TRUE;
10001 char *_kwnames[] = { "self","enable", NULL };
10002
10003 self = self;
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
10005 return NULL;
10006 if (_argo0) {
10007 if (_argo0 == Py_None) { _arg0 = NULL; }
10008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10010 return NULL;
10011 }
10012 }
10013 _arg1 = (bool ) tempbool1;
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 wxGrid_EnableDragColSize(_arg0,_arg1);
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) return NULL;
10020 } Py_INCREF(Py_None);
10021 _resultobj = Py_None;
10022 return _resultobj;
10023 }
10024
10025 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10026 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10027 PyObject * _resultobj;
10028 wxGrid * _arg0;
10029 PyObject * _argo0 = 0;
10030 char *_kwnames[] = { "self", NULL };
10031
10032 self = self;
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
10034 return NULL;
10035 if (_argo0) {
10036 if (_argo0 == Py_None) { _arg0 = NULL; }
10037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10039 return NULL;
10040 }
10041 }
10042 {
10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044 wxGrid_DisableDragColSize(_arg0);
10045
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) return NULL;
10048 } Py_INCREF(Py_None);
10049 _resultobj = Py_None;
10050 return _resultobj;
10051 }
10052
10053 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10054 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10055 PyObject * _resultobj;
10056 bool _result;
10057 wxGrid * _arg0;
10058 PyObject * _argo0 = 0;
10059 char *_kwnames[] = { "self", NULL };
10060
10061 self = self;
10062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
10063 return NULL;
10064 if (_argo0) {
10065 if (_argo0 == Py_None) { _arg0 = NULL; }
10066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10068 return NULL;
10069 }
10070 }
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 _result = (bool )wxGrid_CanDragColSize(_arg0);
10074
10075 wxPyEndAllowThreads(__tstate);
10076 if (PyErr_Occurred()) return NULL;
10077 } _resultobj = Py_BuildValue("i",_result);
10078 return _resultobj;
10079 }
10080
10081 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10082 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10083 PyObject * _resultobj;
10084 wxGrid * _arg0;
10085 bool _arg1 = (bool ) TRUE;
10086 PyObject * _argo0 = 0;
10087 int tempbool1 = (int) TRUE;
10088 char *_kwnames[] = { "self","enable", NULL };
10089
10090 self = self;
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
10092 return NULL;
10093 if (_argo0) {
10094 if (_argo0 == Py_None) { _arg0 = NULL; }
10095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10097 return NULL;
10098 }
10099 }
10100 _arg1 = (bool ) tempbool1;
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 wxGrid_EnableDragGridSize(_arg0,_arg1);
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) return NULL;
10107 } Py_INCREF(Py_None);
10108 _resultobj = Py_None;
10109 return _resultobj;
10110 }
10111
10112 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10113 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject * _resultobj;
10115 wxGrid * _arg0;
10116 PyObject * _argo0 = 0;
10117 char *_kwnames[] = { "self", NULL };
10118
10119 self = self;
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
10121 return NULL;
10122 if (_argo0) {
10123 if (_argo0 == Py_None) { _arg0 = NULL; }
10124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10126 return NULL;
10127 }
10128 }
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 wxGrid_DisableDragGridSize(_arg0);
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) return NULL;
10135 } Py_INCREF(Py_None);
10136 _resultobj = Py_None;
10137 return _resultobj;
10138 }
10139
10140 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10141 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10142 PyObject * _resultobj;
10143 bool _result;
10144 wxGrid * _arg0;
10145 PyObject * _argo0 = 0;
10146 char *_kwnames[] = { "self", NULL };
10147
10148 self = self;
10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
10150 return NULL;
10151 if (_argo0) {
10152 if (_argo0 == Py_None) { _arg0 = NULL; }
10153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10155 return NULL;
10156 }
10157 }
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 _result = (bool )wxGrid_CanDragGridSize(_arg0);
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) return NULL;
10164 } _resultobj = Py_BuildValue("i",_result);
10165 return _resultobj;
10166 }
10167
10168 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10169 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10170 PyObject * _resultobj;
10171 wxGrid * _arg0;
10172 int _arg1;
10173 wxGridCellAttr * _arg2;
10174 PyObject * _argo0 = 0;
10175 PyObject * _argo2 = 0;
10176 char *_kwnames[] = { "self","row","attr", NULL };
10177
10178 self = self;
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10180 return NULL;
10181 if (_argo0) {
10182 if (_argo0 == Py_None) { _arg0 = NULL; }
10183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10185 return NULL;
10186 }
10187 }
10188 if (_argo2) {
10189 if (_argo2 == Py_None) { _arg2 = NULL; }
10190 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10191 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10192 return NULL;
10193 }
10194 }
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) return NULL;
10201 } Py_INCREF(Py_None);
10202 _resultobj = Py_None;
10203 return _resultobj;
10204 }
10205
10206 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10207 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject * _resultobj;
10209 wxGrid * _arg0;
10210 int _arg1;
10211 wxGridCellAttr * _arg2;
10212 PyObject * _argo0 = 0;
10213 PyObject * _argo2 = 0;
10214 char *_kwnames[] = { "self","col","attr", NULL };
10215
10216 self = self;
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10218 return NULL;
10219 if (_argo0) {
10220 if (_argo0 == Py_None) { _arg0 = NULL; }
10221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10223 return NULL;
10224 }
10225 }
10226 if (_argo2) {
10227 if (_argo2 == Py_None) { _arg2 = NULL; }
10228 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10229 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10230 return NULL;
10231 }
10232 }
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) return NULL;
10239 } Py_INCREF(Py_None);
10240 _resultobj = Py_None;
10241 return _resultobj;
10242 }
10243
10244 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10245 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject * _resultobj;
10247 wxGrid * _arg0;
10248 int _arg1;
10249 PyObject * _argo0 = 0;
10250 char *_kwnames[] = { "self","col", NULL };
10251
10252 self = self;
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10254 return NULL;
10255 if (_argo0) {
10256 if (_argo0 == Py_None) { _arg0 = NULL; }
10257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10259 return NULL;
10260 }
10261 }
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 wxGrid_SetColFormatBool(_arg0,_arg1);
10265
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) return NULL;
10268 } Py_INCREF(Py_None);
10269 _resultobj = Py_None;
10270 return _resultobj;
10271 }
10272
10273 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10274 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10275 PyObject * _resultobj;
10276 wxGrid * _arg0;
10277 int _arg1;
10278 PyObject * _argo0 = 0;
10279 char *_kwnames[] = { "self","col", NULL };
10280
10281 self = self;
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10283 return NULL;
10284 if (_argo0) {
10285 if (_argo0 == Py_None) { _arg0 = NULL; }
10286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10288 return NULL;
10289 }
10290 }
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 wxGrid_SetColFormatNumber(_arg0,_arg1);
10294
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) return NULL;
10297 } Py_INCREF(Py_None);
10298 _resultobj = Py_None;
10299 return _resultobj;
10300 }
10301
10302 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10303 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10304 PyObject * _resultobj;
10305 wxGrid * _arg0;
10306 int _arg1;
10307 int _arg2 = (int ) -1;
10308 int _arg3 = (int ) -1;
10309 PyObject * _argo0 = 0;
10310 char *_kwnames[] = { "self","col","width","precision", NULL };
10311
10312 self = self;
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10314 return NULL;
10315 if (_argo0) {
10316 if (_argo0 == Py_None) { _arg0 = NULL; }
10317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10319 return NULL;
10320 }
10321 }
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) return NULL;
10328 } Py_INCREF(Py_None);
10329 _resultobj = Py_None;
10330 return _resultobj;
10331 }
10332
10333 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10334 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10335 PyObject * _resultobj;
10336 wxGrid * _arg0;
10337 int _arg1;
10338 wxString * _arg2;
10339 PyObject * _argo0 = 0;
10340 PyObject * _obj2 = 0;
10341 char *_kwnames[] = { "self","col","typeName", NULL };
10342
10343 self = self;
10344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10345 return NULL;
10346 if (_argo0) {
10347 if (_argo0 == Py_None) { _arg0 = NULL; }
10348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10350 return NULL;
10351 }
10352 }
10353 {
10354 #if PYTHON_API_VERSION >= 1009
10355 char* tmpPtr; int tmpSize;
10356 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
10357 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10358 return NULL;
10359 }
10360 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
10361 return NULL;
10362 _arg2 = new wxString(tmpPtr, tmpSize);
10363 #else
10364 if (!PyString_Check(_obj2)) {
10365 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10366 return NULL;
10367 }
10368 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
10369 #endif
10370 }
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) return NULL;
10377 } Py_INCREF(Py_None);
10378 _resultobj = Py_None;
10379 {
10380 if (_obj2)
10381 delete _arg2;
10382 }
10383 return _resultobj;
10384 }
10385
10386 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10387 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10388 PyObject * _resultobj;
10389 wxGrid * _arg0;
10390 bool _arg1 = (bool ) TRUE;
10391 PyObject * _argo0 = 0;
10392 int tempbool1 = (int) TRUE;
10393 char *_kwnames[] = { "self","enable", NULL };
10394
10395 self = self;
10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10397 return NULL;
10398 if (_argo0) {
10399 if (_argo0 == Py_None) { _arg0 = NULL; }
10400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10402 return NULL;
10403 }
10404 }
10405 _arg1 = (bool ) tempbool1;
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 wxGrid_EnableGridLines(_arg0,_arg1);
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) return NULL;
10412 } Py_INCREF(Py_None);
10413 _resultobj = Py_None;
10414 return _resultobj;
10415 }
10416
10417 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10418 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject * _resultobj;
10420 bool _result;
10421 wxGrid * _arg0;
10422 PyObject * _argo0 = 0;
10423 char *_kwnames[] = { "self", NULL };
10424
10425 self = self;
10426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10427 return NULL;
10428 if (_argo0) {
10429 if (_argo0 == Py_None) { _arg0 = NULL; }
10430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10432 return NULL;
10433 }
10434 }
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) return NULL;
10441 } _resultobj = Py_BuildValue("i",_result);
10442 return _resultobj;
10443 }
10444
10445 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10446 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject * _resultobj;
10448 int _result;
10449 wxGrid * _arg0;
10450 PyObject * _argo0 = 0;
10451 char *_kwnames[] = { "self", NULL };
10452
10453 self = self;
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10455 return NULL;
10456 if (_argo0) {
10457 if (_argo0 == Py_None) { _arg0 = NULL; }
10458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10460 return NULL;
10461 }
10462 }
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) return NULL;
10469 } _resultobj = Py_BuildValue("i",_result);
10470 return _resultobj;
10471 }
10472
10473 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10474 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10475 PyObject * _resultobj;
10476 int _result;
10477 wxGrid * _arg0;
10478 int _arg1;
10479 PyObject * _argo0 = 0;
10480 char *_kwnames[] = { "self","row", NULL };
10481
10482 self = self;
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10484 return NULL;
10485 if (_argo0) {
10486 if (_argo0 == Py_None) { _arg0 = NULL; }
10487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10489 return NULL;
10490 }
10491 }
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) return NULL;
10498 } _resultobj = Py_BuildValue("i",_result);
10499 return _resultobj;
10500 }
10501
10502 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10503 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10504 PyObject * _resultobj;
10505 int _result;
10506 wxGrid * _arg0;
10507 PyObject * _argo0 = 0;
10508 char *_kwnames[] = { "self", NULL };
10509
10510 self = self;
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
10512 return NULL;
10513 if (_argo0) {
10514 if (_argo0 == Py_None) { _arg0 = NULL; }
10515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10517 return NULL;
10518 }
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 _result = (int )wxGrid_GetDefaultColSize(_arg0);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) return NULL;
10526 } _resultobj = Py_BuildValue("i",_result);
10527 return _resultobj;
10528 }
10529
10530 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10531 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10532 PyObject * _resultobj;
10533 int _result;
10534 wxGrid * _arg0;
10535 int _arg1;
10536 PyObject * _argo0 = 0;
10537 char *_kwnames[] = { "self","col", NULL };
10538
10539 self = self;
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10541 return NULL;
10542 if (_argo0) {
10543 if (_argo0 == Py_None) { _arg0 = NULL; }
10544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10546 return NULL;
10547 }
10548 }
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) return NULL;
10555 } _resultobj = Py_BuildValue("i",_result);
10556 return _resultobj;
10557 }
10558
10559 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10560 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10561 PyObject * _resultobj;
10562 wxColour * _result;
10563 wxGrid * _arg0;
10564 PyObject * _argo0 = 0;
10565 char *_kwnames[] = { "self", NULL };
10566 char _ptemp[128];
10567
10568 self = self;
10569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10570 return NULL;
10571 if (_argo0) {
10572 if (_argo0 == Py_None) { _arg0 = NULL; }
10573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10575 return NULL;
10576 }
10577 }
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) return NULL;
10584 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10585 _resultobj = Py_BuildValue("s",_ptemp);
10586 return _resultobj;
10587 }
10588
10589 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10590 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject * _resultobj;
10592 wxColour * _result;
10593 wxGrid * _arg0;
10594 int _arg1;
10595 int _arg2;
10596 PyObject * _argo0 = 0;
10597 char *_kwnames[] = { "self","row","col", NULL };
10598 char _ptemp[128];
10599
10600 self = self;
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10602 return NULL;
10603 if (_argo0) {
10604 if (_argo0 == Py_None) { _arg0 = NULL; }
10605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10607 return NULL;
10608 }
10609 }
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) return NULL;
10616 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10617 _resultobj = Py_BuildValue("s",_ptemp);
10618 return _resultobj;
10619 }
10620
10621 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10622 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject * _resultobj;
10624 wxColour * _result;
10625 wxGrid * _arg0;
10626 PyObject * _argo0 = 0;
10627 char *_kwnames[] = { "self", NULL };
10628 char _ptemp[128];
10629
10630 self = self;
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10632 return NULL;
10633 if (_argo0) {
10634 if (_argo0 == Py_None) { _arg0 = NULL; }
10635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10637 return NULL;
10638 }
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) return NULL;
10646 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10647 _resultobj = Py_BuildValue("s",_ptemp);
10648 return _resultobj;
10649 }
10650
10651 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10652 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject * _resultobj;
10654 wxColour * _result;
10655 wxGrid * _arg0;
10656 int _arg1;
10657 int _arg2;
10658 PyObject * _argo0 = 0;
10659 char *_kwnames[] = { "self","row","col", NULL };
10660 char _ptemp[128];
10661
10662 self = self;
10663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10664 return NULL;
10665 if (_argo0) {
10666 if (_argo0 == Py_None) { _arg0 = NULL; }
10667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10669 return NULL;
10670 }
10671 }
10672 {
10673 PyThreadState* __tstate = wxPyBeginAllowThreads();
10674 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
10675
10676 wxPyEndAllowThreads(__tstate);
10677 if (PyErr_Occurred()) return NULL;
10678 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10679 _resultobj = Py_BuildValue("s",_ptemp);
10680 return _resultobj;
10681 }
10682
10683 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10684 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10685 PyObject * _resultobj;
10686 wxFont * _result;
10687 wxGrid * _arg0;
10688 PyObject * _argo0 = 0;
10689 char *_kwnames[] = { "self", NULL };
10690 char _ptemp[128];
10691
10692 self = self;
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10694 return NULL;
10695 if (_argo0) {
10696 if (_argo0 == Py_None) { _arg0 = NULL; }
10697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10699 return NULL;
10700 }
10701 }
10702 {
10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
10704 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
10705
10706 wxPyEndAllowThreads(__tstate);
10707 if (PyErr_Occurred()) return NULL;
10708 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10709 _resultobj = Py_BuildValue("s",_ptemp);
10710 return _resultobj;
10711 }
10712
10713 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10714 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10715 PyObject * _resultobj;
10716 wxFont * _result;
10717 wxGrid * _arg0;
10718 int _arg1;
10719 int _arg2;
10720 PyObject * _argo0 = 0;
10721 char *_kwnames[] = { "self","row","col", NULL };
10722 char _ptemp[128];
10723
10724 self = self;
10725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10726 return NULL;
10727 if (_argo0) {
10728 if (_argo0 == Py_None) { _arg0 = NULL; }
10729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10731 return NULL;
10732 }
10733 }
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
10737
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) return NULL;
10740 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10741 _resultobj = Py_BuildValue("s",_ptemp);
10742 return _resultobj;
10743 }
10744
10745 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10746 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10747 PyObject * _resultobj;
10748 wxGrid * _arg0;
10749 int * _arg1;
10750 int * _arg2;
10751 PyObject * _argo0 = 0;
10752 PyObject * _argo1 = 0;
10753 PyObject * _argo2 = 0;
10754 char *_kwnames[] = { "self","horiz","vert", NULL };
10755
10756 self = self;
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10758 return NULL;
10759 if (_argo0) {
10760 if (_argo0 == Py_None) { _arg0 = NULL; }
10761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10763 return NULL;
10764 }
10765 }
10766 if (_argo1) {
10767 if (_argo1 == Py_None) { _arg1 = NULL; }
10768 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10769 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10770 return NULL;
10771 }
10772 }
10773 if (_argo2) {
10774 if (_argo2 == Py_None) { _arg2 = NULL; }
10775 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10776 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10777 return NULL;
10778 }
10779 }
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) return NULL;
10786 } Py_INCREF(Py_None);
10787 _resultobj = Py_None;
10788 return _resultobj;
10789 }
10790
10791 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10792 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10793 PyObject * _resultobj;
10794 wxGrid * _arg0;
10795 int _arg1;
10796 int _arg2;
10797 int * _arg3;
10798 int * _arg4;
10799 PyObject * _argo0 = 0;
10800 PyObject * _argo3 = 0;
10801 PyObject * _argo4 = 0;
10802 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10803
10804 self = self;
10805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10806 return NULL;
10807 if (_argo0) {
10808 if (_argo0 == Py_None) { _arg0 = NULL; }
10809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10811 return NULL;
10812 }
10813 }
10814 if (_argo3) {
10815 if (_argo3 == Py_None) { _arg3 = NULL; }
10816 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10817 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10818 return NULL;
10819 }
10820 }
10821 if (_argo4) {
10822 if (_argo4 == Py_None) { _arg4 = NULL; }
10823 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10824 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10825 return NULL;
10826 }
10827 }
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10831
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) return NULL;
10834 } Py_INCREF(Py_None);
10835 _resultobj = Py_None;
10836 return _resultobj;
10837 }
10838
10839 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10840 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject * _resultobj;
10842 wxGrid * _arg0;
10843 int _arg1;
10844 bool _arg2 = (bool ) FALSE;
10845 PyObject * _argo0 = 0;
10846 int tempbool2 = (int) FALSE;
10847 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10848
10849 self = self;
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10851 return NULL;
10852 if (_argo0) {
10853 if (_argo0 == Py_None) { _arg0 = NULL; }
10854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10856 return NULL;
10857 }
10858 }
10859 _arg2 = (bool ) tempbool2;
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) return NULL;
10866 } Py_INCREF(Py_None);
10867 _resultobj = Py_None;
10868 return _resultobj;
10869 }
10870
10871 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10872 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10873 PyObject * _resultobj;
10874 wxGrid * _arg0;
10875 int _arg1;
10876 int _arg2;
10877 PyObject * _argo0 = 0;
10878 char *_kwnames[] = { "self","row","height", NULL };
10879
10880 self = self;
10881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10882 return NULL;
10883 if (_argo0) {
10884 if (_argo0 == Py_None) { _arg0 = NULL; }
10885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10887 return NULL;
10888 }
10889 }
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) return NULL;
10896 } Py_INCREF(Py_None);
10897 _resultobj = Py_None;
10898 return _resultobj;
10899 }
10900
10901 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10902 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject * _resultobj;
10904 wxGrid * _arg0;
10905 int _arg1;
10906 bool _arg2 = (bool ) FALSE;
10907 PyObject * _argo0 = 0;
10908 int tempbool2 = (int) FALSE;
10909 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10910
10911 self = self;
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10913 return NULL;
10914 if (_argo0) {
10915 if (_argo0 == Py_None) { _arg0 = NULL; }
10916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10918 return NULL;
10919 }
10920 }
10921 _arg2 = (bool ) tempbool2;
10922 {
10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
10924 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10925
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) return NULL;
10928 } Py_INCREF(Py_None);
10929 _resultobj = Py_None;
10930 return _resultobj;
10931 }
10932
10933 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10934 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10935 PyObject * _resultobj;
10936 wxGrid * _arg0;
10937 int _arg1;
10938 int _arg2;
10939 PyObject * _argo0 = 0;
10940 char *_kwnames[] = { "self","col","width", NULL };
10941
10942 self = self;
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10944 return NULL;
10945 if (_argo0) {
10946 if (_argo0 == Py_None) { _arg0 = NULL; }
10947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10949 return NULL;
10950 }
10951 }
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) return NULL;
10958 } Py_INCREF(Py_None);
10959 _resultobj = Py_None;
10960 return _resultobj;
10961 }
10962
10963 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10964 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10965 PyObject * _resultobj;
10966 wxGrid * _arg0;
10967 int _arg1;
10968 bool _arg2 = (bool ) TRUE;
10969 PyObject * _argo0 = 0;
10970 int tempbool2 = (int) TRUE;
10971 char *_kwnames[] = { "self","col","setAsMin", NULL };
10972
10973 self = self;
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10975 return NULL;
10976 if (_argo0) {
10977 if (_argo0 == Py_None) { _arg0 = NULL; }
10978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10980 return NULL;
10981 }
10982 }
10983 _arg2 = (bool ) tempbool2;
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) return NULL;
10990 } Py_INCREF(Py_None);
10991 _resultobj = Py_None;
10992 return _resultobj;
10993 }
10994
10995 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10996 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10997 PyObject * _resultobj;
10998 wxGrid * _arg0;
10999 int _arg1;
11000 bool _arg2 = (bool ) TRUE;
11001 PyObject * _argo0 = 0;
11002 int tempbool2 = (int) TRUE;
11003 char *_kwnames[] = { "self","row","setAsMin", NULL };
11004
11005 self = self;
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11007 return NULL;
11008 if (_argo0) {
11009 if (_argo0 == Py_None) { _arg0 = NULL; }
11010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11012 return NULL;
11013 }
11014 }
11015 _arg2 = (bool ) tempbool2;
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) return NULL;
11022 } Py_INCREF(Py_None);
11023 _resultobj = Py_None;
11024 return _resultobj;
11025 }
11026
11027 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11028 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
11029 PyObject * _resultobj;
11030 wxGrid * _arg0;
11031 bool _arg1 = (bool ) TRUE;
11032 PyObject * _argo0 = 0;
11033 int tempbool1 = (int) TRUE;
11034 char *_kwnames[] = { "self","setAsMin", NULL };
11035
11036 self = self;
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
11038 return NULL;
11039 if (_argo0) {
11040 if (_argo0 == Py_None) { _arg0 = NULL; }
11041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11043 return NULL;
11044 }
11045 }
11046 _arg1 = (bool ) tempbool1;
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 wxGrid_AutoSizeColumns(_arg0,_arg1);
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) return NULL;
11053 } Py_INCREF(Py_None);
11054 _resultobj = Py_None;
11055 return _resultobj;
11056 }
11057
11058 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11059 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
11060 PyObject * _resultobj;
11061 wxGrid * _arg0;
11062 bool _arg1 = (bool ) TRUE;
11063 PyObject * _argo0 = 0;
11064 int tempbool1 = (int) TRUE;
11065 char *_kwnames[] = { "self","setAsMin", NULL };
11066
11067 self = self;
11068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
11069 return NULL;
11070 if (_argo0) {
11071 if (_argo0 == Py_None) { _arg0 = NULL; }
11072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11074 return NULL;
11075 }
11076 }
11077 _arg1 = (bool ) tempbool1;
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 wxGrid_AutoSizeRows(_arg0,_arg1);
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) return NULL;
11084 } Py_INCREF(Py_None);
11085 _resultobj = Py_None;
11086 return _resultobj;
11087 }
11088
11089 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11090 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11091 PyObject * _resultobj;
11092 wxGrid * _arg0;
11093 PyObject * _argo0 = 0;
11094 char *_kwnames[] = { "self", NULL };
11095
11096 self = self;
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
11098 return NULL;
11099 if (_argo0) {
11100 if (_argo0 == Py_None) { _arg0 = NULL; }
11101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11103 return NULL;
11104 }
11105 }
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 wxGrid_AutoSize(_arg0);
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) return NULL;
11112 } Py_INCREF(Py_None);
11113 _resultobj = Py_None;
11114 return _resultobj;
11115 }
11116
11117 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11118 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11119 PyObject * _resultobj;
11120 wxGrid * _arg0;
11121 int _arg1;
11122 int _arg2;
11123 PyObject * _argo0 = 0;
11124 char *_kwnames[] = { "self","col","width", NULL };
11125
11126 self = self;
11127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
11128 return NULL;
11129 if (_argo0) {
11130 if (_argo0 == Py_None) { _arg0 = NULL; }
11131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11133 return NULL;
11134 }
11135 }
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) return NULL;
11142 } Py_INCREF(Py_None);
11143 _resultobj = Py_None;
11144 return _resultobj;
11145 }
11146
11147 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11148 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11149 PyObject * _resultobj;
11150 wxGrid * _arg0;
11151 int _arg1;
11152 int _arg2;
11153 PyObject * _argo0 = 0;
11154 char *_kwnames[] = { "self","row","width", NULL };
11155
11156 self = self;
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
11158 return NULL;
11159 if (_argo0) {
11160 if (_argo0 == Py_None) { _arg0 = NULL; }
11161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11163 return NULL;
11164 }
11165 }
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) return NULL;
11172 } Py_INCREF(Py_None);
11173 _resultobj = Py_None;
11174 return _resultobj;
11175 }
11176
11177 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11178 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11179 PyObject * _resultobj;
11180 wxGrid * _arg0;
11181 wxColour * _arg1;
11182 PyObject * _argo0 = 0;
11183 wxColour temp;
11184 PyObject * _obj1 = 0;
11185 char *_kwnames[] = { "self","arg2", NULL };
11186
11187 self = self;
11188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
11189 return NULL;
11190 if (_argo0) {
11191 if (_argo0 == Py_None) { _arg0 = NULL; }
11192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11194 return NULL;
11195 }
11196 }
11197 {
11198 _arg1 = &temp;
11199 if (! wxColour_helper(_obj1, &_arg1))
11200 return NULL;
11201 }
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) return NULL;
11208 } Py_INCREF(Py_None);
11209 _resultobj = Py_None;
11210 return _resultobj;
11211 }
11212
11213 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11214 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11215 PyObject * _resultobj;
11216 wxGrid * _arg0;
11217 int _arg1;
11218 int _arg2;
11219 wxColour * _arg3;
11220 PyObject * _argo0 = 0;
11221 wxColour temp;
11222 PyObject * _obj3 = 0;
11223 char *_kwnames[] = { "self","row","col","arg4", NULL };
11224
11225 self = self;
11226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11227 return NULL;
11228 if (_argo0) {
11229 if (_argo0 == Py_None) { _arg0 = NULL; }
11230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11232 return NULL;
11233 }
11234 }
11235 {
11236 _arg3 = &temp;
11237 if (! wxColour_helper(_obj3, &_arg3))
11238 return NULL;
11239 }
11240 {
11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
11242 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
11243
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) return NULL;
11246 } Py_INCREF(Py_None);
11247 _resultobj = Py_None;
11248 return _resultobj;
11249 }
11250
11251 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11252 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject * _resultobj;
11254 wxGrid * _arg0;
11255 wxColour * _arg1;
11256 PyObject * _argo0 = 0;
11257 wxColour temp;
11258 PyObject * _obj1 = 0;
11259 char *_kwnames[] = { "self","arg2", NULL };
11260
11261 self = self;
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
11263 return NULL;
11264 if (_argo0) {
11265 if (_argo0 == Py_None) { _arg0 = NULL; }
11266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11268 return NULL;
11269 }
11270 }
11271 {
11272 _arg1 = &temp;
11273 if (! wxColour_helper(_obj1, &_arg1))
11274 return NULL;
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) return NULL;
11282 } Py_INCREF(Py_None);
11283 _resultobj = Py_None;
11284 return _resultobj;
11285 }
11286
11287 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11288 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11289 PyObject * _resultobj;
11290 wxGrid * _arg0;
11291 int _arg1;
11292 int _arg2;
11293 wxColour * _arg3;
11294 PyObject * _argo0 = 0;
11295 wxColour temp;
11296 PyObject * _obj3 = 0;
11297 char *_kwnames[] = { "self","row","col","arg4", NULL };
11298
11299 self = self;
11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11301 return NULL;
11302 if (_argo0) {
11303 if (_argo0 == Py_None) { _arg0 = NULL; }
11304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11306 return NULL;
11307 }
11308 }
11309 {
11310 _arg3 = &temp;
11311 if (! wxColour_helper(_obj3, &_arg3))
11312 return NULL;
11313 }
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) return NULL;
11320 } Py_INCREF(Py_None);
11321 _resultobj = Py_None;
11322 return _resultobj;
11323 }
11324
11325 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11326 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject * _resultobj;
11328 wxGrid * _arg0;
11329 wxFont * _arg1;
11330 PyObject * _argo0 = 0;
11331 PyObject * _argo1 = 0;
11332 char *_kwnames[] = { "self","arg2", NULL };
11333
11334 self = self;
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11336 return NULL;
11337 if (_argo0) {
11338 if (_argo0 == Py_None) { _arg0 = NULL; }
11339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11341 return NULL;
11342 }
11343 }
11344 if (_argo1) {
11345 if (_argo1 == Py_None) { _arg1 = NULL; }
11346 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11347 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11348 return NULL;
11349 }
11350 }
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) return NULL;
11357 } Py_INCREF(Py_None);
11358 _resultobj = Py_None;
11359 return _resultobj;
11360 }
11361
11362 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11363 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11364 PyObject * _resultobj;
11365 wxGrid * _arg0;
11366 int _arg1;
11367 int _arg2;
11368 wxFont * _arg3;
11369 PyObject * _argo0 = 0;
11370 PyObject * _argo3 = 0;
11371 char *_kwnames[] = { "self","row","col","arg4", NULL };
11372
11373 self = self;
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11375 return NULL;
11376 if (_argo0) {
11377 if (_argo0 == Py_None) { _arg0 = NULL; }
11378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11380 return NULL;
11381 }
11382 }
11383 if (_argo3) {
11384 if (_argo3 == Py_None) { _arg3 = NULL; }
11385 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11386 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11387 return NULL;
11388 }
11389 }
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) return NULL;
11396 } Py_INCREF(Py_None);
11397 _resultobj = Py_None;
11398 return _resultobj;
11399 }
11400
11401 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11402 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11403 PyObject * _resultobj;
11404 wxGrid * _arg0;
11405 int _arg1;
11406 int _arg2;
11407 PyObject * _argo0 = 0;
11408 char *_kwnames[] = { "self","horiz","vert", NULL };
11409
11410 self = self;
11411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11412 return NULL;
11413 if (_argo0) {
11414 if (_argo0 == Py_None) { _arg0 = NULL; }
11415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11417 return NULL;
11418 }
11419 }
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
11423
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) return NULL;
11426 } Py_INCREF(Py_None);
11427 _resultobj = Py_None;
11428 return _resultobj;
11429 }
11430
11431 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11432 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11433 PyObject * _resultobj;
11434 wxGrid * _arg0;
11435 int _arg1;
11436 int _arg2;
11437 int _arg3;
11438 int _arg4;
11439 PyObject * _argo0 = 0;
11440 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11441
11442 self = self;
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11444 return NULL;
11445 if (_argo0) {
11446 if (_argo0 == Py_None) { _arg0 = NULL; }
11447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11449 return NULL;
11450 }
11451 }
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11455
11456 wxPyEndAllowThreads(__tstate);
11457 if (PyErr_Occurred()) return NULL;
11458 } Py_INCREF(Py_None);
11459 _resultobj = Py_None;
11460 return _resultobj;
11461 }
11462
11463 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11464 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11465 PyObject * _resultobj;
11466 wxGrid * _arg0;
11467 wxGridCellRenderer * _arg1;
11468 PyObject * _argo0 = 0;
11469 PyObject * _argo1 = 0;
11470 char *_kwnames[] = { "self","renderer", NULL };
11471
11472 self = self;
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
11474 return NULL;
11475 if (_argo0) {
11476 if (_argo0 == Py_None) { _arg0 = NULL; }
11477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11479 return NULL;
11480 }
11481 }
11482 if (_argo1) {
11483 if (_argo1 == Py_None) { _arg1 = NULL; }
11484 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
11485 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11486 return NULL;
11487 }
11488 }
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 wxGrid_SetDefaultRenderer(_arg0,_arg1);
11492
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) return NULL;
11495 } Py_INCREF(Py_None);
11496 _resultobj = Py_None;
11497 return _resultobj;
11498 }
11499
11500 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11501 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11502 PyObject * _resultobj;
11503 wxGrid * _arg0;
11504 int _arg1;
11505 int _arg2;
11506 wxGridCellRenderer * _arg3;
11507 PyObject * _argo0 = 0;
11508 PyObject * _argo3 = 0;
11509 char *_kwnames[] = { "self","row","col","renderer", NULL };
11510
11511 self = self;
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11513 return NULL;
11514 if (_argo0) {
11515 if (_argo0 == Py_None) { _arg0 = NULL; }
11516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11518 return NULL;
11519 }
11520 }
11521 if (_argo3) {
11522 if (_argo3 == Py_None) { _arg3 = NULL; }
11523 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
11524 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11525 return NULL;
11526 }
11527 }
11528 {
11529 PyThreadState* __tstate = wxPyBeginAllowThreads();
11530 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
11531
11532 wxPyEndAllowThreads(__tstate);
11533 if (PyErr_Occurred()) return NULL;
11534 } Py_INCREF(Py_None);
11535 _resultobj = Py_None;
11536 return _resultobj;
11537 }
11538
11539 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11540 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11541 PyObject * _resultobj;
11542 wxGridCellRenderer * _result;
11543 wxGrid * _arg0;
11544 PyObject * _argo0 = 0;
11545 char *_kwnames[] = { "self", NULL };
11546 char _ptemp[128];
11547
11548 self = self;
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
11550 return NULL;
11551 if (_argo0) {
11552 if (_argo0 == Py_None) { _arg0 = NULL; }
11553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11555 return NULL;
11556 }
11557 }
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) return NULL;
11564 } if (_result) {
11565 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11566 _resultobj = Py_BuildValue("s",_ptemp);
11567 } else {
11568 Py_INCREF(Py_None);
11569 _resultobj = Py_None;
11570 }
11571 return _resultobj;
11572 }
11573
11574 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11575 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11576 PyObject * _resultobj;
11577 wxGridCellRenderer * _result;
11578 wxGrid * _arg0;
11579 int _arg1;
11580 int _arg2;
11581 PyObject * _argo0 = 0;
11582 char *_kwnames[] = { "self","row","col", NULL };
11583 char _ptemp[128];
11584
11585 self = self;
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11587 return NULL;
11588 if (_argo0) {
11589 if (_argo0 == Py_None) { _arg0 = NULL; }
11590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11592 return NULL;
11593 }
11594 }
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) return NULL;
11601 } if (_result) {
11602 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11603 _resultobj = Py_BuildValue("s",_ptemp);
11604 } else {
11605 Py_INCREF(Py_None);
11606 _resultobj = Py_None;
11607 }
11608 return _resultobj;
11609 }
11610
11611 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11612 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11613 PyObject * _resultobj;
11614 wxGrid * _arg0;
11615 wxGridCellEditor * _arg1;
11616 PyObject * _argo0 = 0;
11617 PyObject * _argo1 = 0;
11618 char *_kwnames[] = { "self","editor", NULL };
11619
11620 self = self;
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
11622 return NULL;
11623 if (_argo0) {
11624 if (_argo0 == Py_None) { _arg0 = NULL; }
11625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11627 return NULL;
11628 }
11629 }
11630 if (_argo1) {
11631 if (_argo1 == Py_None) { _arg1 = NULL; }
11632 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
11633 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11634 return NULL;
11635 }
11636 }
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 wxGrid_SetDefaultEditor(_arg0,_arg1);
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) return NULL;
11643 } Py_INCREF(Py_None);
11644 _resultobj = Py_None;
11645 return _resultobj;
11646 }
11647
11648 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11649 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11650 PyObject * _resultobj;
11651 wxGrid * _arg0;
11652 int _arg1;
11653 int _arg2;
11654 wxGridCellEditor * _arg3;
11655 PyObject * _argo0 = 0;
11656 PyObject * _argo3 = 0;
11657 char *_kwnames[] = { "self","row","col","editor", NULL };
11658
11659 self = self;
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11661 return NULL;
11662 if (_argo0) {
11663 if (_argo0 == Py_None) { _arg0 = NULL; }
11664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11666 return NULL;
11667 }
11668 }
11669 if (_argo3) {
11670 if (_argo3 == Py_None) { _arg3 = NULL; }
11671 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11672 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11673 return NULL;
11674 }
11675 }
11676 {
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
11678 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
11679
11680 wxPyEndAllowThreads(__tstate);
11681 if (PyErr_Occurred()) return NULL;
11682 } Py_INCREF(Py_None);
11683 _resultobj = Py_None;
11684 return _resultobj;
11685 }
11686
11687 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11688 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11689 PyObject * _resultobj;
11690 wxGridCellEditor * _result;
11691 wxGrid * _arg0;
11692 PyObject * _argo0 = 0;
11693 char *_kwnames[] = { "self", NULL };
11694 char _ptemp[128];
11695
11696 self = self;
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
11698 return NULL;
11699 if (_argo0) {
11700 if (_argo0 == Py_None) { _arg0 = NULL; }
11701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11703 return NULL;
11704 }
11705 }
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) return NULL;
11712 } if (_result) {
11713 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11714 _resultobj = Py_BuildValue("s",_ptemp);
11715 } else {
11716 Py_INCREF(Py_None);
11717 _resultobj = Py_None;
11718 }
11719 return _resultobj;
11720 }
11721
11722 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11723 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject * _resultobj;
11725 wxGridCellEditor * _result;
11726 wxGrid * _arg0;
11727 int _arg1;
11728 int _arg2;
11729 PyObject * _argo0 = 0;
11730 char *_kwnames[] = { "self","row","col", NULL };
11731 char _ptemp[128];
11732
11733 self = self;
11734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
11735 return NULL;
11736 if (_argo0) {
11737 if (_argo0 == Py_None) { _arg0 = NULL; }
11738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11740 return NULL;
11741 }
11742 }
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
11746
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) return NULL;
11749 } if (_result) {
11750 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11751 _resultobj = Py_BuildValue("s",_ptemp);
11752 } else {
11753 Py_INCREF(Py_None);
11754 _resultobj = Py_None;
11755 }
11756 return _resultobj;
11757 }
11758
11759 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11760 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11761 PyObject * _resultobj;
11762 wxString * _result;
11763 wxGrid * _arg0;
11764 int _arg1;
11765 int _arg2;
11766 PyObject * _argo0 = 0;
11767 char *_kwnames[] = { "self","row","col", NULL };
11768
11769 self = self;
11770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
11771 return NULL;
11772 if (_argo0) {
11773 if (_argo0 == Py_None) { _arg0 = NULL; }
11774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11776 return NULL;
11777 }
11778 }
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) return NULL;
11785 }{
11786 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11787 }
11788 {
11789 delete _result;
11790 }
11791 return _resultobj;
11792 }
11793
11794 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11795 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject * _resultobj;
11797 wxGrid * _arg0;
11798 int _arg1;
11799 int _arg2;
11800 wxString * _arg3;
11801 PyObject * _argo0 = 0;
11802 PyObject * _obj3 = 0;
11803 char *_kwnames[] = { "self","row","col","s", NULL };
11804
11805 self = self;
11806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11807 return NULL;
11808 if (_argo0) {
11809 if (_argo0 == Py_None) { _arg0 = NULL; }
11810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11812 return NULL;
11813 }
11814 }
11815 {
11816 #if PYTHON_API_VERSION >= 1009
11817 char* tmpPtr; int tmpSize;
11818 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
11819 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11820 return NULL;
11821 }
11822 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11823 return NULL;
11824 _arg3 = new wxString(tmpPtr, tmpSize);
11825 #else
11826 if (!PyString_Check(_obj3)) {
11827 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11828 return NULL;
11829 }
11830 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11831 #endif
11832 }
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) return NULL;
11839 } Py_INCREF(Py_None);
11840 _resultobj = Py_None;
11841 {
11842 if (_obj3)
11843 delete _arg3;
11844 }
11845 return _resultobj;
11846 }
11847
11848 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11849 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11850 PyObject * _resultobj;
11851 bool _result;
11852 wxGrid * _arg0;
11853 int _arg1;
11854 int _arg2;
11855 PyObject * _argo0 = 0;
11856 char *_kwnames[] = { "self","row","col", NULL };
11857
11858 self = self;
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11860 return NULL;
11861 if (_argo0) {
11862 if (_argo0 == Py_None) { _arg0 = NULL; }
11863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11865 return NULL;
11866 }
11867 }
11868 {
11869 PyThreadState* __tstate = wxPyBeginAllowThreads();
11870 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11871
11872 wxPyEndAllowThreads(__tstate);
11873 if (PyErr_Occurred()) return NULL;
11874 } _resultobj = Py_BuildValue("i",_result);
11875 return _resultobj;
11876 }
11877
11878 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11879 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11880 PyObject * _resultobj;
11881 wxGrid * _arg0;
11882 int _arg1;
11883 int _arg2;
11884 bool _arg3 = (bool ) TRUE;
11885 PyObject * _argo0 = 0;
11886 int tempbool3 = (int) TRUE;
11887 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11888
11889 self = self;
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11891 return NULL;
11892 if (_argo0) {
11893 if (_argo0 == Py_None) { _arg0 = NULL; }
11894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11896 return NULL;
11897 }
11898 }
11899 _arg3 = (bool ) tempbool3;
11900 {
11901 PyThreadState* __tstate = wxPyBeginAllowThreads();
11902 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11903
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) return NULL;
11906 } Py_INCREF(Py_None);
11907 _resultobj = Py_None;
11908 return _resultobj;
11909 }
11910
11911 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11912 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11913 PyObject * _resultobj;
11914 wxGrid * _arg0;
11915 int _arg1;
11916 bool _arg2 = (bool ) FALSE;
11917 PyObject * _argo0 = 0;
11918 int tempbool2 = (int) FALSE;
11919 char *_kwnames[] = { "self","row","addToSelected", NULL };
11920
11921 self = self;
11922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11923 return NULL;
11924 if (_argo0) {
11925 if (_argo0 == Py_None) { _arg0 = NULL; }
11926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11928 return NULL;
11929 }
11930 }
11931 _arg2 = (bool ) tempbool2;
11932 {
11933 PyThreadState* __tstate = wxPyBeginAllowThreads();
11934 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11935
11936 wxPyEndAllowThreads(__tstate);
11937 if (PyErr_Occurred()) return NULL;
11938 } Py_INCREF(Py_None);
11939 _resultobj = Py_None;
11940 return _resultobj;
11941 }
11942
11943 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11944 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11945 PyObject * _resultobj;
11946 wxGrid * _arg0;
11947 int _arg1;
11948 bool _arg2 = (bool ) FALSE;
11949 PyObject * _argo0 = 0;
11950 int tempbool2 = (int) FALSE;
11951 char *_kwnames[] = { "self","col","addToSelected", NULL };
11952
11953 self = self;
11954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11955 return NULL;
11956 if (_argo0) {
11957 if (_argo0 == Py_None) { _arg0 = NULL; }
11958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11960 return NULL;
11961 }
11962 }
11963 _arg2 = (bool ) tempbool2;
11964 {
11965 PyThreadState* __tstate = wxPyBeginAllowThreads();
11966 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11967
11968 wxPyEndAllowThreads(__tstate);
11969 if (PyErr_Occurred()) return NULL;
11970 } Py_INCREF(Py_None);
11971 _resultobj = Py_None;
11972 return _resultobj;
11973 }
11974
11975 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11976 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11977 PyObject * _resultobj;
11978 wxGrid * _arg0;
11979 int _arg1;
11980 int _arg2;
11981 int _arg3;
11982 int _arg4;
11983 bool _arg5 = (bool ) FALSE;
11984 PyObject * _argo0 = 0;
11985 int tempbool5 = (int) FALSE;
11986 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
11987
11988 self = self;
11989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
11990 return NULL;
11991 if (_argo0) {
11992 if (_argo0 == Py_None) { _arg0 = NULL; }
11993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11995 return NULL;
11996 }
11997 }
11998 _arg5 = (bool ) tempbool5;
11999 {
12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
12001 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12002
12003 wxPyEndAllowThreads(__tstate);
12004 if (PyErr_Occurred()) return NULL;
12005 } Py_INCREF(Py_None);
12006 _resultobj = Py_None;
12007 return _resultobj;
12008 }
12009
12010 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12011 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
12012 PyObject * _resultobj;
12013 wxGrid * _arg0;
12014 PyObject * _argo0 = 0;
12015 char *_kwnames[] = { "self", NULL };
12016
12017 self = self;
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
12019 return NULL;
12020 if (_argo0) {
12021 if (_argo0 == Py_None) { _arg0 = NULL; }
12022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12024 return NULL;
12025 }
12026 }
12027 {
12028 PyThreadState* __tstate = wxPyBeginAllowThreads();
12029 wxGrid_SelectAll(_arg0);
12030
12031 wxPyEndAllowThreads(__tstate);
12032 if (PyErr_Occurred()) return NULL;
12033 } Py_INCREF(Py_None);
12034 _resultobj = Py_None;
12035 return _resultobj;
12036 }
12037
12038 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12039 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12040 PyObject * _resultobj;
12041 bool _result;
12042 wxGrid * _arg0;
12043 PyObject * _argo0 = 0;
12044 char *_kwnames[] = { "self", NULL };
12045
12046 self = self;
12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
12048 return NULL;
12049 if (_argo0) {
12050 if (_argo0 == Py_None) { _arg0 = NULL; }
12051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12053 return NULL;
12054 }
12055 }
12056 {
12057 PyThreadState* __tstate = wxPyBeginAllowThreads();
12058 _result = (bool )wxGrid_IsSelection(_arg0);
12059
12060 wxPyEndAllowThreads(__tstate);
12061 if (PyErr_Occurred()) return NULL;
12062 } _resultobj = Py_BuildValue("i",_result);
12063 return _resultobj;
12064 }
12065
12066 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12067 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12068 PyObject * _resultobj;
12069 wxGrid * _arg0;
12070 PyObject * _argo0 = 0;
12071 char *_kwnames[] = { "self", NULL };
12072
12073 self = self;
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
12075 return NULL;
12076 if (_argo0) {
12077 if (_argo0 == Py_None) { _arg0 = NULL; }
12078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12080 return NULL;
12081 }
12082 }
12083 {
12084 PyThreadState* __tstate = wxPyBeginAllowThreads();
12085 wxGrid_ClearSelection(_arg0);
12086
12087 wxPyEndAllowThreads(__tstate);
12088 if (PyErr_Occurred()) return NULL;
12089 } Py_INCREF(Py_None);
12090 _resultobj = Py_None;
12091 return _resultobj;
12092 }
12093
12094 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12095 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12096 PyObject * _resultobj;
12097 bool _result;
12098 wxGrid * _arg0;
12099 int _arg1;
12100 int _arg2;
12101 PyObject * _argo0 = 0;
12102 char *_kwnames[] = { "self","row","col", NULL };
12103
12104 self = self;
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
12106 return NULL;
12107 if (_argo0) {
12108 if (_argo0 == Py_None) { _arg0 = NULL; }
12109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12111 return NULL;
12112 }
12113 }
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) return NULL;
12120 } _resultobj = Py_BuildValue("i",_result);
12121 return _resultobj;
12122 }
12123
12124 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12125 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12126 PyObject * _resultobj;
12127 wxRect * _result;
12128 wxGrid * _arg0;
12129 wxGridCellCoords * _arg1;
12130 wxGridCellCoords * _arg2;
12131 PyObject * _argo0 = 0;
12132 wxGridCellCoords temp;
12133 PyObject * _obj1 = 0;
12134 wxGridCellCoords temp0;
12135 PyObject * _obj2 = 0;
12136 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
12137 char _ptemp[128];
12138
12139 self = self;
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
12141 return NULL;
12142 if (_argo0) {
12143 if (_argo0 == Py_None) { _arg0 = NULL; }
12144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12146 return NULL;
12147 }
12148 }
12149 {
12150 _arg1 = &temp;
12151 if (! wxGridCellCoords_helper(_obj1, &_arg1))
12152 return NULL;
12153 }
12154 {
12155 _arg2 = &temp0;
12156 if (! wxGridCellCoords_helper(_obj2, &_arg2))
12157 return NULL;
12158 }
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
12162
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) return NULL;
12165 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
12166 _resultobj = Py_BuildValue("s",_ptemp);
12167 return _resultobj;
12168 }
12169
12170 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12171 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12172 PyObject * _resultobj;
12173 wxColour * _result;
12174 wxGrid * _arg0;
12175 PyObject * _argo0 = 0;
12176 char *_kwnames[] = { "self", NULL };
12177 char _ptemp[128];
12178
12179 self = self;
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
12181 return NULL;
12182 if (_argo0) {
12183 if (_argo0 == Py_None) { _arg0 = NULL; }
12184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12186 return NULL;
12187 }
12188 }
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) return NULL;
12195 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12196 _resultobj = Py_BuildValue("s",_ptemp);
12197 return _resultobj;
12198 }
12199
12200 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12201 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12202 PyObject * _resultobj;
12203 wxColour * _result;
12204 wxGrid * _arg0;
12205 PyObject * _argo0 = 0;
12206 char *_kwnames[] = { "self", NULL };
12207 char _ptemp[128];
12208
12209 self = self;
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
12211 return NULL;
12212 if (_argo0) {
12213 if (_argo0 == Py_None) { _arg0 = NULL; }
12214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12216 return NULL;
12217 }
12218 }
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
12222
12223 wxPyEndAllowThreads(__tstate);
12224 if (PyErr_Occurred()) return NULL;
12225 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12226 _resultobj = Py_BuildValue("s",_ptemp);
12227 return _resultobj;
12228 }
12229
12230 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12231 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12232 PyObject * _resultobj;
12233 wxGrid * _arg0;
12234 wxColour * _arg1;
12235 PyObject * _argo0 = 0;
12236 wxColour temp;
12237 PyObject * _obj1 = 0;
12238 char *_kwnames[] = { "self","c", NULL };
12239
12240 self = self;
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
12242 return NULL;
12243 if (_argo0) {
12244 if (_argo0 == Py_None) { _arg0 = NULL; }
12245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12247 return NULL;
12248 }
12249 }
12250 {
12251 _arg1 = &temp;
12252 if (! wxColour_helper(_obj1, &_arg1))
12253 return NULL;
12254 }
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 wxGrid_SetSelectionBackground(_arg0,*_arg1);
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) return NULL;
12261 } Py_INCREF(Py_None);
12262 _resultobj = Py_None;
12263 return _resultobj;
12264 }
12265
12266 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12267 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject * _resultobj;
12269 wxGrid * _arg0;
12270 wxColour * _arg1;
12271 PyObject * _argo0 = 0;
12272 wxColour temp;
12273 PyObject * _obj1 = 0;
12274 char *_kwnames[] = { "self","c", NULL };
12275
12276 self = self;
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
12278 return NULL;
12279 if (_argo0) {
12280 if (_argo0 == Py_None) { _arg0 = NULL; }
12281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12283 return NULL;
12284 }
12285 }
12286 {
12287 _arg1 = &temp;
12288 if (! wxColour_helper(_obj1, &_arg1))
12289 return NULL;
12290 }
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 wxGrid_SetSelectionForeground(_arg0,*_arg1);
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) return NULL;
12297 } Py_INCREF(Py_None);
12298 _resultobj = Py_None;
12299 return _resultobj;
12300 }
12301
12302 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12303 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12304 PyObject * _resultobj;
12305 wxGrid * _arg0;
12306 wxString * _arg1;
12307 wxGridCellRenderer * _arg2;
12308 wxGridCellEditor * _arg3;
12309 PyObject * _argo0 = 0;
12310 PyObject * _obj1 = 0;
12311 PyObject * _argo2 = 0;
12312 PyObject * _argo3 = 0;
12313 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
12314
12315 self = self;
12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
12317 return NULL;
12318 if (_argo0) {
12319 if (_argo0 == Py_None) { _arg0 = NULL; }
12320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12322 return NULL;
12323 }
12324 }
12325 {
12326 #if PYTHON_API_VERSION >= 1009
12327 char* tmpPtr; int tmpSize;
12328 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
12329 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12330 return NULL;
12331 }
12332 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12333 return NULL;
12334 _arg1 = new wxString(tmpPtr, tmpSize);
12335 #else
12336 if (!PyString_Check(_obj1)) {
12337 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12338 return NULL;
12339 }
12340 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12341 #endif
12342 }
12343 if (_argo2) {
12344 if (_argo2 == Py_None) { _arg2 = NULL; }
12345 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
12346 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12347 return NULL;
12348 }
12349 }
12350 if (_argo3) {
12351 if (_argo3 == Py_None) { _arg3 = NULL; }
12352 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12353 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12354 return NULL;
12355 }
12356 }
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) return NULL;
12363 } Py_INCREF(Py_None);
12364 _resultobj = Py_None;
12365 {
12366 if (_obj1)
12367 delete _arg1;
12368 }
12369 return _resultobj;
12370 }
12371
12372 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12373 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12374 PyObject * _resultobj;
12375 wxGridCellEditor * _result;
12376 wxGrid * _arg0;
12377 int _arg1;
12378 int _arg2;
12379 PyObject * _argo0 = 0;
12380 char *_kwnames[] = { "self","row","col", NULL };
12381 char _ptemp[128];
12382
12383 self = self;
12384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12385 return NULL;
12386 if (_argo0) {
12387 if (_argo0 == Py_None) { _arg0 = NULL; }
12388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12390 return NULL;
12391 }
12392 }
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) return NULL;
12399 } if (_result) {
12400 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12401 _resultobj = Py_BuildValue("s",_ptemp);
12402 } else {
12403 Py_INCREF(Py_None);
12404 _resultobj = Py_None;
12405 }
12406 return _resultobj;
12407 }
12408
12409 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12410 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12411 PyObject * _resultobj;
12412 wxGridCellRenderer * _result;
12413 wxGrid * _arg0;
12414 int _arg1;
12415 int _arg2;
12416 PyObject * _argo0 = 0;
12417 char *_kwnames[] = { "self","row","col", NULL };
12418 char _ptemp[128];
12419
12420 self = self;
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12422 return NULL;
12423 if (_argo0) {
12424 if (_argo0 == Py_None) { _arg0 = NULL; }
12425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12427 return NULL;
12428 }
12429 }
12430 {
12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
12432 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
12433
12434 wxPyEndAllowThreads(__tstate);
12435 if (PyErr_Occurred()) return NULL;
12436 } if (_result) {
12437 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12438 _resultobj = Py_BuildValue("s",_ptemp);
12439 } else {
12440 Py_INCREF(Py_None);
12441 _resultobj = Py_None;
12442 }
12443 return _resultobj;
12444 }
12445
12446 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12447 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12448 PyObject * _resultobj;
12449 wxGridCellEditor * _result;
12450 wxGrid * _arg0;
12451 wxString * _arg1;
12452 PyObject * _argo0 = 0;
12453 PyObject * _obj1 = 0;
12454 char *_kwnames[] = { "self","typeName", NULL };
12455 char _ptemp[128];
12456
12457 self = self;
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
12459 return NULL;
12460 if (_argo0) {
12461 if (_argo0 == Py_None) { _arg0 = NULL; }
12462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12464 return NULL;
12465 }
12466 }
12467 {
12468 #if PYTHON_API_VERSION >= 1009
12469 char* tmpPtr; int tmpSize;
12470 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
12471 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12472 return NULL;
12473 }
12474 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12475 return NULL;
12476 _arg1 = new wxString(tmpPtr, tmpSize);
12477 #else
12478 if (!PyString_Check(_obj1)) {
12479 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12480 return NULL;
12481 }
12482 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12483 #endif
12484 }
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) return NULL;
12491 } if (_result) {
12492 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12493 _resultobj = Py_BuildValue("s",_ptemp);
12494 } else {
12495 Py_INCREF(Py_None);
12496 _resultobj = Py_None;
12497 }
12498 {
12499 if (_obj1)
12500 delete _arg1;
12501 }
12502 return _resultobj;
12503 }
12504
12505 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12506 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12507 PyObject * _resultobj;
12508 wxGridCellRenderer * _result;
12509 wxGrid * _arg0;
12510 wxString * _arg1;
12511 PyObject * _argo0 = 0;
12512 PyObject * _obj1 = 0;
12513 char *_kwnames[] = { "self","typeName", NULL };
12514 char _ptemp[128];
12515
12516 self = self;
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
12518 return NULL;
12519 if (_argo0) {
12520 if (_argo0 == Py_None) { _arg0 = NULL; }
12521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12523 return NULL;
12524 }
12525 }
12526 {
12527 #if PYTHON_API_VERSION >= 1009
12528 char* tmpPtr; int tmpSize;
12529 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
12530 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12531 return NULL;
12532 }
12533 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12534 return NULL;
12535 _arg1 = new wxString(tmpPtr, tmpSize);
12536 #else
12537 if (!PyString_Check(_obj1)) {
12538 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12539 return NULL;
12540 }
12541 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12542 #endif
12543 }
12544 {
12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
12546 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
12547
12548 wxPyEndAllowThreads(__tstate);
12549 if (PyErr_Occurred()) return NULL;
12550 } if (_result) {
12551 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12552 _resultobj = Py_BuildValue("s",_ptemp);
12553 } else {
12554 Py_INCREF(Py_None);
12555 _resultobj = Py_None;
12556 }
12557 {
12558 if (_obj1)
12559 delete _arg1;
12560 }
12561 return _resultobj;
12562 }
12563
12564 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12565 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12566 PyObject * _resultobj;
12567 wxGrid * _arg0;
12568 int _arg1;
12569 int _arg2;
12570 PyObject * _argo0 = 0;
12571 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
12572
12573 self = self;
12574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
12575 return NULL;
12576 if (_argo0) {
12577 if (_argo0 == Py_None) { _arg0 = NULL; }
12578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12580 return NULL;
12581 }
12582 }
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 wxGrid_SetMargins(_arg0,_arg1,_arg2);
12586
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) return NULL;
12589 } Py_INCREF(Py_None);
12590 _resultobj = Py_None;
12591 return _resultobj;
12592 }
12593
12594 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12595 static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12596 PyObject * _resultobj;
12597 wxWindow * _result;
12598 wxGrid * _arg0;
12599 PyObject * _argo0 = 0;
12600 char *_kwnames[] = { "self", NULL };
12601
12602 self = self;
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
12604 return NULL;
12605 if (_argo0) {
12606 if (_argo0 == Py_None) { _arg0 = NULL; }
12607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12609 return NULL;
12610 }
12611 }
12612 {
12613 PyThreadState* __tstate = wxPyBeginAllowThreads();
12614 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
12615
12616 wxPyEndAllowThreads(__tstate);
12617 if (PyErr_Occurred()) return NULL;
12618 }{ _resultobj = wxPyMake_wxObject(_result); }
12619 return _resultobj;
12620 }
12621
12622 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12623 static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12624 PyObject * _resultobj;
12625 wxWindow * _result;
12626 wxGrid * _arg0;
12627 PyObject * _argo0 = 0;
12628 char *_kwnames[] = { "self", NULL };
12629
12630 self = self;
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12632 return NULL;
12633 if (_argo0) {
12634 if (_argo0 == Py_None) { _arg0 = NULL; }
12635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12637 return NULL;
12638 }
12639 }
12640 {
12641 PyThreadState* __tstate = wxPyBeginAllowThreads();
12642 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
12643
12644 wxPyEndAllowThreads(__tstate);
12645 if (PyErr_Occurred()) return NULL;
12646 }{ _resultobj = wxPyMake_wxObject(_result); }
12647 return _resultobj;
12648 }
12649
12650 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12651 static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12652 PyObject * _resultobj;
12653 wxWindow * _result;
12654 wxGrid * _arg0;
12655 PyObject * _argo0 = 0;
12656 char *_kwnames[] = { "self", NULL };
12657
12658 self = self;
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12660 return NULL;
12661 if (_argo0) {
12662 if (_argo0 == Py_None) { _arg0 = NULL; }
12663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12665 return NULL;
12666 }
12667 }
12668 {
12669 PyThreadState* __tstate = wxPyBeginAllowThreads();
12670 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
12671
12672 wxPyEndAllowThreads(__tstate);
12673 if (PyErr_Occurred()) return NULL;
12674 }{ _resultobj = wxPyMake_wxObject(_result); }
12675 return _resultobj;
12676 }
12677
12678 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12679 static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject * _resultobj;
12681 wxWindow * _result;
12682 wxGrid * _arg0;
12683 PyObject * _argo0 = 0;
12684 char *_kwnames[] = { "self", NULL };
12685
12686 self = self;
12687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
12688 return NULL;
12689 if (_argo0) {
12690 if (_argo0 == Py_None) { _arg0 = NULL; }
12691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12693 return NULL;
12694 }
12695 }
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) return NULL;
12702 }{ _resultobj = wxPyMake_wxObject(_result); }
12703 return _resultobj;
12704 }
12705
12706 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
12707 wxGridEvent *src;
12708 wxNotifyEvent *dest;
12709 src = (wxGridEvent *) ptr;
12710 dest = (wxNotifyEvent *) src;
12711 return (void *) dest;
12712 }
12713
12714 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
12715 wxGridEvent *src;
12716 wxCommandEvent *dest;
12717 src = (wxGridEvent *) ptr;
12718 dest = (wxCommandEvent *) src;
12719 return (void *) dest;
12720 }
12721
12722 static void *SwigwxGridEventTowxEvent(void *ptr) {
12723 wxGridEvent *src;
12724 wxEvent *dest;
12725 src = (wxGridEvent *) ptr;
12726 dest = (wxEvent *) src;
12727 return (void *) dest;
12728 }
12729
12730 static void *SwigwxGridEventTowxObject(void *ptr) {
12731 wxGridEvent *src;
12732 wxObject *dest;
12733 src = (wxGridEvent *) ptr;
12734 dest = (wxObject *) src;
12735 return (void *) dest;
12736 }
12737
12738 #define new_wxGridEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11) (new wxGridEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11))
12739 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12740 PyObject * _resultobj;
12741 wxGridEvent * _result;
12742 int _arg0;
12743 wxEventType _arg1;
12744 wxGrid * _arg2;
12745 int _arg3 = (int ) -1;
12746 int _arg4 = (int ) -1;
12747 int _arg5 = (int ) -1;
12748 int _arg6 = (int ) -1;
12749 bool _arg7 = (bool ) TRUE;
12750 bool _arg8 = (bool ) FALSE;
12751 bool _arg9 = (bool ) FALSE;
12752 bool _arg10 = (bool ) FALSE;
12753 bool _arg11 = (bool ) FALSE;
12754 PyObject * _argo2 = 0;
12755 int tempbool7 = (int) TRUE;
12756 int tempbool8 = (int) FALSE;
12757 int tempbool9 = (int) FALSE;
12758 int tempbool10 = (int) FALSE;
12759 int tempbool11 = (int) FALSE;
12760 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
12761 char _ptemp[128];
12762
12763 self = self;
12764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
12765 return NULL;
12766 if (_argo2) {
12767 if (_argo2 == Py_None) { _arg2 = NULL; }
12768 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12769 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12770 return NULL;
12771 }
12772 }
12773 _arg7 = (bool ) tempbool7;
12774 _arg8 = (bool ) tempbool8;
12775 _arg9 = (bool ) tempbool9;
12776 _arg10 = (bool ) tempbool10;
12777 _arg11 = (bool ) tempbool11;
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
12781
12782 wxPyEndAllowThreads(__tstate);
12783 if (PyErr_Occurred()) return NULL;
12784 } if (_result) {
12785 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
12786 _resultobj = Py_BuildValue("s",_ptemp);
12787 } else {
12788 Py_INCREF(Py_None);
12789 _resultobj = Py_None;
12790 }
12791 return _resultobj;
12792 }
12793
12794 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12795 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12796 PyObject * _resultobj;
12797 int _result;
12798 wxGridEvent * _arg0;
12799 PyObject * _argo0 = 0;
12800 char *_kwnames[] = { "self", NULL };
12801
12802 self = self;
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
12804 return NULL;
12805 if (_argo0) {
12806 if (_argo0 == Py_None) { _arg0 = NULL; }
12807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12809 return NULL;
12810 }
12811 }
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 _result = (int )wxGridEvent_GetRow(_arg0);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) return NULL;
12818 } _resultobj = Py_BuildValue("i",_result);
12819 return _resultobj;
12820 }
12821
12822 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12823 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12824 PyObject * _resultobj;
12825 int _result;
12826 wxGridEvent * _arg0;
12827 PyObject * _argo0 = 0;
12828 char *_kwnames[] = { "self", NULL };
12829
12830 self = self;
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
12832 return NULL;
12833 if (_argo0) {
12834 if (_argo0 == Py_None) { _arg0 = NULL; }
12835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12837 return NULL;
12838 }
12839 }
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 _result = (int )wxGridEvent_GetCol(_arg0);
12843
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) return NULL;
12846 } _resultobj = Py_BuildValue("i",_result);
12847 return _resultobj;
12848 }
12849
12850 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12851 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject * _resultobj;
12853 wxPoint * _result;
12854 wxGridEvent * _arg0;
12855 PyObject * _argo0 = 0;
12856 char *_kwnames[] = { "self", NULL };
12857 char _ptemp[128];
12858
12859 self = self;
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
12861 return NULL;
12862 if (_argo0) {
12863 if (_argo0 == Py_None) { _arg0 = NULL; }
12864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12866 return NULL;
12867 }
12868 }
12869 {
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
12872
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) return NULL;
12875 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12876 _resultobj = Py_BuildValue("s",_ptemp);
12877 return _resultobj;
12878 }
12879
12880 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12881 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12882 PyObject * _resultobj;
12883 bool _result;
12884 wxGridEvent * _arg0;
12885 PyObject * _argo0 = 0;
12886 char *_kwnames[] = { "self", NULL };
12887
12888 self = self;
12889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
12890 return NULL;
12891 if (_argo0) {
12892 if (_argo0 == Py_None) { _arg0 = NULL; }
12893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12895 return NULL;
12896 }
12897 }
12898 {
12899 PyThreadState* __tstate = wxPyBeginAllowThreads();
12900 _result = (bool )wxGridEvent_Selecting(_arg0);
12901
12902 wxPyEndAllowThreads(__tstate);
12903 if (PyErr_Occurred()) return NULL;
12904 } _resultobj = Py_BuildValue("i",_result);
12905 return _resultobj;
12906 }
12907
12908 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12909 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12910 PyObject * _resultobj;
12911 bool _result;
12912 wxGridEvent * _arg0;
12913 PyObject * _argo0 = 0;
12914 char *_kwnames[] = { "self", NULL };
12915
12916 self = self;
12917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
12918 return NULL;
12919 if (_argo0) {
12920 if (_argo0 == Py_None) { _arg0 = NULL; }
12921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12923 return NULL;
12924 }
12925 }
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
12928 _result = (bool )wxGridEvent_ControlDown(_arg0);
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) return NULL;
12932 } _resultobj = Py_BuildValue("i",_result);
12933 return _resultobj;
12934 }
12935
12936 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12937 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12938 PyObject * _resultobj;
12939 bool _result;
12940 wxGridEvent * _arg0;
12941 PyObject * _argo0 = 0;
12942 char *_kwnames[] = { "self", NULL };
12943
12944 self = self;
12945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12946 return NULL;
12947 if (_argo0) {
12948 if (_argo0 == Py_None) { _arg0 = NULL; }
12949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12951 return NULL;
12952 }
12953 }
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 _result = (bool )wxGridEvent_MetaDown(_arg0);
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) return NULL;
12960 } _resultobj = Py_BuildValue("i",_result);
12961 return _resultobj;
12962 }
12963
12964 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12965 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12966 PyObject * _resultobj;
12967 bool _result;
12968 wxGridEvent * _arg0;
12969 PyObject * _argo0 = 0;
12970 char *_kwnames[] = { "self", NULL };
12971
12972 self = self;
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12974 return NULL;
12975 if (_argo0) {
12976 if (_argo0 == Py_None) { _arg0 = NULL; }
12977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12979 return NULL;
12980 }
12981 }
12982 {
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12985
12986 wxPyEndAllowThreads(__tstate);
12987 if (PyErr_Occurred()) return NULL;
12988 } _resultobj = Py_BuildValue("i",_result);
12989 return _resultobj;
12990 }
12991
12992 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12993 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12994 PyObject * _resultobj;
12995 bool _result;
12996 wxGridEvent * _arg0;
12997 PyObject * _argo0 = 0;
12998 char *_kwnames[] = { "self", NULL };
12999
13000 self = self;
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
13002 return NULL;
13003 if (_argo0) {
13004 if (_argo0 == Py_None) { _arg0 = NULL; }
13005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
13007 return NULL;
13008 }
13009 }
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 _result = (bool )wxGridEvent_AltDown(_arg0);
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) return NULL;
13016 } _resultobj = Py_BuildValue("i",_result);
13017 return _resultobj;
13018 }
13019
13020 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
13021 wxGridSizeEvent *src;
13022 wxNotifyEvent *dest;
13023 src = (wxGridSizeEvent *) ptr;
13024 dest = (wxNotifyEvent *) src;
13025 return (void *) dest;
13026 }
13027
13028 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
13029 wxGridSizeEvent *src;
13030 wxCommandEvent *dest;
13031 src = (wxGridSizeEvent *) ptr;
13032 dest = (wxCommandEvent *) src;
13033 return (void *) dest;
13034 }
13035
13036 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
13037 wxGridSizeEvent *src;
13038 wxEvent *dest;
13039 src = (wxGridSizeEvent *) ptr;
13040 dest = (wxEvent *) src;
13041 return (void *) dest;
13042 }
13043
13044 static void *SwigwxGridSizeEventTowxObject(void *ptr) {
13045 wxGridSizeEvent *src;
13046 wxObject *dest;
13047 src = (wxGridSizeEvent *) ptr;
13048 dest = (wxObject *) src;
13049 return (void *) dest;
13050 }
13051
13052 #define new_wxGridSizeEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxGridSizeEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
13053 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13054 PyObject * _resultobj;
13055 wxGridSizeEvent * _result;
13056 int _arg0;
13057 wxEventType _arg1;
13058 wxGrid * _arg2;
13059 int _arg3 = (int ) -1;
13060 int _arg4 = (int ) -1;
13061 int _arg5 = (int ) -1;
13062 bool _arg6 = (bool ) FALSE;
13063 bool _arg7 = (bool ) FALSE;
13064 bool _arg8 = (bool ) FALSE;
13065 bool _arg9 = (bool ) FALSE;
13066 PyObject * _argo2 = 0;
13067 int tempbool6 = (int) FALSE;
13068 int tempbool7 = (int) FALSE;
13069 int tempbool8 = (int) FALSE;
13070 int tempbool9 = (int) FALSE;
13071 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
13072 char _ptemp[128];
13073
13074 self = self;
13075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13076 return NULL;
13077 if (_argo2) {
13078 if (_argo2 == Py_None) { _arg2 = NULL; }
13079 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13080 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
13081 return NULL;
13082 }
13083 }
13084 _arg6 = (bool ) tempbool6;
13085 _arg7 = (bool ) tempbool7;
13086 _arg8 = (bool ) tempbool8;
13087 _arg9 = (bool ) tempbool9;
13088 {
13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
13090 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13091
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) return NULL;
13094 } if (_result) {
13095 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
13096 _resultobj = Py_BuildValue("s",_ptemp);
13097 } else {
13098 Py_INCREF(Py_None);
13099 _resultobj = Py_None;
13100 }
13101 return _resultobj;
13102 }
13103
13104 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
13105 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13106 PyObject * _resultobj;
13107 int _result;
13108 wxGridSizeEvent * _arg0;
13109 PyObject * _argo0 = 0;
13110 char *_kwnames[] = { "self", NULL };
13111
13112 self = self;
13113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
13114 return NULL;
13115 if (_argo0) {
13116 if (_argo0 == Py_None) { _arg0 = NULL; }
13117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
13119 return NULL;
13120 }
13121 }
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
13125
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) return NULL;
13128 } _resultobj = Py_BuildValue("i",_result);
13129 return _resultobj;
13130 }
13131
13132 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13133 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13134 PyObject * _resultobj;
13135 wxPoint * _result;
13136 wxGridSizeEvent * _arg0;
13137 PyObject * _argo0 = 0;
13138 char *_kwnames[] = { "self", NULL };
13139 char _ptemp[128];
13140
13141 self = self;
13142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
13143 return NULL;
13144 if (_argo0) {
13145 if (_argo0 == Py_None) { _arg0 = NULL; }
13146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13148 return NULL;
13149 }
13150 }
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
13153 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
13154
13155 wxPyEndAllowThreads(__tstate);
13156 if (PyErr_Occurred()) return NULL;
13157 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
13158 _resultobj = Py_BuildValue("s",_ptemp);
13159 return _resultobj;
13160 }
13161
13162 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13163 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13164 PyObject * _resultobj;
13165 bool _result;
13166 wxGridSizeEvent * _arg0;
13167 PyObject * _argo0 = 0;
13168 char *_kwnames[] = { "self", NULL };
13169
13170 self = self;
13171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
13172 return NULL;
13173 if (_argo0) {
13174 if (_argo0 == Py_None) { _arg0 = NULL; }
13175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
13177 return NULL;
13178 }
13179 }
13180 {
13181 PyThreadState* __tstate = wxPyBeginAllowThreads();
13182 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
13183
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) return NULL;
13186 } _resultobj = Py_BuildValue("i",_result);
13187 return _resultobj;
13188 }
13189
13190 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13191 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13192 PyObject * _resultobj;
13193 bool _result;
13194 wxGridSizeEvent * _arg0;
13195 PyObject * _argo0 = 0;
13196 char *_kwnames[] = { "self", NULL };
13197
13198 self = self;
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
13200 return NULL;
13201 if (_argo0) {
13202 if (_argo0 == Py_None) { _arg0 = NULL; }
13203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
13205 return NULL;
13206 }
13207 }
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) return NULL;
13214 } _resultobj = Py_BuildValue("i",_result);
13215 return _resultobj;
13216 }
13217
13218 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13219 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13220 PyObject * _resultobj;
13221 bool _result;
13222 wxGridSizeEvent * _arg0;
13223 PyObject * _argo0 = 0;
13224 char *_kwnames[] = { "self", NULL };
13225
13226 self = self;
13227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
13228 return NULL;
13229 if (_argo0) {
13230 if (_argo0 == Py_None) { _arg0 = NULL; }
13231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
13233 return NULL;
13234 }
13235 }
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) return NULL;
13242 } _resultobj = Py_BuildValue("i",_result);
13243 return _resultobj;
13244 }
13245
13246 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13247 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13248 PyObject * _resultobj;
13249 bool _result;
13250 wxGridSizeEvent * _arg0;
13251 PyObject * _argo0 = 0;
13252 char *_kwnames[] = { "self", NULL };
13253
13254 self = self;
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
13256 return NULL;
13257 if (_argo0) {
13258 if (_argo0 == Py_None) { _arg0 = NULL; }
13259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13261 return NULL;
13262 }
13263 }
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
13267
13268 wxPyEndAllowThreads(__tstate);
13269 if (PyErr_Occurred()) return NULL;
13270 } _resultobj = Py_BuildValue("i",_result);
13271 return _resultobj;
13272 }
13273
13274 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
13275 wxGridRangeSelectEvent *src;
13276 wxNotifyEvent *dest;
13277 src = (wxGridRangeSelectEvent *) ptr;
13278 dest = (wxNotifyEvent *) src;
13279 return (void *) dest;
13280 }
13281
13282 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
13283 wxGridRangeSelectEvent *src;
13284 wxCommandEvent *dest;
13285 src = (wxGridRangeSelectEvent *) ptr;
13286 dest = (wxCommandEvent *) src;
13287 return (void *) dest;
13288 }
13289
13290 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
13291 wxGridRangeSelectEvent *src;
13292 wxEvent *dest;
13293 src = (wxGridRangeSelectEvent *) ptr;
13294 dest = (wxEvent *) src;
13295 return (void *) dest;
13296 }
13297
13298 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
13299 wxGridRangeSelectEvent *src;
13300 wxObject *dest;
13301 src = (wxGridRangeSelectEvent *) ptr;
13302 dest = (wxObject *) src;
13303 return (void *) dest;
13304 }
13305
13306 #define new_wxGridRangeSelectEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxGridRangeSelectEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
13307 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13308 PyObject * _resultobj;
13309 wxGridRangeSelectEvent * _result;
13310 int _arg0;
13311 wxEventType _arg1;
13312 wxGrid * _arg2;
13313 wxGridCellCoords * _arg3;
13314 wxGridCellCoords * _arg4;
13315 bool _arg5 = (bool ) TRUE;
13316 bool _arg6 = (bool ) FALSE;
13317 bool _arg7 = (bool ) FALSE;
13318 bool _arg8 = (bool ) FALSE;
13319 bool _arg9 = (bool ) FALSE;
13320 PyObject * _argo2 = 0;
13321 wxGridCellCoords temp;
13322 PyObject * _obj3 = 0;
13323 wxGridCellCoords temp0;
13324 PyObject * _obj4 = 0;
13325 int tempbool5 = (int) TRUE;
13326 int tempbool6 = (int) FALSE;
13327 int tempbool7 = (int) FALSE;
13328 int tempbool8 = (int) FALSE;
13329 int tempbool9 = (int) FALSE;
13330 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
13331 char _ptemp[128];
13332
13333 self = self;
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13335 return NULL;
13336 if (_argo2) {
13337 if (_argo2 == Py_None) { _arg2 = NULL; }
13338 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13339 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13340 return NULL;
13341 }
13342 }
13343 {
13344 _arg3 = &temp;
13345 if (! wxGridCellCoords_helper(_obj3, &_arg3))
13346 return NULL;
13347 }
13348 {
13349 _arg4 = &temp0;
13350 if (! wxGridCellCoords_helper(_obj4, &_arg4))
13351 return NULL;
13352 }
13353 _arg5 = (bool ) tempbool5;
13354 _arg6 = (bool ) tempbool6;
13355 _arg7 = (bool ) tempbool7;
13356 _arg8 = (bool ) tempbool8;
13357 _arg9 = (bool ) tempbool9;
13358 {
13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
13360 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13361
13362 wxPyEndAllowThreads(__tstate);
13363 if (PyErr_Occurred()) return NULL;
13364 } if (_result) {
13365 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
13366 _resultobj = Py_BuildValue("s",_ptemp);
13367 } else {
13368 Py_INCREF(Py_None);
13369 _resultobj = Py_None;
13370 }
13371 return _resultobj;
13372 }
13373
13374 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13375 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject * _resultobj;
13377 wxGridCellCoords * _result;
13378 wxGridRangeSelectEvent * _arg0;
13379 PyObject * _argo0 = 0;
13380 char *_kwnames[] = { "self", NULL };
13381 char _ptemp[128];
13382
13383 self = self;
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
13385 return NULL;
13386 if (_argo0) {
13387 if (_argo0 == Py_None) { _arg0 = NULL; }
13388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13390 return NULL;
13391 }
13392 }
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
13396
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) return NULL;
13399 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13400 _resultobj = Py_BuildValue("s",_ptemp);
13401 return _resultobj;
13402 }
13403
13404 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13405 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13406 PyObject * _resultobj;
13407 wxGridCellCoords * _result;
13408 wxGridRangeSelectEvent * _arg0;
13409 PyObject * _argo0 = 0;
13410 char *_kwnames[] = { "self", NULL };
13411 char _ptemp[128];
13412
13413 self = self;
13414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
13415 return NULL;
13416 if (_argo0) {
13417 if (_argo0 == Py_None) { _arg0 = NULL; }
13418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13420 return NULL;
13421 }
13422 }
13423 {
13424 PyThreadState* __tstate = wxPyBeginAllowThreads();
13425 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
13426
13427 wxPyEndAllowThreads(__tstate);
13428 if (PyErr_Occurred()) return NULL;
13429 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13430 _resultobj = Py_BuildValue("s",_ptemp);
13431 return _resultobj;
13432 }
13433
13434 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13435 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13436 PyObject * _resultobj;
13437 int _result;
13438 wxGridRangeSelectEvent * _arg0;
13439 PyObject * _argo0 = 0;
13440 char *_kwnames[] = { "self", NULL };
13441
13442 self = self;
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
13444 return NULL;
13445 if (_argo0) {
13446 if (_argo0 == Py_None) { _arg0 = NULL; }
13447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13449 return NULL;
13450 }
13451 }
13452 {
13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
13454 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
13455
13456 wxPyEndAllowThreads(__tstate);
13457 if (PyErr_Occurred()) return NULL;
13458 } _resultobj = Py_BuildValue("i",_result);
13459 return _resultobj;
13460 }
13461
13462 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13463 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13464 PyObject * _resultobj;
13465 int _result;
13466 wxGridRangeSelectEvent * _arg0;
13467 PyObject * _argo0 = 0;
13468 char *_kwnames[] = { "self", NULL };
13469
13470 self = self;
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
13472 return NULL;
13473 if (_argo0) {
13474 if (_argo0 == Py_None) { _arg0 = NULL; }
13475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13477 return NULL;
13478 }
13479 }
13480 {
13481 PyThreadState* __tstate = wxPyBeginAllowThreads();
13482 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
13483
13484 wxPyEndAllowThreads(__tstate);
13485 if (PyErr_Occurred()) return NULL;
13486 } _resultobj = Py_BuildValue("i",_result);
13487 return _resultobj;
13488 }
13489
13490 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13491 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13492 PyObject * _resultobj;
13493 int _result;
13494 wxGridRangeSelectEvent * _arg0;
13495 PyObject * _argo0 = 0;
13496 char *_kwnames[] = { "self", NULL };
13497
13498 self = self;
13499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
13500 return NULL;
13501 if (_argo0) {
13502 if (_argo0 == Py_None) { _arg0 = NULL; }
13503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13505 return NULL;
13506 }
13507 }
13508 {
13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
13510 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
13511
13512 wxPyEndAllowThreads(__tstate);
13513 if (PyErr_Occurred()) return NULL;
13514 } _resultobj = Py_BuildValue("i",_result);
13515 return _resultobj;
13516 }
13517
13518 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13519 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13520 PyObject * _resultobj;
13521 int _result;
13522 wxGridRangeSelectEvent * _arg0;
13523 PyObject * _argo0 = 0;
13524 char *_kwnames[] = { "self", NULL };
13525
13526 self = self;
13527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
13528 return NULL;
13529 if (_argo0) {
13530 if (_argo0 == Py_None) { _arg0 = NULL; }
13531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13533 return NULL;
13534 }
13535 }
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
13539
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) return NULL;
13542 } _resultobj = Py_BuildValue("i",_result);
13543 return _resultobj;
13544 }
13545
13546 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13547 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13548 PyObject * _resultobj;
13549 bool _result;
13550 wxGridRangeSelectEvent * _arg0;
13551 PyObject * _argo0 = 0;
13552 char *_kwnames[] = { "self", NULL };
13553
13554 self = self;
13555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
13556 return NULL;
13557 if (_argo0) {
13558 if (_argo0 == Py_None) { _arg0 = NULL; }
13559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13561 return NULL;
13562 }
13563 }
13564 {
13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
13566 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
13567
13568 wxPyEndAllowThreads(__tstate);
13569 if (PyErr_Occurred()) return NULL;
13570 } _resultobj = Py_BuildValue("i",_result);
13571 return _resultobj;
13572 }
13573
13574 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13575 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13576 PyObject * _resultobj;
13577 bool _result;
13578 wxGridRangeSelectEvent * _arg0;
13579 PyObject * _argo0 = 0;
13580 char *_kwnames[] = { "self", NULL };
13581
13582 self = self;
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
13584 return NULL;
13585 if (_argo0) {
13586 if (_argo0 == Py_None) { _arg0 = NULL; }
13587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13589 return NULL;
13590 }
13591 }
13592 {
13593 PyThreadState* __tstate = wxPyBeginAllowThreads();
13594 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
13595
13596 wxPyEndAllowThreads(__tstate);
13597 if (PyErr_Occurred()) return NULL;
13598 } _resultobj = Py_BuildValue("i",_result);
13599 return _resultobj;
13600 }
13601
13602 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13603 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13604 PyObject * _resultobj;
13605 bool _result;
13606 wxGridRangeSelectEvent * _arg0;
13607 PyObject * _argo0 = 0;
13608 char *_kwnames[] = { "self", NULL };
13609
13610 self = self;
13611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
13612 return NULL;
13613 if (_argo0) {
13614 if (_argo0 == Py_None) { _arg0 = NULL; }
13615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13617 return NULL;
13618 }
13619 }
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) return NULL;
13626 } _resultobj = Py_BuildValue("i",_result);
13627 return _resultobj;
13628 }
13629
13630 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13631 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13632 PyObject * _resultobj;
13633 bool _result;
13634 wxGridRangeSelectEvent * _arg0;
13635 PyObject * _argo0 = 0;
13636 char *_kwnames[] = { "self", NULL };
13637
13638 self = self;
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13640 return NULL;
13641 if (_argo0) {
13642 if (_argo0 == Py_None) { _arg0 = NULL; }
13643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13645 return NULL;
13646 }
13647 }
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) return NULL;
13654 } _resultobj = Py_BuildValue("i",_result);
13655 return _resultobj;
13656 }
13657
13658 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13659 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject * _resultobj;
13661 bool _result;
13662 wxGridRangeSelectEvent * _arg0;
13663 PyObject * _argo0 = 0;
13664 char *_kwnames[] = { "self", NULL };
13665
13666 self = self;
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13668 return NULL;
13669 if (_argo0) {
13670 if (_argo0 == Py_None) { _arg0 = NULL; }
13671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13673 return NULL;
13674 }
13675 }
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) return NULL;
13682 } _resultobj = Py_BuildValue("i",_result);
13683 return _resultobj;
13684 }
13685
13686 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
13687 wxGridEditorCreatedEvent *src;
13688 wxCommandEvent *dest;
13689 src = (wxGridEditorCreatedEvent *) ptr;
13690 dest = (wxCommandEvent *) src;
13691 return (void *) dest;
13692 }
13693
13694 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
13695 wxGridEditorCreatedEvent *src;
13696 wxEvent *dest;
13697 src = (wxGridEditorCreatedEvent *) ptr;
13698 dest = (wxEvent *) src;
13699 return (void *) dest;
13700 }
13701
13702 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
13703 wxGridEditorCreatedEvent *src;
13704 wxObject *dest;
13705 src = (wxGridEditorCreatedEvent *) ptr;
13706 dest = (wxObject *) src;
13707 return (void *) dest;
13708 }
13709
13710 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13711 static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13712 PyObject * _resultobj;
13713 wxGridEditorCreatedEvent * _result;
13714 int _arg0;
13715 wxEventType _arg1;
13716 wxObject * _arg2;
13717 int _arg3;
13718 int _arg4;
13719 wxControl * _arg5;
13720 PyObject * _argo2 = 0;
13721 PyObject * _argo5 = 0;
13722 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
13723 char _ptemp[128];
13724
13725 self = self;
13726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
13727 return NULL;
13728 if (_argo2) {
13729 if (_argo2 == Py_None) { _arg2 = NULL; }
13730 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
13731 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13732 return NULL;
13733 }
13734 }
13735 if (_argo5) {
13736 if (_argo5 == Py_None) { _arg5 = NULL; }
13737 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
13738 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13739 return NULL;
13740 }
13741 }
13742 {
13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
13744 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
13745
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) return NULL;
13748 } if (_result) {
13749 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
13750 _resultobj = Py_BuildValue("s",_ptemp);
13751 } else {
13752 Py_INCREF(Py_None);
13753 _resultobj = Py_None;
13754 }
13755 return _resultobj;
13756 }
13757
13758 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13759 static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13760 PyObject * _resultobj;
13761 int _result;
13762 wxGridEditorCreatedEvent * _arg0;
13763 PyObject * _argo0 = 0;
13764 char *_kwnames[] = { "self", NULL };
13765
13766 self = self;
13767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
13768 return NULL;
13769 if (_argo0) {
13770 if (_argo0 == Py_None) { _arg0 = NULL; }
13771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13773 return NULL;
13774 }
13775 }
13776 {
13777 PyThreadState* __tstate = wxPyBeginAllowThreads();
13778 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
13779
13780 wxPyEndAllowThreads(__tstate);
13781 if (PyErr_Occurred()) return NULL;
13782 } _resultobj = Py_BuildValue("i",_result);
13783 return _resultobj;
13784 }
13785
13786 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13787 static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13788 PyObject * _resultobj;
13789 int _result;
13790 wxGridEditorCreatedEvent * _arg0;
13791 PyObject * _argo0 = 0;
13792 char *_kwnames[] = { "self", NULL };
13793
13794 self = self;
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
13796 return NULL;
13797 if (_argo0) {
13798 if (_argo0 == Py_None) { _arg0 = NULL; }
13799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13801 return NULL;
13802 }
13803 }
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) return NULL;
13810 } _resultobj = Py_BuildValue("i",_result);
13811 return _resultobj;
13812 }
13813
13814 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13815 static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13816 PyObject * _resultobj;
13817 wxControl * _result;
13818 wxGridEditorCreatedEvent * _arg0;
13819 PyObject * _argo0 = 0;
13820 char *_kwnames[] = { "self", NULL };
13821
13822 self = self;
13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
13824 return NULL;
13825 if (_argo0) {
13826 if (_argo0 == Py_None) { _arg0 = NULL; }
13827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13829 return NULL;
13830 }
13831 }
13832 {
13833 PyThreadState* __tstate = wxPyBeginAllowThreads();
13834 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
13835
13836 wxPyEndAllowThreads(__tstate);
13837 if (PyErr_Occurred()) return NULL;
13838 }{ _resultobj = wxPyMake_wxObject(_result); }
13839 return _resultobj;
13840 }
13841
13842 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13843 static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13844 PyObject * _resultobj;
13845 wxGridEditorCreatedEvent * _arg0;
13846 int _arg1;
13847 PyObject * _argo0 = 0;
13848 char *_kwnames[] = { "self","row", NULL };
13849
13850 self = self;
13851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
13852 return NULL;
13853 if (_argo0) {
13854 if (_argo0 == Py_None) { _arg0 = NULL; }
13855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13857 return NULL;
13858 }
13859 }
13860 {
13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
13862 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
13863
13864 wxPyEndAllowThreads(__tstate);
13865 if (PyErr_Occurred()) return NULL;
13866 } Py_INCREF(Py_None);
13867 _resultobj = Py_None;
13868 return _resultobj;
13869 }
13870
13871 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13872 static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13873 PyObject * _resultobj;
13874 wxGridEditorCreatedEvent * _arg0;
13875 int _arg1;
13876 PyObject * _argo0 = 0;
13877 char *_kwnames[] = { "self","col", NULL };
13878
13879 self = self;
13880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
13881 return NULL;
13882 if (_argo0) {
13883 if (_argo0 == Py_None) { _arg0 = NULL; }
13884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13886 return NULL;
13887 }
13888 }
13889 {
13890 PyThreadState* __tstate = wxPyBeginAllowThreads();
13891 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
13892
13893 wxPyEndAllowThreads(__tstate);
13894 if (PyErr_Occurred()) return NULL;
13895 } Py_INCREF(Py_None);
13896 _resultobj = Py_None;
13897 return _resultobj;
13898 }
13899
13900 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13901 static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13902 PyObject * _resultobj;
13903 wxGridEditorCreatedEvent * _arg0;
13904 wxControl * _arg1;
13905 PyObject * _argo0 = 0;
13906 PyObject * _argo1 = 0;
13907 char *_kwnames[] = { "self","ctrl", NULL };
13908
13909 self = self;
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
13911 return NULL;
13912 if (_argo0) {
13913 if (_argo0 == Py_None) { _arg0 = NULL; }
13914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13916 return NULL;
13917 }
13918 }
13919 if (_argo1) {
13920 if (_argo1 == Py_None) { _arg1 = NULL; }
13921 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
13922 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13923 return NULL;
13924 }
13925 }
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
13929
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) return NULL;
13932 } Py_INCREF(Py_None);
13933 _resultobj = Py_None;
13934 return _resultobj;
13935 }
13936
13937 static PyMethodDef gridcMethods[] = {
13938 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
13939 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
13940 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
13941 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
13942 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13943 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13944 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
13945 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13946 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13947 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13948 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13949 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13950 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
13951 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
13952 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
13953 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
13954 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
13955 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
13956 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
13957 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13958 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13959 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13960 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13961 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13962 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
13963 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
13964 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13965 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13966 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13967 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13968 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13969 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13970 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13971 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13972 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
13973 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
13974 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
13975 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
13976 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
13977 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
13978 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
13979 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
13980 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
13981 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
13982 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
13983 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13984 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13985 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13986 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13987 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
13988 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
13989 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
13990 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
13991 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
13992 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
13993 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
13994 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
13995 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13996 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13997 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
13998 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
13999 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
14000 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14001 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
14002 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14003 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14004 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14005 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14006 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14007 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14008 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14009 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
14010 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14011 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14012 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14013 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14014 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14015 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
14016 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
14017 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
14018 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
14019 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
14020 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
14021 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
14022 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
14023 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14024 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
14025 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14026 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14027 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14028 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
14029 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14030 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14031 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14032 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14033 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14034 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
14035 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14036 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
14037 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14038 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
14039 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
14040 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
14041 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
14042 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
14043 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
14044 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14045 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14046 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
14047 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14048 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14049 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
14050 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
14051 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
14052 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
14053 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
14054 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
14055 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
14056 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
14057 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
14058 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
14059 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14060 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14061 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14062 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14063 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
14064 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
14065 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14066 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
14067 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14068 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
14069 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
14070 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
14071 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
14072 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14073 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14074 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14075 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14076 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
14077 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
14078 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14079 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
14080 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
14081 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14082 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14083 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
14084 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
14085 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
14086 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
14087 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
14088 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
14089 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
14090 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
14091 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
14092 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
14093 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
14094 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
14095 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
14096 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
14097 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
14098 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
14099 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
14100 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
14101 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
14102 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
14103 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
14104 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
14105 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
14106 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
14107 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
14108 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
14109 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
14110 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
14111 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
14112 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
14113 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
14114 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
14115 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
14116 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
14117 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
14118 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
14119 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
14120 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
14121 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
14122 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14123 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
14124 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
14125 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14126 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
14127 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
14128 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
14129 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
14130 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
14131 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
14132 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
14133 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
14134 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14135 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
14136 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
14137 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
14138 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
14139 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
14140 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
14141 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
14142 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
14143 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
14144 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
14145 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
14146 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
14147 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
14148 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
14149 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
14150 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
14151 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
14152 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
14153 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
14154 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
14155 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
14156 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
14157 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14158 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14159 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
14160 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
14161 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
14162 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14163 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14164 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14165 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14166 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14167 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
14168 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
14169 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14170 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
14171 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
14172 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
14173 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
14174 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
14175 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
14176 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
14177 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14178 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
14179 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14180 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14181 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
14182 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
14183 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
14184 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14185 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14186 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14187 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14188 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14189 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
14190 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
14191 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14192 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
14193 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
14194 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
14195 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
14196 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
14197 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
14198 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
14199 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
14200 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
14201 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
14202 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
14203 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
14204 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
14205 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
14206 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
14207 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
14208 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
14209 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
14210 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
14211 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
14212 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
14213 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14214 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14215 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
14216 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
14217 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14218 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
14219 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
14220 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
14221 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14222 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14223 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
14224 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
14225 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
14226 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
14227 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
14228 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
14229 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
14230 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
14231 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
14232 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14233 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
14234 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
14235 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
14236 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
14237 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
14238 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
14239 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14240 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
14241 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
14242 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
14243 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
14244 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14245 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
14246 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
14247 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14248 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
14249 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
14250 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
14251 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
14252 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
14253 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
14254 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
14255 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
14256 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
14257 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
14258 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
14259 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
14260 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
14261 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14262 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
14263 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14264 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
14265 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
14266 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14267 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14268 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
14269 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
14270 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14271 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
14272 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
14273 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14274 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
14275 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
14276 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14277 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14278 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
14279 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
14280 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
14281 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
14282 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
14283 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
14284 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
14285 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
14286 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
14287 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
14288 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
14289 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
14290 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
14291 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
14292 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
14293 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
14294 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
14295 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
14296 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
14297 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
14298 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
14299 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
14300 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
14301 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
14302 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14303 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14304 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
14305 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
14306 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
14307 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
14308 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
14309 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
14310 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
14311 { NULL, NULL }
14312 };
14313 #ifdef __cplusplus
14314 }
14315 #endif
14316 /*
14317 * This table is used by the pointer type-checker
14318 */
14319 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
14320 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14321 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14322 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14323 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
14324 { "_signed_long","_long",0},
14325 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
14326 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14327 { "_wxPrintQuality","_wxCoord",0},
14328 { "_wxPrintQuality","_int",0},
14329 { "_wxPrintQuality","_signed_int",0},
14330 { "_wxPrintQuality","_unsigned_int",0},
14331 { "_wxPrintQuality","_wxWindowID",0},
14332 { "_wxPrintQuality","_uint",0},
14333 { "_wxPrintQuality","_EBool",0},
14334 { "_wxPrintQuality","_size_t",0},
14335 { "_wxPrintQuality","_time_t",0},
14336 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14337 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14338 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14339 { "_byte","_unsigned_char",0},
14340 { "_long","_unsigned_long",0},
14341 { "_long","_signed_long",0},
14342 { "_size_t","_WXGRIDSELECTIONMODES",0},
14343 { "_size_t","_wxCoord",0},
14344 { "_size_t","_wxPrintQuality",0},
14345 { "_size_t","_time_t",0},
14346 { "_size_t","_unsigned_int",0},
14347 { "_size_t","_int",0},
14348 { "_size_t","_wxWindowID",0},
14349 { "_size_t","_uint",0},
14350 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
14351 { "_uint","_WXGRIDSELECTIONMODES",0},
14352 { "_uint","_wxCoord",0},
14353 { "_uint","_wxPrintQuality",0},
14354 { "_uint","_time_t",0},
14355 { "_uint","_size_t",0},
14356 { "_uint","_unsigned_int",0},
14357 { "_uint","_int",0},
14358 { "_uint","_wxWindowID",0},
14359 { "_wxChar","_char",0},
14360 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14361 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14362 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14363 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14364 { "_char","_wxChar",0},
14365 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
14366 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
14367 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
14368 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14369 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14370 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14371 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14372 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14373 { "_EBool","_WXGRIDSELECTIONMODES",0},
14374 { "_EBool","_wxCoord",0},
14375 { "_EBool","_wxPrintQuality",0},
14376 { "_EBool","_signed_int",0},
14377 { "_EBool","_int",0},
14378 { "_EBool","_wxWindowID",0},
14379 { "_unsigned_long","_long",0},
14380 { "_WXGRIDSELECTIONMODES","_int",0},
14381 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14382 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14383 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14384 { "_WXGRIDSELECTIONMODES","_uint",0},
14385 { "_WXGRIDSELECTIONMODES","_EBool",0},
14386 { "_WXGRIDSELECTIONMODES","_size_t",0},
14387 { "_WXGRIDSELECTIONMODES","_time_t",0},
14388 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14389 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14390 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14391 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14392 { "_signed_int","_wxCoord",0},
14393 { "_signed_int","_wxPrintQuality",0},
14394 { "_signed_int","_EBool",0},
14395 { "_signed_int","_wxWindowID",0},
14396 { "_signed_int","_int",0},
14397 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
14398 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
14399 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14400 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14401 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14402 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14403 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14404 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14405 { "_WXTYPE","_short",0},
14406 { "_WXTYPE","_signed_short",0},
14407 { "_WXTYPE","_unsigned_short",0},
14408 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14409 { "_unsigned_short","_WXTYPE",0},
14410 { "_unsigned_short","_short",0},
14411 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14412 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14413 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14414 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14415 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
14416 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14417 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14418 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14419 { "_signed_short","_WXTYPE",0},
14420 { "_signed_short","_short",0},
14421 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
14422 { "_unsigned_char","_byte",0},
14423 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14424 { "_unsigned_int","_wxCoord",0},
14425 { "_unsigned_int","_wxPrintQuality",0},
14426 { "_unsigned_int","_time_t",0},
14427 { "_unsigned_int","_size_t",0},
14428 { "_unsigned_int","_uint",0},
14429 { "_unsigned_int","_wxWindowID",0},
14430 { "_unsigned_int","_int",0},
14431 { "_short","_WXTYPE",0},
14432 { "_short","_unsigned_short",0},
14433 { "_short","_signed_short",0},
14434 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14435 { "_wxWindowID","_wxCoord",0},
14436 { "_wxWindowID","_wxPrintQuality",0},
14437 { "_wxWindowID","_time_t",0},
14438 { "_wxWindowID","_size_t",0},
14439 { "_wxWindowID","_EBool",0},
14440 { "_wxWindowID","_uint",0},
14441 { "_wxWindowID","_int",0},
14442 { "_wxWindowID","_signed_int",0},
14443 { "_wxWindowID","_unsigned_int",0},
14444 { "_int","_WXGRIDSELECTIONMODES",0},
14445 { "_int","_wxCoord",0},
14446 { "_int","_wxPrintQuality",0},
14447 { "_int","_time_t",0},
14448 { "_int","_size_t",0},
14449 { "_int","_EBool",0},
14450 { "_int","_uint",0},
14451 { "_int","_wxWindowID",0},
14452 { "_int","_unsigned_int",0},
14453 { "_int","_signed_int",0},
14454 { "_time_t","_WXGRIDSELECTIONMODES",0},
14455 { "_time_t","_wxCoord",0},
14456 { "_time_t","_wxPrintQuality",0},
14457 { "_time_t","_unsigned_int",0},
14458 { "_time_t","_int",0},
14459 { "_time_t","_wxWindowID",0},
14460 { "_time_t","_uint",0},
14461 { "_time_t","_size_t",0},
14462 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14463 { "_wxCoord","_int",0},
14464 { "_wxCoord","_signed_int",0},
14465 { "_wxCoord","_unsigned_int",0},
14466 { "_wxCoord","_wxWindowID",0},
14467 { "_wxCoord","_uint",0},
14468 { "_wxCoord","_EBool",0},
14469 { "_wxCoord","_size_t",0},
14470 { "_wxCoord","_time_t",0},
14471 { "_wxCoord","_wxPrintQuality",0},
14472 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
14473 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
14474 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
14475 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14476 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14477 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14478 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14479 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14480 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
14481 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14482 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14483 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
14484 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
14485 {0,0,0}};
14486
14487 static PyObject *SWIG_globals;
14488 #ifdef __cplusplus
14489 extern "C"
14490 #endif
14491 SWIGEXPORT(void) initgridc() {
14492 PyObject *m, *d;
14493 SWIG_globals = SWIG_newvarlink();
14494 m = Py_InitModule("gridc", gridcMethods);
14495 d = PyModule_GetDict(m);
14496 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14497 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14498 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14499 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14500 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14501 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14502 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14503 PyDict_SetItemString(d,"cvar", SWIG_globals);
14504 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14505 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14506 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14507 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14508 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14509 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14510 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14511 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14512 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14513 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14514 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14515 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14516 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14517 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14518 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14519 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14520 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14521 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14522 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14523 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14524 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14525 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14526 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14527 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14528 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
14529 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
14530
14531 wxClassInfo::CleanUpClasses();
14532 wxClassInfo::InitializeClasses();
14533 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14534 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14535 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14536 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14537 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14538 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
14539 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14540 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14541 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14542 {
14543 int i;
14544 for (i = 0; _swig_mapping[i].n1; i++)
14545 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14546 }
14547 }