]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid.cpp
4d4b5e4b01715caeece25f1d02d67793c9f72b00
[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
61
62 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
79
80 o2 = target;
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
83 Py_DECREF(o3);
84 }
85 return target;
86 }
87
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg = "String or Unicode type required";
90 #else
91 static char* wxStringErrorMsg = "string type is required for parameter";
92 #endif
93
94 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
95 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
96 wxGridCellAttr* rval = NULL; \
97 bool doSave = wxPyRestoreThread(); \
98 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
99 PyObject* ro; \
100 wxGridCellAttr* ptr; \
101 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
102 if (ro) { \
103 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
104 rval = ptr; \
105 Py_DECREF(ro); \
106 } \
107 } \
108 else \
109 rval = PCLASS::CBNAME(a, b, c); \
110 wxPySaveThread(doSave); \
111 return rval; \
112 } \
113 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
114 return PCLASS::CBNAME(a, b, c); \
115 }
116
117
118
119 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
120 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
121 bool doSave = wxPyRestoreThread(); \
122 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
123 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
124 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
125 Py_DECREF(obj); \
126 } \
127 else \
128 PCLASS::CBNAME(attr, a, b); \
129 wxPySaveThread(doSave); \
130 } \
131 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
132 PCLASS::CBNAME(attr, a, b); \
133 }
134
135
136
137 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
138 void CBNAME(wxGridCellAttr *attr, int val) { \
139 bool doSave = wxPyRestoreThread(); \
140 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
141 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
142 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
143 Py_DECREF(obj); \
144 } \
145 else \
146 PCLASS::CBNAME(attr, val); \
147 wxPySaveThread(doSave); \
148 } \
149 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
150 PCLASS::CBNAME(attr, val); \
151 }
152
153
154
155 #define PYCALLBACK_INT__pure(CBNAME) \
156 int CBNAME() { \
157 bool doSave = wxPyRestoreThread(); \
158 int rval = 0; \
159 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
160 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
161 wxPySaveThread(doSave); \
162 return rval; \
163 }
164
165
166
167 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
168 bool CBNAME(int a, int b) { \
169 bool doSave = wxPyRestoreThread(); \
170 bool rval = 0; \
171 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
172 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
173 wxPySaveThread(doSave); \
174 return rval; \
175 }
176
177
178
179 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
180 wxString CBNAME(int a, int b) { \
181 bool doSave = wxPyRestoreThread(); \
182 wxString rval; \
183 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
184 PyObject* ro; \
185 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
186 if (ro) { \
187 PyObject* str = PyObject_Str(ro); \
188 rval = PyString_AsString(str); \
189 Py_DECREF(ro); Py_DECREF(str); \
190 } \
191 } \
192 wxPySaveThread(doSave); \
193 return rval; \
194 }
195
196
197
198 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
199 void CBNAME(int a, int b, const wxString& c) { \
200 bool doSave = wxPyRestoreThread(); \
201 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
202 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str())); \
203 wxPySaveThread(doSave); \
204 }
205
206
207 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
208 wxString CBNAME(int a, int b) { \
209 bool doSave = wxPyRestoreThread(); \
210 wxString rval; \
211 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
212 PyObject* ro; \
213 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
214 if (ro) { \
215 PyObject* str = PyObject_Str(ro); \
216 rval = PyString_AsString(str); \
217 Py_DECREF(ro); Py_DECREF(str); \
218 } \
219 } else \
220 rval = PCLASS::CBNAME(a, b); \
221 wxPySaveThread(doSave); \
222 return rval; \
223 } \
224 wxString base_##CBNAME(int a, int b) { \
225 return PCLASS::CBNAME(a, b); \
226 }
227
228
229
230 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
231 bool CBNAME(int a, int b, const wxString& c) { \
232 bool rval; \
233 bool doSave = wxPyRestoreThread(); \
234 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
235 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str())); \
236 else \
237 rval = PCLASS::CBNAME(a,b,c); \
238 wxPySaveThread(doSave); \
239 return rval; \
240 } \
241 bool base_##CBNAME(int a, int b, const wxString& c) { \
242 return PCLASS::CBNAME(a,b,c); \
243 }
244
245
246
247
248 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
249 long CBNAME(int a, int b) { \
250 long rval; \
251 bool doSave = wxPyRestoreThread(); \
252 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
253 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
254 else \
255 rval = PCLASS::CBNAME(a,b); \
256 wxPySaveThread(doSave); \
257 return rval; \
258 } \
259 long base_##CBNAME(int a, int b) { \
260 return PCLASS::CBNAME(a,b); \
261 }
262
263
264
265 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b) { \
267 bool rval; \
268 bool doSave = wxPyRestoreThread(); \
269 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
270 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
271 else \
272 rval = PCLASS::CBNAME(a,b); \
273 wxPySaveThread(doSave); \
274 return rval; \
275 } \
276 bool base_##CBNAME(int a, int b) { \
277 return PCLASS::CBNAME(a,b); \
278 }
279
280
281
282 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
283 double CBNAME(int a, int b) { \
284 bool doSave = wxPyRestoreThread(); \
285 double rval; \
286 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
287 PyObject* ro; \
288 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
289 if (ro) { \
290 PyObject* str = PyObject_Str(ro); \
291 rval = PyFloat_AsDouble(str); \
292 Py_DECREF(ro); Py_DECREF(str); \
293 } \
294 } else \
295 rval = PCLASS::CBNAME(a, b); \
296 wxPySaveThread(doSave); \
297 return rval; \
298 } \
299 double base_##CBNAME(int a, int b) { \
300 return PCLASS::CBNAME(a, b); \
301 }
302
303
304
305 #define PYCALLBACK__(PCLASS, CBNAME) \
306 void CBNAME() { \
307 bool doSave = wxPyRestoreThread(); \
308 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
309 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
310 else \
311 PCLASS::CBNAME(); \
312 wxPySaveThread(doSave); \
313 } \
314 void base_##CBNAME() { \
315 PCLASS::CBNAME(); \
316 }
317
318
319
320
321 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
322 bool CBNAME(size_t a, size_t b) { \
323 bool rval; \
324 bool doSave = wxPyRestoreThread(); \
325 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
326 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
327 else \
328 rval = PCLASS::CBNAME(a,b); \
329 wxPySaveThread(doSave); \
330 return rval; \
331 } \
332 bool base_##CBNAME(size_t a, size_t b) { \
333 return PCLASS::CBNAME(a,b); \
334 }
335
336
337
338 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
339 bool CBNAME(size_t a) { \
340 bool rval; \
341 bool doSave = wxPyRestoreThread(); \
342 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
343 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
344 else \
345 rval = PCLASS::CBNAME(a); \
346 wxPySaveThread(doSave); \
347 return rval; \
348 } \
349 bool base_##CBNAME(size_t a) { \
350 return PCLASS::CBNAME(a); \
351 }
352
353
354
355 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
356 wxString CBNAME(int a) { \
357 bool doSave = wxPyRestoreThread(); \
358 wxString rval; \
359 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
360 PyObject* ro; \
361 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
362 if (ro) { \
363 PyObject* str = PyObject_Str(ro); \
364 rval = PyString_AsString(str); \
365 Py_DECREF(ro); Py_DECREF(str); \
366 } \
367 } else \
368 rval = PCLASS::CBNAME(a); \
369 wxPySaveThread(doSave); \
370 return rval; \
371 } \
372 wxString base_##CBNAME(int a) { \
373 return PCLASS::CBNAME(a); \
374 }
375
376
377
378 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
379 void CBNAME(int a, const wxString& c) { \
380 bool doSave = wxPyRestoreThread(); \
381 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
382 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
383 else \
384 PCLASS::CBNAME(a,c); \
385 wxPySaveThread(doSave); \
386 } \
387 void base_##CBNAME(int a, const wxString& c) { \
388 PCLASS::CBNAME(a,c); \
389 }
390
391
392
393
394 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
395 bool CBNAME() { \
396 bool rval; \
397 bool doSave = wxPyRestoreThread(); \
398 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
399 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
400 else \
401 rval = PCLASS::CBNAME(); \
402 wxPySaveThread(doSave); \
403 return rval; \
404 } \
405 bool base_##CBNAME() { \
406 return PCLASS::CBNAME(); \
407 }
408
409
410
411 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
412 void CBNAME(size_t a, int b) { \
413 bool doSave = wxPyRestoreThread(); \
414 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
415 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
416 else \
417 PCLASS::CBNAME(a,b); \
418 wxPySaveThread(doSave); \
419 } \
420 void base_##CBNAME(size_t a, int b) { \
421 PCLASS::CBNAME(a,b); \
422 }
423
424
425
426
427 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
428 void CBNAME(int a, int b, long c) { \
429 bool doSave = wxPyRestoreThread(); \
430 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
431 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
432 else \
433 PCLASS::CBNAME(a,b,c); \
434 wxPySaveThread(doSave); \
435 } \
436 void base_##CBNAME(int a, int b, long c) { \
437 PCLASS::CBNAME(a,b,c); \
438 }
439
440
441
442
443 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
444 void CBNAME(int a, int b, double c) { \
445 bool doSave = wxPyRestoreThread(); \
446 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
447 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
448 else \
449 PCLASS::CBNAME(a,b,c); \
450 wxPySaveThread(doSave); \
451 } \
452 void base_##CBNAME(int a, int b, double c) { \
453 PCLASS::CBNAME(a,b,c); \
454 }
455
456
457
458 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
459 void CBNAME(int a, int b, bool c) { \
460 bool doSave = wxPyRestoreThread(); \
461 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
462 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
463 else \
464 PCLASS::CBNAME(a,b,c); \
465 wxPySaveThread(doSave); \
466 } \
467 void base_##CBNAME(int a, int b, bool c) { \
468 PCLASS::CBNAME(a,b,c); \
469 }
470
471
472
473
474
475 class wxPyGridCellRenderer : public wxGridCellRenderer
476 {
477 public:
478 wxPyGridCellRenderer() : wxGridCellRenderer() {};
479
480 // Implement Python callback aware virtual methods
481 void Draw(wxGrid& grid, wxGridCellAttr& attr,
482 wxDC& dc, const wxRect& rect,
483 int row, int col, bool isSelected) {
484 bool doSave = wxPyRestoreThread();
485 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
486 wxPyCBH_callCallback(m_myInst,
487 Py_BuildValue("(OOOOiii)",
488 wxPyConstructObject((void*)&grid, "wxGrid", 0),
489 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
490 wxPyConstructObject((void*)&dc, "wxDC", 0),
491 wxPyConstructObject((void*)&rect, "wxRect", 0),
492 row, col, isSelected));
493 }
494 wxPySaveThread(doSave);
495 }
496
497 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
498 int row, int col) {
499 wxSize rval;
500 bool doSave = wxPyRestoreThread();
501 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
502 PyObject* ro;
503 wxSize* ptr;
504 ro = wxPyCBH_callCallbackObj(m_myInst,
505 Py_BuildValue("(OOOii)",
506 wxPyConstructObject((void*)&grid, "wxGrid", 0),
507 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
508 wxPyConstructObject((void*)&dc, "wxDC", 0),
509 row, col));
510 if (ro) {
511 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
512 rval = *ptr;
513 Py_DECREF(ro);
514 }
515 }
516 wxPySaveThread(doSave);
517 return rval;
518 }
519
520
521 wxGridCellRenderer *Clone() const {
522 wxGridCellRenderer* rval = NULL;
523 bool doSave = wxPyRestoreThread();
524 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
525 PyObject* ro;
526 wxGridCellRenderer* ptr;
527 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
528 if (ro) {
529 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
530 rval = ptr;
531 Py_DECREF(ro);
532 }
533 }
534 wxPySaveThread(doSave);
535 return rval;
536 }
537
538 DEC_PYCALLBACK__STRING(SetParameters);
539
540 PYPRIVATE;
541 };
542
543 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
544
545
546 class wxPyGridCellEditor : public wxGridCellEditor
547 {
548 public:
549 wxPyGridCellEditor() : wxGridCellEditor() {}
550
551 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
552 bool doSave = wxPyRestoreThread();
553 if (wxPyCBH_findCallback(m_myInst, "Create")) {
554 wxPyCBH_callCallback(m_myInst,
555 Py_BuildValue("(OiO)",
556 wxPyConstructObject((void*)parent, "wxWindow", 0),
557 id,
558 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
559 }
560 wxPySaveThread(doSave);
561 }
562
563
564 void BeginEdit(int row, int col, wxGrid* grid) {
565 bool doSave = wxPyRestoreThread();
566 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
567 wxPyCBH_callCallback(m_myInst,
568 Py_BuildValue("(iiO)", row, col,
569 wxPyConstructObject((void*)grid, "wxGrid", 0)));
570 }
571 wxPySaveThread(doSave);
572 }
573
574
575 bool EndEdit(int row, int col, wxGrid* grid) {
576 bool rv = FALSE;
577 bool doSave = wxPyRestoreThread();
578 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
579 rv = wxPyCBH_callCallback(m_myInst,
580 Py_BuildValue("(iiO)", row, col,
581 wxPyConstructObject((void*)grid, "wxGrid", 0)));
582 }
583 wxPySaveThread(doSave);
584 return rv;
585 }
586
587
588 wxGridCellEditor*Clone() const {
589 wxGridCellEditor* rval = NULL;
590 bool doSave = wxPyRestoreThread();
591 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
592 PyObject* ro;
593 wxGridCellEditor* ptr;
594 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
595 if (ro) {
596 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
597 rval = ptr;
598 Py_DECREF(ro);
599 }
600 }
601 wxPySaveThread(doSave);
602 return rval;
603 }
604
605
606 void Show(bool show, wxGridCellAttr *attr) {
607 bool doSave = wxPyRestoreThread();
608 if (wxPyCBH_findCallback(m_myInst, "Show"))
609 wxPyCBH_callCallback(m_myInst,
610 Py_BuildValue("(iO)", show,
611 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
612 else
613 wxGridCellEditor::Show(show, attr);
614 wxPySaveThread(doSave);
615 }
616 void base_Show(bool show, wxGridCellAttr *attr) {
617 wxGridCellEditor::Show(show, attr);
618 }
619
620
621 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
622 bool doSave = wxPyRestoreThread();
623 if (wxPyCBH_findCallback(m_myInst, "PaintBackground"))
624 wxPyCBH_callCallback(m_myInst,
625 Py_BuildValue("(OO)",
626 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
627 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
628 else
629 wxGridCellEditor::PaintBackground(rectCell, attr);
630 wxPySaveThread(doSave);
631 }
632 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
633 wxGridCellEditor::PaintBackground(rectCell, attr);
634 }
635
636
637 DEC_PYCALLBACK___pure(Reset);
638 DEC_PYCALLBACK__constany(SetSize, wxRect);
639 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
640 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
641 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
642 DEC_PYCALLBACK__(StartingClick);
643 DEC_PYCALLBACK__(Destroy);
644 DEC_PYCALLBACK__STRING(SetParameters);
645
646 PYPRIVATE;
647 };
648
649
650 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
651 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
652 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
653 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
654 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
655 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
656 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
657 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
658
659
660 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
661 {
662 public:
663 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
664
665 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
666 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
667 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
668 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
669
670 PYPRIVATE;
671 };
672
673 class wxPyGridTableBase : public wxGridTableBase
674 {
675 public:
676 wxPyGridTableBase() : wxGridTableBase() {}
677
678 PYCALLBACK_INT__pure(GetNumberRows);
679 PYCALLBACK_INT__pure(GetNumberCols);
680 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
681 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
682 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
683 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
684 PYCALLBACK__(wxGridTableBase, Clear);
685 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
686 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
687 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
688 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
689 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
690 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
691 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
692 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
693 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
694 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
695 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
696 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
697 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
698 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
699 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
700
701
702 wxString GetValue(int row, int col) {
703 bool doSave = wxPyRestoreThread();
704 wxString rval;
705 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
706 PyObject* ro;
707 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
708 if (ro) {
709 PyObject* str = PyObject_Str(ro);
710 rval = PyString_AsString(str);
711 Py_DECREF(ro);
712 Py_DECREF(str);
713 }
714 }
715 wxPySaveThread(doSave);
716 return rval;
717 }
718
719 void SetValue(int row, int col, const wxString& val) {
720 bool doSave = wxPyRestoreThread();
721 if (wxPyCBH_findCallback(m_myInst, "SetValue"))
722 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str()));
723 wxPySaveThread(doSave);
724 }
725
726
727 // Map the Get/Set methods for the standard non-string types to
728 // the GetValue and SetValue python methods.
729 long GetValueAsLong( int row, int col ) {
730 long rval = 0;
731 bool doSave = wxPyRestoreThread();
732 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
733 PyObject* ro;
734 PyObject* num;
735 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
736 if (ro && PyNumber_Check(ro)) {
737 num = PyNumber_Int(ro);
738 if (num) {
739 rval = PyInt_AsLong(num);
740 Py_DECREF(num);
741 }
742 Py_DECREF(ro);
743 }
744 }
745 wxPySaveThread(doSave);
746 return rval;
747 }
748
749 double GetValueAsDouble( int row, int col ) {
750 double rval = 0.0;
751 bool doSave = wxPyRestoreThread();
752 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
753 PyObject* ro;
754 PyObject* num;
755 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
756 if (ro && PyNumber_Check(ro)) {
757 num = PyNumber_Float(ro);
758 if (num) {
759 rval = PyFloat_AsDouble(num);
760 Py_DECREF(num);
761 }
762 Py_DECREF(ro);
763 }
764 }
765 wxPySaveThread(doSave);
766 return rval;
767 }
768
769 bool GetValueAsBool( int row, int col ) {
770 return (bool)GetValueAsLong(row, col);
771 }
772
773 void SetValueAsLong( int row, int col, long value ) {
774 bool doSave = wxPyRestoreThread();
775 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
776 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
777 }
778 wxPySaveThread(doSave);
779 }
780
781 void SetValueAsDouble( int row, int col, double value ) {
782 bool doSave = wxPyRestoreThread();
783 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
784 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
785 }
786 wxPySaveThread(doSave);
787 }
788
789 void SetValueAsBool( int row, int col, bool value ) {
790 SetValueAsLong( row, col, (long)value );
791 }
792
793
794 PYPRIVATE;
795 };
796
797 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
798
799 // If source is an object instance then it may already be the right type
800 if (PyInstance_Check(source)) {
801 wxGridCellCoords* ptr;
802 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
803 goto error;
804 *obj = ptr;
805 return TRUE;
806 }
807 // otherwise a 2-tuple of integers is expected
808 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
809 PyObject* o1 = PySequence_GetItem(source, 0);
810 PyObject* o2 = PySequence_GetItem(source, 1);
811 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
812 return TRUE;
813 }
814
815 error:
816 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
817 return FALSE;
818 }
819
820 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
821 #ifdef __cplusplus
822 extern "C" {
823 #endif
824 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
825
826 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
827 return 1;
828 }
829
830 static PyObject *_wrap_wxGridNoCellCoords_get() {
831 PyObject * pyobj;
832 char ptemp[128];
833
834 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
835 pyobj = PyString_FromString(ptemp);
836 return pyobj;
837 }
838
839 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
840
841 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
842 return 1;
843 }
844
845 static PyObject *_wrap_wxGridNoCellRect_get() {
846 PyObject * pyobj;
847 char ptemp[128];
848
849 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
850 pyobj = PyString_FromString(ptemp);
851 return pyobj;
852 }
853
854 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
855 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
856 PyObject * _resultobj;
857 wxGridCellRenderer * _arg0;
858 wxString * _arg1;
859 PyObject * _argo0 = 0;
860 PyObject * _obj1 = 0;
861 char *_kwnames[] = { "self","params", NULL };
862
863 self = self;
864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
865 return NULL;
866 if (_argo0) {
867 if (_argo0 == Py_None) { _arg0 = NULL; }
868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
870 return NULL;
871 }
872 }
873 {
874 #if PYTHON_API_VERSION >= 1009
875 char* tmpPtr; int tmpSize;
876 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
877 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
878 return NULL;
879 }
880 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
881 return NULL;
882 _arg1 = new wxString(tmpPtr, tmpSize);
883 #else
884 if (!PyString_Check(_obj1)) {
885 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
886 return NULL;
887 }
888 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
889 #endif
890 }
891 {
892 wxPy_BEGIN_ALLOW_THREADS;
893 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
894
895 wxPy_END_ALLOW_THREADS;
896 if (PyErr_Occurred()) return NULL;
897 } Py_INCREF(Py_None);
898 _resultobj = Py_None;
899 {
900 if (_obj1)
901 delete _arg1;
902 }
903 return _resultobj;
904 }
905
906 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
907 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
908 PyObject * _resultobj;
909 wxGridCellRenderer * _arg0;
910 PyObject * _argo0 = 0;
911 char *_kwnames[] = { "self", NULL };
912
913 self = self;
914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
915 return NULL;
916 if (_argo0) {
917 if (_argo0 == Py_None) { _arg0 = NULL; }
918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
920 return NULL;
921 }
922 }
923 {
924 wxPy_BEGIN_ALLOW_THREADS;
925 wxGridCellRenderer_IncRef(_arg0);
926
927 wxPy_END_ALLOW_THREADS;
928 if (PyErr_Occurred()) return NULL;
929 } Py_INCREF(Py_None);
930 _resultobj = Py_None;
931 return _resultobj;
932 }
933
934 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
935 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
936 PyObject * _resultobj;
937 wxGridCellRenderer * _arg0;
938 PyObject * _argo0 = 0;
939 char *_kwnames[] = { "self", NULL };
940
941 self = self;
942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
943 return NULL;
944 if (_argo0) {
945 if (_argo0 == Py_None) { _arg0 = NULL; }
946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
948 return NULL;
949 }
950 }
951 {
952 wxPy_BEGIN_ALLOW_THREADS;
953 wxGridCellRenderer_DecRef(_arg0);
954
955 wxPy_END_ALLOW_THREADS;
956 if (PyErr_Occurred()) return NULL;
957 } Py_INCREF(Py_None);
958 _resultobj = Py_None;
959 return _resultobj;
960 }
961
962 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
963 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
964 PyObject * _resultobj;
965 wxGridCellRenderer * _arg0;
966 wxGrid * _arg1;
967 wxGridCellAttr * _arg2;
968 wxDC * _arg3;
969 wxRect * _arg4;
970 int _arg5;
971 int _arg6;
972 bool _arg7;
973 PyObject * _argo0 = 0;
974 PyObject * _argo1 = 0;
975 PyObject * _argo2 = 0;
976 PyObject * _argo3 = 0;
977 wxRect temp;
978 PyObject * _obj4 = 0;
979 int tempbool7;
980 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
981
982 self = self;
983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
984 return NULL;
985 if (_argo0) {
986 if (_argo0 == Py_None) { _arg0 = NULL; }
987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
989 return NULL;
990 }
991 }
992 if (_argo1) {
993 if (_argo1 == Py_None) { _arg1 = NULL; }
994 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
995 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
996 return NULL;
997 }
998 }
999 if (_argo2) {
1000 if (_argo2 == Py_None) { _arg2 = NULL; }
1001 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1002 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1003 return NULL;
1004 }
1005 }
1006 if (_argo3) {
1007 if (_argo3 == Py_None) { _arg3 = NULL; }
1008 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1009 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1010 return NULL;
1011 }
1012 }
1013 {
1014 _arg4 = &temp;
1015 if (! wxRect_helper(_obj4, &_arg4))
1016 return NULL;
1017 }
1018 _arg7 = (bool ) tempbool7;
1019 {
1020 wxPy_BEGIN_ALLOW_THREADS;
1021 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1022
1023 wxPy_END_ALLOW_THREADS;
1024 if (PyErr_Occurred()) return NULL;
1025 } Py_INCREF(Py_None);
1026 _resultobj = Py_None;
1027 return _resultobj;
1028 }
1029
1030 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1031 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1032 PyObject * _resultobj;
1033 wxSize * _result;
1034 wxGridCellRenderer * _arg0;
1035 wxGrid * _arg1;
1036 wxGridCellAttr * _arg2;
1037 wxDC * _arg3;
1038 int _arg4;
1039 int _arg5;
1040 PyObject * _argo0 = 0;
1041 PyObject * _argo1 = 0;
1042 PyObject * _argo2 = 0;
1043 PyObject * _argo3 = 0;
1044 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1045 char _ptemp[128];
1046
1047 self = self;
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1049 return NULL;
1050 if (_argo0) {
1051 if (_argo0 == Py_None) { _arg0 = NULL; }
1052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1054 return NULL;
1055 }
1056 }
1057 if (_argo1) {
1058 if (_argo1 == Py_None) { _arg1 = NULL; }
1059 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1060 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1061 return NULL;
1062 }
1063 }
1064 if (_argo2) {
1065 if (_argo2 == Py_None) { _arg2 = NULL; }
1066 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1067 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1068 return NULL;
1069 }
1070 }
1071 if (_argo3) {
1072 if (_argo3 == Py_None) { _arg3 = NULL; }
1073 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1075 return NULL;
1076 }
1077 }
1078 {
1079 wxPy_BEGIN_ALLOW_THREADS;
1080 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1081
1082 wxPy_END_ALLOW_THREADS;
1083 if (PyErr_Occurred()) return NULL;
1084 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1085 _resultobj = Py_BuildValue("s",_ptemp);
1086 return _resultobj;
1087 }
1088
1089 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1090 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1091 PyObject * _resultobj;
1092 wxGridCellRenderer * _result;
1093 wxGridCellRenderer * _arg0;
1094 PyObject * _argo0 = 0;
1095 char *_kwnames[] = { "self", NULL };
1096 char _ptemp[128];
1097
1098 self = self;
1099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1100 return NULL;
1101 if (_argo0) {
1102 if (_argo0 == Py_None) { _arg0 = NULL; }
1103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1105 return NULL;
1106 }
1107 }
1108 {
1109 wxPy_BEGIN_ALLOW_THREADS;
1110 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1111
1112 wxPy_END_ALLOW_THREADS;
1113 if (PyErr_Occurred()) return NULL;
1114 } if (_result) {
1115 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1116 _resultobj = Py_BuildValue("s",_ptemp);
1117 } else {
1118 Py_INCREF(Py_None);
1119 _resultobj = Py_None;
1120 }
1121 return _resultobj;
1122 }
1123
1124 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1125 wxPyGridCellRenderer *src;
1126 wxGridCellRenderer *dest;
1127 src = (wxPyGridCellRenderer *) ptr;
1128 dest = (wxGridCellRenderer *) src;
1129 return (void *) dest;
1130 }
1131
1132 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1133 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1134 PyObject * _resultobj;
1135 wxPyGridCellRenderer * _result;
1136 char *_kwnames[] = { NULL };
1137 char _ptemp[128];
1138
1139 self = self;
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1141 return NULL;
1142 {
1143 wxPy_BEGIN_ALLOW_THREADS;
1144 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1145
1146 wxPy_END_ALLOW_THREADS;
1147 if (PyErr_Occurred()) return NULL;
1148 } if (_result) {
1149 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1150 _resultobj = Py_BuildValue("s",_ptemp);
1151 } else {
1152 Py_INCREF(Py_None);
1153 _resultobj = Py_None;
1154 }
1155 return _resultobj;
1156 }
1157
1158 #define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1159 static PyObject *_wrap_wxPyGridCellRenderer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1160 PyObject * _resultobj;
1161 wxPyGridCellRenderer * _arg0;
1162 PyObject * _arg1;
1163 PyObject * _arg2;
1164 PyObject * _argo0 = 0;
1165 PyObject * _obj1 = 0;
1166 PyObject * _obj2 = 0;
1167 char *_kwnames[] = { "self","self","_class", NULL };
1168
1169 self = self;
1170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1171 return NULL;
1172 if (_argo0) {
1173 if (_argo0 == Py_None) { _arg0 = NULL; }
1174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1176 return NULL;
1177 }
1178 }
1179 {
1180 _arg1 = _obj1;
1181 }
1182 {
1183 _arg2 = _obj2;
1184 }
1185 {
1186 wxPy_BEGIN_ALLOW_THREADS;
1187 wxPyGridCellRenderer__setSelf(_arg0,_arg1,_arg2);
1188
1189 wxPy_END_ALLOW_THREADS;
1190 if (PyErr_Occurred()) return NULL;
1191 } Py_INCREF(Py_None);
1192 _resultobj = Py_None;
1193 return _resultobj;
1194 }
1195
1196 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1197 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1198 PyObject * _resultobj;
1199 wxPyGridCellRenderer * _arg0;
1200 wxString * _arg1;
1201 PyObject * _argo0 = 0;
1202 PyObject * _obj1 = 0;
1203 char *_kwnames[] = { "self","params", NULL };
1204
1205 self = self;
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1207 return NULL;
1208 if (_argo0) {
1209 if (_argo0 == Py_None) { _arg0 = NULL; }
1210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1212 return NULL;
1213 }
1214 }
1215 {
1216 #if PYTHON_API_VERSION >= 1009
1217 char* tmpPtr; int tmpSize;
1218 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1219 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1220 return NULL;
1221 }
1222 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1223 return NULL;
1224 _arg1 = new wxString(tmpPtr, tmpSize);
1225 #else
1226 if (!PyString_Check(_obj1)) {
1227 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1228 return NULL;
1229 }
1230 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1231 #endif
1232 }
1233 {
1234 wxPy_BEGIN_ALLOW_THREADS;
1235 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1236
1237 wxPy_END_ALLOW_THREADS;
1238 if (PyErr_Occurred()) return NULL;
1239 } Py_INCREF(Py_None);
1240 _resultobj = Py_None;
1241 {
1242 if (_obj1)
1243 delete _arg1;
1244 }
1245 return _resultobj;
1246 }
1247
1248 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1249 wxGridCellStringRenderer *src;
1250 wxGridCellRenderer *dest;
1251 src = (wxGridCellStringRenderer *) ptr;
1252 dest = (wxGridCellRenderer *) src;
1253 return (void *) dest;
1254 }
1255
1256 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1257 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1258 PyObject * _resultobj;
1259 wxGridCellStringRenderer * _result;
1260 char *_kwnames[] = { NULL };
1261 char _ptemp[128];
1262
1263 self = self;
1264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1265 return NULL;
1266 {
1267 wxPy_BEGIN_ALLOW_THREADS;
1268 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1269
1270 wxPy_END_ALLOW_THREADS;
1271 if (PyErr_Occurred()) return NULL;
1272 } if (_result) {
1273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1274 _resultobj = Py_BuildValue("s",_ptemp);
1275 } else {
1276 Py_INCREF(Py_None);
1277 _resultobj = Py_None;
1278 }
1279 return _resultobj;
1280 }
1281
1282 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1283 wxGridCellNumberRenderer *src;
1284 wxGridCellStringRenderer *dest;
1285 src = (wxGridCellNumberRenderer *) ptr;
1286 dest = (wxGridCellStringRenderer *) src;
1287 return (void *) dest;
1288 }
1289
1290 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1291 wxGridCellNumberRenderer *src;
1292 wxGridCellRenderer *dest;
1293 src = (wxGridCellNumberRenderer *) ptr;
1294 dest = (wxGridCellRenderer *) src;
1295 return (void *) dest;
1296 }
1297
1298 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1299 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject * _resultobj;
1301 wxGridCellNumberRenderer * _result;
1302 char *_kwnames[] = { NULL };
1303 char _ptemp[128];
1304
1305 self = self;
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1307 return NULL;
1308 {
1309 wxPy_BEGIN_ALLOW_THREADS;
1310 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1311
1312 wxPy_END_ALLOW_THREADS;
1313 if (PyErr_Occurred()) return NULL;
1314 } if (_result) {
1315 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1316 _resultobj = Py_BuildValue("s",_ptemp);
1317 } else {
1318 Py_INCREF(Py_None);
1319 _resultobj = Py_None;
1320 }
1321 return _resultobj;
1322 }
1323
1324 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1325 wxGridCellFloatRenderer *src;
1326 wxGridCellStringRenderer *dest;
1327 src = (wxGridCellFloatRenderer *) ptr;
1328 dest = (wxGridCellStringRenderer *) src;
1329 return (void *) dest;
1330 }
1331
1332 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1333 wxGridCellFloatRenderer *src;
1334 wxGridCellRenderer *dest;
1335 src = (wxGridCellFloatRenderer *) ptr;
1336 dest = (wxGridCellRenderer *) src;
1337 return (void *) dest;
1338 }
1339
1340 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1341 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1342 PyObject * _resultobj;
1343 wxGridCellFloatRenderer * _result;
1344 int _arg0 = (int ) -1;
1345 int _arg1 = (int ) -1;
1346 char *_kwnames[] = { "width","precision", NULL };
1347 char _ptemp[128];
1348
1349 self = self;
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1351 return NULL;
1352 {
1353 wxPy_BEGIN_ALLOW_THREADS;
1354 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1355
1356 wxPy_END_ALLOW_THREADS;
1357 if (PyErr_Occurred()) return NULL;
1358 } if (_result) {
1359 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1360 _resultobj = Py_BuildValue("s",_ptemp);
1361 } else {
1362 Py_INCREF(Py_None);
1363 _resultobj = Py_None;
1364 }
1365 return _resultobj;
1366 }
1367
1368 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1369 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1370 PyObject * _resultobj;
1371 int _result;
1372 wxGridCellFloatRenderer * _arg0;
1373 PyObject * _argo0 = 0;
1374 char *_kwnames[] = { "self", NULL };
1375
1376 self = self;
1377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1378 return NULL;
1379 if (_argo0) {
1380 if (_argo0 == Py_None) { _arg0 = NULL; }
1381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1383 return NULL;
1384 }
1385 }
1386 {
1387 wxPy_BEGIN_ALLOW_THREADS;
1388 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1389
1390 wxPy_END_ALLOW_THREADS;
1391 if (PyErr_Occurred()) return NULL;
1392 } _resultobj = Py_BuildValue("i",_result);
1393 return _resultobj;
1394 }
1395
1396 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1397 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject * _resultobj;
1399 wxGridCellFloatRenderer * _arg0;
1400 int _arg1;
1401 PyObject * _argo0 = 0;
1402 char *_kwnames[] = { "self","width", NULL };
1403
1404 self = self;
1405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1406 return NULL;
1407 if (_argo0) {
1408 if (_argo0 == Py_None) { _arg0 = NULL; }
1409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1411 return NULL;
1412 }
1413 }
1414 {
1415 wxPy_BEGIN_ALLOW_THREADS;
1416 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1417
1418 wxPy_END_ALLOW_THREADS;
1419 if (PyErr_Occurred()) return NULL;
1420 } Py_INCREF(Py_None);
1421 _resultobj = Py_None;
1422 return _resultobj;
1423 }
1424
1425 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1426 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1427 PyObject * _resultobj;
1428 int _result;
1429 wxGridCellFloatRenderer * _arg0;
1430 PyObject * _argo0 = 0;
1431 char *_kwnames[] = { "self", NULL };
1432
1433 self = self;
1434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1435 return NULL;
1436 if (_argo0) {
1437 if (_argo0 == Py_None) { _arg0 = NULL; }
1438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1440 return NULL;
1441 }
1442 }
1443 {
1444 wxPy_BEGIN_ALLOW_THREADS;
1445 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1446
1447 wxPy_END_ALLOW_THREADS;
1448 if (PyErr_Occurred()) return NULL;
1449 } _resultobj = Py_BuildValue("i",_result);
1450 return _resultobj;
1451 }
1452
1453 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1454 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1455 PyObject * _resultobj;
1456 wxGridCellFloatRenderer * _arg0;
1457 int _arg1;
1458 PyObject * _argo0 = 0;
1459 char *_kwnames[] = { "self","precision", NULL };
1460
1461 self = self;
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1463 return NULL;
1464 if (_argo0) {
1465 if (_argo0 == Py_None) { _arg0 = NULL; }
1466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1468 return NULL;
1469 }
1470 }
1471 {
1472 wxPy_BEGIN_ALLOW_THREADS;
1473 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1474
1475 wxPy_END_ALLOW_THREADS;
1476 if (PyErr_Occurred()) return NULL;
1477 } Py_INCREF(Py_None);
1478 _resultobj = Py_None;
1479 return _resultobj;
1480 }
1481
1482 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1483 wxGridCellBoolRenderer *src;
1484 wxGridCellRenderer *dest;
1485 src = (wxGridCellBoolRenderer *) ptr;
1486 dest = (wxGridCellRenderer *) src;
1487 return (void *) dest;
1488 }
1489
1490 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1491 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1492 PyObject * _resultobj;
1493 wxGridCellBoolRenderer * _result;
1494 char *_kwnames[] = { NULL };
1495 char _ptemp[128];
1496
1497 self = self;
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1499 return NULL;
1500 {
1501 wxPy_BEGIN_ALLOW_THREADS;
1502 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1503
1504 wxPy_END_ALLOW_THREADS;
1505 if (PyErr_Occurred()) return NULL;
1506 } if (_result) {
1507 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1508 _resultobj = Py_BuildValue("s",_ptemp);
1509 } else {
1510 Py_INCREF(Py_None);
1511 _resultobj = Py_None;
1512 }
1513 return _resultobj;
1514 }
1515
1516 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1517 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1518 PyObject * _resultobj;
1519 bool _result;
1520 wxGridCellEditor * _arg0;
1521 PyObject * _argo0 = 0;
1522 char *_kwnames[] = { "self", NULL };
1523
1524 self = self;
1525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1526 return NULL;
1527 if (_argo0) {
1528 if (_argo0 == Py_None) { _arg0 = NULL; }
1529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1531 return NULL;
1532 }
1533 }
1534 {
1535 wxPy_BEGIN_ALLOW_THREADS;
1536 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1537
1538 wxPy_END_ALLOW_THREADS;
1539 if (PyErr_Occurred()) return NULL;
1540 } _resultobj = Py_BuildValue("i",_result);
1541 return _resultobj;
1542 }
1543
1544 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1545 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1546 PyObject * _resultobj;
1547 wxControl * _result;
1548 wxGridCellEditor * _arg0;
1549 PyObject * _argo0 = 0;
1550 char *_kwnames[] = { "self", NULL };
1551
1552 self = self;
1553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1554 return NULL;
1555 if (_argo0) {
1556 if (_argo0 == Py_None) { _arg0 = NULL; }
1557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1559 return NULL;
1560 }
1561 }
1562 {
1563 wxPy_BEGIN_ALLOW_THREADS;
1564 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1565
1566 wxPy_END_ALLOW_THREADS;
1567 if (PyErr_Occurred()) return NULL;
1568 }{ _resultobj = wxPyMake_wxObject(_result); }
1569 return _resultobj;
1570 }
1571
1572 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1573 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1574 PyObject * _resultobj;
1575 wxGridCellEditor * _arg0;
1576 wxControl * _arg1;
1577 PyObject * _argo0 = 0;
1578 PyObject * _argo1 = 0;
1579 char *_kwnames[] = { "self","control", NULL };
1580
1581 self = self;
1582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1583 return NULL;
1584 if (_argo0) {
1585 if (_argo0 == Py_None) { _arg0 = NULL; }
1586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1588 return NULL;
1589 }
1590 }
1591 if (_argo1) {
1592 if (_argo1 == Py_None) { _arg1 = NULL; }
1593 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1595 return NULL;
1596 }
1597 }
1598 {
1599 wxPy_BEGIN_ALLOW_THREADS;
1600 wxGridCellEditor_SetControl(_arg0,_arg1);
1601
1602 wxPy_END_ALLOW_THREADS;
1603 if (PyErr_Occurred()) return NULL;
1604 } Py_INCREF(Py_None);
1605 _resultobj = Py_None;
1606 return _resultobj;
1607 }
1608
1609 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1610 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1611 PyObject * _resultobj;
1612 wxGridCellEditor * _arg0;
1613 wxString * _arg1;
1614 PyObject * _argo0 = 0;
1615 PyObject * _obj1 = 0;
1616 char *_kwnames[] = { "self","params", NULL };
1617
1618 self = self;
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1620 return NULL;
1621 if (_argo0) {
1622 if (_argo0 == Py_None) { _arg0 = NULL; }
1623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1625 return NULL;
1626 }
1627 }
1628 {
1629 #if PYTHON_API_VERSION >= 1009
1630 char* tmpPtr; int tmpSize;
1631 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1632 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1633 return NULL;
1634 }
1635 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1636 return NULL;
1637 _arg1 = new wxString(tmpPtr, tmpSize);
1638 #else
1639 if (!PyString_Check(_obj1)) {
1640 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1641 return NULL;
1642 }
1643 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1644 #endif
1645 }
1646 {
1647 wxPy_BEGIN_ALLOW_THREADS;
1648 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1649
1650 wxPy_END_ALLOW_THREADS;
1651 if (PyErr_Occurred()) return NULL;
1652 } Py_INCREF(Py_None);
1653 _resultobj = Py_None;
1654 {
1655 if (_obj1)
1656 delete _arg1;
1657 }
1658 return _resultobj;
1659 }
1660
1661 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1662 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1663 PyObject * _resultobj;
1664 wxGridCellEditor * _arg0;
1665 PyObject * _argo0 = 0;
1666 char *_kwnames[] = { "self", NULL };
1667
1668 self = self;
1669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1670 return NULL;
1671 if (_argo0) {
1672 if (_argo0 == Py_None) { _arg0 = NULL; }
1673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1675 return NULL;
1676 }
1677 }
1678 {
1679 wxPy_BEGIN_ALLOW_THREADS;
1680 wxGridCellEditor_IncRef(_arg0);
1681
1682 wxPy_END_ALLOW_THREADS;
1683 if (PyErr_Occurred()) return NULL;
1684 } Py_INCREF(Py_None);
1685 _resultobj = Py_None;
1686 return _resultobj;
1687 }
1688
1689 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1690 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject * _resultobj;
1692 wxGridCellEditor * _arg0;
1693 PyObject * _argo0 = 0;
1694 char *_kwnames[] = { "self", NULL };
1695
1696 self = self;
1697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1698 return NULL;
1699 if (_argo0) {
1700 if (_argo0 == Py_None) { _arg0 = NULL; }
1701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1703 return NULL;
1704 }
1705 }
1706 {
1707 wxPy_BEGIN_ALLOW_THREADS;
1708 wxGridCellEditor_DecRef(_arg0);
1709
1710 wxPy_END_ALLOW_THREADS;
1711 if (PyErr_Occurred()) return NULL;
1712 } Py_INCREF(Py_None);
1713 _resultobj = Py_None;
1714 return _resultobj;
1715 }
1716
1717 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1718 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1719 PyObject * _resultobj;
1720 wxGridCellEditor * _arg0;
1721 wxWindow * _arg1;
1722 wxWindowID _arg2;
1723 wxEvtHandler * _arg3;
1724 PyObject * _argo0 = 0;
1725 PyObject * _argo1 = 0;
1726 PyObject * _argo3 = 0;
1727 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1728
1729 self = self;
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1731 return NULL;
1732 if (_argo0) {
1733 if (_argo0 == Py_None) { _arg0 = NULL; }
1734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1736 return NULL;
1737 }
1738 }
1739 if (_argo1) {
1740 if (_argo1 == Py_None) { _arg1 = NULL; }
1741 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1743 return NULL;
1744 }
1745 }
1746 if (_argo3) {
1747 if (_argo3 == Py_None) { _arg3 = NULL; }
1748 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1750 return NULL;
1751 }
1752 }
1753 {
1754 wxPy_BEGIN_ALLOW_THREADS;
1755 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1756
1757 wxPy_END_ALLOW_THREADS;
1758 if (PyErr_Occurred()) return NULL;
1759 } Py_INCREF(Py_None);
1760 _resultobj = Py_None;
1761 return _resultobj;
1762 }
1763
1764 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1765 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject * _resultobj;
1767 wxGridCellEditor * _arg0;
1768 int _arg1;
1769 int _arg2;
1770 wxGrid * _arg3;
1771 PyObject * _argo0 = 0;
1772 PyObject * _argo3 = 0;
1773 char *_kwnames[] = { "self","row","col","grid", NULL };
1774
1775 self = self;
1776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1777 return NULL;
1778 if (_argo0) {
1779 if (_argo0 == Py_None) { _arg0 = NULL; }
1780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1782 return NULL;
1783 }
1784 }
1785 if (_argo3) {
1786 if (_argo3 == Py_None) { _arg3 = NULL; }
1787 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1788 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1789 return NULL;
1790 }
1791 }
1792 {
1793 wxPy_BEGIN_ALLOW_THREADS;
1794 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1795
1796 wxPy_END_ALLOW_THREADS;
1797 if (PyErr_Occurred()) return NULL;
1798 } Py_INCREF(Py_None);
1799 _resultobj = Py_None;
1800 return _resultobj;
1801 }
1802
1803 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1804 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject * _resultobj;
1806 bool _result;
1807 wxGridCellEditor * _arg0;
1808 int _arg1;
1809 int _arg2;
1810 wxGrid * _arg3;
1811 PyObject * _argo0 = 0;
1812 PyObject * _argo3 = 0;
1813 char *_kwnames[] = { "self","row","col","grid", NULL };
1814
1815 self = self;
1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1817 return NULL;
1818 if (_argo0) {
1819 if (_argo0 == Py_None) { _arg0 = NULL; }
1820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1822 return NULL;
1823 }
1824 }
1825 if (_argo3) {
1826 if (_argo3 == Py_None) { _arg3 = NULL; }
1827 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1828 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1829 return NULL;
1830 }
1831 }
1832 {
1833 wxPy_BEGIN_ALLOW_THREADS;
1834 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1835
1836 wxPy_END_ALLOW_THREADS;
1837 if (PyErr_Occurred()) return NULL;
1838 } _resultobj = Py_BuildValue("i",_result);
1839 return _resultobj;
1840 }
1841
1842 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1843 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject * _resultobj;
1845 wxGridCellEditor * _arg0;
1846 PyObject * _argo0 = 0;
1847 char *_kwnames[] = { "self", NULL };
1848
1849 self = self;
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
1851 return NULL;
1852 if (_argo0) {
1853 if (_argo0 == Py_None) { _arg0 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1856 return NULL;
1857 }
1858 }
1859 {
1860 wxPy_BEGIN_ALLOW_THREADS;
1861 wxGridCellEditor_Reset(_arg0);
1862
1863 wxPy_END_ALLOW_THREADS;
1864 if (PyErr_Occurred()) return NULL;
1865 } Py_INCREF(Py_None);
1866 _resultobj = Py_None;
1867 return _resultobj;
1868 }
1869
1870 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1871 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1872 PyObject * _resultobj;
1873 wxGridCellEditor * _result;
1874 wxGridCellEditor * _arg0;
1875 PyObject * _argo0 = 0;
1876 char *_kwnames[] = { "self", NULL };
1877 char _ptemp[128];
1878
1879 self = self;
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
1881 return NULL;
1882 if (_argo0) {
1883 if (_argo0 == Py_None) { _arg0 = NULL; }
1884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1886 return NULL;
1887 }
1888 }
1889 {
1890 wxPy_BEGIN_ALLOW_THREADS;
1891 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
1892
1893 wxPy_END_ALLOW_THREADS;
1894 if (PyErr_Occurred()) return NULL;
1895 } if (_result) {
1896 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
1897 _resultobj = Py_BuildValue("s",_ptemp);
1898 } else {
1899 Py_INCREF(Py_None);
1900 _resultobj = Py_None;
1901 }
1902 return _resultobj;
1903 }
1904
1905 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1906 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject * _resultobj;
1908 wxGridCellEditor * _arg0;
1909 wxRect * _arg1;
1910 PyObject * _argo0 = 0;
1911 wxRect temp;
1912 PyObject * _obj1 = 0;
1913 char *_kwnames[] = { "self","rect", NULL };
1914
1915 self = self;
1916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
1917 return NULL;
1918 if (_argo0) {
1919 if (_argo0 == Py_None) { _arg0 = NULL; }
1920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1922 return NULL;
1923 }
1924 }
1925 {
1926 _arg1 = &temp;
1927 if (! wxRect_helper(_obj1, &_arg1))
1928 return NULL;
1929 }
1930 {
1931 wxPy_BEGIN_ALLOW_THREADS;
1932 wxGridCellEditor_SetSize(_arg0,*_arg1);
1933
1934 wxPy_END_ALLOW_THREADS;
1935 if (PyErr_Occurred()) return NULL;
1936 } Py_INCREF(Py_None);
1937 _resultobj = Py_None;
1938 return _resultobj;
1939 }
1940
1941 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1942 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1943 PyObject * _resultobj;
1944 wxGridCellEditor * _arg0;
1945 bool _arg1;
1946 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
1947 PyObject * _argo0 = 0;
1948 int tempbool1;
1949 PyObject * _argo2 = 0;
1950 char *_kwnames[] = { "self","show","attr", NULL };
1951
1952 self = self;
1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
1954 return NULL;
1955 if (_argo0) {
1956 if (_argo0 == Py_None) { _arg0 = NULL; }
1957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1959 return NULL;
1960 }
1961 }
1962 _arg1 = (bool ) tempbool1;
1963 if (_argo2) {
1964 if (_argo2 == Py_None) { _arg2 = NULL; }
1965 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1966 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1967 return NULL;
1968 }
1969 }
1970 {
1971 wxPy_BEGIN_ALLOW_THREADS;
1972 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
1973
1974 wxPy_END_ALLOW_THREADS;
1975 if (PyErr_Occurred()) return NULL;
1976 } Py_INCREF(Py_None);
1977 _resultobj = Py_None;
1978 return _resultobj;
1979 }
1980
1981 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1982 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1983 PyObject * _resultobj;
1984 wxGridCellEditor * _arg0;
1985 wxRect * _arg1;
1986 wxGridCellAttr * _arg2;
1987 PyObject * _argo0 = 0;
1988 wxRect temp;
1989 PyObject * _obj1 = 0;
1990 PyObject * _argo2 = 0;
1991 char *_kwnames[] = { "self","rectCell","attr", NULL };
1992
1993 self = self;
1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
1995 return NULL;
1996 if (_argo0) {
1997 if (_argo0 == Py_None) { _arg0 = NULL; }
1998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2000 return NULL;
2001 }
2002 }
2003 {
2004 _arg1 = &temp;
2005 if (! wxRect_helper(_obj1, &_arg1))
2006 return NULL;
2007 }
2008 if (_argo2) {
2009 if (_argo2 == Py_None) { _arg2 = NULL; }
2010 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2011 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2012 return NULL;
2013 }
2014 }
2015 {
2016 wxPy_BEGIN_ALLOW_THREADS;
2017 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2018
2019 wxPy_END_ALLOW_THREADS;
2020 if (PyErr_Occurred()) return NULL;
2021 } Py_INCREF(Py_None);
2022 _resultobj = Py_None;
2023 return _resultobj;
2024 }
2025
2026 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2027 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2028 PyObject * _resultobj;
2029 bool _result;
2030 wxGridCellEditor * _arg0;
2031 wxKeyEvent * _arg1;
2032 PyObject * _argo0 = 0;
2033 PyObject * _argo1 = 0;
2034 char *_kwnames[] = { "self","event", NULL };
2035
2036 self = self;
2037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2038 return NULL;
2039 if (_argo0) {
2040 if (_argo0 == Py_None) { _arg0 = NULL; }
2041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2043 return NULL;
2044 }
2045 }
2046 if (_argo1) {
2047 if (_argo1 == Py_None) { _arg1 = NULL; }
2048 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2049 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2050 return NULL;
2051 }
2052 }
2053 {
2054 wxPy_BEGIN_ALLOW_THREADS;
2055 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2056
2057 wxPy_END_ALLOW_THREADS;
2058 if (PyErr_Occurred()) return NULL;
2059 } _resultobj = Py_BuildValue("i",_result);
2060 return _resultobj;
2061 }
2062
2063 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2064 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2065 PyObject * _resultobj;
2066 wxGridCellEditor * _arg0;
2067 wxKeyEvent * _arg1;
2068 PyObject * _argo0 = 0;
2069 PyObject * _argo1 = 0;
2070 char *_kwnames[] = { "self","event", NULL };
2071
2072 self = self;
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2074 return NULL;
2075 if (_argo0) {
2076 if (_argo0 == Py_None) { _arg0 = NULL; }
2077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2079 return NULL;
2080 }
2081 }
2082 if (_argo1) {
2083 if (_argo1 == Py_None) { _arg1 = NULL; }
2084 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2085 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2086 return NULL;
2087 }
2088 }
2089 {
2090 wxPy_BEGIN_ALLOW_THREADS;
2091 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2092
2093 wxPy_END_ALLOW_THREADS;
2094 if (PyErr_Occurred()) return NULL;
2095 } Py_INCREF(Py_None);
2096 _resultobj = Py_None;
2097 return _resultobj;
2098 }
2099
2100 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2101 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2102 PyObject * _resultobj;
2103 wxGridCellEditor * _arg0;
2104 PyObject * _argo0 = 0;
2105 char *_kwnames[] = { "self", NULL };
2106
2107 self = self;
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2109 return NULL;
2110 if (_argo0) {
2111 if (_argo0 == Py_None) { _arg0 = NULL; }
2112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2114 return NULL;
2115 }
2116 }
2117 {
2118 wxPy_BEGIN_ALLOW_THREADS;
2119 wxGridCellEditor_StartingClick(_arg0);
2120
2121 wxPy_END_ALLOW_THREADS;
2122 if (PyErr_Occurred()) return NULL;
2123 } Py_INCREF(Py_None);
2124 _resultobj = Py_None;
2125 return _resultobj;
2126 }
2127
2128 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2129 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2130 PyObject * _resultobj;
2131 wxGridCellEditor * _arg0;
2132 wxKeyEvent * _arg1;
2133 PyObject * _argo0 = 0;
2134 PyObject * _argo1 = 0;
2135 char *_kwnames[] = { "self","event", NULL };
2136
2137 self = self;
2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2139 return NULL;
2140 if (_argo0) {
2141 if (_argo0 == Py_None) { _arg0 = NULL; }
2142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2144 return NULL;
2145 }
2146 }
2147 if (_argo1) {
2148 if (_argo1 == Py_None) { _arg1 = NULL; }
2149 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2150 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2151 return NULL;
2152 }
2153 }
2154 {
2155 wxPy_BEGIN_ALLOW_THREADS;
2156 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2157
2158 wxPy_END_ALLOW_THREADS;
2159 if (PyErr_Occurred()) return NULL;
2160 } Py_INCREF(Py_None);
2161 _resultobj = Py_None;
2162 return _resultobj;
2163 }
2164
2165 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2166 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject * _resultobj;
2168 wxGridCellEditor * _arg0;
2169 PyObject * _argo0 = 0;
2170 char *_kwnames[] = { "self", NULL };
2171
2172 self = self;
2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2174 return NULL;
2175 if (_argo0) {
2176 if (_argo0 == Py_None) { _arg0 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2179 return NULL;
2180 }
2181 }
2182 {
2183 wxPy_BEGIN_ALLOW_THREADS;
2184 wxGridCellEditor_Destroy(_arg0);
2185
2186 wxPy_END_ALLOW_THREADS;
2187 if (PyErr_Occurred()) return NULL;
2188 } Py_INCREF(Py_None);
2189 _resultobj = Py_None;
2190 return _resultobj;
2191 }
2192
2193 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2194 wxPyGridCellEditor *src;
2195 wxGridCellEditor *dest;
2196 src = (wxPyGridCellEditor *) ptr;
2197 dest = (wxGridCellEditor *) src;
2198 return (void *) dest;
2199 }
2200
2201 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2202 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject * _resultobj;
2204 wxPyGridCellEditor * _result;
2205 char *_kwnames[] = { NULL };
2206 char _ptemp[128];
2207
2208 self = self;
2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2210 return NULL;
2211 {
2212 wxPy_BEGIN_ALLOW_THREADS;
2213 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2214
2215 wxPy_END_ALLOW_THREADS;
2216 if (PyErr_Occurred()) return NULL;
2217 } if (_result) {
2218 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2219 _resultobj = Py_BuildValue("s",_ptemp);
2220 } else {
2221 Py_INCREF(Py_None);
2222 _resultobj = Py_None;
2223 }
2224 return _resultobj;
2225 }
2226
2227 #define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2228 static PyObject *_wrap_wxPyGridCellEditor__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2229 PyObject * _resultobj;
2230 wxPyGridCellEditor * _arg0;
2231 PyObject * _arg1;
2232 PyObject * _arg2;
2233 PyObject * _argo0 = 0;
2234 PyObject * _obj1 = 0;
2235 PyObject * _obj2 = 0;
2236 char *_kwnames[] = { "self","self","_class", NULL };
2237
2238 self = self;
2239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
2240 return NULL;
2241 if (_argo0) {
2242 if (_argo0 == Py_None) { _arg0 = NULL; }
2243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2245 return NULL;
2246 }
2247 }
2248 {
2249 _arg1 = _obj1;
2250 }
2251 {
2252 _arg2 = _obj2;
2253 }
2254 {
2255 wxPy_BEGIN_ALLOW_THREADS;
2256 wxPyGridCellEditor__setSelf(_arg0,_arg1,_arg2);
2257
2258 wxPy_END_ALLOW_THREADS;
2259 if (PyErr_Occurred()) return NULL;
2260 } Py_INCREF(Py_None);
2261 _resultobj = Py_None;
2262 return _resultobj;
2263 }
2264
2265 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2266 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2267 PyObject * _resultobj;
2268 wxPyGridCellEditor * _arg0;
2269 wxRect * _arg1;
2270 PyObject * _argo0 = 0;
2271 wxRect temp;
2272 PyObject * _obj1 = 0;
2273 char *_kwnames[] = { "self","rect", NULL };
2274
2275 self = self;
2276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2277 return NULL;
2278 if (_argo0) {
2279 if (_argo0 == Py_None) { _arg0 = NULL; }
2280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2282 return NULL;
2283 }
2284 }
2285 {
2286 _arg1 = &temp;
2287 if (! wxRect_helper(_obj1, &_arg1))
2288 return NULL;
2289 }
2290 {
2291 wxPy_BEGIN_ALLOW_THREADS;
2292 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2293
2294 wxPy_END_ALLOW_THREADS;
2295 if (PyErr_Occurred()) return NULL;
2296 } Py_INCREF(Py_None);
2297 _resultobj = Py_None;
2298 return _resultobj;
2299 }
2300
2301 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2302 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject * _resultobj;
2304 wxPyGridCellEditor * _arg0;
2305 bool _arg1;
2306 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2307 PyObject * _argo0 = 0;
2308 int tempbool1;
2309 PyObject * _argo2 = 0;
2310 char *_kwnames[] = { "self","show","attr", NULL };
2311
2312 self = self;
2313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2314 return NULL;
2315 if (_argo0) {
2316 if (_argo0 == Py_None) { _arg0 = NULL; }
2317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2319 return NULL;
2320 }
2321 }
2322 _arg1 = (bool ) tempbool1;
2323 if (_argo2) {
2324 if (_argo2 == Py_None) { _arg2 = NULL; }
2325 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2327 return NULL;
2328 }
2329 }
2330 {
2331 wxPy_BEGIN_ALLOW_THREADS;
2332 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2333
2334 wxPy_END_ALLOW_THREADS;
2335 if (PyErr_Occurred()) return NULL;
2336 } Py_INCREF(Py_None);
2337 _resultobj = Py_None;
2338 return _resultobj;
2339 }
2340
2341 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2342 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject * _resultobj;
2344 wxPyGridCellEditor * _arg0;
2345 wxRect * _arg1;
2346 wxGridCellAttr * _arg2;
2347 PyObject * _argo0 = 0;
2348 wxRect temp;
2349 PyObject * _obj1 = 0;
2350 PyObject * _argo2 = 0;
2351 char *_kwnames[] = { "self","rectCell","attr", NULL };
2352
2353 self = self;
2354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2355 return NULL;
2356 if (_argo0) {
2357 if (_argo0 == Py_None) { _arg0 = NULL; }
2358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2360 return NULL;
2361 }
2362 }
2363 {
2364 _arg1 = &temp;
2365 if (! wxRect_helper(_obj1, &_arg1))
2366 return NULL;
2367 }
2368 if (_argo2) {
2369 if (_argo2 == Py_None) { _arg2 = NULL; }
2370 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2371 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2372 return NULL;
2373 }
2374 }
2375 {
2376 wxPy_BEGIN_ALLOW_THREADS;
2377 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2378
2379 wxPy_END_ALLOW_THREADS;
2380 if (PyErr_Occurred()) return NULL;
2381 } Py_INCREF(Py_None);
2382 _resultobj = Py_None;
2383 return _resultobj;
2384 }
2385
2386 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2387 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2388 PyObject * _resultobj;
2389 wxPyGridCellEditor * _arg0;
2390 wxKeyEvent * _arg1;
2391 PyObject * _argo0 = 0;
2392 PyObject * _argo1 = 0;
2393 char *_kwnames[] = { "self","event", NULL };
2394
2395 self = self;
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2397 return NULL;
2398 if (_argo0) {
2399 if (_argo0 == Py_None) { _arg0 = NULL; }
2400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2402 return NULL;
2403 }
2404 }
2405 if (_argo1) {
2406 if (_argo1 == Py_None) { _arg1 = NULL; }
2407 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2409 return NULL;
2410 }
2411 }
2412 {
2413 wxPy_BEGIN_ALLOW_THREADS;
2414 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2415
2416 wxPy_END_ALLOW_THREADS;
2417 if (PyErr_Occurred()) return NULL;
2418 } Py_INCREF(Py_None);
2419 _resultobj = Py_None;
2420 return _resultobj;
2421 }
2422
2423 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2424 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2425 PyObject * _resultobj;
2426 wxPyGridCellEditor * _arg0;
2427 wxKeyEvent * _arg1;
2428 PyObject * _argo0 = 0;
2429 PyObject * _argo1 = 0;
2430 char *_kwnames[] = { "self","event", NULL };
2431
2432 self = self;
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2434 return NULL;
2435 if (_argo0) {
2436 if (_argo0 == Py_None) { _arg0 = NULL; }
2437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2439 return NULL;
2440 }
2441 }
2442 if (_argo1) {
2443 if (_argo1 == Py_None) { _arg1 = NULL; }
2444 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2445 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2446 return NULL;
2447 }
2448 }
2449 {
2450 wxPy_BEGIN_ALLOW_THREADS;
2451 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2452
2453 wxPy_END_ALLOW_THREADS;
2454 if (PyErr_Occurred()) return NULL;
2455 } Py_INCREF(Py_None);
2456 _resultobj = Py_None;
2457 return _resultobj;
2458 }
2459
2460 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2461 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2462 PyObject * _resultobj;
2463 wxPyGridCellEditor * _arg0;
2464 PyObject * _argo0 = 0;
2465 char *_kwnames[] = { "self", NULL };
2466
2467 self = self;
2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2469 return NULL;
2470 if (_argo0) {
2471 if (_argo0 == Py_None) { _arg0 = NULL; }
2472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2474 return NULL;
2475 }
2476 }
2477 {
2478 wxPy_BEGIN_ALLOW_THREADS;
2479 wxPyGridCellEditor_base_StartingClick(_arg0);
2480
2481 wxPy_END_ALLOW_THREADS;
2482 if (PyErr_Occurred()) return NULL;
2483 } Py_INCREF(Py_None);
2484 _resultobj = Py_None;
2485 return _resultobj;
2486 }
2487
2488 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2489 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2490 PyObject * _resultobj;
2491 wxPyGridCellEditor * _arg0;
2492 wxKeyEvent * _arg1;
2493 PyObject * _argo0 = 0;
2494 PyObject * _argo1 = 0;
2495 char *_kwnames[] = { "self","event", NULL };
2496
2497 self = self;
2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2499 return NULL;
2500 if (_argo0) {
2501 if (_argo0 == Py_None) { _arg0 = NULL; }
2502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2504 return NULL;
2505 }
2506 }
2507 if (_argo1) {
2508 if (_argo1 == Py_None) { _arg1 = NULL; }
2509 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2510 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2511 return NULL;
2512 }
2513 }
2514 {
2515 wxPy_BEGIN_ALLOW_THREADS;
2516 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2517
2518 wxPy_END_ALLOW_THREADS;
2519 if (PyErr_Occurred()) return NULL;
2520 } Py_INCREF(Py_None);
2521 _resultobj = Py_None;
2522 return _resultobj;
2523 }
2524
2525 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2526 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2527 PyObject * _resultobj;
2528 wxPyGridCellEditor * _arg0;
2529 PyObject * _argo0 = 0;
2530 char *_kwnames[] = { "self", NULL };
2531
2532 self = self;
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2534 return NULL;
2535 if (_argo0) {
2536 if (_argo0 == Py_None) { _arg0 = NULL; }
2537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2539 return NULL;
2540 }
2541 }
2542 {
2543 wxPy_BEGIN_ALLOW_THREADS;
2544 wxPyGridCellEditor_base_Destroy(_arg0);
2545
2546 wxPy_END_ALLOW_THREADS;
2547 if (PyErr_Occurred()) return NULL;
2548 } Py_INCREF(Py_None);
2549 _resultobj = Py_None;
2550 return _resultobj;
2551 }
2552
2553 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2554 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject * _resultobj;
2556 wxPyGridCellEditor * _arg0;
2557 wxString * _arg1;
2558 PyObject * _argo0 = 0;
2559 PyObject * _obj1 = 0;
2560 char *_kwnames[] = { "self","params", NULL };
2561
2562 self = self;
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2564 return NULL;
2565 if (_argo0) {
2566 if (_argo0 == Py_None) { _arg0 = NULL; }
2567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2569 return NULL;
2570 }
2571 }
2572 {
2573 #if PYTHON_API_VERSION >= 1009
2574 char* tmpPtr; int tmpSize;
2575 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2576 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2577 return NULL;
2578 }
2579 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2580 return NULL;
2581 _arg1 = new wxString(tmpPtr, tmpSize);
2582 #else
2583 if (!PyString_Check(_obj1)) {
2584 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2585 return NULL;
2586 }
2587 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2588 #endif
2589 }
2590 {
2591 wxPy_BEGIN_ALLOW_THREADS;
2592 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2593
2594 wxPy_END_ALLOW_THREADS;
2595 if (PyErr_Occurred()) return NULL;
2596 } Py_INCREF(Py_None);
2597 _resultobj = Py_None;
2598 {
2599 if (_obj1)
2600 delete _arg1;
2601 }
2602 return _resultobj;
2603 }
2604
2605 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2606 wxGridCellTextEditor *src;
2607 wxGridCellEditor *dest;
2608 src = (wxGridCellTextEditor *) ptr;
2609 dest = (wxGridCellEditor *) src;
2610 return (void *) dest;
2611 }
2612
2613 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2614 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2615 PyObject * _resultobj;
2616 wxGridCellTextEditor * _result;
2617 char *_kwnames[] = { NULL };
2618 char _ptemp[128];
2619
2620 self = self;
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2622 return NULL;
2623 {
2624 wxPy_BEGIN_ALLOW_THREADS;
2625 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2626
2627 wxPy_END_ALLOW_THREADS;
2628 if (PyErr_Occurred()) return NULL;
2629 } if (_result) {
2630 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2631 _resultobj = Py_BuildValue("s",_ptemp);
2632 } else {
2633 Py_INCREF(Py_None);
2634 _resultobj = Py_None;
2635 }
2636 return _resultobj;
2637 }
2638
2639 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2640 wxGridCellNumberEditor *src;
2641 wxGridCellTextEditor *dest;
2642 src = (wxGridCellNumberEditor *) ptr;
2643 dest = (wxGridCellTextEditor *) src;
2644 return (void *) dest;
2645 }
2646
2647 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2648 wxGridCellNumberEditor *src;
2649 wxGridCellEditor *dest;
2650 src = (wxGridCellNumberEditor *) ptr;
2651 dest = (wxGridCellEditor *) src;
2652 return (void *) dest;
2653 }
2654
2655 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2656 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2657 PyObject * _resultobj;
2658 wxGridCellNumberEditor * _result;
2659 int _arg0 = (int ) -1;
2660 int _arg1 = (int ) -1;
2661 char *_kwnames[] = { "min","max", NULL };
2662 char _ptemp[128];
2663
2664 self = self;
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2666 return NULL;
2667 {
2668 wxPy_BEGIN_ALLOW_THREADS;
2669 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2670
2671 wxPy_END_ALLOW_THREADS;
2672 if (PyErr_Occurred()) return NULL;
2673 } if (_result) {
2674 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2675 _resultobj = Py_BuildValue("s",_ptemp);
2676 } else {
2677 Py_INCREF(Py_None);
2678 _resultobj = Py_None;
2679 }
2680 return _resultobj;
2681 }
2682
2683 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2684 wxGridCellFloatEditor *src;
2685 wxGridCellTextEditor *dest;
2686 src = (wxGridCellFloatEditor *) ptr;
2687 dest = (wxGridCellTextEditor *) src;
2688 return (void *) dest;
2689 }
2690
2691 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2692 wxGridCellFloatEditor *src;
2693 wxGridCellEditor *dest;
2694 src = (wxGridCellFloatEditor *) ptr;
2695 dest = (wxGridCellEditor *) src;
2696 return (void *) dest;
2697 }
2698
2699 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2700 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject * _resultobj;
2702 wxGridCellFloatEditor * _result;
2703 char *_kwnames[] = { NULL };
2704 char _ptemp[128];
2705
2706 self = self;
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2708 return NULL;
2709 {
2710 wxPy_BEGIN_ALLOW_THREADS;
2711 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2712
2713 wxPy_END_ALLOW_THREADS;
2714 if (PyErr_Occurred()) return NULL;
2715 } if (_result) {
2716 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2717 _resultobj = Py_BuildValue("s",_ptemp);
2718 } else {
2719 Py_INCREF(Py_None);
2720 _resultobj = Py_None;
2721 }
2722 return _resultobj;
2723 }
2724
2725 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2726 wxGridCellBoolEditor *src;
2727 wxGridCellEditor *dest;
2728 src = (wxGridCellBoolEditor *) ptr;
2729 dest = (wxGridCellEditor *) src;
2730 return (void *) dest;
2731 }
2732
2733 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2734 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2735 PyObject * _resultobj;
2736 wxGridCellBoolEditor * _result;
2737 char *_kwnames[] = { NULL };
2738 char _ptemp[128];
2739
2740 self = self;
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2742 return NULL;
2743 {
2744 wxPy_BEGIN_ALLOW_THREADS;
2745 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2746
2747 wxPy_END_ALLOW_THREADS;
2748 if (PyErr_Occurred()) return NULL;
2749 } if (_result) {
2750 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2751 _resultobj = Py_BuildValue("s",_ptemp);
2752 } else {
2753 Py_INCREF(Py_None);
2754 _resultobj = Py_None;
2755 }
2756 return _resultobj;
2757 }
2758
2759 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2760 wxGridCellChoiceEditor *src;
2761 wxGridCellEditor *dest;
2762 src = (wxGridCellChoiceEditor *) ptr;
2763 dest = (wxGridCellEditor *) src;
2764 return (void *) dest;
2765 }
2766
2767 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2768 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2769 PyObject * _resultobj;
2770 wxGridCellChoiceEditor * _result;
2771 int _arg0 = (int ) 0;
2772 wxString * _arg1 = (wxString *) NULL;
2773 bool _arg2 = (bool ) FALSE;
2774 PyObject * _obj1 = 0;
2775 int tempbool2 = (int) FALSE;
2776 char *_kwnames[] = { "choices","allowOthers", NULL };
2777 char _ptemp[128];
2778
2779 self = self;
2780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2781 return NULL;
2782 if (_obj1)
2783 {
2784 _arg1 = wxString_LIST_helper(_obj1);
2785 if (_arg1 == NULL) {
2786 return NULL;
2787 }
2788 }
2789 _arg2 = (bool ) tempbool2;
2790 {
2791 if (_obj1) {
2792 _arg0 = PyList_Size(_obj1);
2793 }
2794 else {
2795 _arg0 = 0;
2796 }
2797 }
2798 {
2799 wxPy_BEGIN_ALLOW_THREADS;
2800 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2801
2802 wxPy_END_ALLOW_THREADS;
2803 if (PyErr_Occurred()) return NULL;
2804 } if (_result) {
2805 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2806 _resultobj = Py_BuildValue("s",_ptemp);
2807 } else {
2808 Py_INCREF(Py_None);
2809 _resultobj = Py_None;
2810 }
2811 {
2812 delete [] _arg1;
2813 }
2814 return _resultobj;
2815 }
2816
2817 #define new_wxGridCellAttr() (new wxGridCellAttr())
2818 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject * _resultobj;
2820 wxGridCellAttr * _result;
2821 char *_kwnames[] = { NULL };
2822 char _ptemp[128];
2823
2824 self = self;
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttr",_kwnames))
2826 return NULL;
2827 {
2828 wxPy_BEGIN_ALLOW_THREADS;
2829 _result = (wxGridCellAttr *)new_wxGridCellAttr();
2830
2831 wxPy_END_ALLOW_THREADS;
2832 if (PyErr_Occurred()) return NULL;
2833 } if (_result) {
2834 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2835 _resultobj = Py_BuildValue("s",_ptemp);
2836 } else {
2837 Py_INCREF(Py_None);
2838 _resultobj = Py_None;
2839 }
2840 return _resultobj;
2841 }
2842
2843 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2844 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2845 PyObject * _resultobj;
2846 wxGridCellAttr * _result;
2847 wxGridCellAttr * _arg0;
2848 PyObject * _argo0 = 0;
2849 char *_kwnames[] = { "self", NULL };
2850 char _ptemp[128];
2851
2852 self = self;
2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
2854 return NULL;
2855 if (_argo0) {
2856 if (_argo0 == Py_None) { _arg0 = NULL; }
2857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2859 return NULL;
2860 }
2861 }
2862 {
2863 wxPy_BEGIN_ALLOW_THREADS;
2864 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
2865
2866 wxPy_END_ALLOW_THREADS;
2867 if (PyErr_Occurred()) return NULL;
2868 } if (_result) {
2869 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2870 _resultobj = Py_BuildValue("s",_ptemp);
2871 } else {
2872 Py_INCREF(Py_None);
2873 _resultobj = Py_None;
2874 }
2875 return _resultobj;
2876 }
2877
2878 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
2879 static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
2880 PyObject * _resultobj;
2881 wxGridCellAttr * _arg0;
2882 wxGridCellAttr * _arg1;
2883 PyObject * _argo0 = 0;
2884 PyObject * _argo1 = 0;
2885 char *_kwnames[] = { "self","mergefrom", NULL };
2886
2887 self = self;
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
2889 return NULL;
2890 if (_argo0) {
2891 if (_argo0 == Py_None) { _arg0 = NULL; }
2892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
2894 return NULL;
2895 }
2896 }
2897 if (_argo1) {
2898 if (_argo1 == Py_None) { _arg1 = NULL; }
2899 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
2900 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
2901 return NULL;
2902 }
2903 }
2904 {
2905 wxPy_BEGIN_ALLOW_THREADS;
2906 wxGridCellAttr_MergeWith(_arg0,_arg1);
2907
2908 wxPy_END_ALLOW_THREADS;
2909 if (PyErr_Occurred()) return NULL;
2910 } Py_INCREF(Py_None);
2911 _resultobj = Py_None;
2912 return _resultobj;
2913 }
2914
2915 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2916 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject * _resultobj;
2918 wxGridCellAttr * _arg0;
2919 PyObject * _argo0 = 0;
2920 char *_kwnames[] = { "self", NULL };
2921
2922 self = self;
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
2924 return NULL;
2925 if (_argo0) {
2926 if (_argo0 == Py_None) { _arg0 = NULL; }
2927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2929 return NULL;
2930 }
2931 }
2932 {
2933 wxPy_BEGIN_ALLOW_THREADS;
2934 wxGridCellAttr_IncRef(_arg0);
2935
2936 wxPy_END_ALLOW_THREADS;
2937 if (PyErr_Occurred()) return NULL;
2938 } Py_INCREF(Py_None);
2939 _resultobj = Py_None;
2940 return _resultobj;
2941 }
2942
2943 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2944 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2945 PyObject * _resultobj;
2946 wxGridCellAttr * _arg0;
2947 PyObject * _argo0 = 0;
2948 char *_kwnames[] = { "self", NULL };
2949
2950 self = self;
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
2952 return NULL;
2953 if (_argo0) {
2954 if (_argo0 == Py_None) { _arg0 = NULL; }
2955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2957 return NULL;
2958 }
2959 }
2960 {
2961 wxPy_BEGIN_ALLOW_THREADS;
2962 wxGridCellAttr_DecRef(_arg0);
2963
2964 wxPy_END_ALLOW_THREADS;
2965 if (PyErr_Occurred()) return NULL;
2966 } Py_INCREF(Py_None);
2967 _resultobj = Py_None;
2968 return _resultobj;
2969 }
2970
2971 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2972 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2973 PyObject * _resultobj;
2974 wxGridCellAttr * _arg0;
2975 wxColour * _arg1;
2976 PyObject * _argo0 = 0;
2977 wxColour temp;
2978 PyObject * _obj1 = 0;
2979 char *_kwnames[] = { "self","colText", NULL };
2980
2981 self = self;
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
2983 return NULL;
2984 if (_argo0) {
2985 if (_argo0 == Py_None) { _arg0 = NULL; }
2986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2988 return NULL;
2989 }
2990 }
2991 {
2992 _arg1 = &temp;
2993 if (! wxColour_helper(_obj1, &_arg1))
2994 return NULL;
2995 }
2996 {
2997 wxPy_BEGIN_ALLOW_THREADS;
2998 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
2999
3000 wxPy_END_ALLOW_THREADS;
3001 if (PyErr_Occurred()) return NULL;
3002 } Py_INCREF(Py_None);
3003 _resultobj = Py_None;
3004 return _resultobj;
3005 }
3006
3007 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3008 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3009 PyObject * _resultobj;
3010 wxGridCellAttr * _arg0;
3011 wxColour * _arg1;
3012 PyObject * _argo0 = 0;
3013 wxColour temp;
3014 PyObject * _obj1 = 0;
3015 char *_kwnames[] = { "self","colBack", NULL };
3016
3017 self = self;
3018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3019 return NULL;
3020 if (_argo0) {
3021 if (_argo0 == Py_None) { _arg0 = NULL; }
3022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3024 return NULL;
3025 }
3026 }
3027 {
3028 _arg1 = &temp;
3029 if (! wxColour_helper(_obj1, &_arg1))
3030 return NULL;
3031 }
3032 {
3033 wxPy_BEGIN_ALLOW_THREADS;
3034 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3035
3036 wxPy_END_ALLOW_THREADS;
3037 if (PyErr_Occurred()) return NULL;
3038 } Py_INCREF(Py_None);
3039 _resultobj = Py_None;
3040 return _resultobj;
3041 }
3042
3043 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3044 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3045 PyObject * _resultobj;
3046 wxGridCellAttr * _arg0;
3047 wxFont * _arg1;
3048 PyObject * _argo0 = 0;
3049 PyObject * _argo1 = 0;
3050 char *_kwnames[] = { "self","font", NULL };
3051
3052 self = self;
3053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3054 return NULL;
3055 if (_argo0) {
3056 if (_argo0 == Py_None) { _arg0 = NULL; }
3057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3059 return NULL;
3060 }
3061 }
3062 if (_argo1) {
3063 if (_argo1 == Py_None) { _arg1 = NULL; }
3064 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3065 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3066 return NULL;
3067 }
3068 }
3069 {
3070 wxPy_BEGIN_ALLOW_THREADS;
3071 wxGridCellAttr_SetFont(_arg0,*_arg1);
3072
3073 wxPy_END_ALLOW_THREADS;
3074 if (PyErr_Occurred()) return NULL;
3075 } Py_INCREF(Py_None);
3076 _resultobj = Py_None;
3077 return _resultobj;
3078 }
3079
3080 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3081 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject * _resultobj;
3083 wxGridCellAttr * _arg0;
3084 int _arg1;
3085 int _arg2;
3086 PyObject * _argo0 = 0;
3087 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3088
3089 self = self;
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3091 return NULL;
3092 if (_argo0) {
3093 if (_argo0 == Py_None) { _arg0 = NULL; }
3094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3096 return NULL;
3097 }
3098 }
3099 {
3100 wxPy_BEGIN_ALLOW_THREADS;
3101 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3102
3103 wxPy_END_ALLOW_THREADS;
3104 if (PyErr_Occurred()) return NULL;
3105 } Py_INCREF(Py_None);
3106 _resultobj = Py_None;
3107 return _resultobj;
3108 }
3109
3110 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3111 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject * _resultobj;
3113 wxGridCellAttr * _arg0;
3114 bool _arg1 = (bool ) TRUE;
3115 PyObject * _argo0 = 0;
3116 int tempbool1 = (int) TRUE;
3117 char *_kwnames[] = { "self","isReadOnly", NULL };
3118
3119 self = self;
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3121 return NULL;
3122 if (_argo0) {
3123 if (_argo0 == Py_None) { _arg0 = NULL; }
3124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3126 return NULL;
3127 }
3128 }
3129 _arg1 = (bool ) tempbool1;
3130 {
3131 wxPy_BEGIN_ALLOW_THREADS;
3132 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3133
3134 wxPy_END_ALLOW_THREADS;
3135 if (PyErr_Occurred()) return NULL;
3136 } Py_INCREF(Py_None);
3137 _resultobj = Py_None;
3138 return _resultobj;
3139 }
3140
3141 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3142 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject * _resultobj;
3144 wxGridCellAttr * _arg0;
3145 wxGridCellRenderer * _arg1;
3146 PyObject * _argo0 = 0;
3147 PyObject * _argo1 = 0;
3148 char *_kwnames[] = { "self","renderer", NULL };
3149
3150 self = self;
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3152 return NULL;
3153 if (_argo0) {
3154 if (_argo0 == Py_None) { _arg0 = NULL; }
3155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3157 return NULL;
3158 }
3159 }
3160 if (_argo1) {
3161 if (_argo1 == Py_None) { _arg1 = NULL; }
3162 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3163 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3164 return NULL;
3165 }
3166 }
3167 {
3168 wxPy_BEGIN_ALLOW_THREADS;
3169 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3170
3171 wxPy_END_ALLOW_THREADS;
3172 if (PyErr_Occurred()) return NULL;
3173 } Py_INCREF(Py_None);
3174 _resultobj = Py_None;
3175 return _resultobj;
3176 }
3177
3178 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3179 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3180 PyObject * _resultobj;
3181 wxGridCellAttr * _arg0;
3182 wxGridCellEditor * _arg1;
3183 PyObject * _argo0 = 0;
3184 PyObject * _argo1 = 0;
3185 char *_kwnames[] = { "self","editor", NULL };
3186
3187 self = self;
3188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3189 return NULL;
3190 if (_argo0) {
3191 if (_argo0 == Py_None) { _arg0 = NULL; }
3192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3194 return NULL;
3195 }
3196 }
3197 if (_argo1) {
3198 if (_argo1 == Py_None) { _arg1 = NULL; }
3199 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3200 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3201 return NULL;
3202 }
3203 }
3204 {
3205 wxPy_BEGIN_ALLOW_THREADS;
3206 wxGridCellAttr_SetEditor(_arg0,_arg1);
3207
3208 wxPy_END_ALLOW_THREADS;
3209 if (PyErr_Occurred()) return NULL;
3210 } Py_INCREF(Py_None);
3211 _resultobj = Py_None;
3212 return _resultobj;
3213 }
3214
3215 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3216 static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3217 PyObject * _resultobj;
3218 wxGridCellAttr * _arg0;
3219 wxGridCellAttr::wxAttrKind _arg1;
3220 PyObject * _argo0 = 0;
3221 char *_kwnames[] = { "self","kind", NULL };
3222
3223 self = self;
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3225 return NULL;
3226 if (_argo0) {
3227 if (_argo0 == Py_None) { _arg0 = NULL; }
3228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3230 return NULL;
3231 }
3232 }
3233 {
3234 wxPy_BEGIN_ALLOW_THREADS;
3235 wxGridCellAttr_SetKind(_arg0,_arg1);
3236
3237 wxPy_END_ALLOW_THREADS;
3238 if (PyErr_Occurred()) return NULL;
3239 } Py_INCREF(Py_None);
3240 _resultobj = Py_None;
3241 return _resultobj;
3242 }
3243
3244 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3245 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3246 PyObject * _resultobj;
3247 bool _result;
3248 wxGridCellAttr * _arg0;
3249 PyObject * _argo0 = 0;
3250 char *_kwnames[] = { "self", NULL };
3251
3252 self = self;
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3254 return NULL;
3255 if (_argo0) {
3256 if (_argo0 == Py_None) { _arg0 = NULL; }
3257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3259 return NULL;
3260 }
3261 }
3262 {
3263 wxPy_BEGIN_ALLOW_THREADS;
3264 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3265
3266 wxPy_END_ALLOW_THREADS;
3267 if (PyErr_Occurred()) return NULL;
3268 } _resultobj = Py_BuildValue("i",_result);
3269 return _resultobj;
3270 }
3271
3272 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3273 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject * _resultobj;
3275 bool _result;
3276 wxGridCellAttr * _arg0;
3277 PyObject * _argo0 = 0;
3278 char *_kwnames[] = { "self", NULL };
3279
3280 self = self;
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3282 return NULL;
3283 if (_argo0) {
3284 if (_argo0 == Py_None) { _arg0 = NULL; }
3285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3287 return NULL;
3288 }
3289 }
3290 {
3291 wxPy_BEGIN_ALLOW_THREADS;
3292 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3293
3294 wxPy_END_ALLOW_THREADS;
3295 if (PyErr_Occurred()) return NULL;
3296 } _resultobj = Py_BuildValue("i",_result);
3297 return _resultobj;
3298 }
3299
3300 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3301 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3302 PyObject * _resultobj;
3303 bool _result;
3304 wxGridCellAttr * _arg0;
3305 PyObject * _argo0 = 0;
3306 char *_kwnames[] = { "self", NULL };
3307
3308 self = self;
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3310 return NULL;
3311 if (_argo0) {
3312 if (_argo0 == Py_None) { _arg0 = NULL; }
3313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3315 return NULL;
3316 }
3317 }
3318 {
3319 wxPy_BEGIN_ALLOW_THREADS;
3320 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3321
3322 wxPy_END_ALLOW_THREADS;
3323 if (PyErr_Occurred()) return NULL;
3324 } _resultobj = Py_BuildValue("i",_result);
3325 return _resultobj;
3326 }
3327
3328 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3329 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3330 PyObject * _resultobj;
3331 bool _result;
3332 wxGridCellAttr * _arg0;
3333 PyObject * _argo0 = 0;
3334 char *_kwnames[] = { "self", NULL };
3335
3336 self = self;
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3338 return NULL;
3339 if (_argo0) {
3340 if (_argo0 == Py_None) { _arg0 = NULL; }
3341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3343 return NULL;
3344 }
3345 }
3346 {
3347 wxPy_BEGIN_ALLOW_THREADS;
3348 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3349
3350 wxPy_END_ALLOW_THREADS;
3351 if (PyErr_Occurred()) return NULL;
3352 } _resultobj = Py_BuildValue("i",_result);
3353 return _resultobj;
3354 }
3355
3356 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3357 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject * _resultobj;
3359 bool _result;
3360 wxGridCellAttr * _arg0;
3361 PyObject * _argo0 = 0;
3362 char *_kwnames[] = { "self", NULL };
3363
3364 self = self;
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3366 return NULL;
3367 if (_argo0) {
3368 if (_argo0 == Py_None) { _arg0 = NULL; }
3369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3371 return NULL;
3372 }
3373 }
3374 {
3375 wxPy_BEGIN_ALLOW_THREADS;
3376 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3377
3378 wxPy_END_ALLOW_THREADS;
3379 if (PyErr_Occurred()) return NULL;
3380 } _resultobj = Py_BuildValue("i",_result);
3381 return _resultobj;
3382 }
3383
3384 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3385 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3386 PyObject * _resultobj;
3387 bool _result;
3388 wxGridCellAttr * _arg0;
3389 PyObject * _argo0 = 0;
3390 char *_kwnames[] = { "self", NULL };
3391
3392 self = self;
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3394 return NULL;
3395 if (_argo0) {
3396 if (_argo0 == Py_None) { _arg0 = NULL; }
3397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3399 return NULL;
3400 }
3401 }
3402 {
3403 wxPy_BEGIN_ALLOW_THREADS;
3404 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3405
3406 wxPy_END_ALLOW_THREADS;
3407 if (PyErr_Occurred()) return NULL;
3408 } _resultobj = Py_BuildValue("i",_result);
3409 return _resultobj;
3410 }
3411
3412 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3413 static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3414 PyObject * _resultobj;
3415 bool _result;
3416 wxGridCellAttr * _arg0;
3417 PyObject * _argo0 = 0;
3418 char *_kwnames[] = { "self", NULL };
3419
3420 self = self;
3421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3422 return NULL;
3423 if (_argo0) {
3424 if (_argo0 == Py_None) { _arg0 = NULL; }
3425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3427 return NULL;
3428 }
3429 }
3430 {
3431 wxPy_BEGIN_ALLOW_THREADS;
3432 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
3433
3434 wxPy_END_ALLOW_THREADS;
3435 if (PyErr_Occurred()) return NULL;
3436 } _resultobj = Py_BuildValue("i",_result);
3437 return _resultobj;
3438 }
3439
3440 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3441 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3442 PyObject * _resultobj;
3443 wxColour * _result;
3444 wxGridCellAttr * _arg0;
3445 PyObject * _argo0 = 0;
3446 char *_kwnames[] = { "self", NULL };
3447 char _ptemp[128];
3448
3449 self = self;
3450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3451 return NULL;
3452 if (_argo0) {
3453 if (_argo0 == Py_None) { _arg0 = NULL; }
3454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3456 return NULL;
3457 }
3458 }
3459 {
3460 wxPy_BEGIN_ALLOW_THREADS;
3461 const wxColour & _result_ref = wxGridCellAttr_GetTextColour(_arg0);
3462 _result = (wxColour *) &_result_ref;
3463
3464 wxPy_END_ALLOW_THREADS;
3465 if (PyErr_Occurred()) return NULL;
3466 } if (_result) {
3467 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3468 _resultobj = Py_BuildValue("s",_ptemp);
3469 } else {
3470 Py_INCREF(Py_None);
3471 _resultobj = Py_None;
3472 }
3473 return _resultobj;
3474 }
3475
3476 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3477 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3478 PyObject * _resultobj;
3479 wxColour * _result;
3480 wxGridCellAttr * _arg0;
3481 PyObject * _argo0 = 0;
3482 char *_kwnames[] = { "self", NULL };
3483 char _ptemp[128];
3484
3485 self = self;
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3487 return NULL;
3488 if (_argo0) {
3489 if (_argo0 == Py_None) { _arg0 = NULL; }
3490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3492 return NULL;
3493 }
3494 }
3495 {
3496 wxPy_BEGIN_ALLOW_THREADS;
3497 const wxColour & _result_ref = wxGridCellAttr_GetBackgroundColour(_arg0);
3498 _result = (wxColour *) &_result_ref;
3499
3500 wxPy_END_ALLOW_THREADS;
3501 if (PyErr_Occurred()) return NULL;
3502 } if (_result) {
3503 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3504 _resultobj = Py_BuildValue("s",_ptemp);
3505 } else {
3506 Py_INCREF(Py_None);
3507 _resultobj = Py_None;
3508 }
3509 return _resultobj;
3510 }
3511
3512 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3513 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject * _resultobj;
3515 wxFont * _result;
3516 wxGridCellAttr * _arg0;
3517 PyObject * _argo0 = 0;
3518 char *_kwnames[] = { "self", NULL };
3519 char _ptemp[128];
3520
3521 self = self;
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3523 return NULL;
3524 if (_argo0) {
3525 if (_argo0 == Py_None) { _arg0 = NULL; }
3526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3528 return NULL;
3529 }
3530 }
3531 {
3532 wxPy_BEGIN_ALLOW_THREADS;
3533 const wxFont & _result_ref = wxGridCellAttr_GetFont(_arg0);
3534 _result = (wxFont *) &_result_ref;
3535
3536 wxPy_END_ALLOW_THREADS;
3537 if (PyErr_Occurred()) return NULL;
3538 } if (_result) {
3539 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3540 _resultobj = Py_BuildValue("s",_ptemp);
3541 } else {
3542 Py_INCREF(Py_None);
3543 _resultobj = Py_None;
3544 }
3545 return _resultobj;
3546 }
3547
3548 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3549 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3550 PyObject * _resultobj;
3551 wxGridCellAttr * _arg0;
3552 int * _arg1;
3553 int temp;
3554 int * _arg2;
3555 int temp0;
3556 PyObject * _argo0 = 0;
3557 char *_kwnames[] = { "self", NULL };
3558
3559 self = self;
3560 {
3561 _arg1 = &temp;
3562 }
3563 {
3564 _arg2 = &temp0;
3565 }
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3567 return NULL;
3568 if (_argo0) {
3569 if (_argo0 == Py_None) { _arg0 = NULL; }
3570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3572 return NULL;
3573 }
3574 }
3575 {
3576 wxPy_BEGIN_ALLOW_THREADS;
3577 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3578
3579 wxPy_END_ALLOW_THREADS;
3580 if (PyErr_Occurred()) return NULL;
3581 } Py_INCREF(Py_None);
3582 _resultobj = Py_None;
3583 {
3584 PyObject *o;
3585 o = PyInt_FromLong((long) (*_arg1));
3586 _resultobj = t_output_helper(_resultobj, o);
3587 }
3588 {
3589 PyObject *o;
3590 o = PyInt_FromLong((long) (*_arg2));
3591 _resultobj = t_output_helper(_resultobj, o);
3592 }
3593 return _resultobj;
3594 }
3595
3596 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3597 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3598 PyObject * _resultobj;
3599 wxGridCellRenderer * _result;
3600 wxGridCellAttr * _arg0;
3601 wxGrid * _arg1;
3602 int _arg2;
3603 int _arg3;
3604 PyObject * _argo0 = 0;
3605 PyObject * _argo1 = 0;
3606 char *_kwnames[] = { "self","grid","row","col", NULL };
3607 char _ptemp[128];
3608
3609 self = self;
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3611 return NULL;
3612 if (_argo0) {
3613 if (_argo0 == Py_None) { _arg0 = NULL; }
3614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3616 return NULL;
3617 }
3618 }
3619 if (_argo1) {
3620 if (_argo1 == Py_None) { _arg1 = NULL; }
3621 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3622 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3623 return NULL;
3624 }
3625 }
3626 {
3627 wxPy_BEGIN_ALLOW_THREADS;
3628 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3629
3630 wxPy_END_ALLOW_THREADS;
3631 if (PyErr_Occurred()) return NULL;
3632 } if (_result) {
3633 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3634 _resultobj = Py_BuildValue("s",_ptemp);
3635 } else {
3636 Py_INCREF(Py_None);
3637 _resultobj = Py_None;
3638 }
3639 return _resultobj;
3640 }
3641
3642 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3643 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3644 PyObject * _resultobj;
3645 wxGridCellEditor * _result;
3646 wxGridCellAttr * _arg0;
3647 wxGrid * _arg1;
3648 int _arg2;
3649 int _arg3;
3650 PyObject * _argo0 = 0;
3651 PyObject * _argo1 = 0;
3652 char *_kwnames[] = { "self","grid","row","col", NULL };
3653 char _ptemp[128];
3654
3655 self = self;
3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3657 return NULL;
3658 if (_argo0) {
3659 if (_argo0 == Py_None) { _arg0 = NULL; }
3660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3662 return NULL;
3663 }
3664 }
3665 if (_argo1) {
3666 if (_argo1 == Py_None) { _arg1 = NULL; }
3667 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3668 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3669 return NULL;
3670 }
3671 }
3672 {
3673 wxPy_BEGIN_ALLOW_THREADS;
3674 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3675
3676 wxPy_END_ALLOW_THREADS;
3677 if (PyErr_Occurred()) return NULL;
3678 } if (_result) {
3679 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3680 _resultobj = Py_BuildValue("s",_ptemp);
3681 } else {
3682 Py_INCREF(Py_None);
3683 _resultobj = Py_None;
3684 }
3685 return _resultobj;
3686 }
3687
3688 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3689 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3690 PyObject * _resultobj;
3691 bool _result;
3692 wxGridCellAttr * _arg0;
3693 PyObject * _argo0 = 0;
3694 char *_kwnames[] = { "self", NULL };
3695
3696 self = self;
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3698 return NULL;
3699 if (_argo0) {
3700 if (_argo0 == Py_None) { _arg0 = NULL; }
3701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3703 return NULL;
3704 }
3705 }
3706 {
3707 wxPy_BEGIN_ALLOW_THREADS;
3708 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3709
3710 wxPy_END_ALLOW_THREADS;
3711 if (PyErr_Occurred()) return NULL;
3712 } _resultobj = Py_BuildValue("i",_result);
3713 return _resultobj;
3714 }
3715
3716 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3717 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3718 PyObject * _resultobj;
3719 wxGridCellAttr * _arg0;
3720 wxGridCellAttr * _arg1;
3721 PyObject * _argo0 = 0;
3722 PyObject * _argo1 = 0;
3723 char *_kwnames[] = { "self","defAttr", NULL };
3724
3725 self = self;
3726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3727 return NULL;
3728 if (_argo0) {
3729 if (_argo0 == Py_None) { _arg0 = NULL; }
3730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3732 return NULL;
3733 }
3734 }
3735 if (_argo1) {
3736 if (_argo1 == Py_None) { _arg1 = NULL; }
3737 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3738 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3739 return NULL;
3740 }
3741 }
3742 {
3743 wxPy_BEGIN_ALLOW_THREADS;
3744 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3745
3746 wxPy_END_ALLOW_THREADS;
3747 if (PyErr_Occurred()) return NULL;
3748 } Py_INCREF(Py_None);
3749 _resultobj = Py_None;
3750 return _resultobj;
3751 }
3752
3753 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3754 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject * _resultobj;
3756 wxGridCellAttrProvider * _result;
3757 char *_kwnames[] = { NULL };
3758 char _ptemp[128];
3759
3760 self = self;
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3762 return NULL;
3763 {
3764 wxPy_BEGIN_ALLOW_THREADS;
3765 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3766
3767 wxPy_END_ALLOW_THREADS;
3768 if (PyErr_Occurred()) return NULL;
3769 } if (_result) {
3770 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3771 _resultobj = Py_BuildValue("s",_ptemp);
3772 } else {
3773 Py_INCREF(Py_None);
3774 _resultobj = Py_None;
3775 }
3776 return _resultobj;
3777 }
3778
3779 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
3780 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject * _resultobj;
3782 wxGridCellAttr * _result;
3783 wxGridCellAttrProvider * _arg0;
3784 int _arg1;
3785 int _arg2;
3786 wxGridCellAttr::wxAttrKind _arg3;
3787 PyObject * _argo0 = 0;
3788 char *_kwnames[] = { "self","row","col","kind", NULL };
3789 char _ptemp[128];
3790
3791 self = self;
3792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3793 return NULL;
3794 if (_argo0) {
3795 if (_argo0 == Py_None) { _arg0 = NULL; }
3796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3798 return NULL;
3799 }
3800 }
3801 {
3802 wxPy_BEGIN_ALLOW_THREADS;
3803 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
3804
3805 wxPy_END_ALLOW_THREADS;
3806 if (PyErr_Occurred()) return NULL;
3807 } if (_result) {
3808 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3809 _resultobj = Py_BuildValue("s",_ptemp);
3810 } else {
3811 Py_INCREF(Py_None);
3812 _resultobj = Py_None;
3813 }
3814 return _resultobj;
3815 }
3816
3817 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3818 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3819 PyObject * _resultobj;
3820 wxGridCellAttrProvider * _arg0;
3821 wxGridCellAttr * _arg1;
3822 int _arg2;
3823 int _arg3;
3824 PyObject * _argo0 = 0;
3825 PyObject * _argo1 = 0;
3826 char *_kwnames[] = { "self","attr","row","col", NULL };
3827
3828 self = self;
3829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3830 return NULL;
3831 if (_argo0) {
3832 if (_argo0 == Py_None) { _arg0 = NULL; }
3833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3835 return NULL;
3836 }
3837 }
3838 if (_argo1) {
3839 if (_argo1 == Py_None) { _arg1 = NULL; }
3840 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3841 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3842 return NULL;
3843 }
3844 }
3845 {
3846 wxPy_BEGIN_ALLOW_THREADS;
3847 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
3848
3849 wxPy_END_ALLOW_THREADS;
3850 if (PyErr_Occurred()) return NULL;
3851 } Py_INCREF(Py_None);
3852 _resultobj = Py_None;
3853 return _resultobj;
3854 }
3855
3856 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3857 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3858 PyObject * _resultobj;
3859 wxGridCellAttrProvider * _arg0;
3860 wxGridCellAttr * _arg1;
3861 int _arg2;
3862 PyObject * _argo0 = 0;
3863 PyObject * _argo1 = 0;
3864 char *_kwnames[] = { "self","attr","row", NULL };
3865
3866 self = self;
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3868 return NULL;
3869 if (_argo0) {
3870 if (_argo0 == Py_None) { _arg0 = NULL; }
3871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3873 return NULL;
3874 }
3875 }
3876 if (_argo1) {
3877 if (_argo1 == Py_None) { _arg1 = NULL; }
3878 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3879 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3880 return NULL;
3881 }
3882 }
3883 {
3884 wxPy_BEGIN_ALLOW_THREADS;
3885 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
3886
3887 wxPy_END_ALLOW_THREADS;
3888 if (PyErr_Occurred()) return NULL;
3889 } Py_INCREF(Py_None);
3890 _resultobj = Py_None;
3891 return _resultobj;
3892 }
3893
3894 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3895 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3896 PyObject * _resultobj;
3897 wxGridCellAttrProvider * _arg0;
3898 wxGridCellAttr * _arg1;
3899 int _arg2;
3900 PyObject * _argo0 = 0;
3901 PyObject * _argo1 = 0;
3902 char *_kwnames[] = { "self","attr","col", NULL };
3903
3904 self = self;
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3906 return NULL;
3907 if (_argo0) {
3908 if (_argo0 == Py_None) { _arg0 = NULL; }
3909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3911 return NULL;
3912 }
3913 }
3914 if (_argo1) {
3915 if (_argo1 == Py_None) { _arg1 = NULL; }
3916 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3917 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3918 return NULL;
3919 }
3920 }
3921 {
3922 wxPy_BEGIN_ALLOW_THREADS;
3923 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
3924
3925 wxPy_END_ALLOW_THREADS;
3926 if (PyErr_Occurred()) return NULL;
3927 } Py_INCREF(Py_None);
3928 _resultobj = Py_None;
3929 return _resultobj;
3930 }
3931
3932 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3933 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3934 PyObject * _resultobj;
3935 wxGridCellAttrProvider * _arg0;
3936 size_t _arg1;
3937 int _arg2;
3938 PyObject * _argo0 = 0;
3939 char *_kwnames[] = { "self","pos","numRows", NULL };
3940
3941 self = self;
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
3943 return NULL;
3944 if (_argo0) {
3945 if (_argo0 == Py_None) { _arg0 = NULL; }
3946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3948 return NULL;
3949 }
3950 }
3951 {
3952 wxPy_BEGIN_ALLOW_THREADS;
3953 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
3954
3955 wxPy_END_ALLOW_THREADS;
3956 if (PyErr_Occurred()) return NULL;
3957 } Py_INCREF(Py_None);
3958 _resultobj = Py_None;
3959 return _resultobj;
3960 }
3961
3962 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3963 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject * _resultobj;
3965 wxGridCellAttrProvider * _arg0;
3966 size_t _arg1;
3967 int _arg2;
3968 PyObject * _argo0 = 0;
3969 char *_kwnames[] = { "self","pos","numCols", NULL };
3970
3971 self = self;
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
3973 return NULL;
3974 if (_argo0) {
3975 if (_argo0 == Py_None) { _arg0 = NULL; }
3976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3978 return NULL;
3979 }
3980 }
3981 {
3982 wxPy_BEGIN_ALLOW_THREADS;
3983 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
3984
3985 wxPy_END_ALLOW_THREADS;
3986 if (PyErr_Occurred()) return NULL;
3987 } Py_INCREF(Py_None);
3988 _resultobj = Py_None;
3989 return _resultobj;
3990 }
3991
3992 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
3993 wxPyGridCellAttrProvider *src;
3994 wxGridCellAttrProvider *dest;
3995 src = (wxPyGridCellAttrProvider *) ptr;
3996 dest = (wxGridCellAttrProvider *) src;
3997 return (void *) dest;
3998 }
3999
4000 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4001 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject * _resultobj;
4003 wxPyGridCellAttrProvider * _result;
4004 char *_kwnames[] = { NULL };
4005 char _ptemp[128];
4006
4007 self = self;
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4009 return NULL;
4010 {
4011 wxPy_BEGIN_ALLOW_THREADS;
4012 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4013
4014 wxPy_END_ALLOW_THREADS;
4015 if (PyErr_Occurred()) return NULL;
4016 } if (_result) {
4017 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4018 _resultobj = Py_BuildValue("s",_ptemp);
4019 } else {
4020 Py_INCREF(Py_None);
4021 _resultobj = Py_None;
4022 }
4023 return _resultobj;
4024 }
4025
4026 #define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4027 static PyObject *_wrap_wxPyGridCellAttrProvider__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject * _resultobj;
4029 wxPyGridCellAttrProvider * _arg0;
4030 PyObject * _arg1;
4031 PyObject * _arg2;
4032 PyObject * _argo0 = 0;
4033 PyObject * _obj1 = 0;
4034 PyObject * _obj2 = 0;
4035 char *_kwnames[] = { "self","self","_class", NULL };
4036
4037 self = self;
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
4039 return NULL;
4040 if (_argo0) {
4041 if (_argo0 == Py_None) { _arg0 = NULL; }
4042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
4044 return NULL;
4045 }
4046 }
4047 {
4048 _arg1 = _obj1;
4049 }
4050 {
4051 _arg2 = _obj2;
4052 }
4053 {
4054 wxPy_BEGIN_ALLOW_THREADS;
4055 wxPyGridCellAttrProvider__setSelf(_arg0,_arg1,_arg2);
4056
4057 wxPy_END_ALLOW_THREADS;
4058 if (PyErr_Occurred()) return NULL;
4059 } Py_INCREF(Py_None);
4060 _resultobj = Py_None;
4061 return _resultobj;
4062 }
4063
4064 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4065 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject * _resultobj;
4067 wxGridCellAttr * _result;
4068 wxPyGridCellAttrProvider * _arg0;
4069 int _arg1;
4070 int _arg2;
4071 wxGridCellAttr::wxAttrKind _arg3;
4072 PyObject * _argo0 = 0;
4073 char *_kwnames[] = { "self","row","col","kind", NULL };
4074 char _ptemp[128];
4075
4076 self = self;
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4078 return NULL;
4079 if (_argo0) {
4080 if (_argo0 == Py_None) { _arg0 = NULL; }
4081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4083 return NULL;
4084 }
4085 }
4086 {
4087 wxPy_BEGIN_ALLOW_THREADS;
4088 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4089
4090 wxPy_END_ALLOW_THREADS;
4091 if (PyErr_Occurred()) return NULL;
4092 } if (_result) {
4093 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4094 _resultobj = Py_BuildValue("s",_ptemp);
4095 } else {
4096 Py_INCREF(Py_None);
4097 _resultobj = Py_None;
4098 }
4099 return _resultobj;
4100 }
4101
4102 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4103 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4104 PyObject * _resultobj;
4105 wxPyGridCellAttrProvider * _arg0;
4106 wxGridCellAttr * _arg1;
4107 int _arg2;
4108 int _arg3;
4109 PyObject * _argo0 = 0;
4110 PyObject * _argo1 = 0;
4111 char *_kwnames[] = { "self","attr","row","col", NULL };
4112
4113 self = self;
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4115 return NULL;
4116 if (_argo0) {
4117 if (_argo0 == Py_None) { _arg0 = NULL; }
4118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4120 return NULL;
4121 }
4122 }
4123 if (_argo1) {
4124 if (_argo1 == Py_None) { _arg1 = NULL; }
4125 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4126 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4127 return NULL;
4128 }
4129 }
4130 {
4131 wxPy_BEGIN_ALLOW_THREADS;
4132 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4133
4134 wxPy_END_ALLOW_THREADS;
4135 if (PyErr_Occurred()) return NULL;
4136 } Py_INCREF(Py_None);
4137 _resultobj = Py_None;
4138 return _resultobj;
4139 }
4140
4141 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4142 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4143 PyObject * _resultobj;
4144 wxPyGridCellAttrProvider * _arg0;
4145 wxGridCellAttr * _arg1;
4146 int _arg2;
4147 PyObject * _argo0 = 0;
4148 PyObject * _argo1 = 0;
4149 char *_kwnames[] = { "self","attr","row", NULL };
4150
4151 self = self;
4152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4153 return NULL;
4154 if (_argo0) {
4155 if (_argo0 == Py_None) { _arg0 = NULL; }
4156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4158 return NULL;
4159 }
4160 }
4161 if (_argo1) {
4162 if (_argo1 == Py_None) { _arg1 = NULL; }
4163 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4164 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4165 return NULL;
4166 }
4167 }
4168 {
4169 wxPy_BEGIN_ALLOW_THREADS;
4170 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4171
4172 wxPy_END_ALLOW_THREADS;
4173 if (PyErr_Occurred()) return NULL;
4174 } Py_INCREF(Py_None);
4175 _resultobj = Py_None;
4176 return _resultobj;
4177 }
4178
4179 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4180 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4181 PyObject * _resultobj;
4182 wxPyGridCellAttrProvider * _arg0;
4183 wxGridCellAttr * _arg1;
4184 int _arg2;
4185 PyObject * _argo0 = 0;
4186 PyObject * _argo1 = 0;
4187 char *_kwnames[] = { "self","attr","col", NULL };
4188
4189 self = self;
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4191 return NULL;
4192 if (_argo0) {
4193 if (_argo0 == Py_None) { _arg0 = NULL; }
4194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4196 return NULL;
4197 }
4198 }
4199 if (_argo1) {
4200 if (_argo1 == Py_None) { _arg1 = NULL; }
4201 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4202 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4203 return NULL;
4204 }
4205 }
4206 {
4207 wxPy_BEGIN_ALLOW_THREADS;
4208 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4209
4210 wxPy_END_ALLOW_THREADS;
4211 if (PyErr_Occurred()) return NULL;
4212 } Py_INCREF(Py_None);
4213 _resultobj = Py_None;
4214 return _resultobj;
4215 }
4216
4217 static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4218 wxGridTableBase *src;
4219 wxObject *dest;
4220 src = (wxGridTableBase *) ptr;
4221 dest = (wxObject *) src;
4222 return (void *) dest;
4223 }
4224
4225 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4226 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4227 PyObject * _resultobj;
4228 wxGridTableBase * _arg0;
4229 wxGridCellAttrProvider * _arg1;
4230 PyObject * _argo0 = 0;
4231 PyObject * _argo1 = 0;
4232 char *_kwnames[] = { "self","attrProvider", NULL };
4233
4234 self = self;
4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4236 return NULL;
4237 if (_argo0) {
4238 if (_argo0 == Py_None) { _arg0 = NULL; }
4239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4241 return NULL;
4242 }
4243 }
4244 if (_argo1) {
4245 if (_argo1 == Py_None) { _arg1 = NULL; }
4246 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4247 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4248 return NULL;
4249 }
4250 }
4251 {
4252 wxPy_BEGIN_ALLOW_THREADS;
4253 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4254
4255 wxPy_END_ALLOW_THREADS;
4256 if (PyErr_Occurred()) return NULL;
4257 } Py_INCREF(Py_None);
4258 _resultobj = Py_None;
4259 return _resultobj;
4260 }
4261
4262 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4263 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4264 PyObject * _resultobj;
4265 wxGridCellAttrProvider * _result;
4266 wxGridTableBase * _arg0;
4267 PyObject * _argo0 = 0;
4268 char *_kwnames[] = { "self", NULL };
4269 char _ptemp[128];
4270
4271 self = self;
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4273 return NULL;
4274 if (_argo0) {
4275 if (_argo0 == Py_None) { _arg0 = NULL; }
4276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4278 return NULL;
4279 }
4280 }
4281 {
4282 wxPy_BEGIN_ALLOW_THREADS;
4283 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4284
4285 wxPy_END_ALLOW_THREADS;
4286 if (PyErr_Occurred()) return NULL;
4287 } if (_result) {
4288 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4289 _resultobj = Py_BuildValue("s",_ptemp);
4290 } else {
4291 Py_INCREF(Py_None);
4292 _resultobj = Py_None;
4293 }
4294 return _resultobj;
4295 }
4296
4297 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4298 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject * _resultobj;
4300 wxGridTableBase * _arg0;
4301 wxGrid * _arg1;
4302 PyObject * _argo0 = 0;
4303 PyObject * _argo1 = 0;
4304 char *_kwnames[] = { "self","grid", NULL };
4305
4306 self = self;
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4308 return NULL;
4309 if (_argo0) {
4310 if (_argo0 == Py_None) { _arg0 = NULL; }
4311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4313 return NULL;
4314 }
4315 }
4316 if (_argo1) {
4317 if (_argo1 == Py_None) { _arg1 = NULL; }
4318 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4319 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4320 return NULL;
4321 }
4322 }
4323 {
4324 wxPy_BEGIN_ALLOW_THREADS;
4325 wxGridTableBase_SetView(_arg0,_arg1);
4326
4327 wxPy_END_ALLOW_THREADS;
4328 if (PyErr_Occurred()) return NULL;
4329 } Py_INCREF(Py_None);
4330 _resultobj = Py_None;
4331 return _resultobj;
4332 }
4333
4334 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4335 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject * _resultobj;
4337 wxGrid * _result;
4338 wxGridTableBase * _arg0;
4339 PyObject * _argo0 = 0;
4340 char *_kwnames[] = { "self", NULL };
4341
4342 self = self;
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4344 return NULL;
4345 if (_argo0) {
4346 if (_argo0 == Py_None) { _arg0 = NULL; }
4347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4349 return NULL;
4350 }
4351 }
4352 {
4353 wxPy_BEGIN_ALLOW_THREADS;
4354 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4355
4356 wxPy_END_ALLOW_THREADS;
4357 if (PyErr_Occurred()) return NULL;
4358 }{ _resultobj = wxPyMake_wxObject(_result); }
4359 return _resultobj;
4360 }
4361
4362 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4363 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4364 PyObject * _resultobj;
4365 int _result;
4366 wxGridTableBase * _arg0;
4367 PyObject * _argo0 = 0;
4368 char *_kwnames[] = { "self", NULL };
4369
4370 self = self;
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4372 return NULL;
4373 if (_argo0) {
4374 if (_argo0 == Py_None) { _arg0 = NULL; }
4375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4377 return NULL;
4378 }
4379 }
4380 {
4381 wxPy_BEGIN_ALLOW_THREADS;
4382 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4383
4384 wxPy_END_ALLOW_THREADS;
4385 if (PyErr_Occurred()) return NULL;
4386 } _resultobj = Py_BuildValue("i",_result);
4387 return _resultobj;
4388 }
4389
4390 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4391 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4392 PyObject * _resultobj;
4393 int _result;
4394 wxGridTableBase * _arg0;
4395 PyObject * _argo0 = 0;
4396 char *_kwnames[] = { "self", NULL };
4397
4398 self = self;
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4400 return NULL;
4401 if (_argo0) {
4402 if (_argo0 == Py_None) { _arg0 = NULL; }
4403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4405 return NULL;
4406 }
4407 }
4408 {
4409 wxPy_BEGIN_ALLOW_THREADS;
4410 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4411
4412 wxPy_END_ALLOW_THREADS;
4413 if (PyErr_Occurred()) return NULL;
4414 } _resultobj = Py_BuildValue("i",_result);
4415 return _resultobj;
4416 }
4417
4418 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4419 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4420 PyObject * _resultobj;
4421 bool _result;
4422 wxGridTableBase * _arg0;
4423 int _arg1;
4424 int _arg2;
4425 PyObject * _argo0 = 0;
4426 char *_kwnames[] = { "self","row","col", NULL };
4427
4428 self = self;
4429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4430 return NULL;
4431 if (_argo0) {
4432 if (_argo0 == Py_None) { _arg0 = NULL; }
4433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4435 return NULL;
4436 }
4437 }
4438 {
4439 wxPy_BEGIN_ALLOW_THREADS;
4440 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4441
4442 wxPy_END_ALLOW_THREADS;
4443 if (PyErr_Occurred()) return NULL;
4444 } _resultobj = Py_BuildValue("i",_result);
4445 return _resultobj;
4446 }
4447
4448 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4449 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject * _resultobj;
4451 wxString * _result;
4452 wxGridTableBase * _arg0;
4453 int _arg1;
4454 int _arg2;
4455 PyObject * _argo0 = 0;
4456 char *_kwnames[] = { "self","row","col", NULL };
4457
4458 self = self;
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4460 return NULL;
4461 if (_argo0) {
4462 if (_argo0 == Py_None) { _arg0 = NULL; }
4463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4465 return NULL;
4466 }
4467 }
4468 {
4469 wxPy_BEGIN_ALLOW_THREADS;
4470 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4471
4472 wxPy_END_ALLOW_THREADS;
4473 if (PyErr_Occurred()) return NULL;
4474 }{
4475 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4476 }
4477 {
4478 delete _result;
4479 }
4480 return _resultobj;
4481 }
4482
4483 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4484 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject * _resultobj;
4486 wxGridTableBase * _arg0;
4487 int _arg1;
4488 int _arg2;
4489 wxString * _arg3;
4490 PyObject * _argo0 = 0;
4491 PyObject * _obj3 = 0;
4492 char *_kwnames[] = { "self","row","col","value", NULL };
4493
4494 self = self;
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4496 return NULL;
4497 if (_argo0) {
4498 if (_argo0 == Py_None) { _arg0 = NULL; }
4499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4501 return NULL;
4502 }
4503 }
4504 {
4505 #if PYTHON_API_VERSION >= 1009
4506 char* tmpPtr; int tmpSize;
4507 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4508 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4509 return NULL;
4510 }
4511 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4512 return NULL;
4513 _arg3 = new wxString(tmpPtr, tmpSize);
4514 #else
4515 if (!PyString_Check(_obj3)) {
4516 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4517 return NULL;
4518 }
4519 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4520 #endif
4521 }
4522 {
4523 wxPy_BEGIN_ALLOW_THREADS;
4524 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4525
4526 wxPy_END_ALLOW_THREADS;
4527 if (PyErr_Occurred()) return NULL;
4528 } Py_INCREF(Py_None);
4529 _resultobj = Py_None;
4530 {
4531 if (_obj3)
4532 delete _arg3;
4533 }
4534 return _resultobj;
4535 }
4536
4537 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4538 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4539 PyObject * _resultobj;
4540 wxString * _result;
4541 wxGridTableBase * _arg0;
4542 int _arg1;
4543 int _arg2;
4544 PyObject * _argo0 = 0;
4545 char *_kwnames[] = { "self","row","col", NULL };
4546
4547 self = self;
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4549 return NULL;
4550 if (_argo0) {
4551 if (_argo0 == Py_None) { _arg0 = NULL; }
4552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4554 return NULL;
4555 }
4556 }
4557 {
4558 wxPy_BEGIN_ALLOW_THREADS;
4559 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4560
4561 wxPy_END_ALLOW_THREADS;
4562 if (PyErr_Occurred()) return NULL;
4563 }{
4564 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4565 }
4566 {
4567 delete _result;
4568 }
4569 return _resultobj;
4570 }
4571
4572 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4573 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject * _resultobj;
4575 bool _result;
4576 wxGridTableBase * _arg0;
4577 int _arg1;
4578 int _arg2;
4579 wxString * _arg3;
4580 PyObject * _argo0 = 0;
4581 PyObject * _obj3 = 0;
4582 char *_kwnames[] = { "self","row","col","typeName", NULL };
4583
4584 self = self;
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4586 return NULL;
4587 if (_argo0) {
4588 if (_argo0 == Py_None) { _arg0 = NULL; }
4589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4591 return NULL;
4592 }
4593 }
4594 {
4595 #if PYTHON_API_VERSION >= 1009
4596 char* tmpPtr; int tmpSize;
4597 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4598 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4599 return NULL;
4600 }
4601 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4602 return NULL;
4603 _arg3 = new wxString(tmpPtr, tmpSize);
4604 #else
4605 if (!PyString_Check(_obj3)) {
4606 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4607 return NULL;
4608 }
4609 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4610 #endif
4611 }
4612 {
4613 wxPy_BEGIN_ALLOW_THREADS;
4614 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4615
4616 wxPy_END_ALLOW_THREADS;
4617 if (PyErr_Occurred()) return NULL;
4618 } _resultobj = Py_BuildValue("i",_result);
4619 {
4620 if (_obj3)
4621 delete _arg3;
4622 }
4623 return _resultobj;
4624 }
4625
4626 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4627 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4628 PyObject * _resultobj;
4629 bool _result;
4630 wxGridTableBase * _arg0;
4631 int _arg1;
4632 int _arg2;
4633 wxString * _arg3;
4634 PyObject * _argo0 = 0;
4635 PyObject * _obj3 = 0;
4636 char *_kwnames[] = { "self","row","col","typeName", NULL };
4637
4638 self = self;
4639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4640 return NULL;
4641 if (_argo0) {
4642 if (_argo0 == Py_None) { _arg0 = NULL; }
4643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4645 return NULL;
4646 }
4647 }
4648 {
4649 #if PYTHON_API_VERSION >= 1009
4650 char* tmpPtr; int tmpSize;
4651 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4652 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4653 return NULL;
4654 }
4655 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4656 return NULL;
4657 _arg3 = new wxString(tmpPtr, tmpSize);
4658 #else
4659 if (!PyString_Check(_obj3)) {
4660 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4661 return NULL;
4662 }
4663 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4664 #endif
4665 }
4666 {
4667 wxPy_BEGIN_ALLOW_THREADS;
4668 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4669
4670 wxPy_END_ALLOW_THREADS;
4671 if (PyErr_Occurred()) return NULL;
4672 } _resultobj = Py_BuildValue("i",_result);
4673 {
4674 if (_obj3)
4675 delete _arg3;
4676 }
4677 return _resultobj;
4678 }
4679
4680 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4681 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject * _resultobj;
4683 long _result;
4684 wxGridTableBase * _arg0;
4685 int _arg1;
4686 int _arg2;
4687 PyObject * _argo0 = 0;
4688 char *_kwnames[] = { "self","row","col", NULL };
4689
4690 self = self;
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4692 return NULL;
4693 if (_argo0) {
4694 if (_argo0 == Py_None) { _arg0 = NULL; }
4695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4697 return NULL;
4698 }
4699 }
4700 {
4701 wxPy_BEGIN_ALLOW_THREADS;
4702 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4703
4704 wxPy_END_ALLOW_THREADS;
4705 if (PyErr_Occurred()) return NULL;
4706 } _resultobj = Py_BuildValue("l",_result);
4707 return _resultobj;
4708 }
4709
4710 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4711 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4712 PyObject * _resultobj;
4713 double _result;
4714 wxGridTableBase * _arg0;
4715 int _arg1;
4716 int _arg2;
4717 PyObject * _argo0 = 0;
4718 char *_kwnames[] = { "self","row","col", NULL };
4719
4720 self = self;
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4722 return NULL;
4723 if (_argo0) {
4724 if (_argo0 == Py_None) { _arg0 = NULL; }
4725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4727 return NULL;
4728 }
4729 }
4730 {
4731 wxPy_BEGIN_ALLOW_THREADS;
4732 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4733
4734 wxPy_END_ALLOW_THREADS;
4735 if (PyErr_Occurred()) return NULL;
4736 } _resultobj = Py_BuildValue("d",_result);
4737 return _resultobj;
4738 }
4739
4740 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4741 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4742 PyObject * _resultobj;
4743 bool _result;
4744 wxGridTableBase * _arg0;
4745 int _arg1;
4746 int _arg2;
4747 PyObject * _argo0 = 0;
4748 char *_kwnames[] = { "self","row","col", NULL };
4749
4750 self = self;
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4752 return NULL;
4753 if (_argo0) {
4754 if (_argo0 == Py_None) { _arg0 = NULL; }
4755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4757 return NULL;
4758 }
4759 }
4760 {
4761 wxPy_BEGIN_ALLOW_THREADS;
4762 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4763
4764 wxPy_END_ALLOW_THREADS;
4765 if (PyErr_Occurred()) return NULL;
4766 } _resultobj = Py_BuildValue("i",_result);
4767 return _resultobj;
4768 }
4769
4770 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4771 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject * _resultobj;
4773 wxGridTableBase * _arg0;
4774 int _arg1;
4775 int _arg2;
4776 long _arg3;
4777 PyObject * _argo0 = 0;
4778 char *_kwnames[] = { "self","row","col","value", NULL };
4779
4780 self = self;
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4782 return NULL;
4783 if (_argo0) {
4784 if (_argo0 == Py_None) { _arg0 = NULL; }
4785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4787 return NULL;
4788 }
4789 }
4790 {
4791 wxPy_BEGIN_ALLOW_THREADS;
4792 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4793
4794 wxPy_END_ALLOW_THREADS;
4795 if (PyErr_Occurred()) return NULL;
4796 } Py_INCREF(Py_None);
4797 _resultobj = Py_None;
4798 return _resultobj;
4799 }
4800
4801 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4802 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4803 PyObject * _resultobj;
4804 wxGridTableBase * _arg0;
4805 int _arg1;
4806 int _arg2;
4807 double _arg3;
4808 PyObject * _argo0 = 0;
4809 char *_kwnames[] = { "self","row","col","value", NULL };
4810
4811 self = self;
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4813 return NULL;
4814 if (_argo0) {
4815 if (_argo0 == Py_None) { _arg0 = NULL; }
4816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4818 return NULL;
4819 }
4820 }
4821 {
4822 wxPy_BEGIN_ALLOW_THREADS;
4823 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
4824
4825 wxPy_END_ALLOW_THREADS;
4826 if (PyErr_Occurred()) return NULL;
4827 } Py_INCREF(Py_None);
4828 _resultobj = Py_None;
4829 return _resultobj;
4830 }
4831
4832 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4833 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject * _resultobj;
4835 wxGridTableBase * _arg0;
4836 int _arg1;
4837 int _arg2;
4838 bool _arg3;
4839 PyObject * _argo0 = 0;
4840 int tempbool3;
4841 char *_kwnames[] = { "self","row","col","value", NULL };
4842
4843 self = self;
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4845 return NULL;
4846 if (_argo0) {
4847 if (_argo0 == Py_None) { _arg0 = NULL; }
4848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4850 return NULL;
4851 }
4852 }
4853 _arg3 = (bool ) tempbool3;
4854 {
4855 wxPy_BEGIN_ALLOW_THREADS;
4856 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
4857
4858 wxPy_END_ALLOW_THREADS;
4859 if (PyErr_Occurred()) return NULL;
4860 } Py_INCREF(Py_None);
4861 _resultobj = Py_None;
4862 return _resultobj;
4863 }
4864
4865 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4866 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject * _resultobj;
4868 wxGridTableBase * _arg0;
4869 PyObject * _argo0 = 0;
4870 char *_kwnames[] = { "self", NULL };
4871
4872 self = self;
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
4874 return NULL;
4875 if (_argo0) {
4876 if (_argo0 == Py_None) { _arg0 = NULL; }
4877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4879 return NULL;
4880 }
4881 }
4882 {
4883 wxPy_BEGIN_ALLOW_THREADS;
4884 wxGridTableBase_Clear(_arg0);
4885
4886 wxPy_END_ALLOW_THREADS;
4887 if (PyErr_Occurred()) return NULL;
4888 } Py_INCREF(Py_None);
4889 _resultobj = Py_None;
4890 return _resultobj;
4891 }
4892
4893 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4894 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4895 PyObject * _resultobj;
4896 bool _result;
4897 wxGridTableBase * _arg0;
4898 size_t _arg1 = (size_t ) 0;
4899 size_t _arg2 = (size_t ) 1;
4900 PyObject * _argo0 = 0;
4901 char *_kwnames[] = { "self","pos","numRows", NULL };
4902
4903 self = self;
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
4905 return NULL;
4906 if (_argo0) {
4907 if (_argo0 == Py_None) { _arg0 = NULL; }
4908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4910 return NULL;
4911 }
4912 }
4913 {
4914 wxPy_BEGIN_ALLOW_THREADS;
4915 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
4916
4917 wxPy_END_ALLOW_THREADS;
4918 if (PyErr_Occurred()) return NULL;
4919 } _resultobj = Py_BuildValue("i",_result);
4920 return _resultobj;
4921 }
4922
4923 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4924 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4925 PyObject * _resultobj;
4926 bool _result;
4927 wxGridTableBase * _arg0;
4928 size_t _arg1 = (size_t ) 1;
4929 PyObject * _argo0 = 0;
4930 char *_kwnames[] = { "self","numRows", NULL };
4931
4932 self = self;
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
4934 return NULL;
4935 if (_argo0) {
4936 if (_argo0 == Py_None) { _arg0 = NULL; }
4937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4939 return NULL;
4940 }
4941 }
4942 {
4943 wxPy_BEGIN_ALLOW_THREADS;
4944 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
4945
4946 wxPy_END_ALLOW_THREADS;
4947 if (PyErr_Occurred()) return NULL;
4948 } _resultobj = Py_BuildValue("i",_result);
4949 return _resultobj;
4950 }
4951
4952 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4953 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4954 PyObject * _resultobj;
4955 bool _result;
4956 wxGridTableBase * _arg0;
4957 size_t _arg1 = (size_t ) 0;
4958 size_t _arg2 = (size_t ) 1;
4959 PyObject * _argo0 = 0;
4960 char *_kwnames[] = { "self","pos","numRows", NULL };
4961
4962 self = self;
4963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
4964 return NULL;
4965 if (_argo0) {
4966 if (_argo0 == Py_None) { _arg0 = NULL; }
4967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4969 return NULL;
4970 }
4971 }
4972 {
4973 wxPy_BEGIN_ALLOW_THREADS;
4974 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
4975
4976 wxPy_END_ALLOW_THREADS;
4977 if (PyErr_Occurred()) return NULL;
4978 } _resultobj = Py_BuildValue("i",_result);
4979 return _resultobj;
4980 }
4981
4982 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4983 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4984 PyObject * _resultobj;
4985 bool _result;
4986 wxGridTableBase * _arg0;
4987 size_t _arg1 = (size_t ) 0;
4988 size_t _arg2 = (size_t ) 1;
4989 PyObject * _argo0 = 0;
4990 char *_kwnames[] = { "self","pos","numCols", NULL };
4991
4992 self = self;
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
4994 return NULL;
4995 if (_argo0) {
4996 if (_argo0 == Py_None) { _arg0 = NULL; }
4997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4999 return NULL;
5000 }
5001 }
5002 {
5003 wxPy_BEGIN_ALLOW_THREADS;
5004 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5005
5006 wxPy_END_ALLOW_THREADS;
5007 if (PyErr_Occurred()) return NULL;
5008 } _resultobj = Py_BuildValue("i",_result);
5009 return _resultobj;
5010 }
5011
5012 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5013 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5014 PyObject * _resultobj;
5015 bool _result;
5016 wxGridTableBase * _arg0;
5017 size_t _arg1 = (size_t ) 1;
5018 PyObject * _argo0 = 0;
5019 char *_kwnames[] = { "self","numCols", NULL };
5020
5021 self = self;
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5023 return NULL;
5024 if (_argo0) {
5025 if (_argo0 == Py_None) { _arg0 = NULL; }
5026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5028 return NULL;
5029 }
5030 }
5031 {
5032 wxPy_BEGIN_ALLOW_THREADS;
5033 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5034
5035 wxPy_END_ALLOW_THREADS;
5036 if (PyErr_Occurred()) return NULL;
5037 } _resultobj = Py_BuildValue("i",_result);
5038 return _resultobj;
5039 }
5040
5041 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5042 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject * _resultobj;
5044 bool _result;
5045 wxGridTableBase * _arg0;
5046 size_t _arg1 = (size_t ) 0;
5047 size_t _arg2 = (size_t ) 1;
5048 PyObject * _argo0 = 0;
5049 char *_kwnames[] = { "self","pos","numCols", NULL };
5050
5051 self = self;
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5053 return NULL;
5054 if (_argo0) {
5055 if (_argo0 == Py_None) { _arg0 = NULL; }
5056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5058 return NULL;
5059 }
5060 }
5061 {
5062 wxPy_BEGIN_ALLOW_THREADS;
5063 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5064
5065 wxPy_END_ALLOW_THREADS;
5066 if (PyErr_Occurred()) return NULL;
5067 } _resultobj = Py_BuildValue("i",_result);
5068 return _resultobj;
5069 }
5070
5071 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5072 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject * _resultobj;
5074 wxString * _result;
5075 wxGridTableBase * _arg0;
5076 int _arg1;
5077 PyObject * _argo0 = 0;
5078 char *_kwnames[] = { "self","row", NULL };
5079
5080 self = self;
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5082 return NULL;
5083 if (_argo0) {
5084 if (_argo0 == Py_None) { _arg0 = NULL; }
5085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5087 return NULL;
5088 }
5089 }
5090 {
5091 wxPy_BEGIN_ALLOW_THREADS;
5092 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5093
5094 wxPy_END_ALLOW_THREADS;
5095 if (PyErr_Occurred()) return NULL;
5096 }{
5097 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5098 }
5099 {
5100 delete _result;
5101 }
5102 return _resultobj;
5103 }
5104
5105 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5106 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject * _resultobj;
5108 wxString * _result;
5109 wxGridTableBase * _arg0;
5110 int _arg1;
5111 PyObject * _argo0 = 0;
5112 char *_kwnames[] = { "self","col", NULL };
5113
5114 self = self;
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5116 return NULL;
5117 if (_argo0) {
5118 if (_argo0 == Py_None) { _arg0 = NULL; }
5119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5121 return NULL;
5122 }
5123 }
5124 {
5125 wxPy_BEGIN_ALLOW_THREADS;
5126 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5127
5128 wxPy_END_ALLOW_THREADS;
5129 if (PyErr_Occurred()) return NULL;
5130 }{
5131 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5132 }
5133 {
5134 delete _result;
5135 }
5136 return _resultobj;
5137 }
5138
5139 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5140 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5141 PyObject * _resultobj;
5142 wxGridTableBase * _arg0;
5143 int _arg1;
5144 wxString * _arg2;
5145 PyObject * _argo0 = 0;
5146 PyObject * _obj2 = 0;
5147 char *_kwnames[] = { "self","row","value", NULL };
5148
5149 self = self;
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5151 return NULL;
5152 if (_argo0) {
5153 if (_argo0 == Py_None) { _arg0 = NULL; }
5154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5156 return NULL;
5157 }
5158 }
5159 {
5160 #if PYTHON_API_VERSION >= 1009
5161 char* tmpPtr; int tmpSize;
5162 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5163 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5164 return NULL;
5165 }
5166 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5167 return NULL;
5168 _arg2 = new wxString(tmpPtr, tmpSize);
5169 #else
5170 if (!PyString_Check(_obj2)) {
5171 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5172 return NULL;
5173 }
5174 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5175 #endif
5176 }
5177 {
5178 wxPy_BEGIN_ALLOW_THREADS;
5179 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5180
5181 wxPy_END_ALLOW_THREADS;
5182 if (PyErr_Occurred()) return NULL;
5183 } Py_INCREF(Py_None);
5184 _resultobj = Py_None;
5185 {
5186 if (_obj2)
5187 delete _arg2;
5188 }
5189 return _resultobj;
5190 }
5191
5192 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5193 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject * _resultobj;
5195 wxGridTableBase * _arg0;
5196 int _arg1;
5197 wxString * _arg2;
5198 PyObject * _argo0 = 0;
5199 PyObject * _obj2 = 0;
5200 char *_kwnames[] = { "self","col","value", NULL };
5201
5202 self = self;
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
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_SetColLabelValue. Expected _wxGridTableBase_p.");
5209 return NULL;
5210 }
5211 }
5212 {
5213 #if PYTHON_API_VERSION >= 1009
5214 char* tmpPtr; int tmpSize;
5215 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5216 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5217 return NULL;
5218 }
5219 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5220 return NULL;
5221 _arg2 = new wxString(tmpPtr, tmpSize);
5222 #else
5223 if (!PyString_Check(_obj2)) {
5224 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5225 return NULL;
5226 }
5227 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5228 #endif
5229 }
5230 {
5231 wxPy_BEGIN_ALLOW_THREADS;
5232 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5233
5234 wxPy_END_ALLOW_THREADS;
5235 if (PyErr_Occurred()) return NULL;
5236 } Py_INCREF(Py_None);
5237 _resultobj = Py_None;
5238 {
5239 if (_obj2)
5240 delete _arg2;
5241 }
5242 return _resultobj;
5243 }
5244
5245 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5246 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5247 PyObject * _resultobj;
5248 bool _result;
5249 wxGridTableBase * _arg0;
5250 PyObject * _argo0 = 0;
5251 char *_kwnames[] = { "self", NULL };
5252
5253 self = self;
5254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5255 return NULL;
5256 if (_argo0) {
5257 if (_argo0 == Py_None) { _arg0 = NULL; }
5258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5260 return NULL;
5261 }
5262 }
5263 {
5264 wxPy_BEGIN_ALLOW_THREADS;
5265 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5266
5267 wxPy_END_ALLOW_THREADS;
5268 if (PyErr_Occurred()) return NULL;
5269 } _resultobj = Py_BuildValue("i",_result);
5270 return _resultobj;
5271 }
5272
5273 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5274 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5275 PyObject * _resultobj;
5276 wxGridCellAttr * _result;
5277 wxGridTableBase * _arg0;
5278 int _arg1;
5279 int _arg2;
5280 wxGridCellAttr::wxAttrKind _arg3;
5281 PyObject * _argo0 = 0;
5282 char *_kwnames[] = { "self","row","col","kind", NULL };
5283 char _ptemp[128];
5284
5285 self = self;
5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5287 return NULL;
5288 if (_argo0) {
5289 if (_argo0 == Py_None) { _arg0 = NULL; }
5290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5292 return NULL;
5293 }
5294 }
5295 {
5296 wxPy_BEGIN_ALLOW_THREADS;
5297 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
5298
5299 wxPy_END_ALLOW_THREADS;
5300 if (PyErr_Occurred()) return NULL;
5301 } if (_result) {
5302 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5303 _resultobj = Py_BuildValue("s",_ptemp);
5304 } else {
5305 Py_INCREF(Py_None);
5306 _resultobj = Py_None;
5307 }
5308 return _resultobj;
5309 }
5310
5311 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5312 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5313 PyObject * _resultobj;
5314 wxGridTableBase * _arg0;
5315 wxGridCellAttr * _arg1;
5316 int _arg2;
5317 int _arg3;
5318 PyObject * _argo0 = 0;
5319 PyObject * _argo1 = 0;
5320 char *_kwnames[] = { "self","attr","row","col", NULL };
5321
5322 self = self;
5323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5324 return NULL;
5325 if (_argo0) {
5326 if (_argo0 == Py_None) { _arg0 = NULL; }
5327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5329 return NULL;
5330 }
5331 }
5332 if (_argo1) {
5333 if (_argo1 == Py_None) { _arg1 = NULL; }
5334 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5335 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5336 return NULL;
5337 }
5338 }
5339 {
5340 wxPy_BEGIN_ALLOW_THREADS;
5341 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5342
5343 wxPy_END_ALLOW_THREADS;
5344 if (PyErr_Occurred()) return NULL;
5345 } Py_INCREF(Py_None);
5346 _resultobj = Py_None;
5347 return _resultobj;
5348 }
5349
5350 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5351 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5352 PyObject * _resultobj;
5353 wxGridTableBase * _arg0;
5354 wxGridCellAttr * _arg1;
5355 int _arg2;
5356 PyObject * _argo0 = 0;
5357 PyObject * _argo1 = 0;
5358 char *_kwnames[] = { "self","attr","row", NULL };
5359
5360 self = self;
5361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5362 return NULL;
5363 if (_argo0) {
5364 if (_argo0 == Py_None) { _arg0 = NULL; }
5365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5367 return NULL;
5368 }
5369 }
5370 if (_argo1) {
5371 if (_argo1 == Py_None) { _arg1 = NULL; }
5372 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5373 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5374 return NULL;
5375 }
5376 }
5377 {
5378 wxPy_BEGIN_ALLOW_THREADS;
5379 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5380
5381 wxPy_END_ALLOW_THREADS;
5382 if (PyErr_Occurred()) return NULL;
5383 } Py_INCREF(Py_None);
5384 _resultobj = Py_None;
5385 return _resultobj;
5386 }
5387
5388 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5389 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5390 PyObject * _resultobj;
5391 wxGridTableBase * _arg0;
5392 wxGridCellAttr * _arg1;
5393 int _arg2;
5394 PyObject * _argo0 = 0;
5395 PyObject * _argo1 = 0;
5396 char *_kwnames[] = { "self","attr","col", NULL };
5397
5398 self = self;
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5400 return NULL;
5401 if (_argo0) {
5402 if (_argo0 == Py_None) { _arg0 = NULL; }
5403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5405 return NULL;
5406 }
5407 }
5408 if (_argo1) {
5409 if (_argo1 == Py_None) { _arg1 = NULL; }
5410 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5411 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5412 return NULL;
5413 }
5414 }
5415 {
5416 wxPy_BEGIN_ALLOW_THREADS;
5417 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5418
5419 wxPy_END_ALLOW_THREADS;
5420 if (PyErr_Occurred()) return NULL;
5421 } Py_INCREF(Py_None);
5422 _resultobj = Py_None;
5423 return _resultobj;
5424 }
5425
5426 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5427 wxPyGridTableBase *src;
5428 wxGridTableBase *dest;
5429 src = (wxPyGridTableBase *) ptr;
5430 dest = (wxGridTableBase *) src;
5431 return (void *) dest;
5432 }
5433
5434 static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5435 wxPyGridTableBase *src;
5436 wxObject *dest;
5437 src = (wxPyGridTableBase *) ptr;
5438 dest = (wxObject *) src;
5439 return (void *) dest;
5440 }
5441
5442 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5443 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5444 PyObject * _resultobj;
5445 wxPyGridTableBase * _result;
5446 char *_kwnames[] = { NULL };
5447 char _ptemp[128];
5448
5449 self = self;
5450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5451 return NULL;
5452 {
5453 wxPy_BEGIN_ALLOW_THREADS;
5454 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5455
5456 wxPy_END_ALLOW_THREADS;
5457 if (PyErr_Occurred()) return NULL;
5458 } if (_result) {
5459 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5460 _resultobj = Py_BuildValue("s",_ptemp);
5461 } else {
5462 Py_INCREF(Py_None);
5463 _resultobj = Py_None;
5464 }
5465 return _resultobj;
5466 }
5467
5468 #define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5469 static PyObject *_wrap_wxPyGridTableBase__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject * _resultobj;
5471 wxPyGridTableBase * _arg0;
5472 PyObject * _arg1;
5473 PyObject * _arg2;
5474 PyObject * _argo0 = 0;
5475 PyObject * _obj1 = 0;
5476 PyObject * _obj2 = 0;
5477 char *_kwnames[] = { "self","self","_class", NULL };
5478
5479 self = self;
5480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5481 return NULL;
5482 if (_argo0) {
5483 if (_argo0 == Py_None) { _arg0 = NULL; }
5484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5486 return NULL;
5487 }
5488 }
5489 {
5490 _arg1 = _obj1;
5491 }
5492 {
5493 _arg2 = _obj2;
5494 }
5495 {
5496 wxPy_BEGIN_ALLOW_THREADS;
5497 wxPyGridTableBase__setSelf(_arg0,_arg1,_arg2);
5498
5499 wxPy_END_ALLOW_THREADS;
5500 if (PyErr_Occurred()) return NULL;
5501 } Py_INCREF(Py_None);
5502 _resultobj = Py_None;
5503 return _resultobj;
5504 }
5505
5506 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5507 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5508 PyObject * _resultobj;
5509 wxPyGridTableBase * _arg0;
5510 PyObject * _argo0 = 0;
5511 char *_kwnames[] = { "self", NULL };
5512
5513 self = self;
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5515 return NULL;
5516 if (_argo0) {
5517 if (_argo0 == Py_None) { _arg0 = NULL; }
5518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5520 return NULL;
5521 }
5522 }
5523 {
5524 wxPy_BEGIN_ALLOW_THREADS;
5525 wxPyGridTableBase_Destroy(_arg0);
5526
5527 wxPy_END_ALLOW_THREADS;
5528 if (PyErr_Occurred()) return NULL;
5529 } Py_INCREF(Py_None);
5530 _resultobj = Py_None;
5531 return _resultobj;
5532 }
5533
5534 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5535 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject * _resultobj;
5537 wxString * _result;
5538 wxPyGridTableBase * _arg0;
5539 int _arg1;
5540 int _arg2;
5541 PyObject * _argo0 = 0;
5542 char *_kwnames[] = { "self","row","col", NULL };
5543
5544 self = self;
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5546 return NULL;
5547 if (_argo0) {
5548 if (_argo0 == Py_None) { _arg0 = NULL; }
5549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5551 return NULL;
5552 }
5553 }
5554 {
5555 wxPy_BEGIN_ALLOW_THREADS;
5556 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5557
5558 wxPy_END_ALLOW_THREADS;
5559 if (PyErr_Occurred()) return NULL;
5560 }{
5561 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5562 }
5563 {
5564 delete _result;
5565 }
5566 return _resultobj;
5567 }
5568
5569 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5570 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject * _resultobj;
5572 bool _result;
5573 wxPyGridTableBase * _arg0;
5574 int _arg1;
5575 int _arg2;
5576 wxString * _arg3;
5577 PyObject * _argo0 = 0;
5578 PyObject * _obj3 = 0;
5579 char *_kwnames[] = { "self","row","col","typeName", NULL };
5580
5581 self = self;
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5583 return NULL;
5584 if (_argo0) {
5585 if (_argo0 == Py_None) { _arg0 = NULL; }
5586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5588 return NULL;
5589 }
5590 }
5591 {
5592 #if PYTHON_API_VERSION >= 1009
5593 char* tmpPtr; int tmpSize;
5594 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5595 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5596 return NULL;
5597 }
5598 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5599 return NULL;
5600 _arg3 = new wxString(tmpPtr, tmpSize);
5601 #else
5602 if (!PyString_Check(_obj3)) {
5603 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5604 return NULL;
5605 }
5606 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5607 #endif
5608 }
5609 {
5610 wxPy_BEGIN_ALLOW_THREADS;
5611 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5612
5613 wxPy_END_ALLOW_THREADS;
5614 if (PyErr_Occurred()) return NULL;
5615 } _resultobj = Py_BuildValue("i",_result);
5616 {
5617 if (_obj3)
5618 delete _arg3;
5619 }
5620 return _resultobj;
5621 }
5622
5623 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5624 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5625 PyObject * _resultobj;
5626 bool _result;
5627 wxPyGridTableBase * _arg0;
5628 int _arg1;
5629 int _arg2;
5630 wxString * _arg3;
5631 PyObject * _argo0 = 0;
5632 PyObject * _obj3 = 0;
5633 char *_kwnames[] = { "self","row","col","typeName", NULL };
5634
5635 self = self;
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5637 return NULL;
5638 if (_argo0) {
5639 if (_argo0 == Py_None) { _arg0 = NULL; }
5640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5642 return NULL;
5643 }
5644 }
5645 {
5646 #if PYTHON_API_VERSION >= 1009
5647 char* tmpPtr; int tmpSize;
5648 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5649 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5650 return NULL;
5651 }
5652 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5653 return NULL;
5654 _arg3 = new wxString(tmpPtr, tmpSize);
5655 #else
5656 if (!PyString_Check(_obj3)) {
5657 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5658 return NULL;
5659 }
5660 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5661 #endif
5662 }
5663 {
5664 wxPy_BEGIN_ALLOW_THREADS;
5665 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5666
5667 wxPy_END_ALLOW_THREADS;
5668 if (PyErr_Occurred()) return NULL;
5669 } _resultobj = Py_BuildValue("i",_result);
5670 {
5671 if (_obj3)
5672 delete _arg3;
5673 }
5674 return _resultobj;
5675 }
5676
5677 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5678 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5679 PyObject * _resultobj;
5680 wxPyGridTableBase * _arg0;
5681 PyObject * _argo0 = 0;
5682 char *_kwnames[] = { "self", NULL };
5683
5684 self = self;
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5686 return NULL;
5687 if (_argo0) {
5688 if (_argo0 == Py_None) { _arg0 = NULL; }
5689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5691 return NULL;
5692 }
5693 }
5694 {
5695 wxPy_BEGIN_ALLOW_THREADS;
5696 wxPyGridTableBase_base_Clear(_arg0);
5697
5698 wxPy_END_ALLOW_THREADS;
5699 if (PyErr_Occurred()) return NULL;
5700 } Py_INCREF(Py_None);
5701 _resultobj = Py_None;
5702 return _resultobj;
5703 }
5704
5705 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5706 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5707 PyObject * _resultobj;
5708 bool _result;
5709 wxPyGridTableBase * _arg0;
5710 size_t _arg1 = (size_t ) 0;
5711 size_t _arg2 = (size_t ) 1;
5712 PyObject * _argo0 = 0;
5713 char *_kwnames[] = { "self","pos","numRows", NULL };
5714
5715 self = self;
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5717 return NULL;
5718 if (_argo0) {
5719 if (_argo0 == Py_None) { _arg0 = NULL; }
5720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5722 return NULL;
5723 }
5724 }
5725 {
5726 wxPy_BEGIN_ALLOW_THREADS;
5727 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5728
5729 wxPy_END_ALLOW_THREADS;
5730 if (PyErr_Occurred()) return NULL;
5731 } _resultobj = Py_BuildValue("i",_result);
5732 return _resultobj;
5733 }
5734
5735 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5736 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5737 PyObject * _resultobj;
5738 bool _result;
5739 wxPyGridTableBase * _arg0;
5740 size_t _arg1 = (size_t ) 1;
5741 PyObject * _argo0 = 0;
5742 char *_kwnames[] = { "self","numRows", NULL };
5743
5744 self = self;
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5746 return NULL;
5747 if (_argo0) {
5748 if (_argo0 == Py_None) { _arg0 = NULL; }
5749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5751 return NULL;
5752 }
5753 }
5754 {
5755 wxPy_BEGIN_ALLOW_THREADS;
5756 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5757
5758 wxPy_END_ALLOW_THREADS;
5759 if (PyErr_Occurred()) return NULL;
5760 } _resultobj = Py_BuildValue("i",_result);
5761 return _resultobj;
5762 }
5763
5764 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5765 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject * _resultobj;
5767 bool _result;
5768 wxPyGridTableBase * _arg0;
5769 size_t _arg1 = (size_t ) 0;
5770 size_t _arg2 = (size_t ) 1;
5771 PyObject * _argo0 = 0;
5772 char *_kwnames[] = { "self","pos","numRows", NULL };
5773
5774 self = self;
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5776 return NULL;
5777 if (_argo0) {
5778 if (_argo0 == Py_None) { _arg0 = NULL; }
5779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5781 return NULL;
5782 }
5783 }
5784 {
5785 wxPy_BEGIN_ALLOW_THREADS;
5786 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5787
5788 wxPy_END_ALLOW_THREADS;
5789 if (PyErr_Occurred()) return NULL;
5790 } _resultobj = Py_BuildValue("i",_result);
5791 return _resultobj;
5792 }
5793
5794 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5795 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject * _resultobj;
5797 bool _result;
5798 wxPyGridTableBase * _arg0;
5799 size_t _arg1 = (size_t ) 0;
5800 size_t _arg2 = (size_t ) 1;
5801 PyObject * _argo0 = 0;
5802 char *_kwnames[] = { "self","pos","numCols", NULL };
5803
5804 self = self;
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5806 return NULL;
5807 if (_argo0) {
5808 if (_argo0 == Py_None) { _arg0 = NULL; }
5809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5811 return NULL;
5812 }
5813 }
5814 {
5815 wxPy_BEGIN_ALLOW_THREADS;
5816 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5817
5818 wxPy_END_ALLOW_THREADS;
5819 if (PyErr_Occurred()) return NULL;
5820 } _resultobj = Py_BuildValue("i",_result);
5821 return _resultobj;
5822 }
5823
5824 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5825 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject * _resultobj;
5827 bool _result;
5828 wxPyGridTableBase * _arg0;
5829 size_t _arg1 = (size_t ) 1;
5830 PyObject * _argo0 = 0;
5831 char *_kwnames[] = { "self","numCols", NULL };
5832
5833 self = self;
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5835 return NULL;
5836 if (_argo0) {
5837 if (_argo0 == Py_None) { _arg0 = NULL; }
5838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5840 return NULL;
5841 }
5842 }
5843 {
5844 wxPy_BEGIN_ALLOW_THREADS;
5845 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5846
5847 wxPy_END_ALLOW_THREADS;
5848 if (PyErr_Occurred()) return NULL;
5849 } _resultobj = Py_BuildValue("i",_result);
5850 return _resultobj;
5851 }
5852
5853 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5854 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject * _resultobj;
5856 bool _result;
5857 wxPyGridTableBase * _arg0;
5858 size_t _arg1 = (size_t ) 0;
5859 size_t _arg2 = (size_t ) 1;
5860 PyObject * _argo0 = 0;
5861 char *_kwnames[] = { "self","pos","numCols", NULL };
5862
5863 self = self;
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5865 return NULL;
5866 if (_argo0) {
5867 if (_argo0 == Py_None) { _arg0 = NULL; }
5868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5870 return NULL;
5871 }
5872 }
5873 {
5874 wxPy_BEGIN_ALLOW_THREADS;
5875 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
5876
5877 wxPy_END_ALLOW_THREADS;
5878 if (PyErr_Occurred()) return NULL;
5879 } _resultobj = Py_BuildValue("i",_result);
5880 return _resultobj;
5881 }
5882
5883 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5884 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5885 PyObject * _resultobj;
5886 wxString * _result;
5887 wxPyGridTableBase * _arg0;
5888 int _arg1;
5889 PyObject * _argo0 = 0;
5890 char *_kwnames[] = { "self","row", NULL };
5891
5892 self = self;
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5894 return NULL;
5895 if (_argo0) {
5896 if (_argo0 == Py_None) { _arg0 = NULL; }
5897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5899 return NULL;
5900 }
5901 }
5902 {
5903 wxPy_BEGIN_ALLOW_THREADS;
5904 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
5905
5906 wxPy_END_ALLOW_THREADS;
5907 if (PyErr_Occurred()) return NULL;
5908 }{
5909 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5910 }
5911 {
5912 delete _result;
5913 }
5914 return _resultobj;
5915 }
5916
5917 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5918 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5919 PyObject * _resultobj;
5920 wxString * _result;
5921 wxPyGridTableBase * _arg0;
5922 int _arg1;
5923 PyObject * _argo0 = 0;
5924 char *_kwnames[] = { "self","col", NULL };
5925
5926 self = self;
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5928 return NULL;
5929 if (_argo0) {
5930 if (_argo0 == Py_None) { _arg0 = NULL; }
5931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5933 return NULL;
5934 }
5935 }
5936 {
5937 wxPy_BEGIN_ALLOW_THREADS;
5938 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
5939
5940 wxPy_END_ALLOW_THREADS;
5941 if (PyErr_Occurred()) return NULL;
5942 }{
5943 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5944 }
5945 {
5946 delete _result;
5947 }
5948 return _resultobj;
5949 }
5950
5951 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5952 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5953 PyObject * _resultobj;
5954 wxPyGridTableBase * _arg0;
5955 int _arg1;
5956 wxString * _arg2;
5957 PyObject * _argo0 = 0;
5958 PyObject * _obj2 = 0;
5959 char *_kwnames[] = { "self","row","value", NULL };
5960
5961 self = self;
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5963 return NULL;
5964 if (_argo0) {
5965 if (_argo0 == Py_None) { _arg0 = NULL; }
5966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5968 return NULL;
5969 }
5970 }
5971 {
5972 #if PYTHON_API_VERSION >= 1009
5973 char* tmpPtr; int tmpSize;
5974 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5975 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5976 return NULL;
5977 }
5978 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5979 return NULL;
5980 _arg2 = new wxString(tmpPtr, tmpSize);
5981 #else
5982 if (!PyString_Check(_obj2)) {
5983 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5984 return NULL;
5985 }
5986 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5987 #endif
5988 }
5989 {
5990 wxPy_BEGIN_ALLOW_THREADS;
5991 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
5992
5993 wxPy_END_ALLOW_THREADS;
5994 if (PyErr_Occurred()) return NULL;
5995 } Py_INCREF(Py_None);
5996 _resultobj = Py_None;
5997 {
5998 if (_obj2)
5999 delete _arg2;
6000 }
6001 return _resultobj;
6002 }
6003
6004 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6005 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject * _resultobj;
6007 wxPyGridTableBase * _arg0;
6008 int _arg1;
6009 wxString * _arg2;
6010 PyObject * _argo0 = 0;
6011 PyObject * _obj2 = 0;
6012 char *_kwnames[] = { "self","col","value", NULL };
6013
6014 self = self;
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
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_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6021 return NULL;
6022 }
6023 }
6024 {
6025 #if PYTHON_API_VERSION >= 1009
6026 char* tmpPtr; int tmpSize;
6027 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6028 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6029 return NULL;
6030 }
6031 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6032 return NULL;
6033 _arg2 = new wxString(tmpPtr, tmpSize);
6034 #else
6035 if (!PyString_Check(_obj2)) {
6036 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6037 return NULL;
6038 }
6039 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6040 #endif
6041 }
6042 {
6043 wxPy_BEGIN_ALLOW_THREADS;
6044 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6045
6046 wxPy_END_ALLOW_THREADS;
6047 if (PyErr_Occurred()) return NULL;
6048 } Py_INCREF(Py_None);
6049 _resultobj = Py_None;
6050 {
6051 if (_obj2)
6052 delete _arg2;
6053 }
6054 return _resultobj;
6055 }
6056
6057 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6058 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6059 PyObject * _resultobj;
6060 bool _result;
6061 wxPyGridTableBase * _arg0;
6062 PyObject * _argo0 = 0;
6063 char *_kwnames[] = { "self", NULL };
6064
6065 self = self;
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6067 return NULL;
6068 if (_argo0) {
6069 if (_argo0 == Py_None) { _arg0 = NULL; }
6070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6072 return NULL;
6073 }
6074 }
6075 {
6076 wxPy_BEGIN_ALLOW_THREADS;
6077 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6078
6079 wxPy_END_ALLOW_THREADS;
6080 if (PyErr_Occurred()) return NULL;
6081 } _resultobj = Py_BuildValue("i",_result);
6082 return _resultobj;
6083 }
6084
6085 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6086 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6087 PyObject * _resultobj;
6088 wxGridCellAttr * _result;
6089 wxPyGridTableBase * _arg0;
6090 int _arg1;
6091 int _arg2;
6092 wxGridCellAttr::wxAttrKind _arg3;
6093 PyObject * _argo0 = 0;
6094 char *_kwnames[] = { "self","row","col","kind", NULL };
6095 char _ptemp[128];
6096
6097 self = self;
6098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6099 return NULL;
6100 if (_argo0) {
6101 if (_argo0 == Py_None) { _arg0 = NULL; }
6102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6104 return NULL;
6105 }
6106 }
6107 {
6108 wxPy_BEGIN_ALLOW_THREADS;
6109 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6110
6111 wxPy_END_ALLOW_THREADS;
6112 if (PyErr_Occurred()) return NULL;
6113 } if (_result) {
6114 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
6115 _resultobj = Py_BuildValue("s",_ptemp);
6116 } else {
6117 Py_INCREF(Py_None);
6118 _resultobj = Py_None;
6119 }
6120 return _resultobj;
6121 }
6122
6123 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6124 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject * _resultobj;
6126 wxPyGridTableBase * _arg0;
6127 wxGridCellAttr * _arg1;
6128 int _arg2;
6129 int _arg3;
6130 PyObject * _argo0 = 0;
6131 PyObject * _argo1 = 0;
6132 char *_kwnames[] = { "self","attr","row","col", NULL };
6133
6134 self = self;
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6136 return NULL;
6137 if (_argo0) {
6138 if (_argo0 == Py_None) { _arg0 = NULL; }
6139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6141 return NULL;
6142 }
6143 }
6144 if (_argo1) {
6145 if (_argo1 == Py_None) { _arg1 = NULL; }
6146 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6147 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6148 return NULL;
6149 }
6150 }
6151 {
6152 wxPy_BEGIN_ALLOW_THREADS;
6153 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6154
6155 wxPy_END_ALLOW_THREADS;
6156 if (PyErr_Occurred()) return NULL;
6157 } Py_INCREF(Py_None);
6158 _resultobj = Py_None;
6159 return _resultobj;
6160 }
6161
6162 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6163 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6164 PyObject * _resultobj;
6165 wxPyGridTableBase * _arg0;
6166 wxGridCellAttr * _arg1;
6167 int _arg2;
6168 PyObject * _argo0 = 0;
6169 PyObject * _argo1 = 0;
6170 char *_kwnames[] = { "self","attr","row", NULL };
6171
6172 self = self;
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6174 return NULL;
6175 if (_argo0) {
6176 if (_argo0 == Py_None) { _arg0 = NULL; }
6177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6179 return NULL;
6180 }
6181 }
6182 if (_argo1) {
6183 if (_argo1 == Py_None) { _arg1 = NULL; }
6184 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6185 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6186 return NULL;
6187 }
6188 }
6189 {
6190 wxPy_BEGIN_ALLOW_THREADS;
6191 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6192
6193 wxPy_END_ALLOW_THREADS;
6194 if (PyErr_Occurred()) return NULL;
6195 } Py_INCREF(Py_None);
6196 _resultobj = Py_None;
6197 return _resultobj;
6198 }
6199
6200 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6201 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject * _resultobj;
6203 wxPyGridTableBase * _arg0;
6204 wxGridCellAttr * _arg1;
6205 int _arg2;
6206 PyObject * _argo0 = 0;
6207 PyObject * _argo1 = 0;
6208 char *_kwnames[] = { "self","attr","col", NULL };
6209
6210 self = self;
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6212 return NULL;
6213 if (_argo0) {
6214 if (_argo0 == Py_None) { _arg0 = NULL; }
6215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6217 return NULL;
6218 }
6219 }
6220 if (_argo1) {
6221 if (_argo1 == Py_None) { _arg1 = NULL; }
6222 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6223 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6224 return NULL;
6225 }
6226 }
6227 {
6228 wxPy_BEGIN_ALLOW_THREADS;
6229 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6230
6231 wxPy_END_ALLOW_THREADS;
6232 if (PyErr_Occurred()) return NULL;
6233 } Py_INCREF(Py_None);
6234 _resultobj = Py_None;
6235 return _resultobj;
6236 }
6237
6238 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6239 wxGridStringTable *src;
6240 wxGridTableBase *dest;
6241 src = (wxGridStringTable *) ptr;
6242 dest = (wxGridTableBase *) src;
6243 return (void *) dest;
6244 }
6245
6246 static void *SwigwxGridStringTableTowxObject(void *ptr) {
6247 wxGridStringTable *src;
6248 wxObject *dest;
6249 src = (wxGridStringTable *) ptr;
6250 dest = (wxObject *) src;
6251 return (void *) dest;
6252 }
6253
6254 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6255 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject * _resultobj;
6257 wxGridStringTable * _result;
6258 int _arg0 = (int ) 0;
6259 int _arg1 = (int ) 0;
6260 char *_kwnames[] = { "numRows","numCols", NULL };
6261 char _ptemp[128];
6262
6263 self = self;
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6265 return NULL;
6266 {
6267 wxPy_BEGIN_ALLOW_THREADS;
6268 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6269
6270 wxPy_END_ALLOW_THREADS;
6271 if (PyErr_Occurred()) return NULL;
6272 } if (_result) {
6273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6274 _resultobj = Py_BuildValue("s",_ptemp);
6275 } else {
6276 Py_INCREF(Py_None);
6277 _resultobj = Py_None;
6278 }
6279 return _resultobj;
6280 }
6281
6282 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6283 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject * _resultobj;
6285 wxGridTableMessage * _result;
6286 wxGridTableBase * _arg0;
6287 int _arg1;
6288 int _arg2 = (int ) -1;
6289 int _arg3 = (int ) -1;
6290 PyObject * _argo0 = 0;
6291 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6292 char _ptemp[128];
6293
6294 self = self;
6295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6296 return NULL;
6297 if (_argo0) {
6298 if (_argo0 == Py_None) { _arg0 = NULL; }
6299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6301 return NULL;
6302 }
6303 }
6304 {
6305 wxPy_BEGIN_ALLOW_THREADS;
6306 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6307
6308 wxPy_END_ALLOW_THREADS;
6309 if (PyErr_Occurred()) return NULL;
6310 } if (_result) {
6311 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6312 _resultobj = Py_BuildValue("s",_ptemp);
6313 } else {
6314 Py_INCREF(Py_None);
6315 _resultobj = Py_None;
6316 }
6317 return _resultobj;
6318 }
6319
6320 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6321 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject * _resultobj;
6323 wxGridTableMessage * _arg0;
6324 PyObject * _argo0 = 0;
6325 char *_kwnames[] = { "self", NULL };
6326
6327 self = self;
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6329 return NULL;
6330 if (_argo0) {
6331 if (_argo0 == Py_None) { _arg0 = NULL; }
6332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6334 return NULL;
6335 }
6336 }
6337 {
6338 wxPy_BEGIN_ALLOW_THREADS;
6339 delete_wxGridTableMessage(_arg0);
6340
6341 wxPy_END_ALLOW_THREADS;
6342 if (PyErr_Occurred()) return NULL;
6343 } Py_INCREF(Py_None);
6344 _resultobj = Py_None;
6345 return _resultobj;
6346 }
6347
6348 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6349 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject * _resultobj;
6351 wxGridTableMessage * _arg0;
6352 wxGridTableBase * _arg1;
6353 PyObject * _argo0 = 0;
6354 PyObject * _argo1 = 0;
6355 char *_kwnames[] = { "self","table", NULL };
6356
6357 self = self;
6358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6359 return NULL;
6360 if (_argo0) {
6361 if (_argo0 == Py_None) { _arg0 = NULL; }
6362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6364 return NULL;
6365 }
6366 }
6367 if (_argo1) {
6368 if (_argo1 == Py_None) { _arg1 = NULL; }
6369 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6370 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6371 return NULL;
6372 }
6373 }
6374 {
6375 wxPy_BEGIN_ALLOW_THREADS;
6376 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6377
6378 wxPy_END_ALLOW_THREADS;
6379 if (PyErr_Occurred()) return NULL;
6380 } Py_INCREF(Py_None);
6381 _resultobj = Py_None;
6382 return _resultobj;
6383 }
6384
6385 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6386 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6387 PyObject * _resultobj;
6388 wxGridTableBase * _result;
6389 wxGridTableMessage * _arg0;
6390 PyObject * _argo0 = 0;
6391 char *_kwnames[] = { "self", NULL };
6392
6393 self = self;
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6395 return NULL;
6396 if (_argo0) {
6397 if (_argo0 == Py_None) { _arg0 = NULL; }
6398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6400 return NULL;
6401 }
6402 }
6403 {
6404 wxPy_BEGIN_ALLOW_THREADS;
6405 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6406
6407 wxPy_END_ALLOW_THREADS;
6408 if (PyErr_Occurred()) return NULL;
6409 }{ _resultobj = wxPyMake_wxObject(_result); }
6410 return _resultobj;
6411 }
6412
6413 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6414 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject * _resultobj;
6416 wxGridTableMessage * _arg0;
6417 int _arg1;
6418 PyObject * _argo0 = 0;
6419 char *_kwnames[] = { "self","id", NULL };
6420
6421 self = self;
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6423 return NULL;
6424 if (_argo0) {
6425 if (_argo0 == Py_None) { _arg0 = NULL; }
6426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6428 return NULL;
6429 }
6430 }
6431 {
6432 wxPy_BEGIN_ALLOW_THREADS;
6433 wxGridTableMessage_SetId(_arg0,_arg1);
6434
6435 wxPy_END_ALLOW_THREADS;
6436 if (PyErr_Occurred()) return NULL;
6437 } Py_INCREF(Py_None);
6438 _resultobj = Py_None;
6439 return _resultobj;
6440 }
6441
6442 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6443 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6444 PyObject * _resultobj;
6445 int _result;
6446 wxGridTableMessage * _arg0;
6447 PyObject * _argo0 = 0;
6448 char *_kwnames[] = { "self", NULL };
6449
6450 self = self;
6451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6452 return NULL;
6453 if (_argo0) {
6454 if (_argo0 == Py_None) { _arg0 = NULL; }
6455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6457 return NULL;
6458 }
6459 }
6460 {
6461 wxPy_BEGIN_ALLOW_THREADS;
6462 _result = (int )wxGridTableMessage_GetId(_arg0);
6463
6464 wxPy_END_ALLOW_THREADS;
6465 if (PyErr_Occurred()) return NULL;
6466 } _resultobj = Py_BuildValue("i",_result);
6467 return _resultobj;
6468 }
6469
6470 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6471 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6472 PyObject * _resultobj;
6473 wxGridTableMessage * _arg0;
6474 int _arg1;
6475 PyObject * _argo0 = 0;
6476 char *_kwnames[] = { "self","comInt1", NULL };
6477
6478 self = self;
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6480 return NULL;
6481 if (_argo0) {
6482 if (_argo0 == Py_None) { _arg0 = NULL; }
6483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6485 return NULL;
6486 }
6487 }
6488 {
6489 wxPy_BEGIN_ALLOW_THREADS;
6490 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6491
6492 wxPy_END_ALLOW_THREADS;
6493 if (PyErr_Occurred()) return NULL;
6494 } Py_INCREF(Py_None);
6495 _resultobj = Py_None;
6496 return _resultobj;
6497 }
6498
6499 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6500 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject * _resultobj;
6502 int _result;
6503 wxGridTableMessage * _arg0;
6504 PyObject * _argo0 = 0;
6505 char *_kwnames[] = { "self", NULL };
6506
6507 self = self;
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6509 return NULL;
6510 if (_argo0) {
6511 if (_argo0 == Py_None) { _arg0 = NULL; }
6512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6514 return NULL;
6515 }
6516 }
6517 {
6518 wxPy_BEGIN_ALLOW_THREADS;
6519 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6520
6521 wxPy_END_ALLOW_THREADS;
6522 if (PyErr_Occurred()) return NULL;
6523 } _resultobj = Py_BuildValue("i",_result);
6524 return _resultobj;
6525 }
6526
6527 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6528 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6529 PyObject * _resultobj;
6530 wxGridTableMessage * _arg0;
6531 int _arg1;
6532 PyObject * _argo0 = 0;
6533 char *_kwnames[] = { "self","comInt2", NULL };
6534
6535 self = self;
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6537 return NULL;
6538 if (_argo0) {
6539 if (_argo0 == Py_None) { _arg0 = NULL; }
6540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6542 return NULL;
6543 }
6544 }
6545 {
6546 wxPy_BEGIN_ALLOW_THREADS;
6547 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6548
6549 wxPy_END_ALLOW_THREADS;
6550 if (PyErr_Occurred()) return NULL;
6551 } Py_INCREF(Py_None);
6552 _resultobj = Py_None;
6553 return _resultobj;
6554 }
6555
6556 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6557 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6558 PyObject * _resultobj;
6559 int _result;
6560 wxGridTableMessage * _arg0;
6561 PyObject * _argo0 = 0;
6562 char *_kwnames[] = { "self", NULL };
6563
6564 self = self;
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6566 return NULL;
6567 if (_argo0) {
6568 if (_argo0 == Py_None) { _arg0 = NULL; }
6569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6571 return NULL;
6572 }
6573 }
6574 {
6575 wxPy_BEGIN_ALLOW_THREADS;
6576 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6577
6578 wxPy_END_ALLOW_THREADS;
6579 if (PyErr_Occurred()) return NULL;
6580 } _resultobj = Py_BuildValue("i",_result);
6581 return _resultobj;
6582 }
6583
6584 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6585 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject * _resultobj;
6587 wxGridCellCoords * _result;
6588 int _arg0 = (int ) -1;
6589 int _arg1 = (int ) -1;
6590 char *_kwnames[] = { "r","c", NULL };
6591 char _ptemp[128];
6592
6593 self = self;
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6595 return NULL;
6596 {
6597 wxPy_BEGIN_ALLOW_THREADS;
6598 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6599
6600 wxPy_END_ALLOW_THREADS;
6601 if (PyErr_Occurred()) return NULL;
6602 } if (_result) {
6603 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6604 _resultobj = Py_BuildValue("s",_ptemp);
6605 } else {
6606 Py_INCREF(Py_None);
6607 _resultobj = Py_None;
6608 }
6609 return _resultobj;
6610 }
6611
6612 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6613 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject * _resultobj;
6615 wxGridCellCoords * _arg0;
6616 PyObject * _argo0 = 0;
6617 char *_kwnames[] = { "self", NULL };
6618
6619 self = self;
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6621 return NULL;
6622 if (_argo0) {
6623 if (_argo0 == Py_None) { _arg0 = NULL; }
6624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6626 return NULL;
6627 }
6628 }
6629 {
6630 wxPy_BEGIN_ALLOW_THREADS;
6631 delete_wxGridCellCoords(_arg0);
6632
6633 wxPy_END_ALLOW_THREADS;
6634 if (PyErr_Occurred()) return NULL;
6635 } Py_INCREF(Py_None);
6636 _resultobj = Py_None;
6637 return _resultobj;
6638 }
6639
6640 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6641 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6642 PyObject * _resultobj;
6643 int _result;
6644 wxGridCellCoords * _arg0;
6645 PyObject * _argo0 = 0;
6646 char *_kwnames[] = { "self", NULL };
6647
6648 self = self;
6649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6650 return NULL;
6651 if (_argo0) {
6652 if (_argo0 == Py_None) { _arg0 = NULL; }
6653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6655 return NULL;
6656 }
6657 }
6658 {
6659 wxPy_BEGIN_ALLOW_THREADS;
6660 _result = (int )wxGridCellCoords_GetRow(_arg0);
6661
6662 wxPy_END_ALLOW_THREADS;
6663 if (PyErr_Occurred()) return NULL;
6664 } _resultobj = Py_BuildValue("i",_result);
6665 return _resultobj;
6666 }
6667
6668 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6669 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6670 PyObject * _resultobj;
6671 wxGridCellCoords * _arg0;
6672 int _arg1;
6673 PyObject * _argo0 = 0;
6674 char *_kwnames[] = { "self","n", NULL };
6675
6676 self = self;
6677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6678 return NULL;
6679 if (_argo0) {
6680 if (_argo0 == Py_None) { _arg0 = NULL; }
6681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6683 return NULL;
6684 }
6685 }
6686 {
6687 wxPy_BEGIN_ALLOW_THREADS;
6688 wxGridCellCoords_SetRow(_arg0,_arg1);
6689
6690 wxPy_END_ALLOW_THREADS;
6691 if (PyErr_Occurred()) return NULL;
6692 } Py_INCREF(Py_None);
6693 _resultobj = Py_None;
6694 return _resultobj;
6695 }
6696
6697 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6698 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6699 PyObject * _resultobj;
6700 int _result;
6701 wxGridCellCoords * _arg0;
6702 PyObject * _argo0 = 0;
6703 char *_kwnames[] = { "self", NULL };
6704
6705 self = self;
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6707 return NULL;
6708 if (_argo0) {
6709 if (_argo0 == Py_None) { _arg0 = NULL; }
6710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6712 return NULL;
6713 }
6714 }
6715 {
6716 wxPy_BEGIN_ALLOW_THREADS;
6717 _result = (int )wxGridCellCoords_GetCol(_arg0);
6718
6719 wxPy_END_ALLOW_THREADS;
6720 if (PyErr_Occurred()) return NULL;
6721 } _resultobj = Py_BuildValue("i",_result);
6722 return _resultobj;
6723 }
6724
6725 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6726 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6727 PyObject * _resultobj;
6728 wxGridCellCoords * _arg0;
6729 int _arg1;
6730 PyObject * _argo0 = 0;
6731 char *_kwnames[] = { "self","n", NULL };
6732
6733 self = self;
6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6735 return NULL;
6736 if (_argo0) {
6737 if (_argo0 == Py_None) { _arg0 = NULL; }
6738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6740 return NULL;
6741 }
6742 }
6743 {
6744 wxPy_BEGIN_ALLOW_THREADS;
6745 wxGridCellCoords_SetCol(_arg0,_arg1);
6746
6747 wxPy_END_ALLOW_THREADS;
6748 if (PyErr_Occurred()) return NULL;
6749 } Py_INCREF(Py_None);
6750 _resultobj = Py_None;
6751 return _resultobj;
6752 }
6753
6754 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6755 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6756 PyObject * _resultobj;
6757 wxGridCellCoords * _arg0;
6758 int _arg1;
6759 int _arg2;
6760 PyObject * _argo0 = 0;
6761 char *_kwnames[] = { "self","row","col", NULL };
6762
6763 self = self;
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6765 return NULL;
6766 if (_argo0) {
6767 if (_argo0 == Py_None) { _arg0 = NULL; }
6768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6770 return NULL;
6771 }
6772 }
6773 {
6774 wxPy_BEGIN_ALLOW_THREADS;
6775 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6776
6777 wxPy_END_ALLOW_THREADS;
6778 if (PyErr_Occurred()) return NULL;
6779 } Py_INCREF(Py_None);
6780 _resultobj = Py_None;
6781 return _resultobj;
6782 }
6783
6784 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6785 PyObject* tup = PyTuple_New(2);
6786 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6787 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6788 return tup;
6789 }
6790 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6791 PyObject * _resultobj;
6792 PyObject * _result;
6793 wxGridCellCoords * _arg0;
6794 PyObject * _argo0 = 0;
6795 char *_kwnames[] = { "self", NULL };
6796
6797 self = self;
6798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6799 return NULL;
6800 if (_argo0) {
6801 if (_argo0 == Py_None) { _arg0 = NULL; }
6802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6804 return NULL;
6805 }
6806 }
6807 {
6808 wxPy_BEGIN_ALLOW_THREADS;
6809 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6810
6811 wxPy_END_ALLOW_THREADS;
6812 if (PyErr_Occurred()) return NULL;
6813 }{
6814 _resultobj = _result;
6815 }
6816 return _resultobj;
6817 }
6818
6819 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6820 return *self != other;
6821 }
6822 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6823 PyObject * _resultobj;
6824 int _result;
6825 wxGridCellCoords * _arg0;
6826 wxGridCellCoords * _arg1;
6827 PyObject * _argo0 = 0;
6828 PyObject * _argo1 = 0;
6829 char *_kwnames[] = { "self","other", NULL };
6830
6831 self = self;
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6833 return NULL;
6834 if (_argo0) {
6835 if (_argo0 == Py_None) { _arg0 = NULL; }
6836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6838 return NULL;
6839 }
6840 }
6841 if (_argo1) {
6842 if (_argo1 == Py_None) { _arg1 = NULL; }
6843 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6844 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6845 return NULL;
6846 }
6847 }
6848 {
6849 wxPy_BEGIN_ALLOW_THREADS;
6850 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6851
6852 wxPy_END_ALLOW_THREADS;
6853 if (PyErr_Occurred()) return NULL;
6854 } _resultobj = Py_BuildValue("i",_result);
6855 return _resultobj;
6856 }
6857
6858 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6859 wxGrid *src;
6860 wxScrolledWindow *dest;
6861 src = (wxGrid *) ptr;
6862 dest = (wxScrolledWindow *) src;
6863 return (void *) dest;
6864 }
6865
6866 static void *SwigwxGridTowxPanel(void *ptr) {
6867 wxGrid *src;
6868 wxPanel *dest;
6869 src = (wxGrid *) ptr;
6870 dest = (wxPanel *) src;
6871 return (void *) dest;
6872 }
6873
6874 static void *SwigwxGridTowxWindow(void *ptr) {
6875 wxGrid *src;
6876 wxWindow *dest;
6877 src = (wxGrid *) ptr;
6878 dest = (wxWindow *) src;
6879 return (void *) dest;
6880 }
6881
6882 static void *SwigwxGridTowxEvtHandler(void *ptr) {
6883 wxGrid *src;
6884 wxEvtHandler *dest;
6885 src = (wxGrid *) ptr;
6886 dest = (wxEvtHandler *) src;
6887 return (void *) dest;
6888 }
6889
6890 static void *SwigwxGridTowxObject(void *ptr) {
6891 wxGrid *src;
6892 wxObject *dest;
6893 src = (wxGrid *) ptr;
6894 dest = (wxObject *) src;
6895 return (void *) dest;
6896 }
6897
6898 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6899 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6900 PyObject * _resultobj;
6901 wxGrid * _result;
6902 wxWindow * _arg0;
6903 wxWindowID _arg1;
6904 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6905 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6906 long _arg4 = (long ) wxWANTS_CHARS;
6907 char * _arg5 = (char *) wxPanelNameStr;
6908 PyObject * _argo0 = 0;
6909 wxPoint temp;
6910 PyObject * _obj2 = 0;
6911 wxSize temp0;
6912 PyObject * _obj3 = 0;
6913 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6914 char _ptemp[128];
6915
6916 self = self;
6917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
6918 return NULL;
6919 if (_argo0) {
6920 if (_argo0 == Py_None) { _arg0 = NULL; }
6921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6923 return NULL;
6924 }
6925 }
6926 if (_obj2)
6927 {
6928 _arg2 = &temp;
6929 if (! wxPoint_helper(_obj2, &_arg2))
6930 return NULL;
6931 }
6932 if (_obj3)
6933 {
6934 _arg3 = &temp0;
6935 if (! wxSize_helper(_obj3, &_arg3))
6936 return NULL;
6937 }
6938 {
6939 wxPy_BEGIN_ALLOW_THREADS;
6940 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
6941
6942 wxPy_END_ALLOW_THREADS;
6943 if (PyErr_Occurred()) return NULL;
6944 } if (_result) {
6945 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
6946 _resultobj = Py_BuildValue("s",_ptemp);
6947 } else {
6948 Py_INCREF(Py_None);
6949 _resultobj = Py_None;
6950 }
6951 return _resultobj;
6952 }
6953
6954 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6955 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6956 PyObject * _resultobj;
6957 bool _result;
6958 wxGrid * _arg0;
6959 int _arg1;
6960 int _arg2;
6961 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6962 PyObject * _argo0 = 0;
6963 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
6964
6965 self = self;
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6967 return NULL;
6968 if (_argo0) {
6969 if (_argo0 == Py_None) { _arg0 = NULL; }
6970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6972 return NULL;
6973 }
6974 }
6975 {
6976 wxPy_BEGIN_ALLOW_THREADS;
6977 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
6978
6979 wxPy_END_ALLOW_THREADS;
6980 if (PyErr_Occurred()) return NULL;
6981 } _resultobj = Py_BuildValue("i",_result);
6982 return _resultobj;
6983 }
6984
6985 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6986 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject * _resultobj;
6988 wxGrid * _arg0;
6989 WXGRIDSELECTIONMODES _arg1;
6990 PyObject * _argo0 = 0;
6991 char *_kwnames[] = { "self","selmode", NULL };
6992
6993 self = self;
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
6995 return NULL;
6996 if (_argo0) {
6997 if (_argo0 == Py_None) { _arg0 = NULL; }
6998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7000 return NULL;
7001 }
7002 }
7003 {
7004 wxPy_BEGIN_ALLOW_THREADS;
7005 wxGrid_SetSelectionMode(_arg0,_arg1);
7006
7007 wxPy_END_ALLOW_THREADS;
7008 if (PyErr_Occurred()) return NULL;
7009 } Py_INCREF(Py_None);
7010 _resultobj = Py_None;
7011 return _resultobj;
7012 }
7013
7014 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7015 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject * _resultobj;
7017 int _result;
7018 wxGrid * _arg0;
7019 PyObject * _argo0 = 0;
7020 char *_kwnames[] = { "self", NULL };
7021
7022 self = self;
7023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7024 return NULL;
7025 if (_argo0) {
7026 if (_argo0 == Py_None) { _arg0 = NULL; }
7027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7029 return NULL;
7030 }
7031 }
7032 {
7033 wxPy_BEGIN_ALLOW_THREADS;
7034 _result = (int )wxGrid_GetNumberRows(_arg0);
7035
7036 wxPy_END_ALLOW_THREADS;
7037 if (PyErr_Occurred()) return NULL;
7038 } _resultobj = Py_BuildValue("i",_result);
7039 return _resultobj;
7040 }
7041
7042 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7043 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject * _resultobj;
7045 int _result;
7046 wxGrid * _arg0;
7047 PyObject * _argo0 = 0;
7048 char *_kwnames[] = { "self", NULL };
7049
7050 self = self;
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7052 return NULL;
7053 if (_argo0) {
7054 if (_argo0 == Py_None) { _arg0 = NULL; }
7055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7057 return NULL;
7058 }
7059 }
7060 {
7061 wxPy_BEGIN_ALLOW_THREADS;
7062 _result = (int )wxGrid_GetNumberCols(_arg0);
7063
7064 wxPy_END_ALLOW_THREADS;
7065 if (PyErr_Occurred()) return NULL;
7066 } _resultobj = Py_BuildValue("i",_result);
7067 return _resultobj;
7068 }
7069
7070 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7071 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject * _resultobj;
7073 bool _result;
7074 wxGrid * _arg0;
7075 wxGridTableMessage * _arg1;
7076 PyObject * _argo0 = 0;
7077 PyObject * _argo1 = 0;
7078 char *_kwnames[] = { "self","arg2", NULL };
7079
7080 self = self;
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7082 return NULL;
7083 if (_argo0) {
7084 if (_argo0 == Py_None) { _arg0 = NULL; }
7085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7087 return NULL;
7088 }
7089 }
7090 if (_argo1) {
7091 if (_argo1 == Py_None) { _arg1 = NULL; }
7092 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7093 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7094 return NULL;
7095 }
7096 }
7097 {
7098 wxPy_BEGIN_ALLOW_THREADS;
7099 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7100
7101 wxPy_END_ALLOW_THREADS;
7102 if (PyErr_Occurred()) return NULL;
7103 } _resultobj = Py_BuildValue("i",_result);
7104 return _resultobj;
7105 }
7106
7107 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7108 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject * _resultobj;
7110 wxGridTableBase * _result;
7111 wxGrid * _arg0;
7112 PyObject * _argo0 = 0;
7113 char *_kwnames[] = { "self", NULL };
7114
7115 self = self;
7116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7117 return NULL;
7118 if (_argo0) {
7119 if (_argo0 == Py_None) { _arg0 = NULL; }
7120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7122 return NULL;
7123 }
7124 }
7125 {
7126 wxPy_BEGIN_ALLOW_THREADS;
7127 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7128
7129 wxPy_END_ALLOW_THREADS;
7130 if (PyErr_Occurred()) return NULL;
7131 }{ _resultobj = wxPyMake_wxObject(_result); }
7132 return _resultobj;
7133 }
7134
7135 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7136 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject * _resultobj;
7138 bool _result;
7139 wxGrid * _arg0;
7140 wxGridTableBase * _arg1;
7141 bool _arg2 = (bool ) FALSE;
7142 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7143 PyObject * _argo0 = 0;
7144 PyObject * _argo1 = 0;
7145 int tempbool2 = (int) FALSE;
7146 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7147
7148 self = self;
7149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7150 return NULL;
7151 if (_argo0) {
7152 if (_argo0 == Py_None) { _arg0 = NULL; }
7153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7155 return NULL;
7156 }
7157 }
7158 if (_argo1) {
7159 if (_argo1 == Py_None) { _arg1 = NULL; }
7160 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7161 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7162 return NULL;
7163 }
7164 }
7165 _arg2 = (bool ) tempbool2;
7166 {
7167 wxPy_BEGIN_ALLOW_THREADS;
7168 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7169
7170 wxPy_END_ALLOW_THREADS;
7171 if (PyErr_Occurred()) return NULL;
7172 } _resultobj = Py_BuildValue("i",_result);
7173 return _resultobj;
7174 }
7175
7176 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7177 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject * _resultobj;
7179 wxGrid * _arg0;
7180 PyObject * _argo0 = 0;
7181 char *_kwnames[] = { "self", NULL };
7182
7183 self = self;
7184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7185 return NULL;
7186 if (_argo0) {
7187 if (_argo0 == Py_None) { _arg0 = NULL; }
7188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7190 return NULL;
7191 }
7192 }
7193 {
7194 wxPy_BEGIN_ALLOW_THREADS;
7195 wxGrid_ClearGrid(_arg0);
7196
7197 wxPy_END_ALLOW_THREADS;
7198 if (PyErr_Occurred()) return NULL;
7199 } Py_INCREF(Py_None);
7200 _resultobj = Py_None;
7201 return _resultobj;
7202 }
7203
7204 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7205 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7206 PyObject * _resultobj;
7207 bool _result;
7208 wxGrid * _arg0;
7209 int _arg1 = (int ) 0;
7210 int _arg2 = (int ) 1;
7211 bool _arg3 = (bool ) TRUE;
7212 PyObject * _argo0 = 0;
7213 int tempbool3 = (int) TRUE;
7214 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7215
7216 self = self;
7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7218 return NULL;
7219 if (_argo0) {
7220 if (_argo0 == Py_None) { _arg0 = NULL; }
7221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7223 return NULL;
7224 }
7225 }
7226 _arg3 = (bool ) tempbool3;
7227 {
7228 wxPy_BEGIN_ALLOW_THREADS;
7229 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7230
7231 wxPy_END_ALLOW_THREADS;
7232 if (PyErr_Occurred()) return NULL;
7233 } _resultobj = Py_BuildValue("i",_result);
7234 return _resultobj;
7235 }
7236
7237 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7238 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7239 PyObject * _resultobj;
7240 bool _result;
7241 wxGrid * _arg0;
7242 int _arg1 = (int ) 1;
7243 bool _arg2 = (bool ) TRUE;
7244 PyObject * _argo0 = 0;
7245 int tempbool2 = (int) TRUE;
7246 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7247
7248 self = self;
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7250 return NULL;
7251 if (_argo0) {
7252 if (_argo0 == Py_None) { _arg0 = NULL; }
7253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7255 return NULL;
7256 }
7257 }
7258 _arg2 = (bool ) tempbool2;
7259 {
7260 wxPy_BEGIN_ALLOW_THREADS;
7261 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7262
7263 wxPy_END_ALLOW_THREADS;
7264 if (PyErr_Occurred()) return NULL;
7265 } _resultobj = Py_BuildValue("i",_result);
7266 return _resultobj;
7267 }
7268
7269 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7270 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject * _resultobj;
7272 bool _result;
7273 wxGrid * _arg0;
7274 int _arg1 = (int ) 0;
7275 int _arg2 = (int ) 1;
7276 bool _arg3 = (bool ) TRUE;
7277 PyObject * _argo0 = 0;
7278 int tempbool3 = (int) TRUE;
7279 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7280
7281 self = self;
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7283 return NULL;
7284 if (_argo0) {
7285 if (_argo0 == Py_None) { _arg0 = NULL; }
7286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7288 return NULL;
7289 }
7290 }
7291 _arg3 = (bool ) tempbool3;
7292 {
7293 wxPy_BEGIN_ALLOW_THREADS;
7294 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7295
7296 wxPy_END_ALLOW_THREADS;
7297 if (PyErr_Occurred()) return NULL;
7298 } _resultobj = Py_BuildValue("i",_result);
7299 return _resultobj;
7300 }
7301
7302 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7303 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7304 PyObject * _resultobj;
7305 bool _result;
7306 wxGrid * _arg0;
7307 int _arg1 = (int ) 0;
7308 int _arg2 = (int ) 1;
7309 bool _arg3 = (bool ) TRUE;
7310 PyObject * _argo0 = 0;
7311 int tempbool3 = (int) TRUE;
7312 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7313
7314 self = self;
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7316 return NULL;
7317 if (_argo0) {
7318 if (_argo0 == Py_None) { _arg0 = NULL; }
7319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7321 return NULL;
7322 }
7323 }
7324 _arg3 = (bool ) tempbool3;
7325 {
7326 wxPy_BEGIN_ALLOW_THREADS;
7327 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7328
7329 wxPy_END_ALLOW_THREADS;
7330 if (PyErr_Occurred()) return NULL;
7331 } _resultobj = Py_BuildValue("i",_result);
7332 return _resultobj;
7333 }
7334
7335 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7336 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7337 PyObject * _resultobj;
7338 bool _result;
7339 wxGrid * _arg0;
7340 int _arg1 = (int ) 1;
7341 bool _arg2 = (bool ) TRUE;
7342 PyObject * _argo0 = 0;
7343 int tempbool2 = (int) TRUE;
7344 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7345
7346 self = self;
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7348 return NULL;
7349 if (_argo0) {
7350 if (_argo0 == Py_None) { _arg0 = NULL; }
7351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7353 return NULL;
7354 }
7355 }
7356 _arg2 = (bool ) tempbool2;
7357 {
7358 wxPy_BEGIN_ALLOW_THREADS;
7359 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7360
7361 wxPy_END_ALLOW_THREADS;
7362 if (PyErr_Occurred()) return NULL;
7363 } _resultobj = Py_BuildValue("i",_result);
7364 return _resultobj;
7365 }
7366
7367 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7368 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7369 PyObject * _resultobj;
7370 bool _result;
7371 wxGrid * _arg0;
7372 int _arg1 = (int ) 0;
7373 int _arg2 = (int ) 1;
7374 bool _arg3 = (bool ) TRUE;
7375 PyObject * _argo0 = 0;
7376 int tempbool3 = (int) TRUE;
7377 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7378
7379 self = self;
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
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_DeleteCols. Expected _wxGrid_p.");
7386 return NULL;
7387 }
7388 }
7389 _arg3 = (bool ) tempbool3;
7390 {
7391 wxPy_BEGIN_ALLOW_THREADS;
7392 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7393
7394 wxPy_END_ALLOW_THREADS;
7395 if (PyErr_Occurred()) return NULL;
7396 } _resultobj = Py_BuildValue("i",_result);
7397 return _resultobj;
7398 }
7399
7400 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7401 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject * _resultobj;
7403 wxGrid * _arg0;
7404 wxDC * _arg1;
7405 wxGridCellAttr * _arg2;
7406 PyObject * _argo0 = 0;
7407 PyObject * _argo1 = 0;
7408 PyObject * _argo2 = 0;
7409 char *_kwnames[] = { "self","dc","attr", NULL };
7410
7411 self = self;
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7413 return NULL;
7414 if (_argo0) {
7415 if (_argo0 == Py_None) { _arg0 = NULL; }
7416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7418 return NULL;
7419 }
7420 }
7421 if (_argo1) {
7422 if (_argo1 == Py_None) { _arg1 = NULL; }
7423 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7424 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7425 return NULL;
7426 }
7427 }
7428 if (_argo2) {
7429 if (_argo2 == Py_None) { _arg2 = NULL; }
7430 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7431 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7432 return NULL;
7433 }
7434 }
7435 {
7436 wxPy_BEGIN_ALLOW_THREADS;
7437 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7438
7439 wxPy_END_ALLOW_THREADS;
7440 if (PyErr_Occurred()) return NULL;
7441 } Py_INCREF(Py_None);
7442 _resultobj = Py_None;
7443 return _resultobj;
7444 }
7445
7446 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7447 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject * _resultobj;
7449 wxGrid * _arg0;
7450 wxDC * _arg1;
7451 wxString * _arg2;
7452 wxRect * _arg3;
7453 int _arg4 = (int ) wxLEFT;
7454 int _arg5 = (int ) wxTOP;
7455 PyObject * _argo0 = 0;
7456 PyObject * _argo1 = 0;
7457 PyObject * _obj2 = 0;
7458 wxRect temp;
7459 PyObject * _obj3 = 0;
7460 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7461
7462 self = self;
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7464 return NULL;
7465 if (_argo0) {
7466 if (_argo0 == Py_None) { _arg0 = NULL; }
7467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7469 return NULL;
7470 }
7471 }
7472 if (_argo1) {
7473 if (_argo1 == Py_None) { _arg1 = NULL; }
7474 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7475 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7476 return NULL;
7477 }
7478 }
7479 {
7480 #if PYTHON_API_VERSION >= 1009
7481 char* tmpPtr; int tmpSize;
7482 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7483 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7484 return NULL;
7485 }
7486 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7487 return NULL;
7488 _arg2 = new wxString(tmpPtr, tmpSize);
7489 #else
7490 if (!PyString_Check(_obj2)) {
7491 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7492 return NULL;
7493 }
7494 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7495 #endif
7496 }
7497 {
7498 _arg3 = &temp;
7499 if (! wxRect_helper(_obj3, &_arg3))
7500 return NULL;
7501 }
7502 {
7503 wxPy_BEGIN_ALLOW_THREADS;
7504 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7505
7506 wxPy_END_ALLOW_THREADS;
7507 if (PyErr_Occurred()) return NULL;
7508 } Py_INCREF(Py_None);
7509 _resultobj = Py_None;
7510 {
7511 if (_obj2)
7512 delete _arg2;
7513 }
7514 return _resultobj;
7515 }
7516
7517 #define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7518 static PyObject *_wrap_wxGrid_StringToLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject * _resultobj;
7520 wxGrid * _arg0;
7521 wxString * _arg1;
7522 wxArrayString * _arg2;
7523 PyObject * _argo0 = 0;
7524 PyObject * _obj1 = 0;
7525 PyObject * _argo2 = 0;
7526 char *_kwnames[] = { "self","value","lines", NULL };
7527
7528 self = self;
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_StringToLines",_kwnames,&_argo0,&_obj1,&_argo2))
7530 return NULL;
7531 if (_argo0) {
7532 if (_argo0 == Py_None) { _arg0 = NULL; }
7533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7535 return NULL;
7536 }
7537 }
7538 {
7539 #if PYTHON_API_VERSION >= 1009
7540 char* tmpPtr; int tmpSize;
7541 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7542 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7543 return NULL;
7544 }
7545 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7546 return NULL;
7547 _arg1 = new wxString(tmpPtr, tmpSize);
7548 #else
7549 if (!PyString_Check(_obj1)) {
7550 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7551 return NULL;
7552 }
7553 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7554 #endif
7555 }
7556 if (_argo2) {
7557 if (_argo2 == Py_None) { _arg2 = NULL; }
7558 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7559 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7560 return NULL;
7561 }
7562 }
7563 {
7564 wxPy_BEGIN_ALLOW_THREADS;
7565 wxGrid_StringToLines(_arg0,*_arg1,*_arg2);
7566
7567 wxPy_END_ALLOW_THREADS;
7568 if (PyErr_Occurred()) return NULL;
7569 } Py_INCREF(Py_None);
7570 _resultobj = Py_None;
7571 {
7572 if (_obj1)
7573 delete _arg1;
7574 }
7575 return _resultobj;
7576 }
7577
7578 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7579 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7580 PyObject * _resultobj;
7581 wxGrid * _arg0;
7582 wxDC * _arg1;
7583 wxArrayString * _arg2;
7584 long * _arg3;
7585 long temp;
7586 long * _arg4;
7587 long temp0;
7588 PyObject * _argo0 = 0;
7589 PyObject * _argo1 = 0;
7590 PyObject * _argo2 = 0;
7591 char *_kwnames[] = { "self","dc","lines", NULL };
7592
7593 self = self;
7594 {
7595 _arg3 = &temp;
7596 }
7597 {
7598 _arg4 = &temp0;
7599 }
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_argo2))
7601 return NULL;
7602 if (_argo0) {
7603 if (_argo0 == Py_None) { _arg0 = NULL; }
7604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7606 return NULL;
7607 }
7608 }
7609 if (_argo1) {
7610 if (_argo1 == Py_None) { _arg1 = NULL; }
7611 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7612 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7613 return NULL;
7614 }
7615 }
7616 if (_argo2) {
7617 if (_argo2 == Py_None) { _arg2 = NULL; }
7618 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7619 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7620 return NULL;
7621 }
7622 }
7623 {
7624 wxPy_BEGIN_ALLOW_THREADS;
7625 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7626
7627 wxPy_END_ALLOW_THREADS;
7628 if (PyErr_Occurred()) return NULL;
7629 } Py_INCREF(Py_None);
7630 _resultobj = Py_None;
7631 {
7632 PyObject *o;
7633 o = PyInt_FromLong((long) (*_arg3));
7634 _resultobj = t_output_helper(_resultobj, o);
7635 }
7636 {
7637 PyObject *o;
7638 o = PyInt_FromLong((long) (*_arg4));
7639 _resultobj = t_output_helper(_resultobj, o);
7640 }
7641 return _resultobj;
7642 }
7643
7644 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7645 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7646 PyObject * _resultobj;
7647 wxGrid * _arg0;
7648 PyObject * _argo0 = 0;
7649 char *_kwnames[] = { "self", NULL };
7650
7651 self = self;
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7653 return NULL;
7654 if (_argo0) {
7655 if (_argo0 == Py_None) { _arg0 = NULL; }
7656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7658 return NULL;
7659 }
7660 }
7661 {
7662 wxPy_BEGIN_ALLOW_THREADS;
7663 wxGrid_BeginBatch(_arg0);
7664
7665 wxPy_END_ALLOW_THREADS;
7666 if (PyErr_Occurred()) return NULL;
7667 } Py_INCREF(Py_None);
7668 _resultobj = Py_None;
7669 return _resultobj;
7670 }
7671
7672 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7673 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject * _resultobj;
7675 wxGrid * _arg0;
7676 PyObject * _argo0 = 0;
7677 char *_kwnames[] = { "self", NULL };
7678
7679 self = self;
7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7681 return NULL;
7682 if (_argo0) {
7683 if (_argo0 == Py_None) { _arg0 = NULL; }
7684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7686 return NULL;
7687 }
7688 }
7689 {
7690 wxPy_BEGIN_ALLOW_THREADS;
7691 wxGrid_EndBatch(_arg0);
7692
7693 wxPy_END_ALLOW_THREADS;
7694 if (PyErr_Occurred()) return NULL;
7695 } Py_INCREF(Py_None);
7696 _resultobj = Py_None;
7697 return _resultobj;
7698 }
7699
7700 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7701 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7702 PyObject * _resultobj;
7703 int _result;
7704 wxGrid * _arg0;
7705 PyObject * _argo0 = 0;
7706 char *_kwnames[] = { "self", NULL };
7707
7708 self = self;
7709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7710 return NULL;
7711 if (_argo0) {
7712 if (_argo0 == Py_None) { _arg0 = NULL; }
7713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7715 return NULL;
7716 }
7717 }
7718 {
7719 wxPy_BEGIN_ALLOW_THREADS;
7720 _result = (int )wxGrid_GetBatchCount(_arg0);
7721
7722 wxPy_END_ALLOW_THREADS;
7723 if (PyErr_Occurred()) return NULL;
7724 } _resultobj = Py_BuildValue("i",_result);
7725 return _resultobj;
7726 }
7727
7728 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7729 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7730 PyObject * _resultobj;
7731 bool _result;
7732 wxGrid * _arg0;
7733 PyObject * _argo0 = 0;
7734 char *_kwnames[] = { "self", NULL };
7735
7736 self = self;
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7738 return NULL;
7739 if (_argo0) {
7740 if (_argo0 == Py_None) { _arg0 = NULL; }
7741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7743 return NULL;
7744 }
7745 }
7746 {
7747 wxPy_BEGIN_ALLOW_THREADS;
7748 _result = (bool )wxGrid_IsEditable(_arg0);
7749
7750 wxPy_END_ALLOW_THREADS;
7751 if (PyErr_Occurred()) return NULL;
7752 } _resultobj = Py_BuildValue("i",_result);
7753 return _resultobj;
7754 }
7755
7756 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7757 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7758 PyObject * _resultobj;
7759 wxGrid * _arg0;
7760 bool _arg1;
7761 PyObject * _argo0 = 0;
7762 int tempbool1;
7763 char *_kwnames[] = { "self","edit", NULL };
7764
7765 self = self;
7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7767 return NULL;
7768 if (_argo0) {
7769 if (_argo0 == Py_None) { _arg0 = NULL; }
7770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7772 return NULL;
7773 }
7774 }
7775 _arg1 = (bool ) tempbool1;
7776 {
7777 wxPy_BEGIN_ALLOW_THREADS;
7778 wxGrid_EnableEditing(_arg0,_arg1);
7779
7780 wxPy_END_ALLOW_THREADS;
7781 if (PyErr_Occurred()) return NULL;
7782 } Py_INCREF(Py_None);
7783 _resultobj = Py_None;
7784 return _resultobj;
7785 }
7786
7787 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7788 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7789 PyObject * _resultobj;
7790 wxGrid * _arg0;
7791 bool _arg1 = (bool ) TRUE;
7792 PyObject * _argo0 = 0;
7793 int tempbool1 = (int) TRUE;
7794 char *_kwnames[] = { "self","enable", NULL };
7795
7796 self = self;
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7798 return NULL;
7799 if (_argo0) {
7800 if (_argo0 == Py_None) { _arg0 = NULL; }
7801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7803 return NULL;
7804 }
7805 }
7806 _arg1 = (bool ) tempbool1;
7807 {
7808 wxPy_BEGIN_ALLOW_THREADS;
7809 wxGrid_EnableCellEditControl(_arg0,_arg1);
7810
7811 wxPy_END_ALLOW_THREADS;
7812 if (PyErr_Occurred()) return NULL;
7813 } Py_INCREF(Py_None);
7814 _resultobj = Py_None;
7815 return _resultobj;
7816 }
7817
7818 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7819 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7820 PyObject * _resultobj;
7821 wxGrid * _arg0;
7822 PyObject * _argo0 = 0;
7823 char *_kwnames[] = { "self", NULL };
7824
7825 self = self;
7826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7827 return NULL;
7828 if (_argo0) {
7829 if (_argo0 == Py_None) { _arg0 = NULL; }
7830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7832 return NULL;
7833 }
7834 }
7835 {
7836 wxPy_BEGIN_ALLOW_THREADS;
7837 wxGrid_DisableCellEditControl(_arg0);
7838
7839 wxPy_END_ALLOW_THREADS;
7840 if (PyErr_Occurred()) return NULL;
7841 } Py_INCREF(Py_None);
7842 _resultobj = Py_None;
7843 return _resultobj;
7844 }
7845
7846 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7847 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7848 PyObject * _resultobj;
7849 bool _result;
7850 wxGrid * _arg0;
7851 PyObject * _argo0 = 0;
7852 char *_kwnames[] = { "self", NULL };
7853
7854 self = self;
7855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7856 return NULL;
7857 if (_argo0) {
7858 if (_argo0 == Py_None) { _arg0 = NULL; }
7859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7861 return NULL;
7862 }
7863 }
7864 {
7865 wxPy_BEGIN_ALLOW_THREADS;
7866 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7867
7868 wxPy_END_ALLOW_THREADS;
7869 if (PyErr_Occurred()) return NULL;
7870 } _resultobj = Py_BuildValue("i",_result);
7871 return _resultobj;
7872 }
7873
7874 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7875 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject * _resultobj;
7877 bool _result;
7878 wxGrid * _arg0;
7879 PyObject * _argo0 = 0;
7880 char *_kwnames[] = { "self", NULL };
7881
7882 self = self;
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7884 return NULL;
7885 if (_argo0) {
7886 if (_argo0 == Py_None) { _arg0 = NULL; }
7887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7889 return NULL;
7890 }
7891 }
7892 {
7893 wxPy_BEGIN_ALLOW_THREADS;
7894 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7895
7896 wxPy_END_ALLOW_THREADS;
7897 if (PyErr_Occurred()) return NULL;
7898 } _resultobj = Py_BuildValue("i",_result);
7899 return _resultobj;
7900 }
7901
7902 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7903 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
7904 PyObject * _resultobj;
7905 bool _result;
7906 wxGrid * _arg0;
7907 PyObject * _argo0 = 0;
7908 char *_kwnames[] = { "self", NULL };
7909
7910 self = self;
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
7912 return NULL;
7913 if (_argo0) {
7914 if (_argo0 == Py_None) { _arg0 = NULL; }
7915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7917 return NULL;
7918 }
7919 }
7920 {
7921 wxPy_BEGIN_ALLOW_THREADS;
7922 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
7923
7924 wxPy_END_ALLOW_THREADS;
7925 if (PyErr_Occurred()) return NULL;
7926 } _resultobj = Py_BuildValue("i",_result);
7927 return _resultobj;
7928 }
7929
7930 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7931 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject * _resultobj;
7933 bool _result;
7934 wxGrid * _arg0;
7935 PyObject * _argo0 = 0;
7936 char *_kwnames[] = { "self", NULL };
7937
7938 self = self;
7939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
7940 return NULL;
7941 if (_argo0) {
7942 if (_argo0 == Py_None) { _arg0 = NULL; }
7943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7945 return NULL;
7946 }
7947 }
7948 {
7949 wxPy_BEGIN_ALLOW_THREADS;
7950 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
7951
7952 wxPy_END_ALLOW_THREADS;
7953 if (PyErr_Occurred()) return NULL;
7954 } _resultobj = Py_BuildValue("i",_result);
7955 return _resultobj;
7956 }
7957
7958 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7959 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7960 PyObject * _resultobj;
7961 wxGrid * _arg0;
7962 PyObject * _argo0 = 0;
7963 char *_kwnames[] = { "self", NULL };
7964
7965 self = self;
7966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
7967 return NULL;
7968 if (_argo0) {
7969 if (_argo0 == Py_None) { _arg0 = NULL; }
7970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7972 return NULL;
7973 }
7974 }
7975 {
7976 wxPy_BEGIN_ALLOW_THREADS;
7977 wxGrid_ShowCellEditControl(_arg0);
7978
7979 wxPy_END_ALLOW_THREADS;
7980 if (PyErr_Occurred()) return NULL;
7981 } Py_INCREF(Py_None);
7982 _resultobj = Py_None;
7983 return _resultobj;
7984 }
7985
7986 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7987 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7988 PyObject * _resultobj;
7989 wxGrid * _arg0;
7990 PyObject * _argo0 = 0;
7991 char *_kwnames[] = { "self", NULL };
7992
7993 self = self;
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
7995 return NULL;
7996 if (_argo0) {
7997 if (_argo0 == Py_None) { _arg0 = NULL; }
7998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8000 return NULL;
8001 }
8002 }
8003 {
8004 wxPy_BEGIN_ALLOW_THREADS;
8005 wxGrid_HideCellEditControl(_arg0);
8006
8007 wxPy_END_ALLOW_THREADS;
8008 if (PyErr_Occurred()) return NULL;
8009 } Py_INCREF(Py_None);
8010 _resultobj = Py_None;
8011 return _resultobj;
8012 }
8013
8014 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8015 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8016 PyObject * _resultobj;
8017 wxGrid * _arg0;
8018 PyObject * _argo0 = 0;
8019 char *_kwnames[] = { "self", NULL };
8020
8021 self = self;
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8023 return NULL;
8024 if (_argo0) {
8025 if (_argo0 == Py_None) { _arg0 = NULL; }
8026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8028 return NULL;
8029 }
8030 }
8031 {
8032 wxPy_BEGIN_ALLOW_THREADS;
8033 wxGrid_SaveEditControlValue(_arg0);
8034
8035 wxPy_END_ALLOW_THREADS;
8036 if (PyErr_Occurred()) return NULL;
8037 } Py_INCREF(Py_None);
8038 _resultobj = Py_None;
8039 return _resultobj;
8040 }
8041
8042 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8043 wxGridCellCoords rv;
8044 self->XYToCell(x, y, rv);
8045 return new wxGridCellCoords(rv);
8046 }
8047 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8048 PyObject * _resultobj;
8049 wxGridCellCoords * _result;
8050 wxGrid * _arg0;
8051 int _arg1;
8052 int _arg2;
8053 PyObject * _argo0 = 0;
8054 char *_kwnames[] = { "self","x","y", NULL };
8055 char _ptemp[128];
8056
8057 self = self;
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8059 return NULL;
8060 if (_argo0) {
8061 if (_argo0 == Py_None) { _arg0 = NULL; }
8062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8064 return NULL;
8065 }
8066 }
8067 {
8068 wxPy_BEGIN_ALLOW_THREADS;
8069 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8070
8071 wxPy_END_ALLOW_THREADS;
8072 if (PyErr_Occurred()) return NULL;
8073 } if (_result) {
8074 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8075 _resultobj = Py_BuildValue("s",_ptemp);
8076 } else {
8077 Py_INCREF(Py_None);
8078 _resultobj = Py_None;
8079 }
8080 return _resultobj;
8081 }
8082
8083 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8084 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8085 PyObject * _resultobj;
8086 int _result;
8087 wxGrid * _arg0;
8088 int _arg1;
8089 PyObject * _argo0 = 0;
8090 char *_kwnames[] = { "self","y", NULL };
8091
8092 self = self;
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8094 return NULL;
8095 if (_argo0) {
8096 if (_argo0 == Py_None) { _arg0 = NULL; }
8097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8099 return NULL;
8100 }
8101 }
8102 {
8103 wxPy_BEGIN_ALLOW_THREADS;
8104 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8105
8106 wxPy_END_ALLOW_THREADS;
8107 if (PyErr_Occurred()) return NULL;
8108 } _resultobj = Py_BuildValue("i",_result);
8109 return _resultobj;
8110 }
8111
8112 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8113 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8114 PyObject * _resultobj;
8115 int _result;
8116 wxGrid * _arg0;
8117 int _arg1;
8118 PyObject * _argo0 = 0;
8119 char *_kwnames[] = { "self","x", NULL };
8120
8121 self = self;
8122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8123 return NULL;
8124 if (_argo0) {
8125 if (_argo0 == Py_None) { _arg0 = NULL; }
8126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8128 return NULL;
8129 }
8130 }
8131 {
8132 wxPy_BEGIN_ALLOW_THREADS;
8133 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8134
8135 wxPy_END_ALLOW_THREADS;
8136 if (PyErr_Occurred()) return NULL;
8137 } _resultobj = Py_BuildValue("i",_result);
8138 return _resultobj;
8139 }
8140
8141 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8142 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8143 PyObject * _resultobj;
8144 int _result;
8145 wxGrid * _arg0;
8146 int _arg1;
8147 PyObject * _argo0 = 0;
8148 char *_kwnames[] = { "self","y", NULL };
8149
8150 self = self;
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8152 return NULL;
8153 if (_argo0) {
8154 if (_argo0 == Py_None) { _arg0 = NULL; }
8155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8157 return NULL;
8158 }
8159 }
8160 {
8161 wxPy_BEGIN_ALLOW_THREADS;
8162 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8163
8164 wxPy_END_ALLOW_THREADS;
8165 if (PyErr_Occurred()) return NULL;
8166 } _resultobj = Py_BuildValue("i",_result);
8167 return _resultobj;
8168 }
8169
8170 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8171 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject * _resultobj;
8173 int _result;
8174 wxGrid * _arg0;
8175 int _arg1;
8176 PyObject * _argo0 = 0;
8177 char *_kwnames[] = { "self","x", NULL };
8178
8179 self = self;
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8181 return NULL;
8182 if (_argo0) {
8183 if (_argo0 == Py_None) { _arg0 = NULL; }
8184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8186 return NULL;
8187 }
8188 }
8189 {
8190 wxPy_BEGIN_ALLOW_THREADS;
8191 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8192
8193 wxPy_END_ALLOW_THREADS;
8194 if (PyErr_Occurred()) return NULL;
8195 } _resultobj = Py_BuildValue("i",_result);
8196 return _resultobj;
8197 }
8198
8199 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8200 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8201 PyObject * _resultobj;
8202 wxRect * _result;
8203 wxGrid * _arg0;
8204 int _arg1;
8205 int _arg2;
8206 PyObject * _argo0 = 0;
8207 char *_kwnames[] = { "self","row","col", NULL };
8208 char _ptemp[128];
8209
8210 self = self;
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8212 return NULL;
8213 if (_argo0) {
8214 if (_argo0 == Py_None) { _arg0 = NULL; }
8215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8217 return NULL;
8218 }
8219 }
8220 {
8221 wxPy_BEGIN_ALLOW_THREADS;
8222 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8223
8224 wxPy_END_ALLOW_THREADS;
8225 if (PyErr_Occurred()) return NULL;
8226 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8227 _resultobj = Py_BuildValue("s",_ptemp);
8228 return _resultobj;
8229 }
8230
8231 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8232 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8233 PyObject * _resultobj;
8234 int _result;
8235 wxGrid * _arg0;
8236 PyObject * _argo0 = 0;
8237 char *_kwnames[] = { "self", NULL };
8238
8239 self = self;
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8241 return NULL;
8242 if (_argo0) {
8243 if (_argo0 == Py_None) { _arg0 = NULL; }
8244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8246 return NULL;
8247 }
8248 }
8249 {
8250 wxPy_BEGIN_ALLOW_THREADS;
8251 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8252
8253 wxPy_END_ALLOW_THREADS;
8254 if (PyErr_Occurred()) return NULL;
8255 } _resultobj = Py_BuildValue("i",_result);
8256 return _resultobj;
8257 }
8258
8259 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8260 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8261 PyObject * _resultobj;
8262 int _result;
8263 wxGrid * _arg0;
8264 PyObject * _argo0 = 0;
8265 char *_kwnames[] = { "self", NULL };
8266
8267 self = self;
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8269 return NULL;
8270 if (_argo0) {
8271 if (_argo0 == Py_None) { _arg0 = NULL; }
8272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8274 return NULL;
8275 }
8276 }
8277 {
8278 wxPy_BEGIN_ALLOW_THREADS;
8279 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8280
8281 wxPy_END_ALLOW_THREADS;
8282 if (PyErr_Occurred()) return NULL;
8283 } _resultobj = Py_BuildValue("i",_result);
8284 return _resultobj;
8285 }
8286
8287 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8288 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8289 PyObject * _resultobj;
8290 bool _result;
8291 wxGrid * _arg0;
8292 int _arg1;
8293 int _arg2;
8294 bool _arg3 = (bool ) TRUE;
8295 PyObject * _argo0 = 0;
8296 int tempbool3 = (int) TRUE;
8297 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8298
8299 self = self;
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
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_IsVisible. Expected _wxGrid_p.");
8306 return NULL;
8307 }
8308 }
8309 _arg3 = (bool ) tempbool3;
8310 {
8311 wxPy_BEGIN_ALLOW_THREADS;
8312 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8313
8314 wxPy_END_ALLOW_THREADS;
8315 if (PyErr_Occurred()) return NULL;
8316 } _resultobj = Py_BuildValue("i",_result);
8317 return _resultobj;
8318 }
8319
8320 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8321 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8322 PyObject * _resultobj;
8323 wxGrid * _arg0;
8324 int _arg1;
8325 int _arg2;
8326 PyObject * _argo0 = 0;
8327 char *_kwnames[] = { "self","row","col", NULL };
8328
8329 self = self;
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8331 return NULL;
8332 if (_argo0) {
8333 if (_argo0 == Py_None) { _arg0 = NULL; }
8334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8336 return NULL;
8337 }
8338 }
8339 {
8340 wxPy_BEGIN_ALLOW_THREADS;
8341 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8342
8343 wxPy_END_ALLOW_THREADS;
8344 if (PyErr_Occurred()) return NULL;
8345 } Py_INCREF(Py_None);
8346 _resultobj = Py_None;
8347 return _resultobj;
8348 }
8349
8350 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8351 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8352 PyObject * _resultobj;
8353 wxGrid * _arg0;
8354 int _arg1;
8355 int _arg2;
8356 PyObject * _argo0 = 0;
8357 char *_kwnames[] = { "self","row","col", NULL };
8358
8359 self = self;
8360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8361 return NULL;
8362 if (_argo0) {
8363 if (_argo0 == Py_None) { _arg0 = NULL; }
8364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8366 return NULL;
8367 }
8368 }
8369 {
8370 wxPy_BEGIN_ALLOW_THREADS;
8371 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8372
8373 wxPy_END_ALLOW_THREADS;
8374 if (PyErr_Occurred()) return NULL;
8375 } Py_INCREF(Py_None);
8376 _resultobj = Py_None;
8377 return _resultobj;
8378 }
8379
8380 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8381 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8382 PyObject * _resultobj;
8383 bool _result;
8384 wxGrid * _arg0;
8385 bool _arg1;
8386 PyObject * _argo0 = 0;
8387 int tempbool1;
8388 char *_kwnames[] = { "self","expandSelection", NULL };
8389
8390 self = self;
8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8392 return NULL;
8393 if (_argo0) {
8394 if (_argo0 == Py_None) { _arg0 = NULL; }
8395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8397 return NULL;
8398 }
8399 }
8400 _arg1 = (bool ) tempbool1;
8401 {
8402 wxPy_BEGIN_ALLOW_THREADS;
8403 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8404
8405 wxPy_END_ALLOW_THREADS;
8406 if (PyErr_Occurred()) return NULL;
8407 } _resultobj = Py_BuildValue("i",_result);
8408 return _resultobj;
8409 }
8410
8411 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8412 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8413 PyObject * _resultobj;
8414 bool _result;
8415 wxGrid * _arg0;
8416 bool _arg1;
8417 PyObject * _argo0 = 0;
8418 int tempbool1;
8419 char *_kwnames[] = { "self","expandSelection", NULL };
8420
8421 self = self;
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8423 return NULL;
8424 if (_argo0) {
8425 if (_argo0 == Py_None) { _arg0 = NULL; }
8426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8428 return NULL;
8429 }
8430 }
8431 _arg1 = (bool ) tempbool1;
8432 {
8433 wxPy_BEGIN_ALLOW_THREADS;
8434 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8435
8436 wxPy_END_ALLOW_THREADS;
8437 if (PyErr_Occurred()) return NULL;
8438 } _resultobj = Py_BuildValue("i",_result);
8439 return _resultobj;
8440 }
8441
8442 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8443 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8444 PyObject * _resultobj;
8445 bool _result;
8446 wxGrid * _arg0;
8447 bool _arg1;
8448 PyObject * _argo0 = 0;
8449 int tempbool1;
8450 char *_kwnames[] = { "self","expandSelection", NULL };
8451
8452 self = self;
8453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8454 return NULL;
8455 if (_argo0) {
8456 if (_argo0 == Py_None) { _arg0 = NULL; }
8457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8459 return NULL;
8460 }
8461 }
8462 _arg1 = (bool ) tempbool1;
8463 {
8464 wxPy_BEGIN_ALLOW_THREADS;
8465 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8466
8467 wxPy_END_ALLOW_THREADS;
8468 if (PyErr_Occurred()) return NULL;
8469 } _resultobj = Py_BuildValue("i",_result);
8470 return _resultobj;
8471 }
8472
8473 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8474 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8475 PyObject * _resultobj;
8476 bool _result;
8477 wxGrid * _arg0;
8478 bool _arg1;
8479 PyObject * _argo0 = 0;
8480 int tempbool1;
8481 char *_kwnames[] = { "self","expandSelection", NULL };
8482
8483 self = self;
8484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8485 return NULL;
8486 if (_argo0) {
8487 if (_argo0 == Py_None) { _arg0 = NULL; }
8488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8490 return NULL;
8491 }
8492 }
8493 _arg1 = (bool ) tempbool1;
8494 {
8495 wxPy_BEGIN_ALLOW_THREADS;
8496 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8497
8498 wxPy_END_ALLOW_THREADS;
8499 if (PyErr_Occurred()) return NULL;
8500 } _resultobj = Py_BuildValue("i",_result);
8501 return _resultobj;
8502 }
8503
8504 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8505 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8506 PyObject * _resultobj;
8507 bool _result;
8508 wxGrid * _arg0;
8509 PyObject * _argo0 = 0;
8510 char *_kwnames[] = { "self", NULL };
8511
8512 self = self;
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8514 return NULL;
8515 if (_argo0) {
8516 if (_argo0 == Py_None) { _arg0 = NULL; }
8517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8519 return NULL;
8520 }
8521 }
8522 {
8523 wxPy_BEGIN_ALLOW_THREADS;
8524 _result = (bool )wxGrid_MovePageDown(_arg0);
8525
8526 wxPy_END_ALLOW_THREADS;
8527 if (PyErr_Occurred()) return NULL;
8528 } _resultobj = Py_BuildValue("i",_result);
8529 return _resultobj;
8530 }
8531
8532 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8533 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject * _resultobj;
8535 bool _result;
8536 wxGrid * _arg0;
8537 PyObject * _argo0 = 0;
8538 char *_kwnames[] = { "self", NULL };
8539
8540 self = self;
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8542 return NULL;
8543 if (_argo0) {
8544 if (_argo0 == Py_None) { _arg0 = NULL; }
8545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8547 return NULL;
8548 }
8549 }
8550 {
8551 wxPy_BEGIN_ALLOW_THREADS;
8552 _result = (bool )wxGrid_MovePageUp(_arg0);
8553
8554 wxPy_END_ALLOW_THREADS;
8555 if (PyErr_Occurred()) return NULL;
8556 } _resultobj = Py_BuildValue("i",_result);
8557 return _resultobj;
8558 }
8559
8560 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8561 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8562 PyObject * _resultobj;
8563 bool _result;
8564 wxGrid * _arg0;
8565 bool _arg1;
8566 PyObject * _argo0 = 0;
8567 int tempbool1;
8568 char *_kwnames[] = { "self","expandSelection", NULL };
8569
8570 self = self;
8571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8572 return NULL;
8573 if (_argo0) {
8574 if (_argo0 == Py_None) { _arg0 = NULL; }
8575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8577 return NULL;
8578 }
8579 }
8580 _arg1 = (bool ) tempbool1;
8581 {
8582 wxPy_BEGIN_ALLOW_THREADS;
8583 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8584
8585 wxPy_END_ALLOW_THREADS;
8586 if (PyErr_Occurred()) return NULL;
8587 } _resultobj = Py_BuildValue("i",_result);
8588 return _resultobj;
8589 }
8590
8591 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8592 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8593 PyObject * _resultobj;
8594 bool _result;
8595 wxGrid * _arg0;
8596 bool _arg1;
8597 PyObject * _argo0 = 0;
8598 int tempbool1;
8599 char *_kwnames[] = { "self","expandSelection", NULL };
8600
8601 self = self;
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8603 return NULL;
8604 if (_argo0) {
8605 if (_argo0 == Py_None) { _arg0 = NULL; }
8606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8608 return NULL;
8609 }
8610 }
8611 _arg1 = (bool ) tempbool1;
8612 {
8613 wxPy_BEGIN_ALLOW_THREADS;
8614 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8615
8616 wxPy_END_ALLOW_THREADS;
8617 if (PyErr_Occurred()) return NULL;
8618 } _resultobj = Py_BuildValue("i",_result);
8619 return _resultobj;
8620 }
8621
8622 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8623 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8624 PyObject * _resultobj;
8625 bool _result;
8626 wxGrid * _arg0;
8627 bool _arg1;
8628 PyObject * _argo0 = 0;
8629 int tempbool1;
8630 char *_kwnames[] = { "self","expandSelection", NULL };
8631
8632 self = self;
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8634 return NULL;
8635 if (_argo0) {
8636 if (_argo0 == Py_None) { _arg0 = NULL; }
8637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8639 return NULL;
8640 }
8641 }
8642 _arg1 = (bool ) tempbool1;
8643 {
8644 wxPy_BEGIN_ALLOW_THREADS;
8645 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8646
8647 wxPy_END_ALLOW_THREADS;
8648 if (PyErr_Occurred()) return NULL;
8649 } _resultobj = Py_BuildValue("i",_result);
8650 return _resultobj;
8651 }
8652
8653 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8654 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8655 PyObject * _resultobj;
8656 bool _result;
8657 wxGrid * _arg0;
8658 bool _arg1;
8659 PyObject * _argo0 = 0;
8660 int tempbool1;
8661 char *_kwnames[] = { "self","expandSelection", NULL };
8662
8663 self = self;
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8665 return NULL;
8666 if (_argo0) {
8667 if (_argo0 == Py_None) { _arg0 = NULL; }
8668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8670 return NULL;
8671 }
8672 }
8673 _arg1 = (bool ) tempbool1;
8674 {
8675 wxPy_BEGIN_ALLOW_THREADS;
8676 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8677
8678 wxPy_END_ALLOW_THREADS;
8679 if (PyErr_Occurred()) return NULL;
8680 } _resultobj = Py_BuildValue("i",_result);
8681 return _resultobj;
8682 }
8683
8684 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8685 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8686 PyObject * _resultobj;
8687 int _result;
8688 wxGrid * _arg0;
8689 PyObject * _argo0 = 0;
8690 char *_kwnames[] = { "self", NULL };
8691
8692 self = self;
8693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8694 return NULL;
8695 if (_argo0) {
8696 if (_argo0 == Py_None) { _arg0 = NULL; }
8697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8699 return NULL;
8700 }
8701 }
8702 {
8703 wxPy_BEGIN_ALLOW_THREADS;
8704 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8705
8706 wxPy_END_ALLOW_THREADS;
8707 if (PyErr_Occurred()) return NULL;
8708 } _resultobj = Py_BuildValue("i",_result);
8709 return _resultobj;
8710 }
8711
8712 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8713 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8714 PyObject * _resultobj;
8715 int _result;
8716 wxGrid * _arg0;
8717 PyObject * _argo0 = 0;
8718 char *_kwnames[] = { "self", NULL };
8719
8720 self = self;
8721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8722 return NULL;
8723 if (_argo0) {
8724 if (_argo0 == Py_None) { _arg0 = NULL; }
8725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8727 return NULL;
8728 }
8729 }
8730 {
8731 wxPy_BEGIN_ALLOW_THREADS;
8732 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8733
8734 wxPy_END_ALLOW_THREADS;
8735 if (PyErr_Occurred()) return NULL;
8736 } _resultobj = Py_BuildValue("i",_result);
8737 return _resultobj;
8738 }
8739
8740 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8741 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8742 PyObject * _resultobj;
8743 int _result;
8744 wxGrid * _arg0;
8745 PyObject * _argo0 = 0;
8746 char *_kwnames[] = { "self", NULL };
8747
8748 self = self;
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8750 return NULL;
8751 if (_argo0) {
8752 if (_argo0 == Py_None) { _arg0 = NULL; }
8753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8755 return NULL;
8756 }
8757 }
8758 {
8759 wxPy_BEGIN_ALLOW_THREADS;
8760 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8761
8762 wxPy_END_ALLOW_THREADS;
8763 if (PyErr_Occurred()) return NULL;
8764 } _resultobj = Py_BuildValue("i",_result);
8765 return _resultobj;
8766 }
8767
8768 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8769 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8770 PyObject * _resultobj;
8771 int _result;
8772 wxGrid * _arg0;
8773 PyObject * _argo0 = 0;
8774 char *_kwnames[] = { "self", NULL };
8775
8776 self = self;
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8778 return NULL;
8779 if (_argo0) {
8780 if (_argo0 == Py_None) { _arg0 = NULL; }
8781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8783 return NULL;
8784 }
8785 }
8786 {
8787 wxPy_BEGIN_ALLOW_THREADS;
8788 _result = (int )wxGrid_GetColLabelSize(_arg0);
8789
8790 wxPy_END_ALLOW_THREADS;
8791 if (PyErr_Occurred()) return NULL;
8792 } _resultobj = Py_BuildValue("i",_result);
8793 return _resultobj;
8794 }
8795
8796 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8797 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject * _resultobj;
8799 wxColour * _result;
8800 wxGrid * _arg0;
8801 PyObject * _argo0 = 0;
8802 char *_kwnames[] = { "self", NULL };
8803 char _ptemp[128];
8804
8805 self = self;
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8807 return NULL;
8808 if (_argo0) {
8809 if (_argo0 == Py_None) { _arg0 = NULL; }
8810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8812 return NULL;
8813 }
8814 }
8815 {
8816 wxPy_BEGIN_ALLOW_THREADS;
8817 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8818
8819 wxPy_END_ALLOW_THREADS;
8820 if (PyErr_Occurred()) return NULL;
8821 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8822 _resultobj = Py_BuildValue("s",_ptemp);
8823 return _resultobj;
8824 }
8825
8826 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8827 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8828 PyObject * _resultobj;
8829 wxColour * _result;
8830 wxGrid * _arg0;
8831 PyObject * _argo0 = 0;
8832 char *_kwnames[] = { "self", NULL };
8833 char _ptemp[128];
8834
8835 self = self;
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8837 return NULL;
8838 if (_argo0) {
8839 if (_argo0 == Py_None) { _arg0 = NULL; }
8840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8842 return NULL;
8843 }
8844 }
8845 {
8846 wxPy_BEGIN_ALLOW_THREADS;
8847 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8848
8849 wxPy_END_ALLOW_THREADS;
8850 if (PyErr_Occurred()) return NULL;
8851 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8852 _resultobj = Py_BuildValue("s",_ptemp);
8853 return _resultobj;
8854 }
8855
8856 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8857 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject * _resultobj;
8859 wxFont * _result;
8860 wxGrid * _arg0;
8861 PyObject * _argo0 = 0;
8862 char *_kwnames[] = { "self", NULL };
8863 char _ptemp[128];
8864
8865 self = self;
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8867 return NULL;
8868 if (_argo0) {
8869 if (_argo0 == Py_None) { _arg0 = NULL; }
8870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8872 return NULL;
8873 }
8874 }
8875 {
8876 wxPy_BEGIN_ALLOW_THREADS;
8877 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8878
8879 wxPy_END_ALLOW_THREADS;
8880 if (PyErr_Occurred()) return NULL;
8881 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8882 _resultobj = Py_BuildValue("s",_ptemp);
8883 return _resultobj;
8884 }
8885
8886 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8887 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject * _resultobj;
8889 wxGrid * _arg0;
8890 int * _arg1;
8891 int temp;
8892 int * _arg2;
8893 int temp0;
8894 PyObject * _argo0 = 0;
8895 char *_kwnames[] = { "self", NULL };
8896
8897 self = self;
8898 {
8899 _arg1 = &temp;
8900 }
8901 {
8902 _arg2 = &temp0;
8903 }
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
8905 return NULL;
8906 if (_argo0) {
8907 if (_argo0 == Py_None) { _arg0 = NULL; }
8908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8910 return NULL;
8911 }
8912 }
8913 {
8914 wxPy_BEGIN_ALLOW_THREADS;
8915 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
8916
8917 wxPy_END_ALLOW_THREADS;
8918 if (PyErr_Occurred()) return NULL;
8919 } Py_INCREF(Py_None);
8920 _resultobj = Py_None;
8921 {
8922 PyObject *o;
8923 o = PyInt_FromLong((long) (*_arg1));
8924 _resultobj = t_output_helper(_resultobj, o);
8925 }
8926 {
8927 PyObject *o;
8928 o = PyInt_FromLong((long) (*_arg2));
8929 _resultobj = t_output_helper(_resultobj, o);
8930 }
8931 return _resultobj;
8932 }
8933
8934 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8935 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8936 PyObject * _resultobj;
8937 wxGrid * _arg0;
8938 int * _arg1;
8939 int temp;
8940 int * _arg2;
8941 int temp0;
8942 PyObject * _argo0 = 0;
8943 char *_kwnames[] = { "self", NULL };
8944
8945 self = self;
8946 {
8947 _arg1 = &temp;
8948 }
8949 {
8950 _arg2 = &temp0;
8951 }
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
8953 return NULL;
8954 if (_argo0) {
8955 if (_argo0 == Py_None) { _arg0 = NULL; }
8956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8958 return NULL;
8959 }
8960 }
8961 {
8962 wxPy_BEGIN_ALLOW_THREADS;
8963 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
8964
8965 wxPy_END_ALLOW_THREADS;
8966 if (PyErr_Occurred()) return NULL;
8967 } Py_INCREF(Py_None);
8968 _resultobj = Py_None;
8969 {
8970 PyObject *o;
8971 o = PyInt_FromLong((long) (*_arg1));
8972 _resultobj = t_output_helper(_resultobj, o);
8973 }
8974 {
8975 PyObject *o;
8976 o = PyInt_FromLong((long) (*_arg2));
8977 _resultobj = t_output_helper(_resultobj, o);
8978 }
8979 return _resultobj;
8980 }
8981
8982 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8983 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8984 PyObject * _resultobj;
8985 wxString * _result;
8986 wxGrid * _arg0;
8987 int _arg1;
8988 PyObject * _argo0 = 0;
8989 char *_kwnames[] = { "self","row", NULL };
8990
8991 self = self;
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
8993 return NULL;
8994 if (_argo0) {
8995 if (_argo0 == Py_None) { _arg0 = NULL; }
8996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8998 return NULL;
8999 }
9000 }
9001 {
9002 wxPy_BEGIN_ALLOW_THREADS;
9003 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9004
9005 wxPy_END_ALLOW_THREADS;
9006 if (PyErr_Occurred()) return NULL;
9007 }{
9008 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9009 }
9010 {
9011 delete _result;
9012 }
9013 return _resultobj;
9014 }
9015
9016 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9017 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9018 PyObject * _resultobj;
9019 wxString * _result;
9020 wxGrid * _arg0;
9021 int _arg1;
9022 PyObject * _argo0 = 0;
9023 char *_kwnames[] = { "self","col", NULL };
9024
9025 self = self;
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9027 return NULL;
9028 if (_argo0) {
9029 if (_argo0 == Py_None) { _arg0 = NULL; }
9030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9032 return NULL;
9033 }
9034 }
9035 {
9036 wxPy_BEGIN_ALLOW_THREADS;
9037 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9038
9039 wxPy_END_ALLOW_THREADS;
9040 if (PyErr_Occurred()) return NULL;
9041 }{
9042 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9043 }
9044 {
9045 delete _result;
9046 }
9047 return _resultobj;
9048 }
9049
9050 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9051 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9052 PyObject * _resultobj;
9053 wxColour * _result;
9054 wxGrid * _arg0;
9055 PyObject * _argo0 = 0;
9056 char *_kwnames[] = { "self", NULL };
9057 char _ptemp[128];
9058
9059 self = self;
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9061 return NULL;
9062 if (_argo0) {
9063 if (_argo0 == Py_None) { _arg0 = NULL; }
9064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9066 return NULL;
9067 }
9068 }
9069 {
9070 wxPy_BEGIN_ALLOW_THREADS;
9071 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9072
9073 wxPy_END_ALLOW_THREADS;
9074 if (PyErr_Occurred()) return NULL;
9075 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9076 _resultobj = Py_BuildValue("s",_ptemp);
9077 return _resultobj;
9078 }
9079
9080 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9081 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9082 PyObject * _resultobj;
9083 wxColour * _result;
9084 wxGrid * _arg0;
9085 PyObject * _argo0 = 0;
9086 char *_kwnames[] = { "self", NULL };
9087 char _ptemp[128];
9088
9089 self = self;
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9091 return NULL;
9092 if (_argo0) {
9093 if (_argo0 == Py_None) { _arg0 = NULL; }
9094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9096 return NULL;
9097 }
9098 }
9099 {
9100 wxPy_BEGIN_ALLOW_THREADS;
9101 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9102
9103 wxPy_END_ALLOW_THREADS;
9104 if (PyErr_Occurred()) return NULL;
9105 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9106 _resultobj = Py_BuildValue("s",_ptemp);
9107 return _resultobj;
9108 }
9109
9110 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9111 static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9112 PyObject * _resultobj;
9113 int _result;
9114 wxGrid * _arg0;
9115 PyObject * _argo0 = 0;
9116 char *_kwnames[] = { "self", NULL };
9117
9118 self = self;
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9120 return NULL;
9121 if (_argo0) {
9122 if (_argo0 == Py_None) { _arg0 = NULL; }
9123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9125 return NULL;
9126 }
9127 }
9128 {
9129 wxPy_BEGIN_ALLOW_THREADS;
9130 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9131
9132 wxPy_END_ALLOW_THREADS;
9133 if (PyErr_Occurred()) return NULL;
9134 } _resultobj = Py_BuildValue("i",_result);
9135 return _resultobj;
9136 }
9137
9138 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9139 static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9140 PyObject * _resultobj;
9141 int _result;
9142 wxGrid * _arg0;
9143 PyObject * _argo0 = 0;
9144 char *_kwnames[] = { "self", NULL };
9145
9146 self = self;
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9148 return NULL;
9149 if (_argo0) {
9150 if (_argo0 == Py_None) { _arg0 = NULL; }
9151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9153 return NULL;
9154 }
9155 }
9156 {
9157 wxPy_BEGIN_ALLOW_THREADS;
9158 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9159
9160 wxPy_END_ALLOW_THREADS;
9161 if (PyErr_Occurred()) return NULL;
9162 } _resultobj = Py_BuildValue("i",_result);
9163 return _resultobj;
9164 }
9165
9166 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9167 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9168 PyObject * _resultobj;
9169 wxGrid * _arg0;
9170 int _arg1;
9171 PyObject * _argo0 = 0;
9172 char *_kwnames[] = { "self","width", NULL };
9173
9174 self = self;
9175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9176 return NULL;
9177 if (_argo0) {
9178 if (_argo0 == Py_None) { _arg0 = NULL; }
9179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9181 return NULL;
9182 }
9183 }
9184 {
9185 wxPy_BEGIN_ALLOW_THREADS;
9186 wxGrid_SetRowLabelSize(_arg0,_arg1);
9187
9188 wxPy_END_ALLOW_THREADS;
9189 if (PyErr_Occurred()) return NULL;
9190 } Py_INCREF(Py_None);
9191 _resultobj = Py_None;
9192 return _resultobj;
9193 }
9194
9195 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9196 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject * _resultobj;
9198 wxGrid * _arg0;
9199 int _arg1;
9200 PyObject * _argo0 = 0;
9201 char *_kwnames[] = { "self","height", NULL };
9202
9203 self = self;
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9205 return NULL;
9206 if (_argo0) {
9207 if (_argo0 == Py_None) { _arg0 = NULL; }
9208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9210 return NULL;
9211 }
9212 }
9213 {
9214 wxPy_BEGIN_ALLOW_THREADS;
9215 wxGrid_SetColLabelSize(_arg0,_arg1);
9216
9217 wxPy_END_ALLOW_THREADS;
9218 if (PyErr_Occurred()) return NULL;
9219 } Py_INCREF(Py_None);
9220 _resultobj = Py_None;
9221 return _resultobj;
9222 }
9223
9224 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9225 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject * _resultobj;
9227 wxGrid * _arg0;
9228 wxColour * _arg1;
9229 PyObject * _argo0 = 0;
9230 wxColour temp;
9231 PyObject * _obj1 = 0;
9232 char *_kwnames[] = { "self","arg2", NULL };
9233
9234 self = self;
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9236 return NULL;
9237 if (_argo0) {
9238 if (_argo0 == Py_None) { _arg0 = NULL; }
9239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9241 return NULL;
9242 }
9243 }
9244 {
9245 _arg1 = &temp;
9246 if (! wxColour_helper(_obj1, &_arg1))
9247 return NULL;
9248 }
9249 {
9250 wxPy_BEGIN_ALLOW_THREADS;
9251 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9252
9253 wxPy_END_ALLOW_THREADS;
9254 if (PyErr_Occurred()) return NULL;
9255 } Py_INCREF(Py_None);
9256 _resultobj = Py_None;
9257 return _resultobj;
9258 }
9259
9260 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9261 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9262 PyObject * _resultobj;
9263 wxGrid * _arg0;
9264 wxColour * _arg1;
9265 PyObject * _argo0 = 0;
9266 wxColour temp;
9267 PyObject * _obj1 = 0;
9268 char *_kwnames[] = { "self","arg2", NULL };
9269
9270 self = self;
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9272 return NULL;
9273 if (_argo0) {
9274 if (_argo0 == Py_None) { _arg0 = NULL; }
9275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9277 return NULL;
9278 }
9279 }
9280 {
9281 _arg1 = &temp;
9282 if (! wxColour_helper(_obj1, &_arg1))
9283 return NULL;
9284 }
9285 {
9286 wxPy_BEGIN_ALLOW_THREADS;
9287 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9288
9289 wxPy_END_ALLOW_THREADS;
9290 if (PyErr_Occurred()) return NULL;
9291 } Py_INCREF(Py_None);
9292 _resultobj = Py_None;
9293 return _resultobj;
9294 }
9295
9296 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9297 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9298 PyObject * _resultobj;
9299 wxGrid * _arg0;
9300 wxFont * _arg1;
9301 PyObject * _argo0 = 0;
9302 PyObject * _argo1 = 0;
9303 char *_kwnames[] = { "self","arg2", NULL };
9304
9305 self = self;
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9307 return NULL;
9308 if (_argo0) {
9309 if (_argo0 == Py_None) { _arg0 = NULL; }
9310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9312 return NULL;
9313 }
9314 }
9315 if (_argo1) {
9316 if (_argo1 == Py_None) { _arg1 = NULL; }
9317 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9318 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9319 return NULL;
9320 }
9321 }
9322 {
9323 wxPy_BEGIN_ALLOW_THREADS;
9324 wxGrid_SetLabelFont(_arg0,*_arg1);
9325
9326 wxPy_END_ALLOW_THREADS;
9327 if (PyErr_Occurred()) return NULL;
9328 } Py_INCREF(Py_None);
9329 _resultobj = Py_None;
9330 return _resultobj;
9331 }
9332
9333 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9334 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9335 PyObject * _resultobj;
9336 wxGrid * _arg0;
9337 int _arg1;
9338 int _arg2;
9339 PyObject * _argo0 = 0;
9340 char *_kwnames[] = { "self","horiz","vert", NULL };
9341
9342 self = self;
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9344 return NULL;
9345 if (_argo0) {
9346 if (_argo0 == Py_None) { _arg0 = NULL; }
9347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9349 return NULL;
9350 }
9351 }
9352 {
9353 wxPy_BEGIN_ALLOW_THREADS;
9354 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
9355
9356 wxPy_END_ALLOW_THREADS;
9357 if (PyErr_Occurred()) return NULL;
9358 } Py_INCREF(Py_None);
9359 _resultobj = Py_None;
9360 return _resultobj;
9361 }
9362
9363 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9364 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9365 PyObject * _resultobj;
9366 wxGrid * _arg0;
9367 int _arg1;
9368 int _arg2;
9369 PyObject * _argo0 = 0;
9370 char *_kwnames[] = { "self","horiz","vert", NULL };
9371
9372 self = self;
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9374 return NULL;
9375 if (_argo0) {
9376 if (_argo0 == Py_None) { _arg0 = NULL; }
9377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9379 return NULL;
9380 }
9381 }
9382 {
9383 wxPy_BEGIN_ALLOW_THREADS;
9384 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9385
9386 wxPy_END_ALLOW_THREADS;
9387 if (PyErr_Occurred()) return NULL;
9388 } Py_INCREF(Py_None);
9389 _resultobj = Py_None;
9390 return _resultobj;
9391 }
9392
9393 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9394 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9395 PyObject * _resultobj;
9396 wxGrid * _arg0;
9397 int _arg1;
9398 wxString * _arg2;
9399 PyObject * _argo0 = 0;
9400 PyObject * _obj2 = 0;
9401 char *_kwnames[] = { "self","row","arg3", NULL };
9402
9403 self = self;
9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9405 return NULL;
9406 if (_argo0) {
9407 if (_argo0 == Py_None) { _arg0 = NULL; }
9408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9410 return NULL;
9411 }
9412 }
9413 {
9414 #if PYTHON_API_VERSION >= 1009
9415 char* tmpPtr; int tmpSize;
9416 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9417 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9418 return NULL;
9419 }
9420 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9421 return NULL;
9422 _arg2 = new wxString(tmpPtr, tmpSize);
9423 #else
9424 if (!PyString_Check(_obj2)) {
9425 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9426 return NULL;
9427 }
9428 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9429 #endif
9430 }
9431 {
9432 wxPy_BEGIN_ALLOW_THREADS;
9433 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9434
9435 wxPy_END_ALLOW_THREADS;
9436 if (PyErr_Occurred()) return NULL;
9437 } Py_INCREF(Py_None);
9438 _resultobj = Py_None;
9439 {
9440 if (_obj2)
9441 delete _arg2;
9442 }
9443 return _resultobj;
9444 }
9445
9446 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9447 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject * _resultobj;
9449 wxGrid * _arg0;
9450 int _arg1;
9451 wxString * _arg2;
9452 PyObject * _argo0 = 0;
9453 PyObject * _obj2 = 0;
9454 char *_kwnames[] = { "self","col","arg3", NULL };
9455
9456 self = self;
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9458 return NULL;
9459 if (_argo0) {
9460 if (_argo0 == Py_None) { _arg0 = NULL; }
9461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9463 return NULL;
9464 }
9465 }
9466 {
9467 #if PYTHON_API_VERSION >= 1009
9468 char* tmpPtr; int tmpSize;
9469 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9470 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9471 return NULL;
9472 }
9473 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9474 return NULL;
9475 _arg2 = new wxString(tmpPtr, tmpSize);
9476 #else
9477 if (!PyString_Check(_obj2)) {
9478 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9479 return NULL;
9480 }
9481 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9482 #endif
9483 }
9484 {
9485 wxPy_BEGIN_ALLOW_THREADS;
9486 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9487
9488 wxPy_END_ALLOW_THREADS;
9489 if (PyErr_Occurred()) return NULL;
9490 } Py_INCREF(Py_None);
9491 _resultobj = Py_None;
9492 {
9493 if (_obj2)
9494 delete _arg2;
9495 }
9496 return _resultobj;
9497 }
9498
9499 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9500 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject * _resultobj;
9502 wxGrid * _arg0;
9503 wxColour * _arg1;
9504 PyObject * _argo0 = 0;
9505 wxColour temp;
9506 PyObject * _obj1 = 0;
9507 char *_kwnames[] = { "self","arg2", NULL };
9508
9509 self = self;
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9511 return NULL;
9512 if (_argo0) {
9513 if (_argo0 == Py_None) { _arg0 = NULL; }
9514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9516 return NULL;
9517 }
9518 }
9519 {
9520 _arg1 = &temp;
9521 if (! wxColour_helper(_obj1, &_arg1))
9522 return NULL;
9523 }
9524 {
9525 wxPy_BEGIN_ALLOW_THREADS;
9526 wxGrid_SetGridLineColour(_arg0,*_arg1);
9527
9528 wxPy_END_ALLOW_THREADS;
9529 if (PyErr_Occurred()) return NULL;
9530 } Py_INCREF(Py_None);
9531 _resultobj = Py_None;
9532 return _resultobj;
9533 }
9534
9535 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9536 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9537 PyObject * _resultobj;
9538 wxGrid * _arg0;
9539 wxColour * _arg1;
9540 PyObject * _argo0 = 0;
9541 wxColour temp;
9542 PyObject * _obj1 = 0;
9543 char *_kwnames[] = { "self","arg2", NULL };
9544
9545 self = self;
9546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9547 return NULL;
9548 if (_argo0) {
9549 if (_argo0 == Py_None) { _arg0 = NULL; }
9550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9552 return NULL;
9553 }
9554 }
9555 {
9556 _arg1 = &temp;
9557 if (! wxColour_helper(_obj1, &_arg1))
9558 return NULL;
9559 }
9560 {
9561 wxPy_BEGIN_ALLOW_THREADS;
9562 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9563
9564 wxPy_END_ALLOW_THREADS;
9565 if (PyErr_Occurred()) return NULL;
9566 } Py_INCREF(Py_None);
9567 _resultobj = Py_None;
9568 return _resultobj;
9569 }
9570
9571 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9572 static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9573 PyObject * _resultobj;
9574 wxGrid * _arg0;
9575 int _arg1;
9576 PyObject * _argo0 = 0;
9577 char *_kwnames[] = { "self","width", NULL };
9578
9579 self = self;
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
9581 return NULL;
9582 if (_argo0) {
9583 if (_argo0 == Py_None) { _arg0 = NULL; }
9584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9586 return NULL;
9587 }
9588 }
9589 {
9590 wxPy_BEGIN_ALLOW_THREADS;
9591 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
9592
9593 wxPy_END_ALLOW_THREADS;
9594 if (PyErr_Occurred()) return NULL;
9595 } Py_INCREF(Py_None);
9596 _resultobj = Py_None;
9597 return _resultobj;
9598 }
9599
9600 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9601 static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9602 PyObject * _resultobj;
9603 wxGrid * _arg0;
9604 int _arg1;
9605 PyObject * _argo0 = 0;
9606 char *_kwnames[] = { "self","width", NULL };
9607
9608 self = self;
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
9610 return NULL;
9611 if (_argo0) {
9612 if (_argo0 == Py_None) { _arg0 = NULL; }
9613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9615 return NULL;
9616 }
9617 }
9618 {
9619 wxPy_BEGIN_ALLOW_THREADS;
9620 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
9621
9622 wxPy_END_ALLOW_THREADS;
9623 if (PyErr_Occurred()) return NULL;
9624 } Py_INCREF(Py_None);
9625 _resultobj = Py_None;
9626 return _resultobj;
9627 }
9628
9629 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9630 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject * _resultobj;
9632 wxGrid * _arg0;
9633 bool _arg1 = (bool ) TRUE;
9634 PyObject * _argo0 = 0;
9635 int tempbool1 = (int) TRUE;
9636 char *_kwnames[] = { "self","enable", NULL };
9637
9638 self = self;
9639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9640 return NULL;
9641 if (_argo0) {
9642 if (_argo0 == Py_None) { _arg0 = NULL; }
9643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9645 return NULL;
9646 }
9647 }
9648 _arg1 = (bool ) tempbool1;
9649 {
9650 wxPy_BEGIN_ALLOW_THREADS;
9651 wxGrid_EnableDragRowSize(_arg0,_arg1);
9652
9653 wxPy_END_ALLOW_THREADS;
9654 if (PyErr_Occurred()) return NULL;
9655 } Py_INCREF(Py_None);
9656 _resultobj = Py_None;
9657 return _resultobj;
9658 }
9659
9660 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9661 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject * _resultobj;
9663 wxGrid * _arg0;
9664 PyObject * _argo0 = 0;
9665 char *_kwnames[] = { "self", NULL };
9666
9667 self = self;
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9669 return NULL;
9670 if (_argo0) {
9671 if (_argo0 == Py_None) { _arg0 = NULL; }
9672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9674 return NULL;
9675 }
9676 }
9677 {
9678 wxPy_BEGIN_ALLOW_THREADS;
9679 wxGrid_DisableDragRowSize(_arg0);
9680
9681 wxPy_END_ALLOW_THREADS;
9682 if (PyErr_Occurred()) return NULL;
9683 } Py_INCREF(Py_None);
9684 _resultobj = Py_None;
9685 return _resultobj;
9686 }
9687
9688 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9689 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9690 PyObject * _resultobj;
9691 bool _result;
9692 wxGrid * _arg0;
9693 PyObject * _argo0 = 0;
9694 char *_kwnames[] = { "self", NULL };
9695
9696 self = self;
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9698 return NULL;
9699 if (_argo0) {
9700 if (_argo0 == Py_None) { _arg0 = NULL; }
9701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9703 return NULL;
9704 }
9705 }
9706 {
9707 wxPy_BEGIN_ALLOW_THREADS;
9708 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9709
9710 wxPy_END_ALLOW_THREADS;
9711 if (PyErr_Occurred()) return NULL;
9712 } _resultobj = Py_BuildValue("i",_result);
9713 return _resultobj;
9714 }
9715
9716 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9717 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9718 PyObject * _resultobj;
9719 wxGrid * _arg0;
9720 bool _arg1 = (bool ) TRUE;
9721 PyObject * _argo0 = 0;
9722 int tempbool1 = (int) TRUE;
9723 char *_kwnames[] = { "self","enable", NULL };
9724
9725 self = self;
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9727 return NULL;
9728 if (_argo0) {
9729 if (_argo0 == Py_None) { _arg0 = NULL; }
9730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9732 return NULL;
9733 }
9734 }
9735 _arg1 = (bool ) tempbool1;
9736 {
9737 wxPy_BEGIN_ALLOW_THREADS;
9738 wxGrid_EnableDragColSize(_arg0,_arg1);
9739
9740 wxPy_END_ALLOW_THREADS;
9741 if (PyErr_Occurred()) return NULL;
9742 } Py_INCREF(Py_None);
9743 _resultobj = Py_None;
9744 return _resultobj;
9745 }
9746
9747 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9748 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9749 PyObject * _resultobj;
9750 wxGrid * _arg0;
9751 PyObject * _argo0 = 0;
9752 char *_kwnames[] = { "self", NULL };
9753
9754 self = self;
9755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9756 return NULL;
9757 if (_argo0) {
9758 if (_argo0 == Py_None) { _arg0 = NULL; }
9759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9761 return NULL;
9762 }
9763 }
9764 {
9765 wxPy_BEGIN_ALLOW_THREADS;
9766 wxGrid_DisableDragColSize(_arg0);
9767
9768 wxPy_END_ALLOW_THREADS;
9769 if (PyErr_Occurred()) return NULL;
9770 } Py_INCREF(Py_None);
9771 _resultobj = Py_None;
9772 return _resultobj;
9773 }
9774
9775 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9776 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9777 PyObject * _resultobj;
9778 bool _result;
9779 wxGrid * _arg0;
9780 PyObject * _argo0 = 0;
9781 char *_kwnames[] = { "self", NULL };
9782
9783 self = self;
9784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9785 return NULL;
9786 if (_argo0) {
9787 if (_argo0 == Py_None) { _arg0 = NULL; }
9788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9790 return NULL;
9791 }
9792 }
9793 {
9794 wxPy_BEGIN_ALLOW_THREADS;
9795 _result = (bool )wxGrid_CanDragColSize(_arg0);
9796
9797 wxPy_END_ALLOW_THREADS;
9798 if (PyErr_Occurred()) return NULL;
9799 } _resultobj = Py_BuildValue("i",_result);
9800 return _resultobj;
9801 }
9802
9803 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9804 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject * _resultobj;
9806 wxGrid * _arg0;
9807 bool _arg1 = (bool ) TRUE;
9808 PyObject * _argo0 = 0;
9809 int tempbool1 = (int) TRUE;
9810 char *_kwnames[] = { "self","enable", NULL };
9811
9812 self = self;
9813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9814 return NULL;
9815 if (_argo0) {
9816 if (_argo0 == Py_None) { _arg0 = NULL; }
9817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9819 return NULL;
9820 }
9821 }
9822 _arg1 = (bool ) tempbool1;
9823 {
9824 wxPy_BEGIN_ALLOW_THREADS;
9825 wxGrid_EnableDragGridSize(_arg0,_arg1);
9826
9827 wxPy_END_ALLOW_THREADS;
9828 if (PyErr_Occurred()) return NULL;
9829 } Py_INCREF(Py_None);
9830 _resultobj = Py_None;
9831 return _resultobj;
9832 }
9833
9834 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9835 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9836 PyObject * _resultobj;
9837 wxGrid * _arg0;
9838 PyObject * _argo0 = 0;
9839 char *_kwnames[] = { "self", NULL };
9840
9841 self = self;
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9843 return NULL;
9844 if (_argo0) {
9845 if (_argo0 == Py_None) { _arg0 = NULL; }
9846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9848 return NULL;
9849 }
9850 }
9851 {
9852 wxPy_BEGIN_ALLOW_THREADS;
9853 wxGrid_DisableDragGridSize(_arg0);
9854
9855 wxPy_END_ALLOW_THREADS;
9856 if (PyErr_Occurred()) return NULL;
9857 } Py_INCREF(Py_None);
9858 _resultobj = Py_None;
9859 return _resultobj;
9860 }
9861
9862 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9863 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject * _resultobj;
9865 bool _result;
9866 wxGrid * _arg0;
9867 PyObject * _argo0 = 0;
9868 char *_kwnames[] = { "self", NULL };
9869
9870 self = self;
9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9872 return NULL;
9873 if (_argo0) {
9874 if (_argo0 == Py_None) { _arg0 = NULL; }
9875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9877 return NULL;
9878 }
9879 }
9880 {
9881 wxPy_BEGIN_ALLOW_THREADS;
9882 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9883
9884 wxPy_END_ALLOW_THREADS;
9885 if (PyErr_Occurred()) return NULL;
9886 } _resultobj = Py_BuildValue("i",_result);
9887 return _resultobj;
9888 }
9889
9890 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9891 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9892 PyObject * _resultobj;
9893 wxGrid * _arg0;
9894 int _arg1;
9895 wxGridCellAttr * _arg2;
9896 PyObject * _argo0 = 0;
9897 PyObject * _argo2 = 0;
9898 char *_kwnames[] = { "self","row","attr", NULL };
9899
9900 self = self;
9901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9902 return NULL;
9903 if (_argo0) {
9904 if (_argo0 == Py_None) { _arg0 = NULL; }
9905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9907 return NULL;
9908 }
9909 }
9910 if (_argo2) {
9911 if (_argo2 == Py_None) { _arg2 = NULL; }
9912 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9913 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9914 return NULL;
9915 }
9916 }
9917 {
9918 wxPy_BEGIN_ALLOW_THREADS;
9919 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
9920
9921 wxPy_END_ALLOW_THREADS;
9922 if (PyErr_Occurred()) return NULL;
9923 } Py_INCREF(Py_None);
9924 _resultobj = Py_None;
9925 return _resultobj;
9926 }
9927
9928 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9929 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9930 PyObject * _resultobj;
9931 wxGrid * _arg0;
9932 int _arg1;
9933 wxGridCellAttr * _arg2;
9934 PyObject * _argo0 = 0;
9935 PyObject * _argo2 = 0;
9936 char *_kwnames[] = { "self","col","attr", NULL };
9937
9938 self = self;
9939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9940 return NULL;
9941 if (_argo0) {
9942 if (_argo0 == Py_None) { _arg0 = NULL; }
9943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9945 return NULL;
9946 }
9947 }
9948 if (_argo2) {
9949 if (_argo2 == Py_None) { _arg2 = NULL; }
9950 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9951 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9952 return NULL;
9953 }
9954 }
9955 {
9956 wxPy_BEGIN_ALLOW_THREADS;
9957 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
9958
9959 wxPy_END_ALLOW_THREADS;
9960 if (PyErr_Occurred()) return NULL;
9961 } Py_INCREF(Py_None);
9962 _resultobj = Py_None;
9963 return _resultobj;
9964 }
9965
9966 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9967 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9968 PyObject * _resultobj;
9969 wxGrid * _arg0;
9970 int _arg1;
9971 PyObject * _argo0 = 0;
9972 char *_kwnames[] = { "self","col", NULL };
9973
9974 self = self;
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
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_SetColFormatBool. Expected _wxGrid_p.");
9981 return NULL;
9982 }
9983 }
9984 {
9985 wxPy_BEGIN_ALLOW_THREADS;
9986 wxGrid_SetColFormatBool(_arg0,_arg1);
9987
9988 wxPy_END_ALLOW_THREADS;
9989 if (PyErr_Occurred()) return NULL;
9990 } Py_INCREF(Py_None);
9991 _resultobj = Py_None;
9992 return _resultobj;
9993 }
9994
9995 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9996 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
9997 PyObject * _resultobj;
9998 wxGrid * _arg0;
9999 int _arg1;
10000 PyObject * _argo0 = 0;
10001 char *_kwnames[] = { "self","col", NULL };
10002
10003 self = self;
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
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_SetColFormatNumber. Expected _wxGrid_p.");
10010 return NULL;
10011 }
10012 }
10013 {
10014 wxPy_BEGIN_ALLOW_THREADS;
10015 wxGrid_SetColFormatNumber(_arg0,_arg1);
10016
10017 wxPy_END_ALLOW_THREADS;
10018 if (PyErr_Occurred()) return NULL;
10019 } Py_INCREF(Py_None);
10020 _resultobj = Py_None;
10021 return _resultobj;
10022 }
10023
10024 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10025 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10026 PyObject * _resultobj;
10027 wxGrid * _arg0;
10028 int _arg1;
10029 int _arg2 = (int ) -1;
10030 int _arg3 = (int ) -1;
10031 PyObject * _argo0 = 0;
10032 char *_kwnames[] = { "self","col","width","precision", NULL };
10033
10034 self = self;
10035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10036 return NULL;
10037 if (_argo0) {
10038 if (_argo0 == Py_None) { _arg0 = NULL; }
10039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10041 return NULL;
10042 }
10043 }
10044 {
10045 wxPy_BEGIN_ALLOW_THREADS;
10046 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10047
10048 wxPy_END_ALLOW_THREADS;
10049 if (PyErr_Occurred()) return NULL;
10050 } Py_INCREF(Py_None);
10051 _resultobj = Py_None;
10052 return _resultobj;
10053 }
10054
10055 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10056 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10057 PyObject * _resultobj;
10058 wxGrid * _arg0;
10059 int _arg1;
10060 wxString * _arg2;
10061 PyObject * _argo0 = 0;
10062 PyObject * _obj2 = 0;
10063 char *_kwnames[] = { "self","col","typeName", NULL };
10064
10065 self = self;
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10067 return NULL;
10068 if (_argo0) {
10069 if (_argo0 == Py_None) { _arg0 = NULL; }
10070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10072 return NULL;
10073 }
10074 }
10075 {
10076 #if PYTHON_API_VERSION >= 1009
10077 char* tmpPtr; int tmpSize;
10078 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
10079 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10080 return NULL;
10081 }
10082 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
10083 return NULL;
10084 _arg2 = new wxString(tmpPtr, tmpSize);
10085 #else
10086 if (!PyString_Check(_obj2)) {
10087 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10088 return NULL;
10089 }
10090 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
10091 #endif
10092 }
10093 {
10094 wxPy_BEGIN_ALLOW_THREADS;
10095 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10096
10097 wxPy_END_ALLOW_THREADS;
10098 if (PyErr_Occurred()) return NULL;
10099 } Py_INCREF(Py_None);
10100 _resultobj = Py_None;
10101 {
10102 if (_obj2)
10103 delete _arg2;
10104 }
10105 return _resultobj;
10106 }
10107
10108 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10109 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject * _resultobj;
10111 wxGrid * _arg0;
10112 bool _arg1 = (bool ) TRUE;
10113 PyObject * _argo0 = 0;
10114 int tempbool1 = (int) TRUE;
10115 char *_kwnames[] = { "self","enable", NULL };
10116
10117 self = self;
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10119 return NULL;
10120 if (_argo0) {
10121 if (_argo0 == Py_None) { _arg0 = NULL; }
10122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10124 return NULL;
10125 }
10126 }
10127 _arg1 = (bool ) tempbool1;
10128 {
10129 wxPy_BEGIN_ALLOW_THREADS;
10130 wxGrid_EnableGridLines(_arg0,_arg1);
10131
10132 wxPy_END_ALLOW_THREADS;
10133 if (PyErr_Occurred()) return NULL;
10134 } Py_INCREF(Py_None);
10135 _resultobj = Py_None;
10136 return _resultobj;
10137 }
10138
10139 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10140 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject * _resultobj;
10142 bool _result;
10143 wxGrid * _arg0;
10144 PyObject * _argo0 = 0;
10145 char *_kwnames[] = { "self", NULL };
10146
10147 self = self;
10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10149 return NULL;
10150 if (_argo0) {
10151 if (_argo0 == Py_None) { _arg0 = NULL; }
10152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10154 return NULL;
10155 }
10156 }
10157 {
10158 wxPy_BEGIN_ALLOW_THREADS;
10159 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
10160
10161 wxPy_END_ALLOW_THREADS;
10162 if (PyErr_Occurred()) return NULL;
10163 } _resultobj = Py_BuildValue("i",_result);
10164 return _resultobj;
10165 }
10166
10167 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10168 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10169 PyObject * _resultobj;
10170 int _result;
10171 wxGrid * _arg0;
10172 PyObject * _argo0 = 0;
10173 char *_kwnames[] = { "self", NULL };
10174
10175 self = self;
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10177 return NULL;
10178 if (_argo0) {
10179 if (_argo0 == Py_None) { _arg0 = NULL; }
10180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10182 return NULL;
10183 }
10184 }
10185 {
10186 wxPy_BEGIN_ALLOW_THREADS;
10187 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
10188
10189 wxPy_END_ALLOW_THREADS;
10190 if (PyErr_Occurred()) return NULL;
10191 } _resultobj = Py_BuildValue("i",_result);
10192 return _resultobj;
10193 }
10194
10195 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10196 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10197 PyObject * _resultobj;
10198 int _result;
10199 wxGrid * _arg0;
10200 int _arg1;
10201 PyObject * _argo0 = 0;
10202 char *_kwnames[] = { "self","row", NULL };
10203
10204 self = self;
10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10206 return NULL;
10207 if (_argo0) {
10208 if (_argo0 == Py_None) { _arg0 = NULL; }
10209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10211 return NULL;
10212 }
10213 }
10214 {
10215 wxPy_BEGIN_ALLOW_THREADS;
10216 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
10217
10218 wxPy_END_ALLOW_THREADS;
10219 if (PyErr_Occurred()) return NULL;
10220 } _resultobj = Py_BuildValue("i",_result);
10221 return _resultobj;
10222 }
10223
10224 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10225 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10226 PyObject * _resultobj;
10227 int _result;
10228 wxGrid * _arg0;
10229 PyObject * _argo0 = 0;
10230 char *_kwnames[] = { "self", NULL };
10231
10232 self = self;
10233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
10234 return NULL;
10235 if (_argo0) {
10236 if (_argo0 == Py_None) { _arg0 = NULL; }
10237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10239 return NULL;
10240 }
10241 }
10242 {
10243 wxPy_BEGIN_ALLOW_THREADS;
10244 _result = (int )wxGrid_GetDefaultColSize(_arg0);
10245
10246 wxPy_END_ALLOW_THREADS;
10247 if (PyErr_Occurred()) return NULL;
10248 } _resultobj = Py_BuildValue("i",_result);
10249 return _resultobj;
10250 }
10251
10252 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10253 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject * _resultobj;
10255 int _result;
10256 wxGrid * _arg0;
10257 int _arg1;
10258 PyObject * _argo0 = 0;
10259 char *_kwnames[] = { "self","col", NULL };
10260
10261 self = self;
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10263 return NULL;
10264 if (_argo0) {
10265 if (_argo0 == Py_None) { _arg0 = NULL; }
10266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10268 return NULL;
10269 }
10270 }
10271 {
10272 wxPy_BEGIN_ALLOW_THREADS;
10273 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10274
10275 wxPy_END_ALLOW_THREADS;
10276 if (PyErr_Occurred()) return NULL;
10277 } _resultobj = Py_BuildValue("i",_result);
10278 return _resultobj;
10279 }
10280
10281 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10282 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10283 PyObject * _resultobj;
10284 wxColour * _result;
10285 wxGrid * _arg0;
10286 PyObject * _argo0 = 0;
10287 char *_kwnames[] = { "self", NULL };
10288 char _ptemp[128];
10289
10290 self = self;
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10292 return NULL;
10293 if (_argo0) {
10294 if (_argo0 == Py_None) { _arg0 = NULL; }
10295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10297 return NULL;
10298 }
10299 }
10300 {
10301 wxPy_BEGIN_ALLOW_THREADS;
10302 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10303
10304 wxPy_END_ALLOW_THREADS;
10305 if (PyErr_Occurred()) return NULL;
10306 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10307 _resultobj = Py_BuildValue("s",_ptemp);
10308 return _resultobj;
10309 }
10310
10311 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10312 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10313 PyObject * _resultobj;
10314 wxColour * _result;
10315 wxGrid * _arg0;
10316 int _arg1;
10317 int _arg2;
10318 PyObject * _argo0 = 0;
10319 char *_kwnames[] = { "self","row","col", NULL };
10320 char _ptemp[128];
10321
10322 self = self;
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10324 return NULL;
10325 if (_argo0) {
10326 if (_argo0 == Py_None) { _arg0 = NULL; }
10327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10329 return NULL;
10330 }
10331 }
10332 {
10333 wxPy_BEGIN_ALLOW_THREADS;
10334 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
10335
10336 wxPy_END_ALLOW_THREADS;
10337 if (PyErr_Occurred()) return NULL;
10338 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10339 _resultobj = Py_BuildValue("s",_ptemp);
10340 return _resultobj;
10341 }
10342
10343 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10344 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10345 PyObject * _resultobj;
10346 wxColour * _result;
10347 wxGrid * _arg0;
10348 PyObject * _argo0 = 0;
10349 char *_kwnames[] = { "self", NULL };
10350 char _ptemp[128];
10351
10352 self = self;
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10354 return NULL;
10355 if (_argo0) {
10356 if (_argo0 == Py_None) { _arg0 = NULL; }
10357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10359 return NULL;
10360 }
10361 }
10362 {
10363 wxPy_BEGIN_ALLOW_THREADS;
10364 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
10365
10366 wxPy_END_ALLOW_THREADS;
10367 if (PyErr_Occurred()) return NULL;
10368 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10369 _resultobj = Py_BuildValue("s",_ptemp);
10370 return _resultobj;
10371 }
10372
10373 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10374 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10375 PyObject * _resultobj;
10376 wxColour * _result;
10377 wxGrid * _arg0;
10378 int _arg1;
10379 int _arg2;
10380 PyObject * _argo0 = 0;
10381 char *_kwnames[] = { "self","row","col", NULL };
10382 char _ptemp[128];
10383
10384 self = self;
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10386 return NULL;
10387 if (_argo0) {
10388 if (_argo0 == Py_None) { _arg0 = NULL; }
10389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10391 return NULL;
10392 }
10393 }
10394 {
10395 wxPy_BEGIN_ALLOW_THREADS;
10396 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
10397
10398 wxPy_END_ALLOW_THREADS;
10399 if (PyErr_Occurred()) return NULL;
10400 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10401 _resultobj = Py_BuildValue("s",_ptemp);
10402 return _resultobj;
10403 }
10404
10405 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10406 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10407 PyObject * _resultobj;
10408 wxFont * _result;
10409 wxGrid * _arg0;
10410 PyObject * _argo0 = 0;
10411 char *_kwnames[] = { "self", NULL };
10412 char _ptemp[128];
10413
10414 self = self;
10415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10416 return NULL;
10417 if (_argo0) {
10418 if (_argo0 == Py_None) { _arg0 = NULL; }
10419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10421 return NULL;
10422 }
10423 }
10424 {
10425 wxPy_BEGIN_ALLOW_THREADS;
10426 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
10427
10428 wxPy_END_ALLOW_THREADS;
10429 if (PyErr_Occurred()) return NULL;
10430 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10431 _resultobj = Py_BuildValue("s",_ptemp);
10432 return _resultobj;
10433 }
10434
10435 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10436 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10437 PyObject * _resultobj;
10438 wxFont * _result;
10439 wxGrid * _arg0;
10440 int _arg1;
10441 int _arg2;
10442 PyObject * _argo0 = 0;
10443 char *_kwnames[] = { "self","row","col", NULL };
10444 char _ptemp[128];
10445
10446 self = self;
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10448 return NULL;
10449 if (_argo0) {
10450 if (_argo0 == Py_None) { _arg0 = NULL; }
10451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10453 return NULL;
10454 }
10455 }
10456 {
10457 wxPy_BEGIN_ALLOW_THREADS;
10458 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
10459
10460 wxPy_END_ALLOW_THREADS;
10461 if (PyErr_Occurred()) return NULL;
10462 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10463 _resultobj = Py_BuildValue("s",_ptemp);
10464 return _resultobj;
10465 }
10466
10467 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10468 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10469 PyObject * _resultobj;
10470 wxGrid * _arg0;
10471 int * _arg1;
10472 int * _arg2;
10473 PyObject * _argo0 = 0;
10474 PyObject * _argo1 = 0;
10475 PyObject * _argo2 = 0;
10476 char *_kwnames[] = { "self","horiz","vert", NULL };
10477
10478 self = self;
10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10480 return NULL;
10481 if (_argo0) {
10482 if (_argo0 == Py_None) { _arg0 = NULL; }
10483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10485 return NULL;
10486 }
10487 }
10488 if (_argo1) {
10489 if (_argo1 == Py_None) { _arg1 = NULL; }
10490 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10491 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10492 return NULL;
10493 }
10494 }
10495 if (_argo2) {
10496 if (_argo2 == Py_None) { _arg2 = NULL; }
10497 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10498 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10499 return NULL;
10500 }
10501 }
10502 {
10503 wxPy_BEGIN_ALLOW_THREADS;
10504 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10505
10506 wxPy_END_ALLOW_THREADS;
10507 if (PyErr_Occurred()) return NULL;
10508 } Py_INCREF(Py_None);
10509 _resultobj = Py_None;
10510 return _resultobj;
10511 }
10512
10513 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10514 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10515 PyObject * _resultobj;
10516 wxGrid * _arg0;
10517 int _arg1;
10518 int _arg2;
10519 int * _arg3;
10520 int * _arg4;
10521 PyObject * _argo0 = 0;
10522 PyObject * _argo3 = 0;
10523 PyObject * _argo4 = 0;
10524 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10525
10526 self = self;
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10528 return NULL;
10529 if (_argo0) {
10530 if (_argo0 == Py_None) { _arg0 = NULL; }
10531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10533 return NULL;
10534 }
10535 }
10536 if (_argo3) {
10537 if (_argo3 == Py_None) { _arg3 = NULL; }
10538 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10539 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10540 return NULL;
10541 }
10542 }
10543 if (_argo4) {
10544 if (_argo4 == Py_None) { _arg4 = NULL; }
10545 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10546 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10547 return NULL;
10548 }
10549 }
10550 {
10551 wxPy_BEGIN_ALLOW_THREADS;
10552 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10553
10554 wxPy_END_ALLOW_THREADS;
10555 if (PyErr_Occurred()) return NULL;
10556 } Py_INCREF(Py_None);
10557 _resultobj = Py_None;
10558 return _resultobj;
10559 }
10560
10561 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10562 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject * _resultobj;
10564 wxGrid * _arg0;
10565 int _arg1;
10566 bool _arg2 = (bool ) FALSE;
10567 PyObject * _argo0 = 0;
10568 int tempbool2 = (int) FALSE;
10569 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10570
10571 self = self;
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10573 return NULL;
10574 if (_argo0) {
10575 if (_argo0 == Py_None) { _arg0 = NULL; }
10576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10578 return NULL;
10579 }
10580 }
10581 _arg2 = (bool ) tempbool2;
10582 {
10583 wxPy_BEGIN_ALLOW_THREADS;
10584 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10585
10586 wxPy_END_ALLOW_THREADS;
10587 if (PyErr_Occurred()) return NULL;
10588 } Py_INCREF(Py_None);
10589 _resultobj = Py_None;
10590 return _resultobj;
10591 }
10592
10593 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10594 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10595 PyObject * _resultobj;
10596 wxGrid * _arg0;
10597 int _arg1;
10598 int _arg2;
10599 PyObject * _argo0 = 0;
10600 char *_kwnames[] = { "self","row","height", NULL };
10601
10602 self = self;
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10604 return NULL;
10605 if (_argo0) {
10606 if (_argo0 == Py_None) { _arg0 = NULL; }
10607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10609 return NULL;
10610 }
10611 }
10612 {
10613 wxPy_BEGIN_ALLOW_THREADS;
10614 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10615
10616 wxPy_END_ALLOW_THREADS;
10617 if (PyErr_Occurred()) return NULL;
10618 } Py_INCREF(Py_None);
10619 _resultobj = Py_None;
10620 return _resultobj;
10621 }
10622
10623 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10624 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10625 PyObject * _resultobj;
10626 wxGrid * _arg0;
10627 int _arg1;
10628 bool _arg2 = (bool ) FALSE;
10629 PyObject * _argo0 = 0;
10630 int tempbool2 = (int) FALSE;
10631 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10632
10633 self = self;
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10635 return NULL;
10636 if (_argo0) {
10637 if (_argo0 == Py_None) { _arg0 = NULL; }
10638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10640 return NULL;
10641 }
10642 }
10643 _arg2 = (bool ) tempbool2;
10644 {
10645 wxPy_BEGIN_ALLOW_THREADS;
10646 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10647
10648 wxPy_END_ALLOW_THREADS;
10649 if (PyErr_Occurred()) return NULL;
10650 } Py_INCREF(Py_None);
10651 _resultobj = Py_None;
10652 return _resultobj;
10653 }
10654
10655 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10656 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10657 PyObject * _resultobj;
10658 wxGrid * _arg0;
10659 int _arg1;
10660 int _arg2;
10661 PyObject * _argo0 = 0;
10662 char *_kwnames[] = { "self","col","width", NULL };
10663
10664 self = self;
10665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10666 return NULL;
10667 if (_argo0) {
10668 if (_argo0 == Py_None) { _arg0 = NULL; }
10669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10671 return NULL;
10672 }
10673 }
10674 {
10675 wxPy_BEGIN_ALLOW_THREADS;
10676 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10677
10678 wxPy_END_ALLOW_THREADS;
10679 if (PyErr_Occurred()) return NULL;
10680 } Py_INCREF(Py_None);
10681 _resultobj = Py_None;
10682 return _resultobj;
10683 }
10684
10685 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10686 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10687 PyObject * _resultobj;
10688 wxGrid * _arg0;
10689 int _arg1;
10690 bool _arg2 = (bool ) TRUE;
10691 PyObject * _argo0 = 0;
10692 int tempbool2 = (int) TRUE;
10693 char *_kwnames[] = { "self","col","setAsMin", NULL };
10694
10695 self = self;
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10697 return NULL;
10698 if (_argo0) {
10699 if (_argo0 == Py_None) { _arg0 = NULL; }
10700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10702 return NULL;
10703 }
10704 }
10705 _arg2 = (bool ) tempbool2;
10706 {
10707 wxPy_BEGIN_ALLOW_THREADS;
10708 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10709
10710 wxPy_END_ALLOW_THREADS;
10711 if (PyErr_Occurred()) return NULL;
10712 } Py_INCREF(Py_None);
10713 _resultobj = Py_None;
10714 return _resultobj;
10715 }
10716
10717 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10718 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10719 PyObject * _resultobj;
10720 wxGrid * _arg0;
10721 int _arg1;
10722 bool _arg2 = (bool ) TRUE;
10723 PyObject * _argo0 = 0;
10724 int tempbool2 = (int) TRUE;
10725 char *_kwnames[] = { "self","row","setAsMin", NULL };
10726
10727 self = self;
10728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10729 return NULL;
10730 if (_argo0) {
10731 if (_argo0 == Py_None) { _arg0 = NULL; }
10732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10734 return NULL;
10735 }
10736 }
10737 _arg2 = (bool ) tempbool2;
10738 {
10739 wxPy_BEGIN_ALLOW_THREADS;
10740 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10741
10742 wxPy_END_ALLOW_THREADS;
10743 if (PyErr_Occurred()) return NULL;
10744 } Py_INCREF(Py_None);
10745 _resultobj = Py_None;
10746 return _resultobj;
10747 }
10748
10749 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10750 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10751 PyObject * _resultobj;
10752 wxGrid * _arg0;
10753 bool _arg1 = (bool ) TRUE;
10754 PyObject * _argo0 = 0;
10755 int tempbool1 = (int) TRUE;
10756 char *_kwnames[] = { "self","setAsMin", NULL };
10757
10758 self = self;
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10760 return NULL;
10761 if (_argo0) {
10762 if (_argo0 == Py_None) { _arg0 = NULL; }
10763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10765 return NULL;
10766 }
10767 }
10768 _arg1 = (bool ) tempbool1;
10769 {
10770 wxPy_BEGIN_ALLOW_THREADS;
10771 wxGrid_AutoSizeColumns(_arg0,_arg1);
10772
10773 wxPy_END_ALLOW_THREADS;
10774 if (PyErr_Occurred()) return NULL;
10775 } Py_INCREF(Py_None);
10776 _resultobj = Py_None;
10777 return _resultobj;
10778 }
10779
10780 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10781 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10782 PyObject * _resultobj;
10783 wxGrid * _arg0;
10784 bool _arg1 = (bool ) TRUE;
10785 PyObject * _argo0 = 0;
10786 int tempbool1 = (int) TRUE;
10787 char *_kwnames[] = { "self","setAsMin", NULL };
10788
10789 self = self;
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10791 return NULL;
10792 if (_argo0) {
10793 if (_argo0 == Py_None) { _arg0 = NULL; }
10794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10796 return NULL;
10797 }
10798 }
10799 _arg1 = (bool ) tempbool1;
10800 {
10801 wxPy_BEGIN_ALLOW_THREADS;
10802 wxGrid_AutoSizeRows(_arg0,_arg1);
10803
10804 wxPy_END_ALLOW_THREADS;
10805 if (PyErr_Occurred()) return NULL;
10806 } Py_INCREF(Py_None);
10807 _resultobj = Py_None;
10808 return _resultobj;
10809 }
10810
10811 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10812 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject * _resultobj;
10814 wxGrid * _arg0;
10815 PyObject * _argo0 = 0;
10816 char *_kwnames[] = { "self", NULL };
10817
10818 self = self;
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10820 return NULL;
10821 if (_argo0) {
10822 if (_argo0 == Py_None) { _arg0 = NULL; }
10823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10825 return NULL;
10826 }
10827 }
10828 {
10829 wxPy_BEGIN_ALLOW_THREADS;
10830 wxGrid_AutoSize(_arg0);
10831
10832 wxPy_END_ALLOW_THREADS;
10833 if (PyErr_Occurred()) return NULL;
10834 } Py_INCREF(Py_None);
10835 _resultobj = Py_None;
10836 return _resultobj;
10837 }
10838
10839 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10840 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject * _resultobj;
10842 wxGrid * _arg0;
10843 int _arg1;
10844 int _arg2;
10845 PyObject * _argo0 = 0;
10846 char *_kwnames[] = { "self","col","width", NULL };
10847
10848 self = self;
10849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10850 return NULL;
10851 if (_argo0) {
10852 if (_argo0 == Py_None) { _arg0 = NULL; }
10853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10855 return NULL;
10856 }
10857 }
10858 {
10859 wxPy_BEGIN_ALLOW_THREADS;
10860 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10861
10862 wxPy_END_ALLOW_THREADS;
10863 if (PyErr_Occurred()) return NULL;
10864 } Py_INCREF(Py_None);
10865 _resultobj = Py_None;
10866 return _resultobj;
10867 }
10868
10869 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10870 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10871 PyObject * _resultobj;
10872 wxGrid * _arg0;
10873 int _arg1;
10874 int _arg2;
10875 PyObject * _argo0 = 0;
10876 char *_kwnames[] = { "self","row","width", NULL };
10877
10878 self = self;
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10880 return NULL;
10881 if (_argo0) {
10882 if (_argo0 == Py_None) { _arg0 = NULL; }
10883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10885 return NULL;
10886 }
10887 }
10888 {
10889 wxPy_BEGIN_ALLOW_THREADS;
10890 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10891
10892 wxPy_END_ALLOW_THREADS;
10893 if (PyErr_Occurred()) return NULL;
10894 } Py_INCREF(Py_None);
10895 _resultobj = Py_None;
10896 return _resultobj;
10897 }
10898
10899 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10900 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10901 PyObject * _resultobj;
10902 wxGrid * _arg0;
10903 wxColour * _arg1;
10904 PyObject * _argo0 = 0;
10905 wxColour temp;
10906 PyObject * _obj1 = 0;
10907 char *_kwnames[] = { "self","arg2", NULL };
10908
10909 self = self;
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10911 return NULL;
10912 if (_argo0) {
10913 if (_argo0 == Py_None) { _arg0 = NULL; }
10914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10916 return NULL;
10917 }
10918 }
10919 {
10920 _arg1 = &temp;
10921 if (! wxColour_helper(_obj1, &_arg1))
10922 return NULL;
10923 }
10924 {
10925 wxPy_BEGIN_ALLOW_THREADS;
10926 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10927
10928 wxPy_END_ALLOW_THREADS;
10929 if (PyErr_Occurred()) return NULL;
10930 } Py_INCREF(Py_None);
10931 _resultobj = Py_None;
10932 return _resultobj;
10933 }
10934
10935 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10936 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10937 PyObject * _resultobj;
10938 wxGrid * _arg0;
10939 int _arg1;
10940 int _arg2;
10941 wxColour * _arg3;
10942 PyObject * _argo0 = 0;
10943 wxColour temp;
10944 PyObject * _obj3 = 0;
10945 char *_kwnames[] = { "self","row","col","arg4", NULL };
10946
10947 self = self;
10948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10949 return NULL;
10950 if (_argo0) {
10951 if (_argo0 == Py_None) { _arg0 = NULL; }
10952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10954 return NULL;
10955 }
10956 }
10957 {
10958 _arg3 = &temp;
10959 if (! wxColour_helper(_obj3, &_arg3))
10960 return NULL;
10961 }
10962 {
10963 wxPy_BEGIN_ALLOW_THREADS;
10964 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
10965
10966 wxPy_END_ALLOW_THREADS;
10967 if (PyErr_Occurred()) return NULL;
10968 } Py_INCREF(Py_None);
10969 _resultobj = Py_None;
10970 return _resultobj;
10971 }
10972
10973 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10974 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10975 PyObject * _resultobj;
10976 wxGrid * _arg0;
10977 wxColour * _arg1;
10978 PyObject * _argo0 = 0;
10979 wxColour temp;
10980 PyObject * _obj1 = 0;
10981 char *_kwnames[] = { "self","arg2", NULL };
10982
10983 self = self;
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
10985 return NULL;
10986 if (_argo0) {
10987 if (_argo0 == Py_None) { _arg0 = NULL; }
10988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10990 return NULL;
10991 }
10992 }
10993 {
10994 _arg1 = &temp;
10995 if (! wxColour_helper(_obj1, &_arg1))
10996 return NULL;
10997 }
10998 {
10999 wxPy_BEGIN_ALLOW_THREADS;
11000 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
11001
11002 wxPy_END_ALLOW_THREADS;
11003 if (PyErr_Occurred()) return NULL;
11004 } Py_INCREF(Py_None);
11005 _resultobj = Py_None;
11006 return _resultobj;
11007 }
11008
11009 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11010 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject * _resultobj;
11012 wxGrid * _arg0;
11013 int _arg1;
11014 int _arg2;
11015 wxColour * _arg3;
11016 PyObject * _argo0 = 0;
11017 wxColour temp;
11018 PyObject * _obj3 = 0;
11019 char *_kwnames[] = { "self","row","col","arg4", NULL };
11020
11021 self = self;
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11023 return NULL;
11024 if (_argo0) {
11025 if (_argo0 == Py_None) { _arg0 = NULL; }
11026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11028 return NULL;
11029 }
11030 }
11031 {
11032 _arg3 = &temp;
11033 if (! wxColour_helper(_obj3, &_arg3))
11034 return NULL;
11035 }
11036 {
11037 wxPy_BEGIN_ALLOW_THREADS;
11038 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
11039
11040 wxPy_END_ALLOW_THREADS;
11041 if (PyErr_Occurred()) return NULL;
11042 } Py_INCREF(Py_None);
11043 _resultobj = Py_None;
11044 return _resultobj;
11045 }
11046
11047 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11048 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11049 PyObject * _resultobj;
11050 wxGrid * _arg0;
11051 wxFont * _arg1;
11052 PyObject * _argo0 = 0;
11053 PyObject * _argo1 = 0;
11054 char *_kwnames[] = { "self","arg2", NULL };
11055
11056 self = self;
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11058 return NULL;
11059 if (_argo0) {
11060 if (_argo0 == Py_None) { _arg0 = NULL; }
11061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11063 return NULL;
11064 }
11065 }
11066 if (_argo1) {
11067 if (_argo1 == Py_None) { _arg1 = NULL; }
11068 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11069 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11070 return NULL;
11071 }
11072 }
11073 {
11074 wxPy_BEGIN_ALLOW_THREADS;
11075 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
11076
11077 wxPy_END_ALLOW_THREADS;
11078 if (PyErr_Occurred()) return NULL;
11079 } Py_INCREF(Py_None);
11080 _resultobj = Py_None;
11081 return _resultobj;
11082 }
11083
11084 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11085 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11086 PyObject * _resultobj;
11087 wxGrid * _arg0;
11088 int _arg1;
11089 int _arg2;
11090 wxFont * _arg3;
11091 PyObject * _argo0 = 0;
11092 PyObject * _argo3 = 0;
11093 char *_kwnames[] = { "self","row","col","arg4", NULL };
11094
11095 self = self;
11096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11097 return NULL;
11098 if (_argo0) {
11099 if (_argo0 == Py_None) { _arg0 = NULL; }
11100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11102 return NULL;
11103 }
11104 }
11105 if (_argo3) {
11106 if (_argo3 == Py_None) { _arg3 = NULL; }
11107 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11108 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11109 return NULL;
11110 }
11111 }
11112 {
11113 wxPy_BEGIN_ALLOW_THREADS;
11114 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
11115
11116 wxPy_END_ALLOW_THREADS;
11117 if (PyErr_Occurred()) return NULL;
11118 } Py_INCREF(Py_None);
11119 _resultobj = Py_None;
11120 return _resultobj;
11121 }
11122
11123 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11124 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11125 PyObject * _resultobj;
11126 wxGrid * _arg0;
11127 int _arg1;
11128 int _arg2;
11129 PyObject * _argo0 = 0;
11130 char *_kwnames[] = { "self","horiz","vert", NULL };
11131
11132 self = self;
11133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11134 return NULL;
11135 if (_argo0) {
11136 if (_argo0 == Py_None) { _arg0 = NULL; }
11137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11139 return NULL;
11140 }
11141 }
11142 {
11143 wxPy_BEGIN_ALLOW_THREADS;
11144 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
11145
11146 wxPy_END_ALLOW_THREADS;
11147 if (PyErr_Occurred()) return NULL;
11148 } Py_INCREF(Py_None);
11149 _resultobj = Py_None;
11150 return _resultobj;
11151 }
11152
11153 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11154 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11155 PyObject * _resultobj;
11156 wxGrid * _arg0;
11157 int _arg1;
11158 int _arg2;
11159 int _arg3;
11160 int _arg4;
11161 PyObject * _argo0 = 0;
11162 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11163
11164 self = self;
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11166 return NULL;
11167 if (_argo0) {
11168 if (_argo0 == Py_None) { _arg0 = NULL; }
11169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11171 return NULL;
11172 }
11173 }
11174 {
11175 wxPy_BEGIN_ALLOW_THREADS;
11176 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11177
11178 wxPy_END_ALLOW_THREADS;
11179 if (PyErr_Occurred()) return NULL;
11180 } Py_INCREF(Py_None);
11181 _resultobj = Py_None;
11182 return _resultobj;
11183 }
11184
11185 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11186 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject * _resultobj;
11188 wxGrid * _arg0;
11189 wxGridCellRenderer * _arg1;
11190 PyObject * _argo0 = 0;
11191 PyObject * _argo1 = 0;
11192 char *_kwnames[] = { "self","renderer", NULL };
11193
11194 self = self;
11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
11196 return NULL;
11197 if (_argo0) {
11198 if (_argo0 == Py_None) { _arg0 = NULL; }
11199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11201 return NULL;
11202 }
11203 }
11204 if (_argo1) {
11205 if (_argo1 == Py_None) { _arg1 = NULL; }
11206 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
11207 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11208 return NULL;
11209 }
11210 }
11211 {
11212 wxPy_BEGIN_ALLOW_THREADS;
11213 wxGrid_SetDefaultRenderer(_arg0,_arg1);
11214
11215 wxPy_END_ALLOW_THREADS;
11216 if (PyErr_Occurred()) return NULL;
11217 } Py_INCREF(Py_None);
11218 _resultobj = Py_None;
11219 return _resultobj;
11220 }
11221
11222 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11223 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11224 PyObject * _resultobj;
11225 wxGrid * _arg0;
11226 int _arg1;
11227 int _arg2;
11228 wxGridCellRenderer * _arg3;
11229 PyObject * _argo0 = 0;
11230 PyObject * _argo3 = 0;
11231 char *_kwnames[] = { "self","row","col","renderer", NULL };
11232
11233 self = self;
11234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11235 return NULL;
11236 if (_argo0) {
11237 if (_argo0 == Py_None) { _arg0 = NULL; }
11238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11240 return NULL;
11241 }
11242 }
11243 if (_argo3) {
11244 if (_argo3 == Py_None) { _arg3 = NULL; }
11245 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
11246 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11247 return NULL;
11248 }
11249 }
11250 {
11251 wxPy_BEGIN_ALLOW_THREADS;
11252 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
11253
11254 wxPy_END_ALLOW_THREADS;
11255 if (PyErr_Occurred()) return NULL;
11256 } Py_INCREF(Py_None);
11257 _resultobj = Py_None;
11258 return _resultobj;
11259 }
11260
11261 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11262 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11263 PyObject * _resultobj;
11264 wxGridCellRenderer * _result;
11265 wxGrid * _arg0;
11266 PyObject * _argo0 = 0;
11267 char *_kwnames[] = { "self", NULL };
11268 char _ptemp[128];
11269
11270 self = self;
11271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
11272 return NULL;
11273 if (_argo0) {
11274 if (_argo0 == Py_None) { _arg0 = NULL; }
11275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11277 return NULL;
11278 }
11279 }
11280 {
11281 wxPy_BEGIN_ALLOW_THREADS;
11282 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
11283
11284 wxPy_END_ALLOW_THREADS;
11285 if (PyErr_Occurred()) return NULL;
11286 } if (_result) {
11287 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11288 _resultobj = Py_BuildValue("s",_ptemp);
11289 } else {
11290 Py_INCREF(Py_None);
11291 _resultobj = Py_None;
11292 }
11293 return _resultobj;
11294 }
11295
11296 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11297 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11298 PyObject * _resultobj;
11299 wxGridCellRenderer * _result;
11300 wxGrid * _arg0;
11301 int _arg1;
11302 int _arg2;
11303 PyObject * _argo0 = 0;
11304 char *_kwnames[] = { "self","row","col", NULL };
11305 char _ptemp[128];
11306
11307 self = self;
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11309 return NULL;
11310 if (_argo0) {
11311 if (_argo0 == Py_None) { _arg0 = NULL; }
11312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11314 return NULL;
11315 }
11316 }
11317 {
11318 wxPy_BEGIN_ALLOW_THREADS;
11319 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
11320
11321 wxPy_END_ALLOW_THREADS;
11322 if (PyErr_Occurred()) return NULL;
11323 } if (_result) {
11324 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11325 _resultobj = Py_BuildValue("s",_ptemp);
11326 } else {
11327 Py_INCREF(Py_None);
11328 _resultobj = Py_None;
11329 }
11330 return _resultobj;
11331 }
11332
11333 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11334 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11335 PyObject * _resultobj;
11336 wxGrid * _arg0;
11337 wxGridCellEditor * _arg1;
11338 PyObject * _argo0 = 0;
11339 PyObject * _argo1 = 0;
11340 char *_kwnames[] = { "self","editor", NULL };
11341
11342 self = self;
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
11344 return NULL;
11345 if (_argo0) {
11346 if (_argo0 == Py_None) { _arg0 = NULL; }
11347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11349 return NULL;
11350 }
11351 }
11352 if (_argo1) {
11353 if (_argo1 == Py_None) { _arg1 = NULL; }
11354 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
11355 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11356 return NULL;
11357 }
11358 }
11359 {
11360 wxPy_BEGIN_ALLOW_THREADS;
11361 wxGrid_SetDefaultEditor(_arg0,_arg1);
11362
11363 wxPy_END_ALLOW_THREADS;
11364 if (PyErr_Occurred()) return NULL;
11365 } Py_INCREF(Py_None);
11366 _resultobj = Py_None;
11367 return _resultobj;
11368 }
11369
11370 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11371 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11372 PyObject * _resultobj;
11373 wxGrid * _arg0;
11374 int _arg1;
11375 int _arg2;
11376 wxGridCellEditor * _arg3;
11377 PyObject * _argo0 = 0;
11378 PyObject * _argo3 = 0;
11379 char *_kwnames[] = { "self","row","col","editor", NULL };
11380
11381 self = self;
11382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11383 return NULL;
11384 if (_argo0) {
11385 if (_argo0 == Py_None) { _arg0 = NULL; }
11386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11388 return NULL;
11389 }
11390 }
11391 if (_argo3) {
11392 if (_argo3 == Py_None) { _arg3 = NULL; }
11393 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11394 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11395 return NULL;
11396 }
11397 }
11398 {
11399 wxPy_BEGIN_ALLOW_THREADS;
11400 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
11401
11402 wxPy_END_ALLOW_THREADS;
11403 if (PyErr_Occurred()) return NULL;
11404 } Py_INCREF(Py_None);
11405 _resultobj = Py_None;
11406 return _resultobj;
11407 }
11408
11409 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11410 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject * _resultobj;
11412 wxGridCellEditor * _result;
11413 wxGrid * _arg0;
11414 PyObject * _argo0 = 0;
11415 char *_kwnames[] = { "self", NULL };
11416 char _ptemp[128];
11417
11418 self = self;
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
11420 return NULL;
11421 if (_argo0) {
11422 if (_argo0 == Py_None) { _arg0 = NULL; }
11423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11425 return NULL;
11426 }
11427 }
11428 {
11429 wxPy_BEGIN_ALLOW_THREADS;
11430 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
11431
11432 wxPy_END_ALLOW_THREADS;
11433 if (PyErr_Occurred()) return NULL;
11434 } if (_result) {
11435 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11436 _resultobj = Py_BuildValue("s",_ptemp);
11437 } else {
11438 Py_INCREF(Py_None);
11439 _resultobj = Py_None;
11440 }
11441 return _resultobj;
11442 }
11443
11444 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11445 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11446 PyObject * _resultobj;
11447 wxGridCellEditor * _result;
11448 wxGrid * _arg0;
11449 int _arg1;
11450 int _arg2;
11451 PyObject * _argo0 = 0;
11452 char *_kwnames[] = { "self","row","col", NULL };
11453 char _ptemp[128];
11454
11455 self = self;
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
11457 return NULL;
11458 if (_argo0) {
11459 if (_argo0 == Py_None) { _arg0 = NULL; }
11460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11462 return NULL;
11463 }
11464 }
11465 {
11466 wxPy_BEGIN_ALLOW_THREADS;
11467 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
11468
11469 wxPy_END_ALLOW_THREADS;
11470 if (PyErr_Occurred()) return NULL;
11471 } if (_result) {
11472 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11473 _resultobj = Py_BuildValue("s",_ptemp);
11474 } else {
11475 Py_INCREF(Py_None);
11476 _resultobj = Py_None;
11477 }
11478 return _resultobj;
11479 }
11480
11481 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11482 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11483 PyObject * _resultobj;
11484 wxString * _result;
11485 wxGrid * _arg0;
11486 int _arg1;
11487 int _arg2;
11488 PyObject * _argo0 = 0;
11489 char *_kwnames[] = { "self","row","col", NULL };
11490
11491 self = self;
11492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
11493 return NULL;
11494 if (_argo0) {
11495 if (_argo0 == Py_None) { _arg0 = NULL; }
11496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11498 return NULL;
11499 }
11500 }
11501 {
11502 wxPy_BEGIN_ALLOW_THREADS;
11503 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11504
11505 wxPy_END_ALLOW_THREADS;
11506 if (PyErr_Occurred()) return NULL;
11507 }{
11508 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11509 }
11510 {
11511 delete _result;
11512 }
11513 return _resultobj;
11514 }
11515
11516 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11517 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11518 PyObject * _resultobj;
11519 wxGrid * _arg0;
11520 int _arg1;
11521 int _arg2;
11522 wxString * _arg3;
11523 PyObject * _argo0 = 0;
11524 PyObject * _obj3 = 0;
11525 char *_kwnames[] = { "self","row","col","s", NULL };
11526
11527 self = self;
11528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11529 return NULL;
11530 if (_argo0) {
11531 if (_argo0 == Py_None) { _arg0 = NULL; }
11532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11534 return NULL;
11535 }
11536 }
11537 {
11538 #if PYTHON_API_VERSION >= 1009
11539 char* tmpPtr; int tmpSize;
11540 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
11541 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11542 return NULL;
11543 }
11544 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11545 return NULL;
11546 _arg3 = new wxString(tmpPtr, tmpSize);
11547 #else
11548 if (!PyString_Check(_obj3)) {
11549 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11550 return NULL;
11551 }
11552 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11553 #endif
11554 }
11555 {
11556 wxPy_BEGIN_ALLOW_THREADS;
11557 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11558
11559 wxPy_END_ALLOW_THREADS;
11560 if (PyErr_Occurred()) return NULL;
11561 } Py_INCREF(Py_None);
11562 _resultobj = Py_None;
11563 {
11564 if (_obj3)
11565 delete _arg3;
11566 }
11567 return _resultobj;
11568 }
11569
11570 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11571 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11572 PyObject * _resultobj;
11573 bool _result;
11574 wxGrid * _arg0;
11575 int _arg1;
11576 int _arg2;
11577 PyObject * _argo0 = 0;
11578 char *_kwnames[] = { "self","row","col", NULL };
11579
11580 self = self;
11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11582 return NULL;
11583 if (_argo0) {
11584 if (_argo0 == Py_None) { _arg0 = NULL; }
11585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11587 return NULL;
11588 }
11589 }
11590 {
11591 wxPy_BEGIN_ALLOW_THREADS;
11592 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11593
11594 wxPy_END_ALLOW_THREADS;
11595 if (PyErr_Occurred()) return NULL;
11596 } _resultobj = Py_BuildValue("i",_result);
11597 return _resultobj;
11598 }
11599
11600 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11601 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11602 PyObject * _resultobj;
11603 wxGrid * _arg0;
11604 int _arg1;
11605 int _arg2;
11606 bool _arg3 = (bool ) TRUE;
11607 PyObject * _argo0 = 0;
11608 int tempbool3 = (int) TRUE;
11609 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11610
11611 self = self;
11612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11613 return NULL;
11614 if (_argo0) {
11615 if (_argo0 == Py_None) { _arg0 = NULL; }
11616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11618 return NULL;
11619 }
11620 }
11621 _arg3 = (bool ) tempbool3;
11622 {
11623 wxPy_BEGIN_ALLOW_THREADS;
11624 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11625
11626 wxPy_END_ALLOW_THREADS;
11627 if (PyErr_Occurred()) return NULL;
11628 } Py_INCREF(Py_None);
11629 _resultobj = Py_None;
11630 return _resultobj;
11631 }
11632
11633 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11634 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11635 PyObject * _resultobj;
11636 wxGrid * _arg0;
11637 int _arg1;
11638 bool _arg2 = (bool ) FALSE;
11639 PyObject * _argo0 = 0;
11640 int tempbool2 = (int) FALSE;
11641 char *_kwnames[] = { "self","row","addToSelected", NULL };
11642
11643 self = self;
11644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11645 return NULL;
11646 if (_argo0) {
11647 if (_argo0 == Py_None) { _arg0 = NULL; }
11648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11650 return NULL;
11651 }
11652 }
11653 _arg2 = (bool ) tempbool2;
11654 {
11655 wxPy_BEGIN_ALLOW_THREADS;
11656 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11657
11658 wxPy_END_ALLOW_THREADS;
11659 if (PyErr_Occurred()) return NULL;
11660 } Py_INCREF(Py_None);
11661 _resultobj = Py_None;
11662 return _resultobj;
11663 }
11664
11665 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11666 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11667 PyObject * _resultobj;
11668 wxGrid * _arg0;
11669 int _arg1;
11670 bool _arg2 = (bool ) FALSE;
11671 PyObject * _argo0 = 0;
11672 int tempbool2 = (int) FALSE;
11673 char *_kwnames[] = { "self","col","addToSelected", NULL };
11674
11675 self = self;
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11677 return NULL;
11678 if (_argo0) {
11679 if (_argo0 == Py_None) { _arg0 = NULL; }
11680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11682 return NULL;
11683 }
11684 }
11685 _arg2 = (bool ) tempbool2;
11686 {
11687 wxPy_BEGIN_ALLOW_THREADS;
11688 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11689
11690 wxPy_END_ALLOW_THREADS;
11691 if (PyErr_Occurred()) return NULL;
11692 } Py_INCREF(Py_None);
11693 _resultobj = Py_None;
11694 return _resultobj;
11695 }
11696
11697 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11698 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11699 PyObject * _resultobj;
11700 wxGrid * _arg0;
11701 int _arg1;
11702 int _arg2;
11703 int _arg3;
11704 int _arg4;
11705 bool _arg5 = (bool ) FALSE;
11706 PyObject * _argo0 = 0;
11707 int tempbool5 = (int) FALSE;
11708 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
11709
11710 self = self;
11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
11712 return NULL;
11713 if (_argo0) {
11714 if (_argo0 == Py_None) { _arg0 = NULL; }
11715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11717 return NULL;
11718 }
11719 }
11720 _arg5 = (bool ) tempbool5;
11721 {
11722 wxPy_BEGIN_ALLOW_THREADS;
11723 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11724
11725 wxPy_END_ALLOW_THREADS;
11726 if (PyErr_Occurred()) return NULL;
11727 } Py_INCREF(Py_None);
11728 _resultobj = Py_None;
11729 return _resultobj;
11730 }
11731
11732 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11733 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject * _resultobj;
11735 wxGrid * _arg0;
11736 PyObject * _argo0 = 0;
11737 char *_kwnames[] = { "self", NULL };
11738
11739 self = self;
11740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11741 return NULL;
11742 if (_argo0) {
11743 if (_argo0 == Py_None) { _arg0 = NULL; }
11744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11746 return NULL;
11747 }
11748 }
11749 {
11750 wxPy_BEGIN_ALLOW_THREADS;
11751 wxGrid_SelectAll(_arg0);
11752
11753 wxPy_END_ALLOW_THREADS;
11754 if (PyErr_Occurred()) return NULL;
11755 } Py_INCREF(Py_None);
11756 _resultobj = Py_None;
11757 return _resultobj;
11758 }
11759
11760 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11761 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11762 PyObject * _resultobj;
11763 bool _result;
11764 wxGrid * _arg0;
11765 PyObject * _argo0 = 0;
11766 char *_kwnames[] = { "self", NULL };
11767
11768 self = self;
11769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11770 return NULL;
11771 if (_argo0) {
11772 if (_argo0 == Py_None) { _arg0 = NULL; }
11773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11775 return NULL;
11776 }
11777 }
11778 {
11779 wxPy_BEGIN_ALLOW_THREADS;
11780 _result = (bool )wxGrid_IsSelection(_arg0);
11781
11782 wxPy_END_ALLOW_THREADS;
11783 if (PyErr_Occurred()) return NULL;
11784 } _resultobj = Py_BuildValue("i",_result);
11785 return _resultobj;
11786 }
11787
11788 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11789 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject * _resultobj;
11791 wxGrid * _arg0;
11792 PyObject * _argo0 = 0;
11793 char *_kwnames[] = { "self", NULL };
11794
11795 self = self;
11796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11797 return NULL;
11798 if (_argo0) {
11799 if (_argo0 == Py_None) { _arg0 = NULL; }
11800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11802 return NULL;
11803 }
11804 }
11805 {
11806 wxPy_BEGIN_ALLOW_THREADS;
11807 wxGrid_ClearSelection(_arg0);
11808
11809 wxPy_END_ALLOW_THREADS;
11810 if (PyErr_Occurred()) return NULL;
11811 } Py_INCREF(Py_None);
11812 _resultobj = Py_None;
11813 return _resultobj;
11814 }
11815
11816 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11817 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11818 PyObject * _resultobj;
11819 bool _result;
11820 wxGrid * _arg0;
11821 int _arg1;
11822 int _arg2;
11823 PyObject * _argo0 = 0;
11824 char *_kwnames[] = { "self","row","col", NULL };
11825
11826 self = self;
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11828 return NULL;
11829 if (_argo0) {
11830 if (_argo0 == Py_None) { _arg0 = NULL; }
11831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11833 return NULL;
11834 }
11835 }
11836 {
11837 wxPy_BEGIN_ALLOW_THREADS;
11838 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11839
11840 wxPy_END_ALLOW_THREADS;
11841 if (PyErr_Occurred()) return NULL;
11842 } _resultobj = Py_BuildValue("i",_result);
11843 return _resultobj;
11844 }
11845
11846 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11847 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11848 PyObject * _resultobj;
11849 wxRect * _result;
11850 wxGrid * _arg0;
11851 wxGridCellCoords * _arg1;
11852 wxGridCellCoords * _arg2;
11853 PyObject * _argo0 = 0;
11854 wxGridCellCoords temp;
11855 PyObject * _obj1 = 0;
11856 wxGridCellCoords temp0;
11857 PyObject * _obj2 = 0;
11858 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11859 char _ptemp[128];
11860
11861 self = self;
11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11863 return NULL;
11864 if (_argo0) {
11865 if (_argo0 == Py_None) { _arg0 = NULL; }
11866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11868 return NULL;
11869 }
11870 }
11871 {
11872 _arg1 = &temp;
11873 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11874 return NULL;
11875 }
11876 {
11877 _arg2 = &temp0;
11878 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11879 return NULL;
11880 }
11881 {
11882 wxPy_BEGIN_ALLOW_THREADS;
11883 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11884
11885 wxPy_END_ALLOW_THREADS;
11886 if (PyErr_Occurred()) return NULL;
11887 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11888 _resultobj = Py_BuildValue("s",_ptemp);
11889 return _resultobj;
11890 }
11891
11892 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11893 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11894 PyObject * _resultobj;
11895 wxColour * _result;
11896 wxGrid * _arg0;
11897 PyObject * _argo0 = 0;
11898 char *_kwnames[] = { "self", NULL };
11899 char _ptemp[128];
11900
11901 self = self;
11902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11903 return NULL;
11904 if (_argo0) {
11905 if (_argo0 == Py_None) { _arg0 = NULL; }
11906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11908 return NULL;
11909 }
11910 }
11911 {
11912 wxPy_BEGIN_ALLOW_THREADS;
11913 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11914
11915 wxPy_END_ALLOW_THREADS;
11916 if (PyErr_Occurred()) return NULL;
11917 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11918 _resultobj = Py_BuildValue("s",_ptemp);
11919 return _resultobj;
11920 }
11921
11922 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11923 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11924 PyObject * _resultobj;
11925 wxColour * _result;
11926 wxGrid * _arg0;
11927 PyObject * _argo0 = 0;
11928 char *_kwnames[] = { "self", NULL };
11929 char _ptemp[128];
11930
11931 self = self;
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11933 return NULL;
11934 if (_argo0) {
11935 if (_argo0 == Py_None) { _arg0 = NULL; }
11936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11938 return NULL;
11939 }
11940 }
11941 {
11942 wxPy_BEGIN_ALLOW_THREADS;
11943 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
11944
11945 wxPy_END_ALLOW_THREADS;
11946 if (PyErr_Occurred()) return NULL;
11947 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11948 _resultobj = Py_BuildValue("s",_ptemp);
11949 return _resultobj;
11950 }
11951
11952 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11953 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11954 PyObject * _resultobj;
11955 wxGrid * _arg0;
11956 wxColour * _arg1;
11957 PyObject * _argo0 = 0;
11958 wxColour temp;
11959 PyObject * _obj1 = 0;
11960 char *_kwnames[] = { "self","c", NULL };
11961
11962 self = self;
11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
11964 return NULL;
11965 if (_argo0) {
11966 if (_argo0 == Py_None) { _arg0 = NULL; }
11967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11969 return NULL;
11970 }
11971 }
11972 {
11973 _arg1 = &temp;
11974 if (! wxColour_helper(_obj1, &_arg1))
11975 return NULL;
11976 }
11977 {
11978 wxPy_BEGIN_ALLOW_THREADS;
11979 wxGrid_SetSelectionBackground(_arg0,*_arg1);
11980
11981 wxPy_END_ALLOW_THREADS;
11982 if (PyErr_Occurred()) return NULL;
11983 } Py_INCREF(Py_None);
11984 _resultobj = Py_None;
11985 return _resultobj;
11986 }
11987
11988 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11989 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11990 PyObject * _resultobj;
11991 wxGrid * _arg0;
11992 wxColour * _arg1;
11993 PyObject * _argo0 = 0;
11994 wxColour temp;
11995 PyObject * _obj1 = 0;
11996 char *_kwnames[] = { "self","c", NULL };
11997
11998 self = self;
11999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
12000 return NULL;
12001 if (_argo0) {
12002 if (_argo0 == Py_None) { _arg0 = NULL; }
12003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12005 return NULL;
12006 }
12007 }
12008 {
12009 _arg1 = &temp;
12010 if (! wxColour_helper(_obj1, &_arg1))
12011 return NULL;
12012 }
12013 {
12014 wxPy_BEGIN_ALLOW_THREADS;
12015 wxGrid_SetSelectionForeground(_arg0,*_arg1);
12016
12017 wxPy_END_ALLOW_THREADS;
12018 if (PyErr_Occurred()) return NULL;
12019 } Py_INCREF(Py_None);
12020 _resultobj = Py_None;
12021 return _resultobj;
12022 }
12023
12024 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12025 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12026 PyObject * _resultobj;
12027 wxGrid * _arg0;
12028 wxString * _arg1;
12029 wxGridCellRenderer * _arg2;
12030 wxGridCellEditor * _arg3;
12031 PyObject * _argo0 = 0;
12032 PyObject * _obj1 = 0;
12033 PyObject * _argo2 = 0;
12034 PyObject * _argo3 = 0;
12035 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
12036
12037 self = self;
12038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
12039 return NULL;
12040 if (_argo0) {
12041 if (_argo0 == Py_None) { _arg0 = NULL; }
12042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12044 return NULL;
12045 }
12046 }
12047 {
12048 #if PYTHON_API_VERSION >= 1009
12049 char* tmpPtr; int tmpSize;
12050 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
12051 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12052 return NULL;
12053 }
12054 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12055 return NULL;
12056 _arg1 = new wxString(tmpPtr, tmpSize);
12057 #else
12058 if (!PyString_Check(_obj1)) {
12059 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12060 return NULL;
12061 }
12062 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12063 #endif
12064 }
12065 if (_argo2) {
12066 if (_argo2 == Py_None) { _arg2 = NULL; }
12067 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
12068 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12069 return NULL;
12070 }
12071 }
12072 if (_argo3) {
12073 if (_argo3 == Py_None) { _arg3 = NULL; }
12074 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12075 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12076 return NULL;
12077 }
12078 }
12079 {
12080 wxPy_BEGIN_ALLOW_THREADS;
12081 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
12082
12083 wxPy_END_ALLOW_THREADS;
12084 if (PyErr_Occurred()) return NULL;
12085 } Py_INCREF(Py_None);
12086 _resultobj = Py_None;
12087 {
12088 if (_obj1)
12089 delete _arg1;
12090 }
12091 return _resultobj;
12092 }
12093
12094 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12095 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12096 PyObject * _resultobj;
12097 wxGridCellEditor * _result;
12098 wxGrid * _arg0;
12099 int _arg1;
12100 int _arg2;
12101 PyObject * _argo0 = 0;
12102 char *_kwnames[] = { "self","row","col", NULL };
12103 char _ptemp[128];
12104
12105 self = self;
12106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12107 return NULL;
12108 if (_argo0) {
12109 if (_argo0 == Py_None) { _arg0 = NULL; }
12110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12112 return NULL;
12113 }
12114 }
12115 {
12116 wxPy_BEGIN_ALLOW_THREADS;
12117 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
12118
12119 wxPy_END_ALLOW_THREADS;
12120 if (PyErr_Occurred()) return NULL;
12121 } if (_result) {
12122 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12123 _resultobj = Py_BuildValue("s",_ptemp);
12124 } else {
12125 Py_INCREF(Py_None);
12126 _resultobj = Py_None;
12127 }
12128 return _resultobj;
12129 }
12130
12131 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12132 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12133 PyObject * _resultobj;
12134 wxGridCellRenderer * _result;
12135 wxGrid * _arg0;
12136 int _arg1;
12137 int _arg2;
12138 PyObject * _argo0 = 0;
12139 char *_kwnames[] = { "self","row","col", NULL };
12140 char _ptemp[128];
12141
12142 self = self;
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12144 return NULL;
12145 if (_argo0) {
12146 if (_argo0 == Py_None) { _arg0 = NULL; }
12147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12149 return NULL;
12150 }
12151 }
12152 {
12153 wxPy_BEGIN_ALLOW_THREADS;
12154 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
12155
12156 wxPy_END_ALLOW_THREADS;
12157 if (PyErr_Occurred()) return NULL;
12158 } if (_result) {
12159 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12160 _resultobj = Py_BuildValue("s",_ptemp);
12161 } else {
12162 Py_INCREF(Py_None);
12163 _resultobj = Py_None;
12164 }
12165 return _resultobj;
12166 }
12167
12168 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12169 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12170 PyObject * _resultobj;
12171 wxGridCellEditor * _result;
12172 wxGrid * _arg0;
12173 wxString * _arg1;
12174 PyObject * _argo0 = 0;
12175 PyObject * _obj1 = 0;
12176 char *_kwnames[] = { "self","typeName", NULL };
12177 char _ptemp[128];
12178
12179 self = self;
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
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_GetDefaultEditorForType. Expected _wxGrid_p.");
12186 return NULL;
12187 }
12188 }
12189 {
12190 #if PYTHON_API_VERSION >= 1009
12191 char* tmpPtr; int tmpSize;
12192 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
12193 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12194 return NULL;
12195 }
12196 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12197 return NULL;
12198 _arg1 = new wxString(tmpPtr, tmpSize);
12199 #else
12200 if (!PyString_Check(_obj1)) {
12201 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12202 return NULL;
12203 }
12204 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12205 #endif
12206 }
12207 {
12208 wxPy_BEGIN_ALLOW_THREADS;
12209 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
12210
12211 wxPy_END_ALLOW_THREADS;
12212 if (PyErr_Occurred()) return NULL;
12213 } if (_result) {
12214 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12215 _resultobj = Py_BuildValue("s",_ptemp);
12216 } else {
12217 Py_INCREF(Py_None);
12218 _resultobj = Py_None;
12219 }
12220 {
12221 if (_obj1)
12222 delete _arg1;
12223 }
12224 return _resultobj;
12225 }
12226
12227 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12228 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12229 PyObject * _resultobj;
12230 wxGridCellRenderer * _result;
12231 wxGrid * _arg0;
12232 wxString * _arg1;
12233 PyObject * _argo0 = 0;
12234 PyObject * _obj1 = 0;
12235 char *_kwnames[] = { "self","typeName", NULL };
12236 char _ptemp[128];
12237
12238 self = self;
12239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
12240 return NULL;
12241 if (_argo0) {
12242 if (_argo0 == Py_None) { _arg0 = NULL; }
12243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12245 return NULL;
12246 }
12247 }
12248 {
12249 #if PYTHON_API_VERSION >= 1009
12250 char* tmpPtr; int tmpSize;
12251 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
12252 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12253 return NULL;
12254 }
12255 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
12256 return NULL;
12257 _arg1 = new wxString(tmpPtr, tmpSize);
12258 #else
12259 if (!PyString_Check(_obj1)) {
12260 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
12261 return NULL;
12262 }
12263 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
12264 #endif
12265 }
12266 {
12267 wxPy_BEGIN_ALLOW_THREADS;
12268 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
12269
12270 wxPy_END_ALLOW_THREADS;
12271 if (PyErr_Occurred()) return NULL;
12272 } if (_result) {
12273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12274 _resultobj = Py_BuildValue("s",_ptemp);
12275 } else {
12276 Py_INCREF(Py_None);
12277 _resultobj = Py_None;
12278 }
12279 {
12280 if (_obj1)
12281 delete _arg1;
12282 }
12283 return _resultobj;
12284 }
12285
12286 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12287 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12288 PyObject * _resultobj;
12289 wxGrid * _arg0;
12290 int _arg1;
12291 int _arg2;
12292 PyObject * _argo0 = 0;
12293 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
12294
12295 self = self;
12296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
12297 return NULL;
12298 if (_argo0) {
12299 if (_argo0 == Py_None) { _arg0 = NULL; }
12300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12302 return NULL;
12303 }
12304 }
12305 {
12306 wxPy_BEGIN_ALLOW_THREADS;
12307 wxGrid_SetMargins(_arg0,_arg1,_arg2);
12308
12309 wxPy_END_ALLOW_THREADS;
12310 if (PyErr_Occurred()) return NULL;
12311 } Py_INCREF(Py_None);
12312 _resultobj = Py_None;
12313 return _resultobj;
12314 }
12315
12316 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12317 static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12318 PyObject * _resultobj;
12319 wxWindow * _result;
12320 wxGrid * _arg0;
12321 PyObject * _argo0 = 0;
12322 char *_kwnames[] = { "self", NULL };
12323
12324 self = self;
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
12326 return NULL;
12327 if (_argo0) {
12328 if (_argo0 == Py_None) { _arg0 = NULL; }
12329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12331 return NULL;
12332 }
12333 }
12334 {
12335 wxPy_BEGIN_ALLOW_THREADS;
12336 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
12337
12338 wxPy_END_ALLOW_THREADS;
12339 if (PyErr_Occurred()) return NULL;
12340 }{ _resultobj = wxPyMake_wxObject(_result); }
12341 return _resultobj;
12342 }
12343
12344 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12345 static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12346 PyObject * _resultobj;
12347 wxWindow * _result;
12348 wxGrid * _arg0;
12349 PyObject * _argo0 = 0;
12350 char *_kwnames[] = { "self", NULL };
12351
12352 self = self;
12353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12354 return NULL;
12355 if (_argo0) {
12356 if (_argo0 == Py_None) { _arg0 = NULL; }
12357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12359 return NULL;
12360 }
12361 }
12362 {
12363 wxPy_BEGIN_ALLOW_THREADS;
12364 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
12365
12366 wxPy_END_ALLOW_THREADS;
12367 if (PyErr_Occurred()) return NULL;
12368 }{ _resultobj = wxPyMake_wxObject(_result); }
12369 return _resultobj;
12370 }
12371
12372 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12373 static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12374 PyObject * _resultobj;
12375 wxWindow * _result;
12376 wxGrid * _arg0;
12377 PyObject * _argo0 = 0;
12378 char *_kwnames[] = { "self", NULL };
12379
12380 self = self;
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12382 return NULL;
12383 if (_argo0) {
12384 if (_argo0 == Py_None) { _arg0 = NULL; }
12385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12387 return NULL;
12388 }
12389 }
12390 {
12391 wxPy_BEGIN_ALLOW_THREADS;
12392 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
12393
12394 wxPy_END_ALLOW_THREADS;
12395 if (PyErr_Occurred()) return NULL;
12396 }{ _resultobj = wxPyMake_wxObject(_result); }
12397 return _resultobj;
12398 }
12399
12400 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12401 static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12402 PyObject * _resultobj;
12403 wxWindow * _result;
12404 wxGrid * _arg0;
12405 PyObject * _argo0 = 0;
12406 char *_kwnames[] = { "self", NULL };
12407
12408 self = self;
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
12410 return NULL;
12411 if (_argo0) {
12412 if (_argo0 == Py_None) { _arg0 = NULL; }
12413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12415 return NULL;
12416 }
12417 }
12418 {
12419 wxPy_BEGIN_ALLOW_THREADS;
12420 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
12421
12422 wxPy_END_ALLOW_THREADS;
12423 if (PyErr_Occurred()) return NULL;
12424 }{ _resultobj = wxPyMake_wxObject(_result); }
12425 return _resultobj;
12426 }
12427
12428 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
12429 wxGridEvent *src;
12430 wxNotifyEvent *dest;
12431 src = (wxGridEvent *) ptr;
12432 dest = (wxNotifyEvent *) src;
12433 return (void *) dest;
12434 }
12435
12436 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
12437 wxGridEvent *src;
12438 wxCommandEvent *dest;
12439 src = (wxGridEvent *) ptr;
12440 dest = (wxCommandEvent *) src;
12441 return (void *) dest;
12442 }
12443
12444 static void *SwigwxGridEventTowxEvent(void *ptr) {
12445 wxGridEvent *src;
12446 wxEvent *dest;
12447 src = (wxGridEvent *) ptr;
12448 dest = (wxEvent *) src;
12449 return (void *) dest;
12450 }
12451
12452 static void *SwigwxGridEventTowxObject(void *ptr) {
12453 wxGridEvent *src;
12454 wxObject *dest;
12455 src = (wxGridEvent *) ptr;
12456 dest = (wxObject *) src;
12457 return (void *) dest;
12458 }
12459
12460 #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))
12461 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12462 PyObject * _resultobj;
12463 wxGridEvent * _result;
12464 int _arg0;
12465 wxEventType _arg1;
12466 wxGrid * _arg2;
12467 int _arg3 = (int ) -1;
12468 int _arg4 = (int ) -1;
12469 int _arg5 = (int ) -1;
12470 int _arg6 = (int ) -1;
12471 bool _arg7 = (bool ) TRUE;
12472 bool _arg8 = (bool ) FALSE;
12473 bool _arg9 = (bool ) FALSE;
12474 bool _arg10 = (bool ) FALSE;
12475 bool _arg11 = (bool ) FALSE;
12476 PyObject * _argo2 = 0;
12477 int tempbool7 = (int) TRUE;
12478 int tempbool8 = (int) FALSE;
12479 int tempbool9 = (int) FALSE;
12480 int tempbool10 = (int) FALSE;
12481 int tempbool11 = (int) FALSE;
12482 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
12483 char _ptemp[128];
12484
12485 self = self;
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
12487 return NULL;
12488 if (_argo2) {
12489 if (_argo2 == Py_None) { _arg2 = NULL; }
12490 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12491 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12492 return NULL;
12493 }
12494 }
12495 _arg7 = (bool ) tempbool7;
12496 _arg8 = (bool ) tempbool8;
12497 _arg9 = (bool ) tempbool9;
12498 _arg10 = (bool ) tempbool10;
12499 _arg11 = (bool ) tempbool11;
12500 {
12501 wxPy_BEGIN_ALLOW_THREADS;
12502 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
12503
12504 wxPy_END_ALLOW_THREADS;
12505 if (PyErr_Occurred()) return NULL;
12506 } if (_result) {
12507 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
12508 _resultobj = Py_BuildValue("s",_ptemp);
12509 } else {
12510 Py_INCREF(Py_None);
12511 _resultobj = Py_None;
12512 }
12513 return _resultobj;
12514 }
12515
12516 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12517 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12518 PyObject * _resultobj;
12519 int _result;
12520 wxGridEvent * _arg0;
12521 PyObject * _argo0 = 0;
12522 char *_kwnames[] = { "self", NULL };
12523
12524 self = self;
12525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
12526 return NULL;
12527 if (_argo0) {
12528 if (_argo0 == Py_None) { _arg0 = NULL; }
12529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12531 return NULL;
12532 }
12533 }
12534 {
12535 wxPy_BEGIN_ALLOW_THREADS;
12536 _result = (int )wxGridEvent_GetRow(_arg0);
12537
12538 wxPy_END_ALLOW_THREADS;
12539 if (PyErr_Occurred()) return NULL;
12540 } _resultobj = Py_BuildValue("i",_result);
12541 return _resultobj;
12542 }
12543
12544 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12545 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12546 PyObject * _resultobj;
12547 int _result;
12548 wxGridEvent * _arg0;
12549 PyObject * _argo0 = 0;
12550 char *_kwnames[] = { "self", NULL };
12551
12552 self = self;
12553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
12554 return NULL;
12555 if (_argo0) {
12556 if (_argo0 == Py_None) { _arg0 = NULL; }
12557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12559 return NULL;
12560 }
12561 }
12562 {
12563 wxPy_BEGIN_ALLOW_THREADS;
12564 _result = (int )wxGridEvent_GetCol(_arg0);
12565
12566 wxPy_END_ALLOW_THREADS;
12567 if (PyErr_Occurred()) return NULL;
12568 } _resultobj = Py_BuildValue("i",_result);
12569 return _resultobj;
12570 }
12571
12572 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12573 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12574 PyObject * _resultobj;
12575 wxPoint * _result;
12576 wxGridEvent * _arg0;
12577 PyObject * _argo0 = 0;
12578 char *_kwnames[] = { "self", NULL };
12579 char _ptemp[128];
12580
12581 self = self;
12582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
12583 return NULL;
12584 if (_argo0) {
12585 if (_argo0 == Py_None) { _arg0 = NULL; }
12586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12588 return NULL;
12589 }
12590 }
12591 {
12592 wxPy_BEGIN_ALLOW_THREADS;
12593 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
12594
12595 wxPy_END_ALLOW_THREADS;
12596 if (PyErr_Occurred()) return NULL;
12597 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12598 _resultobj = Py_BuildValue("s",_ptemp);
12599 return _resultobj;
12600 }
12601
12602 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12603 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12604 PyObject * _resultobj;
12605 bool _result;
12606 wxGridEvent * _arg0;
12607 PyObject * _argo0 = 0;
12608 char *_kwnames[] = { "self", NULL };
12609
12610 self = self;
12611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
12612 return NULL;
12613 if (_argo0) {
12614 if (_argo0 == Py_None) { _arg0 = NULL; }
12615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12617 return NULL;
12618 }
12619 }
12620 {
12621 wxPy_BEGIN_ALLOW_THREADS;
12622 _result = (bool )wxGridEvent_Selecting(_arg0);
12623
12624 wxPy_END_ALLOW_THREADS;
12625 if (PyErr_Occurred()) return NULL;
12626 } _resultobj = Py_BuildValue("i",_result);
12627 return _resultobj;
12628 }
12629
12630 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12631 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12632 PyObject * _resultobj;
12633 bool _result;
12634 wxGridEvent * _arg0;
12635 PyObject * _argo0 = 0;
12636 char *_kwnames[] = { "self", NULL };
12637
12638 self = self;
12639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
12640 return NULL;
12641 if (_argo0) {
12642 if (_argo0 == Py_None) { _arg0 = NULL; }
12643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12645 return NULL;
12646 }
12647 }
12648 {
12649 wxPy_BEGIN_ALLOW_THREADS;
12650 _result = (bool )wxGridEvent_ControlDown(_arg0);
12651
12652 wxPy_END_ALLOW_THREADS;
12653 if (PyErr_Occurred()) return NULL;
12654 } _resultobj = Py_BuildValue("i",_result);
12655 return _resultobj;
12656 }
12657
12658 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12659 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12660 PyObject * _resultobj;
12661 bool _result;
12662 wxGridEvent * _arg0;
12663 PyObject * _argo0 = 0;
12664 char *_kwnames[] = { "self", NULL };
12665
12666 self = self;
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12668 return NULL;
12669 if (_argo0) {
12670 if (_argo0 == Py_None) { _arg0 = NULL; }
12671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12673 return NULL;
12674 }
12675 }
12676 {
12677 wxPy_BEGIN_ALLOW_THREADS;
12678 _result = (bool )wxGridEvent_MetaDown(_arg0);
12679
12680 wxPy_END_ALLOW_THREADS;
12681 if (PyErr_Occurred()) return NULL;
12682 } _resultobj = Py_BuildValue("i",_result);
12683 return _resultobj;
12684 }
12685
12686 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12687 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12688 PyObject * _resultobj;
12689 bool _result;
12690 wxGridEvent * _arg0;
12691 PyObject * _argo0 = 0;
12692 char *_kwnames[] = { "self", NULL };
12693
12694 self = self;
12695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12696 return NULL;
12697 if (_argo0) {
12698 if (_argo0 == Py_None) { _arg0 = NULL; }
12699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12701 return NULL;
12702 }
12703 }
12704 {
12705 wxPy_BEGIN_ALLOW_THREADS;
12706 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12707
12708 wxPy_END_ALLOW_THREADS;
12709 if (PyErr_Occurred()) return NULL;
12710 } _resultobj = Py_BuildValue("i",_result);
12711 return _resultobj;
12712 }
12713
12714 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12715 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12716 PyObject * _resultobj;
12717 bool _result;
12718 wxGridEvent * _arg0;
12719 PyObject * _argo0 = 0;
12720 char *_kwnames[] = { "self", NULL };
12721
12722 self = self;
12723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12724 return NULL;
12725 if (_argo0) {
12726 if (_argo0 == Py_None) { _arg0 = NULL; }
12727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12729 return NULL;
12730 }
12731 }
12732 {
12733 wxPy_BEGIN_ALLOW_THREADS;
12734 _result = (bool )wxGridEvent_AltDown(_arg0);
12735
12736 wxPy_END_ALLOW_THREADS;
12737 if (PyErr_Occurred()) return NULL;
12738 } _resultobj = Py_BuildValue("i",_result);
12739 return _resultobj;
12740 }
12741
12742 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12743 wxGridSizeEvent *src;
12744 wxNotifyEvent *dest;
12745 src = (wxGridSizeEvent *) ptr;
12746 dest = (wxNotifyEvent *) src;
12747 return (void *) dest;
12748 }
12749
12750 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12751 wxGridSizeEvent *src;
12752 wxCommandEvent *dest;
12753 src = (wxGridSizeEvent *) ptr;
12754 dest = (wxCommandEvent *) src;
12755 return (void *) dest;
12756 }
12757
12758 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12759 wxGridSizeEvent *src;
12760 wxEvent *dest;
12761 src = (wxGridSizeEvent *) ptr;
12762 dest = (wxEvent *) src;
12763 return (void *) dest;
12764 }
12765
12766 static void *SwigwxGridSizeEventTowxObject(void *ptr) {
12767 wxGridSizeEvent *src;
12768 wxObject *dest;
12769 src = (wxGridSizeEvent *) ptr;
12770 dest = (wxObject *) src;
12771 return (void *) dest;
12772 }
12773
12774 #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))
12775 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12776 PyObject * _resultobj;
12777 wxGridSizeEvent * _result;
12778 int _arg0;
12779 wxEventType _arg1;
12780 wxGrid * _arg2;
12781 int _arg3 = (int ) -1;
12782 int _arg4 = (int ) -1;
12783 int _arg5 = (int ) -1;
12784 bool _arg6 = (bool ) FALSE;
12785 bool _arg7 = (bool ) FALSE;
12786 bool _arg8 = (bool ) FALSE;
12787 bool _arg9 = (bool ) FALSE;
12788 PyObject * _argo2 = 0;
12789 int tempbool6 = (int) FALSE;
12790 int tempbool7 = (int) FALSE;
12791 int tempbool8 = (int) FALSE;
12792 int tempbool9 = (int) FALSE;
12793 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12794 char _ptemp[128];
12795
12796 self = self;
12797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12798 return NULL;
12799 if (_argo2) {
12800 if (_argo2 == Py_None) { _arg2 = NULL; }
12801 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12802 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12803 return NULL;
12804 }
12805 }
12806 _arg6 = (bool ) tempbool6;
12807 _arg7 = (bool ) tempbool7;
12808 _arg8 = (bool ) tempbool8;
12809 _arg9 = (bool ) tempbool9;
12810 {
12811 wxPy_BEGIN_ALLOW_THREADS;
12812 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12813
12814 wxPy_END_ALLOW_THREADS;
12815 if (PyErr_Occurred()) return NULL;
12816 } if (_result) {
12817 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12818 _resultobj = Py_BuildValue("s",_ptemp);
12819 } else {
12820 Py_INCREF(Py_None);
12821 _resultobj = Py_None;
12822 }
12823 return _resultobj;
12824 }
12825
12826 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12827 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12828 PyObject * _resultobj;
12829 int _result;
12830 wxGridSizeEvent * _arg0;
12831 PyObject * _argo0 = 0;
12832 char *_kwnames[] = { "self", NULL };
12833
12834 self = self;
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12836 return NULL;
12837 if (_argo0) {
12838 if (_argo0 == Py_None) { _arg0 = NULL; }
12839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12841 return NULL;
12842 }
12843 }
12844 {
12845 wxPy_BEGIN_ALLOW_THREADS;
12846 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12847
12848 wxPy_END_ALLOW_THREADS;
12849 if (PyErr_Occurred()) return NULL;
12850 } _resultobj = Py_BuildValue("i",_result);
12851 return _resultobj;
12852 }
12853
12854 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12855 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject * _resultobj;
12857 wxPoint * _result;
12858 wxGridSizeEvent * _arg0;
12859 PyObject * _argo0 = 0;
12860 char *_kwnames[] = { "self", NULL };
12861 char _ptemp[128];
12862
12863 self = self;
12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12865 return NULL;
12866 if (_argo0) {
12867 if (_argo0 == Py_None) { _arg0 = NULL; }
12868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12870 return NULL;
12871 }
12872 }
12873 {
12874 wxPy_BEGIN_ALLOW_THREADS;
12875 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12876
12877 wxPy_END_ALLOW_THREADS;
12878 if (PyErr_Occurred()) return NULL;
12879 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12880 _resultobj = Py_BuildValue("s",_ptemp);
12881 return _resultobj;
12882 }
12883
12884 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12885 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12886 PyObject * _resultobj;
12887 bool _result;
12888 wxGridSizeEvent * _arg0;
12889 PyObject * _argo0 = 0;
12890 char *_kwnames[] = { "self", NULL };
12891
12892 self = self;
12893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12894 return NULL;
12895 if (_argo0) {
12896 if (_argo0 == Py_None) { _arg0 = NULL; }
12897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12899 return NULL;
12900 }
12901 }
12902 {
12903 wxPy_BEGIN_ALLOW_THREADS;
12904 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
12905
12906 wxPy_END_ALLOW_THREADS;
12907 if (PyErr_Occurred()) return NULL;
12908 } _resultobj = Py_BuildValue("i",_result);
12909 return _resultobj;
12910 }
12911
12912 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12913 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject * _resultobj;
12915 bool _result;
12916 wxGridSizeEvent * _arg0;
12917 PyObject * _argo0 = 0;
12918 char *_kwnames[] = { "self", NULL };
12919
12920 self = self;
12921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12922 return NULL;
12923 if (_argo0) {
12924 if (_argo0 == Py_None) { _arg0 = NULL; }
12925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12927 return NULL;
12928 }
12929 }
12930 {
12931 wxPy_BEGIN_ALLOW_THREADS;
12932 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12933
12934 wxPy_END_ALLOW_THREADS;
12935 if (PyErr_Occurred()) return NULL;
12936 } _resultobj = Py_BuildValue("i",_result);
12937 return _resultobj;
12938 }
12939
12940 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12941 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12942 PyObject * _resultobj;
12943 bool _result;
12944 wxGridSizeEvent * _arg0;
12945 PyObject * _argo0 = 0;
12946 char *_kwnames[] = { "self", NULL };
12947
12948 self = self;
12949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12950 return NULL;
12951 if (_argo0) {
12952 if (_argo0 == Py_None) { _arg0 = NULL; }
12953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12955 return NULL;
12956 }
12957 }
12958 {
12959 wxPy_BEGIN_ALLOW_THREADS;
12960 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12961
12962 wxPy_END_ALLOW_THREADS;
12963 if (PyErr_Occurred()) return NULL;
12964 } _resultobj = Py_BuildValue("i",_result);
12965 return _resultobj;
12966 }
12967
12968 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12969 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12970 PyObject * _resultobj;
12971 bool _result;
12972 wxGridSizeEvent * _arg0;
12973 PyObject * _argo0 = 0;
12974 char *_kwnames[] = { "self", NULL };
12975
12976 self = self;
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
12978 return NULL;
12979 if (_argo0) {
12980 if (_argo0 == Py_None) { _arg0 = NULL; }
12981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12983 return NULL;
12984 }
12985 }
12986 {
12987 wxPy_BEGIN_ALLOW_THREADS;
12988 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
12989
12990 wxPy_END_ALLOW_THREADS;
12991 if (PyErr_Occurred()) return NULL;
12992 } _resultobj = Py_BuildValue("i",_result);
12993 return _resultobj;
12994 }
12995
12996 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
12997 wxGridRangeSelectEvent *src;
12998 wxNotifyEvent *dest;
12999 src = (wxGridRangeSelectEvent *) ptr;
13000 dest = (wxNotifyEvent *) src;
13001 return (void *) dest;
13002 }
13003
13004 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
13005 wxGridRangeSelectEvent *src;
13006 wxCommandEvent *dest;
13007 src = (wxGridRangeSelectEvent *) ptr;
13008 dest = (wxCommandEvent *) src;
13009 return (void *) dest;
13010 }
13011
13012 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
13013 wxGridRangeSelectEvent *src;
13014 wxEvent *dest;
13015 src = (wxGridRangeSelectEvent *) ptr;
13016 dest = (wxEvent *) src;
13017 return (void *) dest;
13018 }
13019
13020 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
13021 wxGridRangeSelectEvent *src;
13022 wxObject *dest;
13023 src = (wxGridRangeSelectEvent *) ptr;
13024 dest = (wxObject *) src;
13025 return (void *) dest;
13026 }
13027
13028 #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))
13029 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13030 PyObject * _resultobj;
13031 wxGridRangeSelectEvent * _result;
13032 int _arg0;
13033 wxEventType _arg1;
13034 wxGrid * _arg2;
13035 wxGridCellCoords * _arg3;
13036 wxGridCellCoords * _arg4;
13037 bool _arg5 = (bool ) TRUE;
13038 bool _arg6 = (bool ) FALSE;
13039 bool _arg7 = (bool ) FALSE;
13040 bool _arg8 = (bool ) FALSE;
13041 bool _arg9 = (bool ) FALSE;
13042 PyObject * _argo2 = 0;
13043 wxGridCellCoords temp;
13044 PyObject * _obj3 = 0;
13045 wxGridCellCoords temp0;
13046 PyObject * _obj4 = 0;
13047 int tempbool5 = (int) TRUE;
13048 int tempbool6 = (int) FALSE;
13049 int tempbool7 = (int) FALSE;
13050 int tempbool8 = (int) FALSE;
13051 int tempbool9 = (int) FALSE;
13052 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
13053 char _ptemp[128];
13054
13055 self = self;
13056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13057 return NULL;
13058 if (_argo2) {
13059 if (_argo2 == Py_None) { _arg2 = NULL; }
13060 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13061 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13062 return NULL;
13063 }
13064 }
13065 {
13066 _arg3 = &temp;
13067 if (! wxGridCellCoords_helper(_obj3, &_arg3))
13068 return NULL;
13069 }
13070 {
13071 _arg4 = &temp0;
13072 if (! wxGridCellCoords_helper(_obj4, &_arg4))
13073 return NULL;
13074 }
13075 _arg5 = (bool ) tempbool5;
13076 _arg6 = (bool ) tempbool6;
13077 _arg7 = (bool ) tempbool7;
13078 _arg8 = (bool ) tempbool8;
13079 _arg9 = (bool ) tempbool9;
13080 {
13081 wxPy_BEGIN_ALLOW_THREADS;
13082 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13083
13084 wxPy_END_ALLOW_THREADS;
13085 if (PyErr_Occurred()) return NULL;
13086 } if (_result) {
13087 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
13088 _resultobj = Py_BuildValue("s",_ptemp);
13089 } else {
13090 Py_INCREF(Py_None);
13091 _resultobj = Py_None;
13092 }
13093 return _resultobj;
13094 }
13095
13096 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13097 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13098 PyObject * _resultobj;
13099 wxGridCellCoords * _result;
13100 wxGridRangeSelectEvent * _arg0;
13101 PyObject * _argo0 = 0;
13102 char *_kwnames[] = { "self", NULL };
13103 char _ptemp[128];
13104
13105 self = self;
13106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
13107 return NULL;
13108 if (_argo0) {
13109 if (_argo0 == Py_None) { _arg0 = NULL; }
13110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13112 return NULL;
13113 }
13114 }
13115 {
13116 wxPy_BEGIN_ALLOW_THREADS;
13117 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
13118
13119 wxPy_END_ALLOW_THREADS;
13120 if (PyErr_Occurred()) return NULL;
13121 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13122 _resultobj = Py_BuildValue("s",_ptemp);
13123 return _resultobj;
13124 }
13125
13126 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13127 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13128 PyObject * _resultobj;
13129 wxGridCellCoords * _result;
13130 wxGridRangeSelectEvent * _arg0;
13131 PyObject * _argo0 = 0;
13132 char *_kwnames[] = { "self", NULL };
13133 char _ptemp[128];
13134
13135 self = self;
13136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
13137 return NULL;
13138 if (_argo0) {
13139 if (_argo0 == Py_None) { _arg0 = NULL; }
13140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13142 return NULL;
13143 }
13144 }
13145 {
13146 wxPy_BEGIN_ALLOW_THREADS;
13147 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
13148
13149 wxPy_END_ALLOW_THREADS;
13150 if (PyErr_Occurred()) return NULL;
13151 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13152 _resultobj = Py_BuildValue("s",_ptemp);
13153 return _resultobj;
13154 }
13155
13156 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13157 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13158 PyObject * _resultobj;
13159 int _result;
13160 wxGridRangeSelectEvent * _arg0;
13161 PyObject * _argo0 = 0;
13162 char *_kwnames[] = { "self", NULL };
13163
13164 self = self;
13165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
13166 return NULL;
13167 if (_argo0) {
13168 if (_argo0 == Py_None) { _arg0 = NULL; }
13169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13171 return NULL;
13172 }
13173 }
13174 {
13175 wxPy_BEGIN_ALLOW_THREADS;
13176 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
13177
13178 wxPy_END_ALLOW_THREADS;
13179 if (PyErr_Occurred()) return NULL;
13180 } _resultobj = Py_BuildValue("i",_result);
13181 return _resultobj;
13182 }
13183
13184 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13185 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13186 PyObject * _resultobj;
13187 int _result;
13188 wxGridRangeSelectEvent * _arg0;
13189 PyObject * _argo0 = 0;
13190 char *_kwnames[] = { "self", NULL };
13191
13192 self = self;
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
13194 return NULL;
13195 if (_argo0) {
13196 if (_argo0 == Py_None) { _arg0 = NULL; }
13197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13199 return NULL;
13200 }
13201 }
13202 {
13203 wxPy_BEGIN_ALLOW_THREADS;
13204 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
13205
13206 wxPy_END_ALLOW_THREADS;
13207 if (PyErr_Occurred()) return NULL;
13208 } _resultobj = Py_BuildValue("i",_result);
13209 return _resultobj;
13210 }
13211
13212 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13213 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13214 PyObject * _resultobj;
13215 int _result;
13216 wxGridRangeSelectEvent * _arg0;
13217 PyObject * _argo0 = 0;
13218 char *_kwnames[] = { "self", NULL };
13219
13220 self = self;
13221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
13222 return NULL;
13223 if (_argo0) {
13224 if (_argo0 == Py_None) { _arg0 = NULL; }
13225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13227 return NULL;
13228 }
13229 }
13230 {
13231 wxPy_BEGIN_ALLOW_THREADS;
13232 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
13233
13234 wxPy_END_ALLOW_THREADS;
13235 if (PyErr_Occurred()) return NULL;
13236 } _resultobj = Py_BuildValue("i",_result);
13237 return _resultobj;
13238 }
13239
13240 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13241 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13242 PyObject * _resultobj;
13243 int _result;
13244 wxGridRangeSelectEvent * _arg0;
13245 PyObject * _argo0 = 0;
13246 char *_kwnames[] = { "self", NULL };
13247
13248 self = self;
13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
13250 return NULL;
13251 if (_argo0) {
13252 if (_argo0 == Py_None) { _arg0 = NULL; }
13253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13255 return NULL;
13256 }
13257 }
13258 {
13259 wxPy_BEGIN_ALLOW_THREADS;
13260 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
13261
13262 wxPy_END_ALLOW_THREADS;
13263 if (PyErr_Occurred()) return NULL;
13264 } _resultobj = Py_BuildValue("i",_result);
13265 return _resultobj;
13266 }
13267
13268 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13269 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13270 PyObject * _resultobj;
13271 bool _result;
13272 wxGridRangeSelectEvent * _arg0;
13273 PyObject * _argo0 = 0;
13274 char *_kwnames[] = { "self", NULL };
13275
13276 self = self;
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
13278 return NULL;
13279 if (_argo0) {
13280 if (_argo0 == Py_None) { _arg0 = NULL; }
13281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13283 return NULL;
13284 }
13285 }
13286 {
13287 wxPy_BEGIN_ALLOW_THREADS;
13288 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
13289
13290 wxPy_END_ALLOW_THREADS;
13291 if (PyErr_Occurred()) return NULL;
13292 } _resultobj = Py_BuildValue("i",_result);
13293 return _resultobj;
13294 }
13295
13296 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13297 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13298 PyObject * _resultobj;
13299 bool _result;
13300 wxGridRangeSelectEvent * _arg0;
13301 PyObject * _argo0 = 0;
13302 char *_kwnames[] = { "self", NULL };
13303
13304 self = self;
13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
13306 return NULL;
13307 if (_argo0) {
13308 if (_argo0 == Py_None) { _arg0 = NULL; }
13309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13311 return NULL;
13312 }
13313 }
13314 {
13315 wxPy_BEGIN_ALLOW_THREADS;
13316 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
13317
13318 wxPy_END_ALLOW_THREADS;
13319 if (PyErr_Occurred()) return NULL;
13320 } _resultobj = Py_BuildValue("i",_result);
13321 return _resultobj;
13322 }
13323
13324 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13325 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13326 PyObject * _resultobj;
13327 bool _result;
13328 wxGridRangeSelectEvent * _arg0;
13329 PyObject * _argo0 = 0;
13330 char *_kwnames[] = { "self", NULL };
13331
13332 self = self;
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
13334 return NULL;
13335 if (_argo0) {
13336 if (_argo0 == Py_None) { _arg0 = NULL; }
13337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13339 return NULL;
13340 }
13341 }
13342 {
13343 wxPy_BEGIN_ALLOW_THREADS;
13344 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
13345
13346 wxPy_END_ALLOW_THREADS;
13347 if (PyErr_Occurred()) return NULL;
13348 } _resultobj = Py_BuildValue("i",_result);
13349 return _resultobj;
13350 }
13351
13352 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13353 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13354 PyObject * _resultobj;
13355 bool _result;
13356 wxGridRangeSelectEvent * _arg0;
13357 PyObject * _argo0 = 0;
13358 char *_kwnames[] = { "self", NULL };
13359
13360 self = self;
13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13362 return NULL;
13363 if (_argo0) {
13364 if (_argo0 == Py_None) { _arg0 = NULL; }
13365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13367 return NULL;
13368 }
13369 }
13370 {
13371 wxPy_BEGIN_ALLOW_THREADS;
13372 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
13373
13374 wxPy_END_ALLOW_THREADS;
13375 if (PyErr_Occurred()) return NULL;
13376 } _resultobj = Py_BuildValue("i",_result);
13377 return _resultobj;
13378 }
13379
13380 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13381 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject * _resultobj;
13383 bool _result;
13384 wxGridRangeSelectEvent * _arg0;
13385 PyObject * _argo0 = 0;
13386 char *_kwnames[] = { "self", NULL };
13387
13388 self = self;
13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13390 return NULL;
13391 if (_argo0) {
13392 if (_argo0 == Py_None) { _arg0 = NULL; }
13393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13395 return NULL;
13396 }
13397 }
13398 {
13399 wxPy_BEGIN_ALLOW_THREADS;
13400 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
13401
13402 wxPy_END_ALLOW_THREADS;
13403 if (PyErr_Occurred()) return NULL;
13404 } _resultobj = Py_BuildValue("i",_result);
13405 return _resultobj;
13406 }
13407
13408 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
13409 wxGridEditorCreatedEvent *src;
13410 wxCommandEvent *dest;
13411 src = (wxGridEditorCreatedEvent *) ptr;
13412 dest = (wxCommandEvent *) src;
13413 return (void *) dest;
13414 }
13415
13416 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
13417 wxGridEditorCreatedEvent *src;
13418 wxEvent *dest;
13419 src = (wxGridEditorCreatedEvent *) ptr;
13420 dest = (wxEvent *) src;
13421 return (void *) dest;
13422 }
13423
13424 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
13425 wxGridEditorCreatedEvent *src;
13426 wxObject *dest;
13427 src = (wxGridEditorCreatedEvent *) ptr;
13428 dest = (wxObject *) src;
13429 return (void *) dest;
13430 }
13431
13432 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13433 static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13434 PyObject * _resultobj;
13435 wxGridEditorCreatedEvent * _result;
13436 int _arg0;
13437 wxEventType _arg1;
13438 wxObject * _arg2;
13439 int _arg3;
13440 int _arg4;
13441 wxControl * _arg5;
13442 PyObject * _argo2 = 0;
13443 PyObject * _argo5 = 0;
13444 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
13445 char _ptemp[128];
13446
13447 self = self;
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
13449 return NULL;
13450 if (_argo2) {
13451 if (_argo2 == Py_None) { _arg2 = NULL; }
13452 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
13453 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13454 return NULL;
13455 }
13456 }
13457 if (_argo5) {
13458 if (_argo5 == Py_None) { _arg5 = NULL; }
13459 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
13460 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13461 return NULL;
13462 }
13463 }
13464 {
13465 wxPy_BEGIN_ALLOW_THREADS;
13466 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
13467
13468 wxPy_END_ALLOW_THREADS;
13469 if (PyErr_Occurred()) return NULL;
13470 } if (_result) {
13471 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
13472 _resultobj = Py_BuildValue("s",_ptemp);
13473 } else {
13474 Py_INCREF(Py_None);
13475 _resultobj = Py_None;
13476 }
13477 return _resultobj;
13478 }
13479
13480 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13481 static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13482 PyObject * _resultobj;
13483 int _result;
13484 wxGridEditorCreatedEvent * _arg0;
13485 PyObject * _argo0 = 0;
13486 char *_kwnames[] = { "self", NULL };
13487
13488 self = self;
13489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
13490 return NULL;
13491 if (_argo0) {
13492 if (_argo0 == Py_None) { _arg0 = NULL; }
13493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13495 return NULL;
13496 }
13497 }
13498 {
13499 wxPy_BEGIN_ALLOW_THREADS;
13500 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
13501
13502 wxPy_END_ALLOW_THREADS;
13503 if (PyErr_Occurred()) return NULL;
13504 } _resultobj = Py_BuildValue("i",_result);
13505 return _resultobj;
13506 }
13507
13508 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13509 static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13510 PyObject * _resultobj;
13511 int _result;
13512 wxGridEditorCreatedEvent * _arg0;
13513 PyObject * _argo0 = 0;
13514 char *_kwnames[] = { "self", NULL };
13515
13516 self = self;
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
13518 return NULL;
13519 if (_argo0) {
13520 if (_argo0 == Py_None) { _arg0 = NULL; }
13521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13523 return NULL;
13524 }
13525 }
13526 {
13527 wxPy_BEGIN_ALLOW_THREADS;
13528 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
13529
13530 wxPy_END_ALLOW_THREADS;
13531 if (PyErr_Occurred()) return NULL;
13532 } _resultobj = Py_BuildValue("i",_result);
13533 return _resultobj;
13534 }
13535
13536 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13537 static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13538 PyObject * _resultobj;
13539 wxControl * _result;
13540 wxGridEditorCreatedEvent * _arg0;
13541 PyObject * _argo0 = 0;
13542 char *_kwnames[] = { "self", NULL };
13543
13544 self = self;
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
13546 return NULL;
13547 if (_argo0) {
13548 if (_argo0 == Py_None) { _arg0 = NULL; }
13549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13551 return NULL;
13552 }
13553 }
13554 {
13555 wxPy_BEGIN_ALLOW_THREADS;
13556 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
13557
13558 wxPy_END_ALLOW_THREADS;
13559 if (PyErr_Occurred()) return NULL;
13560 }{ _resultobj = wxPyMake_wxObject(_result); }
13561 return _resultobj;
13562 }
13563
13564 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13565 static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject * _resultobj;
13567 wxGridEditorCreatedEvent * _arg0;
13568 int _arg1;
13569 PyObject * _argo0 = 0;
13570 char *_kwnames[] = { "self","row", NULL };
13571
13572 self = self;
13573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
13574 return NULL;
13575 if (_argo0) {
13576 if (_argo0 == Py_None) { _arg0 = NULL; }
13577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13579 return NULL;
13580 }
13581 }
13582 {
13583 wxPy_BEGIN_ALLOW_THREADS;
13584 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
13585
13586 wxPy_END_ALLOW_THREADS;
13587 if (PyErr_Occurred()) return NULL;
13588 } Py_INCREF(Py_None);
13589 _resultobj = Py_None;
13590 return _resultobj;
13591 }
13592
13593 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13594 static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13595 PyObject * _resultobj;
13596 wxGridEditorCreatedEvent * _arg0;
13597 int _arg1;
13598 PyObject * _argo0 = 0;
13599 char *_kwnames[] = { "self","col", NULL };
13600
13601 self = self;
13602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
13603 return NULL;
13604 if (_argo0) {
13605 if (_argo0 == Py_None) { _arg0 = NULL; }
13606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13608 return NULL;
13609 }
13610 }
13611 {
13612 wxPy_BEGIN_ALLOW_THREADS;
13613 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
13614
13615 wxPy_END_ALLOW_THREADS;
13616 if (PyErr_Occurred()) return NULL;
13617 } Py_INCREF(Py_None);
13618 _resultobj = Py_None;
13619 return _resultobj;
13620 }
13621
13622 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13623 static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13624 PyObject * _resultobj;
13625 wxGridEditorCreatedEvent * _arg0;
13626 wxControl * _arg1;
13627 PyObject * _argo0 = 0;
13628 PyObject * _argo1 = 0;
13629 char *_kwnames[] = { "self","ctrl", NULL };
13630
13631 self = self;
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
13633 return NULL;
13634 if (_argo0) {
13635 if (_argo0 == Py_None) { _arg0 = NULL; }
13636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13638 return NULL;
13639 }
13640 }
13641 if (_argo1) {
13642 if (_argo1 == Py_None) { _arg1 = NULL; }
13643 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
13644 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13645 return NULL;
13646 }
13647 }
13648 {
13649 wxPy_BEGIN_ALLOW_THREADS;
13650 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
13651
13652 wxPy_END_ALLOW_THREADS;
13653 if (PyErr_Occurred()) return NULL;
13654 } Py_INCREF(Py_None);
13655 _resultobj = Py_None;
13656 return _resultobj;
13657 }
13658
13659 static PyMethodDef gridcMethods[] = {
13660 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
13661 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
13662 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
13663 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
13664 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13665 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13666 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
13667 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13668 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13669 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13670 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13671 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13672 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
13673 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
13674 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
13675 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
13676 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
13677 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
13678 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
13679 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13680 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13681 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13682 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13683 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13684 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
13685 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
13686 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13687 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13688 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13689 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13690 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13691 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13692 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13693 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13694 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
13695 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
13696 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
13697 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
13698 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
13699 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
13700 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
13701 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
13702 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
13703 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
13704 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
13705 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13706 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13707 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13708 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13709 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
13710 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
13711 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
13712 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
13713 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
13714 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
13715 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
13716 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
13717 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13718 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13719 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
13720 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
13721 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
13722 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13723 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
13724 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13725 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13726 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13727 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13728 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13729 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13730 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13731 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
13732 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13733 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13734 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13735 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13736 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13737 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
13738 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
13739 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
13740 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
13741 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
13742 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
13743 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
13744 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
13745 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13746 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
13747 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13748 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13749 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13750 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
13751 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13752 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13753 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13754 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13755 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13756 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
13757 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13758 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
13759 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13760 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
13761 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
13762 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
13763 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
13764 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
13765 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
13766 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13767 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13768 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
13769 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13770 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13771 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
13772 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
13773 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
13774 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
13775 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13776 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13777 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13778 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13779 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13780 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13781 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13782 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13783 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13784 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13785 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
13786 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13787 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13788 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13789 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13790 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13791 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13792 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13793 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13794 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13795 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13796 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13797 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13798 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
13799 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13800 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13801 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13802 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
13803 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13804 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13805 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
13806 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
13807 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
13808 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
13809 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
13810 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
13811 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
13812 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
13813 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
13814 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
13815 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
13816 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
13817 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
13818 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
13819 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
13820 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
13821 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
13822 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
13823 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
13824 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
13825 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
13826 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
13827 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
13828 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
13829 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
13830 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
13831 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
13832 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
13833 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13834 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13835 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
13836 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
13837 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
13838 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
13839 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
13840 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
13841 { "wxGrid_StringToLines", (PyCFunction) _wrap_wxGrid_StringToLines, METH_VARARGS | METH_KEYWORDS },
13842 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
13843 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
13844 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13845 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
13846 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
13847 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13848 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
13849 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
13850 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
13851 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
13852 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
13853 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
13854 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13855 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13856 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13857 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
13858 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
13859 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
13860 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
13861 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
13862 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
13863 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
13864 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
13865 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
13866 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13867 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13868 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13869 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13870 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
13871 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
13872 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
13873 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
13874 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
13875 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
13876 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13877 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13878 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
13879 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13880 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13881 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13882 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13883 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13884 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13885 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13886 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13887 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13888 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13889 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
13890 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
13891 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13892 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
13893 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
13894 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
13895 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13896 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13897 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13898 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
13899 { "wxPyGridTableBase__setSelf", (PyCFunction) _wrap_wxPyGridTableBase__setSelf, METH_VARARGS | METH_KEYWORDS },
13900 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
13901 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13902 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13903 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
13904 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
13905 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13906 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13907 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13908 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13909 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13910 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13911 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
13912 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
13913 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13914 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
13915 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
13916 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
13917 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13918 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13919 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13920 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13921 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13922 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13923 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13924 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13925 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13926 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
13927 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
13928 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
13929 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13930 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13931 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
13932 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
13933 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13934 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13935 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13936 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13937 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13938 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13939 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setSelf, METH_VARARGS | METH_KEYWORDS },
13940 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13941 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
13942 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
13943 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13944 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13945 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
13946 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
13947 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13948 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
13949 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13950 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
13951 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
13952 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13953 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13954 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13955 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
13956 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
13957 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13958 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13959 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13960 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13961 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13962 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
13963 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
13964 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13965 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13966 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13967 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13968 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13969 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13970 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13971 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
13972 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
13973 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
13974 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
13975 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
13976 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
13977 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
13978 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
13979 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
13980 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
13981 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13982 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
13983 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13984 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
13985 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
13986 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13987 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13988 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
13989 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
13990 { "wxPyGridCellEditor__setSelf", (PyCFunction) _wrap_wxPyGridCellEditor__setSelf, METH_VARARGS | METH_KEYWORDS },
13991 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
13992 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
13993 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13994 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
13995 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
13996 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13997 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13998 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
13999 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
14000 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
14001 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
14002 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
14003 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
14004 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
14005 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
14006 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
14007 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
14008 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
14009 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
14010 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
14011 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
14012 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
14013 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
14014 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
14015 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
14016 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
14017 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
14018 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
14019 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14020 { "wxPyGridCellRenderer__setSelf", (PyCFunction) _wrap_wxPyGridCellRenderer__setSelf, METH_VARARGS | METH_KEYWORDS },
14021 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
14022 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
14023 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
14024 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
14025 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
14026 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
14027 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
14028 { NULL, NULL }
14029 };
14030 #ifdef __cplusplus
14031 }
14032 #endif
14033 /*
14034 * This table is used by the pointer type-checker
14035 */
14036 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
14037 { "_wxEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14038 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14039 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14040 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14041 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14042 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14043 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
14044 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
14045 { "_signed_long","_long",0},
14046 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14047 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14048 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14049 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14050 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14051 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14052 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14053 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14054 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14055 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14056 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14057 { "_wxPrintQuality","_wxCoord",0},
14058 { "_wxPrintQuality","_int",0},
14059 { "_wxPrintQuality","_signed_int",0},
14060 { "_wxPrintQuality","_unsigned_int",0},
14061 { "_wxPrintQuality","_wxWindowID",0},
14062 { "_wxPrintQuality","_uint",0},
14063 { "_wxPrintQuality","_EBool",0},
14064 { "_wxPrintQuality","_size_t",0},
14065 { "_wxPrintQuality","_time_t",0},
14066 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
14067 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
14068 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14069 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14070 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14071 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14072 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14073 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14074 { "_byte","_unsigned_char",0},
14075 { "_long","_unsigned_long",0},
14076 { "_long","_signed_long",0},
14077 { "_class_wxObject","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14078 { "_class_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14079 { "_class_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14080 { "_class_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14081 { "_class_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14082 { "_class_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14083 { "_class_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject},
14084 { "_class_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14085 { "_class_wxObject","_class_wxGrid",SwigwxGridTowxObject},
14086 { "_class_wxObject","_wxGrid",SwigwxGridTowxObject},
14087 { "_class_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject},
14088 { "_class_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14089 { "_class_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14090 { "_class_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14091 { "_class_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14092 { "_class_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14093 { "_size_t","_WXGRIDSELECTIONMODES",0},
14094 { "_size_t","_wxCoord",0},
14095 { "_size_t","_wxPrintQuality",0},
14096 { "_size_t","_time_t",0},
14097 { "_size_t","_unsigned_int",0},
14098 { "_size_t","_int",0},
14099 { "_size_t","_wxWindowID",0},
14100 { "_size_t","_uint",0},
14101 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
14102 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
14103 { "_uint","_WXGRIDSELECTIONMODES",0},
14104 { "_uint","_wxCoord",0},
14105 { "_uint","_wxPrintQuality",0},
14106 { "_uint","_time_t",0},
14107 { "_uint","_size_t",0},
14108 { "_uint","_unsigned_int",0},
14109 { "_uint","_int",0},
14110 { "_uint","_wxWindowID",0},
14111 { "_wxChar","_char",0},
14112 { "_class_wxEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14113 { "_class_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14114 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14115 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14116 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14117 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14118 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
14119 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
14120 { "_wxCommandEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14121 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14122 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14123 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14124 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14125 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14126 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14127 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14128 { "_char","_wxChar",0},
14129 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14130 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14131 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14132 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14133 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14134 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14135 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14136 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14137 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14138 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14139 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14140 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14141 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14142 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14143 { "_EBool","_WXGRIDSELECTIONMODES",0},
14144 { "_EBool","_wxCoord",0},
14145 { "_EBool","_wxPrintQuality",0},
14146 { "_EBool","_signed_int",0},
14147 { "_EBool","_int",0},
14148 { "_EBool","_wxWindowID",0},
14149 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14150 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14151 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14152 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14153 { "_unsigned_long","_long",0},
14154 { "_WXGRIDSELECTIONMODES","_int",0},
14155 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14156 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14157 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14158 { "_WXGRIDSELECTIONMODES","_uint",0},
14159 { "_WXGRIDSELECTIONMODES","_EBool",0},
14160 { "_WXGRIDSELECTIONMODES","_size_t",0},
14161 { "_WXGRIDSELECTIONMODES","_time_t",0},
14162 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14163 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14164 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14165 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14166 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14167 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14168 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
14169 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
14170 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14171 { "_signed_int","_wxCoord",0},
14172 { "_signed_int","_wxPrintQuality",0},
14173 { "_signed_int","_EBool",0},
14174 { "_signed_int","_wxWindowID",0},
14175 { "_signed_int","_int",0},
14176 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14177 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14178 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14179 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14180 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14181 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14182 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14183 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14184 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14185 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14186 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14187 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14188 { "_WXTYPE","_short",0},
14189 { "_WXTYPE","_signed_short",0},
14190 { "_WXTYPE","_unsigned_short",0},
14191 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14192 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14193 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14194 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14195 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14196 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14197 { "_unsigned_short","_WXTYPE",0},
14198 { "_unsigned_short","_short",0},
14199 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
14200 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
14201 { "_wxObject","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14202 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14203 { "_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14204 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14205 { "_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14206 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14207 { "_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject},
14208 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14209 { "_wxObject","_class_wxGrid",SwigwxGridTowxObject},
14210 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
14211 { "_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject},
14212 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14213 { "_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14214 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14215 { "_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14216 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14217 { "_signed_short","_WXTYPE",0},
14218 { "_signed_short","_short",0},
14219 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
14220 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
14221 { "_unsigned_char","_byte",0},
14222 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14223 { "_unsigned_int","_wxCoord",0},
14224 { "_unsigned_int","_wxPrintQuality",0},
14225 { "_unsigned_int","_time_t",0},
14226 { "_unsigned_int","_size_t",0},
14227 { "_unsigned_int","_uint",0},
14228 { "_unsigned_int","_wxWindowID",0},
14229 { "_unsigned_int","_int",0},
14230 { "_short","_WXTYPE",0},
14231 { "_short","_unsigned_short",0},
14232 { "_short","_signed_short",0},
14233 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14234 { "_wxWindowID","_wxCoord",0},
14235 { "_wxWindowID","_wxPrintQuality",0},
14236 { "_wxWindowID","_time_t",0},
14237 { "_wxWindowID","_size_t",0},
14238 { "_wxWindowID","_EBool",0},
14239 { "_wxWindowID","_uint",0},
14240 { "_wxWindowID","_int",0},
14241 { "_wxWindowID","_signed_int",0},
14242 { "_wxWindowID","_unsigned_int",0},
14243 { "_int","_WXGRIDSELECTIONMODES",0},
14244 { "_int","_wxCoord",0},
14245 { "_int","_wxPrintQuality",0},
14246 { "_int","_time_t",0},
14247 { "_int","_size_t",0},
14248 { "_int","_EBool",0},
14249 { "_int","_uint",0},
14250 { "_int","_wxWindowID",0},
14251 { "_int","_unsigned_int",0},
14252 { "_int","_signed_int",0},
14253 { "_time_t","_WXGRIDSELECTIONMODES",0},
14254 { "_time_t","_wxCoord",0},
14255 { "_time_t","_wxPrintQuality",0},
14256 { "_time_t","_unsigned_int",0},
14257 { "_time_t","_int",0},
14258 { "_time_t","_wxWindowID",0},
14259 { "_time_t","_uint",0},
14260 { "_time_t","_size_t",0},
14261 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14262 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14263 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14264 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14265 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14266 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14267 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14268 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14269 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14270 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14271 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14272 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14273 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14274 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14275 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14276 { "_wxCoord","_int",0},
14277 { "_wxCoord","_signed_int",0},
14278 { "_wxCoord","_unsigned_int",0},
14279 { "_wxCoord","_wxWindowID",0},
14280 { "_wxCoord","_uint",0},
14281 { "_wxCoord","_EBool",0},
14282 { "_wxCoord","_size_t",0},
14283 { "_wxCoord","_time_t",0},
14284 { "_wxCoord","_wxPrintQuality",0},
14285 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14286 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14287 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14288 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14289 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14290 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14291 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14292 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14293 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14294 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14295 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14296 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14297 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14298 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14299 { "_class_wxCommandEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14300 { "_class_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14301 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14302 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14303 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14304 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14305 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14306 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14307 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
14308 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
14309 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
14310 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
14311 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
14312 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
14313 {0,0,0}};
14314
14315 static PyObject *SWIG_globals;
14316 #ifdef __cplusplus
14317 extern "C"
14318 #endif
14319 SWIGEXPORT(void) initgridc() {
14320 PyObject *m, *d;
14321 SWIG_globals = SWIG_newvarlink();
14322 m = Py_InitModule("gridc", gridcMethods);
14323 d = PyModule_GetDict(m);
14324 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14325 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14326 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14327 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14328 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14329 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14330 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14331 PyDict_SetItemString(d,"cvar", SWIG_globals);
14332 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14333 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14334 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14335 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14336 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14337 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14338 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14339 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14340 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14341 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14342 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14343 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14344 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14345 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14346 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14347 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14348 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14349 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14350 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14351 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14352 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14353 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14354 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14355 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14356 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
14357 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
14358
14359 wxClassInfo::CleanUpClasses();
14360 wxClassInfo::InitializeClasses();
14361 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14362 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14363 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14364 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14365 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14366 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
14367 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14368 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14369 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14370 {
14371 int i;
14372 for (i = 0; _swig_mapping[i].n1; i++)
14373 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14374 }
14375 }