]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid.cpp
Merged wxPython 2.2.2 over to the main branch
[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 810)
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 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initgridc
54
55 #define SWIG_name "gridc"
56
57 #include "helpers.h"
58 #include <wx/grid.h>
59
60 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
61 PyObject* o2;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106 static char* wxStringErrorMsg = "string type is required for parameter";
107
108 #define PYCALLBACK_GCA_INTINT(PCLASS, CBNAME) \
109 wxGridCellAttr* CBNAME(int a, int b) { \
110 wxGridCellAttr* rval = NULL; \
111 bool doSave = wxPyRestoreThread(); \
112 if (m_myInst.findCallback(#CBNAME)) { \
113 PyObject* ro; \
114 wxGridCellAttr* ptr; \
115 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)", a, b)); \
116 if (ro) { \
117 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
118 rval = ptr; \
119 Py_DECREF(ro); \
120 } \
121 } \
122 else \
123 rval = PCLASS::CBNAME(a, b); \
124 wxPySaveThread(doSave); \
125 return rval; \
126 } \
127 wxGridCellAttr *base_##CBNAME(int a, int b) { \
128 return PCLASS::CBNAME(a, b); \
129 }
130
131
132
133 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
134 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
135 bool doSave = wxPyRestoreThread(); \
136 if (m_myInst.findCallback(#CBNAME)) \
137 m_myInst.callCallback( \
138 Py_BuildValue("(Oii)", \
139 wxPyConstructObject((void*)attr, "wxGridCellAttr"), \
140 a, b)); \
141 else \
142 PCLASS::CBNAME(attr, a, b); \
143 wxPySaveThread(doSave); \
144 } \
145 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
146 PCLASS::CBNAME(attr, a, b); \
147 }
148
149
150
151 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
152 void CBNAME(wxGridCellAttr *attr, int val) { \
153 bool doSave = wxPyRestoreThread(); \
154 if (m_myInst.findCallback(#CBNAME)) \
155 m_myInst.callCallback( \
156 Py_BuildValue("(Oi)", \
157 wxPyConstructObject((void*)attr, "wxGridCellAttr"), \
158 val)); \
159 else \
160 PCLASS::CBNAME(attr, val); \
161 wxPySaveThread(doSave); \
162 } \
163 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
164 PCLASS::CBNAME(attr, val); \
165 }
166
167
168
169 #define PYCALLBACK_INT__pure(CBNAME) \
170 int CBNAME() { \
171 bool doSave = wxPyRestoreThread(); \
172 int rval = 0; \
173 if (m_myInst.findCallback(#CBNAME)) \
174 rval = m_myInst.callCallback(Py_BuildValue("()")); \
175 wxPySaveThread(doSave); \
176 return rval; \
177 }
178
179
180
181 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
182 bool CBNAME(int a, int b) { \
183 bool doSave = wxPyRestoreThread(); \
184 bool rval = 0; \
185 if (m_myInst.findCallback(#CBNAME)) \
186 rval = m_myInst.callCallback(Py_BuildValue("(ii)",a,b)); \
187 wxPySaveThread(doSave); \
188 return rval; \
189 }
190
191
192
193 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
194 wxString CBNAME(int a, int b) { \
195 bool doSave = wxPyRestoreThread(); \
196 wxString rval; \
197 if (m_myInst.findCallback(#CBNAME)) { \
198 PyObject* ro; \
199 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",a,b)); \
200 if (ro) { \
201 rval = PyString_AsString(PyObject_Str(ro)); \
202 Py_DECREF(ro); \
203 } \
204 } \
205 wxPySaveThread(doSave); \
206 return rval; \
207 }
208
209
210
211 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
212 void CBNAME(int a, int b, const wxString& c) { \
213 bool doSave = wxPyRestoreThread(); \
214 if (m_myInst.findCallback(#CBNAME)) \
215 m_myInst.callCallback(Py_BuildValue("(iis)",a,b,c.c_str())); \
216 wxPySaveThread(doSave); \
217 }
218
219
220 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
221 wxString CBNAME(int a, int b) { \
222 bool doSave = wxPyRestoreThread(); \
223 wxString rval; \
224 if (m_myInst.findCallback(#CBNAME)) { \
225 PyObject* ro; \
226 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",a,b)); \
227 if (ro) { \
228 rval = PyString_AsString(PyObject_Str(ro)); \
229 Py_DECREF(ro); \
230 } \
231 } else \
232 rval = PCLASS::CBNAME(a, b); \
233 wxPySaveThread(doSave); \
234 return rval; \
235 } \
236 wxString base_##CBNAME(int a, int b) { \
237 return PCLASS::CBNAME(a, b); \
238 }
239
240
241
242 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
243 bool CBNAME(int a, int b, const wxString& c) { \
244 bool rval; \
245 bool doSave = wxPyRestoreThread(); \
246 if (m_myInst.findCallback(#CBNAME)) \
247 rval = m_myInst.callCallback(Py_BuildValue("(iis)", a,b,c.c_str())); \
248 else \
249 rval = PCLASS::CBNAME(a,b,c); \
250 wxPySaveThread(doSave); \
251 return rval; \
252 } \
253 bool base_##CBNAME(int a, int b, const wxString& c) { \
254 return PCLASS::CBNAME(a,b,c); \
255 }
256
257
258
259
260 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
261 long CBNAME(int a, int b) { \
262 long rval; \
263 bool doSave = wxPyRestoreThread(); \
264 if (m_myInst.findCallback(#CBNAME)) \
265 rval = m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
266 else \
267 rval = PCLASS::CBNAME(a,b); \
268 wxPySaveThread(doSave); \
269 return rval; \
270 } \
271 long base_##CBNAME(int a, int b) { \
272 return PCLASS::CBNAME(a,b); \
273 }
274
275
276
277 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
278 bool CBNAME(int a, int b) { \
279 bool rval; \
280 bool doSave = wxPyRestoreThread(); \
281 if (m_myInst.findCallback(#CBNAME)) \
282 rval = m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
283 else \
284 rval = PCLASS::CBNAME(a,b); \
285 wxPySaveThread(doSave); \
286 return rval; \
287 } \
288 bool base_##CBNAME(int a, int b) { \
289 return PCLASS::CBNAME(a,b); \
290 }
291
292
293
294 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
295 double CBNAME(int a, int b) { \
296 bool doSave = wxPyRestoreThread(); \
297 double rval; \
298 if (m_myInst.findCallback(#CBNAME)) { \
299 PyObject* ro; \
300 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",a,b)); \
301 if (ro) { \
302 rval = PyFloat_AsDouble(PyObject_Str(ro)); \
303 Py_DECREF(ro); \
304 } \
305 } else \
306 rval = PCLASS::CBNAME(a, b); \
307 wxPySaveThread(doSave); \
308 return rval; \
309 } \
310 double base_##CBNAME(int a, int b) { \
311 return PCLASS::CBNAME(a, b); \
312 }
313
314
315
316 #define PYCALLBACK__(PCLASS, CBNAME) \
317 void CBNAME() { \
318 bool doSave = wxPyRestoreThread(); \
319 if (m_myInst.findCallback(#CBNAME)) \
320 m_myInst.callCallback(Py_BuildValue("()")); \
321 else \
322 PCLASS::CBNAME(); \
323 wxPySaveThread(doSave); \
324 } \
325 void base_##CBNAME() { \
326 PCLASS::CBNAME(); \
327 }
328
329
330
331
332 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
333 bool CBNAME(size_t a, size_t b) { \
334 bool rval; \
335 bool doSave = wxPyRestoreThread(); \
336 if (m_myInst.findCallback(#CBNAME)) \
337 rval = m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
338 else \
339 rval = PCLASS::CBNAME(a,b); \
340 wxPySaveThread(doSave); \
341 return rval; \
342 } \
343 bool base_##CBNAME(size_t a, size_t b) { \
344 return PCLASS::CBNAME(a,b); \
345 }
346
347
348
349 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
350 bool CBNAME(size_t a) { \
351 bool rval; \
352 bool doSave = wxPyRestoreThread(); \
353 if (m_myInst.findCallback(#CBNAME)) \
354 rval = m_myInst.callCallback(Py_BuildValue("(i)", a)); \
355 else \
356 rval = PCLASS::CBNAME(a); \
357 wxPySaveThread(doSave); \
358 return rval; \
359 } \
360 bool base_##CBNAME(size_t a) { \
361 return PCLASS::CBNAME(a); \
362 }
363
364
365
366 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
367 wxString CBNAME(int a) { \
368 bool doSave = wxPyRestoreThread(); \
369 wxString rval; \
370 if (m_myInst.findCallback(#CBNAME)) { \
371 PyObject* ro; \
372 ro = m_myInst.callCallbackObj(Py_BuildValue("(i)",a)); \
373 if (ro) { \
374 rval = PyString_AsString(PyObject_Str(ro)); \
375 Py_DECREF(ro); \
376 } \
377 } else \
378 rval = PCLASS::CBNAME(a); \
379 wxPySaveThread(doSave); \
380 return rval; \
381 } \
382 wxString base_##CBNAME(int a) { \
383 return PCLASS::CBNAME(a); \
384 }
385
386
387
388 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
389 void CBNAME(int a, const wxString& c) { \
390 bool doSave = wxPyRestoreThread(); \
391 if (m_myInst.findCallback(#CBNAME)) \
392 m_myInst.callCallback(Py_BuildValue("(is)", a,c.c_str())); \
393 else \
394 PCLASS::CBNAME(a,c); \
395 wxPySaveThread(doSave); \
396 } \
397 void base_##CBNAME(int a, const wxString& c) { \
398 PCLASS::CBNAME(a,c); \
399 }
400
401
402
403
404 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
405 bool CBNAME() { \
406 bool rval; \
407 bool doSave = wxPyRestoreThread(); \
408 if (m_myInst.findCallback(#CBNAME)) \
409 rval = m_myInst.callCallback(Py_BuildValue("()")); \
410 else \
411 rval = PCLASS::CBNAME(); \
412 wxPySaveThread(doSave); \
413 return rval; \
414 } \
415 bool base_##CBNAME() { \
416 return PCLASS::CBNAME(); \
417 }
418
419
420
421 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
422 void CBNAME(size_t a, int b) { \
423 bool doSave = wxPyRestoreThread(); \
424 if (m_myInst.findCallback(#CBNAME)) \
425 m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
426 else \
427 PCLASS::CBNAME(a,b); \
428 wxPySaveThread(doSave); \
429 } \
430 void base_##CBNAME(size_t a, int b) { \
431 PCLASS::CBNAME(a,b); \
432 }
433
434
435
436
437 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
438 void CBNAME(int a, int b, long c) { \
439 bool doSave = wxPyRestoreThread(); \
440 if (m_myInst.findCallback(#CBNAME)) \
441 m_myInst.callCallback(Py_BuildValue("(iii)", a,b,c)); \
442 else \
443 PCLASS::CBNAME(a,b,c); \
444 wxPySaveThread(doSave); \
445 } \
446 void base_##CBNAME(int a, int b, long c) { \
447 PCLASS::CBNAME(a,b,c); \
448 }
449
450
451
452
453 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
454 void CBNAME(int a, int b, double c) { \
455 bool doSave = wxPyRestoreThread(); \
456 if (m_myInst.findCallback(#CBNAME)) \
457 m_myInst.callCallback(Py_BuildValue("(iif)", a,b,c)); \
458 else \
459 PCLASS::CBNAME(a,b,c); \
460 wxPySaveThread(doSave); \
461 } \
462 void base_##CBNAME(int a, int b, double c) { \
463 PCLASS::CBNAME(a,b,c); \
464 }
465
466
467
468 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
469 void CBNAME(int a, int b, bool c) { \
470 bool doSave = wxPyRestoreThread(); \
471 if (m_myInst.findCallback(#CBNAME)) \
472 m_myInst.callCallback(Py_BuildValue("(iii)", a,b,c)); \
473 else \
474 PCLASS::CBNAME(a,b,c); \
475 wxPySaveThread(doSave); \
476 } \
477 void base_##CBNAME(int a, int b, bool c) { \
478 PCLASS::CBNAME(a,b,c); \
479 }
480
481
482
483
484
485 class wxPyGridCellRenderer : public wxGridCellRenderer
486 {
487 public:
488 wxPyGridCellRenderer() : wxGridCellRenderer() {};
489
490 // Implement Python callback aware virtual methods
491 void Draw(wxGrid& grid, wxGridCellAttr& attr,
492 wxDC& dc, const wxRect& rect,
493 int row, int col, bool isSelected) {
494 bool doSave = wxPyRestoreThread();
495 if (m_myInst.findCallback("Draw")) {
496 m_myInst.callCallback(
497 Py_BuildValue("(OOOOiii)",
498 wxPyConstructObject((void*)&grid, "wxGrid"),
499 wxPyConstructObject((void*)&attr, "wxGridCellAttr"),
500 wxPyConstructObject((void*)&dc, "wxDC"),
501 wxPyConstructObject((void*)&rect, "wxRect"),
502 row, col, isSelected));
503 }
504 wxPySaveThread(doSave);
505 }
506
507 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
508 int row, int col) {
509 wxSize rval;
510 bool doSave = wxPyRestoreThread();
511 if (m_myInst.findCallback("GetBestSize")) {
512 PyObject* ro;
513 wxSize* ptr;
514 ro = m_myInst.callCallbackObj(
515 Py_BuildValue("(OOOii)",
516 wxPyConstructObject((void*)&grid, "wxGrid"),
517 wxPyConstructObject((void*)&attr, "wxGridCellAttr"),
518 wxPyConstructObject((void*)&dc, "wxDC"),
519 row, col));
520 if (ro) {
521 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
522 rval = *ptr;
523 Py_DECREF(ro);
524 }
525 }
526 wxPySaveThread(doSave);
527 return rval;
528 }
529
530
531 wxGridCellRenderer *Clone() const {
532 wxGridCellRenderer* rval = NULL;
533 bool doSave = wxPyRestoreThread();
534 if (m_myInst.findCallback("Clone")) {
535 PyObject* ro;
536 wxGridCellRenderer* ptr;
537 ro = m_myInst.callCallbackObj(Py_BuildValue("()"));
538 if (ro) {
539 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
540 rval = ptr;
541 Py_DECREF(ro);
542 }
543 }
544 wxPySaveThread(doSave);
545 return rval;
546 }
547
548 DEC_PYCALLBACK__STRING(SetParameters);
549
550 PYPRIVATE;
551 };
552
553 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
554
555
556 class wxPyGridCellEditor : public wxGridCellEditor
557 {
558 public:
559 wxPyGridCellEditor() : wxGridCellEditor() {}
560
561 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
562 bool doSave = wxPyRestoreThread();
563 if (m_myInst.findCallback("Create")) {
564 m_myInst.callCallback(
565 Py_BuildValue("(OiO)",
566 wxPyConstructObject((void*)parent, "wxWindow"),
567 id,
568 wxPyConstructObject((void*)evtHandler, "wxEvtHandler")));
569 }
570 wxPySaveThread(doSave);
571 }
572
573
574 void BeginEdit(int row, int col, wxGrid* grid) {
575 bool doSave = wxPyRestoreThread();
576 if (m_myInst.findCallback("BeginEdit")) {
577 m_myInst.callCallback(
578 Py_BuildValue("(iiO)", row, col,
579 wxPyConstructObject((void*)grid, "wxGrid")));
580 }
581 wxPySaveThread(doSave);
582 }
583
584
585 bool EndEdit(int row, int col, wxGrid* grid) {
586 bool rv = FALSE;
587 bool doSave = wxPyRestoreThread();
588 if (m_myInst.findCallback("EndEdit")) {
589 rv = m_myInst.callCallback(
590 Py_BuildValue("(iiO)", row, col,
591 wxPyConstructObject((void*)grid, "wxGrid")));
592 }
593 wxPySaveThread(doSave);
594 return rv;
595 }
596
597
598 wxGridCellEditor*Clone() const {
599 wxGridCellEditor* rval = NULL;
600 bool doSave = wxPyRestoreThread();
601 if (m_myInst.findCallback("Clone")) {
602 PyObject* ro;
603 wxGridCellEditor* ptr;
604 ro = m_myInst.callCallbackObj(Py_BuildValue("()"));
605 if (ro) {
606 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
607 rval = ptr;
608 Py_DECREF(ro);
609 }
610 }
611 wxPySaveThread(doSave);
612 return rval;
613 }
614
615
616 void Show(bool show, wxGridCellAttr *attr) {
617 bool doSave = wxPyRestoreThread();
618 if (m_myInst.findCallback("Show"))
619 m_myInst.callCallback(
620 Py_BuildValue("(iO)", show,
621 wxPyConstructObject((void*)attr, "wxGridCellAttr")));
622 else
623 wxGridCellEditor::Show(show, attr);
624 wxPySaveThread(doSave);
625 }
626 void base_Show(bool show, wxGridCellAttr *attr) {
627 wxGridCellEditor::Show(show, attr);
628 }
629
630
631 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
632 bool doSave = wxPyRestoreThread();
633 if (m_myInst.findCallback("PaintBackground"))
634 m_myInst.callCallback(
635 Py_BuildValue("(OO)",
636 wxPyConstructObject((void*)&rectCell, "wxRect"),
637 wxPyConstructObject((void*)attr, "wxGridCellAttr")));
638 else
639 wxGridCellEditor::PaintBackground(rectCell, attr);
640 wxPySaveThread(doSave);
641 }
642 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
643 wxGridCellEditor::PaintBackground(rectCell, attr);
644 }
645
646
647 DEC_PYCALLBACK___pure(Reset);
648 DEC_PYCALLBACK__constany(SetSize, wxRect);
649 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
650 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
651 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
652 DEC_PYCALLBACK__(StartingClick);
653 DEC_PYCALLBACK__(Destroy);
654 DEC_PYCALLBACK__STRING(SetParameters);
655
656 PYPRIVATE;
657 };
658
659
660 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
661 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
662 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
663 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
664 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
665 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
666 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
667 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
668
669
670 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
671 {
672 public:
673 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
674
675 PYCALLBACK_GCA_INTINT(wxGridCellAttrProvider, GetAttr);
676 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
677 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
678 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
679
680 PYPRIVATE;
681 };
682
683 class wxPyGridTableBase : public wxGridTableBase
684 {
685 public:
686 wxPyGridTableBase() : wxGridTableBase() {}
687
688 PYCALLBACK_INT__pure(GetNumberRows);
689 PYCALLBACK_INT__pure(GetNumberCols);
690 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
691 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
692 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
693 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
694 PYCALLBACK__(wxGridTableBase, Clear);
695 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
696 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
697 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
698 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
699 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
700 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
701 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
702 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
703 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
704 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
705 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
706 PYCALLBACK_GCA_INTINT(wxGridTableBase, GetAttr);
707 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
708 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
709 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
710
711
712
713 wxString GetValue(int row, int col) {
714 bool doSave = wxPyRestoreThread();
715 wxString rval;
716 if (m_myInst.findCallback("GetValue")) {
717 PyObject* ro;
718 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",row,col));
719 if (ro) {
720 rval = PyString_AsString(PyObject_Str(ro));
721 Py_DECREF(ro);
722 }
723 }
724 wxPySaveThread(doSave);
725 return rval;
726 }
727
728 void SetValue(int row, int col, const wxString& val) {
729 bool doSave = wxPyRestoreThread();
730 if (m_myInst.findCallback("SetValue"))
731 m_myInst.callCallback(Py_BuildValue("(iis)",row,col,val.c_str()));
732 wxPySaveThread(doSave);
733 }
734
735
736 // Map the Get/Set methods for the standard non-string types to
737 // the GetValue and SetValue python methods.
738 long GetValueAsLong( int row, int col ) {
739 long rval = 0;
740 bool doSave = wxPyRestoreThread();
741 if (m_myInst.findCallback("GetValue")) {
742 PyObject* ro;
743 PyObject* num;
744 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)", row, col));
745 if (ro && PyNumber_Check(ro)) {
746 num = PyNumber_Int(ro);
747 if (num) {
748 rval = PyInt_AsLong(num);
749 Py_DECREF(num);
750 }
751 Py_DECREF(ro);
752 }
753 }
754 wxPySaveThread(doSave);
755 return rval;
756 }
757
758 double GetValueAsDouble( int row, int col ) {
759 double rval = 0.0;
760 bool doSave = wxPyRestoreThread();
761 if (m_myInst.findCallback("GetValue")) {
762 PyObject* ro;
763 PyObject* num;
764 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)", row, col));
765 if (ro && PyNumber_Check(ro)) {
766 num = PyNumber_Float(ro);
767 if (num) {
768 rval = PyFloat_AsDouble(num);
769 Py_DECREF(num);
770 }
771 Py_DECREF(ro);
772 }
773 }
774 wxPySaveThread(doSave);
775 return rval;
776 }
777
778 bool GetValueAsBool( int row, int col ) {
779 return (bool)GetValueAsLong(row, col);
780 }
781
782 void SetValueAsLong( int row, int col, long value ) {
783 bool doSave = wxPyRestoreThread();
784 if (m_myInst.findCallback("SetValue")) {
785 m_myInst.callCallback(Py_BuildValue("(iii)", row, col, value));
786 }
787 wxPySaveThread(doSave);
788 }
789
790 void SetValueAsDouble( int row, int col, double value ) {
791 bool doSave = wxPyRestoreThread();
792 if (m_myInst.findCallback("SetValue")) {
793 m_myInst.callCallback(Py_BuildValue("(iid)", row, col, value));
794 }
795 wxPySaveThread(doSave);
796 }
797
798 void SetValueAsBool( int row, int col, bool value ) {
799 SetValueAsLong( row, col, (long)value );
800 }
801
802
803 PYPRIVATE;
804 };
805
806 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
807
808 // If source is an object instance then it may already be the right type
809 if (PyInstance_Check(source)) {
810 wxGridCellCoords* ptr;
811 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
812 goto error;
813 *obj = ptr;
814 return TRUE;
815 }
816 // otherwise a 2-tuple of integers is expected
817 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
818 PyObject* o1 = PySequence_GetItem(source, 0);
819 PyObject* o2 = PySequence_GetItem(source, 1);
820 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
821 return TRUE;
822 }
823
824 error:
825 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
826 return FALSE;
827 }
828
829 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
830 #ifdef __cplusplus
831 extern "C" {
832 #endif
833 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
834
835 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
836 return 1;
837 }
838
839 static PyObject *_wrap_wxGridNoCellCoords_get() {
840 PyObject * pyobj;
841 char ptemp[128];
842
843 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
844 pyobj = PyString_FromString(ptemp);
845 return pyobj;
846 }
847
848 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
849
850 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
851 return 1;
852 }
853
854 static PyObject *_wrap_wxGridNoCellRect_get() {
855 PyObject * pyobj;
856 char ptemp[128];
857
858 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
859 pyobj = PyString_FromString(ptemp);
860 return pyobj;
861 }
862
863 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
864 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
865 PyObject * _resultobj;
866 wxGridCellRenderer * _arg0;
867 wxString * _arg1;
868 PyObject * _argo0 = 0;
869 PyObject * _obj1 = 0;
870 char *_kwnames[] = { "self","params", NULL };
871
872 self = self;
873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
874 return NULL;
875 if (_argo0) {
876 if (_argo0 == Py_None) { _arg0 = NULL; }
877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
879 return NULL;
880 }
881 }
882 {
883 if (!PyString_Check(_obj1)) {
884 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
885 return NULL;
886 }
887 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
888 }
889 {
890 wxPy_BEGIN_ALLOW_THREADS;
891 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
892
893 wxPy_END_ALLOW_THREADS;
894 } Py_INCREF(Py_None);
895 _resultobj = Py_None;
896 {
897 if (_obj1)
898 delete _arg1;
899 }
900 return _resultobj;
901 }
902
903 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
904 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject * _resultobj;
906 wxGridCellRenderer * _arg0;
907 PyObject * _argo0 = 0;
908 char *_kwnames[] = { "self", NULL };
909
910 self = self;
911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
912 return NULL;
913 if (_argo0) {
914 if (_argo0 == Py_None) { _arg0 = NULL; }
915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
917 return NULL;
918 }
919 }
920 {
921 wxPy_BEGIN_ALLOW_THREADS;
922 wxGridCellRenderer_IncRef(_arg0);
923
924 wxPy_END_ALLOW_THREADS;
925 } Py_INCREF(Py_None);
926 _resultobj = Py_None;
927 return _resultobj;
928 }
929
930 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
931 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
932 PyObject * _resultobj;
933 wxGridCellRenderer * _arg0;
934 PyObject * _argo0 = 0;
935 char *_kwnames[] = { "self", NULL };
936
937 self = self;
938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
939 return NULL;
940 if (_argo0) {
941 if (_argo0 == Py_None) { _arg0 = NULL; }
942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
944 return NULL;
945 }
946 }
947 {
948 wxPy_BEGIN_ALLOW_THREADS;
949 wxGridCellRenderer_DecRef(_arg0);
950
951 wxPy_END_ALLOW_THREADS;
952 } Py_INCREF(Py_None);
953 _resultobj = Py_None;
954 return _resultobj;
955 }
956
957 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
958 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
959 PyObject * _resultobj;
960 wxGridCellRenderer * _arg0;
961 wxGrid * _arg1;
962 wxGridCellAttr * _arg2;
963 wxDC * _arg3;
964 wxRect * _arg4;
965 int _arg5;
966 int _arg6;
967 bool _arg7;
968 PyObject * _argo0 = 0;
969 PyObject * _argo1 = 0;
970 PyObject * _argo2 = 0;
971 PyObject * _argo3 = 0;
972 wxRect temp;
973 PyObject * _obj4 = 0;
974 int tempbool7;
975 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
976
977 self = self;
978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
979 return NULL;
980 if (_argo0) {
981 if (_argo0 == Py_None) { _arg0 = NULL; }
982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
984 return NULL;
985 }
986 }
987 if (_argo1) {
988 if (_argo1 == Py_None) { _arg1 = NULL; }
989 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
990 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
991 return NULL;
992 }
993 }
994 if (_argo2) {
995 if (_argo2 == Py_None) { _arg2 = NULL; }
996 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
997 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
998 return NULL;
999 }
1000 }
1001 if (_argo3) {
1002 if (_argo3 == Py_None) { _arg3 = NULL; }
1003 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1004 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1005 return NULL;
1006 }
1007 }
1008 {
1009 _arg4 = &temp;
1010 if (! wxRect_helper(_obj4, &_arg4))
1011 return NULL;
1012 }
1013 _arg7 = (bool ) tempbool7;
1014 {
1015 wxPy_BEGIN_ALLOW_THREADS;
1016 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1017
1018 wxPy_END_ALLOW_THREADS;
1019 } Py_INCREF(Py_None);
1020 _resultobj = Py_None;
1021 return _resultobj;
1022 }
1023
1024 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1025 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1026 PyObject * _resultobj;
1027 wxSize * _result;
1028 wxGridCellRenderer * _arg0;
1029 wxGrid * _arg1;
1030 wxGridCellAttr * _arg2;
1031 wxDC * _arg3;
1032 int _arg4;
1033 int _arg5;
1034 PyObject * _argo0 = 0;
1035 PyObject * _argo1 = 0;
1036 PyObject * _argo2 = 0;
1037 PyObject * _argo3 = 0;
1038 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1039 char _ptemp[128];
1040
1041 self = self;
1042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1043 return NULL;
1044 if (_argo0) {
1045 if (_argo0 == Py_None) { _arg0 = NULL; }
1046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1048 return NULL;
1049 }
1050 }
1051 if (_argo1) {
1052 if (_argo1 == Py_None) { _arg1 = NULL; }
1053 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1054 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1055 return NULL;
1056 }
1057 }
1058 if (_argo2) {
1059 if (_argo2 == Py_None) { _arg2 = NULL; }
1060 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1061 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1062 return NULL;
1063 }
1064 }
1065 if (_argo3) {
1066 if (_argo3 == Py_None) { _arg3 = NULL; }
1067 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1068 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1069 return NULL;
1070 }
1071 }
1072 {
1073 wxPy_BEGIN_ALLOW_THREADS;
1074 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1075
1076 wxPy_END_ALLOW_THREADS;
1077 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1078 _resultobj = Py_BuildValue("s",_ptemp);
1079 return _resultobj;
1080 }
1081
1082 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1083 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1084 PyObject * _resultobj;
1085 wxGridCellRenderer * _result;
1086 wxGridCellRenderer * _arg0;
1087 PyObject * _argo0 = 0;
1088 char *_kwnames[] = { "self", NULL };
1089 char _ptemp[128];
1090
1091 self = self;
1092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1093 return NULL;
1094 if (_argo0) {
1095 if (_argo0 == Py_None) { _arg0 = NULL; }
1096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1098 return NULL;
1099 }
1100 }
1101 {
1102 wxPy_BEGIN_ALLOW_THREADS;
1103 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1104
1105 wxPy_END_ALLOW_THREADS;
1106 } if (_result) {
1107 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1108 _resultobj = Py_BuildValue("s",_ptemp);
1109 } else {
1110 Py_INCREF(Py_None);
1111 _resultobj = Py_None;
1112 }
1113 return _resultobj;
1114 }
1115
1116 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1117 wxPyGridCellRenderer *src;
1118 wxGridCellRenderer *dest;
1119 src = (wxPyGridCellRenderer *) ptr;
1120 dest = (wxGridCellRenderer *) src;
1121 return (void *) dest;
1122 }
1123
1124 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1125 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1126 PyObject * _resultobj;
1127 wxPyGridCellRenderer * _result;
1128 char *_kwnames[] = { NULL };
1129 char _ptemp[128];
1130
1131 self = self;
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1133 return NULL;
1134 {
1135 wxPy_BEGIN_ALLOW_THREADS;
1136 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1137
1138 wxPy_END_ALLOW_THREADS;
1139 } if (_result) {
1140 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1141 _resultobj = Py_BuildValue("s",_ptemp);
1142 } else {
1143 Py_INCREF(Py_None);
1144 _resultobj = Py_None;
1145 }
1146 return _resultobj;
1147 }
1148
1149 #define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1150 static PyObject *_wrap_wxPyGridCellRenderer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1151 PyObject * _resultobj;
1152 wxPyGridCellRenderer * _arg0;
1153 PyObject * _arg1;
1154 PyObject * _arg2;
1155 PyObject * _argo0 = 0;
1156 PyObject * _obj1 = 0;
1157 PyObject * _obj2 = 0;
1158 char *_kwnames[] = { "self","self","_class", NULL };
1159
1160 self = self;
1161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1162 return NULL;
1163 if (_argo0) {
1164 if (_argo0 == Py_None) { _arg0 = NULL; }
1165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1167 return NULL;
1168 }
1169 }
1170 {
1171 _arg1 = _obj1;
1172 }
1173 {
1174 _arg2 = _obj2;
1175 }
1176 {
1177 wxPy_BEGIN_ALLOW_THREADS;
1178 wxPyGridCellRenderer__setSelf(_arg0,_arg1,_arg2);
1179
1180 wxPy_END_ALLOW_THREADS;
1181 } Py_INCREF(Py_None);
1182 _resultobj = Py_None;
1183 return _resultobj;
1184 }
1185
1186 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1187 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1188 PyObject * _resultobj;
1189 wxPyGridCellRenderer * _arg0;
1190 wxString * _arg1;
1191 PyObject * _argo0 = 0;
1192 PyObject * _obj1 = 0;
1193 char *_kwnames[] = { "self","params", NULL };
1194
1195 self = self;
1196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1197 return NULL;
1198 if (_argo0) {
1199 if (_argo0 == Py_None) { _arg0 = NULL; }
1200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1202 return NULL;
1203 }
1204 }
1205 {
1206 if (!PyString_Check(_obj1)) {
1207 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1208 return NULL;
1209 }
1210 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1211 }
1212 {
1213 wxPy_BEGIN_ALLOW_THREADS;
1214 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1215
1216 wxPy_END_ALLOW_THREADS;
1217 } Py_INCREF(Py_None);
1218 _resultobj = Py_None;
1219 {
1220 if (_obj1)
1221 delete _arg1;
1222 }
1223 return _resultobj;
1224 }
1225
1226 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1227 wxGridCellStringRenderer *src;
1228 wxGridCellRenderer *dest;
1229 src = (wxGridCellStringRenderer *) ptr;
1230 dest = (wxGridCellRenderer *) src;
1231 return (void *) dest;
1232 }
1233
1234 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1235 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject * _resultobj;
1237 wxGridCellStringRenderer * _result;
1238 char *_kwnames[] = { NULL };
1239 char _ptemp[128];
1240
1241 self = self;
1242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1243 return NULL;
1244 {
1245 wxPy_BEGIN_ALLOW_THREADS;
1246 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1247
1248 wxPy_END_ALLOW_THREADS;
1249 } if (_result) {
1250 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1251 _resultobj = Py_BuildValue("s",_ptemp);
1252 } else {
1253 Py_INCREF(Py_None);
1254 _resultobj = Py_None;
1255 }
1256 return _resultobj;
1257 }
1258
1259 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1260 wxGridCellNumberRenderer *src;
1261 wxGridCellStringRenderer *dest;
1262 src = (wxGridCellNumberRenderer *) ptr;
1263 dest = (wxGridCellStringRenderer *) src;
1264 return (void *) dest;
1265 }
1266
1267 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1268 wxGridCellNumberRenderer *src;
1269 wxGridCellRenderer *dest;
1270 src = (wxGridCellNumberRenderer *) ptr;
1271 dest = (wxGridCellRenderer *) src;
1272 return (void *) dest;
1273 }
1274
1275 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1276 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1277 PyObject * _resultobj;
1278 wxGridCellNumberRenderer * _result;
1279 char *_kwnames[] = { NULL };
1280 char _ptemp[128];
1281
1282 self = self;
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1284 return NULL;
1285 {
1286 wxPy_BEGIN_ALLOW_THREADS;
1287 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1288
1289 wxPy_END_ALLOW_THREADS;
1290 } if (_result) {
1291 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1292 _resultobj = Py_BuildValue("s",_ptemp);
1293 } else {
1294 Py_INCREF(Py_None);
1295 _resultobj = Py_None;
1296 }
1297 return _resultobj;
1298 }
1299
1300 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1301 wxGridCellFloatRenderer *src;
1302 wxGridCellStringRenderer *dest;
1303 src = (wxGridCellFloatRenderer *) ptr;
1304 dest = (wxGridCellStringRenderer *) src;
1305 return (void *) dest;
1306 }
1307
1308 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1309 wxGridCellFloatRenderer *src;
1310 wxGridCellRenderer *dest;
1311 src = (wxGridCellFloatRenderer *) ptr;
1312 dest = (wxGridCellRenderer *) src;
1313 return (void *) dest;
1314 }
1315
1316 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1317 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject * _resultobj;
1319 wxGridCellFloatRenderer * _result;
1320 int _arg0 = (int ) -1;
1321 int _arg1 = (int ) -1;
1322 char *_kwnames[] = { "width","precision", NULL };
1323 char _ptemp[128];
1324
1325 self = self;
1326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1327 return NULL;
1328 {
1329 wxPy_BEGIN_ALLOW_THREADS;
1330 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1331
1332 wxPy_END_ALLOW_THREADS;
1333 } if (_result) {
1334 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1335 _resultobj = Py_BuildValue("s",_ptemp);
1336 } else {
1337 Py_INCREF(Py_None);
1338 _resultobj = Py_None;
1339 }
1340 return _resultobj;
1341 }
1342
1343 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1344 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1345 PyObject * _resultobj;
1346 int _result;
1347 wxGridCellFloatRenderer * _arg0;
1348 PyObject * _argo0 = 0;
1349 char *_kwnames[] = { "self", NULL };
1350
1351 self = self;
1352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1353 return NULL;
1354 if (_argo0) {
1355 if (_argo0 == Py_None) { _arg0 = NULL; }
1356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1358 return NULL;
1359 }
1360 }
1361 {
1362 wxPy_BEGIN_ALLOW_THREADS;
1363 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1364
1365 wxPy_END_ALLOW_THREADS;
1366 } _resultobj = Py_BuildValue("i",_result);
1367 return _resultobj;
1368 }
1369
1370 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1371 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject * _resultobj;
1373 wxGridCellFloatRenderer * _arg0;
1374 int _arg1;
1375 PyObject * _argo0 = 0;
1376 char *_kwnames[] = { "self","width", NULL };
1377
1378 self = self;
1379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1380 return NULL;
1381 if (_argo0) {
1382 if (_argo0 == Py_None) { _arg0 = NULL; }
1383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1385 return NULL;
1386 }
1387 }
1388 {
1389 wxPy_BEGIN_ALLOW_THREADS;
1390 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1391
1392 wxPy_END_ALLOW_THREADS;
1393 } Py_INCREF(Py_None);
1394 _resultobj = Py_None;
1395 return _resultobj;
1396 }
1397
1398 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1399 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1400 PyObject * _resultobj;
1401 int _result;
1402 wxGridCellFloatRenderer * _arg0;
1403 PyObject * _argo0 = 0;
1404 char *_kwnames[] = { "self", NULL };
1405
1406 self = self;
1407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1408 return NULL;
1409 if (_argo0) {
1410 if (_argo0 == Py_None) { _arg0 = NULL; }
1411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1413 return NULL;
1414 }
1415 }
1416 {
1417 wxPy_BEGIN_ALLOW_THREADS;
1418 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1419
1420 wxPy_END_ALLOW_THREADS;
1421 } _resultobj = Py_BuildValue("i",_result);
1422 return _resultobj;
1423 }
1424
1425 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1426 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1427 PyObject * _resultobj;
1428 wxGridCellFloatRenderer * _arg0;
1429 int _arg1;
1430 PyObject * _argo0 = 0;
1431 char *_kwnames[] = { "self","precision", NULL };
1432
1433 self = self;
1434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
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_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1440 return NULL;
1441 }
1442 }
1443 {
1444 wxPy_BEGIN_ALLOW_THREADS;
1445 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1446
1447 wxPy_END_ALLOW_THREADS;
1448 } Py_INCREF(Py_None);
1449 _resultobj = Py_None;
1450 return _resultobj;
1451 }
1452
1453 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1454 wxGridCellBoolRenderer *src;
1455 wxGridCellRenderer *dest;
1456 src = (wxGridCellBoolRenderer *) ptr;
1457 dest = (wxGridCellRenderer *) src;
1458 return (void *) dest;
1459 }
1460
1461 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1462 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1463 PyObject * _resultobj;
1464 wxGridCellBoolRenderer * _result;
1465 char *_kwnames[] = { NULL };
1466 char _ptemp[128];
1467
1468 self = self;
1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1470 return NULL;
1471 {
1472 wxPy_BEGIN_ALLOW_THREADS;
1473 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1474
1475 wxPy_END_ALLOW_THREADS;
1476 } if (_result) {
1477 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1478 _resultobj = Py_BuildValue("s",_ptemp);
1479 } else {
1480 Py_INCREF(Py_None);
1481 _resultobj = Py_None;
1482 }
1483 return _resultobj;
1484 }
1485
1486 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1487 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject * _resultobj;
1489 bool _result;
1490 wxGridCellEditor * _arg0;
1491 PyObject * _argo0 = 0;
1492 char *_kwnames[] = { "self", NULL };
1493
1494 self = self;
1495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1496 return NULL;
1497 if (_argo0) {
1498 if (_argo0 == Py_None) { _arg0 = NULL; }
1499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1501 return NULL;
1502 }
1503 }
1504 {
1505 wxPy_BEGIN_ALLOW_THREADS;
1506 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1507
1508 wxPy_END_ALLOW_THREADS;
1509 } _resultobj = Py_BuildValue("i",_result);
1510 return _resultobj;
1511 }
1512
1513 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1514 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1515 PyObject * _resultobj;
1516 wxControl * _result;
1517 wxGridCellEditor * _arg0;
1518 PyObject * _argo0 = 0;
1519 char *_kwnames[] = { "self", NULL };
1520 char _ptemp[128];
1521
1522 self = self;
1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1524 return NULL;
1525 if (_argo0) {
1526 if (_argo0 == Py_None) { _arg0 = NULL; }
1527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1529 return NULL;
1530 }
1531 }
1532 {
1533 wxPy_BEGIN_ALLOW_THREADS;
1534 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1535
1536 wxPy_END_ALLOW_THREADS;
1537 } if (_result) {
1538 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
1539 _resultobj = Py_BuildValue("s",_ptemp);
1540 } else {
1541 Py_INCREF(Py_None);
1542 _resultobj = Py_None;
1543 }
1544 return _resultobj;
1545 }
1546
1547 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1548 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject * _resultobj;
1550 wxGridCellEditor * _arg0;
1551 wxControl * _arg1;
1552 PyObject * _argo0 = 0;
1553 PyObject * _argo1 = 0;
1554 char *_kwnames[] = { "self","control", NULL };
1555
1556 self = self;
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1558 return NULL;
1559 if (_argo0) {
1560 if (_argo0 == Py_None) { _arg0 = NULL; }
1561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1563 return NULL;
1564 }
1565 }
1566 if (_argo1) {
1567 if (_argo1 == Py_None) { _arg1 = NULL; }
1568 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1569 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1570 return NULL;
1571 }
1572 }
1573 {
1574 wxPy_BEGIN_ALLOW_THREADS;
1575 wxGridCellEditor_SetControl(_arg0,_arg1);
1576
1577 wxPy_END_ALLOW_THREADS;
1578 } Py_INCREF(Py_None);
1579 _resultobj = Py_None;
1580 return _resultobj;
1581 }
1582
1583 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1584 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject * _resultobj;
1586 wxGridCellEditor * _arg0;
1587 wxString * _arg1;
1588 PyObject * _argo0 = 0;
1589 PyObject * _obj1 = 0;
1590 char *_kwnames[] = { "self","params", NULL };
1591
1592 self = self;
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1594 return NULL;
1595 if (_argo0) {
1596 if (_argo0 == Py_None) { _arg0 = NULL; }
1597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1599 return NULL;
1600 }
1601 }
1602 {
1603 if (!PyString_Check(_obj1)) {
1604 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1605 return NULL;
1606 }
1607 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1608 }
1609 {
1610 wxPy_BEGIN_ALLOW_THREADS;
1611 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1612
1613 wxPy_END_ALLOW_THREADS;
1614 } Py_INCREF(Py_None);
1615 _resultobj = Py_None;
1616 {
1617 if (_obj1)
1618 delete _arg1;
1619 }
1620 return _resultobj;
1621 }
1622
1623 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1624 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1625 PyObject * _resultobj;
1626 wxGridCellEditor * _arg0;
1627 PyObject * _argo0 = 0;
1628 char *_kwnames[] = { "self", NULL };
1629
1630 self = self;
1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1632 return NULL;
1633 if (_argo0) {
1634 if (_argo0 == Py_None) { _arg0 = NULL; }
1635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1637 return NULL;
1638 }
1639 }
1640 {
1641 wxPy_BEGIN_ALLOW_THREADS;
1642 wxGridCellEditor_IncRef(_arg0);
1643
1644 wxPy_END_ALLOW_THREADS;
1645 } Py_INCREF(Py_None);
1646 _resultobj = Py_None;
1647 return _resultobj;
1648 }
1649
1650 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1651 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1652 PyObject * _resultobj;
1653 wxGridCellEditor * _arg0;
1654 PyObject * _argo0 = 0;
1655 char *_kwnames[] = { "self", NULL };
1656
1657 self = self;
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1659 return NULL;
1660 if (_argo0) {
1661 if (_argo0 == Py_None) { _arg0 = NULL; }
1662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1664 return NULL;
1665 }
1666 }
1667 {
1668 wxPy_BEGIN_ALLOW_THREADS;
1669 wxGridCellEditor_DecRef(_arg0);
1670
1671 wxPy_END_ALLOW_THREADS;
1672 } Py_INCREF(Py_None);
1673 _resultobj = Py_None;
1674 return _resultobj;
1675 }
1676
1677 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1678 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1679 PyObject * _resultobj;
1680 wxGridCellEditor * _arg0;
1681 wxWindow * _arg1;
1682 wxWindowID _arg2;
1683 wxEvtHandler * _arg3;
1684 PyObject * _argo0 = 0;
1685 PyObject * _argo1 = 0;
1686 PyObject * _argo3 = 0;
1687 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1688
1689 self = self;
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1691 return NULL;
1692 if (_argo0) {
1693 if (_argo0 == Py_None) { _arg0 = NULL; }
1694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1696 return NULL;
1697 }
1698 }
1699 if (_argo1) {
1700 if (_argo1 == Py_None) { _arg1 = NULL; }
1701 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1702 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1703 return NULL;
1704 }
1705 }
1706 if (_argo3) {
1707 if (_argo3 == Py_None) { _arg3 = NULL; }
1708 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1709 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1710 return NULL;
1711 }
1712 }
1713 {
1714 wxPy_BEGIN_ALLOW_THREADS;
1715 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1716
1717 wxPy_END_ALLOW_THREADS;
1718 } Py_INCREF(Py_None);
1719 _resultobj = Py_None;
1720 return _resultobj;
1721 }
1722
1723 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1724 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1725 PyObject * _resultobj;
1726 wxGridCellEditor * _arg0;
1727 int _arg1;
1728 int _arg2;
1729 wxGrid * _arg3;
1730 PyObject * _argo0 = 0;
1731 PyObject * _argo3 = 0;
1732 char *_kwnames[] = { "self","row","col","grid", NULL };
1733
1734 self = self;
1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1736 return NULL;
1737 if (_argo0) {
1738 if (_argo0 == Py_None) { _arg0 = NULL; }
1739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1741 return NULL;
1742 }
1743 }
1744 if (_argo3) {
1745 if (_argo3 == Py_None) { _arg3 = NULL; }
1746 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1747 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1748 return NULL;
1749 }
1750 }
1751 {
1752 wxPy_BEGIN_ALLOW_THREADS;
1753 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1754
1755 wxPy_END_ALLOW_THREADS;
1756 } Py_INCREF(Py_None);
1757 _resultobj = Py_None;
1758 return _resultobj;
1759 }
1760
1761 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1762 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1763 PyObject * _resultobj;
1764 bool _result;
1765 wxGridCellEditor * _arg0;
1766 int _arg1;
1767 int _arg2;
1768 wxGrid * _arg3;
1769 PyObject * _argo0 = 0;
1770 PyObject * _argo3 = 0;
1771 char *_kwnames[] = { "self","row","col","grid", NULL };
1772
1773 self = self;
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1775 return NULL;
1776 if (_argo0) {
1777 if (_argo0 == Py_None) { _arg0 = NULL; }
1778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1780 return NULL;
1781 }
1782 }
1783 if (_argo3) {
1784 if (_argo3 == Py_None) { _arg3 = NULL; }
1785 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1786 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1787 return NULL;
1788 }
1789 }
1790 {
1791 wxPy_BEGIN_ALLOW_THREADS;
1792 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1793
1794 wxPy_END_ALLOW_THREADS;
1795 } _resultobj = Py_BuildValue("i",_result);
1796 return _resultobj;
1797 }
1798
1799 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1800 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1801 PyObject * _resultobj;
1802 wxGridCellEditor * _arg0;
1803 PyObject * _argo0 = 0;
1804 char *_kwnames[] = { "self", NULL };
1805
1806 self = self;
1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
1808 return NULL;
1809 if (_argo0) {
1810 if (_argo0 == Py_None) { _arg0 = NULL; }
1811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1813 return NULL;
1814 }
1815 }
1816 {
1817 wxPy_BEGIN_ALLOW_THREADS;
1818 wxGridCellEditor_Reset(_arg0);
1819
1820 wxPy_END_ALLOW_THREADS;
1821 } Py_INCREF(Py_None);
1822 _resultobj = Py_None;
1823 return _resultobj;
1824 }
1825
1826 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1827 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1828 PyObject * _resultobj;
1829 wxGridCellEditor * _result;
1830 wxGridCellEditor * _arg0;
1831 PyObject * _argo0 = 0;
1832 char *_kwnames[] = { "self", NULL };
1833 char _ptemp[128];
1834
1835 self = self;
1836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
1837 return NULL;
1838 if (_argo0) {
1839 if (_argo0 == Py_None) { _arg0 = NULL; }
1840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1842 return NULL;
1843 }
1844 }
1845 {
1846 wxPy_BEGIN_ALLOW_THREADS;
1847 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
1848
1849 wxPy_END_ALLOW_THREADS;
1850 } if (_result) {
1851 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
1852 _resultobj = Py_BuildValue("s",_ptemp);
1853 } else {
1854 Py_INCREF(Py_None);
1855 _resultobj = Py_None;
1856 }
1857 return _resultobj;
1858 }
1859
1860 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1861 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1862 PyObject * _resultobj;
1863 wxGridCellEditor * _arg0;
1864 wxRect * _arg1;
1865 PyObject * _argo0 = 0;
1866 wxRect temp;
1867 PyObject * _obj1 = 0;
1868 char *_kwnames[] = { "self","rect", NULL };
1869
1870 self = self;
1871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
1872 return NULL;
1873 if (_argo0) {
1874 if (_argo0 == Py_None) { _arg0 = NULL; }
1875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1877 return NULL;
1878 }
1879 }
1880 {
1881 _arg1 = &temp;
1882 if (! wxRect_helper(_obj1, &_arg1))
1883 return NULL;
1884 }
1885 {
1886 wxPy_BEGIN_ALLOW_THREADS;
1887 wxGridCellEditor_SetSize(_arg0,*_arg1);
1888
1889 wxPy_END_ALLOW_THREADS;
1890 } Py_INCREF(Py_None);
1891 _resultobj = Py_None;
1892 return _resultobj;
1893 }
1894
1895 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1896 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1897 PyObject * _resultobj;
1898 wxGridCellEditor * _arg0;
1899 bool _arg1;
1900 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
1901 PyObject * _argo0 = 0;
1902 int tempbool1;
1903 PyObject * _argo2 = 0;
1904 char *_kwnames[] = { "self","show","attr", NULL };
1905
1906 self = self;
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
1908 return NULL;
1909 if (_argo0) {
1910 if (_argo0 == Py_None) { _arg0 = NULL; }
1911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1913 return NULL;
1914 }
1915 }
1916 _arg1 = (bool ) tempbool1;
1917 if (_argo2) {
1918 if (_argo2 == Py_None) { _arg2 = NULL; }
1919 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1920 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1921 return NULL;
1922 }
1923 }
1924 {
1925 wxPy_BEGIN_ALLOW_THREADS;
1926 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
1927
1928 wxPy_END_ALLOW_THREADS;
1929 } Py_INCREF(Py_None);
1930 _resultobj = Py_None;
1931 return _resultobj;
1932 }
1933
1934 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1935 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1936 PyObject * _resultobj;
1937 wxGridCellEditor * _arg0;
1938 wxRect * _arg1;
1939 wxGridCellAttr * _arg2;
1940 PyObject * _argo0 = 0;
1941 wxRect temp;
1942 PyObject * _obj1 = 0;
1943 PyObject * _argo2 = 0;
1944 char *_kwnames[] = { "self","rectCell","attr", NULL };
1945
1946 self = self;
1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
1948 return NULL;
1949 if (_argo0) {
1950 if (_argo0 == Py_None) { _arg0 = NULL; }
1951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
1953 return NULL;
1954 }
1955 }
1956 {
1957 _arg1 = &temp;
1958 if (! wxRect_helper(_obj1, &_arg1))
1959 return NULL;
1960 }
1961 if (_argo2) {
1962 if (_argo2 == Py_None) { _arg2 = NULL; }
1963 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1964 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
1965 return NULL;
1966 }
1967 }
1968 {
1969 wxPy_BEGIN_ALLOW_THREADS;
1970 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
1971
1972 wxPy_END_ALLOW_THREADS;
1973 } Py_INCREF(Py_None);
1974 _resultobj = Py_None;
1975 return _resultobj;
1976 }
1977
1978 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
1979 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
1980 PyObject * _resultobj;
1981 bool _result;
1982 wxGridCellEditor * _arg0;
1983 wxKeyEvent * _arg1;
1984 PyObject * _argo0 = 0;
1985 PyObject * _argo1 = 0;
1986 char *_kwnames[] = { "self","event", NULL };
1987
1988 self = self;
1989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
1990 return NULL;
1991 if (_argo0) {
1992 if (_argo0 == Py_None) { _arg0 = NULL; }
1993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
1995 return NULL;
1996 }
1997 }
1998 if (_argo1) {
1999 if (_argo1 == Py_None) { _arg1 = NULL; }
2000 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2001 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2002 return NULL;
2003 }
2004 }
2005 {
2006 wxPy_BEGIN_ALLOW_THREADS;
2007 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2008
2009 wxPy_END_ALLOW_THREADS;
2010 } _resultobj = Py_BuildValue("i",_result);
2011 return _resultobj;
2012 }
2013
2014 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2015 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2016 PyObject * _resultobj;
2017 wxGridCellEditor * _arg0;
2018 wxKeyEvent * _arg1;
2019 PyObject * _argo0 = 0;
2020 PyObject * _argo1 = 0;
2021 char *_kwnames[] = { "self","event", NULL };
2022
2023 self = self;
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2025 return NULL;
2026 if (_argo0) {
2027 if (_argo0 == Py_None) { _arg0 = NULL; }
2028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2030 return NULL;
2031 }
2032 }
2033 if (_argo1) {
2034 if (_argo1 == Py_None) { _arg1 = NULL; }
2035 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2036 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2037 return NULL;
2038 }
2039 }
2040 {
2041 wxPy_BEGIN_ALLOW_THREADS;
2042 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2043
2044 wxPy_END_ALLOW_THREADS;
2045 } Py_INCREF(Py_None);
2046 _resultobj = Py_None;
2047 return _resultobj;
2048 }
2049
2050 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2051 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2052 PyObject * _resultobj;
2053 wxGridCellEditor * _arg0;
2054 PyObject * _argo0 = 0;
2055 char *_kwnames[] = { "self", NULL };
2056
2057 self = self;
2058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2059 return NULL;
2060 if (_argo0) {
2061 if (_argo0 == Py_None) { _arg0 = NULL; }
2062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2064 return NULL;
2065 }
2066 }
2067 {
2068 wxPy_BEGIN_ALLOW_THREADS;
2069 wxGridCellEditor_StartingClick(_arg0);
2070
2071 wxPy_END_ALLOW_THREADS;
2072 } Py_INCREF(Py_None);
2073 _resultobj = Py_None;
2074 return _resultobj;
2075 }
2076
2077 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2078 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2079 PyObject * _resultobj;
2080 wxGridCellEditor * _arg0;
2081 wxKeyEvent * _arg1;
2082 PyObject * _argo0 = 0;
2083 PyObject * _argo1 = 0;
2084 char *_kwnames[] = { "self","event", NULL };
2085
2086 self = self;
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2088 return NULL;
2089 if (_argo0) {
2090 if (_argo0 == Py_None) { _arg0 = NULL; }
2091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2093 return NULL;
2094 }
2095 }
2096 if (_argo1) {
2097 if (_argo1 == Py_None) { _arg1 = NULL; }
2098 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2099 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2100 return NULL;
2101 }
2102 }
2103 {
2104 wxPy_BEGIN_ALLOW_THREADS;
2105 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2106
2107 wxPy_END_ALLOW_THREADS;
2108 } Py_INCREF(Py_None);
2109 _resultobj = Py_None;
2110 return _resultobj;
2111 }
2112
2113 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2114 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2115 PyObject * _resultobj;
2116 wxGridCellEditor * _arg0;
2117 PyObject * _argo0 = 0;
2118 char *_kwnames[] = { "self", NULL };
2119
2120 self = self;
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2122 return NULL;
2123 if (_argo0) {
2124 if (_argo0 == Py_None) { _arg0 = NULL; }
2125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2127 return NULL;
2128 }
2129 }
2130 {
2131 wxPy_BEGIN_ALLOW_THREADS;
2132 wxGridCellEditor_Destroy(_arg0);
2133
2134 wxPy_END_ALLOW_THREADS;
2135 } Py_INCREF(Py_None);
2136 _resultobj = Py_None;
2137 return _resultobj;
2138 }
2139
2140 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2141 wxPyGridCellEditor *src;
2142 wxGridCellEditor *dest;
2143 src = (wxPyGridCellEditor *) ptr;
2144 dest = (wxGridCellEditor *) src;
2145 return (void *) dest;
2146 }
2147
2148 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2149 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2150 PyObject * _resultobj;
2151 wxPyGridCellEditor * _result;
2152 char *_kwnames[] = { NULL };
2153 char _ptemp[128];
2154
2155 self = self;
2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2157 return NULL;
2158 {
2159 wxPy_BEGIN_ALLOW_THREADS;
2160 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2161
2162 wxPy_END_ALLOW_THREADS;
2163 } if (_result) {
2164 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2165 _resultobj = Py_BuildValue("s",_ptemp);
2166 } else {
2167 Py_INCREF(Py_None);
2168 _resultobj = Py_None;
2169 }
2170 return _resultobj;
2171 }
2172
2173 #define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2174 static PyObject *_wrap_wxPyGridCellEditor__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2175 PyObject * _resultobj;
2176 wxPyGridCellEditor * _arg0;
2177 PyObject * _arg1;
2178 PyObject * _arg2;
2179 PyObject * _argo0 = 0;
2180 PyObject * _obj1 = 0;
2181 PyObject * _obj2 = 0;
2182 char *_kwnames[] = { "self","self","_class", NULL };
2183
2184 self = self;
2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
2186 return NULL;
2187 if (_argo0) {
2188 if (_argo0 == Py_None) { _arg0 = NULL; }
2189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2191 return NULL;
2192 }
2193 }
2194 {
2195 _arg1 = _obj1;
2196 }
2197 {
2198 _arg2 = _obj2;
2199 }
2200 {
2201 wxPy_BEGIN_ALLOW_THREADS;
2202 wxPyGridCellEditor__setSelf(_arg0,_arg1,_arg2);
2203
2204 wxPy_END_ALLOW_THREADS;
2205 } Py_INCREF(Py_None);
2206 _resultobj = Py_None;
2207 return _resultobj;
2208 }
2209
2210 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2211 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2212 PyObject * _resultobj;
2213 wxPyGridCellEditor * _arg0;
2214 wxRect * _arg1;
2215 PyObject * _argo0 = 0;
2216 wxRect temp;
2217 PyObject * _obj1 = 0;
2218 char *_kwnames[] = { "self","rect", NULL };
2219
2220 self = self;
2221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2222 return NULL;
2223 if (_argo0) {
2224 if (_argo0 == Py_None) { _arg0 = NULL; }
2225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2227 return NULL;
2228 }
2229 }
2230 {
2231 _arg1 = &temp;
2232 if (! wxRect_helper(_obj1, &_arg1))
2233 return NULL;
2234 }
2235 {
2236 wxPy_BEGIN_ALLOW_THREADS;
2237 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2238
2239 wxPy_END_ALLOW_THREADS;
2240 } Py_INCREF(Py_None);
2241 _resultobj = Py_None;
2242 return _resultobj;
2243 }
2244
2245 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2246 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2247 PyObject * _resultobj;
2248 wxPyGridCellEditor * _arg0;
2249 bool _arg1;
2250 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2251 PyObject * _argo0 = 0;
2252 int tempbool1;
2253 PyObject * _argo2 = 0;
2254 char *_kwnames[] = { "self","show","attr", NULL };
2255
2256 self = self;
2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2258 return NULL;
2259 if (_argo0) {
2260 if (_argo0 == Py_None) { _arg0 = NULL; }
2261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2263 return NULL;
2264 }
2265 }
2266 _arg1 = (bool ) tempbool1;
2267 if (_argo2) {
2268 if (_argo2 == Py_None) { _arg2 = NULL; }
2269 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2270 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2271 return NULL;
2272 }
2273 }
2274 {
2275 wxPy_BEGIN_ALLOW_THREADS;
2276 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2277
2278 wxPy_END_ALLOW_THREADS;
2279 } Py_INCREF(Py_None);
2280 _resultobj = Py_None;
2281 return _resultobj;
2282 }
2283
2284 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2285 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject * _resultobj;
2287 wxPyGridCellEditor * _arg0;
2288 wxRect * _arg1;
2289 wxGridCellAttr * _arg2;
2290 PyObject * _argo0 = 0;
2291 wxRect temp;
2292 PyObject * _obj1 = 0;
2293 PyObject * _argo2 = 0;
2294 char *_kwnames[] = { "self","rectCell","attr", NULL };
2295
2296 self = self;
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2298 return NULL;
2299 if (_argo0) {
2300 if (_argo0 == Py_None) { _arg0 = NULL; }
2301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2303 return NULL;
2304 }
2305 }
2306 {
2307 _arg1 = &temp;
2308 if (! wxRect_helper(_obj1, &_arg1))
2309 return NULL;
2310 }
2311 if (_argo2) {
2312 if (_argo2 == Py_None) { _arg2 = NULL; }
2313 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2314 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2315 return NULL;
2316 }
2317 }
2318 {
2319 wxPy_BEGIN_ALLOW_THREADS;
2320 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2321
2322 wxPy_END_ALLOW_THREADS;
2323 } Py_INCREF(Py_None);
2324 _resultobj = Py_None;
2325 return _resultobj;
2326 }
2327
2328 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2329 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2330 PyObject * _resultobj;
2331 wxPyGridCellEditor * _arg0;
2332 wxKeyEvent * _arg1;
2333 PyObject * _argo0 = 0;
2334 PyObject * _argo1 = 0;
2335 char *_kwnames[] = { "self","event", NULL };
2336
2337 self = self;
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2339 return NULL;
2340 if (_argo0) {
2341 if (_argo0 == Py_None) { _arg0 = NULL; }
2342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2344 return NULL;
2345 }
2346 }
2347 if (_argo1) {
2348 if (_argo1 == Py_None) { _arg1 = NULL; }
2349 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2350 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2351 return NULL;
2352 }
2353 }
2354 {
2355 wxPy_BEGIN_ALLOW_THREADS;
2356 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2357
2358 wxPy_END_ALLOW_THREADS;
2359 } Py_INCREF(Py_None);
2360 _resultobj = Py_None;
2361 return _resultobj;
2362 }
2363
2364 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2365 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject * _resultobj;
2367 wxPyGridCellEditor * _arg0;
2368 PyObject * _argo0 = 0;
2369 char *_kwnames[] = { "self", NULL };
2370
2371 self = self;
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2373 return NULL;
2374 if (_argo0) {
2375 if (_argo0 == Py_None) { _arg0 = NULL; }
2376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2378 return NULL;
2379 }
2380 }
2381 {
2382 wxPy_BEGIN_ALLOW_THREADS;
2383 wxPyGridCellEditor_base_StartingClick(_arg0);
2384
2385 wxPy_END_ALLOW_THREADS;
2386 } Py_INCREF(Py_None);
2387 _resultobj = Py_None;
2388 return _resultobj;
2389 }
2390
2391 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2392 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2393 PyObject * _resultobj;
2394 wxPyGridCellEditor * _arg0;
2395 wxKeyEvent * _arg1;
2396 PyObject * _argo0 = 0;
2397 PyObject * _argo1 = 0;
2398 char *_kwnames[] = { "self","event", NULL };
2399
2400 self = self;
2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2402 return NULL;
2403 if (_argo0) {
2404 if (_argo0 == Py_None) { _arg0 = NULL; }
2405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2407 return NULL;
2408 }
2409 }
2410 if (_argo1) {
2411 if (_argo1 == Py_None) { _arg1 = NULL; }
2412 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2413 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2414 return NULL;
2415 }
2416 }
2417 {
2418 wxPy_BEGIN_ALLOW_THREADS;
2419 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2420
2421 wxPy_END_ALLOW_THREADS;
2422 } Py_INCREF(Py_None);
2423 _resultobj = Py_None;
2424 return _resultobj;
2425 }
2426
2427 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2428 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2429 PyObject * _resultobj;
2430 wxPyGridCellEditor * _arg0;
2431 PyObject * _argo0 = 0;
2432 char *_kwnames[] = { "self", NULL };
2433
2434 self = self;
2435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2436 return NULL;
2437 if (_argo0) {
2438 if (_argo0 == Py_None) { _arg0 = NULL; }
2439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2441 return NULL;
2442 }
2443 }
2444 {
2445 wxPy_BEGIN_ALLOW_THREADS;
2446 wxPyGridCellEditor_base_Destroy(_arg0);
2447
2448 wxPy_END_ALLOW_THREADS;
2449 } Py_INCREF(Py_None);
2450 _resultobj = Py_None;
2451 return _resultobj;
2452 }
2453
2454 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2455 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2456 PyObject * _resultobj;
2457 wxPyGridCellEditor * _arg0;
2458 wxString * _arg1;
2459 PyObject * _argo0 = 0;
2460 PyObject * _obj1 = 0;
2461 char *_kwnames[] = { "self","params", NULL };
2462
2463 self = self;
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2465 return NULL;
2466 if (_argo0) {
2467 if (_argo0 == Py_None) { _arg0 = NULL; }
2468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2470 return NULL;
2471 }
2472 }
2473 {
2474 if (!PyString_Check(_obj1)) {
2475 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2476 return NULL;
2477 }
2478 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2479 }
2480 {
2481 wxPy_BEGIN_ALLOW_THREADS;
2482 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2483
2484 wxPy_END_ALLOW_THREADS;
2485 } Py_INCREF(Py_None);
2486 _resultobj = Py_None;
2487 {
2488 if (_obj1)
2489 delete _arg1;
2490 }
2491 return _resultobj;
2492 }
2493
2494 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2495 wxGridCellTextEditor *src;
2496 wxGridCellEditor *dest;
2497 src = (wxGridCellTextEditor *) ptr;
2498 dest = (wxGridCellEditor *) src;
2499 return (void *) dest;
2500 }
2501
2502 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2503 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2504 PyObject * _resultobj;
2505 wxGridCellTextEditor * _result;
2506 char *_kwnames[] = { NULL };
2507 char _ptemp[128];
2508
2509 self = self;
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2511 return NULL;
2512 {
2513 wxPy_BEGIN_ALLOW_THREADS;
2514 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2515
2516 wxPy_END_ALLOW_THREADS;
2517 } if (_result) {
2518 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2519 _resultobj = Py_BuildValue("s",_ptemp);
2520 } else {
2521 Py_INCREF(Py_None);
2522 _resultobj = Py_None;
2523 }
2524 return _resultobj;
2525 }
2526
2527 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2528 wxGridCellNumberEditor *src;
2529 wxGridCellTextEditor *dest;
2530 src = (wxGridCellNumberEditor *) ptr;
2531 dest = (wxGridCellTextEditor *) src;
2532 return (void *) dest;
2533 }
2534
2535 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2536 wxGridCellNumberEditor *src;
2537 wxGridCellEditor *dest;
2538 src = (wxGridCellNumberEditor *) ptr;
2539 dest = (wxGridCellEditor *) src;
2540 return (void *) dest;
2541 }
2542
2543 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2544 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2545 PyObject * _resultobj;
2546 wxGridCellNumberEditor * _result;
2547 int _arg0 = (int ) -1;
2548 int _arg1 = (int ) -1;
2549 char *_kwnames[] = { "min","max", NULL };
2550 char _ptemp[128];
2551
2552 self = self;
2553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2554 return NULL;
2555 {
2556 wxPy_BEGIN_ALLOW_THREADS;
2557 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2558
2559 wxPy_END_ALLOW_THREADS;
2560 } if (_result) {
2561 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2562 _resultobj = Py_BuildValue("s",_ptemp);
2563 } else {
2564 Py_INCREF(Py_None);
2565 _resultobj = Py_None;
2566 }
2567 return _resultobj;
2568 }
2569
2570 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2571 wxGridCellFloatEditor *src;
2572 wxGridCellTextEditor *dest;
2573 src = (wxGridCellFloatEditor *) ptr;
2574 dest = (wxGridCellTextEditor *) src;
2575 return (void *) dest;
2576 }
2577
2578 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2579 wxGridCellFloatEditor *src;
2580 wxGridCellEditor *dest;
2581 src = (wxGridCellFloatEditor *) ptr;
2582 dest = (wxGridCellEditor *) src;
2583 return (void *) dest;
2584 }
2585
2586 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2587 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2588 PyObject * _resultobj;
2589 wxGridCellFloatEditor * _result;
2590 char *_kwnames[] = { NULL };
2591 char _ptemp[128];
2592
2593 self = self;
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2595 return NULL;
2596 {
2597 wxPy_BEGIN_ALLOW_THREADS;
2598 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2599
2600 wxPy_END_ALLOW_THREADS;
2601 } if (_result) {
2602 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2603 _resultobj = Py_BuildValue("s",_ptemp);
2604 } else {
2605 Py_INCREF(Py_None);
2606 _resultobj = Py_None;
2607 }
2608 return _resultobj;
2609 }
2610
2611 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2612 wxGridCellBoolEditor *src;
2613 wxGridCellEditor *dest;
2614 src = (wxGridCellBoolEditor *) ptr;
2615 dest = (wxGridCellEditor *) src;
2616 return (void *) dest;
2617 }
2618
2619 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2620 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2621 PyObject * _resultobj;
2622 wxGridCellBoolEditor * _result;
2623 char *_kwnames[] = { NULL };
2624 char _ptemp[128];
2625
2626 self = self;
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2628 return NULL;
2629 {
2630 wxPy_BEGIN_ALLOW_THREADS;
2631 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2632
2633 wxPy_END_ALLOW_THREADS;
2634 } if (_result) {
2635 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2636 _resultobj = Py_BuildValue("s",_ptemp);
2637 } else {
2638 Py_INCREF(Py_None);
2639 _resultobj = Py_None;
2640 }
2641 return _resultobj;
2642 }
2643
2644 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2645 wxGridCellChoiceEditor *src;
2646 wxGridCellEditor *dest;
2647 src = (wxGridCellChoiceEditor *) ptr;
2648 dest = (wxGridCellEditor *) src;
2649 return (void *) dest;
2650 }
2651
2652 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2653 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2654 PyObject * _resultobj;
2655 wxGridCellChoiceEditor * _result;
2656 int _arg0 = (int ) 0;
2657 wxString * _arg1 = (wxString *) NULL;
2658 bool _arg2 = (bool ) FALSE;
2659 PyObject * _obj1 = 0;
2660 int tempbool2 = (int) FALSE;
2661 char *_kwnames[] = { "choices","allowOthers", NULL };
2662 char _ptemp[128];
2663
2664 self = self;
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2666 return NULL;
2667 if (_obj1)
2668 {
2669 _arg1 = wxString_LIST_helper(_obj1);
2670 if (_arg1 == NULL) {
2671 return NULL;
2672 }
2673 }
2674 _arg2 = (bool ) tempbool2;
2675 {
2676 if (_obj1) {
2677 _arg0 = PyList_Size(_obj1);
2678 }
2679 else {
2680 _arg0 = 0;
2681 }
2682 }
2683 {
2684 wxPy_BEGIN_ALLOW_THREADS;
2685 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2686
2687 wxPy_END_ALLOW_THREADS;
2688 } if (_result) {
2689 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2690 _resultobj = Py_BuildValue("s",_ptemp);
2691 } else {
2692 Py_INCREF(Py_None);
2693 _resultobj = Py_None;
2694 }
2695 {
2696 delete [] _arg1;
2697 }
2698 return _resultobj;
2699 }
2700
2701 #define new_wxGridCellAttr() (new wxGridCellAttr())
2702 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2703 PyObject * _resultobj;
2704 wxGridCellAttr * _result;
2705 char *_kwnames[] = { NULL };
2706 char _ptemp[128];
2707
2708 self = self;
2709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttr",_kwnames))
2710 return NULL;
2711 {
2712 wxPy_BEGIN_ALLOW_THREADS;
2713 _result = (wxGridCellAttr *)new_wxGridCellAttr();
2714
2715 wxPy_END_ALLOW_THREADS;
2716 } if (_result) {
2717 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2718 _resultobj = Py_BuildValue("s",_ptemp);
2719 } else {
2720 Py_INCREF(Py_None);
2721 _resultobj = Py_None;
2722 }
2723 return _resultobj;
2724 }
2725
2726 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2727 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject * _resultobj;
2729 wxGridCellAttr * _result;
2730 wxGridCellAttr * _arg0;
2731 PyObject * _argo0 = 0;
2732 char *_kwnames[] = { "self", NULL };
2733 char _ptemp[128];
2734
2735 self = self;
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
2737 return NULL;
2738 if (_argo0) {
2739 if (_argo0 == Py_None) { _arg0 = NULL; }
2740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2742 return NULL;
2743 }
2744 }
2745 {
2746 wxPy_BEGIN_ALLOW_THREADS;
2747 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
2748
2749 wxPy_END_ALLOW_THREADS;
2750 } if (_result) {
2751 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2752 _resultobj = Py_BuildValue("s",_ptemp);
2753 } else {
2754 Py_INCREF(Py_None);
2755 _resultobj = Py_None;
2756 }
2757 return _resultobj;
2758 }
2759
2760 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2761 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2762 PyObject * _resultobj;
2763 wxGridCellAttr * _arg0;
2764 PyObject * _argo0 = 0;
2765 char *_kwnames[] = { "self", NULL };
2766
2767 self = self;
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
2769 return NULL;
2770 if (_argo0) {
2771 if (_argo0 == Py_None) { _arg0 = NULL; }
2772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2774 return NULL;
2775 }
2776 }
2777 {
2778 wxPy_BEGIN_ALLOW_THREADS;
2779 wxGridCellAttr_IncRef(_arg0);
2780
2781 wxPy_END_ALLOW_THREADS;
2782 } Py_INCREF(Py_None);
2783 _resultobj = Py_None;
2784 return _resultobj;
2785 }
2786
2787 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2788 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject * _resultobj;
2790 wxGridCellAttr * _arg0;
2791 PyObject * _argo0 = 0;
2792 char *_kwnames[] = { "self", NULL };
2793
2794 self = self;
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
2796 return NULL;
2797 if (_argo0) {
2798 if (_argo0 == Py_None) { _arg0 = NULL; }
2799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2801 return NULL;
2802 }
2803 }
2804 {
2805 wxPy_BEGIN_ALLOW_THREADS;
2806 wxGridCellAttr_DecRef(_arg0);
2807
2808 wxPy_END_ALLOW_THREADS;
2809 } Py_INCREF(Py_None);
2810 _resultobj = Py_None;
2811 return _resultobj;
2812 }
2813
2814 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2815 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2816 PyObject * _resultobj;
2817 wxGridCellAttr * _arg0;
2818 wxColour * _arg1;
2819 PyObject * _argo0 = 0;
2820 wxColour temp;
2821 PyObject * _obj1 = 0;
2822 char *_kwnames[] = { "self","colText", NULL };
2823
2824 self = self;
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
2826 return NULL;
2827 if (_argo0) {
2828 if (_argo0 == Py_None) { _arg0 = NULL; }
2829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2831 return NULL;
2832 }
2833 }
2834 {
2835 _arg1 = &temp;
2836 if (! wxColour_helper(_obj1, &_arg1))
2837 return NULL;
2838 }
2839 {
2840 wxPy_BEGIN_ALLOW_THREADS;
2841 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
2842
2843 wxPy_END_ALLOW_THREADS;
2844 } Py_INCREF(Py_None);
2845 _resultobj = Py_None;
2846 return _resultobj;
2847 }
2848
2849 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2850 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2851 PyObject * _resultobj;
2852 wxGridCellAttr * _arg0;
2853 wxColour * _arg1;
2854 PyObject * _argo0 = 0;
2855 wxColour temp;
2856 PyObject * _obj1 = 0;
2857 char *_kwnames[] = { "self","colBack", NULL };
2858
2859 self = self;
2860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
2861 return NULL;
2862 if (_argo0) {
2863 if (_argo0 == Py_None) { _arg0 = NULL; }
2864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2866 return NULL;
2867 }
2868 }
2869 {
2870 _arg1 = &temp;
2871 if (! wxColour_helper(_obj1, &_arg1))
2872 return NULL;
2873 }
2874 {
2875 wxPy_BEGIN_ALLOW_THREADS;
2876 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
2877
2878 wxPy_END_ALLOW_THREADS;
2879 } Py_INCREF(Py_None);
2880 _resultobj = Py_None;
2881 return _resultobj;
2882 }
2883
2884 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2885 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2886 PyObject * _resultobj;
2887 wxGridCellAttr * _arg0;
2888 wxFont * _arg1;
2889 PyObject * _argo0 = 0;
2890 PyObject * _argo1 = 0;
2891 char *_kwnames[] = { "self","font", NULL };
2892
2893 self = self;
2894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
2895 return NULL;
2896 if (_argo0) {
2897 if (_argo0 == Py_None) { _arg0 = NULL; }
2898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
2900 return NULL;
2901 }
2902 }
2903 if (_argo1) {
2904 if (_argo1 == Py_None) { _arg1 = NULL; }
2905 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2906 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
2907 return NULL;
2908 }
2909 }
2910 {
2911 wxPy_BEGIN_ALLOW_THREADS;
2912 wxGridCellAttr_SetFont(_arg0,*_arg1);
2913
2914 wxPy_END_ALLOW_THREADS;
2915 } Py_INCREF(Py_None);
2916 _resultobj = Py_None;
2917 return _resultobj;
2918 }
2919
2920 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
2921 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
2922 PyObject * _resultobj;
2923 wxGridCellAttr * _arg0;
2924 int _arg1;
2925 int _arg2;
2926 PyObject * _argo0 = 0;
2927 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
2928
2929 self = self;
2930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
2931 return NULL;
2932 if (_argo0) {
2933 if (_argo0 == Py_None) { _arg0 = NULL; }
2934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
2936 return NULL;
2937 }
2938 }
2939 {
2940 wxPy_BEGIN_ALLOW_THREADS;
2941 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
2942
2943 wxPy_END_ALLOW_THREADS;
2944 } Py_INCREF(Py_None);
2945 _resultobj = Py_None;
2946 return _resultobj;
2947 }
2948
2949 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
2950 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
2951 PyObject * _resultobj;
2952 wxGridCellAttr * _arg0;
2953 bool _arg1 = (bool ) TRUE;
2954 PyObject * _argo0 = 0;
2955 int tempbool1 = (int) TRUE;
2956 char *_kwnames[] = { "self","isReadOnly", NULL };
2957
2958 self = self;
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
2960 return NULL;
2961 if (_argo0) {
2962 if (_argo0 == Py_None) { _arg0 = NULL; }
2963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
2965 return NULL;
2966 }
2967 }
2968 _arg1 = (bool ) tempbool1;
2969 {
2970 wxPy_BEGIN_ALLOW_THREADS;
2971 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
2972
2973 wxPy_END_ALLOW_THREADS;
2974 } Py_INCREF(Py_None);
2975 _resultobj = Py_None;
2976 return _resultobj;
2977 }
2978
2979 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
2980 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject * _resultobj;
2982 wxGridCellAttr * _arg0;
2983 wxGridCellRenderer * _arg1;
2984 PyObject * _argo0 = 0;
2985 PyObject * _argo1 = 0;
2986 char *_kwnames[] = { "self","renderer", NULL };
2987
2988 self = self;
2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
2990 return NULL;
2991 if (_argo0) {
2992 if (_argo0 == Py_None) { _arg0 = NULL; }
2993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
2995 return NULL;
2996 }
2997 }
2998 if (_argo1) {
2999 if (_argo1 == Py_None) { _arg1 = NULL; }
3000 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3001 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3002 return NULL;
3003 }
3004 }
3005 {
3006 wxPy_BEGIN_ALLOW_THREADS;
3007 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3008
3009 wxPy_END_ALLOW_THREADS;
3010 } Py_INCREF(Py_None);
3011 _resultobj = Py_None;
3012 return _resultobj;
3013 }
3014
3015 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3016 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3017 PyObject * _resultobj;
3018 wxGridCellAttr * _arg0;
3019 wxGridCellEditor * _arg1;
3020 PyObject * _argo0 = 0;
3021 PyObject * _argo1 = 0;
3022 char *_kwnames[] = { "self","editor", NULL };
3023
3024 self = self;
3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3026 return NULL;
3027 if (_argo0) {
3028 if (_argo0 == Py_None) { _arg0 = NULL; }
3029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3031 return NULL;
3032 }
3033 }
3034 if (_argo1) {
3035 if (_argo1 == Py_None) { _arg1 = NULL; }
3036 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3037 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3038 return NULL;
3039 }
3040 }
3041 {
3042 wxPy_BEGIN_ALLOW_THREADS;
3043 wxGridCellAttr_SetEditor(_arg0,_arg1);
3044
3045 wxPy_END_ALLOW_THREADS;
3046 } Py_INCREF(Py_None);
3047 _resultobj = Py_None;
3048 return _resultobj;
3049 }
3050
3051 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3052 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3053 PyObject * _resultobj;
3054 bool _result;
3055 wxGridCellAttr * _arg0;
3056 PyObject * _argo0 = 0;
3057 char *_kwnames[] = { "self", NULL };
3058
3059 self = self;
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3061 return NULL;
3062 if (_argo0) {
3063 if (_argo0 == Py_None) { _arg0 = NULL; }
3064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3066 return NULL;
3067 }
3068 }
3069 {
3070 wxPy_BEGIN_ALLOW_THREADS;
3071 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3072
3073 wxPy_END_ALLOW_THREADS;
3074 } _resultobj = Py_BuildValue("i",_result);
3075 return _resultobj;
3076 }
3077
3078 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3079 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject * _resultobj;
3081 bool _result;
3082 wxGridCellAttr * _arg0;
3083 PyObject * _argo0 = 0;
3084 char *_kwnames[] = { "self", NULL };
3085
3086 self = self;
3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3088 return NULL;
3089 if (_argo0) {
3090 if (_argo0 == Py_None) { _arg0 = NULL; }
3091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3093 return NULL;
3094 }
3095 }
3096 {
3097 wxPy_BEGIN_ALLOW_THREADS;
3098 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3099
3100 wxPy_END_ALLOW_THREADS;
3101 } _resultobj = Py_BuildValue("i",_result);
3102 return _resultobj;
3103 }
3104
3105 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3106 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3107 PyObject * _resultobj;
3108 bool _result;
3109 wxGridCellAttr * _arg0;
3110 PyObject * _argo0 = 0;
3111 char *_kwnames[] = { "self", NULL };
3112
3113 self = self;
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3115 return NULL;
3116 if (_argo0) {
3117 if (_argo0 == Py_None) { _arg0 = NULL; }
3118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3120 return NULL;
3121 }
3122 }
3123 {
3124 wxPy_BEGIN_ALLOW_THREADS;
3125 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3126
3127 wxPy_END_ALLOW_THREADS;
3128 } _resultobj = Py_BuildValue("i",_result);
3129 return _resultobj;
3130 }
3131
3132 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3133 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3134 PyObject * _resultobj;
3135 bool _result;
3136 wxGridCellAttr * _arg0;
3137 PyObject * _argo0 = 0;
3138 char *_kwnames[] = { "self", NULL };
3139
3140 self = self;
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3142 return NULL;
3143 if (_argo0) {
3144 if (_argo0 == Py_None) { _arg0 = NULL; }
3145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3147 return NULL;
3148 }
3149 }
3150 {
3151 wxPy_BEGIN_ALLOW_THREADS;
3152 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3153
3154 wxPy_END_ALLOW_THREADS;
3155 } _resultobj = Py_BuildValue("i",_result);
3156 return _resultobj;
3157 }
3158
3159 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3160 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3161 PyObject * _resultobj;
3162 bool _result;
3163 wxGridCellAttr * _arg0;
3164 PyObject * _argo0 = 0;
3165 char *_kwnames[] = { "self", NULL };
3166
3167 self = self;
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3169 return NULL;
3170 if (_argo0) {
3171 if (_argo0 == Py_None) { _arg0 = NULL; }
3172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3174 return NULL;
3175 }
3176 }
3177 {
3178 wxPy_BEGIN_ALLOW_THREADS;
3179 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3180
3181 wxPy_END_ALLOW_THREADS;
3182 } _resultobj = Py_BuildValue("i",_result);
3183 return _resultobj;
3184 }
3185
3186 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3187 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3188 PyObject * _resultobj;
3189 bool _result;
3190 wxGridCellAttr * _arg0;
3191 PyObject * _argo0 = 0;
3192 char *_kwnames[] = { "self", NULL };
3193
3194 self = self;
3195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3196 return NULL;
3197 if (_argo0) {
3198 if (_argo0 == Py_None) { _arg0 = NULL; }
3199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3201 return NULL;
3202 }
3203 }
3204 {
3205 wxPy_BEGIN_ALLOW_THREADS;
3206 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3207
3208 wxPy_END_ALLOW_THREADS;
3209 } _resultobj = Py_BuildValue("i",_result);
3210 return _resultobj;
3211 }
3212
3213 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3214 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject * _resultobj;
3216 wxColour * _result;
3217 wxGridCellAttr * _arg0;
3218 PyObject * _argo0 = 0;
3219 char *_kwnames[] = { "self", NULL };
3220 char _ptemp[128];
3221
3222 self = self;
3223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3224 return NULL;
3225 if (_argo0) {
3226 if (_argo0 == Py_None) { _arg0 = NULL; }
3227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3229 return NULL;
3230 }
3231 }
3232 {
3233 wxPy_BEGIN_ALLOW_THREADS;
3234 const wxColour & _result_ref = wxGridCellAttr_GetTextColour(_arg0);
3235 _result = (wxColour *) &_result_ref;
3236
3237 wxPy_END_ALLOW_THREADS;
3238 } if (_result) {
3239 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3240 _resultobj = Py_BuildValue("s",_ptemp);
3241 } else {
3242 Py_INCREF(Py_None);
3243 _resultobj = Py_None;
3244 }
3245 return _resultobj;
3246 }
3247
3248 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3249 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3250 PyObject * _resultobj;
3251 wxColour * _result;
3252 wxGridCellAttr * _arg0;
3253 PyObject * _argo0 = 0;
3254 char *_kwnames[] = { "self", NULL };
3255 char _ptemp[128];
3256
3257 self = self;
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3259 return NULL;
3260 if (_argo0) {
3261 if (_argo0 == Py_None) { _arg0 = NULL; }
3262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3264 return NULL;
3265 }
3266 }
3267 {
3268 wxPy_BEGIN_ALLOW_THREADS;
3269 const wxColour & _result_ref = wxGridCellAttr_GetBackgroundColour(_arg0);
3270 _result = (wxColour *) &_result_ref;
3271
3272 wxPy_END_ALLOW_THREADS;
3273 } if (_result) {
3274 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3275 _resultobj = Py_BuildValue("s",_ptemp);
3276 } else {
3277 Py_INCREF(Py_None);
3278 _resultobj = Py_None;
3279 }
3280 return _resultobj;
3281 }
3282
3283 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3284 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3285 PyObject * _resultobj;
3286 wxFont * _result;
3287 wxGridCellAttr * _arg0;
3288 PyObject * _argo0 = 0;
3289 char *_kwnames[] = { "self", NULL };
3290 char _ptemp[128];
3291
3292 self = self;
3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3294 return NULL;
3295 if (_argo0) {
3296 if (_argo0 == Py_None) { _arg0 = NULL; }
3297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3299 return NULL;
3300 }
3301 }
3302 {
3303 wxPy_BEGIN_ALLOW_THREADS;
3304 const wxFont & _result_ref = wxGridCellAttr_GetFont(_arg0);
3305 _result = (wxFont *) &_result_ref;
3306
3307 wxPy_END_ALLOW_THREADS;
3308 } if (_result) {
3309 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3310 _resultobj = Py_BuildValue("s",_ptemp);
3311 } else {
3312 Py_INCREF(Py_None);
3313 _resultobj = Py_None;
3314 }
3315 return _resultobj;
3316 }
3317
3318 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3319 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3320 PyObject * _resultobj;
3321 wxGridCellAttr * _arg0;
3322 int * _arg1;
3323 int temp;
3324 int * _arg2;
3325 int temp0;
3326 PyObject * _argo0 = 0;
3327 char *_kwnames[] = { "self", NULL };
3328
3329 self = self;
3330 {
3331 _arg1 = &temp;
3332 }
3333 {
3334 _arg2 = &temp0;
3335 }
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3337 return NULL;
3338 if (_argo0) {
3339 if (_argo0 == Py_None) { _arg0 = NULL; }
3340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3342 return NULL;
3343 }
3344 }
3345 {
3346 wxPy_BEGIN_ALLOW_THREADS;
3347 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3348
3349 wxPy_END_ALLOW_THREADS;
3350 } Py_INCREF(Py_None);
3351 _resultobj = Py_None;
3352 {
3353 PyObject *o;
3354 o = PyInt_FromLong((long) (*_arg1));
3355 _resultobj = t_output_helper(_resultobj, o);
3356 }
3357 {
3358 PyObject *o;
3359 o = PyInt_FromLong((long) (*_arg2));
3360 _resultobj = t_output_helper(_resultobj, o);
3361 }
3362 return _resultobj;
3363 }
3364
3365 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3366 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject * _resultobj;
3368 wxGridCellRenderer * _result;
3369 wxGridCellAttr * _arg0;
3370 wxGrid * _arg1;
3371 int _arg2;
3372 int _arg3;
3373 PyObject * _argo0 = 0;
3374 PyObject * _argo1 = 0;
3375 char *_kwnames[] = { "self","grid","row","col", NULL };
3376 char _ptemp[128];
3377
3378 self = self;
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3380 return NULL;
3381 if (_argo0) {
3382 if (_argo0 == Py_None) { _arg0 = NULL; }
3383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3385 return NULL;
3386 }
3387 }
3388 if (_argo1) {
3389 if (_argo1 == Py_None) { _arg1 = NULL; }
3390 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3391 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3392 return NULL;
3393 }
3394 }
3395 {
3396 wxPy_BEGIN_ALLOW_THREADS;
3397 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3398
3399 wxPy_END_ALLOW_THREADS;
3400 } if (_result) {
3401 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3402 _resultobj = Py_BuildValue("s",_ptemp);
3403 } else {
3404 Py_INCREF(Py_None);
3405 _resultobj = Py_None;
3406 }
3407 return _resultobj;
3408 }
3409
3410 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3411 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3412 PyObject * _resultobj;
3413 wxGridCellEditor * _result;
3414 wxGridCellAttr * _arg0;
3415 wxGrid * _arg1;
3416 int _arg2;
3417 int _arg3;
3418 PyObject * _argo0 = 0;
3419 PyObject * _argo1 = 0;
3420 char *_kwnames[] = { "self","grid","row","col", NULL };
3421 char _ptemp[128];
3422
3423 self = self;
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3425 return NULL;
3426 if (_argo0) {
3427 if (_argo0 == Py_None) { _arg0 = NULL; }
3428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3430 return NULL;
3431 }
3432 }
3433 if (_argo1) {
3434 if (_argo1 == Py_None) { _arg1 = NULL; }
3435 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3436 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3437 return NULL;
3438 }
3439 }
3440 {
3441 wxPy_BEGIN_ALLOW_THREADS;
3442 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3443
3444 wxPy_END_ALLOW_THREADS;
3445 } if (_result) {
3446 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3447 _resultobj = Py_BuildValue("s",_ptemp);
3448 } else {
3449 Py_INCREF(Py_None);
3450 _resultobj = Py_None;
3451 }
3452 return _resultobj;
3453 }
3454
3455 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3456 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3457 PyObject * _resultobj;
3458 bool _result;
3459 wxGridCellAttr * _arg0;
3460 PyObject * _argo0 = 0;
3461 char *_kwnames[] = { "self", NULL };
3462
3463 self = self;
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3465 return NULL;
3466 if (_argo0) {
3467 if (_argo0 == Py_None) { _arg0 = NULL; }
3468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3470 return NULL;
3471 }
3472 }
3473 {
3474 wxPy_BEGIN_ALLOW_THREADS;
3475 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3476
3477 wxPy_END_ALLOW_THREADS;
3478 } _resultobj = Py_BuildValue("i",_result);
3479 return _resultobj;
3480 }
3481
3482 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3483 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject * _resultobj;
3485 wxGridCellAttr * _arg0;
3486 wxGridCellAttr * _arg1;
3487 PyObject * _argo0 = 0;
3488 PyObject * _argo1 = 0;
3489 char *_kwnames[] = { "self","defAttr", NULL };
3490
3491 self = self;
3492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3493 return NULL;
3494 if (_argo0) {
3495 if (_argo0 == Py_None) { _arg0 = NULL; }
3496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3498 return NULL;
3499 }
3500 }
3501 if (_argo1) {
3502 if (_argo1 == Py_None) { _arg1 = NULL; }
3503 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3504 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3505 return NULL;
3506 }
3507 }
3508 {
3509 wxPy_BEGIN_ALLOW_THREADS;
3510 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3511
3512 wxPy_END_ALLOW_THREADS;
3513 } Py_INCREF(Py_None);
3514 _resultobj = Py_None;
3515 return _resultobj;
3516 }
3517
3518 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3519 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3520 PyObject * _resultobj;
3521 wxGridCellAttrProvider * _result;
3522 char *_kwnames[] = { NULL };
3523 char _ptemp[128];
3524
3525 self = self;
3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3527 return NULL;
3528 {
3529 wxPy_BEGIN_ALLOW_THREADS;
3530 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3531
3532 wxPy_END_ALLOW_THREADS;
3533 } if (_result) {
3534 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3535 _resultobj = Py_BuildValue("s",_ptemp);
3536 } else {
3537 Py_INCREF(Py_None);
3538 _resultobj = Py_None;
3539 }
3540 return _resultobj;
3541 }
3542
3543 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
3544 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3545 PyObject * _resultobj;
3546 wxGridCellAttr * _result;
3547 wxGridCellAttrProvider * _arg0;
3548 int _arg1;
3549 int _arg2;
3550 PyObject * _argo0 = 0;
3551 char *_kwnames[] = { "self","row","col", NULL };
3552 char _ptemp[128];
3553
3554 self = self;
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3556 return NULL;
3557 if (_argo0) {
3558 if (_argo0 == Py_None) { _arg0 = NULL; }
3559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3561 return NULL;
3562 }
3563 }
3564 {
3565 wxPy_BEGIN_ALLOW_THREADS;
3566 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2);
3567
3568 wxPy_END_ALLOW_THREADS;
3569 } if (_result) {
3570 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3571 _resultobj = Py_BuildValue("s",_ptemp);
3572 } else {
3573 Py_INCREF(Py_None);
3574 _resultobj = Py_None;
3575 }
3576 return _resultobj;
3577 }
3578
3579 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3580 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3581 PyObject * _resultobj;
3582 wxGridCellAttrProvider * _arg0;
3583 wxGridCellAttr * _arg1;
3584 int _arg2;
3585 int _arg3;
3586 PyObject * _argo0 = 0;
3587 PyObject * _argo1 = 0;
3588 char *_kwnames[] = { "self","attr","row","col", NULL };
3589
3590 self = self;
3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3592 return NULL;
3593 if (_argo0) {
3594 if (_argo0 == Py_None) { _arg0 = NULL; }
3595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3597 return NULL;
3598 }
3599 }
3600 if (_argo1) {
3601 if (_argo1 == Py_None) { _arg1 = NULL; }
3602 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3603 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3604 return NULL;
3605 }
3606 }
3607 {
3608 wxPy_BEGIN_ALLOW_THREADS;
3609 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
3610
3611 wxPy_END_ALLOW_THREADS;
3612 } Py_INCREF(Py_None);
3613 _resultobj = Py_None;
3614 return _resultobj;
3615 }
3616
3617 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3618 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3619 PyObject * _resultobj;
3620 wxGridCellAttrProvider * _arg0;
3621 wxGridCellAttr * _arg1;
3622 int _arg2;
3623 PyObject * _argo0 = 0;
3624 PyObject * _argo1 = 0;
3625 char *_kwnames[] = { "self","attr","row", NULL };
3626
3627 self = self;
3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3629 return NULL;
3630 if (_argo0) {
3631 if (_argo0 == Py_None) { _arg0 = NULL; }
3632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3634 return NULL;
3635 }
3636 }
3637 if (_argo1) {
3638 if (_argo1 == Py_None) { _arg1 = NULL; }
3639 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3640 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3641 return NULL;
3642 }
3643 }
3644 {
3645 wxPy_BEGIN_ALLOW_THREADS;
3646 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
3647
3648 wxPy_END_ALLOW_THREADS;
3649 } Py_INCREF(Py_None);
3650 _resultobj = Py_None;
3651 return _resultobj;
3652 }
3653
3654 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3655 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject * _resultobj;
3657 wxGridCellAttrProvider * _arg0;
3658 wxGridCellAttr * _arg1;
3659 int _arg2;
3660 PyObject * _argo0 = 0;
3661 PyObject * _argo1 = 0;
3662 char *_kwnames[] = { "self","attr","col", NULL };
3663
3664 self = self;
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3666 return NULL;
3667 if (_argo0) {
3668 if (_argo0 == Py_None) { _arg0 = NULL; }
3669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3671 return NULL;
3672 }
3673 }
3674 if (_argo1) {
3675 if (_argo1 == Py_None) { _arg1 = NULL; }
3676 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3677 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3678 return NULL;
3679 }
3680 }
3681 {
3682 wxPy_BEGIN_ALLOW_THREADS;
3683 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
3684
3685 wxPy_END_ALLOW_THREADS;
3686 } Py_INCREF(Py_None);
3687 _resultobj = Py_None;
3688 return _resultobj;
3689 }
3690
3691 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3692 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3693 PyObject * _resultobj;
3694 wxGridCellAttrProvider * _arg0;
3695 size_t _arg1;
3696 int _arg2;
3697 PyObject * _argo0 = 0;
3698 char *_kwnames[] = { "self","pos","numRows", NULL };
3699
3700 self = self;
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
3702 return NULL;
3703 if (_argo0) {
3704 if (_argo0 == Py_None) { _arg0 = NULL; }
3705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3707 return NULL;
3708 }
3709 }
3710 {
3711 wxPy_BEGIN_ALLOW_THREADS;
3712 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
3713
3714 wxPy_END_ALLOW_THREADS;
3715 } Py_INCREF(Py_None);
3716 _resultobj = Py_None;
3717 return _resultobj;
3718 }
3719
3720 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3721 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3722 PyObject * _resultobj;
3723 wxGridCellAttrProvider * _arg0;
3724 size_t _arg1;
3725 int _arg2;
3726 PyObject * _argo0 = 0;
3727 char *_kwnames[] = { "self","pos","numCols", NULL };
3728
3729 self = self;
3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
3731 return NULL;
3732 if (_argo0) {
3733 if (_argo0 == Py_None) { _arg0 = NULL; }
3734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3736 return NULL;
3737 }
3738 }
3739 {
3740 wxPy_BEGIN_ALLOW_THREADS;
3741 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
3742
3743 wxPy_END_ALLOW_THREADS;
3744 } Py_INCREF(Py_None);
3745 _resultobj = Py_None;
3746 return _resultobj;
3747 }
3748
3749 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
3750 wxPyGridCellAttrProvider *src;
3751 wxGridCellAttrProvider *dest;
3752 src = (wxPyGridCellAttrProvider *) ptr;
3753 dest = (wxGridCellAttrProvider *) src;
3754 return (void *) dest;
3755 }
3756
3757 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3758 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject * _resultobj;
3760 wxPyGridCellAttrProvider * _result;
3761 char *_kwnames[] = { NULL };
3762 char _ptemp[128];
3763
3764 self = self;
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
3766 return NULL;
3767 {
3768 wxPy_BEGIN_ALLOW_THREADS;
3769 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
3770
3771 wxPy_END_ALLOW_THREADS;
3772 } if (_result) {
3773 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
3774 _resultobj = Py_BuildValue("s",_ptemp);
3775 } else {
3776 Py_INCREF(Py_None);
3777 _resultobj = Py_None;
3778 }
3779 return _resultobj;
3780 }
3781
3782 #define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3783 static PyObject *_wrap_wxPyGridCellAttrProvider__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
3784 PyObject * _resultobj;
3785 wxPyGridCellAttrProvider * _arg0;
3786 PyObject * _arg1;
3787 PyObject * _arg2;
3788 PyObject * _argo0 = 0;
3789 PyObject * _obj1 = 0;
3790 PyObject * _obj2 = 0;
3791 char *_kwnames[] = { "self","self","_class", NULL };
3792
3793 self = self;
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
3795 return NULL;
3796 if (_argo0) {
3797 if (_argo0 == Py_None) { _arg0 = NULL; }
3798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3800 return NULL;
3801 }
3802 }
3803 {
3804 _arg1 = _obj1;
3805 }
3806 {
3807 _arg2 = _obj2;
3808 }
3809 {
3810 wxPy_BEGIN_ALLOW_THREADS;
3811 wxPyGridCellAttrProvider__setSelf(_arg0,_arg1,_arg2);
3812
3813 wxPy_END_ALLOW_THREADS;
3814 } Py_INCREF(Py_None);
3815 _resultobj = Py_None;
3816 return _resultobj;
3817 }
3818
3819 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
3820 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3821 PyObject * _resultobj;
3822 wxGridCellAttr * _result;
3823 wxPyGridCellAttrProvider * _arg0;
3824 int _arg1;
3825 int _arg2;
3826 PyObject * _argo0 = 0;
3827 char *_kwnames[] = { "self","row","col", NULL };
3828 char _ptemp[128];
3829
3830 self = self;
3831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3832 return NULL;
3833 if (_argo0) {
3834 if (_argo0 == Py_None) { _arg0 = NULL; }
3835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
3837 return NULL;
3838 }
3839 }
3840 {
3841 wxPy_BEGIN_ALLOW_THREADS;
3842 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2);
3843
3844 wxPy_END_ALLOW_THREADS;
3845 } if (_result) {
3846 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3847 _resultobj = Py_BuildValue("s",_ptemp);
3848 } else {
3849 Py_INCREF(Py_None);
3850 _resultobj = Py_None;
3851 }
3852 return _resultobj;
3853 }
3854
3855 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
3856 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3857 PyObject * _resultobj;
3858 wxPyGridCellAttrProvider * _arg0;
3859 wxGridCellAttr * _arg1;
3860 int _arg2;
3861 int _arg3;
3862 PyObject * _argo0 = 0;
3863 PyObject * _argo1 = 0;
3864 char *_kwnames[] = { "self","attr","row","col", NULL };
3865
3866 self = self;
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3868 return NULL;
3869 if (_argo0) {
3870 if (_argo0 == Py_None) { _arg0 = NULL; }
3871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_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 wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
3880 return NULL;
3881 }
3882 }
3883 {
3884 wxPy_BEGIN_ALLOW_THREADS;
3885 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
3886
3887 wxPy_END_ALLOW_THREADS;
3888 } Py_INCREF(Py_None);
3889 _resultobj = Py_None;
3890 return _resultobj;
3891 }
3892
3893 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
3894 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3895 PyObject * _resultobj;
3896 wxPyGridCellAttrProvider * _arg0;
3897 wxGridCellAttr * _arg1;
3898 int _arg2;
3899 PyObject * _argo0 = 0;
3900 PyObject * _argo1 = 0;
3901 char *_kwnames[] = { "self","attr","row", NULL };
3902
3903 self = self;
3904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3905 return NULL;
3906 if (_argo0) {
3907 if (_argo0 == Py_None) { _arg0 = NULL; }
3908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
3910 return NULL;
3911 }
3912 }
3913 if (_argo1) {
3914 if (_argo1 == Py_None) { _arg1 = NULL; }
3915 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3916 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
3917 return NULL;
3918 }
3919 }
3920 {
3921 wxPy_BEGIN_ALLOW_THREADS;
3922 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
3923
3924 wxPy_END_ALLOW_THREADS;
3925 } Py_INCREF(Py_None);
3926 _resultobj = Py_None;
3927 return _resultobj;
3928 }
3929
3930 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
3931 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject * _resultobj;
3933 wxPyGridCellAttrProvider * _arg0;
3934 wxGridCellAttr * _arg1;
3935 int _arg2;
3936 PyObject * _argo0 = 0;
3937 PyObject * _argo1 = 0;
3938 char *_kwnames[] = { "self","attr","col", NULL };
3939
3940 self = self;
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3942 return NULL;
3943 if (_argo0) {
3944 if (_argo0 == Py_None) { _arg0 = NULL; }
3945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
3947 return NULL;
3948 }
3949 }
3950 if (_argo1) {
3951 if (_argo1 == Py_None) { _arg1 = NULL; }
3952 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3953 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
3954 return NULL;
3955 }
3956 }
3957 {
3958 wxPy_BEGIN_ALLOW_THREADS;
3959 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
3960
3961 wxPy_END_ALLOW_THREADS;
3962 } Py_INCREF(Py_None);
3963 _resultobj = Py_None;
3964 return _resultobj;
3965 }
3966
3967 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
3968 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3969 PyObject * _resultobj;
3970 wxGridTableBase * _arg0;
3971 wxGridCellAttrProvider * _arg1;
3972 PyObject * _argo0 = 0;
3973 PyObject * _argo1 = 0;
3974 char *_kwnames[] = { "self","attrProvider", NULL };
3975
3976 self = self;
3977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
3978 return NULL;
3979 if (_argo0) {
3980 if (_argo0 == Py_None) { _arg0 = NULL; }
3981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
3982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
3983 return NULL;
3984 }
3985 }
3986 if (_argo1) {
3987 if (_argo1 == Py_None) { _arg1 = NULL; }
3988 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
3989 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
3990 return NULL;
3991 }
3992 }
3993 {
3994 wxPy_BEGIN_ALLOW_THREADS;
3995 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
3996
3997 wxPy_END_ALLOW_THREADS;
3998 } Py_INCREF(Py_None);
3999 _resultobj = Py_None;
4000 return _resultobj;
4001 }
4002
4003 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4004 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4005 PyObject * _resultobj;
4006 wxGridCellAttrProvider * _result;
4007 wxGridTableBase * _arg0;
4008 PyObject * _argo0 = 0;
4009 char *_kwnames[] = { "self", NULL };
4010 char _ptemp[128];
4011
4012 self = self;
4013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4014 return NULL;
4015 if (_argo0) {
4016 if (_argo0 == Py_None) { _arg0 = NULL; }
4017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4019 return NULL;
4020 }
4021 }
4022 {
4023 wxPy_BEGIN_ALLOW_THREADS;
4024 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4025
4026 wxPy_END_ALLOW_THREADS;
4027 } if (_result) {
4028 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4029 _resultobj = Py_BuildValue("s",_ptemp);
4030 } else {
4031 Py_INCREF(Py_None);
4032 _resultobj = Py_None;
4033 }
4034 return _resultobj;
4035 }
4036
4037 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4038 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject * _resultobj;
4040 wxGridTableBase * _arg0;
4041 wxGrid * _arg1;
4042 PyObject * _argo0 = 0;
4043 PyObject * _argo1 = 0;
4044 char *_kwnames[] = { "self","grid", NULL };
4045
4046 self = self;
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4048 return NULL;
4049 if (_argo0) {
4050 if (_argo0 == Py_None) { _arg0 = NULL; }
4051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4053 return NULL;
4054 }
4055 }
4056 if (_argo1) {
4057 if (_argo1 == Py_None) { _arg1 = NULL; }
4058 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4059 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4060 return NULL;
4061 }
4062 }
4063 {
4064 wxPy_BEGIN_ALLOW_THREADS;
4065 wxGridTableBase_SetView(_arg0,_arg1);
4066
4067 wxPy_END_ALLOW_THREADS;
4068 } Py_INCREF(Py_None);
4069 _resultobj = Py_None;
4070 return _resultobj;
4071 }
4072
4073 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4074 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4075 PyObject * _resultobj;
4076 wxGrid * _result;
4077 wxGridTableBase * _arg0;
4078 PyObject * _argo0 = 0;
4079 char *_kwnames[] = { "self", NULL };
4080 char _ptemp[128];
4081
4082 self = self;
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4084 return NULL;
4085 if (_argo0) {
4086 if (_argo0 == Py_None) { _arg0 = NULL; }
4087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4089 return NULL;
4090 }
4091 }
4092 {
4093 wxPy_BEGIN_ALLOW_THREADS;
4094 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4095
4096 wxPy_END_ALLOW_THREADS;
4097 } if (_result) {
4098 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
4099 _resultobj = Py_BuildValue("s",_ptemp);
4100 } else {
4101 Py_INCREF(Py_None);
4102 _resultobj = Py_None;
4103 }
4104 return _resultobj;
4105 }
4106
4107 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4108 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4109 PyObject * _resultobj;
4110 int _result;
4111 wxGridTableBase * _arg0;
4112 PyObject * _argo0 = 0;
4113 char *_kwnames[] = { "self", NULL };
4114
4115 self = self;
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4117 return NULL;
4118 if (_argo0) {
4119 if (_argo0 == Py_None) { _arg0 = NULL; }
4120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4122 return NULL;
4123 }
4124 }
4125 {
4126 wxPy_BEGIN_ALLOW_THREADS;
4127 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4128
4129 wxPy_END_ALLOW_THREADS;
4130 } _resultobj = Py_BuildValue("i",_result);
4131 return _resultobj;
4132 }
4133
4134 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4135 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject * _resultobj;
4137 int _result;
4138 wxGridTableBase * _arg0;
4139 PyObject * _argo0 = 0;
4140 char *_kwnames[] = { "self", NULL };
4141
4142 self = self;
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4144 return NULL;
4145 if (_argo0) {
4146 if (_argo0 == Py_None) { _arg0 = NULL; }
4147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4149 return NULL;
4150 }
4151 }
4152 {
4153 wxPy_BEGIN_ALLOW_THREADS;
4154 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4155
4156 wxPy_END_ALLOW_THREADS;
4157 } _resultobj = Py_BuildValue("i",_result);
4158 return _resultobj;
4159 }
4160
4161 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4162 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4163 PyObject * _resultobj;
4164 bool _result;
4165 wxGridTableBase * _arg0;
4166 int _arg1;
4167 int _arg2;
4168 PyObject * _argo0 = 0;
4169 char *_kwnames[] = { "self","row","col", NULL };
4170
4171 self = self;
4172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4173 return NULL;
4174 if (_argo0) {
4175 if (_argo0 == Py_None) { _arg0 = NULL; }
4176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4178 return NULL;
4179 }
4180 }
4181 {
4182 wxPy_BEGIN_ALLOW_THREADS;
4183 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4184
4185 wxPy_END_ALLOW_THREADS;
4186 } _resultobj = Py_BuildValue("i",_result);
4187 return _resultobj;
4188 }
4189
4190 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4191 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4192 PyObject * _resultobj;
4193 wxString * _result;
4194 wxGridTableBase * _arg0;
4195 int _arg1;
4196 int _arg2;
4197 PyObject * _argo0 = 0;
4198 char *_kwnames[] = { "self","row","col", NULL };
4199
4200 self = self;
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4202 return NULL;
4203 if (_argo0) {
4204 if (_argo0 == Py_None) { _arg0 = NULL; }
4205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4207 return NULL;
4208 }
4209 }
4210 {
4211 wxPy_BEGIN_ALLOW_THREADS;
4212 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4213
4214 wxPy_END_ALLOW_THREADS;
4215 }{
4216 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4217 }
4218 {
4219 delete _result;
4220 }
4221 return _resultobj;
4222 }
4223
4224 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4225 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject * _resultobj;
4227 wxGridTableBase * _arg0;
4228 int _arg1;
4229 int _arg2;
4230 wxString * _arg3;
4231 PyObject * _argo0 = 0;
4232 PyObject * _obj3 = 0;
4233 char *_kwnames[] = { "self","row","col","value", NULL };
4234
4235 self = self;
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4237 return NULL;
4238 if (_argo0) {
4239 if (_argo0 == Py_None) { _arg0 = NULL; }
4240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4242 return NULL;
4243 }
4244 }
4245 {
4246 if (!PyString_Check(_obj3)) {
4247 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4248 return NULL;
4249 }
4250 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4251 }
4252 {
4253 wxPy_BEGIN_ALLOW_THREADS;
4254 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4255
4256 wxPy_END_ALLOW_THREADS;
4257 } Py_INCREF(Py_None);
4258 _resultobj = Py_None;
4259 {
4260 if (_obj3)
4261 delete _arg3;
4262 }
4263 return _resultobj;
4264 }
4265
4266 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4267 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4268 PyObject * _resultobj;
4269 wxString * _result;
4270 wxGridTableBase * _arg0;
4271 int _arg1;
4272 int _arg2;
4273 PyObject * _argo0 = 0;
4274 char *_kwnames[] = { "self","row","col", NULL };
4275
4276 self = self;
4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4278 return NULL;
4279 if (_argo0) {
4280 if (_argo0 == Py_None) { _arg0 = NULL; }
4281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4283 return NULL;
4284 }
4285 }
4286 {
4287 wxPy_BEGIN_ALLOW_THREADS;
4288 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4289
4290 wxPy_END_ALLOW_THREADS;
4291 }{
4292 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4293 }
4294 {
4295 delete _result;
4296 }
4297 return _resultobj;
4298 }
4299
4300 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4301 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject * _resultobj;
4303 bool _result;
4304 wxGridTableBase * _arg0;
4305 int _arg1;
4306 int _arg2;
4307 wxString * _arg3;
4308 PyObject * _argo0 = 0;
4309 PyObject * _obj3 = 0;
4310 char *_kwnames[] = { "self","row","col","typeName", NULL };
4311
4312 self = self;
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4314 return NULL;
4315 if (_argo0) {
4316 if (_argo0 == Py_None) { _arg0 = NULL; }
4317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4319 return NULL;
4320 }
4321 }
4322 {
4323 if (!PyString_Check(_obj3)) {
4324 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4325 return NULL;
4326 }
4327 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4328 }
4329 {
4330 wxPy_BEGIN_ALLOW_THREADS;
4331 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4332
4333 wxPy_END_ALLOW_THREADS;
4334 } _resultobj = Py_BuildValue("i",_result);
4335 {
4336 if (_obj3)
4337 delete _arg3;
4338 }
4339 return _resultobj;
4340 }
4341
4342 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4343 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4344 PyObject * _resultobj;
4345 bool _result;
4346 wxGridTableBase * _arg0;
4347 int _arg1;
4348 int _arg2;
4349 wxString * _arg3;
4350 PyObject * _argo0 = 0;
4351 PyObject * _obj3 = 0;
4352 char *_kwnames[] = { "self","row","col","typeName", NULL };
4353
4354 self = self;
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4356 return NULL;
4357 if (_argo0) {
4358 if (_argo0 == Py_None) { _arg0 = NULL; }
4359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4361 return NULL;
4362 }
4363 }
4364 {
4365 if (!PyString_Check(_obj3)) {
4366 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4367 return NULL;
4368 }
4369 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4370 }
4371 {
4372 wxPy_BEGIN_ALLOW_THREADS;
4373 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4374
4375 wxPy_END_ALLOW_THREADS;
4376 } _resultobj = Py_BuildValue("i",_result);
4377 {
4378 if (_obj3)
4379 delete _arg3;
4380 }
4381 return _resultobj;
4382 }
4383
4384 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4385 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4386 PyObject * _resultobj;
4387 long _result;
4388 wxGridTableBase * _arg0;
4389 int _arg1;
4390 int _arg2;
4391 PyObject * _argo0 = 0;
4392 char *_kwnames[] = { "self","row","col", NULL };
4393
4394 self = self;
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4396 return NULL;
4397 if (_argo0) {
4398 if (_argo0 == Py_None) { _arg0 = NULL; }
4399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4401 return NULL;
4402 }
4403 }
4404 {
4405 wxPy_BEGIN_ALLOW_THREADS;
4406 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4407
4408 wxPy_END_ALLOW_THREADS;
4409 } _resultobj = Py_BuildValue("l",_result);
4410 return _resultobj;
4411 }
4412
4413 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4414 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4415 PyObject * _resultobj;
4416 double _result;
4417 wxGridTableBase * _arg0;
4418 int _arg1;
4419 int _arg2;
4420 PyObject * _argo0 = 0;
4421 char *_kwnames[] = { "self","row","col", NULL };
4422
4423 self = self;
4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4425 return NULL;
4426 if (_argo0) {
4427 if (_argo0 == Py_None) { _arg0 = NULL; }
4428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4430 return NULL;
4431 }
4432 }
4433 {
4434 wxPy_BEGIN_ALLOW_THREADS;
4435 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4436
4437 wxPy_END_ALLOW_THREADS;
4438 } _resultobj = Py_BuildValue("d",_result);
4439 return _resultobj;
4440 }
4441
4442 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4443 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4444 PyObject * _resultobj;
4445 bool _result;
4446 wxGridTableBase * _arg0;
4447 int _arg1;
4448 int _arg2;
4449 PyObject * _argo0 = 0;
4450 char *_kwnames[] = { "self","row","col", NULL };
4451
4452 self = self;
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4454 return NULL;
4455 if (_argo0) {
4456 if (_argo0 == Py_None) { _arg0 = NULL; }
4457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4459 return NULL;
4460 }
4461 }
4462 {
4463 wxPy_BEGIN_ALLOW_THREADS;
4464 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4465
4466 wxPy_END_ALLOW_THREADS;
4467 } _resultobj = Py_BuildValue("i",_result);
4468 return _resultobj;
4469 }
4470
4471 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4472 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4473 PyObject * _resultobj;
4474 wxGridTableBase * _arg0;
4475 int _arg1;
4476 int _arg2;
4477 long _arg3;
4478 PyObject * _argo0 = 0;
4479 char *_kwnames[] = { "self","row","col","value", NULL };
4480
4481 self = self;
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4483 return NULL;
4484 if (_argo0) {
4485 if (_argo0 == Py_None) { _arg0 = NULL; }
4486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4488 return NULL;
4489 }
4490 }
4491 {
4492 wxPy_BEGIN_ALLOW_THREADS;
4493 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4494
4495 wxPy_END_ALLOW_THREADS;
4496 } Py_INCREF(Py_None);
4497 _resultobj = Py_None;
4498 return _resultobj;
4499 }
4500
4501 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4502 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject * _resultobj;
4504 wxGridTableBase * _arg0;
4505 int _arg1;
4506 int _arg2;
4507 double _arg3;
4508 PyObject * _argo0 = 0;
4509 char *_kwnames[] = { "self","row","col","value", NULL };
4510
4511 self = self;
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4513 return NULL;
4514 if (_argo0) {
4515 if (_argo0 == Py_None) { _arg0 = NULL; }
4516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4518 return NULL;
4519 }
4520 }
4521 {
4522 wxPy_BEGIN_ALLOW_THREADS;
4523 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
4524
4525 wxPy_END_ALLOW_THREADS;
4526 } Py_INCREF(Py_None);
4527 _resultobj = Py_None;
4528 return _resultobj;
4529 }
4530
4531 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4532 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4533 PyObject * _resultobj;
4534 wxGridTableBase * _arg0;
4535 int _arg1;
4536 int _arg2;
4537 bool _arg3;
4538 PyObject * _argo0 = 0;
4539 int tempbool3;
4540 char *_kwnames[] = { "self","row","col","value", NULL };
4541
4542 self = self;
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4544 return NULL;
4545 if (_argo0) {
4546 if (_argo0 == Py_None) { _arg0 = NULL; }
4547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4549 return NULL;
4550 }
4551 }
4552 _arg3 = (bool ) tempbool3;
4553 {
4554 wxPy_BEGIN_ALLOW_THREADS;
4555 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
4556
4557 wxPy_END_ALLOW_THREADS;
4558 } Py_INCREF(Py_None);
4559 _resultobj = Py_None;
4560 return _resultobj;
4561 }
4562
4563 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4564 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject * _resultobj;
4566 wxGridTableBase * _arg0;
4567 PyObject * _argo0 = 0;
4568 char *_kwnames[] = { "self", NULL };
4569
4570 self = self;
4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
4572 return NULL;
4573 if (_argo0) {
4574 if (_argo0 == Py_None) { _arg0 = NULL; }
4575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4577 return NULL;
4578 }
4579 }
4580 {
4581 wxPy_BEGIN_ALLOW_THREADS;
4582 wxGridTableBase_Clear(_arg0);
4583
4584 wxPy_END_ALLOW_THREADS;
4585 } Py_INCREF(Py_None);
4586 _resultobj = Py_None;
4587 return _resultobj;
4588 }
4589
4590 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4591 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4592 PyObject * _resultobj;
4593 bool _result;
4594 wxGridTableBase * _arg0;
4595 size_t _arg1 = (size_t ) 0;
4596 size_t _arg2 = (size_t ) 1;
4597 PyObject * _argo0 = 0;
4598 char *_kwnames[] = { "self","pos","numRows", NULL };
4599
4600 self = self;
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
4602 return NULL;
4603 if (_argo0) {
4604 if (_argo0 == Py_None) { _arg0 = NULL; }
4605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4607 return NULL;
4608 }
4609 }
4610 {
4611 wxPy_BEGIN_ALLOW_THREADS;
4612 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
4613
4614 wxPy_END_ALLOW_THREADS;
4615 } _resultobj = Py_BuildValue("i",_result);
4616 return _resultobj;
4617 }
4618
4619 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4620 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject * _resultobj;
4622 bool _result;
4623 wxGridTableBase * _arg0;
4624 size_t _arg1 = (size_t ) 1;
4625 PyObject * _argo0 = 0;
4626 char *_kwnames[] = { "self","numRows", NULL };
4627
4628 self = self;
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
4630 return NULL;
4631 if (_argo0) {
4632 if (_argo0 == Py_None) { _arg0 = NULL; }
4633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4635 return NULL;
4636 }
4637 }
4638 {
4639 wxPy_BEGIN_ALLOW_THREADS;
4640 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
4641
4642 wxPy_END_ALLOW_THREADS;
4643 } _resultobj = Py_BuildValue("i",_result);
4644 return _resultobj;
4645 }
4646
4647 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4648 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4649 PyObject * _resultobj;
4650 bool _result;
4651 wxGridTableBase * _arg0;
4652 size_t _arg1 = (size_t ) 0;
4653 size_t _arg2 = (size_t ) 1;
4654 PyObject * _argo0 = 0;
4655 char *_kwnames[] = { "self","pos","numRows", NULL };
4656
4657 self = self;
4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
4659 return NULL;
4660 if (_argo0) {
4661 if (_argo0 == Py_None) { _arg0 = NULL; }
4662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4664 return NULL;
4665 }
4666 }
4667 {
4668 wxPy_BEGIN_ALLOW_THREADS;
4669 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
4670
4671 wxPy_END_ALLOW_THREADS;
4672 } _resultobj = Py_BuildValue("i",_result);
4673 return _resultobj;
4674 }
4675
4676 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4677 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject * _resultobj;
4679 bool _result;
4680 wxGridTableBase * _arg0;
4681 size_t _arg1 = (size_t ) 0;
4682 size_t _arg2 = (size_t ) 1;
4683 PyObject * _argo0 = 0;
4684 char *_kwnames[] = { "self","pos","numCols", NULL };
4685
4686 self = self;
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
4688 return NULL;
4689 if (_argo0) {
4690 if (_argo0 == Py_None) { _arg0 = NULL; }
4691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4693 return NULL;
4694 }
4695 }
4696 {
4697 wxPy_BEGIN_ALLOW_THREADS;
4698 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
4699
4700 wxPy_END_ALLOW_THREADS;
4701 } _resultobj = Py_BuildValue("i",_result);
4702 return _resultobj;
4703 }
4704
4705 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4706 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4707 PyObject * _resultobj;
4708 bool _result;
4709 wxGridTableBase * _arg0;
4710 size_t _arg1 = (size_t ) 1;
4711 PyObject * _argo0 = 0;
4712 char *_kwnames[] = { "self","numCols", NULL };
4713
4714 self = self;
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
4716 return NULL;
4717 if (_argo0) {
4718 if (_argo0 == Py_None) { _arg0 = NULL; }
4719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4721 return NULL;
4722 }
4723 }
4724 {
4725 wxPy_BEGIN_ALLOW_THREADS;
4726 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
4727
4728 wxPy_END_ALLOW_THREADS;
4729 } _resultobj = Py_BuildValue("i",_result);
4730 return _resultobj;
4731 }
4732
4733 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4734 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4735 PyObject * _resultobj;
4736 bool _result;
4737 wxGridTableBase * _arg0;
4738 size_t _arg1 = (size_t ) 0;
4739 size_t _arg2 = (size_t ) 1;
4740 PyObject * _argo0 = 0;
4741 char *_kwnames[] = { "self","pos","numCols", NULL };
4742
4743 self = self;
4744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
4745 return NULL;
4746 if (_argo0) {
4747 if (_argo0 == Py_None) { _arg0 = NULL; }
4748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4750 return NULL;
4751 }
4752 }
4753 {
4754 wxPy_BEGIN_ALLOW_THREADS;
4755 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
4756
4757 wxPy_END_ALLOW_THREADS;
4758 } _resultobj = Py_BuildValue("i",_result);
4759 return _resultobj;
4760 }
4761
4762 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4763 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4764 PyObject * _resultobj;
4765 wxString * _result;
4766 wxGridTableBase * _arg0;
4767 int _arg1;
4768 PyObject * _argo0 = 0;
4769 char *_kwnames[] = { "self","row", NULL };
4770
4771 self = self;
4772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
4773 return NULL;
4774 if (_argo0) {
4775 if (_argo0 == Py_None) { _arg0 = NULL; }
4776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4778 return NULL;
4779 }
4780 }
4781 {
4782 wxPy_BEGIN_ALLOW_THREADS;
4783 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
4784
4785 wxPy_END_ALLOW_THREADS;
4786 }{
4787 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4788 }
4789 {
4790 delete _result;
4791 }
4792 return _resultobj;
4793 }
4794
4795 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
4796 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4797 PyObject * _resultobj;
4798 wxString * _result;
4799 wxGridTableBase * _arg0;
4800 int _arg1;
4801 PyObject * _argo0 = 0;
4802 char *_kwnames[] = { "self","col", NULL };
4803
4804 self = self;
4805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
4806 return NULL;
4807 if (_argo0) {
4808 if (_argo0 == Py_None) { _arg0 = NULL; }
4809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
4811 return NULL;
4812 }
4813 }
4814 {
4815 wxPy_BEGIN_ALLOW_THREADS;
4816 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
4817
4818 wxPy_END_ALLOW_THREADS;
4819 }{
4820 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4821 }
4822 {
4823 delete _result;
4824 }
4825 return _resultobj;
4826 }
4827
4828 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
4829 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject * _resultobj;
4831 wxGridTableBase * _arg0;
4832 int _arg1;
4833 wxString * _arg2;
4834 PyObject * _argo0 = 0;
4835 PyObject * _obj2 = 0;
4836 char *_kwnames[] = { "self","row","value", NULL };
4837
4838 self = self;
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
4840 return NULL;
4841 if (_argo0) {
4842 if (_argo0 == Py_None) { _arg0 = NULL; }
4843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
4845 return NULL;
4846 }
4847 }
4848 {
4849 if (!PyString_Check(_obj2)) {
4850 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4851 return NULL;
4852 }
4853 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4854 }
4855 {
4856 wxPy_BEGIN_ALLOW_THREADS;
4857 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
4858
4859 wxPy_END_ALLOW_THREADS;
4860 } Py_INCREF(Py_None);
4861 _resultobj = Py_None;
4862 {
4863 if (_obj2)
4864 delete _arg2;
4865 }
4866 return _resultobj;
4867 }
4868
4869 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
4870 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject * _resultobj;
4872 wxGridTableBase * _arg0;
4873 int _arg1;
4874 wxString * _arg2;
4875 PyObject * _argo0 = 0;
4876 PyObject * _obj2 = 0;
4877 char *_kwnames[] = { "self","col","value", NULL };
4878
4879 self = self;
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
4881 return NULL;
4882 if (_argo0) {
4883 if (_argo0 == Py_None) { _arg0 = NULL; }
4884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
4886 return NULL;
4887 }
4888 }
4889 {
4890 if (!PyString_Check(_obj2)) {
4891 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4892 return NULL;
4893 }
4894 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4895 }
4896 {
4897 wxPy_BEGIN_ALLOW_THREADS;
4898 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
4899
4900 wxPy_END_ALLOW_THREADS;
4901 } Py_INCREF(Py_None);
4902 _resultobj = Py_None;
4903 {
4904 if (_obj2)
4905 delete _arg2;
4906 }
4907 return _resultobj;
4908 }
4909
4910 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
4911 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4912 PyObject * _resultobj;
4913 bool _result;
4914 wxGridTableBase * _arg0;
4915 PyObject * _argo0 = 0;
4916 char *_kwnames[] = { "self", NULL };
4917
4918 self = self;
4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
4920 return NULL;
4921 if (_argo0) {
4922 if (_argo0 == Py_None) { _arg0 = NULL; }
4923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
4925 return NULL;
4926 }
4927 }
4928 {
4929 wxPy_BEGIN_ALLOW_THREADS;
4930 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
4931
4932 wxPy_END_ALLOW_THREADS;
4933 } _resultobj = Py_BuildValue("i",_result);
4934 return _resultobj;
4935 }
4936
4937 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
4938 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4939 PyObject * _resultobj;
4940 wxGridCellAttr * _result;
4941 wxGridTableBase * _arg0;
4942 int _arg1;
4943 int _arg2;
4944 PyObject * _argo0 = 0;
4945 char *_kwnames[] = { "self","row","col", NULL };
4946 char _ptemp[128];
4947
4948 self = self;
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
4950 return NULL;
4951 if (_argo0) {
4952 if (_argo0 == Py_None) { _arg0 = NULL; }
4953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
4955 return NULL;
4956 }
4957 }
4958 {
4959 wxPy_BEGIN_ALLOW_THREADS;
4960 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2);
4961
4962 wxPy_END_ALLOW_THREADS;
4963 } if (_result) {
4964 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4965 _resultobj = Py_BuildValue("s",_ptemp);
4966 } else {
4967 Py_INCREF(Py_None);
4968 _resultobj = Py_None;
4969 }
4970 return _resultobj;
4971 }
4972
4973 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4974 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4975 PyObject * _resultobj;
4976 wxGridTableBase * _arg0;
4977 wxGridCellAttr * _arg1;
4978 int _arg2;
4979 int _arg3;
4980 PyObject * _argo0 = 0;
4981 PyObject * _argo1 = 0;
4982 char *_kwnames[] = { "self","attr","row","col", NULL };
4983
4984 self = self;
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4986 return NULL;
4987 if (_argo0) {
4988 if (_argo0 == Py_None) { _arg0 = NULL; }
4989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
4991 return NULL;
4992 }
4993 }
4994 if (_argo1) {
4995 if (_argo1 == Py_None) { _arg1 = NULL; }
4996 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4997 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
4998 return NULL;
4999 }
5000 }
5001 {
5002 wxPy_BEGIN_ALLOW_THREADS;
5003 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5004
5005 wxPy_END_ALLOW_THREADS;
5006 } Py_INCREF(Py_None);
5007 _resultobj = Py_None;
5008 return _resultobj;
5009 }
5010
5011 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5012 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject * _resultobj;
5014 wxGridTableBase * _arg0;
5015 wxGridCellAttr * _arg1;
5016 int _arg2;
5017 PyObject * _argo0 = 0;
5018 PyObject * _argo1 = 0;
5019 char *_kwnames[] = { "self","attr","row", NULL };
5020
5021 self = self;
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
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_SetRowAttr. Expected _wxGridTableBase_p.");
5028 return NULL;
5029 }
5030 }
5031 if (_argo1) {
5032 if (_argo1 == Py_None) { _arg1 = NULL; }
5033 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5034 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5035 return NULL;
5036 }
5037 }
5038 {
5039 wxPy_BEGIN_ALLOW_THREADS;
5040 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5041
5042 wxPy_END_ALLOW_THREADS;
5043 } Py_INCREF(Py_None);
5044 _resultobj = Py_None;
5045 return _resultobj;
5046 }
5047
5048 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5049 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5050 PyObject * _resultobj;
5051 wxGridTableBase * _arg0;
5052 wxGridCellAttr * _arg1;
5053 int _arg2;
5054 PyObject * _argo0 = 0;
5055 PyObject * _argo1 = 0;
5056 char *_kwnames[] = { "self","attr","col", NULL };
5057
5058 self = self;
5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5060 return NULL;
5061 if (_argo0) {
5062 if (_argo0 == Py_None) { _arg0 = NULL; }
5063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5065 return NULL;
5066 }
5067 }
5068 if (_argo1) {
5069 if (_argo1 == Py_None) { _arg1 = NULL; }
5070 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5071 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5072 return NULL;
5073 }
5074 }
5075 {
5076 wxPy_BEGIN_ALLOW_THREADS;
5077 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5078
5079 wxPy_END_ALLOW_THREADS;
5080 } Py_INCREF(Py_None);
5081 _resultobj = Py_None;
5082 return _resultobj;
5083 }
5084
5085 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5086 wxPyGridTableBase *src;
5087 wxGridTableBase *dest;
5088 src = (wxPyGridTableBase *) ptr;
5089 dest = (wxGridTableBase *) src;
5090 return (void *) dest;
5091 }
5092
5093 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5094 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5095 PyObject * _resultobj;
5096 wxPyGridTableBase * _result;
5097 char *_kwnames[] = { NULL };
5098 char _ptemp[128];
5099
5100 self = self;
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5102 return NULL;
5103 {
5104 wxPy_BEGIN_ALLOW_THREADS;
5105 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5106
5107 wxPy_END_ALLOW_THREADS;
5108 } if (_result) {
5109 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5110 _resultobj = Py_BuildValue("s",_ptemp);
5111 } else {
5112 Py_INCREF(Py_None);
5113 _resultobj = Py_None;
5114 }
5115 return _resultobj;
5116 }
5117
5118 #define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5119 static PyObject *_wrap_wxPyGridTableBase__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5120 PyObject * _resultobj;
5121 wxPyGridTableBase * _arg0;
5122 PyObject * _arg1;
5123 PyObject * _arg2;
5124 PyObject * _argo0 = 0;
5125 PyObject * _obj1 = 0;
5126 PyObject * _obj2 = 0;
5127 char *_kwnames[] = { "self","self","_class", NULL };
5128
5129 self = self;
5130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5131 return NULL;
5132 if (_argo0) {
5133 if (_argo0 == Py_None) { _arg0 = NULL; }
5134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5136 return NULL;
5137 }
5138 }
5139 {
5140 _arg1 = _obj1;
5141 }
5142 {
5143 _arg2 = _obj2;
5144 }
5145 {
5146 wxPy_BEGIN_ALLOW_THREADS;
5147 wxPyGridTableBase__setSelf(_arg0,_arg1,_arg2);
5148
5149 wxPy_END_ALLOW_THREADS;
5150 } Py_INCREF(Py_None);
5151 _resultobj = Py_None;
5152 return _resultobj;
5153 }
5154
5155 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5156 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5157 PyObject * _resultobj;
5158 wxPyGridTableBase * _arg0;
5159 PyObject * _argo0 = 0;
5160 char *_kwnames[] = { "self", NULL };
5161
5162 self = self;
5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5164 return NULL;
5165 if (_argo0) {
5166 if (_argo0 == Py_None) { _arg0 = NULL; }
5167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5169 return NULL;
5170 }
5171 }
5172 {
5173 wxPy_BEGIN_ALLOW_THREADS;
5174 wxPyGridTableBase_Destroy(_arg0);
5175
5176 wxPy_END_ALLOW_THREADS;
5177 } Py_INCREF(Py_None);
5178 _resultobj = Py_None;
5179 return _resultobj;
5180 }
5181
5182 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5183 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5184 PyObject * _resultobj;
5185 wxString * _result;
5186 wxPyGridTableBase * _arg0;
5187 int _arg1;
5188 int _arg2;
5189 PyObject * _argo0 = 0;
5190 char *_kwnames[] = { "self","row","col", NULL };
5191
5192 self = self;
5193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5194 return NULL;
5195 if (_argo0) {
5196 if (_argo0 == Py_None) { _arg0 = NULL; }
5197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5199 return NULL;
5200 }
5201 }
5202 {
5203 wxPy_BEGIN_ALLOW_THREADS;
5204 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5205
5206 wxPy_END_ALLOW_THREADS;
5207 }{
5208 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5209 }
5210 {
5211 delete _result;
5212 }
5213 return _resultobj;
5214 }
5215
5216 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5217 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject * _resultobj;
5219 bool _result;
5220 wxPyGridTableBase * _arg0;
5221 int _arg1;
5222 int _arg2;
5223 wxString * _arg3;
5224 PyObject * _argo0 = 0;
5225 PyObject * _obj3 = 0;
5226 char *_kwnames[] = { "self","row","col","typeName", NULL };
5227
5228 self = self;
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5230 return NULL;
5231 if (_argo0) {
5232 if (_argo0 == Py_None) { _arg0 = NULL; }
5233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5235 return NULL;
5236 }
5237 }
5238 {
5239 if (!PyString_Check(_obj3)) {
5240 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5241 return NULL;
5242 }
5243 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
5244 }
5245 {
5246 wxPy_BEGIN_ALLOW_THREADS;
5247 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5248
5249 wxPy_END_ALLOW_THREADS;
5250 } _resultobj = Py_BuildValue("i",_result);
5251 {
5252 if (_obj3)
5253 delete _arg3;
5254 }
5255 return _resultobj;
5256 }
5257
5258 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5259 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5260 PyObject * _resultobj;
5261 bool _result;
5262 wxPyGridTableBase * _arg0;
5263 int _arg1;
5264 int _arg2;
5265 wxString * _arg3;
5266 PyObject * _argo0 = 0;
5267 PyObject * _obj3 = 0;
5268 char *_kwnames[] = { "self","row","col","typeName", NULL };
5269
5270 self = self;
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5272 return NULL;
5273 if (_argo0) {
5274 if (_argo0 == Py_None) { _arg0 = NULL; }
5275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5277 return NULL;
5278 }
5279 }
5280 {
5281 if (!PyString_Check(_obj3)) {
5282 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5283 return NULL;
5284 }
5285 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
5286 }
5287 {
5288 wxPy_BEGIN_ALLOW_THREADS;
5289 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5290
5291 wxPy_END_ALLOW_THREADS;
5292 } _resultobj = Py_BuildValue("i",_result);
5293 {
5294 if (_obj3)
5295 delete _arg3;
5296 }
5297 return _resultobj;
5298 }
5299
5300 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5301 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5302 PyObject * _resultobj;
5303 wxPyGridTableBase * _arg0;
5304 PyObject * _argo0 = 0;
5305 char *_kwnames[] = { "self", NULL };
5306
5307 self = self;
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5309 return NULL;
5310 if (_argo0) {
5311 if (_argo0 == Py_None) { _arg0 = NULL; }
5312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5314 return NULL;
5315 }
5316 }
5317 {
5318 wxPy_BEGIN_ALLOW_THREADS;
5319 wxPyGridTableBase_base_Clear(_arg0);
5320
5321 wxPy_END_ALLOW_THREADS;
5322 } Py_INCREF(Py_None);
5323 _resultobj = Py_None;
5324 return _resultobj;
5325 }
5326
5327 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5328 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5329 PyObject * _resultobj;
5330 bool _result;
5331 wxPyGridTableBase * _arg0;
5332 size_t _arg1 = (size_t ) 0;
5333 size_t _arg2 = (size_t ) 1;
5334 PyObject * _argo0 = 0;
5335 char *_kwnames[] = { "self","pos","numRows", NULL };
5336
5337 self = self;
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5339 return NULL;
5340 if (_argo0) {
5341 if (_argo0 == Py_None) { _arg0 = NULL; }
5342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5344 return NULL;
5345 }
5346 }
5347 {
5348 wxPy_BEGIN_ALLOW_THREADS;
5349 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5350
5351 wxPy_END_ALLOW_THREADS;
5352 } _resultobj = Py_BuildValue("i",_result);
5353 return _resultobj;
5354 }
5355
5356 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5357 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5358 PyObject * _resultobj;
5359 bool _result;
5360 wxPyGridTableBase * _arg0;
5361 size_t _arg1 = (size_t ) 1;
5362 PyObject * _argo0 = 0;
5363 char *_kwnames[] = { "self","numRows", NULL };
5364
5365 self = self;
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5367 return NULL;
5368 if (_argo0) {
5369 if (_argo0 == Py_None) { _arg0 = NULL; }
5370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5372 return NULL;
5373 }
5374 }
5375 {
5376 wxPy_BEGIN_ALLOW_THREADS;
5377 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5378
5379 wxPy_END_ALLOW_THREADS;
5380 } _resultobj = Py_BuildValue("i",_result);
5381 return _resultobj;
5382 }
5383
5384 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5385 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5386 PyObject * _resultobj;
5387 bool _result;
5388 wxPyGridTableBase * _arg0;
5389 size_t _arg1 = (size_t ) 0;
5390 size_t _arg2 = (size_t ) 1;
5391 PyObject * _argo0 = 0;
5392 char *_kwnames[] = { "self","pos","numRows", NULL };
5393
5394 self = self;
5395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5396 return NULL;
5397 if (_argo0) {
5398 if (_argo0 == Py_None) { _arg0 = NULL; }
5399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5401 return NULL;
5402 }
5403 }
5404 {
5405 wxPy_BEGIN_ALLOW_THREADS;
5406 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5407
5408 wxPy_END_ALLOW_THREADS;
5409 } _resultobj = Py_BuildValue("i",_result);
5410 return _resultobj;
5411 }
5412
5413 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5414 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5415 PyObject * _resultobj;
5416 bool _result;
5417 wxPyGridTableBase * _arg0;
5418 size_t _arg1 = (size_t ) 0;
5419 size_t _arg2 = (size_t ) 1;
5420 PyObject * _argo0 = 0;
5421 char *_kwnames[] = { "self","pos","numCols", NULL };
5422
5423 self = self;
5424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5425 return NULL;
5426 if (_argo0) {
5427 if (_argo0 == Py_None) { _arg0 = NULL; }
5428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5430 return NULL;
5431 }
5432 }
5433 {
5434 wxPy_BEGIN_ALLOW_THREADS;
5435 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5436
5437 wxPy_END_ALLOW_THREADS;
5438 } _resultobj = Py_BuildValue("i",_result);
5439 return _resultobj;
5440 }
5441
5442 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5443 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5444 PyObject * _resultobj;
5445 bool _result;
5446 wxPyGridTableBase * _arg0;
5447 size_t _arg1 = (size_t ) 1;
5448 PyObject * _argo0 = 0;
5449 char *_kwnames[] = { "self","numCols", NULL };
5450
5451 self = self;
5452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5453 return NULL;
5454 if (_argo0) {
5455 if (_argo0 == Py_None) { _arg0 = NULL; }
5456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5458 return NULL;
5459 }
5460 }
5461 {
5462 wxPy_BEGIN_ALLOW_THREADS;
5463 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5464
5465 wxPy_END_ALLOW_THREADS;
5466 } _resultobj = Py_BuildValue("i",_result);
5467 return _resultobj;
5468 }
5469
5470 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5471 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5472 PyObject * _resultobj;
5473 bool _result;
5474 wxPyGridTableBase * _arg0;
5475 size_t _arg1 = (size_t ) 0;
5476 size_t _arg2 = (size_t ) 1;
5477 PyObject * _argo0 = 0;
5478 char *_kwnames[] = { "self","pos","numCols", NULL };
5479
5480 self = self;
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5482 return NULL;
5483 if (_argo0) {
5484 if (_argo0 == Py_None) { _arg0 = NULL; }
5485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5487 return NULL;
5488 }
5489 }
5490 {
5491 wxPy_BEGIN_ALLOW_THREADS;
5492 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
5493
5494 wxPy_END_ALLOW_THREADS;
5495 } _resultobj = Py_BuildValue("i",_result);
5496 return _resultobj;
5497 }
5498
5499 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5500 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5501 PyObject * _resultobj;
5502 wxString * _result;
5503 wxPyGridTableBase * _arg0;
5504 int _arg1;
5505 PyObject * _argo0 = 0;
5506 char *_kwnames[] = { "self","row", NULL };
5507
5508 self = self;
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5510 return NULL;
5511 if (_argo0) {
5512 if (_argo0 == Py_None) { _arg0 = NULL; }
5513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5515 return NULL;
5516 }
5517 }
5518 {
5519 wxPy_BEGIN_ALLOW_THREADS;
5520 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
5521
5522 wxPy_END_ALLOW_THREADS;
5523 }{
5524 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5525 }
5526 {
5527 delete _result;
5528 }
5529 return _resultobj;
5530 }
5531
5532 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5533 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5534 PyObject * _resultobj;
5535 wxString * _result;
5536 wxPyGridTableBase * _arg0;
5537 int _arg1;
5538 PyObject * _argo0 = 0;
5539 char *_kwnames[] = { "self","col", NULL };
5540
5541 self = self;
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5543 return NULL;
5544 if (_argo0) {
5545 if (_argo0 == Py_None) { _arg0 = NULL; }
5546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5548 return NULL;
5549 }
5550 }
5551 {
5552 wxPy_BEGIN_ALLOW_THREADS;
5553 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
5554
5555 wxPy_END_ALLOW_THREADS;
5556 }{
5557 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5558 }
5559 {
5560 delete _result;
5561 }
5562 return _resultobj;
5563 }
5564
5565 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5566 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject * _resultobj;
5568 wxPyGridTableBase * _arg0;
5569 int _arg1;
5570 wxString * _arg2;
5571 PyObject * _argo0 = 0;
5572 PyObject * _obj2 = 0;
5573 char *_kwnames[] = { "self","row","value", NULL };
5574
5575 self = self;
5576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5577 return NULL;
5578 if (_argo0) {
5579 if (_argo0 == Py_None) { _arg0 = NULL; }
5580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5582 return NULL;
5583 }
5584 }
5585 {
5586 if (!PyString_Check(_obj2)) {
5587 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5588 return NULL;
5589 }
5590 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5591 }
5592 {
5593 wxPy_BEGIN_ALLOW_THREADS;
5594 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
5595
5596 wxPy_END_ALLOW_THREADS;
5597 } Py_INCREF(Py_None);
5598 _resultobj = Py_None;
5599 {
5600 if (_obj2)
5601 delete _arg2;
5602 }
5603 return _resultobj;
5604 }
5605
5606 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5607 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject * _resultobj;
5609 wxPyGridTableBase * _arg0;
5610 int _arg1;
5611 wxString * _arg2;
5612 PyObject * _argo0 = 0;
5613 PyObject * _obj2 = 0;
5614 char *_kwnames[] = { "self","col","value", NULL };
5615
5616 self = self;
5617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5618 return NULL;
5619 if (_argo0) {
5620 if (_argo0 == Py_None) { _arg0 = NULL; }
5621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5623 return NULL;
5624 }
5625 }
5626 {
5627 if (!PyString_Check(_obj2)) {
5628 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5629 return NULL;
5630 }
5631 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5632 }
5633 {
5634 wxPy_BEGIN_ALLOW_THREADS;
5635 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
5636
5637 wxPy_END_ALLOW_THREADS;
5638 } Py_INCREF(Py_None);
5639 _resultobj = Py_None;
5640 {
5641 if (_obj2)
5642 delete _arg2;
5643 }
5644 return _resultobj;
5645 }
5646
5647 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5648 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5649 PyObject * _resultobj;
5650 bool _result;
5651 wxPyGridTableBase * _arg0;
5652 PyObject * _argo0 = 0;
5653 char *_kwnames[] = { "self", NULL };
5654
5655 self = self;
5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
5657 return NULL;
5658 if (_argo0) {
5659 if (_argo0 == Py_None) { _arg0 = NULL; }
5660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5662 return NULL;
5663 }
5664 }
5665 {
5666 wxPy_BEGIN_ALLOW_THREADS;
5667 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
5668
5669 wxPy_END_ALLOW_THREADS;
5670 } _resultobj = Py_BuildValue("i",_result);
5671 return _resultobj;
5672 }
5673
5674 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
5675 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5676 PyObject * _resultobj;
5677 wxGridCellAttr * _result;
5678 wxPyGridTableBase * _arg0;
5679 int _arg1;
5680 int _arg2;
5681 PyObject * _argo0 = 0;
5682 char *_kwnames[] = { "self","row","col", NULL };
5683 char _ptemp[128];
5684
5685 self = self;
5686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
5687 return NULL;
5688 if (_argo0) {
5689 if (_argo0 == Py_None) { _arg0 = NULL; }
5690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5692 return NULL;
5693 }
5694 }
5695 {
5696 wxPy_BEGIN_ALLOW_THREADS;
5697 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2);
5698
5699 wxPy_END_ALLOW_THREADS;
5700 } if (_result) {
5701 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5702 _resultobj = Py_BuildValue("s",_ptemp);
5703 } else {
5704 Py_INCREF(Py_None);
5705 _resultobj = Py_None;
5706 }
5707 return _resultobj;
5708 }
5709
5710 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5711 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5712 PyObject * _resultobj;
5713 wxPyGridTableBase * _arg0;
5714 wxGridCellAttr * _arg1;
5715 int _arg2;
5716 int _arg3;
5717 PyObject * _argo0 = 0;
5718 PyObject * _argo1 = 0;
5719 char *_kwnames[] = { "self","attr","row","col", NULL };
5720
5721 self = self;
5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5723 return NULL;
5724 if (_argo0) {
5725 if (_argo0 == Py_None) { _arg0 = NULL; }
5726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
5728 return NULL;
5729 }
5730 }
5731 if (_argo1) {
5732 if (_argo1 == Py_None) { _arg1 = NULL; }
5733 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5734 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
5735 return NULL;
5736 }
5737 }
5738 {
5739 wxPy_BEGIN_ALLOW_THREADS;
5740 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
5741
5742 wxPy_END_ALLOW_THREADS;
5743 } Py_INCREF(Py_None);
5744 _resultobj = Py_None;
5745 return _resultobj;
5746 }
5747
5748 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5749 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5750 PyObject * _resultobj;
5751 wxPyGridTableBase * _arg0;
5752 wxGridCellAttr * _arg1;
5753 int _arg2;
5754 PyObject * _argo0 = 0;
5755 PyObject * _argo1 = 0;
5756 char *_kwnames[] = { "self","attr","row", NULL };
5757
5758 self = self;
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5760 return NULL;
5761 if (_argo0) {
5762 if (_argo0 == Py_None) { _arg0 = NULL; }
5763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
5765 return NULL;
5766 }
5767 }
5768 if (_argo1) {
5769 if (_argo1 == Py_None) { _arg1 = NULL; }
5770 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5771 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5772 return NULL;
5773 }
5774 }
5775 {
5776 wxPy_BEGIN_ALLOW_THREADS;
5777 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
5778
5779 wxPy_END_ALLOW_THREADS;
5780 } Py_INCREF(Py_None);
5781 _resultobj = Py_None;
5782 return _resultobj;
5783 }
5784
5785 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5786 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5787 PyObject * _resultobj;
5788 wxPyGridTableBase * _arg0;
5789 wxGridCellAttr * _arg1;
5790 int _arg2;
5791 PyObject * _argo0 = 0;
5792 PyObject * _argo1 = 0;
5793 char *_kwnames[] = { "self","attr","col", NULL };
5794
5795 self = self;
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5797 return NULL;
5798 if (_argo0) {
5799 if (_argo0 == Py_None) { _arg0 = NULL; }
5800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
5802 return NULL;
5803 }
5804 }
5805 if (_argo1) {
5806 if (_argo1 == Py_None) { _arg1 = NULL; }
5807 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5808 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
5809 return NULL;
5810 }
5811 }
5812 {
5813 wxPy_BEGIN_ALLOW_THREADS;
5814 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
5815
5816 wxPy_END_ALLOW_THREADS;
5817 } Py_INCREF(Py_None);
5818 _resultobj = Py_None;
5819 return _resultobj;
5820 }
5821
5822 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
5823 wxGridStringTable *src;
5824 wxGridTableBase *dest;
5825 src = (wxGridStringTable *) ptr;
5826 dest = (wxGridTableBase *) src;
5827 return (void *) dest;
5828 }
5829
5830 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
5831 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject * _resultobj;
5833 wxGridStringTable * _result;
5834 int _arg0 = (int ) 0;
5835 int _arg1 = (int ) 0;
5836 char *_kwnames[] = { "numRows","numCols", NULL };
5837 char _ptemp[128];
5838
5839 self = self;
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
5841 return NULL;
5842 {
5843 wxPy_BEGIN_ALLOW_THREADS;
5844 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
5845
5846 wxPy_END_ALLOW_THREADS;
5847 } if (_result) {
5848 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
5849 _resultobj = Py_BuildValue("s",_ptemp);
5850 } else {
5851 Py_INCREF(Py_None);
5852 _resultobj = Py_None;
5853 }
5854 return _resultobj;
5855 }
5856
5857 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5858 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
5859 PyObject * _resultobj;
5860 wxGridTableMessage * _result;
5861 wxGridTableBase * _arg0;
5862 int _arg1;
5863 int _arg2 = (int ) -1;
5864 int _arg3 = (int ) -1;
5865 PyObject * _argo0 = 0;
5866 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
5867 char _ptemp[128];
5868
5869 self = self;
5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5871 return NULL;
5872 if (_argo0) {
5873 if (_argo0 == Py_None) { _arg0 = NULL; }
5874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
5876 return NULL;
5877 }
5878 }
5879 {
5880 wxPy_BEGIN_ALLOW_THREADS;
5881 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
5882
5883 wxPy_END_ALLOW_THREADS;
5884 } if (_result) {
5885 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
5886 _resultobj = Py_BuildValue("s",_ptemp);
5887 } else {
5888 Py_INCREF(Py_None);
5889 _resultobj = Py_None;
5890 }
5891 return _resultobj;
5892 }
5893
5894 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
5895 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject * _resultobj;
5897 wxGridTableMessage * _arg0;
5898 PyObject * _argo0 = 0;
5899 char *_kwnames[] = { "self", NULL };
5900
5901 self = self;
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
5903 return NULL;
5904 if (_argo0) {
5905 if (_argo0 == Py_None) { _arg0 = NULL; }
5906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
5907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
5908 return NULL;
5909 }
5910 }
5911 {
5912 wxPy_BEGIN_ALLOW_THREADS;
5913 delete_wxGridTableMessage(_arg0);
5914
5915 wxPy_END_ALLOW_THREADS;
5916 } Py_INCREF(Py_None);
5917 _resultobj = Py_None;
5918 return _resultobj;
5919 }
5920
5921 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
5922 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
5923 PyObject * _resultobj;
5924 wxGridTableMessage * _arg0;
5925 wxGridTableBase * _arg1;
5926 PyObject * _argo0 = 0;
5927 PyObject * _argo1 = 0;
5928 char *_kwnames[] = { "self","table", NULL };
5929
5930 self = self;
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
5932 return NULL;
5933 if (_argo0) {
5934 if (_argo0 == Py_None) { _arg0 = NULL; }
5935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
5936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
5937 return NULL;
5938 }
5939 }
5940 if (_argo1) {
5941 if (_argo1 == Py_None) { _arg1 = NULL; }
5942 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
5943 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
5944 return NULL;
5945 }
5946 }
5947 {
5948 wxPy_BEGIN_ALLOW_THREADS;
5949 wxGridTableMessage_SetTableObject(_arg0,_arg1);
5950
5951 wxPy_END_ALLOW_THREADS;
5952 } Py_INCREF(Py_None);
5953 _resultobj = Py_None;
5954 return _resultobj;
5955 }
5956
5957 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
5958 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
5959 PyObject * _resultobj;
5960 wxGridTableBase * _result;
5961 wxGridTableMessage * _arg0;
5962 PyObject * _argo0 = 0;
5963 char *_kwnames[] = { "self", NULL };
5964 char _ptemp[128];
5965
5966 self = self;
5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
5968 return NULL;
5969 if (_argo0) {
5970 if (_argo0 == Py_None) { _arg0 = NULL; }
5971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
5972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
5973 return NULL;
5974 }
5975 }
5976 {
5977 wxPy_BEGIN_ALLOW_THREADS;
5978 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
5979
5980 wxPy_END_ALLOW_THREADS;
5981 } if (_result) {
5982 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
5983 _resultobj = Py_BuildValue("s",_ptemp);
5984 } else {
5985 Py_INCREF(Py_None);
5986 _resultobj = Py_None;
5987 }
5988 return _resultobj;
5989 }
5990
5991 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
5992 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject * _resultobj;
5994 wxGridTableMessage * _arg0;
5995 int _arg1;
5996 PyObject * _argo0 = 0;
5997 char *_kwnames[] = { "self","id", NULL };
5998
5999 self = self;
6000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6001 return NULL;
6002 if (_argo0) {
6003 if (_argo0 == Py_None) { _arg0 = NULL; }
6004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6006 return NULL;
6007 }
6008 }
6009 {
6010 wxPy_BEGIN_ALLOW_THREADS;
6011 wxGridTableMessage_SetId(_arg0,_arg1);
6012
6013 wxPy_END_ALLOW_THREADS;
6014 } Py_INCREF(Py_None);
6015 _resultobj = Py_None;
6016 return _resultobj;
6017 }
6018
6019 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6020 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6021 PyObject * _resultobj;
6022 int _result;
6023 wxGridTableMessage * _arg0;
6024 PyObject * _argo0 = 0;
6025 char *_kwnames[] = { "self", NULL };
6026
6027 self = self;
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6029 return NULL;
6030 if (_argo0) {
6031 if (_argo0 == Py_None) { _arg0 = NULL; }
6032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6034 return NULL;
6035 }
6036 }
6037 {
6038 wxPy_BEGIN_ALLOW_THREADS;
6039 _result = (int )wxGridTableMessage_GetId(_arg0);
6040
6041 wxPy_END_ALLOW_THREADS;
6042 } _resultobj = Py_BuildValue("i",_result);
6043 return _resultobj;
6044 }
6045
6046 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6047 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6048 PyObject * _resultobj;
6049 wxGridTableMessage * _arg0;
6050 int _arg1;
6051 PyObject * _argo0 = 0;
6052 char *_kwnames[] = { "self","comInt1", NULL };
6053
6054 self = self;
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6056 return NULL;
6057 if (_argo0) {
6058 if (_argo0 == Py_None) { _arg0 = NULL; }
6059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6061 return NULL;
6062 }
6063 }
6064 {
6065 wxPy_BEGIN_ALLOW_THREADS;
6066 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6067
6068 wxPy_END_ALLOW_THREADS;
6069 } Py_INCREF(Py_None);
6070 _resultobj = Py_None;
6071 return _resultobj;
6072 }
6073
6074 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6075 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject * _resultobj;
6077 int _result;
6078 wxGridTableMessage * _arg0;
6079 PyObject * _argo0 = 0;
6080 char *_kwnames[] = { "self", NULL };
6081
6082 self = self;
6083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6084 return NULL;
6085 if (_argo0) {
6086 if (_argo0 == Py_None) { _arg0 = NULL; }
6087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6089 return NULL;
6090 }
6091 }
6092 {
6093 wxPy_BEGIN_ALLOW_THREADS;
6094 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6095
6096 wxPy_END_ALLOW_THREADS;
6097 } _resultobj = Py_BuildValue("i",_result);
6098 return _resultobj;
6099 }
6100
6101 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6102 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6103 PyObject * _resultobj;
6104 wxGridTableMessage * _arg0;
6105 int _arg1;
6106 PyObject * _argo0 = 0;
6107 char *_kwnames[] = { "self","comInt2", NULL };
6108
6109 self = self;
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6111 return NULL;
6112 if (_argo0) {
6113 if (_argo0 == Py_None) { _arg0 = NULL; }
6114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6116 return NULL;
6117 }
6118 }
6119 {
6120 wxPy_BEGIN_ALLOW_THREADS;
6121 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6122
6123 wxPy_END_ALLOW_THREADS;
6124 } Py_INCREF(Py_None);
6125 _resultobj = Py_None;
6126 return _resultobj;
6127 }
6128
6129 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6130 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6131 PyObject * _resultobj;
6132 int _result;
6133 wxGridTableMessage * _arg0;
6134 PyObject * _argo0 = 0;
6135 char *_kwnames[] = { "self", NULL };
6136
6137 self = self;
6138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6139 return NULL;
6140 if (_argo0) {
6141 if (_argo0 == Py_None) { _arg0 = NULL; }
6142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6144 return NULL;
6145 }
6146 }
6147 {
6148 wxPy_BEGIN_ALLOW_THREADS;
6149 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6150
6151 wxPy_END_ALLOW_THREADS;
6152 } _resultobj = Py_BuildValue("i",_result);
6153 return _resultobj;
6154 }
6155
6156 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6157 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject * _resultobj;
6159 wxGridCellCoords * _result;
6160 int _arg0 = (int ) -1;
6161 int _arg1 = (int ) -1;
6162 char *_kwnames[] = { "r","c", NULL };
6163 char _ptemp[128];
6164
6165 self = self;
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6167 return NULL;
6168 {
6169 wxPy_BEGIN_ALLOW_THREADS;
6170 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6171
6172 wxPy_END_ALLOW_THREADS;
6173 } if (_result) {
6174 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6175 _resultobj = Py_BuildValue("s",_ptemp);
6176 } else {
6177 Py_INCREF(Py_None);
6178 _resultobj = Py_None;
6179 }
6180 return _resultobj;
6181 }
6182
6183 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6184 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6185 PyObject * _resultobj;
6186 wxGridCellCoords * _arg0;
6187 PyObject * _argo0 = 0;
6188 char *_kwnames[] = { "self", NULL };
6189
6190 self = self;
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6192 return NULL;
6193 if (_argo0) {
6194 if (_argo0 == Py_None) { _arg0 = NULL; }
6195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6197 return NULL;
6198 }
6199 }
6200 {
6201 wxPy_BEGIN_ALLOW_THREADS;
6202 delete_wxGridCellCoords(_arg0);
6203
6204 wxPy_END_ALLOW_THREADS;
6205 } Py_INCREF(Py_None);
6206 _resultobj = Py_None;
6207 return _resultobj;
6208 }
6209
6210 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6211 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject * _resultobj;
6213 int _result;
6214 wxGridCellCoords * _arg0;
6215 PyObject * _argo0 = 0;
6216 char *_kwnames[] = { "self", NULL };
6217
6218 self = self;
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6220 return NULL;
6221 if (_argo0) {
6222 if (_argo0 == Py_None) { _arg0 = NULL; }
6223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6225 return NULL;
6226 }
6227 }
6228 {
6229 wxPy_BEGIN_ALLOW_THREADS;
6230 _result = (int )wxGridCellCoords_GetRow(_arg0);
6231
6232 wxPy_END_ALLOW_THREADS;
6233 } _resultobj = Py_BuildValue("i",_result);
6234 return _resultobj;
6235 }
6236
6237 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6238 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6239 PyObject * _resultobj;
6240 wxGridCellCoords * _arg0;
6241 int _arg1;
6242 PyObject * _argo0 = 0;
6243 char *_kwnames[] = { "self","n", NULL };
6244
6245 self = self;
6246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6247 return NULL;
6248 if (_argo0) {
6249 if (_argo0 == Py_None) { _arg0 = NULL; }
6250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6252 return NULL;
6253 }
6254 }
6255 {
6256 wxPy_BEGIN_ALLOW_THREADS;
6257 wxGridCellCoords_SetRow(_arg0,_arg1);
6258
6259 wxPy_END_ALLOW_THREADS;
6260 } Py_INCREF(Py_None);
6261 _resultobj = Py_None;
6262 return _resultobj;
6263 }
6264
6265 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6266 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject * _resultobj;
6268 int _result;
6269 wxGridCellCoords * _arg0;
6270 PyObject * _argo0 = 0;
6271 char *_kwnames[] = { "self", NULL };
6272
6273 self = self;
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6275 return NULL;
6276 if (_argo0) {
6277 if (_argo0 == Py_None) { _arg0 = NULL; }
6278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6280 return NULL;
6281 }
6282 }
6283 {
6284 wxPy_BEGIN_ALLOW_THREADS;
6285 _result = (int )wxGridCellCoords_GetCol(_arg0);
6286
6287 wxPy_END_ALLOW_THREADS;
6288 } _resultobj = Py_BuildValue("i",_result);
6289 return _resultobj;
6290 }
6291
6292 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6293 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6294 PyObject * _resultobj;
6295 wxGridCellCoords * _arg0;
6296 int _arg1;
6297 PyObject * _argo0 = 0;
6298 char *_kwnames[] = { "self","n", NULL };
6299
6300 self = self;
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6302 return NULL;
6303 if (_argo0) {
6304 if (_argo0 == Py_None) { _arg0 = NULL; }
6305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6307 return NULL;
6308 }
6309 }
6310 {
6311 wxPy_BEGIN_ALLOW_THREADS;
6312 wxGridCellCoords_SetCol(_arg0,_arg1);
6313
6314 wxPy_END_ALLOW_THREADS;
6315 } Py_INCREF(Py_None);
6316 _resultobj = Py_None;
6317 return _resultobj;
6318 }
6319
6320 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6321 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject * _resultobj;
6323 wxGridCellCoords * _arg0;
6324 int _arg1;
6325 int _arg2;
6326 PyObject * _argo0 = 0;
6327 char *_kwnames[] = { "self","row","col", NULL };
6328
6329 self = self;
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6331 return NULL;
6332 if (_argo0) {
6333 if (_argo0 == Py_None) { _arg0 = NULL; }
6334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6336 return NULL;
6337 }
6338 }
6339 {
6340 wxPy_BEGIN_ALLOW_THREADS;
6341 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6342
6343 wxPy_END_ALLOW_THREADS;
6344 } Py_INCREF(Py_None);
6345 _resultobj = Py_None;
6346 return _resultobj;
6347 }
6348
6349 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6350 PyObject* tup = PyTuple_New(2);
6351 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6352 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6353 return tup;
6354 }
6355 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6356 PyObject * _resultobj;
6357 PyObject * _result;
6358 wxGridCellCoords * _arg0;
6359 PyObject * _argo0 = 0;
6360 char *_kwnames[] = { "self", NULL };
6361
6362 self = self;
6363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6364 return NULL;
6365 if (_argo0) {
6366 if (_argo0 == Py_None) { _arg0 = NULL; }
6367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6369 return NULL;
6370 }
6371 }
6372 {
6373 wxPy_BEGIN_ALLOW_THREADS;
6374 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6375
6376 wxPy_END_ALLOW_THREADS;
6377 }{
6378 _resultobj = _result;
6379 }
6380 return _resultobj;
6381 }
6382
6383 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6384 return *self != other;
6385 }
6386 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6387 PyObject * _resultobj;
6388 int _result;
6389 wxGridCellCoords * _arg0;
6390 wxGridCellCoords * _arg1;
6391 PyObject * _argo0 = 0;
6392 PyObject * _argo1 = 0;
6393 char *_kwnames[] = { "self","other", NULL };
6394
6395 self = self;
6396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6397 return NULL;
6398 if (_argo0) {
6399 if (_argo0 == Py_None) { _arg0 = NULL; }
6400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6402 return NULL;
6403 }
6404 }
6405 if (_argo1) {
6406 if (_argo1 == Py_None) { _arg1 = NULL; }
6407 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6409 return NULL;
6410 }
6411 }
6412 {
6413 wxPy_BEGIN_ALLOW_THREADS;
6414 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6415
6416 wxPy_END_ALLOW_THREADS;
6417 } _resultobj = Py_BuildValue("i",_result);
6418 return _resultobj;
6419 }
6420
6421 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6422 wxGrid *src;
6423 wxScrolledWindow *dest;
6424 src = (wxGrid *) ptr;
6425 dest = (wxScrolledWindow *) src;
6426 return (void *) dest;
6427 }
6428
6429 static void *SwigwxGridTowxPanel(void *ptr) {
6430 wxGrid *src;
6431 wxPanel *dest;
6432 src = (wxGrid *) ptr;
6433 dest = (wxPanel *) src;
6434 return (void *) dest;
6435 }
6436
6437 static void *SwigwxGridTowxWindow(void *ptr) {
6438 wxGrid *src;
6439 wxWindow *dest;
6440 src = (wxGrid *) ptr;
6441 dest = (wxWindow *) src;
6442 return (void *) dest;
6443 }
6444
6445 static void *SwigwxGridTowxEvtHandler(void *ptr) {
6446 wxGrid *src;
6447 wxEvtHandler *dest;
6448 src = (wxGrid *) ptr;
6449 dest = (wxEvtHandler *) src;
6450 return (void *) dest;
6451 }
6452
6453 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6454 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6455 PyObject * _resultobj;
6456 wxGrid * _result;
6457 wxWindow * _arg0;
6458 wxWindowID _arg1;
6459 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6460 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6461 long _arg4 = (long ) wxWANTS_CHARS;
6462 char * _arg5 = (char *) wxPanelNameStr;
6463 PyObject * _argo0 = 0;
6464 wxPoint temp;
6465 PyObject * _obj2 = 0;
6466 wxSize temp0;
6467 PyObject * _obj3 = 0;
6468 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6469 char _ptemp[128];
6470
6471 self = self;
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
6473 return NULL;
6474 if (_argo0) {
6475 if (_argo0 == Py_None) { _arg0 = NULL; }
6476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6478 return NULL;
6479 }
6480 }
6481 if (_obj2)
6482 {
6483 _arg2 = &temp;
6484 if (! wxPoint_helper(_obj2, &_arg2))
6485 return NULL;
6486 }
6487 if (_obj3)
6488 {
6489 _arg3 = &temp0;
6490 if (! wxSize_helper(_obj3, &_arg3))
6491 return NULL;
6492 }
6493 {
6494 wxPy_BEGIN_ALLOW_THREADS;
6495 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
6496
6497 wxPy_END_ALLOW_THREADS;
6498 } if (_result) {
6499 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
6500 _resultobj = Py_BuildValue("s",_ptemp);
6501 } else {
6502 Py_INCREF(Py_None);
6503 _resultobj = Py_None;
6504 }
6505 return _resultobj;
6506 }
6507
6508 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6509 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6510 PyObject * _resultobj;
6511 bool _result;
6512 wxGrid * _arg0;
6513 int _arg1;
6514 int _arg2;
6515 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6516 PyObject * _argo0 = 0;
6517 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
6518
6519 self = self;
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6521 return NULL;
6522 if (_argo0) {
6523 if (_argo0 == Py_None) { _arg0 = NULL; }
6524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6526 return NULL;
6527 }
6528 }
6529 {
6530 wxPy_BEGIN_ALLOW_THREADS;
6531 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
6532
6533 wxPy_END_ALLOW_THREADS;
6534 } _resultobj = Py_BuildValue("i",_result);
6535 return _resultobj;
6536 }
6537
6538 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6539 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject * _resultobj;
6541 wxGrid * _arg0;
6542 WXGRIDSELECTIONMODES _arg1;
6543 PyObject * _argo0 = 0;
6544 char *_kwnames[] = { "self","selmode", NULL };
6545
6546 self = self;
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
6548 return NULL;
6549 if (_argo0) {
6550 if (_argo0 == Py_None) { _arg0 = NULL; }
6551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6553 return NULL;
6554 }
6555 }
6556 {
6557 wxPy_BEGIN_ALLOW_THREADS;
6558 wxGrid_SetSelectionMode(_arg0,_arg1);
6559
6560 wxPy_END_ALLOW_THREADS;
6561 } Py_INCREF(Py_None);
6562 _resultobj = Py_None;
6563 return _resultobj;
6564 }
6565
6566 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6567 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6568 PyObject * _resultobj;
6569 int _result;
6570 wxGrid * _arg0;
6571 PyObject * _argo0 = 0;
6572 char *_kwnames[] = { "self", NULL };
6573
6574 self = self;
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
6576 return NULL;
6577 if (_argo0) {
6578 if (_argo0 == Py_None) { _arg0 = NULL; }
6579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6581 return NULL;
6582 }
6583 }
6584 {
6585 wxPy_BEGIN_ALLOW_THREADS;
6586 _result = (int )wxGrid_GetNumberRows(_arg0);
6587
6588 wxPy_END_ALLOW_THREADS;
6589 } _resultobj = Py_BuildValue("i",_result);
6590 return _resultobj;
6591 }
6592
6593 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6594 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6595 PyObject * _resultobj;
6596 int _result;
6597 wxGrid * _arg0;
6598 PyObject * _argo0 = 0;
6599 char *_kwnames[] = { "self", NULL };
6600
6601 self = self;
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
6603 return NULL;
6604 if (_argo0) {
6605 if (_argo0 == Py_None) { _arg0 = NULL; }
6606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6608 return NULL;
6609 }
6610 }
6611 {
6612 wxPy_BEGIN_ALLOW_THREADS;
6613 _result = (int )wxGrid_GetNumberCols(_arg0);
6614
6615 wxPy_END_ALLOW_THREADS;
6616 } _resultobj = Py_BuildValue("i",_result);
6617 return _resultobj;
6618 }
6619
6620 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6621 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6622 PyObject * _resultobj;
6623 bool _result;
6624 wxGrid * _arg0;
6625 wxGridTableMessage * _arg1;
6626 PyObject * _argo0 = 0;
6627 PyObject * _argo1 = 0;
6628 char *_kwnames[] = { "self","arg2", NULL };
6629
6630 self = self;
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
6632 return NULL;
6633 if (_argo0) {
6634 if (_argo0 == Py_None) { _arg0 = NULL; }
6635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6637 return NULL;
6638 }
6639 }
6640 if (_argo1) {
6641 if (_argo1 == Py_None) { _arg1 = NULL; }
6642 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
6643 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6644 return NULL;
6645 }
6646 }
6647 {
6648 wxPy_BEGIN_ALLOW_THREADS;
6649 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
6650
6651 wxPy_END_ALLOW_THREADS;
6652 } _resultobj = Py_BuildValue("i",_result);
6653 return _resultobj;
6654 }
6655
6656 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6657 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6658 PyObject * _resultobj;
6659 wxGridTableBase * _result;
6660 wxGrid * _arg0;
6661 PyObject * _argo0 = 0;
6662 char *_kwnames[] = { "self", NULL };
6663 char _ptemp[128];
6664
6665 self = self;
6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
6667 return NULL;
6668 if (_argo0) {
6669 if (_argo0 == Py_None) { _arg0 = NULL; }
6670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6672 return NULL;
6673 }
6674 }
6675 {
6676 wxPy_BEGIN_ALLOW_THREADS;
6677 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
6678
6679 wxPy_END_ALLOW_THREADS;
6680 } if (_result) {
6681 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6682 _resultobj = Py_BuildValue("s",_ptemp);
6683 } else {
6684 Py_INCREF(Py_None);
6685 _resultobj = Py_None;
6686 }
6687 return _resultobj;
6688 }
6689
6690 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6691 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6692 PyObject * _resultobj;
6693 bool _result;
6694 wxGrid * _arg0;
6695 wxGridTableBase * _arg1;
6696 bool _arg2 = (bool ) FALSE;
6697 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6698 PyObject * _argo0 = 0;
6699 PyObject * _argo1 = 0;
6700 int tempbool2 = (int) FALSE;
6701 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
6702
6703 self = self;
6704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
6705 return NULL;
6706 if (_argo0) {
6707 if (_argo0 == Py_None) { _arg0 = NULL; }
6708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
6710 return NULL;
6711 }
6712 }
6713 if (_argo1) {
6714 if (_argo1 == Py_None) { _arg1 = NULL; }
6715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
6717 return NULL;
6718 }
6719 }
6720 _arg2 = (bool ) tempbool2;
6721 {
6722 wxPy_BEGIN_ALLOW_THREADS;
6723 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
6724
6725 wxPy_END_ALLOW_THREADS;
6726 } _resultobj = Py_BuildValue("i",_result);
6727 return _resultobj;
6728 }
6729
6730 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
6731 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6732 PyObject * _resultobj;
6733 wxGrid * _arg0;
6734 PyObject * _argo0 = 0;
6735 char *_kwnames[] = { "self", NULL };
6736
6737 self = self;
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
6739 return NULL;
6740 if (_argo0) {
6741 if (_argo0 == Py_None) { _arg0 = NULL; }
6742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
6744 return NULL;
6745 }
6746 }
6747 {
6748 wxPy_BEGIN_ALLOW_THREADS;
6749 wxGrid_ClearGrid(_arg0);
6750
6751 wxPy_END_ALLOW_THREADS;
6752 } Py_INCREF(Py_None);
6753 _resultobj = Py_None;
6754 return _resultobj;
6755 }
6756
6757 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
6758 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6759 PyObject * _resultobj;
6760 bool _result;
6761 wxGrid * _arg0;
6762 int _arg1 = (int ) 0;
6763 int _arg2 = (int ) 1;
6764 bool _arg3 = (bool ) TRUE;
6765 PyObject * _argo0 = 0;
6766 int tempbool3 = (int) TRUE;
6767 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
6768
6769 self = self;
6770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6771 return NULL;
6772 if (_argo0) {
6773 if (_argo0 == Py_None) { _arg0 = NULL; }
6774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
6776 return NULL;
6777 }
6778 }
6779 _arg3 = (bool ) tempbool3;
6780 {
6781 wxPy_BEGIN_ALLOW_THREADS;
6782 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
6783
6784 wxPy_END_ALLOW_THREADS;
6785 } _resultobj = Py_BuildValue("i",_result);
6786 return _resultobj;
6787 }
6788
6789 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
6790 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6791 PyObject * _resultobj;
6792 bool _result;
6793 wxGrid * _arg0;
6794 int _arg1 = (int ) 1;
6795 bool _arg2 = (bool ) TRUE;
6796 PyObject * _argo0 = 0;
6797 int tempbool2 = (int) TRUE;
6798 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
6799
6800 self = self;
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
6802 return NULL;
6803 if (_argo0) {
6804 if (_argo0 == Py_None) { _arg0 = NULL; }
6805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
6807 return NULL;
6808 }
6809 }
6810 _arg2 = (bool ) tempbool2;
6811 {
6812 wxPy_BEGIN_ALLOW_THREADS;
6813 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
6814
6815 wxPy_END_ALLOW_THREADS;
6816 } _resultobj = Py_BuildValue("i",_result);
6817 return _resultobj;
6818 }
6819
6820 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
6821 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6822 PyObject * _resultobj;
6823 bool _result;
6824 wxGrid * _arg0;
6825 int _arg1 = (int ) 0;
6826 int _arg2 = (int ) 1;
6827 bool _arg3 = (bool ) TRUE;
6828 PyObject * _argo0 = 0;
6829 int tempbool3 = (int) TRUE;
6830 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
6831
6832 self = self;
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6834 return NULL;
6835 if (_argo0) {
6836 if (_argo0 == Py_None) { _arg0 = NULL; }
6837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
6839 return NULL;
6840 }
6841 }
6842 _arg3 = (bool ) tempbool3;
6843 {
6844 wxPy_BEGIN_ALLOW_THREADS;
6845 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
6846
6847 wxPy_END_ALLOW_THREADS;
6848 } _resultobj = Py_BuildValue("i",_result);
6849 return _resultobj;
6850 }
6851
6852 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
6853 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6854 PyObject * _resultobj;
6855 bool _result;
6856 wxGrid * _arg0;
6857 int _arg1 = (int ) 0;
6858 int _arg2 = (int ) 1;
6859 bool _arg3 = (bool ) TRUE;
6860 PyObject * _argo0 = 0;
6861 int tempbool3 = (int) TRUE;
6862 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
6863
6864 self = self;
6865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6866 return NULL;
6867 if (_argo0) {
6868 if (_argo0 == Py_None) { _arg0 = NULL; }
6869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
6871 return NULL;
6872 }
6873 }
6874 _arg3 = (bool ) tempbool3;
6875 {
6876 wxPy_BEGIN_ALLOW_THREADS;
6877 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
6878
6879 wxPy_END_ALLOW_THREADS;
6880 } _resultobj = Py_BuildValue("i",_result);
6881 return _resultobj;
6882 }
6883
6884 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
6885 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6886 PyObject * _resultobj;
6887 bool _result;
6888 wxGrid * _arg0;
6889 int _arg1 = (int ) 1;
6890 bool _arg2 = (bool ) TRUE;
6891 PyObject * _argo0 = 0;
6892 int tempbool2 = (int) TRUE;
6893 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
6894
6895 self = self;
6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
6897 return NULL;
6898 if (_argo0) {
6899 if (_argo0 == Py_None) { _arg0 = NULL; }
6900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
6902 return NULL;
6903 }
6904 }
6905 _arg2 = (bool ) tempbool2;
6906 {
6907 wxPy_BEGIN_ALLOW_THREADS;
6908 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
6909
6910 wxPy_END_ALLOW_THREADS;
6911 } _resultobj = Py_BuildValue("i",_result);
6912 return _resultobj;
6913 }
6914
6915 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
6916 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6917 PyObject * _resultobj;
6918 bool _result;
6919 wxGrid * _arg0;
6920 int _arg1 = (int ) 0;
6921 int _arg2 = (int ) 1;
6922 bool _arg3 = (bool ) TRUE;
6923 PyObject * _argo0 = 0;
6924 int tempbool3 = (int) TRUE;
6925 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
6926
6927 self = self;
6928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6929 return NULL;
6930 if (_argo0) {
6931 if (_argo0 == Py_None) { _arg0 = NULL; }
6932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
6934 return NULL;
6935 }
6936 }
6937 _arg3 = (bool ) tempbool3;
6938 {
6939 wxPy_BEGIN_ALLOW_THREADS;
6940 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
6941
6942 wxPy_END_ALLOW_THREADS;
6943 } _resultobj = Py_BuildValue("i",_result);
6944 return _resultobj;
6945 }
6946
6947 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
6948 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6949 PyObject * _resultobj;
6950 wxGrid * _arg0;
6951 wxDC * _arg1;
6952 wxGridCellAttr * _arg2;
6953 PyObject * _argo0 = 0;
6954 PyObject * _argo1 = 0;
6955 PyObject * _argo2 = 0;
6956 char *_kwnames[] = { "self","dc","attr", NULL };
6957
6958 self = self;
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
6960 return NULL;
6961 if (_argo0) {
6962 if (_argo0 == Py_None) { _arg0 = NULL; }
6963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
6965 return NULL;
6966 }
6967 }
6968 if (_argo1) {
6969 if (_argo1 == Py_None) { _arg1 = NULL; }
6970 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6971 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
6972 return NULL;
6973 }
6974 }
6975 if (_argo2) {
6976 if (_argo2 == Py_None) { _arg2 = NULL; }
6977 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
6978 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
6979 return NULL;
6980 }
6981 }
6982 {
6983 wxPy_BEGIN_ALLOW_THREADS;
6984 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
6985
6986 wxPy_END_ALLOW_THREADS;
6987 } Py_INCREF(Py_None);
6988 _resultobj = Py_None;
6989 return _resultobj;
6990 }
6991
6992 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6993 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
6994 PyObject * _resultobj;
6995 wxGrid * _arg0;
6996 wxDC * _arg1;
6997 wxString * _arg2;
6998 wxRect * _arg3;
6999 int _arg4 = (int ) wxLEFT;
7000 int _arg5 = (int ) wxTOP;
7001 PyObject * _argo0 = 0;
7002 PyObject * _argo1 = 0;
7003 PyObject * _obj2 = 0;
7004 wxRect temp;
7005 PyObject * _obj3 = 0;
7006 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7007
7008 self = self;
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7010 return NULL;
7011 if (_argo0) {
7012 if (_argo0 == Py_None) { _arg0 = NULL; }
7013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7015 return NULL;
7016 }
7017 }
7018 if (_argo1) {
7019 if (_argo1 == Py_None) { _arg1 = NULL; }
7020 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7021 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7022 return NULL;
7023 }
7024 }
7025 {
7026 if (!PyString_Check(_obj2)) {
7027 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7028 return NULL;
7029 }
7030 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7031 }
7032 {
7033 _arg3 = &temp;
7034 if (! wxRect_helper(_obj3, &_arg3))
7035 return NULL;
7036 }
7037 {
7038 wxPy_BEGIN_ALLOW_THREADS;
7039 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7040
7041 wxPy_END_ALLOW_THREADS;
7042 } Py_INCREF(Py_None);
7043 _resultobj = Py_None;
7044 {
7045 if (_obj2)
7046 delete _arg2;
7047 }
7048 return _resultobj;
7049 }
7050
7051 #define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7052 static PyObject *_wrap_wxGrid_StringToLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject * _resultobj;
7054 wxGrid * _arg0;
7055 wxString * _arg1;
7056 wxArrayString * _arg2;
7057 PyObject * _argo0 = 0;
7058 PyObject * _obj1 = 0;
7059 PyObject * _argo2 = 0;
7060 char *_kwnames[] = { "self","value","lines", NULL };
7061
7062 self = self;
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_StringToLines",_kwnames,&_argo0,&_obj1,&_argo2))
7064 return NULL;
7065 if (_argo0) {
7066 if (_argo0 == Py_None) { _arg0 = NULL; }
7067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7069 return NULL;
7070 }
7071 }
7072 {
7073 if (!PyString_Check(_obj1)) {
7074 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7075 return NULL;
7076 }
7077 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
7078 }
7079 if (_argo2) {
7080 if (_argo2 == Py_None) { _arg2 = NULL; }
7081 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7082 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7083 return NULL;
7084 }
7085 }
7086 {
7087 wxPy_BEGIN_ALLOW_THREADS;
7088 wxGrid_StringToLines(_arg0,*_arg1,*_arg2);
7089
7090 wxPy_END_ALLOW_THREADS;
7091 } Py_INCREF(Py_None);
7092 _resultobj = Py_None;
7093 {
7094 if (_obj1)
7095 delete _arg1;
7096 }
7097 return _resultobj;
7098 }
7099
7100 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7101 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7102 PyObject * _resultobj;
7103 wxGrid * _arg0;
7104 wxDC * _arg1;
7105 wxArrayString * _arg2;
7106 long * _arg3;
7107 long temp;
7108 long * _arg4;
7109 long temp0;
7110 PyObject * _argo0 = 0;
7111 PyObject * _argo1 = 0;
7112 PyObject * _argo2 = 0;
7113 char *_kwnames[] = { "self","dc","lines", NULL };
7114
7115 self = self;
7116 {
7117 _arg3 = &temp;
7118 }
7119 {
7120 _arg4 = &temp0;
7121 }
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_argo2))
7123 return NULL;
7124 if (_argo0) {
7125 if (_argo0 == Py_None) { _arg0 = NULL; }
7126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7128 return NULL;
7129 }
7130 }
7131 if (_argo1) {
7132 if (_argo1 == Py_None) { _arg1 = NULL; }
7133 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7134 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7135 return NULL;
7136 }
7137 }
7138 if (_argo2) {
7139 if (_argo2 == Py_None) { _arg2 = NULL; }
7140 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7141 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7142 return NULL;
7143 }
7144 }
7145 {
7146 wxPy_BEGIN_ALLOW_THREADS;
7147 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7148
7149 wxPy_END_ALLOW_THREADS;
7150 } Py_INCREF(Py_None);
7151 _resultobj = Py_None;
7152 {
7153 PyObject *o;
7154 o = PyInt_FromLong((long) (*_arg3));
7155 _resultobj = t_output_helper(_resultobj, o);
7156 }
7157 {
7158 PyObject *o;
7159 o = PyInt_FromLong((long) (*_arg4));
7160 _resultobj = t_output_helper(_resultobj, o);
7161 }
7162 return _resultobj;
7163 }
7164
7165 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7166 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7167 PyObject * _resultobj;
7168 wxGrid * _arg0;
7169 PyObject * _argo0 = 0;
7170 char *_kwnames[] = { "self", NULL };
7171
7172 self = self;
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7174 return NULL;
7175 if (_argo0) {
7176 if (_argo0 == Py_None) { _arg0 = NULL; }
7177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7179 return NULL;
7180 }
7181 }
7182 {
7183 wxPy_BEGIN_ALLOW_THREADS;
7184 wxGrid_BeginBatch(_arg0);
7185
7186 wxPy_END_ALLOW_THREADS;
7187 } Py_INCREF(Py_None);
7188 _resultobj = Py_None;
7189 return _resultobj;
7190 }
7191
7192 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7193 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject * _resultobj;
7195 wxGrid * _arg0;
7196 PyObject * _argo0 = 0;
7197 char *_kwnames[] = { "self", NULL };
7198
7199 self = self;
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7201 return NULL;
7202 if (_argo0) {
7203 if (_argo0 == Py_None) { _arg0 = NULL; }
7204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7206 return NULL;
7207 }
7208 }
7209 {
7210 wxPy_BEGIN_ALLOW_THREADS;
7211 wxGrid_EndBatch(_arg0);
7212
7213 wxPy_END_ALLOW_THREADS;
7214 } Py_INCREF(Py_None);
7215 _resultobj = Py_None;
7216 return _resultobj;
7217 }
7218
7219 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7220 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7221 PyObject * _resultobj;
7222 int _result;
7223 wxGrid * _arg0;
7224 PyObject * _argo0 = 0;
7225 char *_kwnames[] = { "self", NULL };
7226
7227 self = self;
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7229 return NULL;
7230 if (_argo0) {
7231 if (_argo0 == Py_None) { _arg0 = NULL; }
7232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7234 return NULL;
7235 }
7236 }
7237 {
7238 wxPy_BEGIN_ALLOW_THREADS;
7239 _result = (int )wxGrid_GetBatchCount(_arg0);
7240
7241 wxPy_END_ALLOW_THREADS;
7242 } _resultobj = Py_BuildValue("i",_result);
7243 return _resultobj;
7244 }
7245
7246 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7247 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7248 PyObject * _resultobj;
7249 bool _result;
7250 wxGrid * _arg0;
7251 PyObject * _argo0 = 0;
7252 char *_kwnames[] = { "self", NULL };
7253
7254 self = self;
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7256 return NULL;
7257 if (_argo0) {
7258 if (_argo0 == Py_None) { _arg0 = NULL; }
7259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7261 return NULL;
7262 }
7263 }
7264 {
7265 wxPy_BEGIN_ALLOW_THREADS;
7266 _result = (bool )wxGrid_IsEditable(_arg0);
7267
7268 wxPy_END_ALLOW_THREADS;
7269 } _resultobj = Py_BuildValue("i",_result);
7270 return _resultobj;
7271 }
7272
7273 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7274 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject * _resultobj;
7276 wxGrid * _arg0;
7277 bool _arg1;
7278 PyObject * _argo0 = 0;
7279 int tempbool1;
7280 char *_kwnames[] = { "self","edit", NULL };
7281
7282 self = self;
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7284 return NULL;
7285 if (_argo0) {
7286 if (_argo0 == Py_None) { _arg0 = NULL; }
7287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7289 return NULL;
7290 }
7291 }
7292 _arg1 = (bool ) tempbool1;
7293 {
7294 wxPy_BEGIN_ALLOW_THREADS;
7295 wxGrid_EnableEditing(_arg0,_arg1);
7296
7297 wxPy_END_ALLOW_THREADS;
7298 } Py_INCREF(Py_None);
7299 _resultobj = Py_None;
7300 return _resultobj;
7301 }
7302
7303 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7304 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7305 PyObject * _resultobj;
7306 wxGrid * _arg0;
7307 bool _arg1 = (bool ) TRUE;
7308 PyObject * _argo0 = 0;
7309 int tempbool1 = (int) TRUE;
7310 char *_kwnames[] = { "self","enable", NULL };
7311
7312 self = self;
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7314 return NULL;
7315 if (_argo0) {
7316 if (_argo0 == Py_None) { _arg0 = NULL; }
7317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7319 return NULL;
7320 }
7321 }
7322 _arg1 = (bool ) tempbool1;
7323 {
7324 wxPy_BEGIN_ALLOW_THREADS;
7325 wxGrid_EnableCellEditControl(_arg0,_arg1);
7326
7327 wxPy_END_ALLOW_THREADS;
7328 } Py_INCREF(Py_None);
7329 _resultobj = Py_None;
7330 return _resultobj;
7331 }
7332
7333 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7334 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject * _resultobj;
7336 wxGrid * _arg0;
7337 PyObject * _argo0 = 0;
7338 char *_kwnames[] = { "self", NULL };
7339
7340 self = self;
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7342 return NULL;
7343 if (_argo0) {
7344 if (_argo0 == Py_None) { _arg0 = NULL; }
7345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7347 return NULL;
7348 }
7349 }
7350 {
7351 wxPy_BEGIN_ALLOW_THREADS;
7352 wxGrid_DisableCellEditControl(_arg0);
7353
7354 wxPy_END_ALLOW_THREADS;
7355 } Py_INCREF(Py_None);
7356 _resultobj = Py_None;
7357 return _resultobj;
7358 }
7359
7360 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7361 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7362 PyObject * _resultobj;
7363 bool _result;
7364 wxGrid * _arg0;
7365 PyObject * _argo0 = 0;
7366 char *_kwnames[] = { "self", NULL };
7367
7368 self = self;
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7370 return NULL;
7371 if (_argo0) {
7372 if (_argo0 == Py_None) { _arg0 = NULL; }
7373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7375 return NULL;
7376 }
7377 }
7378 {
7379 wxPy_BEGIN_ALLOW_THREADS;
7380 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7381
7382 wxPy_END_ALLOW_THREADS;
7383 } _resultobj = Py_BuildValue("i",_result);
7384 return _resultobj;
7385 }
7386
7387 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7388 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7389 PyObject * _resultobj;
7390 bool _result;
7391 wxGrid * _arg0;
7392 PyObject * _argo0 = 0;
7393 char *_kwnames[] = { "self", NULL };
7394
7395 self = self;
7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7397 return NULL;
7398 if (_argo0) {
7399 if (_argo0 == Py_None) { _arg0 = NULL; }
7400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7402 return NULL;
7403 }
7404 }
7405 {
7406 wxPy_BEGIN_ALLOW_THREADS;
7407 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7408
7409 wxPy_END_ALLOW_THREADS;
7410 } _resultobj = Py_BuildValue("i",_result);
7411 return _resultobj;
7412 }
7413
7414 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7415 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
7416 PyObject * _resultobj;
7417 bool _result;
7418 wxGrid * _arg0;
7419 PyObject * _argo0 = 0;
7420 char *_kwnames[] = { "self", NULL };
7421
7422 self = self;
7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
7424 return NULL;
7425 if (_argo0) {
7426 if (_argo0 == Py_None) { _arg0 = NULL; }
7427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7429 return NULL;
7430 }
7431 }
7432 {
7433 wxPy_BEGIN_ALLOW_THREADS;
7434 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
7435
7436 wxPy_END_ALLOW_THREADS;
7437 } _resultobj = Py_BuildValue("i",_result);
7438 return _resultobj;
7439 }
7440
7441 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7442 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject * _resultobj;
7444 bool _result;
7445 wxGrid * _arg0;
7446 PyObject * _argo0 = 0;
7447 char *_kwnames[] = { "self", NULL };
7448
7449 self = self;
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
7451 return NULL;
7452 if (_argo0) {
7453 if (_argo0 == Py_None) { _arg0 = NULL; }
7454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7456 return NULL;
7457 }
7458 }
7459 {
7460 wxPy_BEGIN_ALLOW_THREADS;
7461 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
7462
7463 wxPy_END_ALLOW_THREADS;
7464 } _resultobj = Py_BuildValue("i",_result);
7465 return _resultobj;
7466 }
7467
7468 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7469 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7470 PyObject * _resultobj;
7471 wxGrid * _arg0;
7472 PyObject * _argo0 = 0;
7473 char *_kwnames[] = { "self", NULL };
7474
7475 self = self;
7476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
7477 return NULL;
7478 if (_argo0) {
7479 if (_argo0 == Py_None) { _arg0 = NULL; }
7480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7482 return NULL;
7483 }
7484 }
7485 {
7486 wxPy_BEGIN_ALLOW_THREADS;
7487 wxGrid_ShowCellEditControl(_arg0);
7488
7489 wxPy_END_ALLOW_THREADS;
7490 } Py_INCREF(Py_None);
7491 _resultobj = Py_None;
7492 return _resultobj;
7493 }
7494
7495 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7496 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject * _resultobj;
7498 wxGrid * _arg0;
7499 PyObject * _argo0 = 0;
7500 char *_kwnames[] = { "self", NULL };
7501
7502 self = self;
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
7504 return NULL;
7505 if (_argo0) {
7506 if (_argo0 == Py_None) { _arg0 = NULL; }
7507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7509 return NULL;
7510 }
7511 }
7512 {
7513 wxPy_BEGIN_ALLOW_THREADS;
7514 wxGrid_HideCellEditControl(_arg0);
7515
7516 wxPy_END_ALLOW_THREADS;
7517 } Py_INCREF(Py_None);
7518 _resultobj = Py_None;
7519 return _resultobj;
7520 }
7521
7522 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7523 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7524 PyObject * _resultobj;
7525 wxGrid * _arg0;
7526 PyObject * _argo0 = 0;
7527 char *_kwnames[] = { "self", NULL };
7528
7529 self = self;
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
7531 return NULL;
7532 if (_argo0) {
7533 if (_argo0 == Py_None) { _arg0 = NULL; }
7534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7536 return NULL;
7537 }
7538 }
7539 {
7540 wxPy_BEGIN_ALLOW_THREADS;
7541 wxGrid_SaveEditControlValue(_arg0);
7542
7543 wxPy_END_ALLOW_THREADS;
7544 } Py_INCREF(Py_None);
7545 _resultobj = Py_None;
7546 return _resultobj;
7547 }
7548
7549 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
7550 wxGridCellCoords rv;
7551 self->XYToCell(x, y, rv);
7552 return new wxGridCellCoords(rv);
7553 }
7554 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
7555 PyObject * _resultobj;
7556 wxGridCellCoords * _result;
7557 wxGrid * _arg0;
7558 int _arg1;
7559 int _arg2;
7560 PyObject * _argo0 = 0;
7561 char *_kwnames[] = { "self","x","y", NULL };
7562 char _ptemp[128];
7563
7564 self = self;
7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
7566 return NULL;
7567 if (_argo0) {
7568 if (_argo0 == Py_None) { _arg0 = NULL; }
7569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7571 return NULL;
7572 }
7573 }
7574 {
7575 wxPy_BEGIN_ALLOW_THREADS;
7576 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
7577
7578 wxPy_END_ALLOW_THREADS;
7579 } if (_result) {
7580 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7581 _resultobj = Py_BuildValue("s",_ptemp);
7582 } else {
7583 Py_INCREF(Py_None);
7584 _resultobj = Py_None;
7585 }
7586 return _resultobj;
7587 }
7588
7589 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7590 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject * _resultobj;
7592 int _result;
7593 wxGrid * _arg0;
7594 int _arg1;
7595 PyObject * _argo0 = 0;
7596 char *_kwnames[] = { "self","y", NULL };
7597
7598 self = self;
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
7600 return NULL;
7601 if (_argo0) {
7602 if (_argo0 == Py_None) { _arg0 = NULL; }
7603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7605 return NULL;
7606 }
7607 }
7608 {
7609 wxPy_BEGIN_ALLOW_THREADS;
7610 _result = (int )wxGrid_YToRow(_arg0,_arg1);
7611
7612 wxPy_END_ALLOW_THREADS;
7613 } _resultobj = Py_BuildValue("i",_result);
7614 return _resultobj;
7615 }
7616
7617 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7618 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject * _resultobj;
7620 int _result;
7621 wxGrid * _arg0;
7622 int _arg1;
7623 PyObject * _argo0 = 0;
7624 char *_kwnames[] = { "self","x", NULL };
7625
7626 self = self;
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
7628 return NULL;
7629 if (_argo0) {
7630 if (_argo0 == Py_None) { _arg0 = NULL; }
7631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7633 return NULL;
7634 }
7635 }
7636 {
7637 wxPy_BEGIN_ALLOW_THREADS;
7638 _result = (int )wxGrid_XToCol(_arg0,_arg1);
7639
7640 wxPy_END_ALLOW_THREADS;
7641 } _resultobj = Py_BuildValue("i",_result);
7642 return _resultobj;
7643 }
7644
7645 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7646 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject * _resultobj;
7648 int _result;
7649 wxGrid * _arg0;
7650 int _arg1;
7651 PyObject * _argo0 = 0;
7652 char *_kwnames[] = { "self","y", NULL };
7653
7654 self = self;
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
7656 return NULL;
7657 if (_argo0) {
7658 if (_argo0 == Py_None) { _arg0 = NULL; }
7659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
7661 return NULL;
7662 }
7663 }
7664 {
7665 wxPy_BEGIN_ALLOW_THREADS;
7666 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
7667
7668 wxPy_END_ALLOW_THREADS;
7669 } _resultobj = Py_BuildValue("i",_result);
7670 return _resultobj;
7671 }
7672
7673 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7674 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7675 PyObject * _resultobj;
7676 int _result;
7677 wxGrid * _arg0;
7678 int _arg1;
7679 PyObject * _argo0 = 0;
7680 char *_kwnames[] = { "self","x", NULL };
7681
7682 self = self;
7683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
7684 return NULL;
7685 if (_argo0) {
7686 if (_argo0 == Py_None) { _arg0 = NULL; }
7687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
7689 return NULL;
7690 }
7691 }
7692 {
7693 wxPy_BEGIN_ALLOW_THREADS;
7694 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
7695
7696 wxPy_END_ALLOW_THREADS;
7697 } _resultobj = Py_BuildValue("i",_result);
7698 return _resultobj;
7699 }
7700
7701 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
7702 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7703 PyObject * _resultobj;
7704 wxRect * _result;
7705 wxGrid * _arg0;
7706 int _arg1;
7707 int _arg2;
7708 PyObject * _argo0 = 0;
7709 char *_kwnames[] = { "self","row","col", NULL };
7710 char _ptemp[128];
7711
7712 self = self;
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
7714 return NULL;
7715 if (_argo0) {
7716 if (_argo0 == Py_None) { _arg0 = NULL; }
7717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
7719 return NULL;
7720 }
7721 }
7722 {
7723 wxPy_BEGIN_ALLOW_THREADS;
7724 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
7725
7726 wxPy_END_ALLOW_THREADS;
7727 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
7728 _resultobj = Py_BuildValue("s",_ptemp);
7729 return _resultobj;
7730 }
7731
7732 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
7733 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject * _resultobj;
7735 int _result;
7736 wxGrid * _arg0;
7737 PyObject * _argo0 = 0;
7738 char *_kwnames[] = { "self", NULL };
7739
7740 self = self;
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
7742 return NULL;
7743 if (_argo0) {
7744 if (_argo0 == Py_None) { _arg0 = NULL; }
7745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
7747 return NULL;
7748 }
7749 }
7750 {
7751 wxPy_BEGIN_ALLOW_THREADS;
7752 _result = (int )wxGrid_GetGridCursorRow(_arg0);
7753
7754 wxPy_END_ALLOW_THREADS;
7755 } _resultobj = Py_BuildValue("i",_result);
7756 return _resultobj;
7757 }
7758
7759 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
7760 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7761 PyObject * _resultobj;
7762 int _result;
7763 wxGrid * _arg0;
7764 PyObject * _argo0 = 0;
7765 char *_kwnames[] = { "self", NULL };
7766
7767 self = self;
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
7769 return NULL;
7770 if (_argo0) {
7771 if (_argo0 == Py_None) { _arg0 = NULL; }
7772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
7774 return NULL;
7775 }
7776 }
7777 {
7778 wxPy_BEGIN_ALLOW_THREADS;
7779 _result = (int )wxGrid_GetGridCursorCol(_arg0);
7780
7781 wxPy_END_ALLOW_THREADS;
7782 } _resultobj = Py_BuildValue("i",_result);
7783 return _resultobj;
7784 }
7785
7786 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
7787 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7788 PyObject * _resultobj;
7789 bool _result;
7790 wxGrid * _arg0;
7791 int _arg1;
7792 int _arg2;
7793 bool _arg3 = (bool ) TRUE;
7794 PyObject * _argo0 = 0;
7795 int tempbool3 = (int) TRUE;
7796 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
7797
7798 self = self;
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7800 return NULL;
7801 if (_argo0) {
7802 if (_argo0 == Py_None) { _arg0 = NULL; }
7803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
7805 return NULL;
7806 }
7807 }
7808 _arg3 = (bool ) tempbool3;
7809 {
7810 wxPy_BEGIN_ALLOW_THREADS;
7811 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
7812
7813 wxPy_END_ALLOW_THREADS;
7814 } _resultobj = Py_BuildValue("i",_result);
7815 return _resultobj;
7816 }
7817
7818 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
7819 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7820 PyObject * _resultobj;
7821 wxGrid * _arg0;
7822 int _arg1;
7823 int _arg2;
7824 PyObject * _argo0 = 0;
7825 char *_kwnames[] = { "self","row","col", NULL };
7826
7827 self = self;
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
7829 return NULL;
7830 if (_argo0) {
7831 if (_argo0 == Py_None) { _arg0 = NULL; }
7832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
7834 return NULL;
7835 }
7836 }
7837 {
7838 wxPy_BEGIN_ALLOW_THREADS;
7839 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
7840
7841 wxPy_END_ALLOW_THREADS;
7842 } Py_INCREF(Py_None);
7843 _resultobj = Py_None;
7844 return _resultobj;
7845 }
7846
7847 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
7848 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
7849 PyObject * _resultobj;
7850 wxGrid * _arg0;
7851 int _arg1;
7852 int _arg2;
7853 PyObject * _argo0 = 0;
7854 char *_kwnames[] = { "self","row","col", NULL };
7855
7856 self = self;
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
7858 return NULL;
7859 if (_argo0) {
7860 if (_argo0 == Py_None) { _arg0 = NULL; }
7861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
7863 return NULL;
7864 }
7865 }
7866 {
7867 wxPy_BEGIN_ALLOW_THREADS;
7868 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
7869
7870 wxPy_END_ALLOW_THREADS;
7871 } Py_INCREF(Py_None);
7872 _resultobj = Py_None;
7873 return _resultobj;
7874 }
7875
7876 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
7877 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
7878 PyObject * _resultobj;
7879 bool _result;
7880 wxGrid * _arg0;
7881 bool _arg1;
7882 PyObject * _argo0 = 0;
7883 int tempbool1;
7884 char *_kwnames[] = { "self","expandSelection", NULL };
7885
7886 self = self;
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
7888 return NULL;
7889 if (_argo0) {
7890 if (_argo0 == Py_None) { _arg0 = NULL; }
7891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
7893 return NULL;
7894 }
7895 }
7896 _arg1 = (bool ) tempbool1;
7897 {
7898 wxPy_BEGIN_ALLOW_THREADS;
7899 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
7900
7901 wxPy_END_ALLOW_THREADS;
7902 } _resultobj = Py_BuildValue("i",_result);
7903 return _resultobj;
7904 }
7905
7906 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
7907 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
7908 PyObject * _resultobj;
7909 bool _result;
7910 wxGrid * _arg0;
7911 bool _arg1;
7912 PyObject * _argo0 = 0;
7913 int tempbool1;
7914 char *_kwnames[] = { "self","expandSelection", NULL };
7915
7916 self = self;
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
7918 return NULL;
7919 if (_argo0) {
7920 if (_argo0 == Py_None) { _arg0 = NULL; }
7921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
7923 return NULL;
7924 }
7925 }
7926 _arg1 = (bool ) tempbool1;
7927 {
7928 wxPy_BEGIN_ALLOW_THREADS;
7929 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
7930
7931 wxPy_END_ALLOW_THREADS;
7932 } _resultobj = Py_BuildValue("i",_result);
7933 return _resultobj;
7934 }
7935
7936 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
7937 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7938 PyObject * _resultobj;
7939 bool _result;
7940 wxGrid * _arg0;
7941 bool _arg1;
7942 PyObject * _argo0 = 0;
7943 int tempbool1;
7944 char *_kwnames[] = { "self","expandSelection", NULL };
7945
7946 self = self;
7947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
7948 return NULL;
7949 if (_argo0) {
7950 if (_argo0 == Py_None) { _arg0 = NULL; }
7951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
7953 return NULL;
7954 }
7955 }
7956 _arg1 = (bool ) tempbool1;
7957 {
7958 wxPy_BEGIN_ALLOW_THREADS;
7959 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
7960
7961 wxPy_END_ALLOW_THREADS;
7962 } _resultobj = Py_BuildValue("i",_result);
7963 return _resultobj;
7964 }
7965
7966 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
7967 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7968 PyObject * _resultobj;
7969 bool _result;
7970 wxGrid * _arg0;
7971 bool _arg1;
7972 PyObject * _argo0 = 0;
7973 int tempbool1;
7974 char *_kwnames[] = { "self","expandSelection", NULL };
7975
7976 self = self;
7977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
7978 return NULL;
7979 if (_argo0) {
7980 if (_argo0 == Py_None) { _arg0 = NULL; }
7981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
7983 return NULL;
7984 }
7985 }
7986 _arg1 = (bool ) tempbool1;
7987 {
7988 wxPy_BEGIN_ALLOW_THREADS;
7989 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
7990
7991 wxPy_END_ALLOW_THREADS;
7992 } _resultobj = Py_BuildValue("i",_result);
7993 return _resultobj;
7994 }
7995
7996 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
7997 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
7998 PyObject * _resultobj;
7999 bool _result;
8000 wxGrid * _arg0;
8001 PyObject * _argo0 = 0;
8002 char *_kwnames[] = { "self", NULL };
8003
8004 self = self;
8005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8006 return NULL;
8007 if (_argo0) {
8008 if (_argo0 == Py_None) { _arg0 = NULL; }
8009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8011 return NULL;
8012 }
8013 }
8014 {
8015 wxPy_BEGIN_ALLOW_THREADS;
8016 _result = (bool )wxGrid_MovePageDown(_arg0);
8017
8018 wxPy_END_ALLOW_THREADS;
8019 } _resultobj = Py_BuildValue("i",_result);
8020 return _resultobj;
8021 }
8022
8023 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8024 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8025 PyObject * _resultobj;
8026 bool _result;
8027 wxGrid * _arg0;
8028 PyObject * _argo0 = 0;
8029 char *_kwnames[] = { "self", NULL };
8030
8031 self = self;
8032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8033 return NULL;
8034 if (_argo0) {
8035 if (_argo0 == Py_None) { _arg0 = NULL; }
8036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8038 return NULL;
8039 }
8040 }
8041 {
8042 wxPy_BEGIN_ALLOW_THREADS;
8043 _result = (bool )wxGrid_MovePageUp(_arg0);
8044
8045 wxPy_END_ALLOW_THREADS;
8046 } _resultobj = Py_BuildValue("i",_result);
8047 return _resultobj;
8048 }
8049
8050 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8051 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8052 PyObject * _resultobj;
8053 bool _result;
8054 wxGrid * _arg0;
8055 bool _arg1;
8056 PyObject * _argo0 = 0;
8057 int tempbool1;
8058 char *_kwnames[] = { "self","expandSelection", NULL };
8059
8060 self = self;
8061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8062 return NULL;
8063 if (_argo0) {
8064 if (_argo0 == Py_None) { _arg0 = NULL; }
8065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8067 return NULL;
8068 }
8069 }
8070 _arg1 = (bool ) tempbool1;
8071 {
8072 wxPy_BEGIN_ALLOW_THREADS;
8073 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8074
8075 wxPy_END_ALLOW_THREADS;
8076 } _resultobj = Py_BuildValue("i",_result);
8077 return _resultobj;
8078 }
8079
8080 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8081 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8082 PyObject * _resultobj;
8083 bool _result;
8084 wxGrid * _arg0;
8085 bool _arg1;
8086 PyObject * _argo0 = 0;
8087 int tempbool1;
8088 char *_kwnames[] = { "self","expandSelection", NULL };
8089
8090 self = self;
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8092 return NULL;
8093 if (_argo0) {
8094 if (_argo0 == Py_None) { _arg0 = NULL; }
8095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8097 return NULL;
8098 }
8099 }
8100 _arg1 = (bool ) tempbool1;
8101 {
8102 wxPy_BEGIN_ALLOW_THREADS;
8103 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8104
8105 wxPy_END_ALLOW_THREADS;
8106 } _resultobj = Py_BuildValue("i",_result);
8107 return _resultobj;
8108 }
8109
8110 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8111 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8112 PyObject * _resultobj;
8113 bool _result;
8114 wxGrid * _arg0;
8115 bool _arg1;
8116 PyObject * _argo0 = 0;
8117 int tempbool1;
8118 char *_kwnames[] = { "self","expandSelection", NULL };
8119
8120 self = self;
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8122 return NULL;
8123 if (_argo0) {
8124 if (_argo0 == Py_None) { _arg0 = NULL; }
8125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8127 return NULL;
8128 }
8129 }
8130 _arg1 = (bool ) tempbool1;
8131 {
8132 wxPy_BEGIN_ALLOW_THREADS;
8133 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8134
8135 wxPy_END_ALLOW_THREADS;
8136 } _resultobj = Py_BuildValue("i",_result);
8137 return _resultobj;
8138 }
8139
8140 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8141 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8142 PyObject * _resultobj;
8143 bool _result;
8144 wxGrid * _arg0;
8145 bool _arg1;
8146 PyObject * _argo0 = 0;
8147 int tempbool1;
8148 char *_kwnames[] = { "self","expandSelection", NULL };
8149
8150 self = self;
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
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_MoveCursorRightBlock. Expected _wxGrid_p.");
8157 return NULL;
8158 }
8159 }
8160 _arg1 = (bool ) tempbool1;
8161 {
8162 wxPy_BEGIN_ALLOW_THREADS;
8163 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8164
8165 wxPy_END_ALLOW_THREADS;
8166 } _resultobj = Py_BuildValue("i",_result);
8167 return _resultobj;
8168 }
8169
8170 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8171 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject * _resultobj;
8173 int _result;
8174 wxGrid * _arg0;
8175 PyObject * _argo0 = 0;
8176 char *_kwnames[] = { "self", NULL };
8177
8178 self = self;
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8180 return NULL;
8181 if (_argo0) {
8182 if (_argo0 == Py_None) { _arg0 = NULL; }
8183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8185 return NULL;
8186 }
8187 }
8188 {
8189 wxPy_BEGIN_ALLOW_THREADS;
8190 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8191
8192 wxPy_END_ALLOW_THREADS;
8193 } _resultobj = Py_BuildValue("i",_result);
8194 return _resultobj;
8195 }
8196
8197 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8198 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8199 PyObject * _resultobj;
8200 int _result;
8201 wxGrid * _arg0;
8202 PyObject * _argo0 = 0;
8203 char *_kwnames[] = { "self", NULL };
8204
8205 self = self;
8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8207 return NULL;
8208 if (_argo0) {
8209 if (_argo0 == Py_None) { _arg0 = NULL; }
8210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8212 return NULL;
8213 }
8214 }
8215 {
8216 wxPy_BEGIN_ALLOW_THREADS;
8217 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8218
8219 wxPy_END_ALLOW_THREADS;
8220 } _resultobj = Py_BuildValue("i",_result);
8221 return _resultobj;
8222 }
8223
8224 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8225 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8226 PyObject * _resultobj;
8227 int _result;
8228 wxGrid * _arg0;
8229 PyObject * _argo0 = 0;
8230 char *_kwnames[] = { "self", NULL };
8231
8232 self = self;
8233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8234 return NULL;
8235 if (_argo0) {
8236 if (_argo0 == Py_None) { _arg0 = NULL; }
8237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8239 return NULL;
8240 }
8241 }
8242 {
8243 wxPy_BEGIN_ALLOW_THREADS;
8244 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8245
8246 wxPy_END_ALLOW_THREADS;
8247 } _resultobj = Py_BuildValue("i",_result);
8248 return _resultobj;
8249 }
8250
8251 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8252 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8253 PyObject * _resultobj;
8254 int _result;
8255 wxGrid * _arg0;
8256 PyObject * _argo0 = 0;
8257 char *_kwnames[] = { "self", NULL };
8258
8259 self = self;
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8261 return NULL;
8262 if (_argo0) {
8263 if (_argo0 == Py_None) { _arg0 = NULL; }
8264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8266 return NULL;
8267 }
8268 }
8269 {
8270 wxPy_BEGIN_ALLOW_THREADS;
8271 _result = (int )wxGrid_GetColLabelSize(_arg0);
8272
8273 wxPy_END_ALLOW_THREADS;
8274 } _resultobj = Py_BuildValue("i",_result);
8275 return _resultobj;
8276 }
8277
8278 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8279 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject * _resultobj;
8281 wxColour * _result;
8282 wxGrid * _arg0;
8283 PyObject * _argo0 = 0;
8284 char *_kwnames[] = { "self", NULL };
8285 char _ptemp[128];
8286
8287 self = self;
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8289 return NULL;
8290 if (_argo0) {
8291 if (_argo0 == Py_None) { _arg0 = NULL; }
8292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8294 return NULL;
8295 }
8296 }
8297 {
8298 wxPy_BEGIN_ALLOW_THREADS;
8299 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8300
8301 wxPy_END_ALLOW_THREADS;
8302 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8303 _resultobj = Py_BuildValue("s",_ptemp);
8304 return _resultobj;
8305 }
8306
8307 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8308 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8309 PyObject * _resultobj;
8310 wxColour * _result;
8311 wxGrid * _arg0;
8312 PyObject * _argo0 = 0;
8313 char *_kwnames[] = { "self", NULL };
8314 char _ptemp[128];
8315
8316 self = self;
8317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8318 return NULL;
8319 if (_argo0) {
8320 if (_argo0 == Py_None) { _arg0 = NULL; }
8321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8323 return NULL;
8324 }
8325 }
8326 {
8327 wxPy_BEGIN_ALLOW_THREADS;
8328 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8329
8330 wxPy_END_ALLOW_THREADS;
8331 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8332 _resultobj = Py_BuildValue("s",_ptemp);
8333 return _resultobj;
8334 }
8335
8336 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8337 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8338 PyObject * _resultobj;
8339 wxFont * _result;
8340 wxGrid * _arg0;
8341 PyObject * _argo0 = 0;
8342 char *_kwnames[] = { "self", NULL };
8343 char _ptemp[128];
8344
8345 self = self;
8346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8347 return NULL;
8348 if (_argo0) {
8349 if (_argo0 == Py_None) { _arg0 = NULL; }
8350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8352 return NULL;
8353 }
8354 }
8355 {
8356 wxPy_BEGIN_ALLOW_THREADS;
8357 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8358
8359 wxPy_END_ALLOW_THREADS;
8360 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8361 _resultobj = Py_BuildValue("s",_ptemp);
8362 return _resultobj;
8363 }
8364
8365 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8366 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8367 PyObject * _resultobj;
8368 wxGrid * _arg0;
8369 int * _arg1;
8370 int temp;
8371 int * _arg2;
8372 int temp0;
8373 PyObject * _argo0 = 0;
8374 char *_kwnames[] = { "self", NULL };
8375
8376 self = self;
8377 {
8378 _arg1 = &temp;
8379 }
8380 {
8381 _arg2 = &temp0;
8382 }
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
8384 return NULL;
8385 if (_argo0) {
8386 if (_argo0 == Py_None) { _arg0 = NULL; }
8387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8389 return NULL;
8390 }
8391 }
8392 {
8393 wxPy_BEGIN_ALLOW_THREADS;
8394 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
8395
8396 wxPy_END_ALLOW_THREADS;
8397 } Py_INCREF(Py_None);
8398 _resultobj = Py_None;
8399 {
8400 PyObject *o;
8401 o = PyInt_FromLong((long) (*_arg1));
8402 _resultobj = t_output_helper(_resultobj, o);
8403 }
8404 {
8405 PyObject *o;
8406 o = PyInt_FromLong((long) (*_arg2));
8407 _resultobj = t_output_helper(_resultobj, o);
8408 }
8409 return _resultobj;
8410 }
8411
8412 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8413 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8414 PyObject * _resultobj;
8415 wxGrid * _arg0;
8416 int * _arg1;
8417 int temp;
8418 int * _arg2;
8419 int temp0;
8420 PyObject * _argo0 = 0;
8421 char *_kwnames[] = { "self", NULL };
8422
8423 self = self;
8424 {
8425 _arg1 = &temp;
8426 }
8427 {
8428 _arg2 = &temp0;
8429 }
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
8431 return NULL;
8432 if (_argo0) {
8433 if (_argo0 == Py_None) { _arg0 = NULL; }
8434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8436 return NULL;
8437 }
8438 }
8439 {
8440 wxPy_BEGIN_ALLOW_THREADS;
8441 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
8442
8443 wxPy_END_ALLOW_THREADS;
8444 } Py_INCREF(Py_None);
8445 _resultobj = Py_None;
8446 {
8447 PyObject *o;
8448 o = PyInt_FromLong((long) (*_arg1));
8449 _resultobj = t_output_helper(_resultobj, o);
8450 }
8451 {
8452 PyObject *o;
8453 o = PyInt_FromLong((long) (*_arg2));
8454 _resultobj = t_output_helper(_resultobj, o);
8455 }
8456 return _resultobj;
8457 }
8458
8459 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8460 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8461 PyObject * _resultobj;
8462 wxString * _result;
8463 wxGrid * _arg0;
8464 int _arg1;
8465 PyObject * _argo0 = 0;
8466 char *_kwnames[] = { "self","row", NULL };
8467
8468 self = self;
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
8470 return NULL;
8471 if (_argo0) {
8472 if (_argo0 == Py_None) { _arg0 = NULL; }
8473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8475 return NULL;
8476 }
8477 }
8478 {
8479 wxPy_BEGIN_ALLOW_THREADS;
8480 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
8481
8482 wxPy_END_ALLOW_THREADS;
8483 }{
8484 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8485 }
8486 {
8487 delete _result;
8488 }
8489 return _resultobj;
8490 }
8491
8492 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8493 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8494 PyObject * _resultobj;
8495 wxString * _result;
8496 wxGrid * _arg0;
8497 int _arg1;
8498 PyObject * _argo0 = 0;
8499 char *_kwnames[] = { "self","col", NULL };
8500
8501 self = self;
8502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
8503 return NULL;
8504 if (_argo0) {
8505 if (_argo0 == Py_None) { _arg0 = NULL; }
8506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8508 return NULL;
8509 }
8510 }
8511 {
8512 wxPy_BEGIN_ALLOW_THREADS;
8513 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
8514
8515 wxPy_END_ALLOW_THREADS;
8516 }{
8517 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8518 }
8519 {
8520 delete _result;
8521 }
8522 return _resultobj;
8523 }
8524
8525 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8526 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8527 PyObject * _resultobj;
8528 wxColour * _result;
8529 wxGrid * _arg0;
8530 PyObject * _argo0 = 0;
8531 char *_kwnames[] = { "self", NULL };
8532 char _ptemp[128];
8533
8534 self = self;
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
8536 return NULL;
8537 if (_argo0) {
8538 if (_argo0 == Py_None) { _arg0 = NULL; }
8539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8541 return NULL;
8542 }
8543 }
8544 {
8545 wxPy_BEGIN_ALLOW_THREADS;
8546 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
8547
8548 wxPy_END_ALLOW_THREADS;
8549 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8550 _resultobj = Py_BuildValue("s",_ptemp);
8551 return _resultobj;
8552 }
8553
8554 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8555 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8556 PyObject * _resultobj;
8557 wxColour * _result;
8558 wxGrid * _arg0;
8559 PyObject * _argo0 = 0;
8560 char *_kwnames[] = { "self", NULL };
8561 char _ptemp[128];
8562
8563 self = self;
8564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
8565 return NULL;
8566 if (_argo0) {
8567 if (_argo0 == Py_None) { _arg0 = NULL; }
8568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8570 return NULL;
8571 }
8572 }
8573 {
8574 wxPy_BEGIN_ALLOW_THREADS;
8575 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
8576
8577 wxPy_END_ALLOW_THREADS;
8578 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8579 _resultobj = Py_BuildValue("s",_ptemp);
8580 return _resultobj;
8581 }
8582
8583 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8584 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8585 PyObject * _resultobj;
8586 wxGrid * _arg0;
8587 int _arg1;
8588 PyObject * _argo0 = 0;
8589 char *_kwnames[] = { "self","width", NULL };
8590
8591 self = self;
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
8593 return NULL;
8594 if (_argo0) {
8595 if (_argo0 == Py_None) { _arg0 = NULL; }
8596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8598 return NULL;
8599 }
8600 }
8601 {
8602 wxPy_BEGIN_ALLOW_THREADS;
8603 wxGrid_SetRowLabelSize(_arg0,_arg1);
8604
8605 wxPy_END_ALLOW_THREADS;
8606 } Py_INCREF(Py_None);
8607 _resultobj = Py_None;
8608 return _resultobj;
8609 }
8610
8611 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8612 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8613 PyObject * _resultobj;
8614 wxGrid * _arg0;
8615 int _arg1;
8616 PyObject * _argo0 = 0;
8617 char *_kwnames[] = { "self","height", NULL };
8618
8619 self = self;
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
8621 return NULL;
8622 if (_argo0) {
8623 if (_argo0 == Py_None) { _arg0 = NULL; }
8624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8626 return NULL;
8627 }
8628 }
8629 {
8630 wxPy_BEGIN_ALLOW_THREADS;
8631 wxGrid_SetColLabelSize(_arg0,_arg1);
8632
8633 wxPy_END_ALLOW_THREADS;
8634 } Py_INCREF(Py_None);
8635 _resultobj = Py_None;
8636 return _resultobj;
8637 }
8638
8639 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
8640 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject * _resultobj;
8642 wxGrid * _arg0;
8643 wxColour * _arg1;
8644 PyObject * _argo0 = 0;
8645 wxColour temp;
8646 PyObject * _obj1 = 0;
8647 char *_kwnames[] = { "self","arg2", NULL };
8648
8649 self = self;
8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
8651 return NULL;
8652 if (_argo0) {
8653 if (_argo0 == Py_None) { _arg0 = NULL; }
8654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
8656 return NULL;
8657 }
8658 }
8659 {
8660 _arg1 = &temp;
8661 if (! wxColour_helper(_obj1, &_arg1))
8662 return NULL;
8663 }
8664 {
8665 wxPy_BEGIN_ALLOW_THREADS;
8666 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
8667
8668 wxPy_END_ALLOW_THREADS;
8669 } Py_INCREF(Py_None);
8670 _resultobj = Py_None;
8671 return _resultobj;
8672 }
8673
8674 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
8675 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8676 PyObject * _resultobj;
8677 wxGrid * _arg0;
8678 wxColour * _arg1;
8679 PyObject * _argo0 = 0;
8680 wxColour temp;
8681 PyObject * _obj1 = 0;
8682 char *_kwnames[] = { "self","arg2", NULL };
8683
8684 self = self;
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
8686 return NULL;
8687 if (_argo0) {
8688 if (_argo0 == Py_None) { _arg0 = NULL; }
8689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
8691 return NULL;
8692 }
8693 }
8694 {
8695 _arg1 = &temp;
8696 if (! wxColour_helper(_obj1, &_arg1))
8697 return NULL;
8698 }
8699 {
8700 wxPy_BEGIN_ALLOW_THREADS;
8701 wxGrid_SetLabelTextColour(_arg0,*_arg1);
8702
8703 wxPy_END_ALLOW_THREADS;
8704 } Py_INCREF(Py_None);
8705 _resultobj = Py_None;
8706 return _resultobj;
8707 }
8708
8709 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
8710 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8711 PyObject * _resultobj;
8712 wxGrid * _arg0;
8713 wxFont * _arg1;
8714 PyObject * _argo0 = 0;
8715 PyObject * _argo1 = 0;
8716 char *_kwnames[] = { "self","arg2", NULL };
8717
8718 self = self;
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
8720 return NULL;
8721 if (_argo0) {
8722 if (_argo0 == Py_None) { _arg0 = NULL; }
8723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
8725 return NULL;
8726 }
8727 }
8728 if (_argo1) {
8729 if (_argo1 == Py_None) { _arg1 = NULL; }
8730 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8731 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
8732 return NULL;
8733 }
8734 }
8735 {
8736 wxPy_BEGIN_ALLOW_THREADS;
8737 wxGrid_SetLabelFont(_arg0,*_arg1);
8738
8739 wxPy_END_ALLOW_THREADS;
8740 } Py_INCREF(Py_None);
8741 _resultobj = Py_None;
8742 return _resultobj;
8743 }
8744
8745 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
8746 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject * _resultobj;
8748 wxGrid * _arg0;
8749 int _arg1;
8750 int _arg2;
8751 PyObject * _argo0 = 0;
8752 char *_kwnames[] = { "self","horiz","vert", NULL };
8753
8754 self = self;
8755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8756 return NULL;
8757 if (_argo0) {
8758 if (_argo0 == Py_None) { _arg0 = NULL; }
8759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
8761 return NULL;
8762 }
8763 }
8764 {
8765 wxPy_BEGIN_ALLOW_THREADS;
8766 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
8767
8768 wxPy_END_ALLOW_THREADS;
8769 } Py_INCREF(Py_None);
8770 _resultobj = Py_None;
8771 return _resultobj;
8772 }
8773
8774 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
8775 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8776 PyObject * _resultobj;
8777 wxGrid * _arg0;
8778 int _arg1;
8779 int _arg2;
8780 PyObject * _argo0 = 0;
8781 char *_kwnames[] = { "self","horiz","vert", NULL };
8782
8783 self = self;
8784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8785 return NULL;
8786 if (_argo0) {
8787 if (_argo0 == Py_None) { _arg0 = NULL; }
8788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
8790 return NULL;
8791 }
8792 }
8793 {
8794 wxPy_BEGIN_ALLOW_THREADS;
8795 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
8796
8797 wxPy_END_ALLOW_THREADS;
8798 } Py_INCREF(Py_None);
8799 _resultobj = Py_None;
8800 return _resultobj;
8801 }
8802
8803 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
8804 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8805 PyObject * _resultobj;
8806 wxGrid * _arg0;
8807 int _arg1;
8808 wxString * _arg2;
8809 PyObject * _argo0 = 0;
8810 PyObject * _obj2 = 0;
8811 char *_kwnames[] = { "self","row","arg3", NULL };
8812
8813 self = self;
8814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
8815 return NULL;
8816 if (_argo0) {
8817 if (_argo0 == Py_None) { _arg0 = NULL; }
8818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
8820 return NULL;
8821 }
8822 }
8823 {
8824 if (!PyString_Check(_obj2)) {
8825 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8826 return NULL;
8827 }
8828 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8829 }
8830 {
8831 wxPy_BEGIN_ALLOW_THREADS;
8832 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
8833
8834 wxPy_END_ALLOW_THREADS;
8835 } Py_INCREF(Py_None);
8836 _resultobj = Py_None;
8837 {
8838 if (_obj2)
8839 delete _arg2;
8840 }
8841 return _resultobj;
8842 }
8843
8844 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
8845 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8846 PyObject * _resultobj;
8847 wxGrid * _arg0;
8848 int _arg1;
8849 wxString * _arg2;
8850 PyObject * _argo0 = 0;
8851 PyObject * _obj2 = 0;
8852 char *_kwnames[] = { "self","col","arg3", NULL };
8853
8854 self = self;
8855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
8856 return NULL;
8857 if (_argo0) {
8858 if (_argo0 == Py_None) { _arg0 = NULL; }
8859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
8861 return NULL;
8862 }
8863 }
8864 {
8865 if (!PyString_Check(_obj2)) {
8866 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8867 return NULL;
8868 }
8869 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8870 }
8871 {
8872 wxPy_BEGIN_ALLOW_THREADS;
8873 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
8874
8875 wxPy_END_ALLOW_THREADS;
8876 } Py_INCREF(Py_None);
8877 _resultobj = Py_None;
8878 {
8879 if (_obj2)
8880 delete _arg2;
8881 }
8882 return _resultobj;
8883 }
8884
8885 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
8886 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8887 PyObject * _resultobj;
8888 wxGrid * _arg0;
8889 wxColour * _arg1;
8890 PyObject * _argo0 = 0;
8891 wxColour temp;
8892 PyObject * _obj1 = 0;
8893 char *_kwnames[] = { "self","arg2", NULL };
8894
8895 self = self;
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
8897 return NULL;
8898 if (_argo0) {
8899 if (_argo0 == Py_None) { _arg0 = NULL; }
8900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
8902 return NULL;
8903 }
8904 }
8905 {
8906 _arg1 = &temp;
8907 if (! wxColour_helper(_obj1, &_arg1))
8908 return NULL;
8909 }
8910 {
8911 wxPy_BEGIN_ALLOW_THREADS;
8912 wxGrid_SetGridLineColour(_arg0,*_arg1);
8913
8914 wxPy_END_ALLOW_THREADS;
8915 } Py_INCREF(Py_None);
8916 _resultobj = Py_None;
8917 return _resultobj;
8918 }
8919
8920 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
8921 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8922 PyObject * _resultobj;
8923 wxGrid * _arg0;
8924 wxColour * _arg1;
8925 PyObject * _argo0 = 0;
8926 wxColour temp;
8927 PyObject * _obj1 = 0;
8928 char *_kwnames[] = { "self","arg2", NULL };
8929
8930 self = self;
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
8932 return NULL;
8933 if (_argo0) {
8934 if (_argo0 == Py_None) { _arg0 = NULL; }
8935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
8937 return NULL;
8938 }
8939 }
8940 {
8941 _arg1 = &temp;
8942 if (! wxColour_helper(_obj1, &_arg1))
8943 return NULL;
8944 }
8945 {
8946 wxPy_BEGIN_ALLOW_THREADS;
8947 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
8948
8949 wxPy_END_ALLOW_THREADS;
8950 } Py_INCREF(Py_None);
8951 _resultobj = Py_None;
8952 return _resultobj;
8953 }
8954
8955 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
8956 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8957 PyObject * _resultobj;
8958 wxGrid * _arg0;
8959 bool _arg1 = (bool ) TRUE;
8960 PyObject * _argo0 = 0;
8961 int tempbool1 = (int) TRUE;
8962 char *_kwnames[] = { "self","enable", NULL };
8963
8964 self = self;
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
8966 return NULL;
8967 if (_argo0) {
8968 if (_argo0 == Py_None) { _arg0 = NULL; }
8969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
8971 return NULL;
8972 }
8973 }
8974 _arg1 = (bool ) tempbool1;
8975 {
8976 wxPy_BEGIN_ALLOW_THREADS;
8977 wxGrid_EnableDragRowSize(_arg0,_arg1);
8978
8979 wxPy_END_ALLOW_THREADS;
8980 } Py_INCREF(Py_None);
8981 _resultobj = Py_None;
8982 return _resultobj;
8983 }
8984
8985 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
8986 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject * _resultobj;
8988 wxGrid * _arg0;
8989 PyObject * _argo0 = 0;
8990 char *_kwnames[] = { "self", NULL };
8991
8992 self = self;
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
8994 return NULL;
8995 if (_argo0) {
8996 if (_argo0 == Py_None) { _arg0 = NULL; }
8997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
8999 return NULL;
9000 }
9001 }
9002 {
9003 wxPy_BEGIN_ALLOW_THREADS;
9004 wxGrid_DisableDragRowSize(_arg0);
9005
9006 wxPy_END_ALLOW_THREADS;
9007 } Py_INCREF(Py_None);
9008 _resultobj = Py_None;
9009 return _resultobj;
9010 }
9011
9012 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9013 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9014 PyObject * _resultobj;
9015 bool _result;
9016 wxGrid * _arg0;
9017 PyObject * _argo0 = 0;
9018 char *_kwnames[] = { "self", NULL };
9019
9020 self = self;
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9022 return NULL;
9023 if (_argo0) {
9024 if (_argo0 == Py_None) { _arg0 = NULL; }
9025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9027 return NULL;
9028 }
9029 }
9030 {
9031 wxPy_BEGIN_ALLOW_THREADS;
9032 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9033
9034 wxPy_END_ALLOW_THREADS;
9035 } _resultobj = Py_BuildValue("i",_result);
9036 return _resultobj;
9037 }
9038
9039 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9040 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9041 PyObject * _resultobj;
9042 wxGrid * _arg0;
9043 bool _arg1 = (bool ) TRUE;
9044 PyObject * _argo0 = 0;
9045 int tempbool1 = (int) TRUE;
9046 char *_kwnames[] = { "self","enable", NULL };
9047
9048 self = self;
9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9050 return NULL;
9051 if (_argo0) {
9052 if (_argo0 == Py_None) { _arg0 = NULL; }
9053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9055 return NULL;
9056 }
9057 }
9058 _arg1 = (bool ) tempbool1;
9059 {
9060 wxPy_BEGIN_ALLOW_THREADS;
9061 wxGrid_EnableDragColSize(_arg0,_arg1);
9062
9063 wxPy_END_ALLOW_THREADS;
9064 } Py_INCREF(Py_None);
9065 _resultobj = Py_None;
9066 return _resultobj;
9067 }
9068
9069 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9070 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject * _resultobj;
9072 wxGrid * _arg0;
9073 PyObject * _argo0 = 0;
9074 char *_kwnames[] = { "self", NULL };
9075
9076 self = self;
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9078 return NULL;
9079 if (_argo0) {
9080 if (_argo0 == Py_None) { _arg0 = NULL; }
9081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9083 return NULL;
9084 }
9085 }
9086 {
9087 wxPy_BEGIN_ALLOW_THREADS;
9088 wxGrid_DisableDragColSize(_arg0);
9089
9090 wxPy_END_ALLOW_THREADS;
9091 } Py_INCREF(Py_None);
9092 _resultobj = Py_None;
9093 return _resultobj;
9094 }
9095
9096 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9097 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9098 PyObject * _resultobj;
9099 bool _result;
9100 wxGrid * _arg0;
9101 PyObject * _argo0 = 0;
9102 char *_kwnames[] = { "self", NULL };
9103
9104 self = self;
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9106 return NULL;
9107 if (_argo0) {
9108 if (_argo0 == Py_None) { _arg0 = NULL; }
9109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9111 return NULL;
9112 }
9113 }
9114 {
9115 wxPy_BEGIN_ALLOW_THREADS;
9116 _result = (bool )wxGrid_CanDragColSize(_arg0);
9117
9118 wxPy_END_ALLOW_THREADS;
9119 } _resultobj = Py_BuildValue("i",_result);
9120 return _resultobj;
9121 }
9122
9123 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9124 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9125 PyObject * _resultobj;
9126 wxGrid * _arg0;
9127 bool _arg1 = (bool ) TRUE;
9128 PyObject * _argo0 = 0;
9129 int tempbool1 = (int) TRUE;
9130 char *_kwnames[] = { "self","enable", NULL };
9131
9132 self = self;
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9134 return NULL;
9135 if (_argo0) {
9136 if (_argo0 == Py_None) { _arg0 = NULL; }
9137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9139 return NULL;
9140 }
9141 }
9142 _arg1 = (bool ) tempbool1;
9143 {
9144 wxPy_BEGIN_ALLOW_THREADS;
9145 wxGrid_EnableDragGridSize(_arg0,_arg1);
9146
9147 wxPy_END_ALLOW_THREADS;
9148 } Py_INCREF(Py_None);
9149 _resultobj = Py_None;
9150 return _resultobj;
9151 }
9152
9153 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9154 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9155 PyObject * _resultobj;
9156 wxGrid * _arg0;
9157 PyObject * _argo0 = 0;
9158 char *_kwnames[] = { "self", NULL };
9159
9160 self = self;
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9162 return NULL;
9163 if (_argo0) {
9164 if (_argo0 == Py_None) { _arg0 = NULL; }
9165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9167 return NULL;
9168 }
9169 }
9170 {
9171 wxPy_BEGIN_ALLOW_THREADS;
9172 wxGrid_DisableDragGridSize(_arg0);
9173
9174 wxPy_END_ALLOW_THREADS;
9175 } Py_INCREF(Py_None);
9176 _resultobj = Py_None;
9177 return _resultobj;
9178 }
9179
9180 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9181 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject * _resultobj;
9183 bool _result;
9184 wxGrid * _arg0;
9185 PyObject * _argo0 = 0;
9186 char *_kwnames[] = { "self", NULL };
9187
9188 self = self;
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9190 return NULL;
9191 if (_argo0) {
9192 if (_argo0 == Py_None) { _arg0 = NULL; }
9193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9195 return NULL;
9196 }
9197 }
9198 {
9199 wxPy_BEGIN_ALLOW_THREADS;
9200 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9201
9202 wxPy_END_ALLOW_THREADS;
9203 } _resultobj = Py_BuildValue("i",_result);
9204 return _resultobj;
9205 }
9206
9207 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9208 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9209 PyObject * _resultobj;
9210 wxGrid * _arg0;
9211 int _arg1;
9212 wxGridCellAttr * _arg2;
9213 PyObject * _argo0 = 0;
9214 PyObject * _argo2 = 0;
9215 char *_kwnames[] = { "self","row","attr", NULL };
9216
9217 self = self;
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9219 return NULL;
9220 if (_argo0) {
9221 if (_argo0 == Py_None) { _arg0 = NULL; }
9222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9224 return NULL;
9225 }
9226 }
9227 if (_argo2) {
9228 if (_argo2 == Py_None) { _arg2 = NULL; }
9229 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9230 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9231 return NULL;
9232 }
9233 }
9234 {
9235 wxPy_BEGIN_ALLOW_THREADS;
9236 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
9237
9238 wxPy_END_ALLOW_THREADS;
9239 } Py_INCREF(Py_None);
9240 _resultobj = Py_None;
9241 return _resultobj;
9242 }
9243
9244 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9245 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject * _resultobj;
9247 wxGrid * _arg0;
9248 int _arg1;
9249 wxGridCellAttr * _arg2;
9250 PyObject * _argo0 = 0;
9251 PyObject * _argo2 = 0;
9252 char *_kwnames[] = { "self","col","attr", NULL };
9253
9254 self = self;
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9256 return NULL;
9257 if (_argo0) {
9258 if (_argo0 == Py_None) { _arg0 = NULL; }
9259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9261 return NULL;
9262 }
9263 }
9264 if (_argo2) {
9265 if (_argo2 == Py_None) { _arg2 = NULL; }
9266 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9267 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9268 return NULL;
9269 }
9270 }
9271 {
9272 wxPy_BEGIN_ALLOW_THREADS;
9273 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
9274
9275 wxPy_END_ALLOW_THREADS;
9276 } Py_INCREF(Py_None);
9277 _resultobj = Py_None;
9278 return _resultobj;
9279 }
9280
9281 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9282 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9283 PyObject * _resultobj;
9284 wxGrid * _arg0;
9285 int _arg1;
9286 PyObject * _argo0 = 0;
9287 char *_kwnames[] = { "self","col", NULL };
9288
9289 self = self;
9290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
9291 return NULL;
9292 if (_argo0) {
9293 if (_argo0 == Py_None) { _arg0 = NULL; }
9294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9296 return NULL;
9297 }
9298 }
9299 {
9300 wxPy_BEGIN_ALLOW_THREADS;
9301 wxGrid_SetColFormatBool(_arg0,_arg1);
9302
9303 wxPy_END_ALLOW_THREADS;
9304 } Py_INCREF(Py_None);
9305 _resultobj = Py_None;
9306 return _resultobj;
9307 }
9308
9309 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9310 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
9311 PyObject * _resultobj;
9312 wxGrid * _arg0;
9313 int _arg1;
9314 PyObject * _argo0 = 0;
9315 char *_kwnames[] = { "self","col", NULL };
9316
9317 self = self;
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
9319 return NULL;
9320 if (_argo0) {
9321 if (_argo0 == Py_None) { _arg0 = NULL; }
9322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
9324 return NULL;
9325 }
9326 }
9327 {
9328 wxPy_BEGIN_ALLOW_THREADS;
9329 wxGrid_SetColFormatNumber(_arg0,_arg1);
9330
9331 wxPy_END_ALLOW_THREADS;
9332 } Py_INCREF(Py_None);
9333 _resultobj = Py_None;
9334 return _resultobj;
9335 }
9336
9337 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9338 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject * _resultobj;
9340 wxGrid * _arg0;
9341 int _arg1;
9342 int _arg2 = (int ) -1;
9343 int _arg3 = (int ) -1;
9344 PyObject * _argo0 = 0;
9345 char *_kwnames[] = { "self","col","width","precision", NULL };
9346
9347 self = self;
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
9349 return NULL;
9350 if (_argo0) {
9351 if (_argo0 == Py_None) { _arg0 = NULL; }
9352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
9354 return NULL;
9355 }
9356 }
9357 {
9358 wxPy_BEGIN_ALLOW_THREADS;
9359 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
9360
9361 wxPy_END_ALLOW_THREADS;
9362 } Py_INCREF(Py_None);
9363 _resultobj = Py_None;
9364 return _resultobj;
9365 }
9366
9367 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9368 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
9369 PyObject * _resultobj;
9370 wxGrid * _arg0;
9371 int _arg1;
9372 wxString * _arg2;
9373 PyObject * _argo0 = 0;
9374 PyObject * _obj2 = 0;
9375 char *_kwnames[] = { "self","col","typeName", NULL };
9376
9377 self = self;
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
9379 return NULL;
9380 if (_argo0) {
9381 if (_argo0 == Py_None) { _arg0 = NULL; }
9382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9384 return NULL;
9385 }
9386 }
9387 {
9388 if (!PyString_Check(_obj2)) {
9389 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9390 return NULL;
9391 }
9392 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
9393 }
9394 {
9395 wxPy_BEGIN_ALLOW_THREADS;
9396 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
9397
9398 wxPy_END_ALLOW_THREADS;
9399 } Py_INCREF(Py_None);
9400 _resultobj = Py_None;
9401 {
9402 if (_obj2)
9403 delete _arg2;
9404 }
9405 return _resultobj;
9406 }
9407
9408 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9409 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9410 PyObject * _resultobj;
9411 wxGrid * _arg0;
9412 bool _arg1 = (bool ) TRUE;
9413 PyObject * _argo0 = 0;
9414 int tempbool1 = (int) TRUE;
9415 char *_kwnames[] = { "self","enable", NULL };
9416
9417 self = self;
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
9419 return NULL;
9420 if (_argo0) {
9421 if (_argo0 == Py_None) { _arg0 = NULL; }
9422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9424 return NULL;
9425 }
9426 }
9427 _arg1 = (bool ) tempbool1;
9428 {
9429 wxPy_BEGIN_ALLOW_THREADS;
9430 wxGrid_EnableGridLines(_arg0,_arg1);
9431
9432 wxPy_END_ALLOW_THREADS;
9433 } Py_INCREF(Py_None);
9434 _resultobj = Py_None;
9435 return _resultobj;
9436 }
9437
9438 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9439 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9440 PyObject * _resultobj;
9441 bool _result;
9442 wxGrid * _arg0;
9443 PyObject * _argo0 = 0;
9444 char *_kwnames[] = { "self", NULL };
9445
9446 self = self;
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
9448 return NULL;
9449 if (_argo0) {
9450 if (_argo0 == Py_None) { _arg0 = NULL; }
9451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9453 return NULL;
9454 }
9455 }
9456 {
9457 wxPy_BEGIN_ALLOW_THREADS;
9458 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
9459
9460 wxPy_END_ALLOW_THREADS;
9461 } _resultobj = Py_BuildValue("i",_result);
9462 return _resultobj;
9463 }
9464
9465 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9466 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9467 PyObject * _resultobj;
9468 int _result;
9469 wxGrid * _arg0;
9470 PyObject * _argo0 = 0;
9471 char *_kwnames[] = { "self", NULL };
9472
9473 self = self;
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
9475 return NULL;
9476 if (_argo0) {
9477 if (_argo0 == Py_None) { _arg0 = NULL; }
9478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9480 return NULL;
9481 }
9482 }
9483 {
9484 wxPy_BEGIN_ALLOW_THREADS;
9485 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
9486
9487 wxPy_END_ALLOW_THREADS;
9488 } _resultobj = Py_BuildValue("i",_result);
9489 return _resultobj;
9490 }
9491
9492 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9493 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9494 PyObject * _resultobj;
9495 int _result;
9496 wxGrid * _arg0;
9497 int _arg1;
9498 PyObject * _argo0 = 0;
9499 char *_kwnames[] = { "self","row", NULL };
9500
9501 self = self;
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
9503 return NULL;
9504 if (_argo0) {
9505 if (_argo0 == Py_None) { _arg0 = NULL; }
9506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
9508 return NULL;
9509 }
9510 }
9511 {
9512 wxPy_BEGIN_ALLOW_THREADS;
9513 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
9514
9515 wxPy_END_ALLOW_THREADS;
9516 } _resultobj = Py_BuildValue("i",_result);
9517 return _resultobj;
9518 }
9519
9520 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9521 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9522 PyObject * _resultobj;
9523 int _result;
9524 wxGrid * _arg0;
9525 PyObject * _argo0 = 0;
9526 char *_kwnames[] = { "self", NULL };
9527
9528 self = self;
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
9530 return NULL;
9531 if (_argo0) {
9532 if (_argo0 == Py_None) { _arg0 = NULL; }
9533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9535 return NULL;
9536 }
9537 }
9538 {
9539 wxPy_BEGIN_ALLOW_THREADS;
9540 _result = (int )wxGrid_GetDefaultColSize(_arg0);
9541
9542 wxPy_END_ALLOW_THREADS;
9543 } _resultobj = Py_BuildValue("i",_result);
9544 return _resultobj;
9545 }
9546
9547 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
9548 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9549 PyObject * _resultobj;
9550 int _result;
9551 wxGrid * _arg0;
9552 int _arg1;
9553 PyObject * _argo0 = 0;
9554 char *_kwnames[] = { "self","col", NULL };
9555
9556 self = self;
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
9558 return NULL;
9559 if (_argo0) {
9560 if (_argo0 == Py_None) { _arg0 = NULL; }
9561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
9563 return NULL;
9564 }
9565 }
9566 {
9567 wxPy_BEGIN_ALLOW_THREADS;
9568 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
9569
9570 wxPy_END_ALLOW_THREADS;
9571 } _resultobj = Py_BuildValue("i",_result);
9572 return _resultobj;
9573 }
9574
9575 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
9576 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9577 PyObject * _resultobj;
9578 wxColour * _result;
9579 wxGrid * _arg0;
9580 PyObject * _argo0 = 0;
9581 char *_kwnames[] = { "self", NULL };
9582 char _ptemp[128];
9583
9584 self = self;
9585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
9586 return NULL;
9587 if (_argo0) {
9588 if (_argo0 == Py_None) { _arg0 = NULL; }
9589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
9591 return NULL;
9592 }
9593 }
9594 {
9595 wxPy_BEGIN_ALLOW_THREADS;
9596 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
9597
9598 wxPy_END_ALLOW_THREADS;
9599 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9600 _resultobj = Py_BuildValue("s",_ptemp);
9601 return _resultobj;
9602 }
9603
9604 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
9605 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject * _resultobj;
9607 wxColour * _result;
9608 wxGrid * _arg0;
9609 int _arg1;
9610 int _arg2;
9611 PyObject * _argo0 = 0;
9612 char *_kwnames[] = { "self","row","col", NULL };
9613 char _ptemp[128];
9614
9615 self = self;
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
9617 return NULL;
9618 if (_argo0) {
9619 if (_argo0 == Py_None) { _arg0 = NULL; }
9620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
9622 return NULL;
9623 }
9624 }
9625 {
9626 wxPy_BEGIN_ALLOW_THREADS;
9627 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
9628
9629 wxPy_END_ALLOW_THREADS;
9630 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9631 _resultobj = Py_BuildValue("s",_ptemp);
9632 return _resultobj;
9633 }
9634
9635 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
9636 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject * _resultobj;
9638 wxColour * _result;
9639 wxGrid * _arg0;
9640 PyObject * _argo0 = 0;
9641 char *_kwnames[] = { "self", NULL };
9642 char _ptemp[128];
9643
9644 self = self;
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
9646 return NULL;
9647 if (_argo0) {
9648 if (_argo0 == Py_None) { _arg0 = NULL; }
9649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
9651 return NULL;
9652 }
9653 }
9654 {
9655 wxPy_BEGIN_ALLOW_THREADS;
9656 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
9657
9658 wxPy_END_ALLOW_THREADS;
9659 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9660 _resultobj = Py_BuildValue("s",_ptemp);
9661 return _resultobj;
9662 }
9663
9664 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
9665 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9666 PyObject * _resultobj;
9667 wxColour * _result;
9668 wxGrid * _arg0;
9669 int _arg1;
9670 int _arg2;
9671 PyObject * _argo0 = 0;
9672 char *_kwnames[] = { "self","row","col", NULL };
9673 char _ptemp[128];
9674
9675 self = self;
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
9677 return NULL;
9678 if (_argo0) {
9679 if (_argo0 == Py_None) { _arg0 = NULL; }
9680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
9682 return NULL;
9683 }
9684 }
9685 {
9686 wxPy_BEGIN_ALLOW_THREADS;
9687 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
9688
9689 wxPy_END_ALLOW_THREADS;
9690 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9691 _resultobj = Py_BuildValue("s",_ptemp);
9692 return _resultobj;
9693 }
9694
9695 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
9696 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9697 PyObject * _resultobj;
9698 wxFont * _result;
9699 wxGrid * _arg0;
9700 PyObject * _argo0 = 0;
9701 char *_kwnames[] = { "self", NULL };
9702 char _ptemp[128];
9703
9704 self = self;
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
9706 return NULL;
9707 if (_argo0) {
9708 if (_argo0 == Py_None) { _arg0 = NULL; }
9709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
9711 return NULL;
9712 }
9713 }
9714 {
9715 wxPy_BEGIN_ALLOW_THREADS;
9716 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
9717
9718 wxPy_END_ALLOW_THREADS;
9719 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9720 _resultobj = Py_BuildValue("s",_ptemp);
9721 return _resultobj;
9722 }
9723
9724 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
9725 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9726 PyObject * _resultobj;
9727 wxFont * _result;
9728 wxGrid * _arg0;
9729 int _arg1;
9730 int _arg2;
9731 PyObject * _argo0 = 0;
9732 char *_kwnames[] = { "self","row","col", NULL };
9733 char _ptemp[128];
9734
9735 self = self;
9736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
9737 return NULL;
9738 if (_argo0) {
9739 if (_argo0 == Py_None) { _arg0 = NULL; }
9740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
9742 return NULL;
9743 }
9744 }
9745 {
9746 wxPy_BEGIN_ALLOW_THREADS;
9747 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
9748
9749 wxPy_END_ALLOW_THREADS;
9750 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9751 _resultobj = Py_BuildValue("s",_ptemp);
9752 return _resultobj;
9753 }
9754
9755 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
9756 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9757 PyObject * _resultobj;
9758 wxGrid * _arg0;
9759 int * _arg1;
9760 int * _arg2;
9761 PyObject * _argo0 = 0;
9762 PyObject * _argo1 = 0;
9763 PyObject * _argo2 = 0;
9764 char *_kwnames[] = { "self","horiz","vert", NULL };
9765
9766 self = self;
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
9768 return NULL;
9769 if (_argo0) {
9770 if (_argo0 == Py_None) { _arg0 = NULL; }
9771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
9773 return NULL;
9774 }
9775 }
9776 if (_argo1) {
9777 if (_argo1 == Py_None) { _arg1 = NULL; }
9778 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
9779 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
9780 return NULL;
9781 }
9782 }
9783 if (_argo2) {
9784 if (_argo2 == Py_None) { _arg2 = NULL; }
9785 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
9786 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
9787 return NULL;
9788 }
9789 }
9790 {
9791 wxPy_BEGIN_ALLOW_THREADS;
9792 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
9793
9794 wxPy_END_ALLOW_THREADS;
9795 } Py_INCREF(Py_None);
9796 _resultobj = Py_None;
9797 return _resultobj;
9798 }
9799
9800 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9801 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9802 PyObject * _resultobj;
9803 wxGrid * _arg0;
9804 int _arg1;
9805 int _arg2;
9806 int * _arg3;
9807 int * _arg4;
9808 PyObject * _argo0 = 0;
9809 PyObject * _argo3 = 0;
9810 PyObject * _argo4 = 0;
9811 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
9812
9813 self = self;
9814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
9815 return NULL;
9816 if (_argo0) {
9817 if (_argo0 == Py_None) { _arg0 = NULL; }
9818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
9820 return NULL;
9821 }
9822 }
9823 if (_argo3) {
9824 if (_argo3 == Py_None) { _arg3 = NULL; }
9825 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
9826 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
9827 return NULL;
9828 }
9829 }
9830 if (_argo4) {
9831 if (_argo4 == Py_None) { _arg4 = NULL; }
9832 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
9833 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
9834 return NULL;
9835 }
9836 }
9837 {
9838 wxPy_BEGIN_ALLOW_THREADS;
9839 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
9840
9841 wxPy_END_ALLOW_THREADS;
9842 } Py_INCREF(Py_None);
9843 _resultobj = Py_None;
9844 return _resultobj;
9845 }
9846
9847 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
9848 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9849 PyObject * _resultobj;
9850 wxGrid * _arg0;
9851 int _arg1;
9852 bool _arg2 = (bool ) FALSE;
9853 PyObject * _argo0 = 0;
9854 int tempbool2 = (int) FALSE;
9855 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
9856
9857 self = self;
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
9859 return NULL;
9860 if (_argo0) {
9861 if (_argo0 == Py_None) { _arg0 = NULL; }
9862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
9864 return NULL;
9865 }
9866 }
9867 _arg2 = (bool ) tempbool2;
9868 {
9869 wxPy_BEGIN_ALLOW_THREADS;
9870 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
9871
9872 wxPy_END_ALLOW_THREADS;
9873 } Py_INCREF(Py_None);
9874 _resultobj = Py_None;
9875 return _resultobj;
9876 }
9877
9878 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
9879 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9880 PyObject * _resultobj;
9881 wxGrid * _arg0;
9882 int _arg1;
9883 int _arg2;
9884 PyObject * _argo0 = 0;
9885 char *_kwnames[] = { "self","row","height", NULL };
9886
9887 self = self;
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
9889 return NULL;
9890 if (_argo0) {
9891 if (_argo0 == Py_None) { _arg0 = NULL; }
9892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
9894 return NULL;
9895 }
9896 }
9897 {
9898 wxPy_BEGIN_ALLOW_THREADS;
9899 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
9900
9901 wxPy_END_ALLOW_THREADS;
9902 } Py_INCREF(Py_None);
9903 _resultobj = Py_None;
9904 return _resultobj;
9905 }
9906
9907 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
9908 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9909 PyObject * _resultobj;
9910 wxGrid * _arg0;
9911 int _arg1;
9912 bool _arg2 = (bool ) FALSE;
9913 PyObject * _argo0 = 0;
9914 int tempbool2 = (int) FALSE;
9915 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
9916
9917 self = self;
9918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
9919 return NULL;
9920 if (_argo0) {
9921 if (_argo0 == Py_None) { _arg0 = NULL; }
9922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
9924 return NULL;
9925 }
9926 }
9927 _arg2 = (bool ) tempbool2;
9928 {
9929 wxPy_BEGIN_ALLOW_THREADS;
9930 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
9931
9932 wxPy_END_ALLOW_THREADS;
9933 } Py_INCREF(Py_None);
9934 _resultobj = Py_None;
9935 return _resultobj;
9936 }
9937
9938 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
9939 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9940 PyObject * _resultobj;
9941 wxGrid * _arg0;
9942 int _arg1;
9943 int _arg2;
9944 PyObject * _argo0 = 0;
9945 char *_kwnames[] = { "self","col","width", NULL };
9946
9947 self = self;
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
9949 return NULL;
9950 if (_argo0) {
9951 if (_argo0 == Py_None) { _arg0 = NULL; }
9952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
9954 return NULL;
9955 }
9956 }
9957 {
9958 wxPy_BEGIN_ALLOW_THREADS;
9959 wxGrid_SetColSize(_arg0,_arg1,_arg2);
9960
9961 wxPy_END_ALLOW_THREADS;
9962 } Py_INCREF(Py_None);
9963 _resultobj = Py_None;
9964 return _resultobj;
9965 }
9966
9967 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
9968 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9969 PyObject * _resultobj;
9970 wxGrid * _arg0;
9971 int _arg1;
9972 bool _arg2 = (bool ) TRUE;
9973 PyObject * _argo0 = 0;
9974 int tempbool2 = (int) TRUE;
9975 char *_kwnames[] = { "self","col","setAsMin", NULL };
9976
9977 self = self;
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
9979 return NULL;
9980 if (_argo0) {
9981 if (_argo0 == Py_None) { _arg0 = NULL; }
9982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
9984 return NULL;
9985 }
9986 }
9987 _arg2 = (bool ) tempbool2;
9988 {
9989 wxPy_BEGIN_ALLOW_THREADS;
9990 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
9991
9992 wxPy_END_ALLOW_THREADS;
9993 } Py_INCREF(Py_None);
9994 _resultobj = Py_None;
9995 return _resultobj;
9996 }
9997
9998 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
9999 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10000 PyObject * _resultobj;
10001 wxGrid * _arg0;
10002 int _arg1;
10003 bool _arg2 = (bool ) TRUE;
10004 PyObject * _argo0 = 0;
10005 int tempbool2 = (int) TRUE;
10006 char *_kwnames[] = { "self","row","setAsMin", NULL };
10007
10008 self = self;
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10010 return NULL;
10011 if (_argo0) {
10012 if (_argo0 == Py_None) { _arg0 = NULL; }
10013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10015 return NULL;
10016 }
10017 }
10018 _arg2 = (bool ) tempbool2;
10019 {
10020 wxPy_BEGIN_ALLOW_THREADS;
10021 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10022
10023 wxPy_END_ALLOW_THREADS;
10024 } Py_INCREF(Py_None);
10025 _resultobj = Py_None;
10026 return _resultobj;
10027 }
10028
10029 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10030 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10031 PyObject * _resultobj;
10032 wxGrid * _arg0;
10033 bool _arg1 = (bool ) TRUE;
10034 PyObject * _argo0 = 0;
10035 int tempbool1 = (int) TRUE;
10036 char *_kwnames[] = { "self","setAsMin", NULL };
10037
10038 self = self;
10039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10040 return NULL;
10041 if (_argo0) {
10042 if (_argo0 == Py_None) { _arg0 = NULL; }
10043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10045 return NULL;
10046 }
10047 }
10048 _arg1 = (bool ) tempbool1;
10049 {
10050 wxPy_BEGIN_ALLOW_THREADS;
10051 wxGrid_AutoSizeColumns(_arg0,_arg1);
10052
10053 wxPy_END_ALLOW_THREADS;
10054 } Py_INCREF(Py_None);
10055 _resultobj = Py_None;
10056 return _resultobj;
10057 }
10058
10059 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10060 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10061 PyObject * _resultobj;
10062 wxGrid * _arg0;
10063 bool _arg1 = (bool ) TRUE;
10064 PyObject * _argo0 = 0;
10065 int tempbool1 = (int) TRUE;
10066 char *_kwnames[] = { "self","setAsMin", NULL };
10067
10068 self = self;
10069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10070 return NULL;
10071 if (_argo0) {
10072 if (_argo0 == Py_None) { _arg0 = NULL; }
10073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10075 return NULL;
10076 }
10077 }
10078 _arg1 = (bool ) tempbool1;
10079 {
10080 wxPy_BEGIN_ALLOW_THREADS;
10081 wxGrid_AutoSizeRows(_arg0,_arg1);
10082
10083 wxPy_END_ALLOW_THREADS;
10084 } Py_INCREF(Py_None);
10085 _resultobj = Py_None;
10086 return _resultobj;
10087 }
10088
10089 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10090 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject * _resultobj;
10092 wxGrid * _arg0;
10093 PyObject * _argo0 = 0;
10094 char *_kwnames[] = { "self", NULL };
10095
10096 self = self;
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10098 return NULL;
10099 if (_argo0) {
10100 if (_argo0 == Py_None) { _arg0 = NULL; }
10101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10103 return NULL;
10104 }
10105 }
10106 {
10107 wxPy_BEGIN_ALLOW_THREADS;
10108 wxGrid_AutoSize(_arg0);
10109
10110 wxPy_END_ALLOW_THREADS;
10111 } Py_INCREF(Py_None);
10112 _resultobj = Py_None;
10113 return _resultobj;
10114 }
10115
10116 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10117 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10118 PyObject * _resultobj;
10119 wxGrid * _arg0;
10120 int _arg1;
10121 int _arg2;
10122 PyObject * _argo0 = 0;
10123 char *_kwnames[] = { "self","col","width", NULL };
10124
10125 self = self;
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10127 return NULL;
10128 if (_argo0) {
10129 if (_argo0 == Py_None) { _arg0 = NULL; }
10130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10132 return NULL;
10133 }
10134 }
10135 {
10136 wxPy_BEGIN_ALLOW_THREADS;
10137 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10138
10139 wxPy_END_ALLOW_THREADS;
10140 } Py_INCREF(Py_None);
10141 _resultobj = Py_None;
10142 return _resultobj;
10143 }
10144
10145 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10146 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10147 PyObject * _resultobj;
10148 wxGrid * _arg0;
10149 int _arg1;
10150 int _arg2;
10151 PyObject * _argo0 = 0;
10152 char *_kwnames[] = { "self","row","width", NULL };
10153
10154 self = self;
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10156 return NULL;
10157 if (_argo0) {
10158 if (_argo0 == Py_None) { _arg0 = NULL; }
10159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10161 return NULL;
10162 }
10163 }
10164 {
10165 wxPy_BEGIN_ALLOW_THREADS;
10166 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10167
10168 wxPy_END_ALLOW_THREADS;
10169 } Py_INCREF(Py_None);
10170 _resultobj = Py_None;
10171 return _resultobj;
10172 }
10173
10174 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10175 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10176 PyObject * _resultobj;
10177 wxGrid * _arg0;
10178 wxColour * _arg1;
10179 PyObject * _argo0 = 0;
10180 wxColour temp;
10181 PyObject * _obj1 = 0;
10182 char *_kwnames[] = { "self","arg2", NULL };
10183
10184 self = self;
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10186 return NULL;
10187 if (_argo0) {
10188 if (_argo0 == Py_None) { _arg0 = NULL; }
10189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10191 return NULL;
10192 }
10193 }
10194 {
10195 _arg1 = &temp;
10196 if (! wxColour_helper(_obj1, &_arg1))
10197 return NULL;
10198 }
10199 {
10200 wxPy_BEGIN_ALLOW_THREADS;
10201 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10202
10203 wxPy_END_ALLOW_THREADS;
10204 } Py_INCREF(Py_None);
10205 _resultobj = Py_None;
10206 return _resultobj;
10207 }
10208
10209 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10210 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10211 PyObject * _resultobj;
10212 wxGrid * _arg0;
10213 int _arg1;
10214 int _arg2;
10215 wxColour * _arg3;
10216 PyObject * _argo0 = 0;
10217 wxColour temp;
10218 PyObject * _obj3 = 0;
10219 char *_kwnames[] = { "self","row","col","arg4", NULL };
10220
10221 self = self;
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10223 return NULL;
10224 if (_argo0) {
10225 if (_argo0 == Py_None) { _arg0 = NULL; }
10226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10228 return NULL;
10229 }
10230 }
10231 {
10232 _arg3 = &temp;
10233 if (! wxColour_helper(_obj3, &_arg3))
10234 return NULL;
10235 }
10236 {
10237 wxPy_BEGIN_ALLOW_THREADS;
10238 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
10239
10240 wxPy_END_ALLOW_THREADS;
10241 } Py_INCREF(Py_None);
10242 _resultobj = Py_None;
10243 return _resultobj;
10244 }
10245
10246 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10247 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10248 PyObject * _resultobj;
10249 wxGrid * _arg0;
10250 wxColour * _arg1;
10251 PyObject * _argo0 = 0;
10252 wxColour temp;
10253 PyObject * _obj1 = 0;
10254 char *_kwnames[] = { "self","arg2", NULL };
10255
10256 self = self;
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
10258 return NULL;
10259 if (_argo0) {
10260 if (_argo0 == Py_None) { _arg0 = NULL; }
10261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10263 return NULL;
10264 }
10265 }
10266 {
10267 _arg1 = &temp;
10268 if (! wxColour_helper(_obj1, &_arg1))
10269 return NULL;
10270 }
10271 {
10272 wxPy_BEGIN_ALLOW_THREADS;
10273 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
10274
10275 wxPy_END_ALLOW_THREADS;
10276 } Py_INCREF(Py_None);
10277 _resultobj = Py_None;
10278 return _resultobj;
10279 }
10280
10281 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10282 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10283 PyObject * _resultobj;
10284 wxGrid * _arg0;
10285 int _arg1;
10286 int _arg2;
10287 wxColour * _arg3;
10288 PyObject * _argo0 = 0;
10289 wxColour temp;
10290 PyObject * _obj3 = 0;
10291 char *_kwnames[] = { "self","row","col","arg4", NULL };
10292
10293 self = self;
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10295 return NULL;
10296 if (_argo0) {
10297 if (_argo0 == Py_None) { _arg0 = NULL; }
10298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10300 return NULL;
10301 }
10302 }
10303 {
10304 _arg3 = &temp;
10305 if (! wxColour_helper(_obj3, &_arg3))
10306 return NULL;
10307 }
10308 {
10309 wxPy_BEGIN_ALLOW_THREADS;
10310 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
10311
10312 wxPy_END_ALLOW_THREADS;
10313 } Py_INCREF(Py_None);
10314 _resultobj = Py_None;
10315 return _resultobj;
10316 }
10317
10318 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10319 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10320 PyObject * _resultobj;
10321 wxGrid * _arg0;
10322 wxFont * _arg1;
10323 PyObject * _argo0 = 0;
10324 PyObject * _argo1 = 0;
10325 char *_kwnames[] = { "self","arg2", NULL };
10326
10327 self = self;
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
10329 return NULL;
10330 if (_argo0) {
10331 if (_argo0 == Py_None) { _arg0 = NULL; }
10332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10334 return NULL;
10335 }
10336 }
10337 if (_argo1) {
10338 if (_argo1 == Py_None) { _arg1 = NULL; }
10339 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
10340 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10341 return NULL;
10342 }
10343 }
10344 {
10345 wxPy_BEGIN_ALLOW_THREADS;
10346 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
10347
10348 wxPy_END_ALLOW_THREADS;
10349 } Py_INCREF(Py_None);
10350 _resultobj = Py_None;
10351 return _resultobj;
10352 }
10353
10354 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10355 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10356 PyObject * _resultobj;
10357 wxGrid * _arg0;
10358 int _arg1;
10359 int _arg2;
10360 wxFont * _arg3;
10361 PyObject * _argo0 = 0;
10362 PyObject * _argo3 = 0;
10363 char *_kwnames[] = { "self","row","col","arg4", NULL };
10364
10365 self = self;
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10367 return NULL;
10368 if (_argo0) {
10369 if (_argo0 == Py_None) { _arg0 = NULL; }
10370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10372 return NULL;
10373 }
10374 }
10375 if (_argo3) {
10376 if (_argo3 == Py_None) { _arg3 = NULL; }
10377 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
10378 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10379 return NULL;
10380 }
10381 }
10382 {
10383 wxPy_BEGIN_ALLOW_THREADS;
10384 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
10385
10386 wxPy_END_ALLOW_THREADS;
10387 } Py_INCREF(Py_None);
10388 _resultobj = Py_None;
10389 return _resultobj;
10390 }
10391
10392 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10393 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10394 PyObject * _resultobj;
10395 wxGrid * _arg0;
10396 int _arg1;
10397 int _arg2;
10398 PyObject * _argo0 = 0;
10399 char *_kwnames[] = { "self","horiz","vert", NULL };
10400
10401 self = self;
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10403 return NULL;
10404 if (_argo0) {
10405 if (_argo0 == Py_None) { _arg0 = NULL; }
10406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10408 return NULL;
10409 }
10410 }
10411 {
10412 wxPy_BEGIN_ALLOW_THREADS;
10413 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
10414
10415 wxPy_END_ALLOW_THREADS;
10416 } Py_INCREF(Py_None);
10417 _resultobj = Py_None;
10418 return _resultobj;
10419 }
10420
10421 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10422 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10423 PyObject * _resultobj;
10424 wxGrid * _arg0;
10425 int _arg1;
10426 int _arg2;
10427 int _arg3;
10428 int _arg4;
10429 PyObject * _argo0 = 0;
10430 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10431
10432 self = self;
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10434 return NULL;
10435 if (_argo0) {
10436 if (_argo0 == Py_None) { _arg0 = NULL; }
10437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10439 return NULL;
10440 }
10441 }
10442 {
10443 wxPy_BEGIN_ALLOW_THREADS;
10444 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10445
10446 wxPy_END_ALLOW_THREADS;
10447 } Py_INCREF(Py_None);
10448 _resultobj = Py_None;
10449 return _resultobj;
10450 }
10451
10452 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10453 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10454 PyObject * _resultobj;
10455 wxGrid * _arg0;
10456 wxGridCellRenderer * _arg1;
10457 PyObject * _argo0 = 0;
10458 PyObject * _argo1 = 0;
10459 char *_kwnames[] = { "self","renderer", NULL };
10460
10461 self = self;
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
10463 return NULL;
10464 if (_argo0) {
10465 if (_argo0 == Py_None) { _arg0 = NULL; }
10466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10468 return NULL;
10469 }
10470 }
10471 if (_argo1) {
10472 if (_argo1 == Py_None) { _arg1 = NULL; }
10473 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
10474 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10475 return NULL;
10476 }
10477 }
10478 {
10479 wxPy_BEGIN_ALLOW_THREADS;
10480 wxGrid_SetDefaultRenderer(_arg0,_arg1);
10481
10482 wxPy_END_ALLOW_THREADS;
10483 } Py_INCREF(Py_None);
10484 _resultobj = Py_None;
10485 return _resultobj;
10486 }
10487
10488 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10489 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject * _resultobj;
10491 wxGrid * _arg0;
10492 int _arg1;
10493 int _arg2;
10494 wxGridCellRenderer * _arg3;
10495 PyObject * _argo0 = 0;
10496 PyObject * _argo3 = 0;
10497 char *_kwnames[] = { "self","row","col","renderer", NULL };
10498
10499 self = self;
10500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10501 return NULL;
10502 if (_argo0) {
10503 if (_argo0 == Py_None) { _arg0 = NULL; }
10504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10506 return NULL;
10507 }
10508 }
10509 if (_argo3) {
10510 if (_argo3 == Py_None) { _arg3 = NULL; }
10511 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
10512 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10513 return NULL;
10514 }
10515 }
10516 {
10517 wxPy_BEGIN_ALLOW_THREADS;
10518 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
10519
10520 wxPy_END_ALLOW_THREADS;
10521 } Py_INCREF(Py_None);
10522 _resultobj = Py_None;
10523 return _resultobj;
10524 }
10525
10526 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10527 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10528 PyObject * _resultobj;
10529 wxGridCellRenderer * _result;
10530 wxGrid * _arg0;
10531 PyObject * _argo0 = 0;
10532 char *_kwnames[] = { "self", NULL };
10533 char _ptemp[128];
10534
10535 self = self;
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
10537 return NULL;
10538 if (_argo0) {
10539 if (_argo0 == Py_None) { _arg0 = NULL; }
10540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10542 return NULL;
10543 }
10544 }
10545 {
10546 wxPy_BEGIN_ALLOW_THREADS;
10547 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
10548
10549 wxPy_END_ALLOW_THREADS;
10550 } if (_result) {
10551 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10552 _resultobj = Py_BuildValue("s",_ptemp);
10553 } else {
10554 Py_INCREF(Py_None);
10555 _resultobj = Py_None;
10556 }
10557 return _resultobj;
10558 }
10559
10560 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
10561 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10562 PyObject * _resultobj;
10563 wxGridCellRenderer * _result;
10564 wxGrid * _arg0;
10565 int _arg1;
10566 int _arg2;
10567 PyObject * _argo0 = 0;
10568 char *_kwnames[] = { "self","row","col", NULL };
10569 char _ptemp[128];
10570
10571 self = self;
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
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_GetCellRenderer. Expected _wxGrid_p.");
10578 return NULL;
10579 }
10580 }
10581 {
10582 wxPy_BEGIN_ALLOW_THREADS;
10583 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
10584
10585 wxPy_END_ALLOW_THREADS;
10586 } if (_result) {
10587 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10588 _resultobj = Py_BuildValue("s",_ptemp);
10589 } else {
10590 Py_INCREF(Py_None);
10591 _resultobj = Py_None;
10592 }
10593 return _resultobj;
10594 }
10595
10596 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
10597 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10598 PyObject * _resultobj;
10599 wxGrid * _arg0;
10600 wxGridCellEditor * _arg1;
10601 PyObject * _argo0 = 0;
10602 PyObject * _argo1 = 0;
10603 char *_kwnames[] = { "self","editor", NULL };
10604
10605 self = self;
10606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
10607 return NULL;
10608 if (_argo0) {
10609 if (_argo0 == Py_None) { _arg0 = NULL; }
10610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
10612 return NULL;
10613 }
10614 }
10615 if (_argo1) {
10616 if (_argo1 == Py_None) { _arg1 = NULL; }
10617 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
10618 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
10619 return NULL;
10620 }
10621 }
10622 {
10623 wxPy_BEGIN_ALLOW_THREADS;
10624 wxGrid_SetDefaultEditor(_arg0,_arg1);
10625
10626 wxPy_END_ALLOW_THREADS;
10627 } Py_INCREF(Py_None);
10628 _resultobj = Py_None;
10629 return _resultobj;
10630 }
10631
10632 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
10633 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10634 PyObject * _resultobj;
10635 wxGrid * _arg0;
10636 int _arg1;
10637 int _arg2;
10638 wxGridCellEditor * _arg3;
10639 PyObject * _argo0 = 0;
10640 PyObject * _argo3 = 0;
10641 char *_kwnames[] = { "self","row","col","editor", NULL };
10642
10643 self = self;
10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10645 return NULL;
10646 if (_argo0) {
10647 if (_argo0 == Py_None) { _arg0 = NULL; }
10648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
10650 return NULL;
10651 }
10652 }
10653 if (_argo3) {
10654 if (_argo3 == Py_None) { _arg3 = NULL; }
10655 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
10656 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
10657 return NULL;
10658 }
10659 }
10660 {
10661 wxPy_BEGIN_ALLOW_THREADS;
10662 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
10663
10664 wxPy_END_ALLOW_THREADS;
10665 } Py_INCREF(Py_None);
10666 _resultobj = Py_None;
10667 return _resultobj;
10668 }
10669
10670 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
10671 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10672 PyObject * _resultobj;
10673 wxGridCellEditor * _result;
10674 wxGrid * _arg0;
10675 PyObject * _argo0 = 0;
10676 char *_kwnames[] = { "self", NULL };
10677 char _ptemp[128];
10678
10679 self = self;
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
10681 return NULL;
10682 if (_argo0) {
10683 if (_argo0 == Py_None) { _arg0 = NULL; }
10684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
10686 return NULL;
10687 }
10688 }
10689 {
10690 wxPy_BEGIN_ALLOW_THREADS;
10691 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
10692
10693 wxPy_END_ALLOW_THREADS;
10694 } if (_result) {
10695 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10696 _resultobj = Py_BuildValue("s",_ptemp);
10697 } else {
10698 Py_INCREF(Py_None);
10699 _resultobj = Py_None;
10700 }
10701 return _resultobj;
10702 }
10703
10704 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
10705 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10706 PyObject * _resultobj;
10707 wxGridCellEditor * _result;
10708 wxGrid * _arg0;
10709 int _arg1;
10710 int _arg2;
10711 PyObject * _argo0 = 0;
10712 char *_kwnames[] = { "self","row","col", NULL };
10713 char _ptemp[128];
10714
10715 self = self;
10716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
10717 return NULL;
10718 if (_argo0) {
10719 if (_argo0 == Py_None) { _arg0 = NULL; }
10720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
10722 return NULL;
10723 }
10724 }
10725 {
10726 wxPy_BEGIN_ALLOW_THREADS;
10727 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
10728
10729 wxPy_END_ALLOW_THREADS;
10730 } if (_result) {
10731 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10732 _resultobj = Py_BuildValue("s",_ptemp);
10733 } else {
10734 Py_INCREF(Py_None);
10735 _resultobj = Py_None;
10736 }
10737 return _resultobj;
10738 }
10739
10740 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
10741 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10742 PyObject * _resultobj;
10743 wxString * _result;
10744 wxGrid * _arg0;
10745 int _arg1;
10746 int _arg2;
10747 PyObject * _argo0 = 0;
10748 char *_kwnames[] = { "self","row","col", NULL };
10749
10750 self = self;
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
10752 return NULL;
10753 if (_argo0) {
10754 if (_argo0 == Py_None) { _arg0 = NULL; }
10755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
10757 return NULL;
10758 }
10759 }
10760 {
10761 wxPy_BEGIN_ALLOW_THREADS;
10762 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
10763
10764 wxPy_END_ALLOW_THREADS;
10765 }{
10766 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10767 }
10768 {
10769 delete _result;
10770 }
10771 return _resultobj;
10772 }
10773
10774 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
10775 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject * _resultobj;
10777 wxGrid * _arg0;
10778 int _arg1;
10779 int _arg2;
10780 wxString * _arg3;
10781 PyObject * _argo0 = 0;
10782 PyObject * _obj3 = 0;
10783 char *_kwnames[] = { "self","row","col","s", NULL };
10784
10785 self = self;
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10787 return NULL;
10788 if (_argo0) {
10789 if (_argo0 == Py_None) { _arg0 = NULL; }
10790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
10792 return NULL;
10793 }
10794 }
10795 {
10796 if (!PyString_Check(_obj3)) {
10797 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10798 return NULL;
10799 }
10800 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
10801 }
10802 {
10803 wxPy_BEGIN_ALLOW_THREADS;
10804 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
10805
10806 wxPy_END_ALLOW_THREADS;
10807 } Py_INCREF(Py_None);
10808 _resultobj = Py_None;
10809 {
10810 if (_obj3)
10811 delete _arg3;
10812 }
10813 return _resultobj;
10814 }
10815
10816 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
10817 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject * _resultobj;
10819 bool _result;
10820 wxGrid * _arg0;
10821 int _arg1;
10822 int _arg2;
10823 PyObject * _argo0 = 0;
10824 char *_kwnames[] = { "self","row","col", NULL };
10825
10826 self = self;
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
10828 return NULL;
10829 if (_argo0) {
10830 if (_argo0 == Py_None) { _arg0 = NULL; }
10831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
10833 return NULL;
10834 }
10835 }
10836 {
10837 wxPy_BEGIN_ALLOW_THREADS;
10838 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
10839
10840 wxPy_END_ALLOW_THREADS;
10841 } _resultobj = Py_BuildValue("i",_result);
10842 return _resultobj;
10843 }
10844
10845 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
10846 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
10847 PyObject * _resultobj;
10848 wxGrid * _arg0;
10849 int _arg1;
10850 int _arg2;
10851 bool _arg3 = (bool ) TRUE;
10852 PyObject * _argo0 = 0;
10853 int tempbool3 = (int) TRUE;
10854 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
10855
10856 self = self;
10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
10858 return NULL;
10859 if (_argo0) {
10860 if (_argo0 == Py_None) { _arg0 = NULL; }
10861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
10863 return NULL;
10864 }
10865 }
10866 _arg3 = (bool ) tempbool3;
10867 {
10868 wxPy_BEGIN_ALLOW_THREADS;
10869 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
10870
10871 wxPy_END_ALLOW_THREADS;
10872 } Py_INCREF(Py_None);
10873 _resultobj = Py_None;
10874 return _resultobj;
10875 }
10876
10877 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
10878 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10879 PyObject * _resultobj;
10880 wxGrid * _arg0;
10881 int _arg1;
10882 bool _arg2 = (bool ) FALSE;
10883 PyObject * _argo0 = 0;
10884 int tempbool2 = (int) FALSE;
10885 char *_kwnames[] = { "self","row","addToSelected", NULL };
10886
10887 self = self;
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10889 return NULL;
10890 if (_argo0) {
10891 if (_argo0 == Py_None) { _arg0 = NULL; }
10892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
10894 return NULL;
10895 }
10896 }
10897 _arg2 = (bool ) tempbool2;
10898 {
10899 wxPy_BEGIN_ALLOW_THREADS;
10900 wxGrid_SelectRow(_arg0,_arg1,_arg2);
10901
10902 wxPy_END_ALLOW_THREADS;
10903 } Py_INCREF(Py_None);
10904 _resultobj = Py_None;
10905 return _resultobj;
10906 }
10907
10908 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
10909 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
10910 PyObject * _resultobj;
10911 wxGrid * _arg0;
10912 int _arg1;
10913 bool _arg2 = (bool ) FALSE;
10914 PyObject * _argo0 = 0;
10915 int tempbool2 = (int) FALSE;
10916 char *_kwnames[] = { "self","col","addToSelected", NULL };
10917
10918 self = self;
10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
10920 return NULL;
10921 if (_argo0) {
10922 if (_argo0 == Py_None) { _arg0 = NULL; }
10923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
10925 return NULL;
10926 }
10927 }
10928 _arg2 = (bool ) tempbool2;
10929 {
10930 wxPy_BEGIN_ALLOW_THREADS;
10931 wxGrid_SelectCol(_arg0,_arg1,_arg2);
10932
10933 wxPy_END_ALLOW_THREADS;
10934 } Py_INCREF(Py_None);
10935 _resultobj = Py_None;
10936 return _resultobj;
10937 }
10938
10939 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10940 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
10941 PyObject * _resultobj;
10942 wxGrid * _arg0;
10943 int _arg1;
10944 int _arg2;
10945 int _arg3;
10946 int _arg4;
10947 bool _arg5 = (bool ) FALSE;
10948 PyObject * _argo0 = 0;
10949 int tempbool5 = (int) FALSE;
10950 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
10951
10952 self = self;
10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
10954 return NULL;
10955 if (_argo0) {
10956 if (_argo0 == Py_None) { _arg0 = NULL; }
10957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
10959 return NULL;
10960 }
10961 }
10962 _arg5 = (bool ) tempbool5;
10963 {
10964 wxPy_BEGIN_ALLOW_THREADS;
10965 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10966
10967 wxPy_END_ALLOW_THREADS;
10968 } Py_INCREF(Py_None);
10969 _resultobj = Py_None;
10970 return _resultobj;
10971 }
10972
10973 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
10974 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10975 PyObject * _resultobj;
10976 wxGrid * _arg0;
10977 PyObject * _argo0 = 0;
10978 char *_kwnames[] = { "self", NULL };
10979
10980 self = self;
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
10982 return NULL;
10983 if (_argo0) {
10984 if (_argo0 == Py_None) { _arg0 = NULL; }
10985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
10987 return NULL;
10988 }
10989 }
10990 {
10991 wxPy_BEGIN_ALLOW_THREADS;
10992 wxGrid_SelectAll(_arg0);
10993
10994 wxPy_END_ALLOW_THREADS;
10995 } Py_INCREF(Py_None);
10996 _resultobj = Py_None;
10997 return _resultobj;
10998 }
10999
11000 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11001 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11002 PyObject * _resultobj;
11003 bool _result;
11004 wxGrid * _arg0;
11005 PyObject * _argo0 = 0;
11006 char *_kwnames[] = { "self", NULL };
11007
11008 self = self;
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11010 return NULL;
11011 if (_argo0) {
11012 if (_argo0 == Py_None) { _arg0 = NULL; }
11013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11015 return NULL;
11016 }
11017 }
11018 {
11019 wxPy_BEGIN_ALLOW_THREADS;
11020 _result = (bool )wxGrid_IsSelection(_arg0);
11021
11022 wxPy_END_ALLOW_THREADS;
11023 } _resultobj = Py_BuildValue("i",_result);
11024 return _resultobj;
11025 }
11026
11027 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11028 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11029 PyObject * _resultobj;
11030 wxGrid * _arg0;
11031 PyObject * _argo0 = 0;
11032 char *_kwnames[] = { "self", NULL };
11033
11034 self = self;
11035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11036 return NULL;
11037 if (_argo0) {
11038 if (_argo0 == Py_None) { _arg0 = NULL; }
11039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11041 return NULL;
11042 }
11043 }
11044 {
11045 wxPy_BEGIN_ALLOW_THREADS;
11046 wxGrid_ClearSelection(_arg0);
11047
11048 wxPy_END_ALLOW_THREADS;
11049 } Py_INCREF(Py_None);
11050 _resultobj = Py_None;
11051 return _resultobj;
11052 }
11053
11054 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11055 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11056 PyObject * _resultobj;
11057 bool _result;
11058 wxGrid * _arg0;
11059 int _arg1;
11060 int _arg2;
11061 PyObject * _argo0 = 0;
11062 char *_kwnames[] = { "self","row","col", NULL };
11063
11064 self = self;
11065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11066 return NULL;
11067 if (_argo0) {
11068 if (_argo0 == Py_None) { _arg0 = NULL; }
11069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11071 return NULL;
11072 }
11073 }
11074 {
11075 wxPy_BEGIN_ALLOW_THREADS;
11076 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11077
11078 wxPy_END_ALLOW_THREADS;
11079 } _resultobj = Py_BuildValue("i",_result);
11080 return _resultobj;
11081 }
11082
11083 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11084 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject * _resultobj;
11086 wxRect * _result;
11087 wxGrid * _arg0;
11088 wxGridCellCoords * _arg1;
11089 wxGridCellCoords * _arg2;
11090 PyObject * _argo0 = 0;
11091 wxGridCellCoords temp;
11092 PyObject * _obj1 = 0;
11093 wxGridCellCoords temp0;
11094 PyObject * _obj2 = 0;
11095 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11096 char _ptemp[128];
11097
11098 self = self;
11099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11100 return NULL;
11101 if (_argo0) {
11102 if (_argo0 == Py_None) { _arg0 = NULL; }
11103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11105 return NULL;
11106 }
11107 }
11108 {
11109 _arg1 = &temp;
11110 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11111 return NULL;
11112 }
11113 {
11114 _arg2 = &temp0;
11115 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11116 return NULL;
11117 }
11118 {
11119 wxPy_BEGIN_ALLOW_THREADS;
11120 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11121
11122 wxPy_END_ALLOW_THREADS;
11123 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11124 _resultobj = Py_BuildValue("s",_ptemp);
11125 return _resultobj;
11126 }
11127
11128 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11129 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11130 PyObject * _resultobj;
11131 wxColour * _result;
11132 wxGrid * _arg0;
11133 PyObject * _argo0 = 0;
11134 char *_kwnames[] = { "self", NULL };
11135 char _ptemp[128];
11136
11137 self = self;
11138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11139 return NULL;
11140 if (_argo0) {
11141 if (_argo0 == Py_None) { _arg0 = NULL; }
11142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11144 return NULL;
11145 }
11146 }
11147 {
11148 wxPy_BEGIN_ALLOW_THREADS;
11149 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11150
11151 wxPy_END_ALLOW_THREADS;
11152 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11153 _resultobj = Py_BuildValue("s",_ptemp);
11154 return _resultobj;
11155 }
11156
11157 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11158 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject * _resultobj;
11160 wxColour * _result;
11161 wxGrid * _arg0;
11162 PyObject * _argo0 = 0;
11163 char *_kwnames[] = { "self", NULL };
11164 char _ptemp[128];
11165
11166 self = self;
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11168 return NULL;
11169 if (_argo0) {
11170 if (_argo0 == Py_None) { _arg0 = NULL; }
11171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11173 return NULL;
11174 }
11175 }
11176 {
11177 wxPy_BEGIN_ALLOW_THREADS;
11178 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
11179
11180 wxPy_END_ALLOW_THREADS;
11181 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11182 _resultobj = Py_BuildValue("s",_ptemp);
11183 return _resultobj;
11184 }
11185
11186 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11187 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11188 PyObject * _resultobj;
11189 wxGrid * _arg0;
11190 wxColour * _arg1;
11191 PyObject * _argo0 = 0;
11192 wxColour temp;
11193 PyObject * _obj1 = 0;
11194 char *_kwnames[] = { "self","c", NULL };
11195
11196 self = self;
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
11198 return NULL;
11199 if (_argo0) {
11200 if (_argo0 == Py_None) { _arg0 = NULL; }
11201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11203 return NULL;
11204 }
11205 }
11206 {
11207 _arg1 = &temp;
11208 if (! wxColour_helper(_obj1, &_arg1))
11209 return NULL;
11210 }
11211 {
11212 wxPy_BEGIN_ALLOW_THREADS;
11213 wxGrid_SetSelectionBackground(_arg0,*_arg1);
11214
11215 wxPy_END_ALLOW_THREADS;
11216 } Py_INCREF(Py_None);
11217 _resultobj = Py_None;
11218 return _resultobj;
11219 }
11220
11221 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11222 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11223 PyObject * _resultobj;
11224 wxGrid * _arg0;
11225 wxColour * _arg1;
11226 PyObject * _argo0 = 0;
11227 wxColour temp;
11228 PyObject * _obj1 = 0;
11229 char *_kwnames[] = { "self","c", NULL };
11230
11231 self = self;
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
11233 return NULL;
11234 if (_argo0) {
11235 if (_argo0 == Py_None) { _arg0 = NULL; }
11236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11238 return NULL;
11239 }
11240 }
11241 {
11242 _arg1 = &temp;
11243 if (! wxColour_helper(_obj1, &_arg1))
11244 return NULL;
11245 }
11246 {
11247 wxPy_BEGIN_ALLOW_THREADS;
11248 wxGrid_SetSelectionForeground(_arg0,*_arg1);
11249
11250 wxPy_END_ALLOW_THREADS;
11251 } Py_INCREF(Py_None);
11252 _resultobj = Py_None;
11253 return _resultobj;
11254 }
11255
11256 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11257 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
11258 PyObject * _resultobj;
11259 wxGrid * _arg0;
11260 wxString * _arg1;
11261 wxGridCellRenderer * _arg2;
11262 wxGridCellEditor * _arg3;
11263 PyObject * _argo0 = 0;
11264 PyObject * _obj1 = 0;
11265 PyObject * _argo2 = 0;
11266 PyObject * _argo3 = 0;
11267 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
11268
11269 self = self;
11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
11271 return NULL;
11272 if (_argo0) {
11273 if (_argo0 == Py_None) { _arg0 = NULL; }
11274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
11276 return NULL;
11277 }
11278 }
11279 {
11280 if (!PyString_Check(_obj1)) {
11281 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11282 return NULL;
11283 }
11284 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
11285 }
11286 if (_argo2) {
11287 if (_argo2 == Py_None) { _arg2 = NULL; }
11288 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
11289 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11290 return NULL;
11291 }
11292 }
11293 if (_argo3) {
11294 if (_argo3 == Py_None) { _arg3 = NULL; }
11295 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11296 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11297 return NULL;
11298 }
11299 }
11300 {
11301 wxPy_BEGIN_ALLOW_THREADS;
11302 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
11303
11304 wxPy_END_ALLOW_THREADS;
11305 } Py_INCREF(Py_None);
11306 _resultobj = Py_None;
11307 {
11308 if (_obj1)
11309 delete _arg1;
11310 }
11311 return _resultobj;
11312 }
11313
11314 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11315 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11316 PyObject * _resultobj;
11317 wxGridCellEditor * _result;
11318 wxGrid * _arg0;
11319 int _arg1;
11320 int _arg2;
11321 PyObject * _argo0 = 0;
11322 char *_kwnames[] = { "self","row","col", NULL };
11323 char _ptemp[128];
11324
11325 self = self;
11326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11327 return NULL;
11328 if (_argo0) {
11329 if (_argo0 == Py_None) { _arg0 = NULL; }
11330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11332 return NULL;
11333 }
11334 }
11335 {
11336 wxPy_BEGIN_ALLOW_THREADS;
11337 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
11338
11339 wxPy_END_ALLOW_THREADS;
11340 } if (_result) {
11341 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11342 _resultobj = Py_BuildValue("s",_ptemp);
11343 } else {
11344 Py_INCREF(Py_None);
11345 _resultobj = Py_None;
11346 }
11347 return _resultobj;
11348 }
11349
11350 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11351 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11352 PyObject * _resultobj;
11353 wxGridCellRenderer * _result;
11354 wxGrid * _arg0;
11355 int _arg1;
11356 int _arg2;
11357 PyObject * _argo0 = 0;
11358 char *_kwnames[] = { "self","row","col", NULL };
11359 char _ptemp[128];
11360
11361 self = self;
11362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11363 return NULL;
11364 if (_argo0) {
11365 if (_argo0 == Py_None) { _arg0 = NULL; }
11366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11368 return NULL;
11369 }
11370 }
11371 {
11372 wxPy_BEGIN_ALLOW_THREADS;
11373 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
11374
11375 wxPy_END_ALLOW_THREADS;
11376 } if (_result) {
11377 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11378 _resultobj = Py_BuildValue("s",_ptemp);
11379 } else {
11380 Py_INCREF(Py_None);
11381 _resultobj = Py_None;
11382 }
11383 return _resultobj;
11384 }
11385
11386 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11387 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11388 PyObject * _resultobj;
11389 wxGridCellEditor * _result;
11390 wxGrid * _arg0;
11391 wxString * _arg1;
11392 PyObject * _argo0 = 0;
11393 PyObject * _obj1 = 0;
11394 char *_kwnames[] = { "self","typeName", NULL };
11395 char _ptemp[128];
11396
11397 self = self;
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
11399 return NULL;
11400 if (_argo0) {
11401 if (_argo0 == Py_None) { _arg0 = NULL; }
11402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
11404 return NULL;
11405 }
11406 }
11407 {
11408 if (!PyString_Check(_obj1)) {
11409 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11410 return NULL;
11411 }
11412 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
11413 }
11414 {
11415 wxPy_BEGIN_ALLOW_THREADS;
11416 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
11417
11418 wxPy_END_ALLOW_THREADS;
11419 } if (_result) {
11420 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11421 _resultobj = Py_BuildValue("s",_ptemp);
11422 } else {
11423 Py_INCREF(Py_None);
11424 _resultobj = Py_None;
11425 }
11426 {
11427 if (_obj1)
11428 delete _arg1;
11429 }
11430 return _resultobj;
11431 }
11432
11433 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11434 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11435 PyObject * _resultobj;
11436 wxGridCellRenderer * _result;
11437 wxGrid * _arg0;
11438 wxString * _arg1;
11439 PyObject * _argo0 = 0;
11440 PyObject * _obj1 = 0;
11441 char *_kwnames[] = { "self","typeName", NULL };
11442 char _ptemp[128];
11443
11444 self = self;
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
11446 return NULL;
11447 if (_argo0) {
11448 if (_argo0 == Py_None) { _arg0 = NULL; }
11449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11451 return NULL;
11452 }
11453 }
11454 {
11455 if (!PyString_Check(_obj1)) {
11456 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11457 return NULL;
11458 }
11459 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
11460 }
11461 {
11462 wxPy_BEGIN_ALLOW_THREADS;
11463 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
11464
11465 wxPy_END_ALLOW_THREADS;
11466 } if (_result) {
11467 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11468 _resultobj = Py_BuildValue("s",_ptemp);
11469 } else {
11470 Py_INCREF(Py_None);
11471 _resultobj = Py_None;
11472 }
11473 {
11474 if (_obj1)
11475 delete _arg1;
11476 }
11477 return _resultobj;
11478 }
11479
11480 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11481 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject * _resultobj;
11483 wxGrid * _arg0;
11484 int _arg1;
11485 int _arg2;
11486 PyObject * _argo0 = 0;
11487 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
11488
11489 self = self;
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
11491 return NULL;
11492 if (_argo0) {
11493 if (_argo0 == Py_None) { _arg0 = NULL; }
11494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11496 return NULL;
11497 }
11498 }
11499 {
11500 wxPy_BEGIN_ALLOW_THREADS;
11501 wxGrid_SetMargins(_arg0,_arg1,_arg2);
11502
11503 wxPy_END_ALLOW_THREADS;
11504 } Py_INCREF(Py_None);
11505 _resultobj = Py_None;
11506 return _resultobj;
11507 }
11508
11509 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
11510 wxGridEvent *src;
11511 wxNotifyEvent *dest;
11512 src = (wxGridEvent *) ptr;
11513 dest = (wxNotifyEvent *) src;
11514 return (void *) dest;
11515 }
11516
11517 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
11518 wxGridEvent *src;
11519 wxCommandEvent *dest;
11520 src = (wxGridEvent *) ptr;
11521 dest = (wxCommandEvent *) src;
11522 return (void *) dest;
11523 }
11524
11525 static void *SwigwxGridEventTowxEvent(void *ptr) {
11526 wxGridEvent *src;
11527 wxEvent *dest;
11528 src = (wxGridEvent *) ptr;
11529 dest = (wxEvent *) src;
11530 return (void *) dest;
11531 }
11532
11533 #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))
11534 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11535 PyObject * _resultobj;
11536 wxGridEvent * _result;
11537 int _arg0;
11538 wxEventType _arg1;
11539 wxGrid * _arg2;
11540 int _arg3 = (int ) -1;
11541 int _arg4 = (int ) -1;
11542 int _arg5 = (int ) -1;
11543 int _arg6 = (int ) -1;
11544 bool _arg7 = (bool ) TRUE;
11545 bool _arg8 = (bool ) FALSE;
11546 bool _arg9 = (bool ) FALSE;
11547 bool _arg10 = (bool ) FALSE;
11548 bool _arg11 = (bool ) FALSE;
11549 PyObject * _argo2 = 0;
11550 int tempbool7 = (int) TRUE;
11551 int tempbool8 = (int) FALSE;
11552 int tempbool9 = (int) FALSE;
11553 int tempbool10 = (int) FALSE;
11554 int tempbool11 = (int) FALSE;
11555 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
11556 char _ptemp[128];
11557
11558 self = self;
11559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
11560 return NULL;
11561 if (_argo2) {
11562 if (_argo2 == Py_None) { _arg2 = NULL; }
11563 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
11564 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
11565 return NULL;
11566 }
11567 }
11568 _arg7 = (bool ) tempbool7;
11569 _arg8 = (bool ) tempbool8;
11570 _arg9 = (bool ) tempbool9;
11571 _arg10 = (bool ) tempbool10;
11572 _arg11 = (bool ) tempbool11;
11573 {
11574 wxPy_BEGIN_ALLOW_THREADS;
11575 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
11576
11577 wxPy_END_ALLOW_THREADS;
11578 } if (_result) {
11579 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
11580 _resultobj = Py_BuildValue("s",_ptemp);
11581 } else {
11582 Py_INCREF(Py_None);
11583 _resultobj = Py_None;
11584 }
11585 return _resultobj;
11586 }
11587
11588 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
11589 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11590 PyObject * _resultobj;
11591 int _result;
11592 wxGridEvent * _arg0;
11593 PyObject * _argo0 = 0;
11594 char *_kwnames[] = { "self", NULL };
11595
11596 self = self;
11597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
11598 return NULL;
11599 if (_argo0) {
11600 if (_argo0 == Py_None) { _arg0 = NULL; }
11601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
11603 return NULL;
11604 }
11605 }
11606 {
11607 wxPy_BEGIN_ALLOW_THREADS;
11608 _result = (int )wxGridEvent_GetRow(_arg0);
11609
11610 wxPy_END_ALLOW_THREADS;
11611 } _resultobj = Py_BuildValue("i",_result);
11612 return _resultobj;
11613 }
11614
11615 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
11616 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11617 PyObject * _resultobj;
11618 int _result;
11619 wxGridEvent * _arg0;
11620 PyObject * _argo0 = 0;
11621 char *_kwnames[] = { "self", NULL };
11622
11623 self = self;
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
11625 return NULL;
11626 if (_argo0) {
11627 if (_argo0 == Py_None) { _arg0 = NULL; }
11628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
11630 return NULL;
11631 }
11632 }
11633 {
11634 wxPy_BEGIN_ALLOW_THREADS;
11635 _result = (int )wxGridEvent_GetCol(_arg0);
11636
11637 wxPy_END_ALLOW_THREADS;
11638 } _resultobj = Py_BuildValue("i",_result);
11639 return _resultobj;
11640 }
11641
11642 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11643 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11644 PyObject * _resultobj;
11645 wxPoint * _result;
11646 wxGridEvent * _arg0;
11647 PyObject * _argo0 = 0;
11648 char *_kwnames[] = { "self", NULL };
11649 char _ptemp[128];
11650
11651 self = self;
11652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
11653 return NULL;
11654 if (_argo0) {
11655 if (_argo0 == Py_None) { _arg0 = NULL; }
11656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
11658 return NULL;
11659 }
11660 }
11661 {
11662 wxPy_BEGIN_ALLOW_THREADS;
11663 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
11664
11665 wxPy_END_ALLOW_THREADS;
11666 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
11667 _resultobj = Py_BuildValue("s",_ptemp);
11668 return _resultobj;
11669 }
11670
11671 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
11672 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
11673 PyObject * _resultobj;
11674 bool _result;
11675 wxGridEvent * _arg0;
11676 PyObject * _argo0 = 0;
11677 char *_kwnames[] = { "self", NULL };
11678
11679 self = self;
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
11681 return NULL;
11682 if (_argo0) {
11683 if (_argo0 == Py_None) { _arg0 = NULL; }
11684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
11686 return NULL;
11687 }
11688 }
11689 {
11690 wxPy_BEGIN_ALLOW_THREADS;
11691 _result = (bool )wxGridEvent_Selecting(_arg0);
11692
11693 wxPy_END_ALLOW_THREADS;
11694 } _resultobj = Py_BuildValue("i",_result);
11695 return _resultobj;
11696 }
11697
11698 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11699 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11700 PyObject * _resultobj;
11701 bool _result;
11702 wxGridEvent * _arg0;
11703 PyObject * _argo0 = 0;
11704 char *_kwnames[] = { "self", NULL };
11705
11706 self = self;
11707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
11708 return NULL;
11709 if (_argo0) {
11710 if (_argo0 == Py_None) { _arg0 = NULL; }
11711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
11713 return NULL;
11714 }
11715 }
11716 {
11717 wxPy_BEGIN_ALLOW_THREADS;
11718 _result = (bool )wxGridEvent_ControlDown(_arg0);
11719
11720 wxPy_END_ALLOW_THREADS;
11721 } _resultobj = Py_BuildValue("i",_result);
11722 return _resultobj;
11723 }
11724
11725 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
11726 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11727 PyObject * _resultobj;
11728 bool _result;
11729 wxGridEvent * _arg0;
11730 PyObject * _argo0 = 0;
11731 char *_kwnames[] = { "self", NULL };
11732
11733 self = self;
11734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
11735 return NULL;
11736 if (_argo0) {
11737 if (_argo0 == Py_None) { _arg0 = NULL; }
11738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
11740 return NULL;
11741 }
11742 }
11743 {
11744 wxPy_BEGIN_ALLOW_THREADS;
11745 _result = (bool )wxGridEvent_MetaDown(_arg0);
11746
11747 wxPy_END_ALLOW_THREADS;
11748 } _resultobj = Py_BuildValue("i",_result);
11749 return _resultobj;
11750 }
11751
11752 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
11753 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11754 PyObject * _resultobj;
11755 bool _result;
11756 wxGridEvent * _arg0;
11757 PyObject * _argo0 = 0;
11758 char *_kwnames[] = { "self", NULL };
11759
11760 self = self;
11761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
11762 return NULL;
11763 if (_argo0) {
11764 if (_argo0 == Py_None) { _arg0 = NULL; }
11765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
11767 return NULL;
11768 }
11769 }
11770 {
11771 wxPy_BEGIN_ALLOW_THREADS;
11772 _result = (bool )wxGridEvent_ShiftDown(_arg0);
11773
11774 wxPy_END_ALLOW_THREADS;
11775 } _resultobj = Py_BuildValue("i",_result);
11776 return _resultobj;
11777 }
11778
11779 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
11780 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11781 PyObject * _resultobj;
11782 bool _result;
11783 wxGridEvent * _arg0;
11784 PyObject * _argo0 = 0;
11785 char *_kwnames[] = { "self", NULL };
11786
11787 self = self;
11788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
11789 return NULL;
11790 if (_argo0) {
11791 if (_argo0 == Py_None) { _arg0 = NULL; }
11792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
11794 return NULL;
11795 }
11796 }
11797 {
11798 wxPy_BEGIN_ALLOW_THREADS;
11799 _result = (bool )wxGridEvent_AltDown(_arg0);
11800
11801 wxPy_END_ALLOW_THREADS;
11802 } _resultobj = Py_BuildValue("i",_result);
11803 return _resultobj;
11804 }
11805
11806 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
11807 wxGridSizeEvent *src;
11808 wxNotifyEvent *dest;
11809 src = (wxGridSizeEvent *) ptr;
11810 dest = (wxNotifyEvent *) src;
11811 return (void *) dest;
11812 }
11813
11814 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
11815 wxGridSizeEvent *src;
11816 wxCommandEvent *dest;
11817 src = (wxGridSizeEvent *) ptr;
11818 dest = (wxCommandEvent *) src;
11819 return (void *) dest;
11820 }
11821
11822 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
11823 wxGridSizeEvent *src;
11824 wxEvent *dest;
11825 src = (wxGridSizeEvent *) ptr;
11826 dest = (wxEvent *) src;
11827 return (void *) dest;
11828 }
11829
11830 #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))
11831 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11832 PyObject * _resultobj;
11833 wxGridSizeEvent * _result;
11834 int _arg0;
11835 wxEventType _arg1;
11836 wxGrid * _arg2;
11837 int _arg3 = (int ) -1;
11838 int _arg4 = (int ) -1;
11839 int _arg5 = (int ) -1;
11840 bool _arg6 = (bool ) FALSE;
11841 bool _arg7 = (bool ) FALSE;
11842 bool _arg8 = (bool ) FALSE;
11843 bool _arg9 = (bool ) FALSE;
11844 PyObject * _argo2 = 0;
11845 int tempbool6 = (int) FALSE;
11846 int tempbool7 = (int) FALSE;
11847 int tempbool8 = (int) FALSE;
11848 int tempbool9 = (int) FALSE;
11849 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
11850 char _ptemp[128];
11851
11852 self = self;
11853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
11854 return NULL;
11855 if (_argo2) {
11856 if (_argo2 == Py_None) { _arg2 = NULL; }
11857 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
11858 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
11859 return NULL;
11860 }
11861 }
11862 _arg6 = (bool ) tempbool6;
11863 _arg7 = (bool ) tempbool7;
11864 _arg8 = (bool ) tempbool8;
11865 _arg9 = (bool ) tempbool9;
11866 {
11867 wxPy_BEGIN_ALLOW_THREADS;
11868 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
11869
11870 wxPy_END_ALLOW_THREADS;
11871 } if (_result) {
11872 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
11873 _resultobj = Py_BuildValue("s",_ptemp);
11874 } else {
11875 Py_INCREF(Py_None);
11876 _resultobj = Py_None;
11877 }
11878 return _resultobj;
11879 }
11880
11881 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
11882 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11883 PyObject * _resultobj;
11884 int _result;
11885 wxGridSizeEvent * _arg0;
11886 PyObject * _argo0 = 0;
11887 char *_kwnames[] = { "self", NULL };
11888
11889 self = self;
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
11891 return NULL;
11892 if (_argo0) {
11893 if (_argo0 == Py_None) { _arg0 = NULL; }
11894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
11895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
11896 return NULL;
11897 }
11898 }
11899 {
11900 wxPy_BEGIN_ALLOW_THREADS;
11901 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
11902
11903 wxPy_END_ALLOW_THREADS;
11904 } _resultobj = Py_BuildValue("i",_result);
11905 return _resultobj;
11906 }
11907
11908 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11909 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11910 PyObject * _resultobj;
11911 wxPoint * _result;
11912 wxGridSizeEvent * _arg0;
11913 PyObject * _argo0 = 0;
11914 char *_kwnames[] = { "self", NULL };
11915 char _ptemp[128];
11916
11917 self = self;
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
11919 return NULL;
11920 if (_argo0) {
11921 if (_argo0 == Py_None) { _arg0 = NULL; }
11922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
11923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
11924 return NULL;
11925 }
11926 }
11927 {
11928 wxPy_BEGIN_ALLOW_THREADS;
11929 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
11930
11931 wxPy_END_ALLOW_THREADS;
11932 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
11933 _resultobj = Py_BuildValue("s",_ptemp);
11934 return _resultobj;
11935 }
11936
11937 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11938 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11939 PyObject * _resultobj;
11940 bool _result;
11941 wxGridSizeEvent * _arg0;
11942 PyObject * _argo0 = 0;
11943 char *_kwnames[] = { "self", NULL };
11944
11945 self = self;
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
11947 return NULL;
11948 if (_argo0) {
11949 if (_argo0 == Py_None) { _arg0 = NULL; }
11950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
11951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
11952 return NULL;
11953 }
11954 }
11955 {
11956 wxPy_BEGIN_ALLOW_THREADS;
11957 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
11958
11959 wxPy_END_ALLOW_THREADS;
11960 } _resultobj = Py_BuildValue("i",_result);
11961 return _resultobj;
11962 }
11963
11964 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
11965 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11966 PyObject * _resultobj;
11967 bool _result;
11968 wxGridSizeEvent * _arg0;
11969 PyObject * _argo0 = 0;
11970 char *_kwnames[] = { "self", NULL };
11971
11972 self = self;
11973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
11974 return NULL;
11975 if (_argo0) {
11976 if (_argo0 == Py_None) { _arg0 = NULL; }
11977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
11978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
11979 return NULL;
11980 }
11981 }
11982 {
11983 wxPy_BEGIN_ALLOW_THREADS;
11984 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
11985
11986 wxPy_END_ALLOW_THREADS;
11987 } _resultobj = Py_BuildValue("i",_result);
11988 return _resultobj;
11989 }
11990
11991 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
11992 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11993 PyObject * _resultobj;
11994 bool _result;
11995 wxGridSizeEvent * _arg0;
11996 PyObject * _argo0 = 0;
11997 char *_kwnames[] = { "self", NULL };
11998
11999 self = self;
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12001 return NULL;
12002 if (_argo0) {
12003 if (_argo0 == Py_None) { _arg0 = NULL; }
12004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12006 return NULL;
12007 }
12008 }
12009 {
12010 wxPy_BEGIN_ALLOW_THREADS;
12011 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12012
12013 wxPy_END_ALLOW_THREADS;
12014 } _resultobj = Py_BuildValue("i",_result);
12015 return _resultobj;
12016 }
12017
12018 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12019 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12020 PyObject * _resultobj;
12021 bool _result;
12022 wxGridSizeEvent * _arg0;
12023 PyObject * _argo0 = 0;
12024 char *_kwnames[] = { "self", NULL };
12025
12026 self = self;
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
12028 return NULL;
12029 if (_argo0) {
12030 if (_argo0 == Py_None) { _arg0 = NULL; }
12031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12033 return NULL;
12034 }
12035 }
12036 {
12037 wxPy_BEGIN_ALLOW_THREADS;
12038 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
12039
12040 wxPy_END_ALLOW_THREADS;
12041 } _resultobj = Py_BuildValue("i",_result);
12042 return _resultobj;
12043 }
12044
12045 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
12046 wxGridRangeSelectEvent *src;
12047 wxNotifyEvent *dest;
12048 src = (wxGridRangeSelectEvent *) ptr;
12049 dest = (wxNotifyEvent *) src;
12050 return (void *) dest;
12051 }
12052
12053 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
12054 wxGridRangeSelectEvent *src;
12055 wxCommandEvent *dest;
12056 src = (wxGridRangeSelectEvent *) ptr;
12057 dest = (wxCommandEvent *) src;
12058 return (void *) dest;
12059 }
12060
12061 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
12062 wxGridRangeSelectEvent *src;
12063 wxEvent *dest;
12064 src = (wxGridRangeSelectEvent *) ptr;
12065 dest = (wxEvent *) src;
12066 return (void *) dest;
12067 }
12068
12069 #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))
12070 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12071 PyObject * _resultobj;
12072 wxGridRangeSelectEvent * _result;
12073 int _arg0;
12074 wxEventType _arg1;
12075 wxGrid * _arg2;
12076 wxGridCellCoords * _arg3;
12077 wxGridCellCoords * _arg4;
12078 bool _arg5 = (bool ) TRUE;
12079 bool _arg6 = (bool ) FALSE;
12080 bool _arg7 = (bool ) FALSE;
12081 bool _arg8 = (bool ) FALSE;
12082 bool _arg9 = (bool ) FALSE;
12083 PyObject * _argo2 = 0;
12084 wxGridCellCoords temp;
12085 PyObject * _obj3 = 0;
12086 wxGridCellCoords temp0;
12087 PyObject * _obj4 = 0;
12088 int tempbool5 = (int) TRUE;
12089 int tempbool6 = (int) FALSE;
12090 int tempbool7 = (int) FALSE;
12091 int tempbool8 = (int) FALSE;
12092 int tempbool9 = (int) FALSE;
12093 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
12094 char _ptemp[128];
12095
12096 self = self;
12097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12098 return NULL;
12099 if (_argo2) {
12100 if (_argo2 == Py_None) { _arg2 = NULL; }
12101 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12102 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12103 return NULL;
12104 }
12105 }
12106 {
12107 _arg3 = &temp;
12108 if (! wxGridCellCoords_helper(_obj3, &_arg3))
12109 return NULL;
12110 }
12111 {
12112 _arg4 = &temp0;
12113 if (! wxGridCellCoords_helper(_obj4, &_arg4))
12114 return NULL;
12115 }
12116 _arg5 = (bool ) tempbool5;
12117 _arg6 = (bool ) tempbool6;
12118 _arg7 = (bool ) tempbool7;
12119 _arg8 = (bool ) tempbool8;
12120 _arg9 = (bool ) tempbool9;
12121 {
12122 wxPy_BEGIN_ALLOW_THREADS;
12123 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12124
12125 wxPy_END_ALLOW_THREADS;
12126 } if (_result) {
12127 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
12128 _resultobj = Py_BuildValue("s",_ptemp);
12129 } else {
12130 Py_INCREF(Py_None);
12131 _resultobj = Py_None;
12132 }
12133 return _resultobj;
12134 }
12135
12136 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12137 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12138 PyObject * _resultobj;
12139 wxGridCellCoords * _result;
12140 wxGridRangeSelectEvent * _arg0;
12141 PyObject * _argo0 = 0;
12142 char *_kwnames[] = { "self", NULL };
12143 char _ptemp[128];
12144
12145 self = self;
12146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
12147 return NULL;
12148 if (_argo0) {
12149 if (_argo0 == Py_None) { _arg0 = NULL; }
12150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12152 return NULL;
12153 }
12154 }
12155 {
12156 wxPy_BEGIN_ALLOW_THREADS;
12157 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
12158
12159 wxPy_END_ALLOW_THREADS;
12160 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12161 _resultobj = Py_BuildValue("s",_ptemp);
12162 return _resultobj;
12163 }
12164
12165 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12166 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12167 PyObject * _resultobj;
12168 wxGridCellCoords * _result;
12169 wxGridRangeSelectEvent * _arg0;
12170 PyObject * _argo0 = 0;
12171 char *_kwnames[] = { "self", NULL };
12172 char _ptemp[128];
12173
12174 self = self;
12175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
12176 return NULL;
12177 if (_argo0) {
12178 if (_argo0 == Py_None) { _arg0 = NULL; }
12179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12181 return NULL;
12182 }
12183 }
12184 {
12185 wxPy_BEGIN_ALLOW_THREADS;
12186 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
12187
12188 wxPy_END_ALLOW_THREADS;
12189 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12190 _resultobj = Py_BuildValue("s",_ptemp);
12191 return _resultobj;
12192 }
12193
12194 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12195 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12196 PyObject * _resultobj;
12197 int _result;
12198 wxGridRangeSelectEvent * _arg0;
12199 PyObject * _argo0 = 0;
12200 char *_kwnames[] = { "self", NULL };
12201
12202 self = self;
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
12204 return NULL;
12205 if (_argo0) {
12206 if (_argo0 == Py_None) { _arg0 = NULL; }
12207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12209 return NULL;
12210 }
12211 }
12212 {
12213 wxPy_BEGIN_ALLOW_THREADS;
12214 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
12215
12216 wxPy_END_ALLOW_THREADS;
12217 } _resultobj = Py_BuildValue("i",_result);
12218 return _resultobj;
12219 }
12220
12221 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12222 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12223 PyObject * _resultobj;
12224 int _result;
12225 wxGridRangeSelectEvent * _arg0;
12226 PyObject * _argo0 = 0;
12227 char *_kwnames[] = { "self", NULL };
12228
12229 self = self;
12230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
12231 return NULL;
12232 if (_argo0) {
12233 if (_argo0 == Py_None) { _arg0 = NULL; }
12234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12236 return NULL;
12237 }
12238 }
12239 {
12240 wxPy_BEGIN_ALLOW_THREADS;
12241 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
12242
12243 wxPy_END_ALLOW_THREADS;
12244 } _resultobj = Py_BuildValue("i",_result);
12245 return _resultobj;
12246 }
12247
12248 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12249 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12250 PyObject * _resultobj;
12251 int _result;
12252 wxGridRangeSelectEvent * _arg0;
12253 PyObject * _argo0 = 0;
12254 char *_kwnames[] = { "self", NULL };
12255
12256 self = self;
12257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
12258 return NULL;
12259 if (_argo0) {
12260 if (_argo0 == Py_None) { _arg0 = NULL; }
12261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12263 return NULL;
12264 }
12265 }
12266 {
12267 wxPy_BEGIN_ALLOW_THREADS;
12268 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
12269
12270 wxPy_END_ALLOW_THREADS;
12271 } _resultobj = Py_BuildValue("i",_result);
12272 return _resultobj;
12273 }
12274
12275 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12276 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12277 PyObject * _resultobj;
12278 int _result;
12279 wxGridRangeSelectEvent * _arg0;
12280 PyObject * _argo0 = 0;
12281 char *_kwnames[] = { "self", NULL };
12282
12283 self = self;
12284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
12285 return NULL;
12286 if (_argo0) {
12287 if (_argo0 == Py_None) { _arg0 = NULL; }
12288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12290 return NULL;
12291 }
12292 }
12293 {
12294 wxPy_BEGIN_ALLOW_THREADS;
12295 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
12296
12297 wxPy_END_ALLOW_THREADS;
12298 } _resultobj = Py_BuildValue("i",_result);
12299 return _resultobj;
12300 }
12301
12302 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12303 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12304 PyObject * _resultobj;
12305 bool _result;
12306 wxGridRangeSelectEvent * _arg0;
12307 PyObject * _argo0 = 0;
12308 char *_kwnames[] = { "self", NULL };
12309
12310 self = self;
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
12312 return NULL;
12313 if (_argo0) {
12314 if (_argo0 == Py_None) { _arg0 = NULL; }
12315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12317 return NULL;
12318 }
12319 }
12320 {
12321 wxPy_BEGIN_ALLOW_THREADS;
12322 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
12323
12324 wxPy_END_ALLOW_THREADS;
12325 } _resultobj = Py_BuildValue("i",_result);
12326 return _resultobj;
12327 }
12328
12329 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12330 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12331 PyObject * _resultobj;
12332 bool _result;
12333 wxGridRangeSelectEvent * _arg0;
12334 PyObject * _argo0 = 0;
12335 char *_kwnames[] = { "self", NULL };
12336
12337 self = self;
12338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
12339 return NULL;
12340 if (_argo0) {
12341 if (_argo0 == Py_None) { _arg0 = NULL; }
12342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12344 return NULL;
12345 }
12346 }
12347 {
12348 wxPy_BEGIN_ALLOW_THREADS;
12349 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
12350
12351 wxPy_END_ALLOW_THREADS;
12352 } _resultobj = Py_BuildValue("i",_result);
12353 return _resultobj;
12354 }
12355
12356 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12357 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12358 PyObject * _resultobj;
12359 bool _result;
12360 wxGridRangeSelectEvent * _arg0;
12361 PyObject * _argo0 = 0;
12362 char *_kwnames[] = { "self", NULL };
12363
12364 self = self;
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
12366 return NULL;
12367 if (_argo0) {
12368 if (_argo0 == Py_None) { _arg0 = NULL; }
12369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
12371 return NULL;
12372 }
12373 }
12374 {
12375 wxPy_BEGIN_ALLOW_THREADS;
12376 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
12377
12378 wxPy_END_ALLOW_THREADS;
12379 } _resultobj = Py_BuildValue("i",_result);
12380 return _resultobj;
12381 }
12382
12383 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12384 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12385 PyObject * _resultobj;
12386 bool _result;
12387 wxGridRangeSelectEvent * _arg0;
12388 PyObject * _argo0 = 0;
12389 char *_kwnames[] = { "self", NULL };
12390
12391 self = self;
12392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
12393 return NULL;
12394 if (_argo0) {
12395 if (_argo0 == Py_None) { _arg0 = NULL; }
12396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
12398 return NULL;
12399 }
12400 }
12401 {
12402 wxPy_BEGIN_ALLOW_THREADS;
12403 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
12404
12405 wxPy_END_ALLOW_THREADS;
12406 } _resultobj = Py_BuildValue("i",_result);
12407 return _resultobj;
12408 }
12409
12410 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
12411 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12412 PyObject * _resultobj;
12413 bool _result;
12414 wxGridRangeSelectEvent * _arg0;
12415 PyObject * _argo0 = 0;
12416 char *_kwnames[] = { "self", NULL };
12417
12418 self = self;
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
12420 return NULL;
12421 if (_argo0) {
12422 if (_argo0 == Py_None) { _arg0 = NULL; }
12423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
12425 return NULL;
12426 }
12427 }
12428 {
12429 wxPy_BEGIN_ALLOW_THREADS;
12430 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
12431
12432 wxPy_END_ALLOW_THREADS;
12433 } _resultobj = Py_BuildValue("i",_result);
12434 return _resultobj;
12435 }
12436
12437 static PyMethodDef gridcMethods[] = {
12438 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12439 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12440 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12441 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12442 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12443 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
12444 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
12445 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
12446 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
12447 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
12448 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
12449 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
12450 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12451 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12452 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12453 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12454 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12455 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
12456 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
12457 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12458 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12459 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12460 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12461 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12462 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12463 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
12464 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
12465 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
12466 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
12467 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
12468 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
12469 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
12470 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
12471 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
12472 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12473 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12474 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12475 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12476 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
12477 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
12478 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
12479 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
12480 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
12481 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
12482 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
12483 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
12484 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12485 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12486 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
12487 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
12488 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
12489 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12490 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
12491 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12492 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12493 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12494 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12495 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12496 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12497 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12498 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
12499 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12500 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12501 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12502 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12503 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12504 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
12505 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
12506 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
12507 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
12508 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
12509 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
12510 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
12511 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
12512 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12513 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
12514 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12515 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12516 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12517 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
12518 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12519 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12520 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12521 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12522 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12523 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
12524 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12525 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
12526 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12527 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
12528 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
12529 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
12530 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
12531 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
12532 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
12533 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12534 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12535 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
12536 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12537 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12538 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
12539 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
12540 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
12541 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
12542 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12543 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12544 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12545 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12546 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12547 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12548 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12549 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12550 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
12551 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12552 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12553 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12554 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12555 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12556 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12557 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12558 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12559 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12560 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12561 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
12562 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12563 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12564 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12565 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
12566 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12567 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12568 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
12569 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
12570 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
12571 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
12572 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
12573 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
12574 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
12575 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
12576 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
12577 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
12578 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
12579 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
12580 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
12581 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
12582 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
12583 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
12584 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
12585 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
12586 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
12587 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
12588 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
12589 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
12590 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
12591 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
12592 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
12593 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
12594 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
12595 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
12596 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12597 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12598 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
12599 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
12600 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
12601 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
12602 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
12603 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
12604 { "wxGrid_StringToLines", (PyCFunction) _wrap_wxGrid_StringToLines, METH_VARARGS | METH_KEYWORDS },
12605 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
12606 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
12607 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12608 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
12609 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
12610 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12611 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
12612 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
12613 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
12614 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
12615 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
12616 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
12617 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12618 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12619 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
12620 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
12621 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
12622 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
12623 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
12624 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
12625 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
12626 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
12627 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
12628 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
12629 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12630 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12631 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12632 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12633 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
12634 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
12635 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
12636 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
12637 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
12638 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
12639 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12640 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12641 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
12642 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12643 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12644 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12645 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12646 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12647 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12648 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12649 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12650 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12651 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12652 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
12653 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
12654 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12655 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
12656 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
12657 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
12658 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12659 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12660 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12661 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
12662 { "wxPyGridTableBase__setSelf", (PyCFunction) _wrap_wxPyGridTableBase__setSelf, METH_VARARGS | METH_KEYWORDS },
12663 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
12664 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12665 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12666 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
12667 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
12668 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12669 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12670 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12671 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12672 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12673 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12674 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
12675 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
12676 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12677 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
12678 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
12679 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
12680 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12681 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12682 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12683 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12684 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12685 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12686 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12687 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12688 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12689 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
12690 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
12691 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
12692 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12693 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12694 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
12695 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
12696 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12697 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12698 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12699 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12700 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12701 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12702 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setSelf, METH_VARARGS | METH_KEYWORDS },
12703 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12704 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
12705 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
12706 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12707 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12708 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
12709 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
12710 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12711 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
12712 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12713 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
12714 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
12715 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
12716 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
12717 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12718 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
12719 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
12720 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
12721 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
12722 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
12723 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12724 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
12725 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
12726 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
12727 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12728 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
12729 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
12730 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12731 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12732 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
12733 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
12734 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
12735 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
12736 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
12737 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
12738 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
12739 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
12740 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
12741 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
12742 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
12743 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
12744 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
12745 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
12746 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
12747 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
12748 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
12749 { "wxPyGridCellEditor__setSelf", (PyCFunction) _wrap_wxPyGridCellEditor__setSelf, METH_VARARGS | METH_KEYWORDS },
12750 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
12751 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
12752 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
12753 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
12754 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
12755 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
12756 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
12757 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
12758 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
12759 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
12760 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
12761 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
12762 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
12763 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
12764 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
12765 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
12766 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
12767 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
12768 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
12769 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
12770 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
12771 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
12772 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
12773 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
12774 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
12775 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
12776 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
12777 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
12778 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
12779 { "wxPyGridCellRenderer__setSelf", (PyCFunction) _wrap_wxPyGridCellRenderer__setSelf, METH_VARARGS | METH_KEYWORDS },
12780 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
12781 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
12782 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
12783 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
12784 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
12785 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
12786 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
12787 { NULL, NULL }
12788 };
12789 #ifdef __cplusplus
12790 }
12791 #endif
12792 /*
12793 * This table is used by the pointer type-checker
12794 */
12795 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
12796 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
12797 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
12798 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
12799 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
12800 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
12801 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
12802 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
12803 { "_wxEvent","_class_wxEvent",0},
12804 { "_class_wxActivateEvent","_wxActivateEvent",0},
12805 { "_signed_long","_long",0},
12806 { "_wxMenuEvent","_class_wxMenuEvent",0},
12807 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
12808 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
12809 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
12810 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
12811 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
12812 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
12813 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
12814 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
12815 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
12816 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
12817 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
12818 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
12819 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
12820 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
12821 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
12822 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
12823 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
12824 { "_wxPrintQuality","_wxCoord",0},
12825 { "_wxPrintQuality","_int",0},
12826 { "_wxPrintQuality","_signed_int",0},
12827 { "_wxPrintQuality","_unsigned_int",0},
12828 { "_wxPrintQuality","_wxWindowID",0},
12829 { "_wxPrintQuality","_uint",0},
12830 { "_wxPrintQuality","_EBool",0},
12831 { "_wxPrintQuality","_size_t",0},
12832 { "_wxPrintQuality","_time_t",0},
12833 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
12834 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
12835 { "_class_wxRegionIterator","_wxRegionIterator",0},
12836 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
12837 { "_class_wxMenuBar","_wxMenuBar",0},
12838 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
12839 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
12840 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
12841 { "_class_wxEvtHandler","_wxEvtHandler",0},
12842 { "_wxPaintEvent","_class_wxPaintEvent",0},
12843 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
12844 { "_wxCursor","_class_wxCursor",0},
12845 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
12846 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
12847 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
12848 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
12849 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
12850 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
12851 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
12852 { "_wxMask","_class_wxMask",0},
12853 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
12854 { "_wxGrid","_class_wxGrid",0},
12855 { "_wxPen","_class_wxPen",0},
12856 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
12857 { "_byte","_unsigned_char",0},
12858 { "_wxDataObject","_class_wxDataObject",0},
12859 { "_wxStaticBox","_class_wxStaticBox",0},
12860 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
12861 { "_wxPyDropSource","_class_wxPyDropSource",0},
12862 { "_wxChoice","_class_wxChoice",0},
12863 { "_wxSlider","_class_wxSlider",0},
12864 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
12865 { "_long","_unsigned_long",0},
12866 { "_long","_signed_long",0},
12867 { "_wxImageList","_class_wxImageList",0},
12868 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
12869 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
12870 { "_wxBitmapButton","_class_wxBitmapButton",0},
12871 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
12872 { "_class_wxClipboard","_wxClipboard",0},
12873 { "_class_wxGauge","_wxGauge",0},
12874 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
12875 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
12876 { "_wxDC","_class_wxDC",0},
12877 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
12878 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
12879 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
12880 { "_wxSpinEvent","_class_wxSpinEvent",0},
12881 { "_size_t","_WXGRIDSELECTIONMODES",0},
12882 { "_size_t","_wxCoord",0},
12883 { "_size_t","_wxPrintQuality",0},
12884 { "_size_t","_time_t",0},
12885 { "_size_t","_unsigned_int",0},
12886 { "_size_t","_int",0},
12887 { "_size_t","_wxWindowID",0},
12888 { "_size_t","_uint",0},
12889 { "_class_wxRealPoint","_wxRealPoint",0},
12890 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
12891 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
12892 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
12893 { "_class_wxMenuItem","_wxMenuItem",0},
12894 { "_class_wxPaintEvent","_wxPaintEvent",0},
12895 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
12896 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
12897 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
12898 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
12899 { "_wxPanel","_class_wxPanel",0},
12900 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
12901 { "_wxCheckBox","_class_wxCheckBox",0},
12902 { "_wxPyEvent","_class_wxPyEvent",0},
12903 { "_wxTextCtrl","_class_wxTextCtrl",0},
12904 { "_class_wxMask","_wxMask",0},
12905 { "_wxTextDataObject","_class_wxTextDataObject",0},
12906 { "_class_wxKeyEvent","_wxKeyEvent",0},
12907 { "_class_wxGrid","_wxGrid",0},
12908 { "_wxColour","_class_wxColour",0},
12909 { "_class_wxDialog","_wxDialog",0},
12910 { "_class_wxFileDataObject","_wxFileDataObject",0},
12911 { "_wxIdleEvent","_class_wxIdleEvent",0},
12912 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
12913 { "_class_wxDataObject","_wxDataObject",0},
12914 { "_wxStaticLine","_class_wxStaticLine",0},
12915 { "_wxBrush","_class_wxBrush",0},
12916 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
12917 { "_wxDataFormat","_class_wxDataFormat",0},
12918 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
12919 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
12920 { "_wxShowEvent","_class_wxShowEvent",0},
12921 { "_uint","_WXGRIDSELECTIONMODES",0},
12922 { "_uint","_wxCoord",0},
12923 { "_uint","_wxPrintQuality",0},
12924 { "_uint","_time_t",0},
12925 { "_uint","_size_t",0},
12926 { "_uint","_unsigned_int",0},
12927 { "_uint","_int",0},
12928 { "_uint","_wxWindowID",0},
12929 { "_wxChar","_char",0},
12930 { "_wxPyValidator","_class_wxPyValidator",0},
12931 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
12932 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
12933 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
12934 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
12935 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
12936 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
12937 { "_class_wxEvent","_wxEvent",0},
12938 { "_wxCheckListBox","_class_wxCheckListBox",0},
12939 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
12940 { "_wxGridEvent","_class_wxGridEvent",0},
12941 { "_wxRect","_class_wxRect",0},
12942 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
12943 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
12944 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
12945 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
12946 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
12947 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
12948 { "_wxCommandEvent","_class_wxCommandEvent",0},
12949 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
12950 { "_wxSizeEvent","_class_wxSizeEvent",0},
12951 { "_wxPoint","_class_wxPoint",0},
12952 { "_class_wxButton","_wxButton",0},
12953 { "_wxRadioBox","_class_wxRadioBox",0},
12954 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
12955 { "_char","_wxChar",0},
12956 { "_wxBitmap","_class_wxBitmap",0},
12957 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
12958 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
12959 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
12960 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
12961 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
12962 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
12963 { "_wxWindowDC","_class_wxWindowDC",0},
12964 { "_wxTimerEvent","_class_wxTimerEvent",0},
12965 { "_wxScrollBar","_class_wxScrollBar",0},
12966 { "_wxSpinButton","_class_wxSpinButton",0},
12967 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
12968 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
12969 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
12970 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
12971 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
12972 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
12973 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
12974 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
12975 { "_class_wxValidator","_wxValidator",0},
12976 { "_class_wxPyEvent","_wxPyEvent",0},
12977 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
12978 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
12979 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
12980 { "_wxDropTarget","_class_wxDropTarget",0},
12981 { "_class_wxStaticLine","_wxStaticLine",0},
12982 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
12983 { "_wxScrollEvent","_class_wxScrollEvent",0},
12984 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
12985 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
12986 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
12987 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
12988 { "_wxGridTableBase","_class_wxGridTableBase",0},
12989 { "_wxGridStringTable","_class_wxGridStringTable",0},
12990 { "_EBool","_WXGRIDSELECTIONMODES",0},
12991 { "_EBool","_wxCoord",0},
12992 { "_EBool","_wxPrintQuality",0},
12993 { "_EBool","_signed_int",0},
12994 { "_EBool","_int",0},
12995 { "_EBool","_wxWindowID",0},
12996 { "_class_wxRegion","_wxRegion",0},
12997 { "_class_wxDataFormat","_wxDataFormat",0},
12998 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
12999 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13000 { "_wxStaticText","_class_wxStaticText",0},
13001 { "_wxFont","_class_wxFont",0},
13002 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13003 { "_wxCloseEvent","_class_wxCloseEvent",0},
13004 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13005 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13006 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13007 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13008 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13009 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13010 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13011 { "_unsigned_long","_long",0},
13012 { "_class_wxRect","_wxRect",0},
13013 { "_class_wxDC","_wxDC",0},
13014 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13015 { "_WXGRIDSELECTIONMODES","_int",0},
13016 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13017 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13018 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13019 { "_WXGRIDSELECTIONMODES","_uint",0},
13020 { "_WXGRIDSELECTIONMODES","_EBool",0},
13021 { "_WXGRIDSELECTIONMODES","_size_t",0},
13022 { "_WXGRIDSELECTIONMODES","_time_t",0},
13023 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13024 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
13025 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
13026 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13027 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13028 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13029 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13030 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13031 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13032 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13033 { "_wxFocusEvent","_class_wxFocusEvent",0},
13034 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13035 { "_class_wxTimerEvent","_wxTimerEvent",0},
13036 { "_class_wxSpinButton","_wxSpinButton",0},
13037 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13038 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13039 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13040 { "_class_wxPanel","_wxPanel",0},
13041 { "_class_wxCheckBox","_wxCheckBox",0},
13042 { "_wxComboBox","_class_wxComboBox",0},
13043 { "_wxRadioButton","_class_wxRadioButton",0},
13044 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13045 { "_signed_int","_wxCoord",0},
13046 { "_signed_int","_wxPrintQuality",0},
13047 { "_signed_int","_EBool",0},
13048 { "_signed_int","_wxWindowID",0},
13049 { "_signed_int","_int",0},
13050 { "_class_wxTextCtrl","_wxTextCtrl",0},
13051 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13052 { "_class_wxTextDataObject","_wxTextDataObject",0},
13053 { "_wxMenu","_class_wxMenu",0},
13054 { "_class_wxMoveEvent","_wxMoveEvent",0},
13055 { "_wxListBox","_class_wxListBox",0},
13056 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13057 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13058 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13059 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13060 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13061 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13062 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13063 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13064 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13065 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13066 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13067 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13068 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13069 { "_wxScreenDC","_class_wxScreenDC",0},
13070 { "_WXTYPE","_short",0},
13071 { "_WXTYPE","_signed_short",0},
13072 { "_WXTYPE","_unsigned_short",0},
13073 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13074 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13075 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13076 { "_class_wxDropTarget","_wxDropTarget",0},
13077 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13078 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13079 { "_class_wxBrush","_wxBrush",0},
13080 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13081 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13082 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13083 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13084 { "_class_wxGridTableBase","_wxGridTableBase",0},
13085 { "_unsigned_short","_WXTYPE",0},
13086 { "_unsigned_short","_short",0},
13087 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13088 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13089 { "_class_wxWindow","_wxWindow",0},
13090 { "_class_wxStaticText","_wxStaticText",0},
13091 { "_class_wxFont","_wxFont",0},
13092 { "_wxClipboard","_class_wxClipboard",0},
13093 { "_class_wxPyValidator","_wxPyValidator",0},
13094 { "_class_wxCloseEvent","_wxCloseEvent",0},
13095 { "_wxBusyInfo","_class_wxBusyInfo",0},
13096 { "_class_wxMenuEvent","_wxMenuEvent",0},
13097 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13098 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13099 { "_wxClientDC","_class_wxClientDC",0},
13100 { "_wxMouseEvent","_class_wxMouseEvent",0},
13101 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
13102 { "_class_wxPoint","_wxPoint",0},
13103 { "_wxRealPoint","_class_wxRealPoint",0},
13104 { "_class_wxRadioBox","_wxRadioBox",0},
13105 { "_signed_short","_WXTYPE",0},
13106 { "_signed_short","_short",0},
13107 { "_wxMemoryDC","_class_wxMemoryDC",0},
13108 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13109 { "_wxPaintDC","_class_wxPaintDC",0},
13110 { "_class_wxWindowDC","_wxWindowDC",0},
13111 { "_class_wxFocusEvent","_wxFocusEvent",0},
13112 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13113 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13114 { "_class_wxCursor","_wxCursor",0},
13115 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
13116 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13117 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13118 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13119 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13120 { "_unsigned_char","_byte",0},
13121 { "_class_wxMenu","_wxMenu",0},
13122 { "_wxControl","_class_wxControl",0},
13123 { "_class_wxListBox","_wxListBox",0},
13124 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13125 { "_unsigned_int","_wxCoord",0},
13126 { "_unsigned_int","_wxPrintQuality",0},
13127 { "_unsigned_int","_time_t",0},
13128 { "_unsigned_int","_size_t",0},
13129 { "_unsigned_int","_uint",0},
13130 { "_unsigned_int","_wxWindowID",0},
13131 { "_unsigned_int","_int",0},
13132 { "_wxIcon","_class_wxIcon",0},
13133 { "_wxDialog","_class_wxDialog",0},
13134 { "_class_wxPen","_wxPen",0},
13135 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13136 { "_short","_WXTYPE",0},
13137 { "_short","_unsigned_short",0},
13138 { "_short","_signed_short",0},
13139 { "_class_wxStaticBox","_wxStaticBox",0},
13140 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13141 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13142 { "_class_wxPyDropSource","_wxPyDropSource",0},
13143 { "_class_wxScrollEvent","_wxScrollEvent",0},
13144 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13145 { "_class_wxChoice","_wxChoice",0},
13146 { "_class_wxSlider","_wxSlider",0},
13147 { "_class_wxImageList","_wxImageList",0},
13148 { "_class_wxBitmapButton","_wxBitmapButton",0},
13149 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13150 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13151 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13152 { "_wxWindowID","_wxCoord",0},
13153 { "_wxWindowID","_wxPrintQuality",0},
13154 { "_wxWindowID","_time_t",0},
13155 { "_wxWindowID","_size_t",0},
13156 { "_wxWindowID","_EBool",0},
13157 { "_wxWindowID","_uint",0},
13158 { "_wxWindowID","_int",0},
13159 { "_wxWindowID","_signed_int",0},
13160 { "_wxWindowID","_unsigned_int",0},
13161 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13162 { "_int","_WXGRIDSELECTIONMODES",0},
13163 { "_int","_wxCoord",0},
13164 { "_int","_wxPrintQuality",0},
13165 { "_int","_time_t",0},
13166 { "_int","_size_t",0},
13167 { "_int","_EBool",0},
13168 { "_int","_uint",0},
13169 { "_int","_wxWindowID",0},
13170 { "_int","_unsigned_int",0},
13171 { "_int","_signed_int",0},
13172 { "_class_wxMouseEvent","_wxMouseEvent",0},
13173 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13174 { "_class_wxSpinEvent","_wxSpinEvent",0},
13175 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
13176 { "_time_t","_WXGRIDSELECTIONMODES",0},
13177 { "_time_t","_wxCoord",0},
13178 { "_time_t","_wxPrintQuality",0},
13179 { "_time_t","_unsigned_int",0},
13180 { "_time_t","_int",0},
13181 { "_time_t","_wxWindowID",0},
13182 { "_time_t","_uint",0},
13183 { "_time_t","_size_t",0},
13184 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13185 { "_wxButton","_class_wxButton",0},
13186 { "_wxSize","_class_wxSize",0},
13187 { "_wxRegionIterator","_class_wxRegionIterator",0},
13188 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13189 { "_class_wxPaintDC","_wxPaintDC",0},
13190 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13191 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13192 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13193 { "_class_wxComboBox","_wxComboBox",0},
13194 { "_class_wxRadioButton","_wxRadioButton",0},
13195 { "_wxValidator","_class_wxValidator",0},
13196 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13197 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13198 { "_class_wxControl","_wxControl",0},
13199 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13200 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13201 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13202 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13203 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13204 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13205 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13206 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13207 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13208 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13209 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13210 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13211 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13212 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13213 { "_class_wxIcon","_wxIcon",0},
13214 { "_class_wxColour","_wxColour",0},
13215 { "_class_wxScreenDC","_wxScreenDC",0},
13216 { "_wxPalette","_class_wxPalette",0},
13217 { "_class_wxIdleEvent","_wxIdleEvent",0},
13218 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13219 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13220 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13221 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13222 { "_wxCoord","_int",0},
13223 { "_wxCoord","_signed_int",0},
13224 { "_wxCoord","_unsigned_int",0},
13225 { "_wxCoord","_wxWindowID",0},
13226 { "_wxCoord","_uint",0},
13227 { "_wxCoord","_EBool",0},
13228 { "_wxCoord","_size_t",0},
13229 { "_wxCoord","_time_t",0},
13230 { "_wxCoord","_wxPrintQuality",0},
13231 { "_wxEraseEvent","_class_wxEraseEvent",0},
13232 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13233 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13234 { "_wxRegion","_class_wxRegion",0},
13235 { "_class_wxShowEvent","_wxShowEvent",0},
13236 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13237 { "_wxActivateEvent","_class_wxActivateEvent",0},
13238 { "_wxGauge","_class_wxGauge",0},
13239 { "_class_wxCheckListBox","_wxCheckListBox",0},
13240 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13241 { "_class_wxBusyInfo","_wxBusyInfo",0},
13242 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13243 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13244 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13245 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13246 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13247 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13248 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13249 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13250 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13251 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13252 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13253 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13254 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13255 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13256 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13257 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13258 { "_class_wxGridEvent","_wxGridEvent",0},
13259 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13260 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13261 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13262 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13263 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13264 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13265 { "_class_wxCommandEvent","_wxCommandEvent",0},
13266 { "_class_wxClientDC","_wxClientDC",0},
13267 { "_class_wxSizeEvent","_wxSizeEvent",0},
13268 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13269 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13270 { "_class_wxSize","_wxSize",0},
13271 { "_class_wxBitmap","_wxBitmap",0},
13272 { "_class_wxMemoryDC","_wxMemoryDC",0},
13273 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13274 { "_wxMenuBar","_class_wxMenuBar",0},
13275 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13276 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13277 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13278 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13279 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13280 { "_wxEvtHandler","_class_wxEvtHandler",0},
13281 { "_wxMenuItem","_class_wxMenuItem",0},
13282 { "_class_wxScrollBar","_wxScrollBar",0},
13283 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13284 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13285 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13286 { "_wxKeyEvent","_class_wxKeyEvent",0},
13287 { "_wxMoveEvent","_class_wxMoveEvent",0},
13288 { "_class_wxPalette","_wxPalette",0},
13289 { "_wxFileDataObject","_class_wxFileDataObject",0},
13290 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13291 { "_class_wxEraseEvent","_wxEraseEvent",0},
13292 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13293 { "_class_wxGridStringTable","_wxGridStringTable",0},
13294 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13295 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13296 { "_wxWindow","_class_wxWindow",0},
13297 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13298 {0,0,0}};
13299
13300 static PyObject *SWIG_globals;
13301 #ifdef __cplusplus
13302 extern "C"
13303 #endif
13304 SWIGEXPORT(void) initgridc() {
13305 PyObject *m, *d;
13306 SWIG_globals = SWIG_newvarlink();
13307 m = Py_InitModule("gridc", gridcMethods);
13308 d = PyModule_GetDict(m);
13309 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13310 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13311 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13312 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13313 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13314 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13315 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13316 PyDict_SetItemString(d,"cvar", SWIG_globals);
13317 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
13318 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
13319 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
13320 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
13321 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
13322 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
13323 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
13324 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
13325 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
13326 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
13327 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
13328 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
13329 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
13330 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
13331 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
13332 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
13333 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
13334 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
13335 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
13336 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
13337 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
13338 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
13339 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
13340 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
13341 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
13342 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
13343 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
13344 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
13345 {
13346 int i;
13347 for (i = 0; _swig_mapping[i].n1; i++)
13348 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13349 }
13350 }