]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/grid.cpp
New typemaps for wxString when compiling for Python 2.0 and beyond
[wxWidgets.git] / wxPython / src / msw / grid.cpp
CommitLineData
f6bcfd97 1/*
c368d904 2 * FILE : src/msw/grid.cpp
f6bcfd97
BP
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
dbbb98cd 6 * Version 1.1 (Build 883)
f6bcfd97
BP
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
f6bcfd97 31# else
c368d904 32# define SWIGEXPORT(a) a
f6bcfd97
BP
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
f6bcfd97
BP
37#endif
38
c368d904
RD
39#include "Python.h"
40
f6bcfd97
BP
41#ifdef __cplusplus
42extern "C" {
43#endif
dbbb98cd 44
f6bcfd97
BP
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initgridc
55
56#define SWIG_name "gridc"
57
58#include "helpers.h"
59#include <wx/grid.h>
60
61static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
dbbb98cd 63 if (!target) {
f6bcfd97 64 target = o;
dbbb98cd 65 } else if (target == Py_None) {
f6bcfd97
BP
66 Py_DECREF(Py_None);
67 target = o;
dbbb98cd 68 } else {
f6bcfd97
BP
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79}
80
81static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
dbbb98cd 85 if (!target) {
f6bcfd97 86 target = o;
dbbb98cd 87 } else if (target == Py_None) {
f6bcfd97
BP
88 Py_DECREF(Py_None);
89 target = o;
dbbb98cd 90 } else {
f6bcfd97
BP
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
dbbb98cd
RD
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
f6bcfd97
BP
98
99 o2 = target;
dbbb98cd
RD
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
f6bcfd97
BP
102 Py_DECREF(o3);
103 }
104 return target;
105}
106
107static char* wxStringErrorMsg = "string type is required for parameter";
108
109#define PYCALLBACK_GCA_INTINT(PCLASS, CBNAME) \
110 wxGridCellAttr* CBNAME(int a, int b) { \
111 wxGridCellAttr* rval = NULL; \
112 bool doSave = wxPyRestoreThread(); \
113 if (m_myInst.findCallback(#CBNAME)) { \
114 PyObject* ro; \
115 wxGridCellAttr* ptr; \
116 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)", a, b)); \
117 if (ro) { \
118 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
119 rval = ptr; \
120 Py_DECREF(ro); \
121 } \
122 } \
123 else \
124 rval = PCLASS::CBNAME(a, b); \
125 wxPySaveThread(doSave); \
126 return rval; \
127 } \
128 wxGridCellAttr *base_##CBNAME(int a, int b) { \
129 return PCLASS::CBNAME(a, b); \
130 }
131
132
133
134#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
135 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
136 bool doSave = wxPyRestoreThread(); \
137 if (m_myInst.findCallback(#CBNAME)) \
138 m_myInst.callCallback( \
139 Py_BuildValue("(Oii)", \
140 wxPyConstructObject((void*)attr, "wxGridCellAttr"), \
141 a, b)); \
142 else \
143 PCLASS::CBNAME(attr, a, b); \
144 wxPySaveThread(doSave); \
145 } \
146 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
147 PCLASS::CBNAME(attr, a, b); \
148 }
149
150
151
152#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
153 void CBNAME(wxGridCellAttr *attr, int val) { \
154 bool doSave = wxPyRestoreThread(); \
155 if (m_myInst.findCallback(#CBNAME)) \
156 m_myInst.callCallback( \
157 Py_BuildValue("(Oi)", \
158 wxPyConstructObject((void*)attr, "wxGridCellAttr"), \
159 val)); \
160 else \
161 PCLASS::CBNAME(attr, val); \
162 wxPySaveThread(doSave); \
163 } \
164 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
165 PCLASS::CBNAME(attr, val); \
166 }
167
168
169
170#define PYCALLBACK_INT__pure(CBNAME) \
171 int CBNAME() { \
172 bool doSave = wxPyRestoreThread(); \
173 int rval = 0; \
174 if (m_myInst.findCallback(#CBNAME)) \
175 rval = m_myInst.callCallback(Py_BuildValue("()")); \
176 wxPySaveThread(doSave); \
177 return rval; \
178 }
179
180
181
182#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
183 bool CBNAME(int a, int b) { \
184 bool doSave = wxPyRestoreThread(); \
185 bool rval = 0; \
186 if (m_myInst.findCallback(#CBNAME)) \
187 rval = m_myInst.callCallback(Py_BuildValue("(ii)",a,b)); \
188 wxPySaveThread(doSave); \
189 return rval; \
190 }
191
192
193
194#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
195 wxString CBNAME(int a, int b) { \
196 bool doSave = wxPyRestoreThread(); \
197 wxString rval; \
198 if (m_myInst.findCallback(#CBNAME)) { \
199 PyObject* ro; \
200 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",a,b)); \
201 if (ro) { \
202 rval = PyString_AsString(PyObject_Str(ro)); \
203 Py_DECREF(ro); \
204 } \
205 } \
206 wxPySaveThread(doSave); \
207 return rval; \
208 }
209
210
211
212#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
213 void CBNAME(int a, int b, const wxString& c) { \
214 bool doSave = wxPyRestoreThread(); \
215 if (m_myInst.findCallback(#CBNAME)) \
216 m_myInst.callCallback(Py_BuildValue("(iis)",a,b,c.c_str())); \
217 wxPySaveThread(doSave); \
218 }
219
220
221#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
222 wxString CBNAME(int a, int b) { \
223 bool doSave = wxPyRestoreThread(); \
224 wxString rval; \
225 if (m_myInst.findCallback(#CBNAME)) { \
226 PyObject* ro; \
227 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",a,b)); \
228 if (ro) { \
229 rval = PyString_AsString(PyObject_Str(ro)); \
230 Py_DECREF(ro); \
231 } \
232 } else \
233 rval = PCLASS::CBNAME(a, b); \
234 wxPySaveThread(doSave); \
235 return rval; \
236 } \
237 wxString base_##CBNAME(int a, int b) { \
238 return PCLASS::CBNAME(a, b); \
239 }
240
241
242
243#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
244 bool CBNAME(int a, int b, const wxString& c) { \
245 bool rval; \
246 bool doSave = wxPyRestoreThread(); \
247 if (m_myInst.findCallback(#CBNAME)) \
248 rval = m_myInst.callCallback(Py_BuildValue("(iis)", a,b,c.c_str())); \
249 else \
250 rval = PCLASS::CBNAME(a,b,c); \
251 wxPySaveThread(doSave); \
252 return rval; \
253 } \
254 bool base_##CBNAME(int a, int b, const wxString& c) { \
255 return PCLASS::CBNAME(a,b,c); \
256 }
257
258
259
260
261#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
262 long CBNAME(int a, int b) { \
263 long rval; \
264 bool doSave = wxPyRestoreThread(); \
265 if (m_myInst.findCallback(#CBNAME)) \
266 rval = m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
267 else \
268 rval = PCLASS::CBNAME(a,b); \
269 wxPySaveThread(doSave); \
270 return rval; \
271 } \
272 long base_##CBNAME(int a, int b) { \
273 return PCLASS::CBNAME(a,b); \
274 }
275
276
277
278#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
279 bool CBNAME(int a, int b) { \
280 bool rval; \
281 bool doSave = wxPyRestoreThread(); \
282 if (m_myInst.findCallback(#CBNAME)) \
283 rval = m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
284 else \
285 rval = PCLASS::CBNAME(a,b); \
286 wxPySaveThread(doSave); \
287 return rval; \
288 } \
289 bool base_##CBNAME(int a, int b) { \
290 return PCLASS::CBNAME(a,b); \
291 }
292
293
294
295#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
296 double CBNAME(int a, int b) { \
297 bool doSave = wxPyRestoreThread(); \
298 double rval; \
299 if (m_myInst.findCallback(#CBNAME)) { \
300 PyObject* ro; \
301 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",a,b)); \
302 if (ro) { \
303 rval = PyFloat_AsDouble(PyObject_Str(ro)); \
304 Py_DECREF(ro); \
305 } \
306 } else \
307 rval = PCLASS::CBNAME(a, b); \
308 wxPySaveThread(doSave); \
309 return rval; \
310 } \
311 double base_##CBNAME(int a, int b) { \
312 return PCLASS::CBNAME(a, b); \
313 }
314
315
316
317#define PYCALLBACK__(PCLASS, CBNAME) \
318 void CBNAME() { \
319 bool doSave = wxPyRestoreThread(); \
320 if (m_myInst.findCallback(#CBNAME)) \
321 m_myInst.callCallback(Py_BuildValue("()")); \
322 else \
323 PCLASS::CBNAME(); \
324 wxPySaveThread(doSave); \
325 } \
326 void base_##CBNAME() { \
327 PCLASS::CBNAME(); \
328 }
329
330
331
332
333#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
334 bool CBNAME(size_t a, size_t b) { \
335 bool rval; \
336 bool doSave = wxPyRestoreThread(); \
337 if (m_myInst.findCallback(#CBNAME)) \
338 rval = m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
339 else \
340 rval = PCLASS::CBNAME(a,b); \
341 wxPySaveThread(doSave); \
342 return rval; \
343 } \
344 bool base_##CBNAME(size_t a, size_t b) { \
345 return PCLASS::CBNAME(a,b); \
346 }
347
348
349
350#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
351 bool CBNAME(size_t a) { \
352 bool rval; \
353 bool doSave = wxPyRestoreThread(); \
354 if (m_myInst.findCallback(#CBNAME)) \
355 rval = m_myInst.callCallback(Py_BuildValue("(i)", a)); \
356 else \
357 rval = PCLASS::CBNAME(a); \
358 wxPySaveThread(doSave); \
359 return rval; \
360 } \
361 bool base_##CBNAME(size_t a) { \
362 return PCLASS::CBNAME(a); \
363 }
364
365
366
367#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
368 wxString CBNAME(int a) { \
369 bool doSave = wxPyRestoreThread(); \
370 wxString rval; \
371 if (m_myInst.findCallback(#CBNAME)) { \
372 PyObject* ro; \
373 ro = m_myInst.callCallbackObj(Py_BuildValue("(i)",a)); \
374 if (ro) { \
375 rval = PyString_AsString(PyObject_Str(ro)); \
376 Py_DECREF(ro); \
377 } \
378 } else \
379 rval = PCLASS::CBNAME(a); \
380 wxPySaveThread(doSave); \
381 return rval; \
382 } \
383 wxString base_##CBNAME(int a) { \
384 return PCLASS::CBNAME(a); \
385 }
386
387
388
389#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
390 void CBNAME(int a, const wxString& c) { \
391 bool doSave = wxPyRestoreThread(); \
392 if (m_myInst.findCallback(#CBNAME)) \
393 m_myInst.callCallback(Py_BuildValue("(is)", a,c.c_str())); \
394 else \
395 PCLASS::CBNAME(a,c); \
396 wxPySaveThread(doSave); \
397 } \
398 void base_##CBNAME(int a, const wxString& c) { \
399 PCLASS::CBNAME(a,c); \
400 }
401
402
403
404
405#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
406 bool CBNAME() { \
407 bool rval; \
408 bool doSave = wxPyRestoreThread(); \
409 if (m_myInst.findCallback(#CBNAME)) \
410 rval = m_myInst.callCallback(Py_BuildValue("()")); \
411 else \
412 rval = PCLASS::CBNAME(); \
413 wxPySaveThread(doSave); \
414 return rval; \
415 } \
416 bool base_##CBNAME() { \
417 return PCLASS::CBNAME(); \
418 }
419
420
421
422#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
423 void CBNAME(size_t a, int b) { \
424 bool doSave = wxPyRestoreThread(); \
425 if (m_myInst.findCallback(#CBNAME)) \
426 m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
427 else \
428 PCLASS::CBNAME(a,b); \
429 wxPySaveThread(doSave); \
430 } \
431 void base_##CBNAME(size_t a, int b) { \
432 PCLASS::CBNAME(a,b); \
433 }
434
435
436
437
438#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
439 void CBNAME(int a, int b, long c) { \
440 bool doSave = wxPyRestoreThread(); \
441 if (m_myInst.findCallback(#CBNAME)) \
442 m_myInst.callCallback(Py_BuildValue("(iii)", a,b,c)); \
443 else \
444 PCLASS::CBNAME(a,b,c); \
445 wxPySaveThread(doSave); \
446 } \
447 void base_##CBNAME(int a, int b, long c) { \
448 PCLASS::CBNAME(a,b,c); \
449 }
450
451
452
453
454#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
455 void CBNAME(int a, int b, double c) { \
456 bool doSave = wxPyRestoreThread(); \
457 if (m_myInst.findCallback(#CBNAME)) \
458 m_myInst.callCallback(Py_BuildValue("(iif)", a,b,c)); \
459 else \
460 PCLASS::CBNAME(a,b,c); \
461 wxPySaveThread(doSave); \
462 } \
463 void base_##CBNAME(int a, int b, double c) { \
464 PCLASS::CBNAME(a,b,c); \
465 }
466
467
468
469#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
470 void CBNAME(int a, int b, bool c) { \
471 bool doSave = wxPyRestoreThread(); \
472 if (m_myInst.findCallback(#CBNAME)) \
473 m_myInst.callCallback(Py_BuildValue("(iii)", a,b,c)); \
474 else \
475 PCLASS::CBNAME(a,b,c); \
476 wxPySaveThread(doSave); \
477 } \
478 void base_##CBNAME(int a, int b, bool c) { \
479 PCLASS::CBNAME(a,b,c); \
480 }
481
482
483
484
485
486class wxPyGridCellRenderer : public wxGridCellRenderer
487{
488public:
489 wxPyGridCellRenderer() : wxGridCellRenderer() {};
490
491 // Implement Python callback aware virtual methods
492 void Draw(wxGrid& grid, wxGridCellAttr& attr,
493 wxDC& dc, const wxRect& rect,
494 int row, int col, bool isSelected) {
495 bool doSave = wxPyRestoreThread();
496 if (m_myInst.findCallback("Draw")) {
497 m_myInst.callCallback(
498 Py_BuildValue("(OOOOiii)",
499 wxPyConstructObject((void*)&grid, "wxGrid"),
500 wxPyConstructObject((void*)&attr, "wxGridCellAttr"),
501 wxPyConstructObject((void*)&dc, "wxDC"),
502 wxPyConstructObject((void*)&rect, "wxRect"),
503 row, col, isSelected));
504 }
505 wxPySaveThread(doSave);
506 }
507
508 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
509 int row, int col) {
510 wxSize rval;
511 bool doSave = wxPyRestoreThread();
512 if (m_myInst.findCallback("GetBestSize")) {
513 PyObject* ro;
514 wxSize* ptr;
515 ro = m_myInst.callCallbackObj(
516 Py_BuildValue("(OOOii)",
517 wxPyConstructObject((void*)&grid, "wxGrid"),
518 wxPyConstructObject((void*)&attr, "wxGridCellAttr"),
519 wxPyConstructObject((void*)&dc, "wxDC"),
520 row, col));
521 if (ro) {
522 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
523 rval = *ptr;
524 Py_DECREF(ro);
525 }
526 }
527 wxPySaveThread(doSave);
528 return rval;
529 }
530
531
532 wxGridCellRenderer *Clone() const {
533 wxGridCellRenderer* rval = NULL;
534 bool doSave = wxPyRestoreThread();
535 if (m_myInst.findCallback("Clone")) {
536 PyObject* ro;
537 wxGridCellRenderer* ptr;
538 ro = m_myInst.callCallbackObj(Py_BuildValue("()"));
539 if (ro) {
540 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
541 rval = ptr;
542 Py_DECREF(ro);
543 }
544 }
545 wxPySaveThread(doSave);
546 return rval;
547 }
548
549 DEC_PYCALLBACK__STRING(SetParameters);
550
551 PYPRIVATE;
552};
553
554IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
555
556
557class wxPyGridCellEditor : public wxGridCellEditor
558{
559public:
560 wxPyGridCellEditor() : wxGridCellEditor() {}
561
562 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
563 bool doSave = wxPyRestoreThread();
564 if (m_myInst.findCallback("Create")) {
565 m_myInst.callCallback(
566 Py_BuildValue("(OiO)",
567 wxPyConstructObject((void*)parent, "wxWindow"),
568 id,
569 wxPyConstructObject((void*)evtHandler, "wxEvtHandler")));
570 }
571 wxPySaveThread(doSave);
572 }
573
574
575 void BeginEdit(int row, int col, wxGrid* grid) {
576 bool doSave = wxPyRestoreThread();
577 if (m_myInst.findCallback("BeginEdit")) {
578 m_myInst.callCallback(
579 Py_BuildValue("(iiO)", row, col,
580 wxPyConstructObject((void*)grid, "wxGrid")));
581 }
582 wxPySaveThread(doSave);
583 }
584
585
586 bool EndEdit(int row, int col, wxGrid* grid) {
587 bool rv = FALSE;
588 bool doSave = wxPyRestoreThread();
589 if (m_myInst.findCallback("EndEdit")) {
590 rv = m_myInst.callCallback(
591 Py_BuildValue("(iiO)", row, col,
592 wxPyConstructObject((void*)grid, "wxGrid")));
593 }
594 wxPySaveThread(doSave);
595 return rv;
596 }
597
598
c368d904 599 wxGridCellEditor*Clone() const {
f6bcfd97
BP
600 wxGridCellEditor* rval = NULL;
601 bool doSave = wxPyRestoreThread();
602 if (m_myInst.findCallback("Clone")) {
603 PyObject* ro;
604 wxGridCellEditor* ptr;
605 ro = m_myInst.callCallbackObj(Py_BuildValue("()"));
606 if (ro) {
607 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
608 rval = ptr;
609 Py_DECREF(ro);
610 }
611 }
612 wxPySaveThread(doSave);
613 return rval;
614 }
615
616
617 void Show(bool show, wxGridCellAttr *attr) {
618 bool doSave = wxPyRestoreThread();
619 if (m_myInst.findCallback("Show"))
620 m_myInst.callCallback(
621 Py_BuildValue("(iO)", show,
622 wxPyConstructObject((void*)attr, "wxGridCellAttr")));
623 else
624 wxGridCellEditor::Show(show, attr);
625 wxPySaveThread(doSave);
626 }
627 void base_Show(bool show, wxGridCellAttr *attr) {
628 wxGridCellEditor::Show(show, attr);
629 }
630
631
632 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
633 bool doSave = wxPyRestoreThread();
634 if (m_myInst.findCallback("PaintBackground"))
635 m_myInst.callCallback(
636 Py_BuildValue("(OO)",
637 wxPyConstructObject((void*)&rectCell, "wxRect"),
638 wxPyConstructObject((void*)attr, "wxGridCellAttr")));
639 else
640 wxGridCellEditor::PaintBackground(rectCell, attr);
641 wxPySaveThread(doSave);
642 }
643 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
644 wxGridCellEditor::PaintBackground(rectCell, attr);
645 }
646
647
648 DEC_PYCALLBACK___pure(Reset);
649 DEC_PYCALLBACK__constany(SetSize, wxRect);
650 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
651 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
652 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
653 DEC_PYCALLBACK__(StartingClick);
654 DEC_PYCALLBACK__(Destroy);
655 DEC_PYCALLBACK__STRING(SetParameters);
656
657 PYPRIVATE;
658};
659
660
661IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
662IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
663IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
664IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
665IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
666IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
667IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
668IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
669
670
671class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
672{
673public:
674 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
675
676 PYCALLBACK_GCA_INTINT(wxGridCellAttrProvider, GetAttr);
677 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
678 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
679 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
680
681 PYPRIVATE;
682};
683
684class wxPyGridTableBase : public wxGridTableBase
685{
686public:
687 wxPyGridTableBase() : wxGridTableBase() {}
688
689 PYCALLBACK_INT__pure(GetNumberRows);
690 PYCALLBACK_INT__pure(GetNumberCols);
691 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
692 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
693 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
694 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
695 PYCALLBACK__(wxGridTableBase, Clear);
696 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
697 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
698 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
699 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
700 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
701 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
702 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
703 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
704 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
705 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
706 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
707 PYCALLBACK_GCA_INTINT(wxGridTableBase, GetAttr);
708 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
709 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
710 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
711
712
713
714 wxString GetValue(int row, int col) {
715 bool doSave = wxPyRestoreThread();
716 wxString rval;
717 if (m_myInst.findCallback("GetValue")) {
718 PyObject* ro;
719 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",row,col));
720 if (ro) {
721 rval = PyString_AsString(PyObject_Str(ro));
722 Py_DECREF(ro);
723 }
724 }
725 wxPySaveThread(doSave);
726 return rval;
727 }
728
729 void SetValue(int row, int col, const wxString& val) {
730 bool doSave = wxPyRestoreThread();
731 if (m_myInst.findCallback("SetValue"))
732 m_myInst.callCallback(Py_BuildValue("(iis)",row,col,val.c_str()));
733 wxPySaveThread(doSave);
734 }
735
736
737 // Map the Get/Set methods for the standard non-string types to
738 // the GetValue and SetValue python methods.
739 long GetValueAsLong( int row, int col ) {
740 long rval = 0;
741 bool doSave = wxPyRestoreThread();
742 if (m_myInst.findCallback("GetValue")) {
743 PyObject* ro;
744 PyObject* num;
745 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)", row, col));
746 if (ro && PyNumber_Check(ro)) {
747 num = PyNumber_Int(ro);
748 if (num) {
749 rval = PyInt_AsLong(num);
750 Py_DECREF(num);
751 }
752 Py_DECREF(ro);
753 }
754 }
755 wxPySaveThread(doSave);
756 return rval;
757 }
758
759 double GetValueAsDouble( int row, int col ) {
760 double rval = 0.0;
761 bool doSave = wxPyRestoreThread();
762 if (m_myInst.findCallback("GetValue")) {
763 PyObject* ro;
764 PyObject* num;
765 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)", row, col));
766 if (ro && PyNumber_Check(ro)) {
767 num = PyNumber_Float(ro);
768 if (num) {
769 rval = PyFloat_AsDouble(num);
770 Py_DECREF(num);
771 }
772 Py_DECREF(ro);
773 }
774 }
775 wxPySaveThread(doSave);
776 return rval;
777 }
778
779 bool GetValueAsBool( int row, int col ) {
780 return (bool)GetValueAsLong(row, col);
781 }
782
783 void SetValueAsLong( int row, int col, long value ) {
784 bool doSave = wxPyRestoreThread();
785 if (m_myInst.findCallback("SetValue")) {
786 m_myInst.callCallback(Py_BuildValue("(iii)", row, col, value));
787 }
788 wxPySaveThread(doSave);
789 }
790
791 void SetValueAsDouble( int row, int col, double value ) {
792 bool doSave = wxPyRestoreThread();
793 if (m_myInst.findCallback("SetValue")) {
794 m_myInst.callCallback(Py_BuildValue("(iid)", row, col, value));
795 }
796 wxPySaveThread(doSave);
797 }
798
799 void SetValueAsBool( int row, int col, bool value ) {
800 SetValueAsLong( row, col, (long)value );
801 }
802
803
804 PYPRIVATE;
805};
806
807bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
808
809 // If source is an object instance then it may already be the right type
810 if (PyInstance_Check(source)) {
811 wxGridCellCoords* ptr;
812 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
813 goto error;
814 *obj = ptr;
815 return TRUE;
816 }
817 // otherwise a 2-tuple of integers is expected
818 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
819 PyObject* o1 = PySequence_GetItem(source, 0);
820 PyObject* o2 = PySequence_GetItem(source, 1);
821 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
822 return TRUE;
823 }
824
825 error:
826 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
827 return FALSE;
828}
829
830typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
831#ifdef __cplusplus
832extern "C" {
833#endif
834static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
835
836 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
837 return 1;
838}
839
840static PyObject *_wrap_wxGridNoCellCoords_get() {
841 PyObject * pyobj;
842 char ptemp[128];
843
844 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
845 pyobj = PyString_FromString(ptemp);
846 return pyobj;
847}
848
849static int _wrap_wxGridNoCellRect_set(PyObject *val) {
850
851 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
852 return 1;
853}
854
855static PyObject *_wrap_wxGridNoCellRect_get() {
856 PyObject * pyobj;
857 char ptemp[128];
858
859 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
860 pyobj = PyString_FromString(ptemp);
861 return pyobj;
862}
863
864#define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
865static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
866 PyObject * _resultobj;
867 wxGridCellRenderer * _arg0;
868 wxString * _arg1;
869 PyObject * _argo0 = 0;
870 PyObject * _obj1 = 0;
871 char *_kwnames[] = { "self","params", NULL };
872
873 self = self;
874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
875 return NULL;
876 if (_argo0) {
877 if (_argo0 == Py_None) { _arg0 = NULL; }
878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
880 return NULL;
881 }
882 }
883{
185d7c3e
RD
884#if PYTHON_API_VERSION >= 1009
885 char* tmpPtr; int tmpSize;
886 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
887 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
888 return NULL;
889 }
890 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
891 return NULL;
892 _arg1 = new wxString(tmpPtr, tmpSize);
893#else
f6bcfd97
BP
894 if (!PyString_Check(_obj1)) {
895 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
896 return NULL;
897 }
185d7c3e
RD
898 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
899#endif
f6bcfd97
BP
900}
901{
902 wxPy_BEGIN_ALLOW_THREADS;
903 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
904
905 wxPy_END_ALLOW_THREADS;
906} Py_INCREF(Py_None);
907 _resultobj = Py_None;
908{
909 if (_obj1)
910 delete _arg1;
911}
912 return _resultobj;
913}
914
915#define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
916static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
917 PyObject * _resultobj;
918 wxGridCellRenderer * _arg0;
919 PyObject * _argo0 = 0;
920 char *_kwnames[] = { "self", NULL };
921
922 self = self;
923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
924 return NULL;
925 if (_argo0) {
926 if (_argo0 == Py_None) { _arg0 = NULL; }
927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
929 return NULL;
930 }
931 }
932{
933 wxPy_BEGIN_ALLOW_THREADS;
934 wxGridCellRenderer_IncRef(_arg0);
935
936 wxPy_END_ALLOW_THREADS;
937} Py_INCREF(Py_None);
938 _resultobj = Py_None;
939 return _resultobj;
940}
941
942#define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
943static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
944 PyObject * _resultobj;
945 wxGridCellRenderer * _arg0;
946 PyObject * _argo0 = 0;
947 char *_kwnames[] = { "self", NULL };
948
949 self = self;
950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
951 return NULL;
952 if (_argo0) {
953 if (_argo0 == Py_None) { _arg0 = NULL; }
954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
956 return NULL;
957 }
958 }
959{
960 wxPy_BEGIN_ALLOW_THREADS;
961 wxGridCellRenderer_DecRef(_arg0);
962
963 wxPy_END_ALLOW_THREADS;
964} Py_INCREF(Py_None);
965 _resultobj = Py_None;
966 return _resultobj;
967}
968
969#define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
970static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
971 PyObject * _resultobj;
972 wxGridCellRenderer * _arg0;
973 wxGrid * _arg1;
974 wxGridCellAttr * _arg2;
975 wxDC * _arg3;
976 wxRect * _arg4;
977 int _arg5;
978 int _arg6;
979 bool _arg7;
980 PyObject * _argo0 = 0;
981 PyObject * _argo1 = 0;
982 PyObject * _argo2 = 0;
983 PyObject * _argo3 = 0;
984 wxRect temp;
985 PyObject * _obj4 = 0;
986 int tempbool7;
987 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
988
989 self = self;
990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
991 return NULL;
992 if (_argo0) {
993 if (_argo0 == Py_None) { _arg0 = NULL; }
994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
996 return NULL;
997 }
998 }
999 if (_argo1) {
1000 if (_argo1 == Py_None) { _arg1 = NULL; }
1001 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1002 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1003 return NULL;
1004 }
1005 }
1006 if (_argo2) {
1007 if (_argo2 == Py_None) { _arg2 = NULL; }
1008 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1009 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1010 return NULL;
1011 }
1012 }
1013 if (_argo3) {
1014 if (_argo3 == Py_None) { _arg3 = NULL; }
1015 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1016 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1017 return NULL;
1018 }
1019 }
1020{
1021 _arg4 = &temp;
1022 if (! wxRect_helper(_obj4, &_arg4))
1023 return NULL;
1024}
1025 _arg7 = (bool ) tempbool7;
1026{
1027 wxPy_BEGIN_ALLOW_THREADS;
1028 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1029
1030 wxPy_END_ALLOW_THREADS;
1031} Py_INCREF(Py_None);
1032 _resultobj = Py_None;
1033 return _resultobj;
1034}
1035
1036#define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1037static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1038 PyObject * _resultobj;
1039 wxSize * _result;
1040 wxGridCellRenderer * _arg0;
1041 wxGrid * _arg1;
1042 wxGridCellAttr * _arg2;
1043 wxDC * _arg3;
1044 int _arg4;
1045 int _arg5;
1046 PyObject * _argo0 = 0;
1047 PyObject * _argo1 = 0;
1048 PyObject * _argo2 = 0;
1049 PyObject * _argo3 = 0;
1050 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1051 char _ptemp[128];
1052
1053 self = self;
1054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1055 return NULL;
1056 if (_argo0) {
1057 if (_argo0 == Py_None) { _arg0 = NULL; }
1058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1060 return NULL;
1061 }
1062 }
1063 if (_argo1) {
1064 if (_argo1 == Py_None) { _arg1 = NULL; }
1065 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1066 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1067 return NULL;
1068 }
1069 }
1070 if (_argo2) {
1071 if (_argo2 == Py_None) { _arg2 = NULL; }
1072 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1073 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1074 return NULL;
1075 }
1076 }
1077 if (_argo3) {
1078 if (_argo3 == Py_None) { _arg3 = NULL; }
1079 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1080 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1081 return NULL;
1082 }
1083 }
1084{
1085 wxPy_BEGIN_ALLOW_THREADS;
1086 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1087
1088 wxPy_END_ALLOW_THREADS;
1089} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1090 _resultobj = Py_BuildValue("s",_ptemp);
1091 return _resultobj;
1092}
1093
1094#define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1095static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1096 PyObject * _resultobj;
1097 wxGridCellRenderer * _result;
1098 wxGridCellRenderer * _arg0;
1099 PyObject * _argo0 = 0;
1100 char *_kwnames[] = { "self", NULL };
1101 char _ptemp[128];
1102
1103 self = self;
1104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1105 return NULL;
1106 if (_argo0) {
1107 if (_argo0 == Py_None) { _arg0 = NULL; }
1108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1110 return NULL;
1111 }
1112 }
1113{
1114 wxPy_BEGIN_ALLOW_THREADS;
1115 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1116
1117 wxPy_END_ALLOW_THREADS;
1118} if (_result) {
1119 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1120 _resultobj = Py_BuildValue("s",_ptemp);
1121 } else {
1122 Py_INCREF(Py_None);
1123 _resultobj = Py_None;
1124 }
1125 return _resultobj;
1126}
1127
1128static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1129 wxPyGridCellRenderer *src;
1130 wxGridCellRenderer *dest;
1131 src = (wxPyGridCellRenderer *) ptr;
1132 dest = (wxGridCellRenderer *) src;
1133 return (void *) dest;
1134}
1135
1136#define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1137static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1138 PyObject * _resultobj;
1139 wxPyGridCellRenderer * _result;
1140 char *_kwnames[] = { NULL };
1141 char _ptemp[128];
1142
1143 self = self;
1144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1145 return NULL;
1146{
1147 wxPy_BEGIN_ALLOW_THREADS;
1148 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1149
1150 wxPy_END_ALLOW_THREADS;
1151} if (_result) {
1152 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1153 _resultobj = Py_BuildValue("s",_ptemp);
1154 } else {
1155 Py_INCREF(Py_None);
1156 _resultobj = Py_None;
1157 }
1158 return _resultobj;
1159}
1160
1161#define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1162static PyObject *_wrap_wxPyGridCellRenderer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject * _resultobj;
1164 wxPyGridCellRenderer * _arg0;
1165 PyObject * _arg1;
1166 PyObject * _arg2;
1167 PyObject * _argo0 = 0;
1168 PyObject * _obj1 = 0;
1169 PyObject * _obj2 = 0;
1170 char *_kwnames[] = { "self","self","_class", NULL };
1171
1172 self = self;
1173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1174 return NULL;
1175 if (_argo0) {
1176 if (_argo0 == Py_None) { _arg0 = NULL; }
1177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1179 return NULL;
1180 }
1181 }
1182{
1183 _arg1 = _obj1;
1184}
1185{
1186 _arg2 = _obj2;
1187}
1188{
1189 wxPy_BEGIN_ALLOW_THREADS;
1190 wxPyGridCellRenderer__setSelf(_arg0,_arg1,_arg2);
1191
1192 wxPy_END_ALLOW_THREADS;
1193} Py_INCREF(Py_None);
1194 _resultobj = Py_None;
1195 return _resultobj;
1196}
1197
1198#define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1199static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1200 PyObject * _resultobj;
1201 wxPyGridCellRenderer * _arg0;
1202 wxString * _arg1;
1203 PyObject * _argo0 = 0;
1204 PyObject * _obj1 = 0;
1205 char *_kwnames[] = { "self","params", NULL };
1206
1207 self = self;
1208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1209 return NULL;
1210 if (_argo0) {
1211 if (_argo0 == Py_None) { _arg0 = NULL; }
1212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1214 return NULL;
1215 }
1216 }
1217{
185d7c3e
RD
1218#if PYTHON_API_VERSION >= 1009
1219 char* tmpPtr; int tmpSize;
1220 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1221 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1222 return NULL;
1223 }
1224 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1225 return NULL;
1226 _arg1 = new wxString(tmpPtr, tmpSize);
1227#else
f6bcfd97
BP
1228 if (!PyString_Check(_obj1)) {
1229 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1230 return NULL;
1231 }
185d7c3e
RD
1232 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1233#endif
f6bcfd97
BP
1234}
1235{
1236 wxPy_BEGIN_ALLOW_THREADS;
1237 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1238
1239 wxPy_END_ALLOW_THREADS;
1240} Py_INCREF(Py_None);
1241 _resultobj = Py_None;
1242{
1243 if (_obj1)
1244 delete _arg1;
1245}
1246 return _resultobj;
1247}
1248
1249static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1250 wxGridCellStringRenderer *src;
1251 wxGridCellRenderer *dest;
1252 src = (wxGridCellStringRenderer *) ptr;
1253 dest = (wxGridCellRenderer *) src;
1254 return (void *) dest;
1255}
1256
1257#define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1258static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1259 PyObject * _resultobj;
1260 wxGridCellStringRenderer * _result;
1261 char *_kwnames[] = { NULL };
1262 char _ptemp[128];
1263
1264 self = self;
1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1266 return NULL;
1267{
1268 wxPy_BEGIN_ALLOW_THREADS;
1269 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1270
1271 wxPy_END_ALLOW_THREADS;
1272} if (_result) {
1273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1274 _resultobj = Py_BuildValue("s",_ptemp);
1275 } else {
1276 Py_INCREF(Py_None);
1277 _resultobj = Py_None;
1278 }
1279 return _resultobj;
1280}
1281
1282static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1283 wxGridCellNumberRenderer *src;
1284 wxGridCellStringRenderer *dest;
1285 src = (wxGridCellNumberRenderer *) ptr;
1286 dest = (wxGridCellStringRenderer *) src;
1287 return (void *) dest;
1288}
1289
1290static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1291 wxGridCellNumberRenderer *src;
1292 wxGridCellRenderer *dest;
1293 src = (wxGridCellNumberRenderer *) ptr;
1294 dest = (wxGridCellRenderer *) src;
1295 return (void *) dest;
1296}
1297
1298#define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1299static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject * _resultobj;
1301 wxGridCellNumberRenderer * _result;
1302 char *_kwnames[] = { NULL };
1303 char _ptemp[128];
1304
1305 self = self;
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1307 return NULL;
1308{
1309 wxPy_BEGIN_ALLOW_THREADS;
1310 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1311
1312 wxPy_END_ALLOW_THREADS;
1313} if (_result) {
1314 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1315 _resultobj = Py_BuildValue("s",_ptemp);
1316 } else {
1317 Py_INCREF(Py_None);
1318 _resultobj = Py_None;
1319 }
1320 return _resultobj;
1321}
1322
1323static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1324 wxGridCellFloatRenderer *src;
1325 wxGridCellStringRenderer *dest;
1326 src = (wxGridCellFloatRenderer *) ptr;
1327 dest = (wxGridCellStringRenderer *) src;
1328 return (void *) dest;
1329}
1330
1331static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1332 wxGridCellFloatRenderer *src;
1333 wxGridCellRenderer *dest;
1334 src = (wxGridCellFloatRenderer *) ptr;
1335 dest = (wxGridCellRenderer *) src;
1336 return (void *) dest;
1337}
1338
1339#define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1340static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1341 PyObject * _resultobj;
1342 wxGridCellFloatRenderer * _result;
1343 int _arg0 = (int ) -1;
1344 int _arg1 = (int ) -1;
1345 char *_kwnames[] = { "width","precision", NULL };
1346 char _ptemp[128];
1347
1348 self = self;
1349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1350 return NULL;
1351{
1352 wxPy_BEGIN_ALLOW_THREADS;
1353 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1354
1355 wxPy_END_ALLOW_THREADS;
1356} if (_result) {
1357 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1358 _resultobj = Py_BuildValue("s",_ptemp);
1359 } else {
1360 Py_INCREF(Py_None);
1361 _resultobj = Py_None;
1362 }
1363 return _resultobj;
1364}
1365
1366#define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1367static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject * _resultobj;
1369 int _result;
1370 wxGridCellFloatRenderer * _arg0;
1371 PyObject * _argo0 = 0;
1372 char *_kwnames[] = { "self", NULL };
1373
1374 self = self;
1375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1376 return NULL;
1377 if (_argo0) {
1378 if (_argo0 == Py_None) { _arg0 = NULL; }
1379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1381 return NULL;
1382 }
1383 }
1384{
1385 wxPy_BEGIN_ALLOW_THREADS;
1386 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1387
1388 wxPy_END_ALLOW_THREADS;
1389} _resultobj = Py_BuildValue("i",_result);
1390 return _resultobj;
1391}
1392
1393#define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1394static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject * _resultobj;
1396 wxGridCellFloatRenderer * _arg0;
1397 int _arg1;
1398 PyObject * _argo0 = 0;
1399 char *_kwnames[] = { "self","width", NULL };
1400
1401 self = self;
1402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1403 return NULL;
1404 if (_argo0) {
1405 if (_argo0 == Py_None) { _arg0 = NULL; }
1406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1408 return NULL;
1409 }
1410 }
1411{
1412 wxPy_BEGIN_ALLOW_THREADS;
1413 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1414
1415 wxPy_END_ALLOW_THREADS;
1416} Py_INCREF(Py_None);
1417 _resultobj = Py_None;
1418 return _resultobj;
1419}
1420
1421#define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1422static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject * _resultobj;
1424 int _result;
1425 wxGridCellFloatRenderer * _arg0;
1426 PyObject * _argo0 = 0;
1427 char *_kwnames[] = { "self", NULL };
1428
1429 self = self;
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1431 return NULL;
1432 if (_argo0) {
1433 if (_argo0 == Py_None) { _arg0 = NULL; }
1434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1436 return NULL;
1437 }
1438 }
1439{
1440 wxPy_BEGIN_ALLOW_THREADS;
1441 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1442
1443 wxPy_END_ALLOW_THREADS;
1444} _resultobj = Py_BuildValue("i",_result);
1445 return _resultobj;
1446}
1447
1448#define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1449static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1450 PyObject * _resultobj;
1451 wxGridCellFloatRenderer * _arg0;
1452 int _arg1;
1453 PyObject * _argo0 = 0;
1454 char *_kwnames[] = { "self","precision", NULL };
1455
1456 self = self;
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1458 return NULL;
1459 if (_argo0) {
1460 if (_argo0 == Py_None) { _arg0 = NULL; }
1461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1463 return NULL;
1464 }
1465 }
1466{
1467 wxPy_BEGIN_ALLOW_THREADS;
1468 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1469
1470 wxPy_END_ALLOW_THREADS;
1471} Py_INCREF(Py_None);
1472 _resultobj = Py_None;
1473 return _resultobj;
1474}
1475
1476static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1477 wxGridCellBoolRenderer *src;
1478 wxGridCellRenderer *dest;
1479 src = (wxGridCellBoolRenderer *) ptr;
1480 dest = (wxGridCellRenderer *) src;
1481 return (void *) dest;
1482}
1483
1484#define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1485static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject * _resultobj;
1487 wxGridCellBoolRenderer * _result;
1488 char *_kwnames[] = { NULL };
1489 char _ptemp[128];
1490
1491 self = self;
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1493 return NULL;
1494{
1495 wxPy_BEGIN_ALLOW_THREADS;
1496 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1497
1498 wxPy_END_ALLOW_THREADS;
1499} if (_result) {
1500 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1501 _resultobj = Py_BuildValue("s",_ptemp);
1502 } else {
1503 Py_INCREF(Py_None);
1504 _resultobj = Py_None;
1505 }
1506 return _resultobj;
1507}
1508
1509#define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1510static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1511 PyObject * _resultobj;
1512 bool _result;
1513 wxGridCellEditor * _arg0;
1514 PyObject * _argo0 = 0;
1515 char *_kwnames[] = { "self", NULL };
1516
1517 self = self;
1518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1519 return NULL;
1520 if (_argo0) {
1521 if (_argo0 == Py_None) { _arg0 = NULL; }
1522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1524 return NULL;
1525 }
1526 }
1527{
1528 wxPy_BEGIN_ALLOW_THREADS;
1529 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1530
1531 wxPy_END_ALLOW_THREADS;
1532} _resultobj = Py_BuildValue("i",_result);
1533 return _resultobj;
1534}
1535
1536#define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1537static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1538 PyObject * _resultobj;
1539 wxControl * _result;
1540 wxGridCellEditor * _arg0;
1541 PyObject * _argo0 = 0;
1542 char *_kwnames[] = { "self", NULL };
1543 char _ptemp[128];
1544
1545 self = self;
1546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1547 return NULL;
1548 if (_argo0) {
1549 if (_argo0 == Py_None) { _arg0 = NULL; }
1550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1552 return NULL;
1553 }
1554 }
1555{
1556 wxPy_BEGIN_ALLOW_THREADS;
1557 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1558
1559 wxPy_END_ALLOW_THREADS;
1560} if (_result) {
1561 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
1562 _resultobj = Py_BuildValue("s",_ptemp);
1563 } else {
1564 Py_INCREF(Py_None);
1565 _resultobj = Py_None;
1566 }
1567 return _resultobj;
1568}
1569
1570#define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1571static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1572 PyObject * _resultobj;
1573 wxGridCellEditor * _arg0;
1574 wxControl * _arg1;
1575 PyObject * _argo0 = 0;
1576 PyObject * _argo1 = 0;
1577 char *_kwnames[] = { "self","control", NULL };
1578
1579 self = self;
1580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1581 return NULL;
1582 if (_argo0) {
1583 if (_argo0 == Py_None) { _arg0 = NULL; }
1584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1586 return NULL;
1587 }
1588 }
1589 if (_argo1) {
1590 if (_argo1 == Py_None) { _arg1 = NULL; }
1591 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1592 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1593 return NULL;
1594 }
1595 }
1596{
1597 wxPy_BEGIN_ALLOW_THREADS;
1598 wxGridCellEditor_SetControl(_arg0,_arg1);
1599
1600 wxPy_END_ALLOW_THREADS;
1601} Py_INCREF(Py_None);
1602 _resultobj = Py_None;
1603 return _resultobj;
1604}
1605
1606#define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1607static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1608 PyObject * _resultobj;
1609 wxGridCellEditor * _arg0;
1610 wxString * _arg1;
1611 PyObject * _argo0 = 0;
1612 PyObject * _obj1 = 0;
1613 char *_kwnames[] = { "self","params", NULL };
1614
1615 self = self;
1616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1617 return NULL;
1618 if (_argo0) {
1619 if (_argo0 == Py_None) { _arg0 = NULL; }
1620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1622 return NULL;
1623 }
1624 }
1625{
185d7c3e
RD
1626#if PYTHON_API_VERSION >= 1009
1627 char* tmpPtr; int tmpSize;
1628 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1629 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1630 return NULL;
1631 }
1632 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1633 return NULL;
1634 _arg1 = new wxString(tmpPtr, tmpSize);
1635#else
f6bcfd97
BP
1636 if (!PyString_Check(_obj1)) {
1637 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1638 return NULL;
1639 }
185d7c3e
RD
1640 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1641#endif
f6bcfd97
BP
1642}
1643{
1644 wxPy_BEGIN_ALLOW_THREADS;
1645 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1646
1647 wxPy_END_ALLOW_THREADS;
1648} Py_INCREF(Py_None);
1649 _resultobj = Py_None;
1650{
1651 if (_obj1)
1652 delete _arg1;
1653}
1654 return _resultobj;
1655}
1656
1657#define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1658static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1659 PyObject * _resultobj;
1660 wxGridCellEditor * _arg0;
1661 PyObject * _argo0 = 0;
1662 char *_kwnames[] = { "self", NULL };
1663
1664 self = self;
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1666 return NULL;
1667 if (_argo0) {
1668 if (_argo0 == Py_None) { _arg0 = NULL; }
1669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1671 return NULL;
1672 }
1673 }
1674{
1675 wxPy_BEGIN_ALLOW_THREADS;
1676 wxGridCellEditor_IncRef(_arg0);
1677
1678 wxPy_END_ALLOW_THREADS;
1679} Py_INCREF(Py_None);
1680 _resultobj = Py_None;
1681 return _resultobj;
1682}
1683
1684#define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1685static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1686 PyObject * _resultobj;
1687 wxGridCellEditor * _arg0;
1688 PyObject * _argo0 = 0;
1689 char *_kwnames[] = { "self", NULL };
1690
1691 self = self;
1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1693 return NULL;
1694 if (_argo0) {
1695 if (_argo0 == Py_None) { _arg0 = NULL; }
1696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1698 return NULL;
1699 }
1700 }
1701{
1702 wxPy_BEGIN_ALLOW_THREADS;
1703 wxGridCellEditor_DecRef(_arg0);
1704
1705 wxPy_END_ALLOW_THREADS;
1706} Py_INCREF(Py_None);
1707 _resultobj = Py_None;
1708 return _resultobj;
1709}
1710
1711#define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1712static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1713 PyObject * _resultobj;
1714 wxGridCellEditor * _arg0;
1715 wxWindow * _arg1;
1716 wxWindowID _arg2;
1717 wxEvtHandler * _arg3;
1718 PyObject * _argo0 = 0;
1719 PyObject * _argo1 = 0;
1720 PyObject * _argo3 = 0;
1721 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1722
1723 self = self;
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1725 return NULL;
1726 if (_argo0) {
1727 if (_argo0 == Py_None) { _arg0 = NULL; }
1728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1730 return NULL;
1731 }
1732 }
1733 if (_argo1) {
1734 if (_argo1 == Py_None) { _arg1 = NULL; }
1735 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1736 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1737 return NULL;
1738 }
1739 }
1740 if (_argo3) {
1741 if (_argo3 == Py_None) { _arg3 = NULL; }
1742 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1743 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1744 return NULL;
1745 }
1746 }
1747{
1748 wxPy_BEGIN_ALLOW_THREADS;
1749 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1750
1751 wxPy_END_ALLOW_THREADS;
1752} Py_INCREF(Py_None);
1753 _resultobj = Py_None;
1754 return _resultobj;
1755}
1756
1757#define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1758static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1759 PyObject * _resultobj;
1760 wxGridCellEditor * _arg0;
1761 int _arg1;
1762 int _arg2;
1763 wxGrid * _arg3;
1764 PyObject * _argo0 = 0;
1765 PyObject * _argo3 = 0;
1766 char *_kwnames[] = { "self","row","col","grid", NULL };
1767
1768 self = self;
1769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1770 return NULL;
1771 if (_argo0) {
1772 if (_argo0 == Py_None) { _arg0 = NULL; }
1773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1775 return NULL;
1776 }
1777 }
1778 if (_argo3) {
1779 if (_argo3 == Py_None) { _arg3 = NULL; }
1780 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1781 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1782 return NULL;
1783 }
1784 }
1785{
1786 wxPy_BEGIN_ALLOW_THREADS;
1787 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1788
1789 wxPy_END_ALLOW_THREADS;
1790} Py_INCREF(Py_None);
1791 _resultobj = Py_None;
1792 return _resultobj;
1793}
1794
1795#define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1796static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1797 PyObject * _resultobj;
1798 bool _result;
1799 wxGridCellEditor * _arg0;
1800 int _arg1;
1801 int _arg2;
1802 wxGrid * _arg3;
1803 PyObject * _argo0 = 0;
1804 PyObject * _argo3 = 0;
1805 char *_kwnames[] = { "self","row","col","grid", NULL };
1806
1807 self = self;
1808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1809 return NULL;
1810 if (_argo0) {
1811 if (_argo0 == Py_None) { _arg0 = NULL; }
1812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1814 return NULL;
1815 }
1816 }
1817 if (_argo3) {
1818 if (_argo3 == Py_None) { _arg3 = NULL; }
1819 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1820 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1821 return NULL;
1822 }
1823 }
1824{
1825 wxPy_BEGIN_ALLOW_THREADS;
1826 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1827
1828 wxPy_END_ALLOW_THREADS;
1829} _resultobj = Py_BuildValue("i",_result);
1830 return _resultobj;
1831}
1832
1833#define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1834static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject * _resultobj;
1836 wxGridCellEditor * _arg0;
1837 PyObject * _argo0 = 0;
1838 char *_kwnames[] = { "self", NULL };
1839
1840 self = self;
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
1842 return NULL;
1843 if (_argo0) {
1844 if (_argo0 == Py_None) { _arg0 = NULL; }
1845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1847 return NULL;
1848 }
1849 }
1850{
1851 wxPy_BEGIN_ALLOW_THREADS;
1852 wxGridCellEditor_Reset(_arg0);
1853
1854 wxPy_END_ALLOW_THREADS;
1855} Py_INCREF(Py_None);
1856 _resultobj = Py_None;
1857 return _resultobj;
1858}
1859
1860#define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1861static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1862 PyObject * _resultobj;
1863 wxGridCellEditor * _result;
1864 wxGridCellEditor * _arg0;
1865 PyObject * _argo0 = 0;
1866 char *_kwnames[] = { "self", NULL };
1867 char _ptemp[128];
1868
1869 self = self;
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
1871 return NULL;
1872 if (_argo0) {
1873 if (_argo0 == Py_None) { _arg0 = NULL; }
1874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1876 return NULL;
1877 }
1878 }
1879{
1880 wxPy_BEGIN_ALLOW_THREADS;
1881 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
1882
1883 wxPy_END_ALLOW_THREADS;
1884} if (_result) {
1885 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
1886 _resultobj = Py_BuildValue("s",_ptemp);
1887 } else {
1888 Py_INCREF(Py_None);
1889 _resultobj = Py_None;
1890 }
1891 return _resultobj;
1892}
1893
1894#define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1895static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1896 PyObject * _resultobj;
1897 wxGridCellEditor * _arg0;
1898 wxRect * _arg1;
1899 PyObject * _argo0 = 0;
1900 wxRect temp;
1901 PyObject * _obj1 = 0;
1902 char *_kwnames[] = { "self","rect", NULL };
1903
1904 self = self;
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
1906 return NULL;
1907 if (_argo0) {
1908 if (_argo0 == Py_None) { _arg0 = NULL; }
1909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1911 return NULL;
1912 }
1913 }
1914{
1915 _arg1 = &temp;
1916 if (! wxRect_helper(_obj1, &_arg1))
1917 return NULL;
1918}
1919{
1920 wxPy_BEGIN_ALLOW_THREADS;
1921 wxGridCellEditor_SetSize(_arg0,*_arg1);
1922
1923 wxPy_END_ALLOW_THREADS;
1924} Py_INCREF(Py_None);
1925 _resultobj = Py_None;
1926 return _resultobj;
1927}
1928
1929#define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1930static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1931 PyObject * _resultobj;
1932 wxGridCellEditor * _arg0;
1933 bool _arg1;
1934 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
1935 PyObject * _argo0 = 0;
1936 int tempbool1;
1937 PyObject * _argo2 = 0;
1938 char *_kwnames[] = { "self","show","attr", NULL };
1939
1940 self = self;
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
1942 return NULL;
1943 if (_argo0) {
1944 if (_argo0 == Py_None) { _arg0 = NULL; }
1945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1947 return NULL;
1948 }
1949 }
1950 _arg1 = (bool ) tempbool1;
1951 if (_argo2) {
1952 if (_argo2 == Py_None) { _arg2 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1955 return NULL;
1956 }
1957 }
1958{
1959 wxPy_BEGIN_ALLOW_THREADS;
1960 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
1961
1962 wxPy_END_ALLOW_THREADS;
1963} Py_INCREF(Py_None);
1964 _resultobj = Py_None;
1965 return _resultobj;
1966}
1967
1968#define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1969static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1970 PyObject * _resultobj;
1971 wxGridCellEditor * _arg0;
1972 wxRect * _arg1;
1973 wxGridCellAttr * _arg2;
1974 PyObject * _argo0 = 0;
1975 wxRect temp;
1976 PyObject * _obj1 = 0;
1977 PyObject * _argo2 = 0;
1978 char *_kwnames[] = { "self","rectCell","attr", NULL };
1979
1980 self = self;
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
1982 return NULL;
1983 if (_argo0) {
1984 if (_argo0 == Py_None) { _arg0 = NULL; }
1985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
1987 return NULL;
1988 }
1989 }
1990{
1991 _arg1 = &temp;
1992 if (! wxRect_helper(_obj1, &_arg1))
1993 return NULL;
1994}
1995 if (_argo2) {
1996 if (_argo2 == Py_None) { _arg2 = NULL; }
1997 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1998 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
1999 return NULL;
2000 }
2001 }
2002{
2003 wxPy_BEGIN_ALLOW_THREADS;
2004 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2005
2006 wxPy_END_ALLOW_THREADS;
2007} Py_INCREF(Py_None);
2008 _resultobj = Py_None;
2009 return _resultobj;
2010}
2011
2012#define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2013static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2014 PyObject * _resultobj;
2015 bool _result;
2016 wxGridCellEditor * _arg0;
2017 wxKeyEvent * _arg1;
2018 PyObject * _argo0 = 0;
2019 PyObject * _argo1 = 0;
2020 char *_kwnames[] = { "self","event", NULL };
2021
2022 self = self;
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2024 return NULL;
2025 if (_argo0) {
2026 if (_argo0 == Py_None) { _arg0 = NULL; }
2027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2029 return NULL;
2030 }
2031 }
2032 if (_argo1) {
2033 if (_argo1 == Py_None) { _arg1 = NULL; }
2034 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2035 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2036 return NULL;
2037 }
2038 }
2039{
2040 wxPy_BEGIN_ALLOW_THREADS;
2041 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2042
2043 wxPy_END_ALLOW_THREADS;
2044} _resultobj = Py_BuildValue("i",_result);
2045 return _resultobj;
2046}
2047
2048#define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2049static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2050 PyObject * _resultobj;
2051 wxGridCellEditor * _arg0;
2052 wxKeyEvent * _arg1;
2053 PyObject * _argo0 = 0;
2054 PyObject * _argo1 = 0;
2055 char *_kwnames[] = { "self","event", NULL };
2056
2057 self = self;
2058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
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_StartingKey. Expected _wxGridCellEditor_p.");
2064 return NULL;
2065 }
2066 }
2067 if (_argo1) {
2068 if (_argo1 == Py_None) { _arg1 = NULL; }
2069 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2070 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2071 return NULL;
2072 }
2073 }
2074{
2075 wxPy_BEGIN_ALLOW_THREADS;
2076 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2077
2078 wxPy_END_ALLOW_THREADS;
2079} Py_INCREF(Py_None);
2080 _resultobj = Py_None;
2081 return _resultobj;
2082}
2083
2084#define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2085static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2086 PyObject * _resultobj;
2087 wxGridCellEditor * _arg0;
2088 PyObject * _argo0 = 0;
2089 char *_kwnames[] = { "self", NULL };
2090
2091 self = self;
2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2093 return NULL;
2094 if (_argo0) {
2095 if (_argo0 == Py_None) { _arg0 = NULL; }
2096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2098 return NULL;
2099 }
2100 }
2101{
2102 wxPy_BEGIN_ALLOW_THREADS;
2103 wxGridCellEditor_StartingClick(_arg0);
2104
2105 wxPy_END_ALLOW_THREADS;
2106} Py_INCREF(Py_None);
2107 _resultobj = Py_None;
2108 return _resultobj;
2109}
2110
2111#define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2112static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2113 PyObject * _resultobj;
2114 wxGridCellEditor * _arg0;
2115 wxKeyEvent * _arg1;
2116 PyObject * _argo0 = 0;
2117 PyObject * _argo1 = 0;
2118 char *_kwnames[] = { "self","event", NULL };
2119
2120 self = self;
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
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_HandleReturn. Expected _wxGridCellEditor_p.");
2127 return NULL;
2128 }
2129 }
2130 if (_argo1) {
2131 if (_argo1 == Py_None) { _arg1 = NULL; }
2132 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2133 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2134 return NULL;
2135 }
2136 }
2137{
2138 wxPy_BEGIN_ALLOW_THREADS;
2139 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2140
2141 wxPy_END_ALLOW_THREADS;
2142} Py_INCREF(Py_None);
2143 _resultobj = Py_None;
2144 return _resultobj;
2145}
2146
2147#define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2148static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2149 PyObject * _resultobj;
2150 wxGridCellEditor * _arg0;
2151 PyObject * _argo0 = 0;
2152 char *_kwnames[] = { "self", NULL };
2153
2154 self = self;
2155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2156 return NULL;
2157 if (_argo0) {
2158 if (_argo0 == Py_None) { _arg0 = NULL; }
2159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2161 return NULL;
2162 }
2163 }
2164{
2165 wxPy_BEGIN_ALLOW_THREADS;
2166 wxGridCellEditor_Destroy(_arg0);
2167
2168 wxPy_END_ALLOW_THREADS;
2169} Py_INCREF(Py_None);
2170 _resultobj = Py_None;
2171 return _resultobj;
2172}
2173
2174static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2175 wxPyGridCellEditor *src;
2176 wxGridCellEditor *dest;
2177 src = (wxPyGridCellEditor *) ptr;
2178 dest = (wxGridCellEditor *) src;
2179 return (void *) dest;
2180}
2181
2182#define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2183static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject * _resultobj;
2185 wxPyGridCellEditor * _result;
2186 char *_kwnames[] = { NULL };
2187 char _ptemp[128];
2188
2189 self = self;
2190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2191 return NULL;
2192{
2193 wxPy_BEGIN_ALLOW_THREADS;
2194 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2195
2196 wxPy_END_ALLOW_THREADS;
2197} if (_result) {
2198 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2199 _resultobj = Py_BuildValue("s",_ptemp);
2200 } else {
2201 Py_INCREF(Py_None);
2202 _resultobj = Py_None;
2203 }
2204 return _resultobj;
2205}
2206
2207#define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2208static PyObject *_wrap_wxPyGridCellEditor__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2209 PyObject * _resultobj;
2210 wxPyGridCellEditor * _arg0;
2211 PyObject * _arg1;
2212 PyObject * _arg2;
2213 PyObject * _argo0 = 0;
2214 PyObject * _obj1 = 0;
2215 PyObject * _obj2 = 0;
2216 char *_kwnames[] = { "self","self","_class", NULL };
2217
2218 self = self;
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
2220 return NULL;
2221 if (_argo0) {
2222 if (_argo0 == Py_None) { _arg0 = NULL; }
2223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2225 return NULL;
2226 }
2227 }
2228{
2229 _arg1 = _obj1;
2230}
2231{
2232 _arg2 = _obj2;
2233}
2234{
2235 wxPy_BEGIN_ALLOW_THREADS;
2236 wxPyGridCellEditor__setSelf(_arg0,_arg1,_arg2);
2237
2238 wxPy_END_ALLOW_THREADS;
2239} Py_INCREF(Py_None);
2240 _resultobj = Py_None;
2241 return _resultobj;
2242}
2243
2244#define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2245static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2246 PyObject * _resultobj;
2247 wxPyGridCellEditor * _arg0;
2248 wxRect * _arg1;
2249 PyObject * _argo0 = 0;
2250 wxRect temp;
2251 PyObject * _obj1 = 0;
2252 char *_kwnames[] = { "self","rect", NULL };
2253
2254 self = self;
2255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2256 return NULL;
2257 if (_argo0) {
2258 if (_argo0 == Py_None) { _arg0 = NULL; }
2259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2261 return NULL;
2262 }
2263 }
2264{
2265 _arg1 = &temp;
2266 if (! wxRect_helper(_obj1, &_arg1))
2267 return NULL;
2268}
2269{
2270 wxPy_BEGIN_ALLOW_THREADS;
2271 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2272
2273 wxPy_END_ALLOW_THREADS;
2274} Py_INCREF(Py_None);
2275 _resultobj = Py_None;
2276 return _resultobj;
2277}
2278
2279#define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2280static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2281 PyObject * _resultobj;
2282 wxPyGridCellEditor * _arg0;
2283 bool _arg1;
2284 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2285 PyObject * _argo0 = 0;
2286 int tempbool1;
2287 PyObject * _argo2 = 0;
2288 char *_kwnames[] = { "self","show","attr", NULL };
2289
2290 self = self;
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2292 return NULL;
2293 if (_argo0) {
2294 if (_argo0 == Py_None) { _arg0 = NULL; }
2295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2297 return NULL;
2298 }
2299 }
2300 _arg1 = (bool ) tempbool1;
2301 if (_argo2) {
2302 if (_argo2 == Py_None) { _arg2 = NULL; }
2303 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2304 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2305 return NULL;
2306 }
2307 }
2308{
2309 wxPy_BEGIN_ALLOW_THREADS;
2310 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2311
2312 wxPy_END_ALLOW_THREADS;
2313} Py_INCREF(Py_None);
2314 _resultobj = Py_None;
2315 return _resultobj;
2316}
2317
2318#define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2319static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject * _resultobj;
2321 wxPyGridCellEditor * _arg0;
2322 wxRect * _arg1;
2323 wxGridCellAttr * _arg2;
2324 PyObject * _argo0 = 0;
2325 wxRect temp;
2326 PyObject * _obj1 = 0;
2327 PyObject * _argo2 = 0;
2328 char *_kwnames[] = { "self","rectCell","attr", NULL };
2329
2330 self = self;
2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2332 return NULL;
2333 if (_argo0) {
2334 if (_argo0 == Py_None) { _arg0 = NULL; }
2335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2337 return NULL;
2338 }
2339 }
2340{
2341 _arg1 = &temp;
2342 if (! wxRect_helper(_obj1, &_arg1))
2343 return NULL;
2344}
2345 if (_argo2) {
2346 if (_argo2 == Py_None) { _arg2 = NULL; }
2347 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2348 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2349 return NULL;
2350 }
2351 }
2352{
2353 wxPy_BEGIN_ALLOW_THREADS;
2354 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2355
2356 wxPy_END_ALLOW_THREADS;
2357} Py_INCREF(Py_None);
2358 _resultobj = Py_None;
2359 return _resultobj;
2360}
2361
dbbb98cd
RD
2362#define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2363static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2364 PyObject * _resultobj;
2365 wxPyGridCellEditor * _arg0;
2366 wxKeyEvent * _arg1;
2367 PyObject * _argo0 = 0;
2368 PyObject * _argo1 = 0;
2369 char *_kwnames[] = { "self","event", NULL };
2370
2371 self = self;
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
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_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2378 return NULL;
2379 }
2380 }
2381 if (_argo1) {
2382 if (_argo1 == Py_None) { _arg1 = NULL; }
2383 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2384 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2385 return NULL;
2386 }
2387 }
2388{
2389 wxPy_BEGIN_ALLOW_THREADS;
2390 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2391
2392 wxPy_END_ALLOW_THREADS;
2393} Py_INCREF(Py_None);
2394 _resultobj = Py_None;
2395 return _resultobj;
2396}
2397
f6bcfd97
BP
2398#define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2399static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject * _resultobj;
2401 wxPyGridCellEditor * _arg0;
2402 wxKeyEvent * _arg1;
2403 PyObject * _argo0 = 0;
2404 PyObject * _argo1 = 0;
2405 char *_kwnames[] = { "self","event", NULL };
2406
2407 self = self;
2408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2409 return NULL;
2410 if (_argo0) {
2411 if (_argo0 == Py_None) { _arg0 = NULL; }
2412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2414 return NULL;
2415 }
2416 }
2417 if (_argo1) {
2418 if (_argo1 == Py_None) { _arg1 = NULL; }
2419 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2420 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2421 return NULL;
2422 }
2423 }
2424{
2425 wxPy_BEGIN_ALLOW_THREADS;
2426 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2427
2428 wxPy_END_ALLOW_THREADS;
2429} Py_INCREF(Py_None);
2430 _resultobj = Py_None;
2431 return _resultobj;
2432}
2433
2434#define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2435static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2436 PyObject * _resultobj;
2437 wxPyGridCellEditor * _arg0;
2438 PyObject * _argo0 = 0;
2439 char *_kwnames[] = { "self", NULL };
2440
2441 self = self;
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2443 return NULL;
2444 if (_argo0) {
2445 if (_argo0 == Py_None) { _arg0 = NULL; }
2446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2448 return NULL;
2449 }
2450 }
2451{
2452 wxPy_BEGIN_ALLOW_THREADS;
2453 wxPyGridCellEditor_base_StartingClick(_arg0);
2454
2455 wxPy_END_ALLOW_THREADS;
2456} Py_INCREF(Py_None);
2457 _resultobj = Py_None;
2458 return _resultobj;
2459}
2460
2461#define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2462static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2463 PyObject * _resultobj;
2464 wxPyGridCellEditor * _arg0;
2465 wxKeyEvent * _arg1;
2466 PyObject * _argo0 = 0;
2467 PyObject * _argo1 = 0;
2468 char *_kwnames[] = { "self","event", NULL };
2469
2470 self = self;
2471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2472 return NULL;
2473 if (_argo0) {
2474 if (_argo0 == Py_None) { _arg0 = NULL; }
2475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2477 return NULL;
2478 }
2479 }
2480 if (_argo1) {
2481 if (_argo1 == Py_None) { _arg1 = NULL; }
2482 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2483 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2484 return NULL;
2485 }
2486 }
2487{
2488 wxPy_BEGIN_ALLOW_THREADS;
2489 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2490
2491 wxPy_END_ALLOW_THREADS;
2492} Py_INCREF(Py_None);
2493 _resultobj = Py_None;
2494 return _resultobj;
2495}
2496
2497#define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2498static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2499 PyObject * _resultobj;
2500 wxPyGridCellEditor * _arg0;
2501 PyObject * _argo0 = 0;
2502 char *_kwnames[] = { "self", NULL };
2503
2504 self = self;
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2506 return NULL;
2507 if (_argo0) {
2508 if (_argo0 == Py_None) { _arg0 = NULL; }
2509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2511 return NULL;
2512 }
2513 }
2514{
2515 wxPy_BEGIN_ALLOW_THREADS;
2516 wxPyGridCellEditor_base_Destroy(_arg0);
2517
2518 wxPy_END_ALLOW_THREADS;
2519} Py_INCREF(Py_None);
2520 _resultobj = Py_None;
2521 return _resultobj;
2522}
2523
2524#define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2525static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2526 PyObject * _resultobj;
2527 wxPyGridCellEditor * _arg0;
2528 wxString * _arg1;
2529 PyObject * _argo0 = 0;
2530 PyObject * _obj1 = 0;
2531 char *_kwnames[] = { "self","params", NULL };
2532
2533 self = self;
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2535 return NULL;
2536 if (_argo0) {
2537 if (_argo0 == Py_None) { _arg0 = NULL; }
2538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2540 return NULL;
2541 }
2542 }
2543{
185d7c3e
RD
2544#if PYTHON_API_VERSION >= 1009
2545 char* tmpPtr; int tmpSize;
2546 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2547 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
2548 return NULL;
2549 }
2550 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2551 return NULL;
2552 _arg1 = new wxString(tmpPtr, tmpSize);
2553#else
f6bcfd97
BP
2554 if (!PyString_Check(_obj1)) {
2555 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2556 return NULL;
2557 }
185d7c3e
RD
2558 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2559#endif
f6bcfd97
BP
2560}
2561{
2562 wxPy_BEGIN_ALLOW_THREADS;
2563 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2564
2565 wxPy_END_ALLOW_THREADS;
2566} Py_INCREF(Py_None);
2567 _resultobj = Py_None;
2568{
2569 if (_obj1)
2570 delete _arg1;
2571}
2572 return _resultobj;
2573}
2574
2575static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2576 wxGridCellTextEditor *src;
2577 wxGridCellEditor *dest;
2578 src = (wxGridCellTextEditor *) ptr;
2579 dest = (wxGridCellEditor *) src;
2580 return (void *) dest;
2581}
2582
2583#define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2584static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject * _resultobj;
2586 wxGridCellTextEditor * _result;
2587 char *_kwnames[] = { NULL };
2588 char _ptemp[128];
2589
2590 self = self;
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2592 return NULL;
2593{
2594 wxPy_BEGIN_ALLOW_THREADS;
2595 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2596
2597 wxPy_END_ALLOW_THREADS;
2598} if (_result) {
2599 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2600 _resultobj = Py_BuildValue("s",_ptemp);
2601 } else {
2602 Py_INCREF(Py_None);
2603 _resultobj = Py_None;
2604 }
2605 return _resultobj;
2606}
2607
2608static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2609 wxGridCellNumberEditor *src;
2610 wxGridCellTextEditor *dest;
2611 src = (wxGridCellNumberEditor *) ptr;
2612 dest = (wxGridCellTextEditor *) src;
2613 return (void *) dest;
2614}
2615
2616static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2617 wxGridCellNumberEditor *src;
2618 wxGridCellEditor *dest;
2619 src = (wxGridCellNumberEditor *) ptr;
2620 dest = (wxGridCellEditor *) src;
2621 return (void *) dest;
2622}
2623
2624#define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2625static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2626 PyObject * _resultobj;
2627 wxGridCellNumberEditor * _result;
2628 int _arg0 = (int ) -1;
2629 int _arg1 = (int ) -1;
2630 char *_kwnames[] = { "min","max", NULL };
2631 char _ptemp[128];
2632
2633 self = self;
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2635 return NULL;
2636{
2637 wxPy_BEGIN_ALLOW_THREADS;
2638 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2639
2640 wxPy_END_ALLOW_THREADS;
2641} if (_result) {
2642 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2643 _resultobj = Py_BuildValue("s",_ptemp);
2644 } else {
2645 Py_INCREF(Py_None);
2646 _resultobj = Py_None;
2647 }
2648 return _resultobj;
2649}
2650
2651static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2652 wxGridCellFloatEditor *src;
2653 wxGridCellTextEditor *dest;
2654 src = (wxGridCellFloatEditor *) ptr;
2655 dest = (wxGridCellTextEditor *) src;
2656 return (void *) dest;
2657}
2658
2659static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2660 wxGridCellFloatEditor *src;
2661 wxGridCellEditor *dest;
2662 src = (wxGridCellFloatEditor *) ptr;
2663 dest = (wxGridCellEditor *) src;
2664 return (void *) dest;
2665}
2666
2667#define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2668static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2669 PyObject * _resultobj;
2670 wxGridCellFloatEditor * _result;
2671 char *_kwnames[] = { NULL };
2672 char _ptemp[128];
2673
2674 self = self;
2675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2676 return NULL;
2677{
2678 wxPy_BEGIN_ALLOW_THREADS;
2679 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2680
2681 wxPy_END_ALLOW_THREADS;
2682} if (_result) {
2683 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2684 _resultobj = Py_BuildValue("s",_ptemp);
2685 } else {
2686 Py_INCREF(Py_None);
2687 _resultobj = Py_None;
2688 }
2689 return _resultobj;
2690}
2691
2692static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2693 wxGridCellBoolEditor *src;
2694 wxGridCellEditor *dest;
2695 src = (wxGridCellBoolEditor *) ptr;
2696 dest = (wxGridCellEditor *) src;
2697 return (void *) dest;
2698}
2699
2700#define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2701static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2702 PyObject * _resultobj;
2703 wxGridCellBoolEditor * _result;
2704 char *_kwnames[] = { NULL };
2705 char _ptemp[128];
2706
2707 self = self;
2708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2709 return NULL;
2710{
2711 wxPy_BEGIN_ALLOW_THREADS;
2712 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2713
2714 wxPy_END_ALLOW_THREADS;
2715} if (_result) {
2716 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2717 _resultobj = Py_BuildValue("s",_ptemp);
2718 } else {
2719 Py_INCREF(Py_None);
2720 _resultobj = Py_None;
2721 }
2722 return _resultobj;
2723}
2724
2725static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2726 wxGridCellChoiceEditor *src;
2727 wxGridCellEditor *dest;
2728 src = (wxGridCellChoiceEditor *) ptr;
2729 dest = (wxGridCellEditor *) src;
2730 return (void *) dest;
2731}
2732
2733#define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2734static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2735 PyObject * _resultobj;
2736 wxGridCellChoiceEditor * _result;
2737 int _arg0 = (int ) 0;
2738 wxString * _arg1 = (wxString *) NULL;
2739 bool _arg2 = (bool ) FALSE;
2740 PyObject * _obj1 = 0;
2741 int tempbool2 = (int) FALSE;
2742 char *_kwnames[] = { "choices","allowOthers", NULL };
2743 char _ptemp[128];
2744
2745 self = self;
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2747 return NULL;
2748 if (_obj1)
2749{
2750 _arg1 = wxString_LIST_helper(_obj1);
2751 if (_arg1 == NULL) {
2752 return NULL;
2753 }
2754}
2755 _arg2 = (bool ) tempbool2;
2756{
2757 if (_obj1) {
2758 _arg0 = PyList_Size(_obj1);
2759 }
2760 else {
2761 _arg0 = 0;
2762 }
2763}
2764{
2765 wxPy_BEGIN_ALLOW_THREADS;
2766 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2767
2768 wxPy_END_ALLOW_THREADS;
2769} if (_result) {
2770 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2771 _resultobj = Py_BuildValue("s",_ptemp);
2772 } else {
2773 Py_INCREF(Py_None);
2774 _resultobj = Py_None;
2775 }
2776{
2777 delete [] _arg1;
2778}
2779 return _resultobj;
2780}
2781
2782#define new_wxGridCellAttr() (new wxGridCellAttr())
2783static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject * _resultobj;
2785 wxGridCellAttr * _result;
2786 char *_kwnames[] = { NULL };
2787 char _ptemp[128];
2788
2789 self = self;
2790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttr",_kwnames))
2791 return NULL;
2792{
2793 wxPy_BEGIN_ALLOW_THREADS;
2794 _result = (wxGridCellAttr *)new_wxGridCellAttr();
2795
2796 wxPy_END_ALLOW_THREADS;
2797} if (_result) {
2798 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2799 _resultobj = Py_BuildValue("s",_ptemp);
2800 } else {
2801 Py_INCREF(Py_None);
2802 _resultobj = Py_None;
2803 }
2804 return _resultobj;
2805}
2806
2807#define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2808static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2809 PyObject * _resultobj;
2810 wxGridCellAttr * _result;
2811 wxGridCellAttr * _arg0;
2812 PyObject * _argo0 = 0;
2813 char *_kwnames[] = { "self", NULL };
2814 char _ptemp[128];
2815
2816 self = self;
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
2818 return NULL;
2819 if (_argo0) {
2820 if (_argo0 == Py_None) { _arg0 = NULL; }
2821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2823 return NULL;
2824 }
2825 }
2826{
2827 wxPy_BEGIN_ALLOW_THREADS;
2828 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
2829
2830 wxPy_END_ALLOW_THREADS;
2831} if (_result) {
2832 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2833 _resultobj = Py_BuildValue("s",_ptemp);
2834 } else {
2835 Py_INCREF(Py_None);
2836 _resultobj = Py_None;
2837 }
2838 return _resultobj;
2839}
2840
2841#define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2842static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2843 PyObject * _resultobj;
2844 wxGridCellAttr * _arg0;
2845 PyObject * _argo0 = 0;
2846 char *_kwnames[] = { "self", NULL };
2847
2848 self = self;
2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
2850 return NULL;
2851 if (_argo0) {
2852 if (_argo0 == Py_None) { _arg0 = NULL; }
2853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2855 return NULL;
2856 }
2857 }
2858{
2859 wxPy_BEGIN_ALLOW_THREADS;
2860 wxGridCellAttr_IncRef(_arg0);
2861
2862 wxPy_END_ALLOW_THREADS;
2863} Py_INCREF(Py_None);
2864 _resultobj = Py_None;
2865 return _resultobj;
2866}
2867
2868#define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2869static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2870 PyObject * _resultobj;
2871 wxGridCellAttr * _arg0;
2872 PyObject * _argo0 = 0;
2873 char *_kwnames[] = { "self", NULL };
2874
2875 self = self;
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
2877 return NULL;
2878 if (_argo0) {
2879 if (_argo0 == Py_None) { _arg0 = NULL; }
2880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2882 return NULL;
2883 }
2884 }
2885{
2886 wxPy_BEGIN_ALLOW_THREADS;
2887 wxGridCellAttr_DecRef(_arg0);
2888
2889 wxPy_END_ALLOW_THREADS;
2890} Py_INCREF(Py_None);
2891 _resultobj = Py_None;
2892 return _resultobj;
2893}
2894
2895#define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2896static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2897 PyObject * _resultobj;
2898 wxGridCellAttr * _arg0;
2899 wxColour * _arg1;
2900 PyObject * _argo0 = 0;
2901 wxColour temp;
2902 PyObject * _obj1 = 0;
2903 char *_kwnames[] = { "self","colText", NULL };
2904
2905 self = self;
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
2907 return NULL;
2908 if (_argo0) {
2909 if (_argo0 == Py_None) { _arg0 = NULL; }
2910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2912 return NULL;
2913 }
2914 }
2915{
2916 _arg1 = &temp;
2917 if (! wxColour_helper(_obj1, &_arg1))
2918 return NULL;
2919}
2920{
2921 wxPy_BEGIN_ALLOW_THREADS;
2922 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
2923
2924 wxPy_END_ALLOW_THREADS;
2925} Py_INCREF(Py_None);
2926 _resultobj = Py_None;
2927 return _resultobj;
2928}
2929
2930#define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2931static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2932 PyObject * _resultobj;
2933 wxGridCellAttr * _arg0;
2934 wxColour * _arg1;
2935 PyObject * _argo0 = 0;
2936 wxColour temp;
2937 PyObject * _obj1 = 0;
2938 char *_kwnames[] = { "self","colBack", NULL };
2939
2940 self = self;
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
2942 return NULL;
2943 if (_argo0) {
2944 if (_argo0 == Py_None) { _arg0 = NULL; }
2945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2947 return NULL;
2948 }
2949 }
2950{
2951 _arg1 = &temp;
2952 if (! wxColour_helper(_obj1, &_arg1))
2953 return NULL;
2954}
2955{
2956 wxPy_BEGIN_ALLOW_THREADS;
2957 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
2958
2959 wxPy_END_ALLOW_THREADS;
2960} Py_INCREF(Py_None);
2961 _resultobj = Py_None;
2962 return _resultobj;
2963}
2964
2965#define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2966static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2967 PyObject * _resultobj;
2968 wxGridCellAttr * _arg0;
2969 wxFont * _arg1;
2970 PyObject * _argo0 = 0;
2971 PyObject * _argo1 = 0;
2972 char *_kwnames[] = { "self","font", NULL };
2973
2974 self = self;
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
2976 return NULL;
2977 if (_argo0) {
2978 if (_argo0 == Py_None) { _arg0 = NULL; }
2979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
2981 return NULL;
2982 }
2983 }
2984 if (_argo1) {
2985 if (_argo1 == Py_None) { _arg1 = NULL; }
2986 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2987 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
2988 return NULL;
2989 }
2990 }
2991{
2992 wxPy_BEGIN_ALLOW_THREADS;
2993 wxGridCellAttr_SetFont(_arg0,*_arg1);
2994
2995 wxPy_END_ALLOW_THREADS;
2996} Py_INCREF(Py_None);
2997 _resultobj = Py_None;
2998 return _resultobj;
2999}
3000
3001#define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3002static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3003 PyObject * _resultobj;
3004 wxGridCellAttr * _arg0;
3005 int _arg1;
3006 int _arg2;
3007 PyObject * _argo0 = 0;
3008 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3009
3010 self = self;
3011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3012 return NULL;
3013 if (_argo0) {
3014 if (_argo0 == Py_None) { _arg0 = NULL; }
3015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3017 return NULL;
3018 }
3019 }
3020{
3021 wxPy_BEGIN_ALLOW_THREADS;
3022 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3023
3024 wxPy_END_ALLOW_THREADS;
3025} Py_INCREF(Py_None);
3026 _resultobj = Py_None;
3027 return _resultobj;
3028}
3029
3030#define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3031static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3032 PyObject * _resultobj;
3033 wxGridCellAttr * _arg0;
3034 bool _arg1 = (bool ) TRUE;
3035 PyObject * _argo0 = 0;
3036 int tempbool1 = (int) TRUE;
3037 char *_kwnames[] = { "self","isReadOnly", NULL };
3038
3039 self = self;
3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3041 return NULL;
3042 if (_argo0) {
3043 if (_argo0 == Py_None) { _arg0 = NULL; }
3044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3046 return NULL;
3047 }
3048 }
3049 _arg1 = (bool ) tempbool1;
3050{
3051 wxPy_BEGIN_ALLOW_THREADS;
3052 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3053
3054 wxPy_END_ALLOW_THREADS;
3055} Py_INCREF(Py_None);
3056 _resultobj = Py_None;
3057 return _resultobj;
3058}
3059
3060#define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3061static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject * _resultobj;
3063 wxGridCellAttr * _arg0;
3064 wxGridCellRenderer * _arg1;
3065 PyObject * _argo0 = 0;
3066 PyObject * _argo1 = 0;
3067 char *_kwnames[] = { "self","renderer", NULL };
3068
3069 self = self;
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3071 return NULL;
3072 if (_argo0) {
3073 if (_argo0 == Py_None) { _arg0 = NULL; }
3074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3076 return NULL;
3077 }
3078 }
3079 if (_argo1) {
3080 if (_argo1 == Py_None) { _arg1 = NULL; }
3081 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3082 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3083 return NULL;
3084 }
3085 }
3086{
3087 wxPy_BEGIN_ALLOW_THREADS;
3088 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3089
3090 wxPy_END_ALLOW_THREADS;
3091} Py_INCREF(Py_None);
3092 _resultobj = Py_None;
3093 return _resultobj;
3094}
3095
3096#define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3097static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject * _resultobj;
3099 wxGridCellAttr * _arg0;
3100 wxGridCellEditor * _arg1;
3101 PyObject * _argo0 = 0;
3102 PyObject * _argo1 = 0;
3103 char *_kwnames[] = { "self","editor", NULL };
3104
3105 self = self;
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3107 return NULL;
3108 if (_argo0) {
3109 if (_argo0 == Py_None) { _arg0 = NULL; }
3110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3112 return NULL;
3113 }
3114 }
3115 if (_argo1) {
3116 if (_argo1 == Py_None) { _arg1 = NULL; }
3117 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3118 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3119 return NULL;
3120 }
3121 }
3122{
3123 wxPy_BEGIN_ALLOW_THREADS;
3124 wxGridCellAttr_SetEditor(_arg0,_arg1);
3125
3126 wxPy_END_ALLOW_THREADS;
3127} Py_INCREF(Py_None);
3128 _resultobj = Py_None;
3129 return _resultobj;
3130}
3131
3132#define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3133static PyObject *_wrap_wxGridCellAttr_HasTextColour(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_HasTextColour",_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_HasTextColour. Expected _wxGridCellAttr_p.");
3147 return NULL;
3148 }
3149 }
3150{
3151 wxPy_BEGIN_ALLOW_THREADS;
3152 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3153
3154 wxPy_END_ALLOW_THREADS;
3155} _resultobj = Py_BuildValue("i",_result);
3156 return _resultobj;
3157}
3158
3159#define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3160static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(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_HasBackgroundColour",_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_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3174 return NULL;
3175 }
3176 }
3177{
3178 wxPy_BEGIN_ALLOW_THREADS;
3179 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3180
3181 wxPy_END_ALLOW_THREADS;
3182} _resultobj = Py_BuildValue("i",_result);
3183 return _resultobj;
3184}
3185
3186#define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3187static PyObject *_wrap_wxGridCellAttr_HasFont(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_HasFont",_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_HasFont. Expected _wxGridCellAttr_p.");
3201 return NULL;
3202 }
3203 }
3204{
3205 wxPy_BEGIN_ALLOW_THREADS;
3206 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3207
3208 wxPy_END_ALLOW_THREADS;
3209} _resultobj = Py_BuildValue("i",_result);
3210 return _resultobj;
3211}
3212
3213#define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3214static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject * _resultobj;
3216 bool _result;
3217 wxGridCellAttr * _arg0;
3218 PyObject * _argo0 = 0;
3219 char *_kwnames[] = { "self", NULL };
3220
3221 self = self;
3222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3223 return NULL;
3224 if (_argo0) {
3225 if (_argo0 == Py_None) { _arg0 = NULL; }
3226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3228 return NULL;
3229 }
3230 }
3231{
3232 wxPy_BEGIN_ALLOW_THREADS;
3233 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3234
3235 wxPy_END_ALLOW_THREADS;
3236} _resultobj = Py_BuildValue("i",_result);
3237 return _resultobj;
3238}
3239
3240#define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3241static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject * _resultobj;
3243 bool _result;
3244 wxGridCellAttr * _arg0;
3245 PyObject * _argo0 = 0;
3246 char *_kwnames[] = { "self", NULL };
3247
3248 self = self;
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3250 return NULL;
3251 if (_argo0) {
3252 if (_argo0 == Py_None) { _arg0 = NULL; }
3253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3255 return NULL;
3256 }
3257 }
3258{
3259 wxPy_BEGIN_ALLOW_THREADS;
3260 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3261
3262 wxPy_END_ALLOW_THREADS;
3263} _resultobj = Py_BuildValue("i",_result);
3264 return _resultobj;
3265}
3266
3267#define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3268static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3269 PyObject * _resultobj;
3270 bool _result;
3271 wxGridCellAttr * _arg0;
3272 PyObject * _argo0 = 0;
3273 char *_kwnames[] = { "self", NULL };
3274
3275 self = self;
3276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3277 return NULL;
3278 if (_argo0) {
3279 if (_argo0 == Py_None) { _arg0 = NULL; }
3280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3282 return NULL;
3283 }
3284 }
3285{
3286 wxPy_BEGIN_ALLOW_THREADS;
3287 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3288
3289 wxPy_END_ALLOW_THREADS;
3290} _resultobj = Py_BuildValue("i",_result);
3291 return _resultobj;
3292}
3293
3294#define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3295static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3296 PyObject * _resultobj;
3297 wxColour * _result;
3298 wxGridCellAttr * _arg0;
3299 PyObject * _argo0 = 0;
3300 char *_kwnames[] = { "self", NULL };
3301 char _ptemp[128];
3302
3303 self = self;
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3305 return NULL;
3306 if (_argo0) {
3307 if (_argo0 == Py_None) { _arg0 = NULL; }
3308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3310 return NULL;
3311 }
3312 }
3313{
3314 wxPy_BEGIN_ALLOW_THREADS;
3315 const wxColour & _result_ref = wxGridCellAttr_GetTextColour(_arg0);
3316 _result = (wxColour *) &_result_ref;
3317
3318 wxPy_END_ALLOW_THREADS;
3319} if (_result) {
3320 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3321 _resultobj = Py_BuildValue("s",_ptemp);
3322 } else {
3323 Py_INCREF(Py_None);
3324 _resultobj = Py_None;
3325 }
3326 return _resultobj;
3327}
3328
3329#define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3330static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject * _resultobj;
3332 wxColour * _result;
3333 wxGridCellAttr * _arg0;
3334 PyObject * _argo0 = 0;
3335 char *_kwnames[] = { "self", NULL };
3336 char _ptemp[128];
3337
3338 self = self;
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3340 return NULL;
3341 if (_argo0) {
3342 if (_argo0 == Py_None) { _arg0 = NULL; }
3343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3345 return NULL;
3346 }
3347 }
3348{
3349 wxPy_BEGIN_ALLOW_THREADS;
3350 const wxColour & _result_ref = wxGridCellAttr_GetBackgroundColour(_arg0);
3351 _result = (wxColour *) &_result_ref;
3352
3353 wxPy_END_ALLOW_THREADS;
3354} if (_result) {
3355 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3356 _resultobj = Py_BuildValue("s",_ptemp);
3357 } else {
3358 Py_INCREF(Py_None);
3359 _resultobj = Py_None;
3360 }
3361 return _resultobj;
3362}
3363
3364#define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3365static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3366 PyObject * _resultobj;
3367 wxFont * _result;
3368 wxGridCellAttr * _arg0;
3369 PyObject * _argo0 = 0;
3370 char *_kwnames[] = { "self", NULL };
3371 char _ptemp[128];
3372
3373 self = self;
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3375 return NULL;
3376 if (_argo0) {
3377 if (_argo0 == Py_None) { _arg0 = NULL; }
3378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3380 return NULL;
3381 }
3382 }
3383{
3384 wxPy_BEGIN_ALLOW_THREADS;
3385 const wxFont & _result_ref = wxGridCellAttr_GetFont(_arg0);
3386 _result = (wxFont *) &_result_ref;
3387
3388 wxPy_END_ALLOW_THREADS;
3389} if (_result) {
3390 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3391 _resultobj = Py_BuildValue("s",_ptemp);
3392 } else {
3393 Py_INCREF(Py_None);
3394 _resultobj = Py_None;
3395 }
3396 return _resultobj;
3397}
3398
3399#define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3400static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3401 PyObject * _resultobj;
3402 wxGridCellAttr * _arg0;
3403 int * _arg1;
3404 int temp;
3405 int * _arg2;
3406 int temp0;
3407 PyObject * _argo0 = 0;
3408 char *_kwnames[] = { "self", NULL };
3409
3410 self = self;
3411{
3412 _arg1 = &temp;
3413}
3414{
3415 _arg2 = &temp0;
3416}
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3418 return NULL;
3419 if (_argo0) {
3420 if (_argo0 == Py_None) { _arg0 = NULL; }
3421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3423 return NULL;
3424 }
3425 }
3426{
3427 wxPy_BEGIN_ALLOW_THREADS;
3428 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3429
3430 wxPy_END_ALLOW_THREADS;
3431} Py_INCREF(Py_None);
3432 _resultobj = Py_None;
3433{
3434 PyObject *o;
3435 o = PyInt_FromLong((long) (*_arg1));
3436 _resultobj = t_output_helper(_resultobj, o);
3437}
3438{
3439 PyObject *o;
3440 o = PyInt_FromLong((long) (*_arg2));
3441 _resultobj = t_output_helper(_resultobj, o);
3442}
3443 return _resultobj;
3444}
3445
3446#define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3447static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3448 PyObject * _resultobj;
3449 wxGridCellRenderer * _result;
3450 wxGridCellAttr * _arg0;
3451 wxGrid * _arg1;
3452 int _arg2;
3453 int _arg3;
3454 PyObject * _argo0 = 0;
3455 PyObject * _argo1 = 0;
3456 char *_kwnames[] = { "self","grid","row","col", NULL };
3457 char _ptemp[128];
3458
3459 self = self;
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3461 return NULL;
3462 if (_argo0) {
3463 if (_argo0 == Py_None) { _arg0 = NULL; }
3464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3466 return NULL;
3467 }
3468 }
3469 if (_argo1) {
3470 if (_argo1 == Py_None) { _arg1 = NULL; }
3471 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3472 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3473 return NULL;
3474 }
3475 }
3476{
3477 wxPy_BEGIN_ALLOW_THREADS;
3478 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3479
3480 wxPy_END_ALLOW_THREADS;
3481} if (_result) {
3482 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3483 _resultobj = Py_BuildValue("s",_ptemp);
3484 } else {
3485 Py_INCREF(Py_None);
3486 _resultobj = Py_None;
3487 }
3488 return _resultobj;
3489}
3490
3491#define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3492static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3493 PyObject * _resultobj;
3494 wxGridCellEditor * _result;
3495 wxGridCellAttr * _arg0;
3496 wxGrid * _arg1;
3497 int _arg2;
3498 int _arg3;
3499 PyObject * _argo0 = 0;
3500 PyObject * _argo1 = 0;
3501 char *_kwnames[] = { "self","grid","row","col", NULL };
3502 char _ptemp[128];
3503
3504 self = self;
3505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3506 return NULL;
3507 if (_argo0) {
3508 if (_argo0 == Py_None) { _arg0 = NULL; }
3509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3511 return NULL;
3512 }
3513 }
3514 if (_argo1) {
3515 if (_argo1 == Py_None) { _arg1 = NULL; }
3516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3518 return NULL;
3519 }
3520 }
3521{
3522 wxPy_BEGIN_ALLOW_THREADS;
3523 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3524
3525 wxPy_END_ALLOW_THREADS;
3526} if (_result) {
3527 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3528 _resultobj = Py_BuildValue("s",_ptemp);
3529 } else {
3530 Py_INCREF(Py_None);
3531 _resultobj = Py_None;
3532 }
3533 return _resultobj;
3534}
3535
3536#define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3537static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject * _resultobj;
3539 bool _result;
3540 wxGridCellAttr * _arg0;
3541 PyObject * _argo0 = 0;
3542 char *_kwnames[] = { "self", NULL };
3543
3544 self = self;
3545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3546 return NULL;
3547 if (_argo0) {
3548 if (_argo0 == Py_None) { _arg0 = NULL; }
3549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3551 return NULL;
3552 }
3553 }
3554{
3555 wxPy_BEGIN_ALLOW_THREADS;
3556 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3557
3558 wxPy_END_ALLOW_THREADS;
3559} _resultobj = Py_BuildValue("i",_result);
3560 return _resultobj;
3561}
3562
3563#define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3564static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3565 PyObject * _resultobj;
3566 wxGridCellAttr * _arg0;
3567 wxGridCellAttr * _arg1;
3568 PyObject * _argo0 = 0;
3569 PyObject * _argo1 = 0;
3570 char *_kwnames[] = { "self","defAttr", NULL };
3571
3572 self = self;
3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3574 return NULL;
3575 if (_argo0) {
3576 if (_argo0 == Py_None) { _arg0 = NULL; }
3577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3579 return NULL;
3580 }
3581 }
3582 if (_argo1) {
3583 if (_argo1 == Py_None) { _arg1 = NULL; }
3584 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3585 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3586 return NULL;
3587 }
3588 }
3589{
3590 wxPy_BEGIN_ALLOW_THREADS;
3591 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3592
3593 wxPy_END_ALLOW_THREADS;
3594} Py_INCREF(Py_None);
3595 _resultobj = Py_None;
3596 return _resultobj;
3597}
3598
3599#define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3600static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3601 PyObject * _resultobj;
3602 wxGridCellAttrProvider * _result;
3603 char *_kwnames[] = { NULL };
3604 char _ptemp[128];
3605
3606 self = self;
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3608 return NULL;
3609{
3610 wxPy_BEGIN_ALLOW_THREADS;
3611 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3612
3613 wxPy_END_ALLOW_THREADS;
3614} if (_result) {
3615 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3616 _resultobj = Py_BuildValue("s",_ptemp);
3617 } else {
3618 Py_INCREF(Py_None);
3619 _resultobj = Py_None;
3620 }
3621 return _resultobj;
3622}
3623
3624#define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
3625static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3626 PyObject * _resultobj;
3627 wxGridCellAttr * _result;
3628 wxGridCellAttrProvider * _arg0;
3629 int _arg1;
3630 int _arg2;
3631 PyObject * _argo0 = 0;
3632 char *_kwnames[] = { "self","row","col", NULL };
3633 char _ptemp[128];
3634
3635 self = self;
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3637 return NULL;
3638 if (_argo0) {
3639 if (_argo0 == Py_None) { _arg0 = NULL; }
3640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3642 return NULL;
3643 }
3644 }
3645{
3646 wxPy_BEGIN_ALLOW_THREADS;
3647 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2);
3648
3649 wxPy_END_ALLOW_THREADS;
3650} if (_result) {
3651 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3652 _resultobj = Py_BuildValue("s",_ptemp);
3653 } else {
3654 Py_INCREF(Py_None);
3655 _resultobj = Py_None;
3656 }
3657 return _resultobj;
3658}
3659
3660#define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3661static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject * _resultobj;
3663 wxGridCellAttrProvider * _arg0;
3664 wxGridCellAttr * _arg1;
3665 int _arg2;
3666 int _arg3;
3667 PyObject * _argo0 = 0;
3668 PyObject * _argo1 = 0;
3669 char *_kwnames[] = { "self","attr","row","col", NULL };
3670
3671 self = self;
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3673 return NULL;
3674 if (_argo0) {
3675 if (_argo0 == Py_None) { _arg0 = NULL; }
3676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3678 return NULL;
3679 }
3680 }
3681 if (_argo1) {
3682 if (_argo1 == Py_None) { _arg1 = NULL; }
3683 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3684 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3685 return NULL;
3686 }
3687 }
3688{
3689 wxPy_BEGIN_ALLOW_THREADS;
3690 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
3691
3692 wxPy_END_ALLOW_THREADS;
3693} Py_INCREF(Py_None);
3694 _resultobj = Py_None;
3695 return _resultobj;
3696}
3697
3698#define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3699static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject * _resultobj;
3701 wxGridCellAttrProvider * _arg0;
3702 wxGridCellAttr * _arg1;
3703 int _arg2;
3704 PyObject * _argo0 = 0;
3705 PyObject * _argo1 = 0;
3706 char *_kwnames[] = { "self","attr","row", NULL };
3707
3708 self = self;
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3710 return NULL;
3711 if (_argo0) {
3712 if (_argo0 == Py_None) { _arg0 = NULL; }
3713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3715 return NULL;
3716 }
3717 }
3718 if (_argo1) {
3719 if (_argo1 == Py_None) { _arg1 = NULL; }
3720 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3721 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3722 return NULL;
3723 }
3724 }
3725{
3726 wxPy_BEGIN_ALLOW_THREADS;
3727 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
3728
3729 wxPy_END_ALLOW_THREADS;
3730} Py_INCREF(Py_None);
3731 _resultobj = Py_None;
3732 return _resultobj;
3733}
3734
3735#define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3736static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject * _resultobj;
3738 wxGridCellAttrProvider * _arg0;
3739 wxGridCellAttr * _arg1;
3740 int _arg2;
3741 PyObject * _argo0 = 0;
3742 PyObject * _argo1 = 0;
3743 char *_kwnames[] = { "self","attr","col", NULL };
3744
3745 self = self;
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3747 return NULL;
3748 if (_argo0) {
3749 if (_argo0 == Py_None) { _arg0 = NULL; }
3750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3752 return NULL;
3753 }
3754 }
3755 if (_argo1) {
3756 if (_argo1 == Py_None) { _arg1 = NULL; }
3757 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3758 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3759 return NULL;
3760 }
3761 }
3762{
3763 wxPy_BEGIN_ALLOW_THREADS;
3764 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
3765
3766 wxPy_END_ALLOW_THREADS;
3767} Py_INCREF(Py_None);
3768 _resultobj = Py_None;
3769 return _resultobj;
3770}
3771
3772#define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3773static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3774 PyObject * _resultobj;
3775 wxGridCellAttrProvider * _arg0;
3776 size_t _arg1;
3777 int _arg2;
3778 PyObject * _argo0 = 0;
3779 char *_kwnames[] = { "self","pos","numRows", NULL };
3780
3781 self = self;
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
3783 return NULL;
3784 if (_argo0) {
3785 if (_argo0 == Py_None) { _arg0 = NULL; }
3786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3788 return NULL;
3789 }
3790 }
3791{
3792 wxPy_BEGIN_ALLOW_THREADS;
3793 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
3794
3795 wxPy_END_ALLOW_THREADS;
3796} Py_INCREF(Py_None);
3797 _resultobj = Py_None;
3798 return _resultobj;
3799}
3800
3801#define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3802static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3803 PyObject * _resultobj;
3804 wxGridCellAttrProvider * _arg0;
3805 size_t _arg1;
3806 int _arg2;
3807 PyObject * _argo0 = 0;
3808 char *_kwnames[] = { "self","pos","numCols", NULL };
3809
3810 self = self;
3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
3812 return NULL;
3813 if (_argo0) {
3814 if (_argo0 == Py_None) { _arg0 = NULL; }
3815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3817 return NULL;
3818 }
3819 }
3820{
3821 wxPy_BEGIN_ALLOW_THREADS;
3822 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
3823
3824 wxPy_END_ALLOW_THREADS;
3825} Py_INCREF(Py_None);
3826 _resultobj = Py_None;
3827 return _resultobj;
3828}
3829
3830static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
3831 wxPyGridCellAttrProvider *src;
3832 wxGridCellAttrProvider *dest;
3833 src = (wxPyGridCellAttrProvider *) ptr;
3834 dest = (wxGridCellAttrProvider *) src;
3835 return (void *) dest;
3836}
3837
3838#define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3839static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3840 PyObject * _resultobj;
3841 wxPyGridCellAttrProvider * _result;
3842 char *_kwnames[] = { NULL };
3843 char _ptemp[128];
3844
3845 self = self;
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
3847 return NULL;
3848{
3849 wxPy_BEGIN_ALLOW_THREADS;
3850 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
3851
3852 wxPy_END_ALLOW_THREADS;
3853} if (_result) {
3854 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
3855 _resultobj = Py_BuildValue("s",_ptemp);
3856 } else {
3857 Py_INCREF(Py_None);
3858 _resultobj = Py_None;
3859 }
3860 return _resultobj;
3861}
3862
3863#define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3864static PyObject *_wrap_wxPyGridCellAttrProvider__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
3865 PyObject * _resultobj;
3866 wxPyGridCellAttrProvider * _arg0;
3867 PyObject * _arg1;
3868 PyObject * _arg2;
3869 PyObject * _argo0 = 0;
3870 PyObject * _obj1 = 0;
3871 PyObject * _obj2 = 0;
3872 char *_kwnames[] = { "self","self","_class", NULL };
3873
3874 self = self;
3875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
3876 return NULL;
3877 if (_argo0) {
3878 if (_argo0 == Py_None) { _arg0 = NULL; }
3879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3881 return NULL;
3882 }
3883 }
3884{
3885 _arg1 = _obj1;
3886}
3887{
3888 _arg2 = _obj2;
3889}
3890{
3891 wxPy_BEGIN_ALLOW_THREADS;
3892 wxPyGridCellAttrProvider__setSelf(_arg0,_arg1,_arg2);
3893
3894 wxPy_END_ALLOW_THREADS;
3895} Py_INCREF(Py_None);
3896 _resultobj = Py_None;
3897 return _resultobj;
3898}
3899
3900#define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
3901static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3902 PyObject * _resultobj;
3903 wxGridCellAttr * _result;
3904 wxPyGridCellAttrProvider * _arg0;
3905 int _arg1;
3906 int _arg2;
3907 PyObject * _argo0 = 0;
3908 char *_kwnames[] = { "self","row","col", NULL };
3909 char _ptemp[128];
3910
3911 self = self;
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3913 return NULL;
3914 if (_argo0) {
3915 if (_argo0 == Py_None) { _arg0 = NULL; }
3916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
3918 return NULL;
3919 }
3920 }
3921{
3922 wxPy_BEGIN_ALLOW_THREADS;
3923 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2);
3924
3925 wxPy_END_ALLOW_THREADS;
3926} if (_result) {
3927 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3928 _resultobj = Py_BuildValue("s",_ptemp);
3929 } else {
3930 Py_INCREF(Py_None);
3931 _resultobj = Py_None;
3932 }
3933 return _resultobj;
3934}
3935
3936#define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
3937static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3938 PyObject * _resultobj;
3939 wxPyGridCellAttrProvider * _arg0;
3940 wxGridCellAttr * _arg1;
3941 int _arg2;
3942 int _arg3;
3943 PyObject * _argo0 = 0;
3944 PyObject * _argo1 = 0;
3945 char *_kwnames[] = { "self","attr","row","col", NULL };
3946
3947 self = self;
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3949 return NULL;
3950 if (_argo0) {
3951 if (_argo0 == Py_None) { _arg0 = NULL; }
3952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
3954 return NULL;
3955 }
3956 }
3957 if (_argo1) {
3958 if (_argo1 == Py_None) { _arg1 = NULL; }
3959 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3960 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
3961 return NULL;
3962 }
3963 }
3964{
3965 wxPy_BEGIN_ALLOW_THREADS;
3966 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
3967
3968 wxPy_END_ALLOW_THREADS;
3969} Py_INCREF(Py_None);
3970 _resultobj = Py_None;
3971 return _resultobj;
3972}
3973
3974#define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
3975static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3976 PyObject * _resultobj;
3977 wxPyGridCellAttrProvider * _arg0;
3978 wxGridCellAttr * _arg1;
3979 int _arg2;
3980 PyObject * _argo0 = 0;
3981 PyObject * _argo1 = 0;
3982 char *_kwnames[] = { "self","attr","row", NULL };
3983
3984 self = self;
3985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3986 return NULL;
3987 if (_argo0) {
3988 if (_argo0 == Py_None) { _arg0 = NULL; }
3989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
3991 return NULL;
3992 }
3993 }
3994 if (_argo1) {
3995 if (_argo1 == Py_None) { _arg1 = NULL; }
3996 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3997 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
3998 return NULL;
3999 }
4000 }
4001{
4002 wxPy_BEGIN_ALLOW_THREADS;
4003 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4004
4005 wxPy_END_ALLOW_THREADS;
4006} Py_INCREF(Py_None);
4007 _resultobj = Py_None;
4008 return _resultobj;
4009}
4010
4011#define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4012static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4013 PyObject * _resultobj;
4014 wxPyGridCellAttrProvider * _arg0;
4015 wxGridCellAttr * _arg1;
4016 int _arg2;
4017 PyObject * _argo0 = 0;
4018 PyObject * _argo1 = 0;
4019 char *_kwnames[] = { "self","attr","col", NULL };
4020
4021 self = self;
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4023 return NULL;
4024 if (_argo0) {
4025 if (_argo0 == Py_None) { _arg0 = NULL; }
4026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4028 return NULL;
4029 }
4030 }
4031 if (_argo1) {
4032 if (_argo1 == Py_None) { _arg1 = NULL; }
4033 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4034 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4035 return NULL;
4036 }
4037 }
4038{
4039 wxPy_BEGIN_ALLOW_THREADS;
4040 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4041
4042 wxPy_END_ALLOW_THREADS;
4043} Py_INCREF(Py_None);
4044 _resultobj = Py_None;
4045 return _resultobj;
4046}
4047
4048#define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4049static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4050 PyObject * _resultobj;
4051 wxGridTableBase * _arg0;
4052 wxGridCellAttrProvider * _arg1;
4053 PyObject * _argo0 = 0;
4054 PyObject * _argo1 = 0;
4055 char *_kwnames[] = { "self","attrProvider", NULL };
4056
4057 self = self;
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4059 return NULL;
4060 if (_argo0) {
4061 if (_argo0 == Py_None) { _arg0 = NULL; }
4062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4064 return NULL;
4065 }
4066 }
4067 if (_argo1) {
4068 if (_argo1 == Py_None) { _arg1 = NULL; }
4069 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4070 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4071 return NULL;
4072 }
4073 }
4074{
4075 wxPy_BEGIN_ALLOW_THREADS;
4076 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4077
4078 wxPy_END_ALLOW_THREADS;
4079} Py_INCREF(Py_None);
4080 _resultobj = Py_None;
4081 return _resultobj;
4082}
4083
4084#define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4085static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4086 PyObject * _resultobj;
4087 wxGridCellAttrProvider * _result;
4088 wxGridTableBase * _arg0;
4089 PyObject * _argo0 = 0;
4090 char *_kwnames[] = { "self", NULL };
4091 char _ptemp[128];
4092
4093 self = self;
4094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4095 return NULL;
4096 if (_argo0) {
4097 if (_argo0 == Py_None) { _arg0 = NULL; }
4098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4100 return NULL;
4101 }
4102 }
4103{
4104 wxPy_BEGIN_ALLOW_THREADS;
4105 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4106
4107 wxPy_END_ALLOW_THREADS;
4108} if (_result) {
4109 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4110 _resultobj = Py_BuildValue("s",_ptemp);
4111 } else {
4112 Py_INCREF(Py_None);
4113 _resultobj = Py_None;
4114 }
4115 return _resultobj;
4116}
4117
4118#define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4119static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4120 PyObject * _resultobj;
4121 wxGridTableBase * _arg0;
4122 wxGrid * _arg1;
4123 PyObject * _argo0 = 0;
4124 PyObject * _argo1 = 0;
4125 char *_kwnames[] = { "self","grid", NULL };
4126
4127 self = self;
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4129 return NULL;
4130 if (_argo0) {
4131 if (_argo0 == Py_None) { _arg0 = NULL; }
4132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4134 return NULL;
4135 }
4136 }
4137 if (_argo1) {
4138 if (_argo1 == Py_None) { _arg1 = NULL; }
4139 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4141 return NULL;
4142 }
4143 }
4144{
4145 wxPy_BEGIN_ALLOW_THREADS;
4146 wxGridTableBase_SetView(_arg0,_arg1);
4147
4148 wxPy_END_ALLOW_THREADS;
4149} Py_INCREF(Py_None);
4150 _resultobj = Py_None;
4151 return _resultobj;
4152}
4153
4154#define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4155static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4156 PyObject * _resultobj;
4157 wxGrid * _result;
4158 wxGridTableBase * _arg0;
4159 PyObject * _argo0 = 0;
4160 char *_kwnames[] = { "self", NULL };
4161 char _ptemp[128];
4162
4163 self = self;
4164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4165 return NULL;
4166 if (_argo0) {
4167 if (_argo0 == Py_None) { _arg0 = NULL; }
4168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4170 return NULL;
4171 }
4172 }
4173{
4174 wxPy_BEGIN_ALLOW_THREADS;
4175 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4176
4177 wxPy_END_ALLOW_THREADS;
4178} if (_result) {
4179 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
4180 _resultobj = Py_BuildValue("s",_ptemp);
4181 } else {
4182 Py_INCREF(Py_None);
4183 _resultobj = Py_None;
4184 }
4185 return _resultobj;
4186}
4187
4188#define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4189static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject * _resultobj;
4191 int _result;
4192 wxGridTableBase * _arg0;
4193 PyObject * _argo0 = 0;
4194 char *_kwnames[] = { "self", NULL };
4195
4196 self = self;
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4198 return NULL;
4199 if (_argo0) {
4200 if (_argo0 == Py_None) { _arg0 = NULL; }
4201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4203 return NULL;
4204 }
4205 }
4206{
4207 wxPy_BEGIN_ALLOW_THREADS;
4208 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4209
4210 wxPy_END_ALLOW_THREADS;
4211} _resultobj = Py_BuildValue("i",_result);
4212 return _resultobj;
4213}
4214
4215#define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4216static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject * _resultobj;
4218 int _result;
4219 wxGridTableBase * _arg0;
4220 PyObject * _argo0 = 0;
4221 char *_kwnames[] = { "self", NULL };
4222
4223 self = self;
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4225 return NULL;
4226 if (_argo0) {
4227 if (_argo0 == Py_None) { _arg0 = NULL; }
4228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4230 return NULL;
4231 }
4232 }
4233{
4234 wxPy_BEGIN_ALLOW_THREADS;
4235 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4236
4237 wxPy_END_ALLOW_THREADS;
4238} _resultobj = Py_BuildValue("i",_result);
4239 return _resultobj;
4240}
4241
4242#define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4243static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4244 PyObject * _resultobj;
4245 bool _result;
4246 wxGridTableBase * _arg0;
4247 int _arg1;
4248 int _arg2;
4249 PyObject * _argo0 = 0;
4250 char *_kwnames[] = { "self","row","col", NULL };
4251
4252 self = self;
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4254 return NULL;
4255 if (_argo0) {
4256 if (_argo0 == Py_None) { _arg0 = NULL; }
4257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4259 return NULL;
4260 }
4261 }
4262{
4263 wxPy_BEGIN_ALLOW_THREADS;
4264 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4265
4266 wxPy_END_ALLOW_THREADS;
4267} _resultobj = Py_BuildValue("i",_result);
4268 return _resultobj;
4269}
4270
4271#define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4272static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject * _resultobj;
4274 wxString * _result;
4275 wxGridTableBase * _arg0;
4276 int _arg1;
4277 int _arg2;
4278 PyObject * _argo0 = 0;
4279 char *_kwnames[] = { "self","row","col", NULL };
4280
4281 self = self;
4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4283 return NULL;
4284 if (_argo0) {
4285 if (_argo0 == Py_None) { _arg0 = NULL; }
4286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4288 return NULL;
4289 }
4290 }
4291{
4292 wxPy_BEGIN_ALLOW_THREADS;
4293 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4294
4295 wxPy_END_ALLOW_THREADS;
4296}{
4297 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4298}
4299{
4300 delete _result;
4301}
4302 return _resultobj;
4303}
4304
4305#define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4306static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4307 PyObject * _resultobj;
4308 wxGridTableBase * _arg0;
4309 int _arg1;
4310 int _arg2;
4311 wxString * _arg3;
4312 PyObject * _argo0 = 0;
4313 PyObject * _obj3 = 0;
4314 char *_kwnames[] = { "self","row","col","value", NULL };
4315
4316 self = self;
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4318 return NULL;
4319 if (_argo0) {
4320 if (_argo0 == Py_None) { _arg0 = NULL; }
4321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4323 return NULL;
4324 }
4325 }
4326{
185d7c3e
RD
4327#if PYTHON_API_VERSION >= 1009
4328 char* tmpPtr; int tmpSize;
4329 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4330 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4331 return NULL;
4332 }
4333 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4334 return NULL;
4335 _arg3 = new wxString(tmpPtr, tmpSize);
4336#else
f6bcfd97
BP
4337 if (!PyString_Check(_obj3)) {
4338 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4339 return NULL;
4340 }
185d7c3e
RD
4341 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4342#endif
f6bcfd97
BP
4343}
4344{
4345 wxPy_BEGIN_ALLOW_THREADS;
4346 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4347
4348 wxPy_END_ALLOW_THREADS;
4349} Py_INCREF(Py_None);
4350 _resultobj = Py_None;
4351{
4352 if (_obj3)
4353 delete _arg3;
4354}
4355 return _resultobj;
4356}
4357
4358#define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4359static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject * _resultobj;
4361 wxString * _result;
4362 wxGridTableBase * _arg0;
4363 int _arg1;
4364 int _arg2;
4365 PyObject * _argo0 = 0;
4366 char *_kwnames[] = { "self","row","col", NULL };
4367
4368 self = self;
4369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4370 return NULL;
4371 if (_argo0) {
4372 if (_argo0 == Py_None) { _arg0 = NULL; }
4373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4375 return NULL;
4376 }
4377 }
4378{
4379 wxPy_BEGIN_ALLOW_THREADS;
4380 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4381
4382 wxPy_END_ALLOW_THREADS;
4383}{
4384 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4385}
4386{
4387 delete _result;
4388}
4389 return _resultobj;
4390}
4391
4392#define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4393static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4394 PyObject * _resultobj;
4395 bool _result;
4396 wxGridTableBase * _arg0;
4397 int _arg1;
4398 int _arg2;
4399 wxString * _arg3;
4400 PyObject * _argo0 = 0;
4401 PyObject * _obj3 = 0;
4402 char *_kwnames[] = { "self","row","col","typeName", NULL };
4403
4404 self = self;
4405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4406 return NULL;
4407 if (_argo0) {
4408 if (_argo0 == Py_None) { _arg0 = NULL; }
4409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4411 return NULL;
4412 }
4413 }
4414{
185d7c3e
RD
4415#if PYTHON_API_VERSION >= 1009
4416 char* tmpPtr; int tmpSize;
4417 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4418 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4419 return NULL;
4420 }
4421 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4422 return NULL;
4423 _arg3 = new wxString(tmpPtr, tmpSize);
4424#else
f6bcfd97
BP
4425 if (!PyString_Check(_obj3)) {
4426 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4427 return NULL;
4428 }
185d7c3e
RD
4429 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4430#endif
f6bcfd97
BP
4431}
4432{
4433 wxPy_BEGIN_ALLOW_THREADS;
4434 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4435
4436 wxPy_END_ALLOW_THREADS;
4437} _resultobj = Py_BuildValue("i",_result);
4438{
4439 if (_obj3)
4440 delete _arg3;
4441}
4442 return _resultobj;
4443}
4444
4445#define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4446static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4447 PyObject * _resultobj;
4448 bool _result;
4449 wxGridTableBase * _arg0;
4450 int _arg1;
4451 int _arg2;
4452 wxString * _arg3;
4453 PyObject * _argo0 = 0;
4454 PyObject * _obj3 = 0;
4455 char *_kwnames[] = { "self","row","col","typeName", NULL };
4456
4457 self = self;
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4459 return NULL;
4460 if (_argo0) {
4461 if (_argo0 == Py_None) { _arg0 = NULL; }
4462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4464 return NULL;
4465 }
4466 }
4467{
185d7c3e
RD
4468#if PYTHON_API_VERSION >= 1009
4469 char* tmpPtr; int tmpSize;
4470 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4471 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4472 return NULL;
4473 }
4474 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4475 return NULL;
4476 _arg3 = new wxString(tmpPtr, tmpSize);
4477#else
f6bcfd97
BP
4478 if (!PyString_Check(_obj3)) {
4479 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4480 return NULL;
4481 }
185d7c3e
RD
4482 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4483#endif
f6bcfd97
BP
4484}
4485{
4486 wxPy_BEGIN_ALLOW_THREADS;
4487 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4488
4489 wxPy_END_ALLOW_THREADS;
4490} _resultobj = Py_BuildValue("i",_result);
4491{
4492 if (_obj3)
4493 delete _arg3;
4494}
4495 return _resultobj;
4496}
4497
4498#define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4499static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4500 PyObject * _resultobj;
4501 long _result;
4502 wxGridTableBase * _arg0;
4503 int _arg1;
4504 int _arg2;
4505 PyObject * _argo0 = 0;
4506 char *_kwnames[] = { "self","row","col", NULL };
4507
4508 self = self;
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4510 return NULL;
4511 if (_argo0) {
4512 if (_argo0 == Py_None) { _arg0 = NULL; }
4513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4515 return NULL;
4516 }
4517 }
4518{
4519 wxPy_BEGIN_ALLOW_THREADS;
4520 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4521
4522 wxPy_END_ALLOW_THREADS;
4523} _resultobj = Py_BuildValue("l",_result);
4524 return _resultobj;
4525}
4526
4527#define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4528static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4529 PyObject * _resultobj;
4530 double _result;
4531 wxGridTableBase * _arg0;
4532 int _arg1;
4533 int _arg2;
4534 PyObject * _argo0 = 0;
4535 char *_kwnames[] = { "self","row","col", NULL };
4536
4537 self = self;
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4539 return NULL;
4540 if (_argo0) {
4541 if (_argo0 == Py_None) { _arg0 = NULL; }
4542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4544 return NULL;
4545 }
4546 }
4547{
4548 wxPy_BEGIN_ALLOW_THREADS;
4549 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4550
4551 wxPy_END_ALLOW_THREADS;
4552} _resultobj = Py_BuildValue("d",_result);
4553 return _resultobj;
4554}
4555
4556#define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4557static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4558 PyObject * _resultobj;
4559 bool _result;
4560 wxGridTableBase * _arg0;
4561 int _arg1;
4562 int _arg2;
4563 PyObject * _argo0 = 0;
4564 char *_kwnames[] = { "self","row","col", NULL };
4565
4566 self = self;
4567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4568 return NULL;
4569 if (_argo0) {
4570 if (_argo0 == Py_None) { _arg0 = NULL; }
4571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4573 return NULL;
4574 }
4575 }
4576{
4577 wxPy_BEGIN_ALLOW_THREADS;
4578 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4579
4580 wxPy_END_ALLOW_THREADS;
4581} _resultobj = Py_BuildValue("i",_result);
4582 return _resultobj;
4583}
4584
4585#define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4586static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4587 PyObject * _resultobj;
4588 wxGridTableBase * _arg0;
4589 int _arg1;
4590 int _arg2;
4591 long _arg3;
4592 PyObject * _argo0 = 0;
4593 char *_kwnames[] = { "self","row","col","value", NULL };
4594
4595 self = self;
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4597 return NULL;
4598 if (_argo0) {
4599 if (_argo0 == Py_None) { _arg0 = NULL; }
4600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4602 return NULL;
4603 }
4604 }
4605{
4606 wxPy_BEGIN_ALLOW_THREADS;
4607 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4608
4609 wxPy_END_ALLOW_THREADS;
4610} Py_INCREF(Py_None);
4611 _resultobj = Py_None;
4612 return _resultobj;
4613}
4614
4615#define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4616static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4617 PyObject * _resultobj;
4618 wxGridTableBase * _arg0;
4619 int _arg1;
4620 int _arg2;
4621 double _arg3;
4622 PyObject * _argo0 = 0;
4623 char *_kwnames[] = { "self","row","col","value", NULL };
4624
4625 self = self;
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4627 return NULL;
4628 if (_argo0) {
4629 if (_argo0 == Py_None) { _arg0 = NULL; }
4630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4632 return NULL;
4633 }
4634 }
4635{
4636 wxPy_BEGIN_ALLOW_THREADS;
4637 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
4638
4639 wxPy_END_ALLOW_THREADS;
4640} Py_INCREF(Py_None);
4641 _resultobj = Py_None;
4642 return _resultobj;
4643}
4644
4645#define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4646static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4647 PyObject * _resultobj;
4648 wxGridTableBase * _arg0;
4649 int _arg1;
4650 int _arg2;
4651 bool _arg3;
4652 PyObject * _argo0 = 0;
4653 int tempbool3;
4654 char *_kwnames[] = { "self","row","col","value", NULL };
4655
4656 self = self;
4657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4658 return NULL;
4659 if (_argo0) {
4660 if (_argo0 == Py_None) { _arg0 = NULL; }
4661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4663 return NULL;
4664 }
4665 }
4666 _arg3 = (bool ) tempbool3;
4667{
4668 wxPy_BEGIN_ALLOW_THREADS;
4669 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
4670
4671 wxPy_END_ALLOW_THREADS;
4672} Py_INCREF(Py_None);
4673 _resultobj = Py_None;
4674 return _resultobj;
4675}
4676
4677#define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4678static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4679 PyObject * _resultobj;
4680 wxGridTableBase * _arg0;
4681 PyObject * _argo0 = 0;
4682 char *_kwnames[] = { "self", NULL };
4683
4684 self = self;
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
4686 return NULL;
4687 if (_argo0) {
4688 if (_argo0 == Py_None) { _arg0 = NULL; }
4689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4691 return NULL;
4692 }
4693 }
4694{
4695 wxPy_BEGIN_ALLOW_THREADS;
4696 wxGridTableBase_Clear(_arg0);
4697
4698 wxPy_END_ALLOW_THREADS;
4699} Py_INCREF(Py_None);
4700 _resultobj = Py_None;
4701 return _resultobj;
4702}
4703
4704#define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4705static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject * _resultobj;
4707 bool _result;
4708 wxGridTableBase * _arg0;
4709 size_t _arg1 = (size_t ) 0;
4710 size_t _arg2 = (size_t ) 1;
4711 PyObject * _argo0 = 0;
4712 char *_kwnames[] = { "self","pos","numRows", NULL };
4713
4714 self = self;
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
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_InsertRows. Expected _wxGridTableBase_p.");
4721 return NULL;
4722 }
4723 }
4724{
4725 wxPy_BEGIN_ALLOW_THREADS;
4726 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
4727
4728 wxPy_END_ALLOW_THREADS;
4729} _resultobj = Py_BuildValue("i",_result);
4730 return _resultobj;
4731}
4732
4733#define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4734static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4735 PyObject * _resultobj;
4736 bool _result;
4737 wxGridTableBase * _arg0;
4738 size_t _arg1 = (size_t ) 1;
4739 PyObject * _argo0 = 0;
4740 char *_kwnames[] = { "self","numRows", NULL };
4741
4742 self = self;
4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
4744 return NULL;
4745 if (_argo0) {
4746 if (_argo0 == Py_None) { _arg0 = NULL; }
4747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4749 return NULL;
4750 }
4751 }
4752{
4753 wxPy_BEGIN_ALLOW_THREADS;
4754 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
4755
4756 wxPy_END_ALLOW_THREADS;
4757} _resultobj = Py_BuildValue("i",_result);
4758 return _resultobj;
4759}
4760
4761#define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4762static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4763 PyObject * _resultobj;
4764 bool _result;
4765 wxGridTableBase * _arg0;
4766 size_t _arg1 = (size_t ) 0;
4767 size_t _arg2 = (size_t ) 1;
4768 PyObject * _argo0 = 0;
4769 char *_kwnames[] = { "self","pos","numRows", NULL };
4770
4771 self = self;
4772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
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_DeleteRows. Expected _wxGridTableBase_p.");
4778 return NULL;
4779 }
4780 }
4781{
4782 wxPy_BEGIN_ALLOW_THREADS;
4783 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
4784
4785 wxPy_END_ALLOW_THREADS;
4786} _resultobj = Py_BuildValue("i",_result);
4787 return _resultobj;
4788}
4789
4790#define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4791static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4792 PyObject * _resultobj;
4793 bool _result;
4794 wxGridTableBase * _arg0;
4795 size_t _arg1 = (size_t ) 0;
4796 size_t _arg2 = (size_t ) 1;
4797 PyObject * _argo0 = 0;
4798 char *_kwnames[] = { "self","pos","numCols", NULL };
4799
4800 self = self;
4801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
4802 return NULL;
4803 if (_argo0) {
4804 if (_argo0 == Py_None) { _arg0 = NULL; }
4805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4807 return NULL;
4808 }
4809 }
4810{
4811 wxPy_BEGIN_ALLOW_THREADS;
4812 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
4813
4814 wxPy_END_ALLOW_THREADS;
4815} _resultobj = Py_BuildValue("i",_result);
4816 return _resultobj;
4817}
4818
4819#define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4820static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4821 PyObject * _resultobj;
4822 bool _result;
4823 wxGridTableBase * _arg0;
4824 size_t _arg1 = (size_t ) 1;
4825 PyObject * _argo0 = 0;
4826 char *_kwnames[] = { "self","numCols", NULL };
4827
4828 self = self;
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
4830 return NULL;
4831 if (_argo0) {
4832 if (_argo0 == Py_None) { _arg0 = NULL; }
4833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4835 return NULL;
4836 }
4837 }
4838{
4839 wxPy_BEGIN_ALLOW_THREADS;
4840 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
4841
4842 wxPy_END_ALLOW_THREADS;
4843} _resultobj = Py_BuildValue("i",_result);
4844 return _resultobj;
4845}
4846
4847#define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4848static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject * _resultobj;
4850 bool _result;
4851 wxGridTableBase * _arg0;
4852 size_t _arg1 = (size_t ) 0;
4853 size_t _arg2 = (size_t ) 1;
4854 PyObject * _argo0 = 0;
4855 char *_kwnames[] = { "self","pos","numCols", NULL };
4856
4857 self = self;
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
4859 return NULL;
4860 if (_argo0) {
4861 if (_argo0 == Py_None) { _arg0 = NULL; }
4862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4864 return NULL;
4865 }
4866 }
4867{
4868 wxPy_BEGIN_ALLOW_THREADS;
4869 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
4870
4871 wxPy_END_ALLOW_THREADS;
4872} _resultobj = Py_BuildValue("i",_result);
4873 return _resultobj;
4874}
4875
4876#define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4877static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4878 PyObject * _resultobj;
4879 wxString * _result;
4880 wxGridTableBase * _arg0;
4881 int _arg1;
4882 PyObject * _argo0 = 0;
4883 char *_kwnames[] = { "self","row", NULL };
4884
4885 self = self;
4886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
4887 return NULL;
4888 if (_argo0) {
4889 if (_argo0 == Py_None) { _arg0 = NULL; }
4890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4892 return NULL;
4893 }
4894 }
4895{
4896 wxPy_BEGIN_ALLOW_THREADS;
4897 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
4898
4899 wxPy_END_ALLOW_THREADS;
4900}{
4901 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4902}
4903{
4904 delete _result;
4905}
4906 return _resultobj;
4907}
4908
4909#define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
4910static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4911 PyObject * _resultobj;
4912 wxString * _result;
4913 wxGridTableBase * _arg0;
4914 int _arg1;
4915 PyObject * _argo0 = 0;
4916 char *_kwnames[] = { "self","col", NULL };
4917
4918 self = self;
4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
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_GetColLabelValue. Expected _wxGridTableBase_p.");
4925 return NULL;
4926 }
4927 }
4928{
4929 wxPy_BEGIN_ALLOW_THREADS;
4930 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
4931
4932 wxPy_END_ALLOW_THREADS;
4933}{
4934 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4935}
4936{
4937 delete _result;
4938}
4939 return _resultobj;
4940}
4941
4942#define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
4943static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4944 PyObject * _resultobj;
4945 wxGridTableBase * _arg0;
4946 int _arg1;
4947 wxString * _arg2;
4948 PyObject * _argo0 = 0;
4949 PyObject * _obj2 = 0;
4950 char *_kwnames[] = { "self","row","value", NULL };
4951
4952 self = self;
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
4954 return NULL;
4955 if (_argo0) {
4956 if (_argo0 == Py_None) { _arg0 = NULL; }
4957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
4959 return NULL;
4960 }
4961 }
4962{
185d7c3e
RD
4963#if PYTHON_API_VERSION >= 1009
4964 char* tmpPtr; int tmpSize;
4965 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4966 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4967 return NULL;
4968 }
4969 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4970 return NULL;
4971 _arg2 = new wxString(tmpPtr, tmpSize);
4972#else
f6bcfd97
BP
4973 if (!PyString_Check(_obj2)) {
4974 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4975 return NULL;
4976 }
185d7c3e
RD
4977 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4978#endif
f6bcfd97
BP
4979}
4980{
4981 wxPy_BEGIN_ALLOW_THREADS;
4982 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
4983
4984 wxPy_END_ALLOW_THREADS;
4985} Py_INCREF(Py_None);
4986 _resultobj = Py_None;
4987{
4988 if (_obj2)
4989 delete _arg2;
4990}
4991 return _resultobj;
4992}
4993
4994#define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
4995static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4996 PyObject * _resultobj;
4997 wxGridTableBase * _arg0;
4998 int _arg1;
4999 wxString * _arg2;
5000 PyObject * _argo0 = 0;
5001 PyObject * _obj2 = 0;
5002 char *_kwnames[] = { "self","col","value", NULL };
5003
5004 self = self;
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5006 return NULL;
5007 if (_argo0) {
5008 if (_argo0 == Py_None) { _arg0 = NULL; }
5009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5011 return NULL;
5012 }
5013 }
5014{
185d7c3e
RD
5015#if PYTHON_API_VERSION >= 1009
5016 char* tmpPtr; int tmpSize;
5017 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5018 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5019 return NULL;
5020 }
5021 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5022 return NULL;
5023 _arg2 = new wxString(tmpPtr, tmpSize);
5024#else
f6bcfd97
BP
5025 if (!PyString_Check(_obj2)) {
5026 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5027 return NULL;
5028 }
185d7c3e
RD
5029 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5030#endif
f6bcfd97
BP
5031}
5032{
5033 wxPy_BEGIN_ALLOW_THREADS;
5034 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5035
5036 wxPy_END_ALLOW_THREADS;
5037} Py_INCREF(Py_None);
5038 _resultobj = Py_None;
5039{
5040 if (_obj2)
5041 delete _arg2;
5042}
5043 return _resultobj;
5044}
5045
5046#define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5047static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5048 PyObject * _resultobj;
5049 bool _result;
5050 wxGridTableBase * _arg0;
5051 PyObject * _argo0 = 0;
5052 char *_kwnames[] = { "self", NULL };
5053
5054 self = self;
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5056 return NULL;
5057 if (_argo0) {
5058 if (_argo0 == Py_None) { _arg0 = NULL; }
5059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5061 return NULL;
5062 }
5063 }
5064{
5065 wxPy_BEGIN_ALLOW_THREADS;
5066 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5067
5068 wxPy_END_ALLOW_THREADS;
5069} _resultobj = Py_BuildValue("i",_result);
5070 return _resultobj;
5071}
5072
5073#define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
5074static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject * _resultobj;
5076 wxGridCellAttr * _result;
5077 wxGridTableBase * _arg0;
5078 int _arg1;
5079 int _arg2;
5080 PyObject * _argo0 = 0;
5081 char *_kwnames[] = { "self","row","col", NULL };
5082 char _ptemp[128];
5083
5084 self = self;
5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
5086 return NULL;
5087 if (_argo0) {
5088 if (_argo0 == Py_None) { _arg0 = NULL; }
5089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5091 return NULL;
5092 }
5093 }
5094{
5095 wxPy_BEGIN_ALLOW_THREADS;
5096 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2);
5097
5098 wxPy_END_ALLOW_THREADS;
5099} if (_result) {
5100 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5101 _resultobj = Py_BuildValue("s",_ptemp);
5102 } else {
5103 Py_INCREF(Py_None);
5104 _resultobj = Py_None;
5105 }
5106 return _resultobj;
5107}
5108
5109#define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5110static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5111 PyObject * _resultobj;
5112 wxGridTableBase * _arg0;
5113 wxGridCellAttr * _arg1;
5114 int _arg2;
5115 int _arg3;
5116 PyObject * _argo0 = 0;
5117 PyObject * _argo1 = 0;
5118 char *_kwnames[] = { "self","attr","row","col", NULL };
5119
5120 self = self;
5121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5122 return NULL;
5123 if (_argo0) {
5124 if (_argo0 == Py_None) { _arg0 = NULL; }
5125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5127 return NULL;
5128 }
5129 }
5130 if (_argo1) {
5131 if (_argo1 == Py_None) { _arg1 = NULL; }
5132 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5133 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5134 return NULL;
5135 }
5136 }
5137{
5138 wxPy_BEGIN_ALLOW_THREADS;
5139 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5140
5141 wxPy_END_ALLOW_THREADS;
5142} Py_INCREF(Py_None);
5143 _resultobj = Py_None;
5144 return _resultobj;
5145}
5146
5147#define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5148static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5149 PyObject * _resultobj;
5150 wxGridTableBase * _arg0;
5151 wxGridCellAttr * _arg1;
5152 int _arg2;
5153 PyObject * _argo0 = 0;
5154 PyObject * _argo1 = 0;
5155 char *_kwnames[] = { "self","attr","row", NULL };
5156
5157 self = self;
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5159 return NULL;
5160 if (_argo0) {
5161 if (_argo0 == Py_None) { _arg0 = NULL; }
5162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5164 return NULL;
5165 }
5166 }
5167 if (_argo1) {
5168 if (_argo1 == Py_None) { _arg1 = NULL; }
5169 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5170 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5171 return NULL;
5172 }
5173 }
5174{
5175 wxPy_BEGIN_ALLOW_THREADS;
5176 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5177
5178 wxPy_END_ALLOW_THREADS;
5179} Py_INCREF(Py_None);
5180 _resultobj = Py_None;
5181 return _resultobj;
5182}
5183
5184#define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5185static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject * _resultobj;
5187 wxGridTableBase * _arg0;
5188 wxGridCellAttr * _arg1;
5189 int _arg2;
5190 PyObject * _argo0 = 0;
5191 PyObject * _argo1 = 0;
5192 char *_kwnames[] = { "self","attr","col", NULL };
5193
5194 self = self;
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5196 return NULL;
5197 if (_argo0) {
5198 if (_argo0 == Py_None) { _arg0 = NULL; }
5199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5201 return NULL;
5202 }
5203 }
5204 if (_argo1) {
5205 if (_argo1 == Py_None) { _arg1 = NULL; }
5206 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5207 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5208 return NULL;
5209 }
5210 }
5211{
5212 wxPy_BEGIN_ALLOW_THREADS;
5213 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5214
5215 wxPy_END_ALLOW_THREADS;
5216} Py_INCREF(Py_None);
5217 _resultobj = Py_None;
5218 return _resultobj;
5219}
5220
5221static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5222 wxPyGridTableBase *src;
5223 wxGridTableBase *dest;
5224 src = (wxPyGridTableBase *) ptr;
5225 dest = (wxGridTableBase *) src;
5226 return (void *) dest;
5227}
5228
5229#define new_wxPyGridTableBase() (new wxPyGridTableBase())
5230static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5231 PyObject * _resultobj;
5232 wxPyGridTableBase * _result;
5233 char *_kwnames[] = { NULL };
5234 char _ptemp[128];
5235
5236 self = self;
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5238 return NULL;
5239{
5240 wxPy_BEGIN_ALLOW_THREADS;
5241 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5242
5243 wxPy_END_ALLOW_THREADS;
5244} if (_result) {
5245 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5246 _resultobj = Py_BuildValue("s",_ptemp);
5247 } else {
5248 Py_INCREF(Py_None);
5249 _resultobj = Py_None;
5250 }
5251 return _resultobj;
5252}
5253
5254#define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5255static PyObject *_wrap_wxPyGridTableBase__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject * _resultobj;
5257 wxPyGridTableBase * _arg0;
5258 PyObject * _arg1;
5259 PyObject * _arg2;
5260 PyObject * _argo0 = 0;
5261 PyObject * _obj1 = 0;
5262 PyObject * _obj2 = 0;
5263 char *_kwnames[] = { "self","self","_class", NULL };
5264
5265 self = self;
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5267 return NULL;
5268 if (_argo0) {
5269 if (_argo0 == Py_None) { _arg0 = NULL; }
5270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5272 return NULL;
5273 }
5274 }
5275{
5276 _arg1 = _obj1;
5277}
5278{
5279 _arg2 = _obj2;
5280}
5281{
5282 wxPy_BEGIN_ALLOW_THREADS;
5283 wxPyGridTableBase__setSelf(_arg0,_arg1,_arg2);
5284
5285 wxPy_END_ALLOW_THREADS;
5286} Py_INCREF(Py_None);
5287 _resultobj = Py_None;
5288 return _resultobj;
5289}
5290
5291static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5292static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5293 PyObject * _resultobj;
5294 wxPyGridTableBase * _arg0;
5295 PyObject * _argo0 = 0;
5296 char *_kwnames[] = { "self", NULL };
5297
5298 self = self;
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5300 return NULL;
5301 if (_argo0) {
5302 if (_argo0 == Py_None) { _arg0 = NULL; }
5303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5305 return NULL;
5306 }
5307 }
5308{
5309 wxPy_BEGIN_ALLOW_THREADS;
5310 wxPyGridTableBase_Destroy(_arg0);
5311
5312 wxPy_END_ALLOW_THREADS;
5313} Py_INCREF(Py_None);
5314 _resultobj = Py_None;
5315 return _resultobj;
5316}
5317
5318#define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5319static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5320 PyObject * _resultobj;
5321 wxString * _result;
5322 wxPyGridTableBase * _arg0;
5323 int _arg1;
5324 int _arg2;
5325 PyObject * _argo0 = 0;
5326 char *_kwnames[] = { "self","row","col", NULL };
5327
5328 self = self;
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5330 return NULL;
5331 if (_argo0) {
5332 if (_argo0 == Py_None) { _arg0 = NULL; }
5333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5335 return NULL;
5336 }
5337 }
5338{
5339 wxPy_BEGIN_ALLOW_THREADS;
5340 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5341
5342 wxPy_END_ALLOW_THREADS;
5343}{
5344 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5345}
5346{
5347 delete _result;
5348}
5349 return _resultobj;
5350}
5351
5352#define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5353static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject * _resultobj;
5355 bool _result;
5356 wxPyGridTableBase * _arg0;
5357 int _arg1;
5358 int _arg2;
5359 wxString * _arg3;
5360 PyObject * _argo0 = 0;
5361 PyObject * _obj3 = 0;
5362 char *_kwnames[] = { "self","row","col","typeName", NULL };
5363
5364 self = self;
5365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5366 return NULL;
5367 if (_argo0) {
5368 if (_argo0 == Py_None) { _arg0 = NULL; }
5369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5371 return NULL;
5372 }
5373 }
5374{
185d7c3e
RD
5375#if PYTHON_API_VERSION >= 1009
5376 char* tmpPtr; int tmpSize;
5377 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5378 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5379 return NULL;
5380 }
5381 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5382 return NULL;
5383 _arg3 = new wxString(tmpPtr, tmpSize);
5384#else
f6bcfd97
BP
5385 if (!PyString_Check(_obj3)) {
5386 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5387 return NULL;
5388 }
185d7c3e
RD
5389 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5390#endif
f6bcfd97
BP
5391}
5392{
5393 wxPy_BEGIN_ALLOW_THREADS;
5394 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5395
5396 wxPy_END_ALLOW_THREADS;
5397} _resultobj = Py_BuildValue("i",_result);
5398{
5399 if (_obj3)
5400 delete _arg3;
5401}
5402 return _resultobj;
5403}
5404
5405#define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5406static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5407 PyObject * _resultobj;
5408 bool _result;
5409 wxPyGridTableBase * _arg0;
5410 int _arg1;
5411 int _arg2;
5412 wxString * _arg3;
5413 PyObject * _argo0 = 0;
5414 PyObject * _obj3 = 0;
5415 char *_kwnames[] = { "self","row","col","typeName", NULL };
5416
5417 self = self;
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5419 return NULL;
5420 if (_argo0) {
5421 if (_argo0 == Py_None) { _arg0 = NULL; }
5422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5424 return NULL;
5425 }
5426 }
5427{
185d7c3e
RD
5428#if PYTHON_API_VERSION >= 1009
5429 char* tmpPtr; int tmpSize;
5430 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5431 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5432 return NULL;
5433 }
5434 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5435 return NULL;
5436 _arg3 = new wxString(tmpPtr, tmpSize);
5437#else
f6bcfd97
BP
5438 if (!PyString_Check(_obj3)) {
5439 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5440 return NULL;
5441 }
185d7c3e
RD
5442 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5443#endif
f6bcfd97
BP
5444}
5445{
5446 wxPy_BEGIN_ALLOW_THREADS;
5447 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5448
5449 wxPy_END_ALLOW_THREADS;
5450} _resultobj = Py_BuildValue("i",_result);
5451{
5452 if (_obj3)
5453 delete _arg3;
5454}
5455 return _resultobj;
5456}
5457
5458#define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5459static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5460 PyObject * _resultobj;
5461 wxPyGridTableBase * _arg0;
5462 PyObject * _argo0 = 0;
5463 char *_kwnames[] = { "self", NULL };
5464
5465 self = self;
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5467 return NULL;
5468 if (_argo0) {
5469 if (_argo0 == Py_None) { _arg0 = NULL; }
5470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5472 return NULL;
5473 }
5474 }
5475{
5476 wxPy_BEGIN_ALLOW_THREADS;
5477 wxPyGridTableBase_base_Clear(_arg0);
5478
5479 wxPy_END_ALLOW_THREADS;
5480} Py_INCREF(Py_None);
5481 _resultobj = Py_None;
5482 return _resultobj;
5483}
5484
5485#define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5486static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5487 PyObject * _resultobj;
5488 bool _result;
5489 wxPyGridTableBase * _arg0;
5490 size_t _arg1 = (size_t ) 0;
5491 size_t _arg2 = (size_t ) 1;
5492 PyObject * _argo0 = 0;
5493 char *_kwnames[] = { "self","pos","numRows", NULL };
5494
5495 self = self;
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5497 return NULL;
5498 if (_argo0) {
5499 if (_argo0 == Py_None) { _arg0 = NULL; }
5500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5502 return NULL;
5503 }
5504 }
5505{
5506 wxPy_BEGIN_ALLOW_THREADS;
5507 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5508
5509 wxPy_END_ALLOW_THREADS;
5510} _resultobj = Py_BuildValue("i",_result);
5511 return _resultobj;
5512}
5513
5514#define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5515static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5516 PyObject * _resultobj;
5517 bool _result;
5518 wxPyGridTableBase * _arg0;
5519 size_t _arg1 = (size_t ) 1;
5520 PyObject * _argo0 = 0;
5521 char *_kwnames[] = { "self","numRows", NULL };
5522
5523 self = self;
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5525 return NULL;
5526 if (_argo0) {
5527 if (_argo0 == Py_None) { _arg0 = NULL; }
5528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5530 return NULL;
5531 }
5532 }
5533{
5534 wxPy_BEGIN_ALLOW_THREADS;
5535 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5536
5537 wxPy_END_ALLOW_THREADS;
5538} _resultobj = Py_BuildValue("i",_result);
5539 return _resultobj;
5540}
5541
5542#define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5543static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5544 PyObject * _resultobj;
5545 bool _result;
5546 wxPyGridTableBase * _arg0;
5547 size_t _arg1 = (size_t ) 0;
5548 size_t _arg2 = (size_t ) 1;
5549 PyObject * _argo0 = 0;
5550 char *_kwnames[] = { "self","pos","numRows", NULL };
5551
5552 self = self;
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5554 return NULL;
5555 if (_argo0) {
5556 if (_argo0 == Py_None) { _arg0 = NULL; }
5557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5559 return NULL;
5560 }
5561 }
5562{
5563 wxPy_BEGIN_ALLOW_THREADS;
5564 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5565
5566 wxPy_END_ALLOW_THREADS;
5567} _resultobj = Py_BuildValue("i",_result);
5568 return _resultobj;
5569}
5570
5571#define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5572static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5573 PyObject * _resultobj;
5574 bool _result;
5575 wxPyGridTableBase * _arg0;
5576 size_t _arg1 = (size_t ) 0;
5577 size_t _arg2 = (size_t ) 1;
5578 PyObject * _argo0 = 0;
5579 char *_kwnames[] = { "self","pos","numCols", NULL };
5580
5581 self = self;
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5583 return NULL;
5584 if (_argo0) {
5585 if (_argo0 == Py_None) { _arg0 = NULL; }
5586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5588 return NULL;
5589 }
5590 }
5591{
5592 wxPy_BEGIN_ALLOW_THREADS;
5593 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5594
5595 wxPy_END_ALLOW_THREADS;
5596} _resultobj = Py_BuildValue("i",_result);
5597 return _resultobj;
5598}
5599
5600#define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5601static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5602 PyObject * _resultobj;
5603 bool _result;
5604 wxPyGridTableBase * _arg0;
5605 size_t _arg1 = (size_t ) 1;
5606 PyObject * _argo0 = 0;
5607 char *_kwnames[] = { "self","numCols", NULL };
5608
5609 self = self;
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5611 return NULL;
5612 if (_argo0) {
5613 if (_argo0 == Py_None) { _arg0 = NULL; }
5614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5616 return NULL;
5617 }
5618 }
5619{
5620 wxPy_BEGIN_ALLOW_THREADS;
5621 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5622
5623 wxPy_END_ALLOW_THREADS;
5624} _resultobj = Py_BuildValue("i",_result);
5625 return _resultobj;
5626}
5627
5628#define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5629static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5630 PyObject * _resultobj;
5631 bool _result;
5632 wxPyGridTableBase * _arg0;
5633 size_t _arg1 = (size_t ) 0;
5634 size_t _arg2 = (size_t ) 1;
5635 PyObject * _argo0 = 0;
5636 char *_kwnames[] = { "self","pos","numCols", NULL };
5637
5638 self = self;
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5640 return NULL;
5641 if (_argo0) {
5642 if (_argo0 == Py_None) { _arg0 = NULL; }
5643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5645 return NULL;
5646 }
5647 }
5648{
5649 wxPy_BEGIN_ALLOW_THREADS;
5650 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
5651
5652 wxPy_END_ALLOW_THREADS;
5653} _resultobj = Py_BuildValue("i",_result);
5654 return _resultobj;
5655}
5656
5657#define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5658static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5659 PyObject * _resultobj;
5660 wxString * _result;
5661 wxPyGridTableBase * _arg0;
5662 int _arg1;
5663 PyObject * _argo0 = 0;
5664 char *_kwnames[] = { "self","row", NULL };
5665
5666 self = self;
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5668 return NULL;
5669 if (_argo0) {
5670 if (_argo0 == Py_None) { _arg0 = NULL; }
5671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5673 return NULL;
5674 }
5675 }
5676{
5677 wxPy_BEGIN_ALLOW_THREADS;
5678 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
5679
5680 wxPy_END_ALLOW_THREADS;
5681}{
5682 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5683}
5684{
5685 delete _result;
5686}
5687 return _resultobj;
5688}
5689
5690#define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5691static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject * _resultobj;
5693 wxString * _result;
5694 wxPyGridTableBase * _arg0;
5695 int _arg1;
5696 PyObject * _argo0 = 0;
5697 char *_kwnames[] = { "self","col", NULL };
5698
5699 self = self;
5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5701 return NULL;
5702 if (_argo0) {
5703 if (_argo0 == Py_None) { _arg0 = NULL; }
5704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5706 return NULL;
5707 }
5708 }
5709{
5710 wxPy_BEGIN_ALLOW_THREADS;
5711 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
5712
5713 wxPy_END_ALLOW_THREADS;
5714}{
5715 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5716}
5717{
5718 delete _result;
5719}
5720 return _resultobj;
5721}
5722
5723#define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5724static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5725 PyObject * _resultobj;
5726 wxPyGridTableBase * _arg0;
5727 int _arg1;
5728 wxString * _arg2;
5729 PyObject * _argo0 = 0;
5730 PyObject * _obj2 = 0;
5731 char *_kwnames[] = { "self","row","value", NULL };
5732
5733 self = self;
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5735 return NULL;
5736 if (_argo0) {
5737 if (_argo0 == Py_None) { _arg0 = NULL; }
5738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5740 return NULL;
5741 }
5742 }
5743{
185d7c3e
RD
5744#if PYTHON_API_VERSION >= 1009
5745 char* tmpPtr; int tmpSize;
5746 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5747 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5748 return NULL;
5749 }
5750 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5751 return NULL;
5752 _arg2 = new wxString(tmpPtr, tmpSize);
5753#else
f6bcfd97
BP
5754 if (!PyString_Check(_obj2)) {
5755 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5756 return NULL;
5757 }
185d7c3e
RD
5758 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5759#endif
f6bcfd97
BP
5760}
5761{
5762 wxPy_BEGIN_ALLOW_THREADS;
5763 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
5764
5765 wxPy_END_ALLOW_THREADS;
5766} Py_INCREF(Py_None);
5767 _resultobj = Py_None;
5768{
5769 if (_obj2)
5770 delete _arg2;
5771}
5772 return _resultobj;
5773}
5774
5775#define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5776static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5777 PyObject * _resultobj;
5778 wxPyGridTableBase * _arg0;
5779 int _arg1;
5780 wxString * _arg2;
5781 PyObject * _argo0 = 0;
5782 PyObject * _obj2 = 0;
5783 char *_kwnames[] = { "self","col","value", NULL };
5784
5785 self = self;
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5787 return NULL;
5788 if (_argo0) {
5789 if (_argo0 == Py_None) { _arg0 = NULL; }
5790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5792 return NULL;
5793 }
5794 }
5795{
185d7c3e
RD
5796#if PYTHON_API_VERSION >= 1009
5797 char* tmpPtr; int tmpSize;
5798 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5799 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5800 return NULL;
5801 }
5802 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5803 return NULL;
5804 _arg2 = new wxString(tmpPtr, tmpSize);
5805#else
f6bcfd97
BP
5806 if (!PyString_Check(_obj2)) {
5807 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5808 return NULL;
5809 }
185d7c3e
RD
5810 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5811#endif
f6bcfd97
BP
5812}
5813{
5814 wxPy_BEGIN_ALLOW_THREADS;
5815 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
5816
5817 wxPy_END_ALLOW_THREADS;
5818} Py_INCREF(Py_None);
5819 _resultobj = Py_None;
5820{
5821 if (_obj2)
5822 delete _arg2;
5823}
5824 return _resultobj;
5825}
5826
5827#define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5828static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject * _resultobj;
5830 bool _result;
5831 wxPyGridTableBase * _arg0;
5832 PyObject * _argo0 = 0;
5833 char *_kwnames[] = { "self", NULL };
5834
5835 self = self;
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
5837 return NULL;
5838 if (_argo0) {
5839 if (_argo0 == Py_None) { _arg0 = NULL; }
5840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5842 return NULL;
5843 }
5844 }
5845{
5846 wxPy_BEGIN_ALLOW_THREADS;
5847 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
5848
5849 wxPy_END_ALLOW_THREADS;
5850} _resultobj = Py_BuildValue("i",_result);
5851 return _resultobj;
5852}
5853
5854#define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
5855static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5856 PyObject * _resultobj;
5857 wxGridCellAttr * _result;
5858 wxPyGridTableBase * _arg0;
5859 int _arg1;
5860 int _arg2;
5861 PyObject * _argo0 = 0;
5862 char *_kwnames[] = { "self","row","col", NULL };
5863 char _ptemp[128];
5864
5865 self = self;
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
5867 return NULL;
5868 if (_argo0) {
5869 if (_argo0 == Py_None) { _arg0 = NULL; }
5870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5872 return NULL;
5873 }
5874 }
5875{
5876 wxPy_BEGIN_ALLOW_THREADS;
5877 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2);
5878
5879 wxPy_END_ALLOW_THREADS;
5880} if (_result) {
5881 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5882 _resultobj = Py_BuildValue("s",_ptemp);
5883 } else {
5884 Py_INCREF(Py_None);
5885 _resultobj = Py_None;
5886 }
5887 return _resultobj;
5888}
5889
5890#define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5891static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5892 PyObject * _resultobj;
5893 wxPyGridTableBase * _arg0;
5894 wxGridCellAttr * _arg1;
5895 int _arg2;
5896 int _arg3;
5897 PyObject * _argo0 = 0;
5898 PyObject * _argo1 = 0;
5899 char *_kwnames[] = { "self","attr","row","col", NULL };
5900
5901 self = self;
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5903 return NULL;
5904 if (_argo0) {
5905 if (_argo0 == Py_None) { _arg0 = NULL; }
5906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
5908 return NULL;
5909 }
5910 }
5911 if (_argo1) {
5912 if (_argo1 == Py_None) { _arg1 = NULL; }
5913 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5914 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
5915 return NULL;
5916 }
5917 }
5918{
5919 wxPy_BEGIN_ALLOW_THREADS;
5920 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
5921
5922 wxPy_END_ALLOW_THREADS;
5923} Py_INCREF(Py_None);
5924 _resultobj = Py_None;
5925 return _resultobj;
5926}
5927
5928#define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5929static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5930 PyObject * _resultobj;
5931 wxPyGridTableBase * _arg0;
5932 wxGridCellAttr * _arg1;
5933 int _arg2;
5934 PyObject * _argo0 = 0;
5935 PyObject * _argo1 = 0;
5936 char *_kwnames[] = { "self","attr","row", NULL };
5937
5938 self = self;
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5940 return NULL;
5941 if (_argo0) {
5942 if (_argo0 == Py_None) { _arg0 = NULL; }
5943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
5945 return NULL;
5946 }
5947 }
5948 if (_argo1) {
5949 if (_argo1 == Py_None) { _arg1 = NULL; }
5950 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5951 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5952 return NULL;
5953 }
5954 }
5955{
5956 wxPy_BEGIN_ALLOW_THREADS;
5957 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
5958
5959 wxPy_END_ALLOW_THREADS;
5960} Py_INCREF(Py_None);
5961 _resultobj = Py_None;
5962 return _resultobj;
5963}
5964
5965#define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5966static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5967 PyObject * _resultobj;
5968 wxPyGridTableBase * _arg0;
5969 wxGridCellAttr * _arg1;
5970 int _arg2;
5971 PyObject * _argo0 = 0;
5972 PyObject * _argo1 = 0;
5973 char *_kwnames[] = { "self","attr","col", NULL };
5974
5975 self = self;
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5977 return NULL;
5978 if (_argo0) {
5979 if (_argo0 == Py_None) { _arg0 = NULL; }
5980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
5982 return NULL;
5983 }
5984 }
5985 if (_argo1) {
5986 if (_argo1 == Py_None) { _arg1 = NULL; }
5987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
5989 return NULL;
5990 }
5991 }
5992{
5993 wxPy_BEGIN_ALLOW_THREADS;
5994 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
5995
5996 wxPy_END_ALLOW_THREADS;
5997} Py_INCREF(Py_None);
5998 _resultobj = Py_None;
5999 return _resultobj;
6000}
6001
6002static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6003 wxGridStringTable *src;
6004 wxGridTableBase *dest;
6005 src = (wxGridStringTable *) ptr;
6006 dest = (wxGridTableBase *) src;
6007 return (void *) dest;
6008}
6009
6010#define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6011static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6012 PyObject * _resultobj;
6013 wxGridStringTable * _result;
6014 int _arg0 = (int ) 0;
6015 int _arg1 = (int ) 0;
6016 char *_kwnames[] = { "numRows","numCols", NULL };
6017 char _ptemp[128];
6018
6019 self = self;
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6021 return NULL;
6022{
6023 wxPy_BEGIN_ALLOW_THREADS;
6024 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6025
6026 wxPy_END_ALLOW_THREADS;
6027} if (_result) {
6028 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6029 _resultobj = Py_BuildValue("s",_ptemp);
6030 } else {
6031 Py_INCREF(Py_None);
6032 _resultobj = Py_None;
6033 }
6034 return _resultobj;
6035}
6036
6037#define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6038static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6039 PyObject * _resultobj;
6040 wxGridTableMessage * _result;
6041 wxGridTableBase * _arg0;
6042 int _arg1;
6043 int _arg2 = (int ) -1;
6044 int _arg3 = (int ) -1;
6045 PyObject * _argo0 = 0;
6046 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6047 char _ptemp[128];
6048
6049 self = self;
6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6051 return NULL;
6052 if (_argo0) {
6053 if (_argo0 == Py_None) { _arg0 = NULL; }
6054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6056 return NULL;
6057 }
6058 }
6059{
6060 wxPy_BEGIN_ALLOW_THREADS;
6061 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6062
6063 wxPy_END_ALLOW_THREADS;
6064} if (_result) {
6065 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6066 _resultobj = Py_BuildValue("s",_ptemp);
6067 } else {
6068 Py_INCREF(Py_None);
6069 _resultobj = Py_None;
6070 }
6071 return _resultobj;
6072}
6073
6074#define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6075static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject * _resultobj;
6077 wxGridTableMessage * _arg0;
6078 PyObject * _argo0 = 0;
6079 char *_kwnames[] = { "self", NULL };
6080
6081 self = self;
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6083 return NULL;
6084 if (_argo0) {
6085 if (_argo0 == Py_None) { _arg0 = NULL; }
6086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6088 return NULL;
6089 }
6090 }
6091{
6092 wxPy_BEGIN_ALLOW_THREADS;
6093 delete_wxGridTableMessage(_arg0);
6094
6095 wxPy_END_ALLOW_THREADS;
6096} Py_INCREF(Py_None);
6097 _resultobj = Py_None;
6098 return _resultobj;
6099}
6100
6101#define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6102static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6103 PyObject * _resultobj;
6104 wxGridTableMessage * _arg0;
6105 wxGridTableBase * _arg1;
6106 PyObject * _argo0 = 0;
6107 PyObject * _argo1 = 0;
6108 char *_kwnames[] = { "self","table", NULL };
6109
6110 self = self;
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6112 return NULL;
6113 if (_argo0) {
6114 if (_argo0 == Py_None) { _arg0 = NULL; }
6115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6117 return NULL;
6118 }
6119 }
6120 if (_argo1) {
6121 if (_argo1 == Py_None) { _arg1 = NULL; }
6122 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6123 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6124 return NULL;
6125 }
6126 }
6127{
6128 wxPy_BEGIN_ALLOW_THREADS;
6129 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6130
6131 wxPy_END_ALLOW_THREADS;
6132} Py_INCREF(Py_None);
6133 _resultobj = Py_None;
6134 return _resultobj;
6135}
6136
6137#define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6138static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject * _resultobj;
6140 wxGridTableBase * _result;
6141 wxGridTableMessage * _arg0;
6142 PyObject * _argo0 = 0;
6143 char *_kwnames[] = { "self", NULL };
6144 char _ptemp[128];
6145
6146 self = self;
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6148 return NULL;
6149 if (_argo0) {
6150 if (_argo0 == Py_None) { _arg0 = NULL; }
6151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6153 return NULL;
6154 }
6155 }
6156{
6157 wxPy_BEGIN_ALLOW_THREADS;
6158 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6159
6160 wxPy_END_ALLOW_THREADS;
6161} if (_result) {
6162 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6163 _resultobj = Py_BuildValue("s",_ptemp);
6164 } else {
6165 Py_INCREF(Py_None);
6166 _resultobj = Py_None;
6167 }
6168 return _resultobj;
6169}
6170
6171#define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6172static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject * _resultobj;
6174 wxGridTableMessage * _arg0;
6175 int _arg1;
6176 PyObject * _argo0 = 0;
6177 char *_kwnames[] = { "self","id", NULL };
6178
6179 self = self;
6180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6181 return NULL;
6182 if (_argo0) {
6183 if (_argo0 == Py_None) { _arg0 = NULL; }
6184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6186 return NULL;
6187 }
6188 }
6189{
6190 wxPy_BEGIN_ALLOW_THREADS;
6191 wxGridTableMessage_SetId(_arg0,_arg1);
6192
6193 wxPy_END_ALLOW_THREADS;
6194} Py_INCREF(Py_None);
6195 _resultobj = Py_None;
6196 return _resultobj;
6197}
6198
6199#define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6200static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6201 PyObject * _resultobj;
6202 int _result;
6203 wxGridTableMessage * _arg0;
6204 PyObject * _argo0 = 0;
6205 char *_kwnames[] = { "self", NULL };
6206
6207 self = self;
6208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6209 return NULL;
6210 if (_argo0) {
6211 if (_argo0 == Py_None) { _arg0 = NULL; }
6212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6214 return NULL;
6215 }
6216 }
6217{
6218 wxPy_BEGIN_ALLOW_THREADS;
6219 _result = (int )wxGridTableMessage_GetId(_arg0);
6220
6221 wxPy_END_ALLOW_THREADS;
6222} _resultobj = Py_BuildValue("i",_result);
6223 return _resultobj;
6224}
6225
6226#define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6227static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6228 PyObject * _resultobj;
6229 wxGridTableMessage * _arg0;
6230 int _arg1;
6231 PyObject * _argo0 = 0;
6232 char *_kwnames[] = { "self","comInt1", NULL };
6233
6234 self = self;
6235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6236 return NULL;
6237 if (_argo0) {
6238 if (_argo0 == Py_None) { _arg0 = NULL; }
6239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6241 return NULL;
6242 }
6243 }
6244{
6245 wxPy_BEGIN_ALLOW_THREADS;
6246 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6247
6248 wxPy_END_ALLOW_THREADS;
6249} Py_INCREF(Py_None);
6250 _resultobj = Py_None;
6251 return _resultobj;
6252}
6253
6254#define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6255static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject * _resultobj;
6257 int _result;
6258 wxGridTableMessage * _arg0;
6259 PyObject * _argo0 = 0;
6260 char *_kwnames[] = { "self", NULL };
6261
6262 self = self;
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6264 return NULL;
6265 if (_argo0) {
6266 if (_argo0 == Py_None) { _arg0 = NULL; }
6267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6269 return NULL;
6270 }
6271 }
6272{
6273 wxPy_BEGIN_ALLOW_THREADS;
6274 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6275
6276 wxPy_END_ALLOW_THREADS;
6277} _resultobj = Py_BuildValue("i",_result);
6278 return _resultobj;
6279}
6280
6281#define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6282static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6283 PyObject * _resultobj;
6284 wxGridTableMessage * _arg0;
6285 int _arg1;
6286 PyObject * _argo0 = 0;
6287 char *_kwnames[] = { "self","comInt2", NULL };
6288
6289 self = self;
6290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6291 return NULL;
6292 if (_argo0) {
6293 if (_argo0 == Py_None) { _arg0 = NULL; }
6294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6296 return NULL;
6297 }
6298 }
6299{
6300 wxPy_BEGIN_ALLOW_THREADS;
6301 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6302
6303 wxPy_END_ALLOW_THREADS;
6304} Py_INCREF(Py_None);
6305 _resultobj = Py_None;
6306 return _resultobj;
6307}
6308
6309#define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6310static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6311 PyObject * _resultobj;
6312 int _result;
6313 wxGridTableMessage * _arg0;
6314 PyObject * _argo0 = 0;
6315 char *_kwnames[] = { "self", NULL };
6316
6317 self = self;
6318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6319 return NULL;
6320 if (_argo0) {
6321 if (_argo0 == Py_None) { _arg0 = NULL; }
6322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6324 return NULL;
6325 }
6326 }
6327{
6328 wxPy_BEGIN_ALLOW_THREADS;
6329 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6330
6331 wxPy_END_ALLOW_THREADS;
6332} _resultobj = Py_BuildValue("i",_result);
6333 return _resultobj;
6334}
6335
6336#define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6337static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6338 PyObject * _resultobj;
6339 wxGridCellCoords * _result;
6340 int _arg0 = (int ) -1;
6341 int _arg1 = (int ) -1;
6342 char *_kwnames[] = { "r","c", NULL };
6343 char _ptemp[128];
6344
6345 self = self;
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6347 return NULL;
6348{
6349 wxPy_BEGIN_ALLOW_THREADS;
6350 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6351
6352 wxPy_END_ALLOW_THREADS;
6353} if (_result) {
6354 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6355 _resultobj = Py_BuildValue("s",_ptemp);
6356 } else {
6357 Py_INCREF(Py_None);
6358 _resultobj = Py_None;
6359 }
6360 return _resultobj;
6361}
6362
6363#define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6364static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6365 PyObject * _resultobj;
6366 wxGridCellCoords * _arg0;
6367 PyObject * _argo0 = 0;
6368 char *_kwnames[] = { "self", NULL };
6369
6370 self = self;
6371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6372 return NULL;
6373 if (_argo0) {
6374 if (_argo0 == Py_None) { _arg0 = NULL; }
6375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6377 return NULL;
6378 }
6379 }
6380{
6381 wxPy_BEGIN_ALLOW_THREADS;
6382 delete_wxGridCellCoords(_arg0);
6383
6384 wxPy_END_ALLOW_THREADS;
6385} Py_INCREF(Py_None);
6386 _resultobj = Py_None;
6387 return _resultobj;
6388}
6389
6390#define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6391static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6392 PyObject * _resultobj;
6393 int _result;
6394 wxGridCellCoords * _arg0;
6395 PyObject * _argo0 = 0;
6396 char *_kwnames[] = { "self", NULL };
6397
6398 self = self;
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6400 return NULL;
6401 if (_argo0) {
6402 if (_argo0 == Py_None) { _arg0 = NULL; }
6403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6405 return NULL;
6406 }
6407 }
6408{
6409 wxPy_BEGIN_ALLOW_THREADS;
6410 _result = (int )wxGridCellCoords_GetRow(_arg0);
6411
6412 wxPy_END_ALLOW_THREADS;
6413} _resultobj = Py_BuildValue("i",_result);
6414 return _resultobj;
6415}
6416
6417#define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6418static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6419 PyObject * _resultobj;
6420 wxGridCellCoords * _arg0;
6421 int _arg1;
6422 PyObject * _argo0 = 0;
6423 char *_kwnames[] = { "self","n", NULL };
6424
6425 self = self;
6426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6427 return NULL;
6428 if (_argo0) {
6429 if (_argo0 == Py_None) { _arg0 = NULL; }
6430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6432 return NULL;
6433 }
6434 }
6435{
6436 wxPy_BEGIN_ALLOW_THREADS;
6437 wxGridCellCoords_SetRow(_arg0,_arg1);
6438
6439 wxPy_END_ALLOW_THREADS;
6440} Py_INCREF(Py_None);
6441 _resultobj = Py_None;
6442 return _resultobj;
6443}
6444
6445#define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6446static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6447 PyObject * _resultobj;
6448 int _result;
6449 wxGridCellCoords * _arg0;
6450 PyObject * _argo0 = 0;
6451 char *_kwnames[] = { "self", NULL };
6452
6453 self = self;
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6455 return NULL;
6456 if (_argo0) {
6457 if (_argo0 == Py_None) { _arg0 = NULL; }
6458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6460 return NULL;
6461 }
6462 }
6463{
6464 wxPy_BEGIN_ALLOW_THREADS;
6465 _result = (int )wxGridCellCoords_GetCol(_arg0);
6466
6467 wxPy_END_ALLOW_THREADS;
6468} _resultobj = Py_BuildValue("i",_result);
6469 return _resultobj;
6470}
6471
6472#define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6473static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject * _resultobj;
6475 wxGridCellCoords * _arg0;
6476 int _arg1;
6477 PyObject * _argo0 = 0;
6478 char *_kwnames[] = { "self","n", NULL };
6479
6480 self = self;
6481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6482 return NULL;
6483 if (_argo0) {
6484 if (_argo0 == Py_None) { _arg0 = NULL; }
6485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6487 return NULL;
6488 }
6489 }
6490{
6491 wxPy_BEGIN_ALLOW_THREADS;
6492 wxGridCellCoords_SetCol(_arg0,_arg1);
6493
6494 wxPy_END_ALLOW_THREADS;
6495} Py_INCREF(Py_None);
6496 _resultobj = Py_None;
6497 return _resultobj;
6498}
6499
6500#define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6501static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject * _resultobj;
6503 wxGridCellCoords * _arg0;
6504 int _arg1;
6505 int _arg2;
6506 PyObject * _argo0 = 0;
6507 char *_kwnames[] = { "self","row","col", NULL };
6508
6509 self = self;
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6511 return NULL;
6512 if (_argo0) {
6513 if (_argo0 == Py_None) { _arg0 = NULL; }
6514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6516 return NULL;
6517 }
6518 }
6519{
6520 wxPy_BEGIN_ALLOW_THREADS;
6521 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6522
6523 wxPy_END_ALLOW_THREADS;
6524} Py_INCREF(Py_None);
6525 _resultobj = Py_None;
6526 return _resultobj;
6527}
6528
6529static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6530 PyObject* tup = PyTuple_New(2);
6531 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6532 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6533 return tup;
6534 }
6535static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6536 PyObject * _resultobj;
6537 PyObject * _result;
6538 wxGridCellCoords * _arg0;
6539 PyObject * _argo0 = 0;
6540 char *_kwnames[] = { "self", NULL };
6541
6542 self = self;
6543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6544 return NULL;
6545 if (_argo0) {
6546 if (_argo0 == Py_None) { _arg0 = NULL; }
6547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6549 return NULL;
6550 }
6551 }
6552{
6553 wxPy_BEGIN_ALLOW_THREADS;
6554 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6555
6556 wxPy_END_ALLOW_THREADS;
6557}{
6558 _resultobj = _result;
6559}
6560 return _resultobj;
6561}
6562
6563static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6564 return *self != other;
6565 }
6566static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject * _resultobj;
6568 int _result;
6569 wxGridCellCoords * _arg0;
6570 wxGridCellCoords * _arg1;
6571 PyObject * _argo0 = 0;
6572 PyObject * _argo1 = 0;
6573 char *_kwnames[] = { "self","other", NULL };
6574
6575 self = self;
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6577 return NULL;
6578 if (_argo0) {
6579 if (_argo0 == Py_None) { _arg0 = NULL; }
6580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6582 return NULL;
6583 }
6584 }
6585 if (_argo1) {
6586 if (_argo1 == Py_None) { _arg1 = NULL; }
6587 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6588 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6589 return NULL;
6590 }
6591 }
6592{
6593 wxPy_BEGIN_ALLOW_THREADS;
6594 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6595
6596 wxPy_END_ALLOW_THREADS;
6597} _resultobj = Py_BuildValue("i",_result);
6598 return _resultobj;
6599}
6600
6601static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6602 wxGrid *src;
6603 wxScrolledWindow *dest;
6604 src = (wxGrid *) ptr;
6605 dest = (wxScrolledWindow *) src;
6606 return (void *) dest;
6607}
6608
6609static void *SwigwxGridTowxPanel(void *ptr) {
6610 wxGrid *src;
6611 wxPanel *dest;
6612 src = (wxGrid *) ptr;
6613 dest = (wxPanel *) src;
6614 return (void *) dest;
6615}
6616
6617static void *SwigwxGridTowxWindow(void *ptr) {
6618 wxGrid *src;
6619 wxWindow *dest;
6620 src = (wxGrid *) ptr;
6621 dest = (wxWindow *) src;
6622 return (void *) dest;
6623}
6624
6625static void *SwigwxGridTowxEvtHandler(void *ptr) {
6626 wxGrid *src;
6627 wxEvtHandler *dest;
6628 src = (wxGrid *) ptr;
6629 dest = (wxEvtHandler *) src;
6630 return (void *) dest;
6631}
6632
6633#define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6634static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject * _resultobj;
6636 wxGrid * _result;
6637 wxWindow * _arg0;
6638 wxWindowID _arg1;
6639 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6640 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6641 long _arg4 = (long ) wxWANTS_CHARS;
6642 char * _arg5 = (char *) wxPanelNameStr;
6643 PyObject * _argo0 = 0;
6644 wxPoint temp;
6645 PyObject * _obj2 = 0;
6646 wxSize temp0;
6647 PyObject * _obj3 = 0;
6648 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6649 char _ptemp[128];
6650
6651 self = self;
6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
6653 return NULL;
6654 if (_argo0) {
6655 if (_argo0 == Py_None) { _arg0 = NULL; }
6656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6658 return NULL;
6659 }
6660 }
6661 if (_obj2)
6662{
6663 _arg2 = &temp;
6664 if (! wxPoint_helper(_obj2, &_arg2))
6665 return NULL;
6666}
6667 if (_obj3)
6668{
6669 _arg3 = &temp0;
6670 if (! wxSize_helper(_obj3, &_arg3))
6671 return NULL;
6672}
6673{
6674 wxPy_BEGIN_ALLOW_THREADS;
6675 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
6676
6677 wxPy_END_ALLOW_THREADS;
6678} if (_result) {
6679 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
6680 _resultobj = Py_BuildValue("s",_ptemp);
6681 } else {
6682 Py_INCREF(Py_None);
6683 _resultobj = Py_None;
6684 }
6685 return _resultobj;
6686}
6687
6688#define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6689static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject * _resultobj;
6691 bool _result;
6692 wxGrid * _arg0;
6693 int _arg1;
6694 int _arg2;
6695 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6696 PyObject * _argo0 = 0;
6697 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
6698
6699 self = self;
6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6701 return NULL;
6702 if (_argo0) {
6703 if (_argo0 == Py_None) { _arg0 = NULL; }
6704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6706 return NULL;
6707 }
6708 }
6709{
6710 wxPy_BEGIN_ALLOW_THREADS;
6711 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
6712
6713 wxPy_END_ALLOW_THREADS;
6714} _resultobj = Py_BuildValue("i",_result);
6715 return _resultobj;
6716}
6717
6718#define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6719static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6720 PyObject * _resultobj;
6721 wxGrid * _arg0;
6722 WXGRIDSELECTIONMODES _arg1;
6723 PyObject * _argo0 = 0;
6724 char *_kwnames[] = { "self","selmode", NULL };
6725
6726 self = self;
6727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
6728 return NULL;
6729 if (_argo0) {
6730 if (_argo0 == Py_None) { _arg0 = NULL; }
6731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6733 return NULL;
6734 }
6735 }
6736{
6737 wxPy_BEGIN_ALLOW_THREADS;
6738 wxGrid_SetSelectionMode(_arg0,_arg1);
6739
6740 wxPy_END_ALLOW_THREADS;
6741} Py_INCREF(Py_None);
6742 _resultobj = Py_None;
6743 return _resultobj;
6744}
6745
6746#define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6747static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject * _resultobj;
6749 int _result;
6750 wxGrid * _arg0;
6751 PyObject * _argo0 = 0;
6752 char *_kwnames[] = { "self", NULL };
6753
6754 self = self;
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
6756 return NULL;
6757 if (_argo0) {
6758 if (_argo0 == Py_None) { _arg0 = NULL; }
6759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6761 return NULL;
6762 }
6763 }
6764{
6765 wxPy_BEGIN_ALLOW_THREADS;
6766 _result = (int )wxGrid_GetNumberRows(_arg0);
6767
6768 wxPy_END_ALLOW_THREADS;
6769} _resultobj = Py_BuildValue("i",_result);
6770 return _resultobj;
6771}
6772
6773#define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6774static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject * _resultobj;
6776 int _result;
6777 wxGrid * _arg0;
6778 PyObject * _argo0 = 0;
6779 char *_kwnames[] = { "self", NULL };
6780
6781 self = self;
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
6783 return NULL;
6784 if (_argo0) {
6785 if (_argo0 == Py_None) { _arg0 = NULL; }
6786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6788 return NULL;
6789 }
6790 }
6791{
6792 wxPy_BEGIN_ALLOW_THREADS;
6793 _result = (int )wxGrid_GetNumberCols(_arg0);
6794
6795 wxPy_END_ALLOW_THREADS;
6796} _resultobj = Py_BuildValue("i",_result);
6797 return _resultobj;
6798}
6799
6800#define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6801static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6802 PyObject * _resultobj;
6803 bool _result;
6804 wxGrid * _arg0;
6805 wxGridTableMessage * _arg1;
6806 PyObject * _argo0 = 0;
6807 PyObject * _argo1 = 0;
6808 char *_kwnames[] = { "self","arg2", NULL };
6809
6810 self = self;
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
6812 return NULL;
6813 if (_argo0) {
6814 if (_argo0 == Py_None) { _arg0 = NULL; }
6815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6817 return NULL;
6818 }
6819 }
6820 if (_argo1) {
6821 if (_argo1 == Py_None) { _arg1 = NULL; }
6822 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
6823 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6824 return NULL;
6825 }
6826 }
6827{
6828 wxPy_BEGIN_ALLOW_THREADS;
6829 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
6830
6831 wxPy_END_ALLOW_THREADS;
6832} _resultobj = Py_BuildValue("i",_result);
6833 return _resultobj;
6834}
6835
6836#define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6837static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject * _resultobj;
6839 wxGridTableBase * _result;
6840 wxGrid * _arg0;
6841 PyObject * _argo0 = 0;
6842 char *_kwnames[] = { "self", NULL };
6843 char _ptemp[128];
6844
6845 self = self;
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
6847 return NULL;
6848 if (_argo0) {
6849 if (_argo0 == Py_None) { _arg0 = NULL; }
6850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6852 return NULL;
6853 }
6854 }
6855{
6856 wxPy_BEGIN_ALLOW_THREADS;
6857 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
6858
6859 wxPy_END_ALLOW_THREADS;
6860} if (_result) {
6861 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6862 _resultobj = Py_BuildValue("s",_ptemp);
6863 } else {
6864 Py_INCREF(Py_None);
6865 _resultobj = Py_None;
6866 }
6867 return _resultobj;
6868}
6869
6870#define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6871static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6872 PyObject * _resultobj;
6873 bool _result;
6874 wxGrid * _arg0;
6875 wxGridTableBase * _arg1;
6876 bool _arg2 = (bool ) FALSE;
6877 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6878 PyObject * _argo0 = 0;
6879 PyObject * _argo1 = 0;
6880 int tempbool2 = (int) FALSE;
6881 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
6882
6883 self = self;
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
6885 return NULL;
6886 if (_argo0) {
6887 if (_argo0 == Py_None) { _arg0 = NULL; }
6888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
6890 return NULL;
6891 }
6892 }
6893 if (_argo1) {
6894 if (_argo1 == Py_None) { _arg1 = NULL; }
6895 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6896 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
6897 return NULL;
6898 }
6899 }
6900 _arg2 = (bool ) tempbool2;
6901{
6902 wxPy_BEGIN_ALLOW_THREADS;
6903 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
6904
6905 wxPy_END_ALLOW_THREADS;
6906} _resultobj = Py_BuildValue("i",_result);
6907 return _resultobj;
6908}
6909
6910#define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
6911static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6912 PyObject * _resultobj;
6913 wxGrid * _arg0;
6914 PyObject * _argo0 = 0;
6915 char *_kwnames[] = { "self", NULL };
6916
6917 self = self;
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
6919 return NULL;
6920 if (_argo0) {
6921 if (_argo0 == Py_None) { _arg0 = NULL; }
6922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
6924 return NULL;
6925 }
6926 }
6927{
6928 wxPy_BEGIN_ALLOW_THREADS;
6929 wxGrid_ClearGrid(_arg0);
6930
6931 wxPy_END_ALLOW_THREADS;
6932} Py_INCREF(Py_None);
6933 _resultobj = Py_None;
6934 return _resultobj;
6935}
6936
6937#define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
6938static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6939 PyObject * _resultobj;
6940 bool _result;
6941 wxGrid * _arg0;
6942 int _arg1 = (int ) 0;
6943 int _arg2 = (int ) 1;
6944 bool _arg3 = (bool ) TRUE;
6945 PyObject * _argo0 = 0;
6946 int tempbool3 = (int) TRUE;
6947 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
6948
6949 self = self;
6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6951 return NULL;
6952 if (_argo0) {
6953 if (_argo0 == Py_None) { _arg0 = NULL; }
6954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
6956 return NULL;
6957 }
6958 }
6959 _arg3 = (bool ) tempbool3;
6960{
6961 wxPy_BEGIN_ALLOW_THREADS;
6962 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
6963
6964 wxPy_END_ALLOW_THREADS;
6965} _resultobj = Py_BuildValue("i",_result);
6966 return _resultobj;
6967}
6968
6969#define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
6970static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject * _resultobj;
6972 bool _result;
6973 wxGrid * _arg0;
6974 int _arg1 = (int ) 1;
6975 bool _arg2 = (bool ) TRUE;
6976 PyObject * _argo0 = 0;
6977 int tempbool2 = (int) TRUE;
6978 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
6979
6980 self = self;
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
6982 return NULL;
6983 if (_argo0) {
6984 if (_argo0 == Py_None) { _arg0 = NULL; }
6985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
6987 return NULL;
6988 }
6989 }
6990 _arg2 = (bool ) tempbool2;
6991{
6992 wxPy_BEGIN_ALLOW_THREADS;
6993 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
6994
6995 wxPy_END_ALLOW_THREADS;
6996} _resultobj = Py_BuildValue("i",_result);
6997 return _resultobj;
6998}
6999
7000#define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7001static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7002 PyObject * _resultobj;
7003 bool _result;
7004 wxGrid * _arg0;
7005 int _arg1 = (int ) 0;
7006 int _arg2 = (int ) 1;
7007 bool _arg3 = (bool ) TRUE;
7008 PyObject * _argo0 = 0;
7009 int tempbool3 = (int) TRUE;
7010 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7011
7012 self = self;
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7014 return NULL;
7015 if (_argo0) {
7016 if (_argo0 == Py_None) { _arg0 = NULL; }
7017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7019 return NULL;
7020 }
7021 }
7022 _arg3 = (bool ) tempbool3;
7023{
7024 wxPy_BEGIN_ALLOW_THREADS;
7025 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7026
7027 wxPy_END_ALLOW_THREADS;
7028} _resultobj = Py_BuildValue("i",_result);
7029 return _resultobj;
7030}
7031
7032#define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7033static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7034 PyObject * _resultobj;
7035 bool _result;
7036 wxGrid * _arg0;
7037 int _arg1 = (int ) 0;
7038 int _arg2 = (int ) 1;
7039 bool _arg3 = (bool ) TRUE;
7040 PyObject * _argo0 = 0;
7041 int tempbool3 = (int) TRUE;
7042 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7043
7044 self = self;
7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7046 return NULL;
7047 if (_argo0) {
7048 if (_argo0 == Py_None) { _arg0 = NULL; }
7049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7051 return NULL;
7052 }
7053 }
7054 _arg3 = (bool ) tempbool3;
7055{
7056 wxPy_BEGIN_ALLOW_THREADS;
7057 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7058
7059 wxPy_END_ALLOW_THREADS;
7060} _resultobj = Py_BuildValue("i",_result);
7061 return _resultobj;
7062}
7063
7064#define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7065static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7066 PyObject * _resultobj;
7067 bool _result;
7068 wxGrid * _arg0;
7069 int _arg1 = (int ) 1;
7070 bool _arg2 = (bool ) TRUE;
7071 PyObject * _argo0 = 0;
7072 int tempbool2 = (int) TRUE;
7073 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7074
7075 self = self;
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7077 return NULL;
7078 if (_argo0) {
7079 if (_argo0 == Py_None) { _arg0 = NULL; }
7080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7082 return NULL;
7083 }
7084 }
7085 _arg2 = (bool ) tempbool2;
7086{
7087 wxPy_BEGIN_ALLOW_THREADS;
7088 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7089
7090 wxPy_END_ALLOW_THREADS;
7091} _resultobj = Py_BuildValue("i",_result);
7092 return _resultobj;
7093}
7094
7095#define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7096static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject * _resultobj;
7098 bool _result;
7099 wxGrid * _arg0;
7100 int _arg1 = (int ) 0;
7101 int _arg2 = (int ) 1;
7102 bool _arg3 = (bool ) TRUE;
7103 PyObject * _argo0 = 0;
7104 int tempbool3 = (int) TRUE;
7105 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7106
7107 self = self;
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7109 return NULL;
7110 if (_argo0) {
7111 if (_argo0 == Py_None) { _arg0 = NULL; }
7112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7114 return NULL;
7115 }
7116 }
7117 _arg3 = (bool ) tempbool3;
7118{
7119 wxPy_BEGIN_ALLOW_THREADS;
7120 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7121
7122 wxPy_END_ALLOW_THREADS;
7123} _resultobj = Py_BuildValue("i",_result);
7124 return _resultobj;
7125}
7126
7127#define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7128static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject * _resultobj;
7130 wxGrid * _arg0;
7131 wxDC * _arg1;
7132 wxGridCellAttr * _arg2;
7133 PyObject * _argo0 = 0;
7134 PyObject * _argo1 = 0;
7135 PyObject * _argo2 = 0;
7136 char *_kwnames[] = { "self","dc","attr", NULL };
7137
7138 self = self;
7139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7140 return NULL;
7141 if (_argo0) {
7142 if (_argo0 == Py_None) { _arg0 = NULL; }
7143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7145 return NULL;
7146 }
7147 }
7148 if (_argo1) {
7149 if (_argo1 == Py_None) { _arg1 = NULL; }
7150 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7151 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7152 return NULL;
7153 }
7154 }
7155 if (_argo2) {
7156 if (_argo2 == Py_None) { _arg2 = NULL; }
7157 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7158 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7159 return NULL;
7160 }
7161 }
7162{
7163 wxPy_BEGIN_ALLOW_THREADS;
7164 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7165
7166 wxPy_END_ALLOW_THREADS;
7167} Py_INCREF(Py_None);
7168 _resultobj = Py_None;
7169 return _resultobj;
7170}
7171
7172#define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7173static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject * _resultobj;
7175 wxGrid * _arg0;
7176 wxDC * _arg1;
7177 wxString * _arg2;
7178 wxRect * _arg3;
7179 int _arg4 = (int ) wxLEFT;
7180 int _arg5 = (int ) wxTOP;
7181 PyObject * _argo0 = 0;
7182 PyObject * _argo1 = 0;
7183 PyObject * _obj2 = 0;
7184 wxRect temp;
7185 PyObject * _obj3 = 0;
7186 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7187
7188 self = self;
7189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7190 return NULL;
7191 if (_argo0) {
7192 if (_argo0 == Py_None) { _arg0 = NULL; }
7193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7195 return NULL;
7196 }
7197 }
7198 if (_argo1) {
7199 if (_argo1 == Py_None) { _arg1 = NULL; }
7200 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7201 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7202 return NULL;
7203 }
7204 }
7205{
185d7c3e
RD
7206#if PYTHON_API_VERSION >= 1009
7207 char* tmpPtr; int tmpSize;
7208 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7209 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
7210 return NULL;
7211 }
7212 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7213 return NULL;
7214 _arg2 = new wxString(tmpPtr, tmpSize);
7215#else
f6bcfd97
BP
7216 if (!PyString_Check(_obj2)) {
7217 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7218 return NULL;
7219 }
185d7c3e
RD
7220 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7221#endif
f6bcfd97
BP
7222}
7223{
7224 _arg3 = &temp;
7225 if (! wxRect_helper(_obj3, &_arg3))
7226 return NULL;
7227}
7228{
7229 wxPy_BEGIN_ALLOW_THREADS;
7230 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7231
7232 wxPy_END_ALLOW_THREADS;
7233} Py_INCREF(Py_None);
7234 _resultobj = Py_None;
7235{
7236 if (_obj2)
7237 delete _arg2;
7238}
7239 return _resultobj;
7240}
7241
7242#define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7243static PyObject *_wrap_wxGrid_StringToLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7244 PyObject * _resultobj;
7245 wxGrid * _arg0;
7246 wxString * _arg1;
7247 wxArrayString * _arg2;
7248 PyObject * _argo0 = 0;
7249 PyObject * _obj1 = 0;
7250 PyObject * _argo2 = 0;
7251 char *_kwnames[] = { "self","value","lines", NULL };
7252
7253 self = self;
7254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_StringToLines",_kwnames,&_argo0,&_obj1,&_argo2))
7255 return NULL;
7256 if (_argo0) {
7257 if (_argo0 == Py_None) { _arg0 = NULL; }
7258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7260 return NULL;
7261 }
7262 }
7263{
185d7c3e
RD
7264#if PYTHON_API_VERSION >= 1009
7265 char* tmpPtr; int tmpSize;
7266 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7267 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
7268 return NULL;
7269 }
7270 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7271 return NULL;
7272 _arg1 = new wxString(tmpPtr, tmpSize);
7273#else
f6bcfd97
BP
7274 if (!PyString_Check(_obj1)) {
7275 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7276 return NULL;
7277 }
185d7c3e
RD
7278 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7279#endif
f6bcfd97
BP
7280}
7281 if (_argo2) {
7282 if (_argo2 == Py_None) { _arg2 = NULL; }
7283 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7284 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7285 return NULL;
7286 }
7287 }
7288{
7289 wxPy_BEGIN_ALLOW_THREADS;
7290 wxGrid_StringToLines(_arg0,*_arg1,*_arg2);
7291
7292 wxPy_END_ALLOW_THREADS;
7293} Py_INCREF(Py_None);
7294 _resultobj = Py_None;
7295{
7296 if (_obj1)
7297 delete _arg1;
7298}
7299 return _resultobj;
7300}
7301
7302#define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7303static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7304 PyObject * _resultobj;
7305 wxGrid * _arg0;
7306 wxDC * _arg1;
7307 wxArrayString * _arg2;
7308 long * _arg3;
7309 long temp;
7310 long * _arg4;
7311 long temp0;
7312 PyObject * _argo0 = 0;
7313 PyObject * _argo1 = 0;
7314 PyObject * _argo2 = 0;
7315 char *_kwnames[] = { "self","dc","lines", NULL };
7316
7317 self = self;
7318{
7319 _arg3 = &temp;
7320}
7321{
7322 _arg4 = &temp0;
7323}
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_argo2))
7325 return NULL;
7326 if (_argo0) {
7327 if (_argo0 == Py_None) { _arg0 = NULL; }
7328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7330 return NULL;
7331 }
7332 }
7333 if (_argo1) {
7334 if (_argo1 == Py_None) { _arg1 = NULL; }
7335 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7336 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7337 return NULL;
7338 }
7339 }
7340 if (_argo2) {
7341 if (_argo2 == Py_None) { _arg2 = NULL; }
7342 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7343 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7344 return NULL;
7345 }
7346 }
7347{
7348 wxPy_BEGIN_ALLOW_THREADS;
7349 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7350
7351 wxPy_END_ALLOW_THREADS;
7352} Py_INCREF(Py_None);
7353 _resultobj = Py_None;
7354{
7355 PyObject *o;
7356 o = PyInt_FromLong((long) (*_arg3));
7357 _resultobj = t_output_helper(_resultobj, o);
7358}
7359{
7360 PyObject *o;
7361 o = PyInt_FromLong((long) (*_arg4));
7362 _resultobj = t_output_helper(_resultobj, o);
7363}
7364 return _resultobj;
7365}
7366
7367#define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7368static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7369 PyObject * _resultobj;
7370 wxGrid * _arg0;
7371 PyObject * _argo0 = 0;
7372 char *_kwnames[] = { "self", NULL };
7373
7374 self = self;
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7376 return NULL;
7377 if (_argo0) {
7378 if (_argo0 == Py_None) { _arg0 = NULL; }
7379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7381 return NULL;
7382 }
7383 }
7384{
7385 wxPy_BEGIN_ALLOW_THREADS;
7386 wxGrid_BeginBatch(_arg0);
7387
7388 wxPy_END_ALLOW_THREADS;
7389} Py_INCREF(Py_None);
7390 _resultobj = Py_None;
7391 return _resultobj;
7392}
7393
7394#define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7395static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7396 PyObject * _resultobj;
7397 wxGrid * _arg0;
7398 PyObject * _argo0 = 0;
7399 char *_kwnames[] = { "self", NULL };
7400
7401 self = self;
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7403 return NULL;
7404 if (_argo0) {
7405 if (_argo0 == Py_None) { _arg0 = NULL; }
7406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7408 return NULL;
7409 }
7410 }
7411{
7412 wxPy_BEGIN_ALLOW_THREADS;
7413 wxGrid_EndBatch(_arg0);
7414
7415 wxPy_END_ALLOW_THREADS;
7416} Py_INCREF(Py_None);
7417 _resultobj = Py_None;
7418 return _resultobj;
7419}
7420
7421#define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7422static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7423 PyObject * _resultobj;
7424 int _result;
7425 wxGrid * _arg0;
7426 PyObject * _argo0 = 0;
7427 char *_kwnames[] = { "self", NULL };
7428
7429 self = self;
7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7431 return NULL;
7432 if (_argo0) {
7433 if (_argo0 == Py_None) { _arg0 = NULL; }
7434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7436 return NULL;
7437 }
7438 }
7439{
7440 wxPy_BEGIN_ALLOW_THREADS;
7441 _result = (int )wxGrid_GetBatchCount(_arg0);
7442
7443 wxPy_END_ALLOW_THREADS;
7444} _resultobj = Py_BuildValue("i",_result);
7445 return _resultobj;
7446}
7447
7448#define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7449static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject * _resultobj;
7451 bool _result;
7452 wxGrid * _arg0;
7453 PyObject * _argo0 = 0;
7454 char *_kwnames[] = { "self", NULL };
7455
7456 self = self;
7457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7458 return NULL;
7459 if (_argo0) {
7460 if (_argo0 == Py_None) { _arg0 = NULL; }
7461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7463 return NULL;
7464 }
7465 }
7466{
7467 wxPy_BEGIN_ALLOW_THREADS;
7468 _result = (bool )wxGrid_IsEditable(_arg0);
7469
7470 wxPy_END_ALLOW_THREADS;
7471} _resultobj = Py_BuildValue("i",_result);
7472 return _resultobj;
7473}
7474
7475#define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7476static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject * _resultobj;
7478 wxGrid * _arg0;
7479 bool _arg1;
7480 PyObject * _argo0 = 0;
7481 int tempbool1;
7482 char *_kwnames[] = { "self","edit", NULL };
7483
7484 self = self;
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7486 return NULL;
7487 if (_argo0) {
7488 if (_argo0 == Py_None) { _arg0 = NULL; }
7489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7491 return NULL;
7492 }
7493 }
7494 _arg1 = (bool ) tempbool1;
7495{
7496 wxPy_BEGIN_ALLOW_THREADS;
7497 wxGrid_EnableEditing(_arg0,_arg1);
7498
7499 wxPy_END_ALLOW_THREADS;
7500} Py_INCREF(Py_None);
7501 _resultobj = Py_None;
7502 return _resultobj;
7503}
7504
7505#define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7506static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7507 PyObject * _resultobj;
7508 wxGrid * _arg0;
7509 bool _arg1 = (bool ) TRUE;
7510 PyObject * _argo0 = 0;
7511 int tempbool1 = (int) TRUE;
7512 char *_kwnames[] = { "self","enable", NULL };
7513
7514 self = self;
7515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7516 return NULL;
7517 if (_argo0) {
7518 if (_argo0 == Py_None) { _arg0 = NULL; }
7519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7521 return NULL;
7522 }
7523 }
7524 _arg1 = (bool ) tempbool1;
7525{
7526 wxPy_BEGIN_ALLOW_THREADS;
7527 wxGrid_EnableCellEditControl(_arg0,_arg1);
7528
7529 wxPy_END_ALLOW_THREADS;
7530} Py_INCREF(Py_None);
7531 _resultobj = Py_None;
7532 return _resultobj;
7533}
7534
7535#define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7536static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7537 PyObject * _resultobj;
7538 wxGrid * _arg0;
7539 PyObject * _argo0 = 0;
7540 char *_kwnames[] = { "self", NULL };
7541
7542 self = self;
7543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7544 return NULL;
7545 if (_argo0) {
7546 if (_argo0 == Py_None) { _arg0 = NULL; }
7547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7549 return NULL;
7550 }
7551 }
7552{
7553 wxPy_BEGIN_ALLOW_THREADS;
7554 wxGrid_DisableCellEditControl(_arg0);
7555
7556 wxPy_END_ALLOW_THREADS;
7557} Py_INCREF(Py_None);
7558 _resultobj = Py_None;
7559 return _resultobj;
7560}
7561
7562#define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7563static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject * _resultobj;
7565 bool _result;
7566 wxGrid * _arg0;
7567 PyObject * _argo0 = 0;
7568 char *_kwnames[] = { "self", NULL };
7569
7570 self = self;
7571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7572 return NULL;
7573 if (_argo0) {
7574 if (_argo0 == Py_None) { _arg0 = NULL; }
7575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7577 return NULL;
7578 }
7579 }
7580{
7581 wxPy_BEGIN_ALLOW_THREADS;
7582 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7583
7584 wxPy_END_ALLOW_THREADS;
7585} _resultobj = Py_BuildValue("i",_result);
7586 return _resultobj;
7587}
7588
7589#define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7590static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject * _resultobj;
7592 bool _result;
7593 wxGrid * _arg0;
7594 PyObject * _argo0 = 0;
7595 char *_kwnames[] = { "self", NULL };
7596
7597 self = self;
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7599 return NULL;
7600 if (_argo0) {
7601 if (_argo0 == Py_None) { _arg0 = NULL; }
7602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7604 return NULL;
7605 }
7606 }
7607{
7608 wxPy_BEGIN_ALLOW_THREADS;
7609 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7610
7611 wxPy_END_ALLOW_THREADS;
7612} _resultobj = Py_BuildValue("i",_result);
7613 return _resultobj;
7614}
7615
7616#define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7617static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject * _resultobj;
7619 bool _result;
7620 wxGrid * _arg0;
7621 PyObject * _argo0 = 0;
7622 char *_kwnames[] = { "self", NULL };
7623
7624 self = self;
7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
7626 return NULL;
7627 if (_argo0) {
7628 if (_argo0 == Py_None) { _arg0 = NULL; }
7629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7631 return NULL;
7632 }
7633 }
7634{
7635 wxPy_BEGIN_ALLOW_THREADS;
7636 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
7637
7638 wxPy_END_ALLOW_THREADS;
7639} _resultobj = Py_BuildValue("i",_result);
7640 return _resultobj;
7641}
7642
7643#define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7644static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
7645 PyObject * _resultobj;
7646 bool _result;
7647 wxGrid * _arg0;
7648 PyObject * _argo0 = 0;
7649 char *_kwnames[] = { "self", NULL };
7650
7651 self = self;
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
7653 return NULL;
7654 if (_argo0) {
7655 if (_argo0 == Py_None) { _arg0 = NULL; }
7656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7658 return NULL;
7659 }
7660 }
7661{
7662 wxPy_BEGIN_ALLOW_THREADS;
7663 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
7664
7665 wxPy_END_ALLOW_THREADS;
7666} _resultobj = Py_BuildValue("i",_result);
7667 return _resultobj;
7668}
7669
7670#define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7671static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7672 PyObject * _resultobj;
7673 wxGrid * _arg0;
7674 PyObject * _argo0 = 0;
7675 char *_kwnames[] = { "self", NULL };
7676
7677 self = self;
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
7679 return NULL;
7680 if (_argo0) {
7681 if (_argo0 == Py_None) { _arg0 = NULL; }
7682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7684 return NULL;
7685 }
7686 }
7687{
7688 wxPy_BEGIN_ALLOW_THREADS;
7689 wxGrid_ShowCellEditControl(_arg0);
7690
7691 wxPy_END_ALLOW_THREADS;
7692} Py_INCREF(Py_None);
7693 _resultobj = Py_None;
7694 return _resultobj;
7695}
7696
7697#define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7698static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7699 PyObject * _resultobj;
7700 wxGrid * _arg0;
7701 PyObject * _argo0 = 0;
7702 char *_kwnames[] = { "self", NULL };
7703
7704 self = self;
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
7706 return NULL;
7707 if (_argo0) {
7708 if (_argo0 == Py_None) { _arg0 = NULL; }
7709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7711 return NULL;
7712 }
7713 }
7714{
7715 wxPy_BEGIN_ALLOW_THREADS;
7716 wxGrid_HideCellEditControl(_arg0);
7717
7718 wxPy_END_ALLOW_THREADS;
7719} Py_INCREF(Py_None);
7720 _resultobj = Py_None;
7721 return _resultobj;
7722}
7723
7724#define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7725static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7726 PyObject * _resultobj;
7727 wxGrid * _arg0;
7728 PyObject * _argo0 = 0;
7729 char *_kwnames[] = { "self", NULL };
7730
7731 self = self;
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
7733 return NULL;
7734 if (_argo0) {
7735 if (_argo0 == Py_None) { _arg0 = NULL; }
7736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7738 return NULL;
7739 }
7740 }
7741{
7742 wxPy_BEGIN_ALLOW_THREADS;
7743 wxGrid_SaveEditControlValue(_arg0);
7744
7745 wxPy_END_ALLOW_THREADS;
7746} Py_INCREF(Py_None);
7747 _resultobj = Py_None;
7748 return _resultobj;
7749}
7750
7751static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
7752 wxGridCellCoords rv;
7753 self->XYToCell(x, y, rv);
7754 return new wxGridCellCoords(rv);
7755 }
7756static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
7757 PyObject * _resultobj;
7758 wxGridCellCoords * _result;
7759 wxGrid * _arg0;
7760 int _arg1;
7761 int _arg2;
7762 PyObject * _argo0 = 0;
7763 char *_kwnames[] = { "self","x","y", NULL };
7764 char _ptemp[128];
7765
7766 self = self;
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
7768 return NULL;
7769 if (_argo0) {
7770 if (_argo0 == Py_None) { _arg0 = NULL; }
7771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7773 return NULL;
7774 }
7775 }
7776{
7777 wxPy_BEGIN_ALLOW_THREADS;
7778 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
7779
7780 wxPy_END_ALLOW_THREADS;
7781} if (_result) {
7782 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7783 _resultobj = Py_BuildValue("s",_ptemp);
7784 } else {
7785 Py_INCREF(Py_None);
7786 _resultobj = Py_None;
7787 }
7788 return _resultobj;
7789}
7790
7791#define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7792static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7793 PyObject * _resultobj;
7794 int _result;
7795 wxGrid * _arg0;
7796 int _arg1;
7797 PyObject * _argo0 = 0;
7798 char *_kwnames[] = { "self","y", NULL };
7799
7800 self = self;
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
7802 return NULL;
7803 if (_argo0) {
7804 if (_argo0 == Py_None) { _arg0 = NULL; }
7805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7807 return NULL;
7808 }
7809 }
7810{
7811 wxPy_BEGIN_ALLOW_THREADS;
7812 _result = (int )wxGrid_YToRow(_arg0,_arg1);
7813
7814 wxPy_END_ALLOW_THREADS;
7815} _resultobj = Py_BuildValue("i",_result);
7816 return _resultobj;
7817}
7818
7819#define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7820static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7821 PyObject * _resultobj;
7822 int _result;
7823 wxGrid * _arg0;
7824 int _arg1;
7825 PyObject * _argo0 = 0;
7826 char *_kwnames[] = { "self","x", NULL };
7827
7828 self = self;
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
7830 return NULL;
7831 if (_argo0) {
7832 if (_argo0 == Py_None) { _arg0 = NULL; }
7833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7835 return NULL;
7836 }
7837 }
7838{
7839 wxPy_BEGIN_ALLOW_THREADS;
7840 _result = (int )wxGrid_XToCol(_arg0,_arg1);
7841
7842 wxPy_END_ALLOW_THREADS;
7843} _resultobj = Py_BuildValue("i",_result);
7844 return _resultobj;
7845}
7846
7847#define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7848static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7849 PyObject * _resultobj;
7850 int _result;
7851 wxGrid * _arg0;
7852 int _arg1;
7853 PyObject * _argo0 = 0;
7854 char *_kwnames[] = { "self","y", NULL };
7855
7856 self = self;
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
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_YToEdgeOfRow. Expected _wxGrid_p.");
7863 return NULL;
7864 }
7865 }
7866{
7867 wxPy_BEGIN_ALLOW_THREADS;
7868 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
7869
7870 wxPy_END_ALLOW_THREADS;
7871} _resultobj = Py_BuildValue("i",_result);
7872 return _resultobj;
7873}
7874
7875#define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7876static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7877 PyObject * _resultobj;
7878 int _result;
7879 wxGrid * _arg0;
7880 int _arg1;
7881 PyObject * _argo0 = 0;
7882 char *_kwnames[] = { "self","x", NULL };
7883
7884 self = self;
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
7886 return NULL;
7887 if (_argo0) {
7888 if (_argo0 == Py_None) { _arg0 = NULL; }
7889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
7891 return NULL;
7892 }
7893 }
7894{
7895 wxPy_BEGIN_ALLOW_THREADS;
7896 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
7897
7898 wxPy_END_ALLOW_THREADS;
7899} _resultobj = Py_BuildValue("i",_result);
7900 return _resultobj;
7901}
7902
7903#define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
7904static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7905 PyObject * _resultobj;
7906 wxRect * _result;
7907 wxGrid * _arg0;
7908 int _arg1;
7909 int _arg2;
7910 PyObject * _argo0 = 0;
7911 char *_kwnames[] = { "self","row","col", NULL };
7912 char _ptemp[128];
7913
7914 self = self;
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
7916 return NULL;
7917 if (_argo0) {
7918 if (_argo0 == Py_None) { _arg0 = NULL; }
7919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
7921 return NULL;
7922 }
7923 }
7924{
7925 wxPy_BEGIN_ALLOW_THREADS;
7926 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
7927
7928 wxPy_END_ALLOW_THREADS;
7929} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
7930 _resultobj = Py_BuildValue("s",_ptemp);
7931 return _resultobj;
7932}
7933
7934#define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
7935static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject * _resultobj;
7937 int _result;
7938 wxGrid * _arg0;
7939 PyObject * _argo0 = 0;
7940 char *_kwnames[] = { "self", NULL };
7941
7942 self = self;
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
7944 return NULL;
7945 if (_argo0) {
7946 if (_argo0 == Py_None) { _arg0 = NULL; }
7947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
7949 return NULL;
7950 }
7951 }
7952{
7953 wxPy_BEGIN_ALLOW_THREADS;
7954 _result = (int )wxGrid_GetGridCursorRow(_arg0);
7955
7956 wxPy_END_ALLOW_THREADS;
7957} _resultobj = Py_BuildValue("i",_result);
7958 return _resultobj;
7959}
7960
7961#define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
7962static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7963 PyObject * _resultobj;
7964 int _result;
7965 wxGrid * _arg0;
7966 PyObject * _argo0 = 0;
7967 char *_kwnames[] = { "self", NULL };
7968
7969 self = self;
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
7971 return NULL;
7972 if (_argo0) {
7973 if (_argo0 == Py_None) { _arg0 = NULL; }
7974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
7976 return NULL;
7977 }
7978 }
7979{
7980 wxPy_BEGIN_ALLOW_THREADS;
7981 _result = (int )wxGrid_GetGridCursorCol(_arg0);
7982
7983 wxPy_END_ALLOW_THREADS;
7984} _resultobj = Py_BuildValue("i",_result);
7985 return _resultobj;
7986}
7987
7988#define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
7989static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7990 PyObject * _resultobj;
7991 bool _result;
7992 wxGrid * _arg0;
7993 int _arg1;
7994 int _arg2;
7995 bool _arg3 = (bool ) TRUE;
7996 PyObject * _argo0 = 0;
7997 int tempbool3 = (int) TRUE;
7998 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
7999
8000 self = self;
8001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8002 return NULL;
8003 if (_argo0) {
8004 if (_argo0 == Py_None) { _arg0 = NULL; }
8005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8007 return NULL;
8008 }
8009 }
8010 _arg3 = (bool ) tempbool3;
8011{
8012 wxPy_BEGIN_ALLOW_THREADS;
8013 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8014
8015 wxPy_END_ALLOW_THREADS;
8016} _resultobj = Py_BuildValue("i",_result);
8017 return _resultobj;
8018}
8019
8020#define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8021static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8022 PyObject * _resultobj;
8023 wxGrid * _arg0;
8024 int _arg1;
8025 int _arg2;
8026 PyObject * _argo0 = 0;
8027 char *_kwnames[] = { "self","row","col", NULL };
8028
8029 self = self;
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8031 return NULL;
8032 if (_argo0) {
8033 if (_argo0 == Py_None) { _arg0 = NULL; }
8034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8036 return NULL;
8037 }
8038 }
8039{
8040 wxPy_BEGIN_ALLOW_THREADS;
8041 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8042
8043 wxPy_END_ALLOW_THREADS;
8044} Py_INCREF(Py_None);
8045 _resultobj = Py_None;
8046 return _resultobj;
8047}
8048
8049#define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8050static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject * _resultobj;
8052 wxGrid * _arg0;
8053 int _arg1;
8054 int _arg2;
8055 PyObject * _argo0 = 0;
8056 char *_kwnames[] = { "self","row","col", NULL };
8057
8058 self = self;
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8060 return NULL;
8061 if (_argo0) {
8062 if (_argo0 == Py_None) { _arg0 = NULL; }
8063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8065 return NULL;
8066 }
8067 }
8068{
8069 wxPy_BEGIN_ALLOW_THREADS;
8070 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8071
8072 wxPy_END_ALLOW_THREADS;
8073} Py_INCREF(Py_None);
8074 _resultobj = Py_None;
8075 return _resultobj;
8076}
8077
8078#define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8079static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject * _resultobj;
8081 bool _result;
8082 wxGrid * _arg0;
8083 bool _arg1;
8084 PyObject * _argo0 = 0;
8085 int tempbool1;
8086 char *_kwnames[] = { "self","expandSelection", NULL };
8087
8088 self = self;
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8090 return NULL;
8091 if (_argo0) {
8092 if (_argo0 == Py_None) { _arg0 = NULL; }
8093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8095 return NULL;
8096 }
8097 }
8098 _arg1 = (bool ) tempbool1;
8099{
8100 wxPy_BEGIN_ALLOW_THREADS;
8101 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8102
8103 wxPy_END_ALLOW_THREADS;
8104} _resultobj = Py_BuildValue("i",_result);
8105 return _resultobj;
8106}
8107
8108#define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8109static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8110 PyObject * _resultobj;
8111 bool _result;
8112 wxGrid * _arg0;
8113 bool _arg1;
8114 PyObject * _argo0 = 0;
8115 int tempbool1;
8116 char *_kwnames[] = { "self","expandSelection", NULL };
8117
8118 self = self;
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8120 return NULL;
8121 if (_argo0) {
8122 if (_argo0 == Py_None) { _arg0 = NULL; }
8123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8125 return NULL;
8126 }
8127 }
8128 _arg1 = (bool ) tempbool1;
8129{
8130 wxPy_BEGIN_ALLOW_THREADS;
8131 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8132
8133 wxPy_END_ALLOW_THREADS;
8134} _resultobj = Py_BuildValue("i",_result);
8135 return _resultobj;
8136}
8137
8138#define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8139static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8140 PyObject * _resultobj;
8141 bool _result;
8142 wxGrid * _arg0;
8143 bool _arg1;
8144 PyObject * _argo0 = 0;
8145 int tempbool1;
8146 char *_kwnames[] = { "self","expandSelection", NULL };
8147
8148 self = self;
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8150 return NULL;
8151 if (_argo0) {
8152 if (_argo0 == Py_None) { _arg0 = NULL; }
8153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8155 return NULL;
8156 }
8157 }
8158 _arg1 = (bool ) tempbool1;
8159{
8160 wxPy_BEGIN_ALLOW_THREADS;
8161 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8162
8163 wxPy_END_ALLOW_THREADS;
8164} _resultobj = Py_BuildValue("i",_result);
8165 return _resultobj;
8166}
8167
8168#define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8169static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8170 PyObject * _resultobj;
8171 bool _result;
8172 wxGrid * _arg0;
8173 bool _arg1;
8174 PyObject * _argo0 = 0;
8175 int tempbool1;
8176 char *_kwnames[] = { "self","expandSelection", NULL };
8177
8178 self = self;
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
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_MoveCursorRight. Expected _wxGrid_p.");
8185 return NULL;
8186 }
8187 }
8188 _arg1 = (bool ) tempbool1;
8189{
8190 wxPy_BEGIN_ALLOW_THREADS;
8191 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8192
8193 wxPy_END_ALLOW_THREADS;
8194} _resultobj = Py_BuildValue("i",_result);
8195 return _resultobj;
8196}
8197
8198#define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8199static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8200 PyObject * _resultobj;
8201 bool _result;
8202 wxGrid * _arg0;
8203 PyObject * _argo0 = 0;
8204 char *_kwnames[] = { "self", NULL };
8205
8206 self = self;
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8208 return NULL;
8209 if (_argo0) {
8210 if (_argo0 == Py_None) { _arg0 = NULL; }
8211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8213 return NULL;
8214 }
8215 }
8216{
8217 wxPy_BEGIN_ALLOW_THREADS;
8218 _result = (bool )wxGrid_MovePageDown(_arg0);
8219
8220 wxPy_END_ALLOW_THREADS;
8221} _resultobj = Py_BuildValue("i",_result);
8222 return _resultobj;
8223}
8224
8225#define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8226static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8227 PyObject * _resultobj;
8228 bool _result;
8229 wxGrid * _arg0;
8230 PyObject * _argo0 = 0;
8231 char *_kwnames[] = { "self", NULL };
8232
8233 self = self;
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8235 return NULL;
8236 if (_argo0) {
8237 if (_argo0 == Py_None) { _arg0 = NULL; }
8238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8240 return NULL;
8241 }
8242 }
8243{
8244 wxPy_BEGIN_ALLOW_THREADS;
8245 _result = (bool )wxGrid_MovePageUp(_arg0);
8246
8247 wxPy_END_ALLOW_THREADS;
8248} _resultobj = Py_BuildValue("i",_result);
8249 return _resultobj;
8250}
8251
8252#define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8253static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8254 PyObject * _resultobj;
8255 bool _result;
8256 wxGrid * _arg0;
8257 bool _arg1;
8258 PyObject * _argo0 = 0;
8259 int tempbool1;
8260 char *_kwnames[] = { "self","expandSelection", NULL };
8261
8262 self = self;
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8264 return NULL;
8265 if (_argo0) {
8266 if (_argo0 == Py_None) { _arg0 = NULL; }
8267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8269 return NULL;
8270 }
8271 }
8272 _arg1 = (bool ) tempbool1;
8273{
8274 wxPy_BEGIN_ALLOW_THREADS;
8275 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8276
8277 wxPy_END_ALLOW_THREADS;
8278} _resultobj = Py_BuildValue("i",_result);
8279 return _resultobj;
8280}
8281
8282#define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8283static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8284 PyObject * _resultobj;
8285 bool _result;
8286 wxGrid * _arg0;
8287 bool _arg1;
8288 PyObject * _argo0 = 0;
8289 int tempbool1;
8290 char *_kwnames[] = { "self","expandSelection", NULL };
8291
8292 self = self;
8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8294 return NULL;
8295 if (_argo0) {
8296 if (_argo0 == Py_None) { _arg0 = NULL; }
8297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8299 return NULL;
8300 }
8301 }
8302 _arg1 = (bool ) tempbool1;
8303{
8304 wxPy_BEGIN_ALLOW_THREADS;
8305 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8306
8307 wxPy_END_ALLOW_THREADS;
8308} _resultobj = Py_BuildValue("i",_result);
8309 return _resultobj;
8310}
8311
8312#define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8313static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8314 PyObject * _resultobj;
8315 bool _result;
8316 wxGrid * _arg0;
8317 bool _arg1;
8318 PyObject * _argo0 = 0;
8319 int tempbool1;
8320 char *_kwnames[] = { "self","expandSelection", NULL };
8321
8322 self = self;
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8324 return NULL;
8325 if (_argo0) {
8326 if (_argo0 == Py_None) { _arg0 = NULL; }
8327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8329 return NULL;
8330 }
8331 }
8332 _arg1 = (bool ) tempbool1;
8333{
8334 wxPy_BEGIN_ALLOW_THREADS;
8335 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8336
8337 wxPy_END_ALLOW_THREADS;
8338} _resultobj = Py_BuildValue("i",_result);
8339 return _resultobj;
8340}
8341
8342#define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8343static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8344 PyObject * _resultobj;
8345 bool _result;
8346 wxGrid * _arg0;
8347 bool _arg1;
8348 PyObject * _argo0 = 0;
8349 int tempbool1;
8350 char *_kwnames[] = { "self","expandSelection", NULL };
8351
8352 self = self;
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8354 return NULL;
8355 if (_argo0) {
8356 if (_argo0 == Py_None) { _arg0 = NULL; }
8357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8359 return NULL;
8360 }
8361 }
8362 _arg1 = (bool ) tempbool1;
8363{
8364 wxPy_BEGIN_ALLOW_THREADS;
8365 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8366
8367 wxPy_END_ALLOW_THREADS;
8368} _resultobj = Py_BuildValue("i",_result);
8369 return _resultobj;
8370}
8371
8372#define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8373static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8374 PyObject * _resultobj;
8375 int _result;
8376 wxGrid * _arg0;
8377 PyObject * _argo0 = 0;
8378 char *_kwnames[] = { "self", NULL };
8379
8380 self = self;
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8382 return NULL;
8383 if (_argo0) {
8384 if (_argo0 == Py_None) { _arg0 = NULL; }
8385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8387 return NULL;
8388 }
8389 }
8390{
8391 wxPy_BEGIN_ALLOW_THREADS;
8392 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8393
8394 wxPy_END_ALLOW_THREADS;
8395} _resultobj = Py_BuildValue("i",_result);
8396 return _resultobj;
8397}
8398
8399#define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8400static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8401 PyObject * _resultobj;
8402 int _result;
8403 wxGrid * _arg0;
8404 PyObject * _argo0 = 0;
8405 char *_kwnames[] = { "self", NULL };
8406
8407 self = self;
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8409 return NULL;
8410 if (_argo0) {
8411 if (_argo0 == Py_None) { _arg0 = NULL; }
8412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8414 return NULL;
8415 }
8416 }
8417{
8418 wxPy_BEGIN_ALLOW_THREADS;
8419 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8420
8421 wxPy_END_ALLOW_THREADS;
8422} _resultobj = Py_BuildValue("i",_result);
8423 return _resultobj;
8424}
8425
8426#define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8427static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8428 PyObject * _resultobj;
8429 int _result;
8430 wxGrid * _arg0;
8431 PyObject * _argo0 = 0;
8432 char *_kwnames[] = { "self", NULL };
8433
8434 self = self;
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8436 return NULL;
8437 if (_argo0) {
8438 if (_argo0 == Py_None) { _arg0 = NULL; }
8439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8441 return NULL;
8442 }
8443 }
8444{
8445 wxPy_BEGIN_ALLOW_THREADS;
8446 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8447
8448 wxPy_END_ALLOW_THREADS;
8449} _resultobj = Py_BuildValue("i",_result);
8450 return _resultobj;
8451}
8452
8453#define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8454static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8455 PyObject * _resultobj;
8456 int _result;
8457 wxGrid * _arg0;
8458 PyObject * _argo0 = 0;
8459 char *_kwnames[] = { "self", NULL };
8460
8461 self = self;
8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8463 return NULL;
8464 if (_argo0) {
8465 if (_argo0 == Py_None) { _arg0 = NULL; }
8466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8468 return NULL;
8469 }
8470 }
8471{
8472 wxPy_BEGIN_ALLOW_THREADS;
8473 _result = (int )wxGrid_GetColLabelSize(_arg0);
8474
8475 wxPy_END_ALLOW_THREADS;
8476} _resultobj = Py_BuildValue("i",_result);
8477 return _resultobj;
8478}
8479
8480#define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8481static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8482 PyObject * _resultobj;
8483 wxColour * _result;
8484 wxGrid * _arg0;
8485 PyObject * _argo0 = 0;
8486 char *_kwnames[] = { "self", NULL };
8487 char _ptemp[128];
8488
8489 self = self;
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8491 return NULL;
8492 if (_argo0) {
8493 if (_argo0 == Py_None) { _arg0 = NULL; }
8494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8496 return NULL;
8497 }
8498 }
8499{
8500 wxPy_BEGIN_ALLOW_THREADS;
8501 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8502
8503 wxPy_END_ALLOW_THREADS;
8504} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8505 _resultobj = Py_BuildValue("s",_ptemp);
8506 return _resultobj;
8507}
8508
8509#define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8510static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8511 PyObject * _resultobj;
8512 wxColour * _result;
8513 wxGrid * _arg0;
8514 PyObject * _argo0 = 0;
8515 char *_kwnames[] = { "self", NULL };
8516 char _ptemp[128];
8517
8518 self = self;
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8520 return NULL;
8521 if (_argo0) {
8522 if (_argo0 == Py_None) { _arg0 = NULL; }
8523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8525 return NULL;
8526 }
8527 }
8528{
8529 wxPy_BEGIN_ALLOW_THREADS;
8530 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8531
8532 wxPy_END_ALLOW_THREADS;
8533} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8534 _resultobj = Py_BuildValue("s",_ptemp);
8535 return _resultobj;
8536}
8537
8538#define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8539static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject * _resultobj;
8541 wxFont * _result;
8542 wxGrid * _arg0;
8543 PyObject * _argo0 = 0;
8544 char *_kwnames[] = { "self", NULL };
8545 char _ptemp[128];
8546
8547 self = self;
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8549 return NULL;
8550 if (_argo0) {
8551 if (_argo0 == Py_None) { _arg0 = NULL; }
8552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8554 return NULL;
8555 }
8556 }
8557{
8558 wxPy_BEGIN_ALLOW_THREADS;
8559 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8560
8561 wxPy_END_ALLOW_THREADS;
8562} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8563 _resultobj = Py_BuildValue("s",_ptemp);
8564 return _resultobj;
8565}
8566
8567#define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8568static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8569 PyObject * _resultobj;
8570 wxGrid * _arg0;
8571 int * _arg1;
8572 int temp;
8573 int * _arg2;
8574 int temp0;
8575 PyObject * _argo0 = 0;
8576 char *_kwnames[] = { "self", NULL };
8577
8578 self = self;
8579{
8580 _arg1 = &temp;
8581}
8582{
8583 _arg2 = &temp0;
8584}
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
8586 return NULL;
8587 if (_argo0) {
8588 if (_argo0 == Py_None) { _arg0 = NULL; }
8589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8591 return NULL;
8592 }
8593 }
8594{
8595 wxPy_BEGIN_ALLOW_THREADS;
8596 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
8597
8598 wxPy_END_ALLOW_THREADS;
8599} Py_INCREF(Py_None);
8600 _resultobj = Py_None;
8601{
8602 PyObject *o;
8603 o = PyInt_FromLong((long) (*_arg1));
8604 _resultobj = t_output_helper(_resultobj, o);
8605}
8606{
8607 PyObject *o;
8608 o = PyInt_FromLong((long) (*_arg2));
8609 _resultobj = t_output_helper(_resultobj, o);
8610}
8611 return _resultobj;
8612}
8613
8614#define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8615static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8616 PyObject * _resultobj;
8617 wxGrid * _arg0;
8618 int * _arg1;
8619 int temp;
8620 int * _arg2;
8621 int temp0;
8622 PyObject * _argo0 = 0;
8623 char *_kwnames[] = { "self", NULL };
8624
8625 self = self;
8626{
8627 _arg1 = &temp;
8628}
8629{
8630 _arg2 = &temp0;
8631}
8632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
8633 return NULL;
8634 if (_argo0) {
8635 if (_argo0 == Py_None) { _arg0 = NULL; }
8636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8638 return NULL;
8639 }
8640 }
8641{
8642 wxPy_BEGIN_ALLOW_THREADS;
8643 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
8644
8645 wxPy_END_ALLOW_THREADS;
8646} Py_INCREF(Py_None);
8647 _resultobj = Py_None;
8648{
8649 PyObject *o;
8650 o = PyInt_FromLong((long) (*_arg1));
8651 _resultobj = t_output_helper(_resultobj, o);
8652}
8653{
8654 PyObject *o;
8655 o = PyInt_FromLong((long) (*_arg2));
8656 _resultobj = t_output_helper(_resultobj, o);
8657}
8658 return _resultobj;
8659}
8660
8661#define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8662static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8663 PyObject * _resultobj;
8664 wxString * _result;
8665 wxGrid * _arg0;
8666 int _arg1;
8667 PyObject * _argo0 = 0;
8668 char *_kwnames[] = { "self","row", NULL };
8669
8670 self = self;
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
8672 return NULL;
8673 if (_argo0) {
8674 if (_argo0 == Py_None) { _arg0 = NULL; }
8675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8677 return NULL;
8678 }
8679 }
8680{
8681 wxPy_BEGIN_ALLOW_THREADS;
8682 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
8683
8684 wxPy_END_ALLOW_THREADS;
8685}{
8686 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8687}
8688{
8689 delete _result;
8690}
8691 return _resultobj;
8692}
8693
8694#define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8695static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8696 PyObject * _resultobj;
8697 wxString * _result;
8698 wxGrid * _arg0;
8699 int _arg1;
8700 PyObject * _argo0 = 0;
8701 char *_kwnames[] = { "self","col", NULL };
8702
8703 self = self;
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
8705 return NULL;
8706 if (_argo0) {
8707 if (_argo0 == Py_None) { _arg0 = NULL; }
8708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8710 return NULL;
8711 }
8712 }
8713{
8714 wxPy_BEGIN_ALLOW_THREADS;
8715 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
8716
8717 wxPy_END_ALLOW_THREADS;
8718}{
8719 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8720}
8721{
8722 delete _result;
8723}
8724 return _resultobj;
8725}
8726
8727#define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8728static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8729 PyObject * _resultobj;
8730 wxColour * _result;
8731 wxGrid * _arg0;
8732 PyObject * _argo0 = 0;
8733 char *_kwnames[] = { "self", NULL };
8734 char _ptemp[128];
8735
8736 self = self;
8737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
8738 return NULL;
8739 if (_argo0) {
8740 if (_argo0 == Py_None) { _arg0 = NULL; }
8741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8743 return NULL;
8744 }
8745 }
8746{
8747 wxPy_BEGIN_ALLOW_THREADS;
8748 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
8749
8750 wxPy_END_ALLOW_THREADS;
8751} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8752 _resultobj = Py_BuildValue("s",_ptemp);
8753 return _resultobj;
8754}
8755
8756#define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8757static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject * _resultobj;
8759 wxColour * _result;
8760 wxGrid * _arg0;
8761 PyObject * _argo0 = 0;
8762 char *_kwnames[] = { "self", NULL };
8763 char _ptemp[128];
8764
8765 self = self;
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
8767 return NULL;
8768 if (_argo0) {
8769 if (_argo0 == Py_None) { _arg0 = NULL; }
8770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8772 return NULL;
8773 }
8774 }
8775{
8776 wxPy_BEGIN_ALLOW_THREADS;
8777 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
8778
8779 wxPy_END_ALLOW_THREADS;
8780} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8781 _resultobj = Py_BuildValue("s",_ptemp);
8782 return _resultobj;
8783}
8784
8785#define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8786static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8787 PyObject * _resultobj;
8788 wxGrid * _arg0;
8789 int _arg1;
8790 PyObject * _argo0 = 0;
8791 char *_kwnames[] = { "self","width", NULL };
8792
8793 self = self;
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
8795 return NULL;
8796 if (_argo0) {
8797 if (_argo0 == Py_None) { _arg0 = NULL; }
8798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8800 return NULL;
8801 }
8802 }
8803{
8804 wxPy_BEGIN_ALLOW_THREADS;
8805 wxGrid_SetRowLabelSize(_arg0,_arg1);
8806
8807 wxPy_END_ALLOW_THREADS;
8808} Py_INCREF(Py_None);
8809 _resultobj = Py_None;
8810 return _resultobj;
8811}
8812
8813#define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8814static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8815 PyObject * _resultobj;
8816 wxGrid * _arg0;
8817 int _arg1;
8818 PyObject * _argo0 = 0;
8819 char *_kwnames[] = { "self","height", NULL };
8820
8821 self = self;
8822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
8823 return NULL;
8824 if (_argo0) {
8825 if (_argo0 == Py_None) { _arg0 = NULL; }
8826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8828 return NULL;
8829 }
8830 }
8831{
8832 wxPy_BEGIN_ALLOW_THREADS;
8833 wxGrid_SetColLabelSize(_arg0,_arg1);
8834
8835 wxPy_END_ALLOW_THREADS;
8836} Py_INCREF(Py_None);
8837 _resultobj = Py_None;
8838 return _resultobj;
8839}
8840
8841#define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
8842static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8843 PyObject * _resultobj;
8844 wxGrid * _arg0;
8845 wxColour * _arg1;
8846 PyObject * _argo0 = 0;
8847 wxColour temp;
8848 PyObject * _obj1 = 0;
8849 char *_kwnames[] = { "self","arg2", NULL };
8850
8851 self = self;
8852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
8853 return NULL;
8854 if (_argo0) {
8855 if (_argo0 == Py_None) { _arg0 = NULL; }
8856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
8858 return NULL;
8859 }
8860 }
8861{
8862 _arg1 = &temp;
8863 if (! wxColour_helper(_obj1, &_arg1))
8864 return NULL;
8865}
8866{
8867 wxPy_BEGIN_ALLOW_THREADS;
8868 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
8869
8870 wxPy_END_ALLOW_THREADS;
8871} Py_INCREF(Py_None);
8872 _resultobj = Py_None;
8873 return _resultobj;
8874}
8875
8876#define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
8877static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8878 PyObject * _resultobj;
8879 wxGrid * _arg0;
8880 wxColour * _arg1;
8881 PyObject * _argo0 = 0;
8882 wxColour temp;
8883 PyObject * _obj1 = 0;
8884 char *_kwnames[] = { "self","arg2", NULL };
8885
8886 self = self;
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
8888 return NULL;
8889 if (_argo0) {
8890 if (_argo0 == Py_None) { _arg0 = NULL; }
8891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
8893 return NULL;
8894 }
8895 }
8896{
8897 _arg1 = &temp;
8898 if (! wxColour_helper(_obj1, &_arg1))
8899 return NULL;
8900}
8901{
8902 wxPy_BEGIN_ALLOW_THREADS;
8903 wxGrid_SetLabelTextColour(_arg0,*_arg1);
8904
8905 wxPy_END_ALLOW_THREADS;
8906} Py_INCREF(Py_None);
8907 _resultobj = Py_None;
8908 return _resultobj;
8909}
8910
8911#define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
8912static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8913 PyObject * _resultobj;
8914 wxGrid * _arg0;
8915 wxFont * _arg1;
8916 PyObject * _argo0 = 0;
8917 PyObject * _argo1 = 0;
8918 char *_kwnames[] = { "self","arg2", NULL };
8919
8920 self = self;
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
8922 return NULL;
8923 if (_argo0) {
8924 if (_argo0 == Py_None) { _arg0 = NULL; }
8925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
8927 return NULL;
8928 }
8929 }
8930 if (_argo1) {
8931 if (_argo1 == Py_None) { _arg1 = NULL; }
8932 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8933 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
8934 return NULL;
8935 }
8936 }
8937{
8938 wxPy_BEGIN_ALLOW_THREADS;
8939 wxGrid_SetLabelFont(_arg0,*_arg1);
8940
8941 wxPy_END_ALLOW_THREADS;
8942} Py_INCREF(Py_None);
8943 _resultobj = Py_None;
8944 return _resultobj;
8945}
8946
8947#define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
8948static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject * _resultobj;
8950 wxGrid * _arg0;
8951 int _arg1;
8952 int _arg2;
8953 PyObject * _argo0 = 0;
8954 char *_kwnames[] = { "self","horiz","vert", NULL };
8955
8956 self = self;
8957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8958 return NULL;
8959 if (_argo0) {
8960 if (_argo0 == Py_None) { _arg0 = NULL; }
8961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
8963 return NULL;
8964 }
8965 }
8966{
8967 wxPy_BEGIN_ALLOW_THREADS;
8968 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
8969
8970 wxPy_END_ALLOW_THREADS;
8971} Py_INCREF(Py_None);
8972 _resultobj = Py_None;
8973 return _resultobj;
8974}
8975
8976#define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
8977static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8978 PyObject * _resultobj;
8979 wxGrid * _arg0;
8980 int _arg1;
8981 int _arg2;
8982 PyObject * _argo0 = 0;
8983 char *_kwnames[] = { "self","horiz","vert", NULL };
8984
8985 self = self;
8986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8987 return NULL;
8988 if (_argo0) {
8989 if (_argo0 == Py_None) { _arg0 = NULL; }
8990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
8992 return NULL;
8993 }
8994 }
8995{
8996 wxPy_BEGIN_ALLOW_THREADS;
8997 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
8998
8999 wxPy_END_ALLOW_THREADS;
9000} Py_INCREF(Py_None);
9001 _resultobj = Py_None;
9002 return _resultobj;
9003}
9004
9005#define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9006static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9007 PyObject * _resultobj;
9008 wxGrid * _arg0;
9009 int _arg1;
9010 wxString * _arg2;
9011 PyObject * _argo0 = 0;
9012 PyObject * _obj2 = 0;
9013 char *_kwnames[] = { "self","row","arg3", NULL };
9014
9015 self = self;
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9017 return NULL;
9018 if (_argo0) {
9019 if (_argo0 == Py_None) { _arg0 = NULL; }
9020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9022 return NULL;
9023 }
9024 }
9025{
185d7c3e
RD
9026#if PYTHON_API_VERSION >= 1009
9027 char* tmpPtr; int tmpSize;
9028 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9029 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
9030 return NULL;
9031 }
9032 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9033 return NULL;
9034 _arg2 = new wxString(tmpPtr, tmpSize);
9035#else
f6bcfd97
BP
9036 if (!PyString_Check(_obj2)) {
9037 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9038 return NULL;
9039 }
185d7c3e
RD
9040 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9041#endif
f6bcfd97
BP
9042}
9043{
9044 wxPy_BEGIN_ALLOW_THREADS;
9045 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9046
9047 wxPy_END_ALLOW_THREADS;
9048} Py_INCREF(Py_None);
9049 _resultobj = Py_None;
9050{
9051 if (_obj2)
9052 delete _arg2;
9053}
9054 return _resultobj;
9055}
9056
9057#define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9058static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9059 PyObject * _resultobj;
9060 wxGrid * _arg0;
9061 int _arg1;
9062 wxString * _arg2;
9063 PyObject * _argo0 = 0;
9064 PyObject * _obj2 = 0;
9065 char *_kwnames[] = { "self","col","arg3", NULL };
9066
9067 self = self;
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9069 return NULL;
9070 if (_argo0) {
9071 if (_argo0 == Py_None) { _arg0 = NULL; }
9072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9074 return NULL;
9075 }
9076 }
9077{
185d7c3e
RD
9078#if PYTHON_API_VERSION >= 1009
9079 char* tmpPtr; int tmpSize;
9080 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9081 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
9082 return NULL;
9083 }
9084 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9085 return NULL;
9086 _arg2 = new wxString(tmpPtr, tmpSize);
9087#else
f6bcfd97
BP
9088 if (!PyString_Check(_obj2)) {
9089 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9090 return NULL;
9091 }
185d7c3e
RD
9092 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9093#endif
f6bcfd97
BP
9094}
9095{
9096 wxPy_BEGIN_ALLOW_THREADS;
9097 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9098
9099 wxPy_END_ALLOW_THREADS;
9100} Py_INCREF(Py_None);
9101 _resultobj = Py_None;
9102{
9103 if (_obj2)
9104 delete _arg2;
9105}
9106 return _resultobj;
9107}
9108
9109#define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9110static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9111 PyObject * _resultobj;
9112 wxGrid * _arg0;
9113 wxColour * _arg1;
9114 PyObject * _argo0 = 0;
9115 wxColour temp;
9116 PyObject * _obj1 = 0;
9117 char *_kwnames[] = { "self","arg2", NULL };
9118
9119 self = self;
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9121 return NULL;
9122 if (_argo0) {
9123 if (_argo0 == Py_None) { _arg0 = NULL; }
9124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9126 return NULL;
9127 }
9128 }
9129{
9130 _arg1 = &temp;
9131 if (! wxColour_helper(_obj1, &_arg1))
9132 return NULL;
9133}
9134{
9135 wxPy_BEGIN_ALLOW_THREADS;
9136 wxGrid_SetGridLineColour(_arg0,*_arg1);
9137
9138 wxPy_END_ALLOW_THREADS;
9139} Py_INCREF(Py_None);
9140 _resultobj = Py_None;
9141 return _resultobj;
9142}
9143
9144#define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9145static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9146 PyObject * _resultobj;
9147 wxGrid * _arg0;
9148 wxColour * _arg1;
9149 PyObject * _argo0 = 0;
9150 wxColour temp;
9151 PyObject * _obj1 = 0;
9152 char *_kwnames[] = { "self","arg2", NULL };
9153
9154 self = self;
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9156 return NULL;
9157 if (_argo0) {
9158 if (_argo0 == Py_None) { _arg0 = NULL; }
9159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9161 return NULL;
9162 }
9163 }
9164{
9165 _arg1 = &temp;
9166 if (! wxColour_helper(_obj1, &_arg1))
9167 return NULL;
9168}
9169{
9170 wxPy_BEGIN_ALLOW_THREADS;
9171 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9172
9173 wxPy_END_ALLOW_THREADS;
9174} Py_INCREF(Py_None);
9175 _resultobj = Py_None;
9176 return _resultobj;
9177}
9178
9179#define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9180static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject * _resultobj;
9182 wxGrid * _arg0;
9183 bool _arg1 = (bool ) TRUE;
9184 PyObject * _argo0 = 0;
9185 int tempbool1 = (int) TRUE;
9186 char *_kwnames[] = { "self","enable", NULL };
9187
9188 self = self;
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
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_EnableDragRowSize. Expected _wxGrid_p.");
9195 return NULL;
9196 }
9197 }
9198 _arg1 = (bool ) tempbool1;
9199{
9200 wxPy_BEGIN_ALLOW_THREADS;
9201 wxGrid_EnableDragRowSize(_arg0,_arg1);
9202
9203 wxPy_END_ALLOW_THREADS;
9204} Py_INCREF(Py_None);
9205 _resultobj = Py_None;
9206 return _resultobj;
9207}
9208
9209#define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9210static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject * _resultobj;
9212 wxGrid * _arg0;
9213 PyObject * _argo0 = 0;
9214 char *_kwnames[] = { "self", NULL };
9215
9216 self = self;
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9218 return NULL;
9219 if (_argo0) {
9220 if (_argo0 == Py_None) { _arg0 = NULL; }
9221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9223 return NULL;
9224 }
9225 }
9226{
9227 wxPy_BEGIN_ALLOW_THREADS;
9228 wxGrid_DisableDragRowSize(_arg0);
9229
9230 wxPy_END_ALLOW_THREADS;
9231} Py_INCREF(Py_None);
9232 _resultobj = Py_None;
9233 return _resultobj;
9234}
9235
9236#define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9237static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9238 PyObject * _resultobj;
9239 bool _result;
9240 wxGrid * _arg0;
9241 PyObject * _argo0 = 0;
9242 char *_kwnames[] = { "self", NULL };
9243
9244 self = self;
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9246 return NULL;
9247 if (_argo0) {
9248 if (_argo0 == Py_None) { _arg0 = NULL; }
9249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9251 return NULL;
9252 }
9253 }
9254{
9255 wxPy_BEGIN_ALLOW_THREADS;
9256 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9257
9258 wxPy_END_ALLOW_THREADS;
9259} _resultobj = Py_BuildValue("i",_result);
9260 return _resultobj;
9261}
9262
9263#define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9264static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9265 PyObject * _resultobj;
9266 wxGrid * _arg0;
9267 bool _arg1 = (bool ) TRUE;
9268 PyObject * _argo0 = 0;
9269 int tempbool1 = (int) TRUE;
9270 char *_kwnames[] = { "self","enable", NULL };
9271
9272 self = self;
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9274 return NULL;
9275 if (_argo0) {
9276 if (_argo0 == Py_None) { _arg0 = NULL; }
9277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9279 return NULL;
9280 }
9281 }
9282 _arg1 = (bool ) tempbool1;
9283{
9284 wxPy_BEGIN_ALLOW_THREADS;
9285 wxGrid_EnableDragColSize(_arg0,_arg1);
9286
9287 wxPy_END_ALLOW_THREADS;
9288} Py_INCREF(Py_None);
9289 _resultobj = Py_None;
9290 return _resultobj;
9291}
9292
9293#define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9294static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9295 PyObject * _resultobj;
9296 wxGrid * _arg0;
9297 PyObject * _argo0 = 0;
9298 char *_kwnames[] = { "self", NULL };
9299
9300 self = self;
9301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9302 return NULL;
9303 if (_argo0) {
9304 if (_argo0 == Py_None) { _arg0 = NULL; }
9305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9307 return NULL;
9308 }
9309 }
9310{
9311 wxPy_BEGIN_ALLOW_THREADS;
9312 wxGrid_DisableDragColSize(_arg0);
9313
9314 wxPy_END_ALLOW_THREADS;
9315} Py_INCREF(Py_None);
9316 _resultobj = Py_None;
9317 return _resultobj;
9318}
9319
9320#define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9321static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9322 PyObject * _resultobj;
9323 bool _result;
9324 wxGrid * _arg0;
9325 PyObject * _argo0 = 0;
9326 char *_kwnames[] = { "self", NULL };
9327
9328 self = self;
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9330 return NULL;
9331 if (_argo0) {
9332 if (_argo0 == Py_None) { _arg0 = NULL; }
9333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9335 return NULL;
9336 }
9337 }
9338{
9339 wxPy_BEGIN_ALLOW_THREADS;
9340 _result = (bool )wxGrid_CanDragColSize(_arg0);
9341
9342 wxPy_END_ALLOW_THREADS;
9343} _resultobj = Py_BuildValue("i",_result);
9344 return _resultobj;
9345}
9346
9347#define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9348static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject * _resultobj;
9350 wxGrid * _arg0;
9351 bool _arg1 = (bool ) TRUE;
9352 PyObject * _argo0 = 0;
9353 int tempbool1 = (int) TRUE;
9354 char *_kwnames[] = { "self","enable", NULL };
9355
9356 self = self;
9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9358 return NULL;
9359 if (_argo0) {
9360 if (_argo0 == Py_None) { _arg0 = NULL; }
9361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9363 return NULL;
9364 }
9365 }
9366 _arg1 = (bool ) tempbool1;
9367{
9368 wxPy_BEGIN_ALLOW_THREADS;
9369 wxGrid_EnableDragGridSize(_arg0,_arg1);
9370
9371 wxPy_END_ALLOW_THREADS;
9372} Py_INCREF(Py_None);
9373 _resultobj = Py_None;
9374 return _resultobj;
9375}
9376
9377#define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9378static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9379 PyObject * _resultobj;
9380 wxGrid * _arg0;
9381 PyObject * _argo0 = 0;
9382 char *_kwnames[] = { "self", NULL };
9383
9384 self = self;
9385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9386 return NULL;
9387 if (_argo0) {
9388 if (_argo0 == Py_None) { _arg0 = NULL; }
9389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9391 return NULL;
9392 }
9393 }
9394{
9395 wxPy_BEGIN_ALLOW_THREADS;
9396 wxGrid_DisableDragGridSize(_arg0);
9397
9398 wxPy_END_ALLOW_THREADS;
9399} Py_INCREF(Py_None);
9400 _resultobj = Py_None;
9401 return _resultobj;
9402}
9403
9404#define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9405static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9406 PyObject * _resultobj;
9407 bool _result;
9408 wxGrid * _arg0;
9409 PyObject * _argo0 = 0;
9410 char *_kwnames[] = { "self", NULL };
9411
9412 self = self;
9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9414 return NULL;
9415 if (_argo0) {
9416 if (_argo0 == Py_None) { _arg0 = NULL; }
9417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9419 return NULL;
9420 }
9421 }
9422{
9423 wxPy_BEGIN_ALLOW_THREADS;
9424 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9425
9426 wxPy_END_ALLOW_THREADS;
9427} _resultobj = Py_BuildValue("i",_result);
9428 return _resultobj;
9429}
9430
9431#define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9432static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9433 PyObject * _resultobj;
9434 wxGrid * _arg0;
9435 int _arg1;
9436 wxGridCellAttr * _arg2;
9437 PyObject * _argo0 = 0;
9438 PyObject * _argo2 = 0;
9439 char *_kwnames[] = { "self","row","attr", NULL };
9440
9441 self = self;
9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9443 return NULL;
9444 if (_argo0) {
9445 if (_argo0 == Py_None) { _arg0 = NULL; }
9446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9448 return NULL;
9449 }
9450 }
9451 if (_argo2) {
9452 if (_argo2 == Py_None) { _arg2 = NULL; }
9453 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9454 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9455 return NULL;
9456 }
9457 }
9458{
9459 wxPy_BEGIN_ALLOW_THREADS;
9460 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
9461
9462 wxPy_END_ALLOW_THREADS;
9463} Py_INCREF(Py_None);
9464 _resultobj = Py_None;
9465 return _resultobj;
9466}
9467
9468#define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9469static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9470 PyObject * _resultobj;
9471 wxGrid * _arg0;
9472 int _arg1;
9473 wxGridCellAttr * _arg2;
9474 PyObject * _argo0 = 0;
9475 PyObject * _argo2 = 0;
9476 char *_kwnames[] = { "self","col","attr", NULL };
9477
9478 self = self;
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9480 return NULL;
9481 if (_argo0) {
9482 if (_argo0 == Py_None) { _arg0 = NULL; }
9483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9485 return NULL;
9486 }
9487 }
9488 if (_argo2) {
9489 if (_argo2 == Py_None) { _arg2 = NULL; }
9490 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9491 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9492 return NULL;
9493 }
9494 }
9495{
9496 wxPy_BEGIN_ALLOW_THREADS;
9497 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
9498
9499 wxPy_END_ALLOW_THREADS;
9500} Py_INCREF(Py_None);
9501 _resultobj = Py_None;
9502 return _resultobj;
9503}
9504
9505#define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9506static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9507 PyObject * _resultobj;
9508 wxGrid * _arg0;
9509 int _arg1;
9510 PyObject * _argo0 = 0;
9511 char *_kwnames[] = { "self","col", NULL };
9512
9513 self = self;
9514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
9515 return NULL;
9516 if (_argo0) {
9517 if (_argo0 == Py_None) { _arg0 = NULL; }
9518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9520 return NULL;
9521 }
9522 }
9523{
9524 wxPy_BEGIN_ALLOW_THREADS;
9525 wxGrid_SetColFormatBool(_arg0,_arg1);
9526
9527 wxPy_END_ALLOW_THREADS;
9528} Py_INCREF(Py_None);
9529 _resultobj = Py_None;
9530 return _resultobj;
9531}
9532
9533#define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9534static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject * _resultobj;
9536 wxGrid * _arg0;
9537 int _arg1;
9538 PyObject * _argo0 = 0;
9539 char *_kwnames[] = { "self","col", NULL };
9540
9541 self = self;
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
9543 return NULL;
9544 if (_argo0) {
9545 if (_argo0 == Py_None) { _arg0 = NULL; }
9546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
9548 return NULL;
9549 }
9550 }
9551{
9552 wxPy_BEGIN_ALLOW_THREADS;
9553 wxGrid_SetColFormatNumber(_arg0,_arg1);
9554
9555 wxPy_END_ALLOW_THREADS;
9556} Py_INCREF(Py_None);
9557 _resultobj = Py_None;
9558 return _resultobj;
9559}
9560
9561#define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9562static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
9563 PyObject * _resultobj;
9564 wxGrid * _arg0;
9565 int _arg1;
9566 int _arg2 = (int ) -1;
9567 int _arg3 = (int ) -1;
9568 PyObject * _argo0 = 0;
9569 char *_kwnames[] = { "self","col","width","precision", NULL };
9570
9571 self = self;
9572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
9573 return NULL;
9574 if (_argo0) {
9575 if (_argo0 == Py_None) { _arg0 = NULL; }
9576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
9578 return NULL;
9579 }
9580 }
9581{
9582 wxPy_BEGIN_ALLOW_THREADS;
9583 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
9584
9585 wxPy_END_ALLOW_THREADS;
9586} Py_INCREF(Py_None);
9587 _resultobj = Py_None;
9588 return _resultobj;
9589}
9590
9591#define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9592static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
9593 PyObject * _resultobj;
9594 wxGrid * _arg0;
9595 int _arg1;
9596 wxString * _arg2;
9597 PyObject * _argo0 = 0;
9598 PyObject * _obj2 = 0;
9599 char *_kwnames[] = { "self","col","typeName", NULL };
9600
9601 self = self;
9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
9603 return NULL;
9604 if (_argo0) {
9605 if (_argo0 == Py_None) { _arg0 = NULL; }
9606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9608 return NULL;
9609 }
9610 }
9611{
185d7c3e
RD
9612#if PYTHON_API_VERSION >= 1009
9613 char* tmpPtr; int tmpSize;
9614 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9615 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
9616 return NULL;
9617 }
9618 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9619 return NULL;
9620 _arg2 = new wxString(tmpPtr, tmpSize);
9621#else
f6bcfd97
BP
9622 if (!PyString_Check(_obj2)) {
9623 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9624 return NULL;
9625 }
185d7c3e
RD
9626 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9627#endif
f6bcfd97
BP
9628}
9629{
9630 wxPy_BEGIN_ALLOW_THREADS;
9631 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
9632
9633 wxPy_END_ALLOW_THREADS;
9634} Py_INCREF(Py_None);
9635 _resultobj = Py_None;
9636{
9637 if (_obj2)
9638 delete _arg2;
9639}
9640 return _resultobj;
9641}
9642
9643#define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9644static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9645 PyObject * _resultobj;
9646 wxGrid * _arg0;
9647 bool _arg1 = (bool ) TRUE;
9648 PyObject * _argo0 = 0;
9649 int tempbool1 = (int) TRUE;
9650 char *_kwnames[] = { "self","enable", NULL };
9651
9652 self = self;
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
9654 return NULL;
9655 if (_argo0) {
9656 if (_argo0 == Py_None) { _arg0 = NULL; }
9657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9659 return NULL;
9660 }
9661 }
9662 _arg1 = (bool ) tempbool1;
9663{
9664 wxPy_BEGIN_ALLOW_THREADS;
9665 wxGrid_EnableGridLines(_arg0,_arg1);
9666
9667 wxPy_END_ALLOW_THREADS;
9668} Py_INCREF(Py_None);
9669 _resultobj = Py_None;
9670 return _resultobj;
9671}
9672
9673#define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9674static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9675 PyObject * _resultobj;
9676 bool _result;
9677 wxGrid * _arg0;
9678 PyObject * _argo0 = 0;
9679 char *_kwnames[] = { "self", NULL };
9680
9681 self = self;
9682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
9683 return NULL;
9684 if (_argo0) {
9685 if (_argo0 == Py_None) { _arg0 = NULL; }
9686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9688 return NULL;
9689 }
9690 }
9691{
9692 wxPy_BEGIN_ALLOW_THREADS;
9693 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
9694
9695 wxPy_END_ALLOW_THREADS;
9696} _resultobj = Py_BuildValue("i",_result);
9697 return _resultobj;
9698}
9699
9700#define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9701static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9702 PyObject * _resultobj;
9703 int _result;
9704 wxGrid * _arg0;
9705 PyObject * _argo0 = 0;
9706 char *_kwnames[] = { "self", NULL };
9707
9708 self = self;
9709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
9710 return NULL;
9711 if (_argo0) {
9712 if (_argo0 == Py_None) { _arg0 = NULL; }
9713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9715 return NULL;
9716 }
9717 }
9718{
9719 wxPy_BEGIN_ALLOW_THREADS;
9720 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
9721
9722 wxPy_END_ALLOW_THREADS;
9723} _resultobj = Py_BuildValue("i",_result);
9724 return _resultobj;
9725}
9726
9727#define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9728static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9729 PyObject * _resultobj;
9730 int _result;
9731 wxGrid * _arg0;
9732 int _arg1;
9733 PyObject * _argo0 = 0;
9734 char *_kwnames[] = { "self","row", NULL };
9735
9736 self = self;
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
9738 return NULL;
9739 if (_argo0) {
9740 if (_argo0 == Py_None) { _arg0 = NULL; }
9741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
9743 return NULL;
9744 }
9745 }
9746{
9747 wxPy_BEGIN_ALLOW_THREADS;
9748 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
9749
9750 wxPy_END_ALLOW_THREADS;
9751} _resultobj = Py_BuildValue("i",_result);
9752 return _resultobj;
9753}
9754
9755#define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9756static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9757 PyObject * _resultobj;
9758 int _result;
9759 wxGrid * _arg0;
9760 PyObject * _argo0 = 0;
9761 char *_kwnames[] = { "self", NULL };
9762
9763 self = self;
9764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
9765 return NULL;
9766 if (_argo0) {
9767 if (_argo0 == Py_None) { _arg0 = NULL; }
9768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9770 return NULL;
9771 }
9772 }
9773{
9774 wxPy_BEGIN_ALLOW_THREADS;
9775 _result = (int )wxGrid_GetDefaultColSize(_arg0);
9776
9777 wxPy_END_ALLOW_THREADS;
9778} _resultobj = Py_BuildValue("i",_result);
9779 return _resultobj;
9780}
9781
9782#define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
9783static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9784 PyObject * _resultobj;
9785 int _result;
9786 wxGrid * _arg0;
9787 int _arg1;
9788 PyObject * _argo0 = 0;
9789 char *_kwnames[] = { "self","col", NULL };
9790
9791 self = self;
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
9793 return NULL;
9794 if (_argo0) {
9795 if (_argo0 == Py_None) { _arg0 = NULL; }
9796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
9798 return NULL;
9799 }
9800 }
9801{
9802 wxPy_BEGIN_ALLOW_THREADS;
9803 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
9804
9805 wxPy_END_ALLOW_THREADS;
9806} _resultobj = Py_BuildValue("i",_result);
9807 return _resultobj;
9808}
9809
9810#define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
9811static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject * _resultobj;
9813 wxColour * _result;
9814 wxGrid * _arg0;
9815 PyObject * _argo0 = 0;
9816 char *_kwnames[] = { "self", NULL };
9817 char _ptemp[128];
9818
9819 self = self;
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
9821 return NULL;
9822 if (_argo0) {
9823 if (_argo0 == Py_None) { _arg0 = NULL; }
9824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
9826 return NULL;
9827 }
9828 }
9829{
9830 wxPy_BEGIN_ALLOW_THREADS;
9831 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
9832
9833 wxPy_END_ALLOW_THREADS;
9834} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9835 _resultobj = Py_BuildValue("s",_ptemp);
9836 return _resultobj;
9837}
9838
9839#define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
9840static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject * _resultobj;
9842 wxColour * _result;
9843 wxGrid * _arg0;
9844 int _arg1;
9845 int _arg2;
9846 PyObject * _argo0 = 0;
9847 char *_kwnames[] = { "self","row","col", NULL };
9848 char _ptemp[128];
9849
9850 self = self;
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
9852 return NULL;
9853 if (_argo0) {
9854 if (_argo0 == Py_None) { _arg0 = NULL; }
9855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
9857 return NULL;
9858 }
9859 }
9860{
9861 wxPy_BEGIN_ALLOW_THREADS;
9862 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
9863
9864 wxPy_END_ALLOW_THREADS;
9865} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9866 _resultobj = Py_BuildValue("s",_ptemp);
9867 return _resultobj;
9868}
9869
9870#define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
9871static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9872 PyObject * _resultobj;
9873 wxColour * _result;
9874 wxGrid * _arg0;
9875 PyObject * _argo0 = 0;
9876 char *_kwnames[] = { "self", NULL };
9877 char _ptemp[128];
9878
9879 self = self;
9880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
9881 return NULL;
9882 if (_argo0) {
9883 if (_argo0 == Py_None) { _arg0 = NULL; }
9884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
9886 return NULL;
9887 }
9888 }
9889{
9890 wxPy_BEGIN_ALLOW_THREADS;
9891 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
9892
9893 wxPy_END_ALLOW_THREADS;
9894} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9895 _resultobj = Py_BuildValue("s",_ptemp);
9896 return _resultobj;
9897}
9898
9899#define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
9900static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9901 PyObject * _resultobj;
9902 wxColour * _result;
9903 wxGrid * _arg0;
9904 int _arg1;
9905 int _arg2;
9906 PyObject * _argo0 = 0;
9907 char *_kwnames[] = { "self","row","col", NULL };
9908 char _ptemp[128];
9909
9910 self = self;
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
9912 return NULL;
9913 if (_argo0) {
9914 if (_argo0 == Py_None) { _arg0 = NULL; }
9915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
9917 return NULL;
9918 }
9919 }
9920{
9921 wxPy_BEGIN_ALLOW_THREADS;
9922 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
9923
9924 wxPy_END_ALLOW_THREADS;
9925} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9926 _resultobj = Py_BuildValue("s",_ptemp);
9927 return _resultobj;
9928}
9929
9930#define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
9931static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9932 PyObject * _resultobj;
9933 wxFont * _result;
9934 wxGrid * _arg0;
9935 PyObject * _argo0 = 0;
9936 char *_kwnames[] = { "self", NULL };
9937 char _ptemp[128];
9938
9939 self = self;
9940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
9941 return NULL;
9942 if (_argo0) {
9943 if (_argo0 == Py_None) { _arg0 = NULL; }
9944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
9946 return NULL;
9947 }
9948 }
9949{
9950 wxPy_BEGIN_ALLOW_THREADS;
9951 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
9952
9953 wxPy_END_ALLOW_THREADS;
9954} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9955 _resultobj = Py_BuildValue("s",_ptemp);
9956 return _resultobj;
9957}
9958
9959#define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
9960static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9961 PyObject * _resultobj;
9962 wxFont * _result;
9963 wxGrid * _arg0;
9964 int _arg1;
9965 int _arg2;
9966 PyObject * _argo0 = 0;
9967 char *_kwnames[] = { "self","row","col", NULL };
9968 char _ptemp[128];
9969
9970 self = self;
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
9972 return NULL;
9973 if (_argo0) {
9974 if (_argo0 == Py_None) { _arg0 = NULL; }
9975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
9977 return NULL;
9978 }
9979 }
9980{
9981 wxPy_BEGIN_ALLOW_THREADS;
9982 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
9983
9984 wxPy_END_ALLOW_THREADS;
9985} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9986 _resultobj = Py_BuildValue("s",_ptemp);
9987 return _resultobj;
9988}
9989
9990#define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
9991static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9992 PyObject * _resultobj;
9993 wxGrid * _arg0;
9994 int * _arg1;
9995 int * _arg2;
9996 PyObject * _argo0 = 0;
9997 PyObject * _argo1 = 0;
9998 PyObject * _argo2 = 0;
9999 char *_kwnames[] = { "self","horiz","vert", NULL };
10000
10001 self = self;
10002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10003 return NULL;
10004 if (_argo0) {
10005 if (_argo0 == Py_None) { _arg0 = NULL; }
10006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10008 return NULL;
10009 }
10010 }
10011 if (_argo1) {
10012 if (_argo1 == Py_None) { _arg1 = NULL; }
10013 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10014 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10015 return NULL;
10016 }
10017 }
10018 if (_argo2) {
10019 if (_argo2 == Py_None) { _arg2 = NULL; }
10020 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10021 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10022 return NULL;
10023 }
10024 }
10025{
10026 wxPy_BEGIN_ALLOW_THREADS;
10027 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10028
10029 wxPy_END_ALLOW_THREADS;
10030} Py_INCREF(Py_None);
10031 _resultobj = Py_None;
10032 return _resultobj;
10033}
10034
10035#define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10036static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10037 PyObject * _resultobj;
10038 wxGrid * _arg0;
10039 int _arg1;
10040 int _arg2;
10041 int * _arg3;
10042 int * _arg4;
10043 PyObject * _argo0 = 0;
10044 PyObject * _argo3 = 0;
10045 PyObject * _argo4 = 0;
10046 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10047
10048 self = self;
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10050 return NULL;
10051 if (_argo0) {
10052 if (_argo0 == Py_None) { _arg0 = NULL; }
10053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10055 return NULL;
10056 }
10057 }
10058 if (_argo3) {
10059 if (_argo3 == Py_None) { _arg3 = NULL; }
10060 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10061 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10062 return NULL;
10063 }
10064 }
10065 if (_argo4) {
10066 if (_argo4 == Py_None) { _arg4 = NULL; }
10067 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10068 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10069 return NULL;
10070 }
10071 }
10072{
10073 wxPy_BEGIN_ALLOW_THREADS;
10074 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10075
10076 wxPy_END_ALLOW_THREADS;
10077} Py_INCREF(Py_None);
10078 _resultobj = Py_None;
10079 return _resultobj;
10080}
10081
10082#define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10083static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject * _resultobj;
10085 wxGrid * _arg0;
10086 int _arg1;
10087 bool _arg2 = (bool ) FALSE;
10088 PyObject * _argo0 = 0;
10089 int tempbool2 = (int) FALSE;
10090 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10091
10092 self = self;
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10094 return NULL;
10095 if (_argo0) {
10096 if (_argo0 == Py_None) { _arg0 = NULL; }
10097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10099 return NULL;
10100 }
10101 }
10102 _arg2 = (bool ) tempbool2;
10103{
10104 wxPy_BEGIN_ALLOW_THREADS;
10105 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10106
10107 wxPy_END_ALLOW_THREADS;
10108} Py_INCREF(Py_None);
10109 _resultobj = Py_None;
10110 return _resultobj;
10111}
10112
10113#define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10114static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10115 PyObject * _resultobj;
10116 wxGrid * _arg0;
10117 int _arg1;
10118 int _arg2;
10119 PyObject * _argo0 = 0;
10120 char *_kwnames[] = { "self","row","height", NULL };
10121
10122 self = self;
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10124 return NULL;
10125 if (_argo0) {
10126 if (_argo0 == Py_None) { _arg0 = NULL; }
10127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10129 return NULL;
10130 }
10131 }
10132{
10133 wxPy_BEGIN_ALLOW_THREADS;
10134 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10135
10136 wxPy_END_ALLOW_THREADS;
10137} Py_INCREF(Py_None);
10138 _resultobj = Py_None;
10139 return _resultobj;
10140}
10141
10142#define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10143static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10144 PyObject * _resultobj;
10145 wxGrid * _arg0;
10146 int _arg1;
10147 bool _arg2 = (bool ) FALSE;
10148 PyObject * _argo0 = 0;
10149 int tempbool2 = (int) FALSE;
10150 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10151
10152 self = self;
10153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10154 return NULL;
10155 if (_argo0) {
10156 if (_argo0 == Py_None) { _arg0 = NULL; }
10157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10159 return NULL;
10160 }
10161 }
10162 _arg2 = (bool ) tempbool2;
10163{
10164 wxPy_BEGIN_ALLOW_THREADS;
10165 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10166
10167 wxPy_END_ALLOW_THREADS;
10168} Py_INCREF(Py_None);
10169 _resultobj = Py_None;
10170 return _resultobj;
10171}
10172
10173#define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10174static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10175 PyObject * _resultobj;
10176 wxGrid * _arg0;
10177 int _arg1;
10178 int _arg2;
10179 PyObject * _argo0 = 0;
10180 char *_kwnames[] = { "self","col","width", NULL };
10181
10182 self = self;
10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10184 return NULL;
10185 if (_argo0) {
10186 if (_argo0 == Py_None) { _arg0 = NULL; }
10187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10189 return NULL;
10190 }
10191 }
10192{
10193 wxPy_BEGIN_ALLOW_THREADS;
10194 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10195
10196 wxPy_END_ALLOW_THREADS;
10197} Py_INCREF(Py_None);
10198 _resultobj = Py_None;
10199 return _resultobj;
10200}
10201
10202#define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10203static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10204 PyObject * _resultobj;
10205 wxGrid * _arg0;
10206 int _arg1;
10207 bool _arg2 = (bool ) TRUE;
10208 PyObject * _argo0 = 0;
10209 int tempbool2 = (int) TRUE;
10210 char *_kwnames[] = { "self","col","setAsMin", NULL };
10211
10212 self = self;
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10214 return NULL;
10215 if (_argo0) {
10216 if (_argo0 == Py_None) { _arg0 = NULL; }
10217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10219 return NULL;
10220 }
10221 }
10222 _arg2 = (bool ) tempbool2;
10223{
10224 wxPy_BEGIN_ALLOW_THREADS;
10225 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10226
10227 wxPy_END_ALLOW_THREADS;
10228} Py_INCREF(Py_None);
10229 _resultobj = Py_None;
10230 return _resultobj;
10231}
10232
10233#define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10234static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10235 PyObject * _resultobj;
10236 wxGrid * _arg0;
10237 int _arg1;
10238 bool _arg2 = (bool ) TRUE;
10239 PyObject * _argo0 = 0;
10240 int tempbool2 = (int) TRUE;
10241 char *_kwnames[] = { "self","row","setAsMin", NULL };
10242
10243 self = self;
10244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10245 return NULL;
10246 if (_argo0) {
10247 if (_argo0 == Py_None) { _arg0 = NULL; }
10248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10250 return NULL;
10251 }
10252 }
10253 _arg2 = (bool ) tempbool2;
10254{
10255 wxPy_BEGIN_ALLOW_THREADS;
10256 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10257
10258 wxPy_END_ALLOW_THREADS;
10259} Py_INCREF(Py_None);
10260 _resultobj = Py_None;
10261 return _resultobj;
10262}
10263
10264#define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10265static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10266 PyObject * _resultobj;
10267 wxGrid * _arg0;
10268 bool _arg1 = (bool ) TRUE;
10269 PyObject * _argo0 = 0;
10270 int tempbool1 = (int) TRUE;
10271 char *_kwnames[] = { "self","setAsMin", NULL };
10272
10273 self = self;
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10275 return NULL;
10276 if (_argo0) {
10277 if (_argo0 == Py_None) { _arg0 = NULL; }
10278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10280 return NULL;
10281 }
10282 }
10283 _arg1 = (bool ) tempbool1;
10284{
10285 wxPy_BEGIN_ALLOW_THREADS;
10286 wxGrid_AutoSizeColumns(_arg0,_arg1);
10287
10288 wxPy_END_ALLOW_THREADS;
10289} Py_INCREF(Py_None);
10290 _resultobj = Py_None;
10291 return _resultobj;
10292}
10293
10294#define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10295static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10296 PyObject * _resultobj;
10297 wxGrid * _arg0;
10298 bool _arg1 = (bool ) TRUE;
10299 PyObject * _argo0 = 0;
10300 int tempbool1 = (int) TRUE;
10301 char *_kwnames[] = { "self","setAsMin", NULL };
10302
10303 self = self;
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10305 return NULL;
10306 if (_argo0) {
10307 if (_argo0 == Py_None) { _arg0 = NULL; }
10308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10310 return NULL;
10311 }
10312 }
10313 _arg1 = (bool ) tempbool1;
10314{
10315 wxPy_BEGIN_ALLOW_THREADS;
10316 wxGrid_AutoSizeRows(_arg0,_arg1);
10317
10318 wxPy_END_ALLOW_THREADS;
10319} Py_INCREF(Py_None);
10320 _resultobj = Py_None;
10321 return _resultobj;
10322}
10323
10324#define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10325static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10326 PyObject * _resultobj;
10327 wxGrid * _arg0;
10328 PyObject * _argo0 = 0;
10329 char *_kwnames[] = { "self", NULL };
10330
10331 self = self;
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10333 return NULL;
10334 if (_argo0) {
10335 if (_argo0 == Py_None) { _arg0 = NULL; }
10336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10338 return NULL;
10339 }
10340 }
10341{
10342 wxPy_BEGIN_ALLOW_THREADS;
10343 wxGrid_AutoSize(_arg0);
10344
10345 wxPy_END_ALLOW_THREADS;
10346} Py_INCREF(Py_None);
10347 _resultobj = Py_None;
10348 return _resultobj;
10349}
10350
10351#define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10352static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10353 PyObject * _resultobj;
10354 wxGrid * _arg0;
10355 int _arg1;
10356 int _arg2;
10357 PyObject * _argo0 = 0;
10358 char *_kwnames[] = { "self","col","width", NULL };
10359
10360 self = self;
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10362 return NULL;
10363 if (_argo0) {
10364 if (_argo0 == Py_None) { _arg0 = NULL; }
10365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10367 return NULL;
10368 }
10369 }
10370{
10371 wxPy_BEGIN_ALLOW_THREADS;
10372 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10373
10374 wxPy_END_ALLOW_THREADS;
10375} Py_INCREF(Py_None);
10376 _resultobj = Py_None;
10377 return _resultobj;
10378}
10379
10380#define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10381static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10382 PyObject * _resultobj;
10383 wxGrid * _arg0;
10384 int _arg1;
10385 int _arg2;
10386 PyObject * _argo0 = 0;
10387 char *_kwnames[] = { "self","row","width", NULL };
10388
10389 self = self;
10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10391 return NULL;
10392 if (_argo0) {
10393 if (_argo0 == Py_None) { _arg0 = NULL; }
10394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10396 return NULL;
10397 }
10398 }
10399{
10400 wxPy_BEGIN_ALLOW_THREADS;
10401 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10402
10403 wxPy_END_ALLOW_THREADS;
10404} Py_INCREF(Py_None);
10405 _resultobj = Py_None;
10406 return _resultobj;
10407}
10408
10409#define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10410static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10411 PyObject * _resultobj;
10412 wxGrid * _arg0;
10413 wxColour * _arg1;
10414 PyObject * _argo0 = 0;
10415 wxColour temp;
10416 PyObject * _obj1 = 0;
10417 char *_kwnames[] = { "self","arg2", NULL };
10418
10419 self = self;
10420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10421 return NULL;
10422 if (_argo0) {
10423 if (_argo0 == Py_None) { _arg0 = NULL; }
10424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10426 return NULL;
10427 }
10428 }
10429{
10430 _arg1 = &temp;
10431 if (! wxColour_helper(_obj1, &_arg1))
10432 return NULL;
10433}
10434{
10435 wxPy_BEGIN_ALLOW_THREADS;
10436 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10437
10438 wxPy_END_ALLOW_THREADS;
10439} Py_INCREF(Py_None);
10440 _resultobj = Py_None;
10441 return _resultobj;
10442}
10443
10444#define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10445static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject * _resultobj;
10447 wxGrid * _arg0;
10448 int _arg1;
10449 int _arg2;
10450 wxColour * _arg3;
10451 PyObject * _argo0 = 0;
10452 wxColour temp;
10453 PyObject * _obj3 = 0;
10454 char *_kwnames[] = { "self","row","col","arg4", NULL };
10455
10456 self = self;
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10458 return NULL;
10459 if (_argo0) {
10460 if (_argo0 == Py_None) { _arg0 = NULL; }
10461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10463 return NULL;
10464 }
10465 }
10466{
10467 _arg3 = &temp;
10468 if (! wxColour_helper(_obj3, &_arg3))
10469 return NULL;
10470}
10471{
10472 wxPy_BEGIN_ALLOW_THREADS;
10473 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
10474
10475 wxPy_END_ALLOW_THREADS;
10476} Py_INCREF(Py_None);
10477 _resultobj = Py_None;
10478 return _resultobj;
10479}
10480
10481#define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10482static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject * _resultobj;
10484 wxGrid * _arg0;
10485 wxColour * _arg1;
10486 PyObject * _argo0 = 0;
10487 wxColour temp;
10488 PyObject * _obj1 = 0;
10489 char *_kwnames[] = { "self","arg2", NULL };
10490
10491 self = self;
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
10493 return NULL;
10494 if (_argo0) {
10495 if (_argo0 == Py_None) { _arg0 = NULL; }
10496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10498 return NULL;
10499 }
10500 }
10501{
10502 _arg1 = &temp;
10503 if (! wxColour_helper(_obj1, &_arg1))
10504 return NULL;
10505}
10506{
10507 wxPy_BEGIN_ALLOW_THREADS;
10508 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
10509
10510 wxPy_END_ALLOW_THREADS;
10511} Py_INCREF(Py_None);
10512 _resultobj = Py_None;
10513 return _resultobj;
10514}
10515
10516#define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10517static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10518 PyObject * _resultobj;
10519 wxGrid * _arg0;
10520 int _arg1;
10521 int _arg2;
10522 wxColour * _arg3;
10523 PyObject * _argo0 = 0;
10524 wxColour temp;
10525 PyObject * _obj3 = 0;
10526 char *_kwnames[] = { "self","row","col","arg4", NULL };
10527
10528 self = self;
10529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10530 return NULL;
10531 if (_argo0) {
10532 if (_argo0 == Py_None) { _arg0 = NULL; }
10533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10535 return NULL;
10536 }
10537 }
10538{
10539 _arg3 = &temp;
10540 if (! wxColour_helper(_obj3, &_arg3))
10541 return NULL;
10542}
10543{
10544 wxPy_BEGIN_ALLOW_THREADS;
10545 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
10546
10547 wxPy_END_ALLOW_THREADS;
10548} Py_INCREF(Py_None);
10549 _resultobj = Py_None;
10550 return _resultobj;
10551}
10552
10553#define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10554static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10555 PyObject * _resultobj;
10556 wxGrid * _arg0;
10557 wxFont * _arg1;
10558 PyObject * _argo0 = 0;
10559 PyObject * _argo1 = 0;
10560 char *_kwnames[] = { "self","arg2", NULL };
10561
10562 self = self;
10563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
10564 return NULL;
10565 if (_argo0) {
10566 if (_argo0 == Py_None) { _arg0 = NULL; }
10567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10569 return NULL;
10570 }
10571 }
10572 if (_argo1) {
10573 if (_argo1 == Py_None) { _arg1 = NULL; }
10574 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
10575 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10576 return NULL;
10577 }
10578 }
10579{
10580 wxPy_BEGIN_ALLOW_THREADS;
10581 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
10582
10583 wxPy_END_ALLOW_THREADS;
10584} Py_INCREF(Py_None);
10585 _resultobj = Py_None;
10586 return _resultobj;
10587}
10588
10589#define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10590static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject * _resultobj;
10592 wxGrid * _arg0;
10593 int _arg1;
10594 int _arg2;
10595 wxFont * _arg3;
10596 PyObject * _argo0 = 0;
10597 PyObject * _argo3 = 0;
10598 char *_kwnames[] = { "self","row","col","arg4", NULL };
10599
10600 self = self;
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10602 return NULL;
10603 if (_argo0) {
10604 if (_argo0 == Py_None) { _arg0 = NULL; }
10605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10607 return NULL;
10608 }
10609 }
10610 if (_argo3) {
10611 if (_argo3 == Py_None) { _arg3 = NULL; }
10612 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
10613 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10614 return NULL;
10615 }
10616 }
10617{
10618 wxPy_BEGIN_ALLOW_THREADS;
10619 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
10620
10621 wxPy_END_ALLOW_THREADS;
10622} Py_INCREF(Py_None);
10623 _resultobj = Py_None;
10624 return _resultobj;
10625}
10626
10627#define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10628static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10629 PyObject * _resultobj;
10630 wxGrid * _arg0;
10631 int _arg1;
10632 int _arg2;
10633 PyObject * _argo0 = 0;
10634 char *_kwnames[] = { "self","horiz","vert", NULL };
10635
10636 self = self;
10637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10638 return NULL;
10639 if (_argo0) {
10640 if (_argo0 == Py_None) { _arg0 = NULL; }
10641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10643 return NULL;
10644 }
10645 }
10646{
10647 wxPy_BEGIN_ALLOW_THREADS;
10648 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
10649
10650 wxPy_END_ALLOW_THREADS;
10651} Py_INCREF(Py_None);
10652 _resultobj = Py_None;
10653 return _resultobj;
10654}
10655
10656#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10657static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10658 PyObject * _resultobj;
10659 wxGrid * _arg0;
10660 int _arg1;
10661 int _arg2;
10662 int _arg3;
10663 int _arg4;
10664 PyObject * _argo0 = 0;
10665 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10666
10667 self = self;
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10669 return NULL;
10670 if (_argo0) {
10671 if (_argo0 == Py_None) { _arg0 = NULL; }
10672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10674 return NULL;
10675 }
10676 }
10677{
10678 wxPy_BEGIN_ALLOW_THREADS;
10679 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10680
10681 wxPy_END_ALLOW_THREADS;
10682} Py_INCREF(Py_None);
10683 _resultobj = Py_None;
10684 return _resultobj;
10685}
10686
10687#define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10688static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10689 PyObject * _resultobj;
10690 wxGrid * _arg0;
10691 wxGridCellRenderer * _arg1;
10692 PyObject * _argo0 = 0;
10693 PyObject * _argo1 = 0;
10694 char *_kwnames[] = { "self","renderer", NULL };
10695
10696 self = self;
10697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
10698 return NULL;
10699 if (_argo0) {
10700 if (_argo0 == Py_None) { _arg0 = NULL; }
10701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10703 return NULL;
10704 }
10705 }
10706 if (_argo1) {
10707 if (_argo1 == Py_None) { _arg1 = NULL; }
10708 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
10709 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10710 return NULL;
10711 }
10712 }
10713{
10714 wxPy_BEGIN_ALLOW_THREADS;
10715 wxGrid_SetDefaultRenderer(_arg0,_arg1);
10716
10717 wxPy_END_ALLOW_THREADS;
10718} Py_INCREF(Py_None);
10719 _resultobj = Py_None;
10720 return _resultobj;
10721}
10722
10723#define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10724static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10725 PyObject * _resultobj;
10726 wxGrid * _arg0;
10727 int _arg1;
10728 int _arg2;
10729 wxGridCellRenderer * _arg3;
10730 PyObject * _argo0 = 0;
10731 PyObject * _argo3 = 0;
10732 char *_kwnames[] = { "self","row","col","renderer", NULL };
10733
10734 self = self;
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10736 return NULL;
10737 if (_argo0) {
10738 if (_argo0 == Py_None) { _arg0 = NULL; }
10739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10741 return NULL;
10742 }
10743 }
10744 if (_argo3) {
10745 if (_argo3 == Py_None) { _arg3 = NULL; }
10746 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
10747 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10748 return NULL;
10749 }
10750 }
10751{
10752 wxPy_BEGIN_ALLOW_THREADS;
10753 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
10754
10755 wxPy_END_ALLOW_THREADS;
10756} Py_INCREF(Py_None);
10757 _resultobj = Py_None;
10758 return _resultobj;
10759}
10760
10761#define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10762static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject * _resultobj;
10764 wxGridCellRenderer * _result;
10765 wxGrid * _arg0;
10766 PyObject * _argo0 = 0;
10767 char *_kwnames[] = { "self", NULL };
10768 char _ptemp[128];
10769
10770 self = self;
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
10772 return NULL;
10773 if (_argo0) {
10774 if (_argo0 == Py_None) { _arg0 = NULL; }
10775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10777 return NULL;
10778 }
10779 }
10780{
10781 wxPy_BEGIN_ALLOW_THREADS;
10782 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
10783
10784 wxPy_END_ALLOW_THREADS;
10785} if (_result) {
10786 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10787 _resultobj = Py_BuildValue("s",_ptemp);
10788 } else {
10789 Py_INCREF(Py_None);
10790 _resultobj = Py_None;
10791 }
10792 return _resultobj;
10793}
10794
10795#define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
10796static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10797 PyObject * _resultobj;
10798 wxGridCellRenderer * _result;
10799 wxGrid * _arg0;
10800 int _arg1;
10801 int _arg2;
10802 PyObject * _argo0 = 0;
10803 char *_kwnames[] = { "self","row","col", NULL };
10804 char _ptemp[128];
10805
10806 self = self;
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
10808 return NULL;
10809 if (_argo0) {
10810 if (_argo0 == Py_None) { _arg0 = NULL; }
10811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
10813 return NULL;
10814 }
10815 }
10816{
10817 wxPy_BEGIN_ALLOW_THREADS;
10818 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
10819
10820 wxPy_END_ALLOW_THREADS;
10821} if (_result) {
10822 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10823 _resultobj = Py_BuildValue("s",_ptemp);
10824 } else {
10825 Py_INCREF(Py_None);
10826 _resultobj = Py_None;
10827 }
10828 return _resultobj;
10829}
10830
10831#define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
10832static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10833 PyObject * _resultobj;
10834 wxGrid * _arg0;
10835 wxGridCellEditor * _arg1;
10836 PyObject * _argo0 = 0;
10837 PyObject * _argo1 = 0;
10838 char *_kwnames[] = { "self","editor", NULL };
10839
10840 self = self;
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
10842 return NULL;
10843 if (_argo0) {
10844 if (_argo0 == Py_None) { _arg0 = NULL; }
10845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
10847 return NULL;
10848 }
10849 }
10850 if (_argo1) {
10851 if (_argo1 == Py_None) { _arg1 = NULL; }
10852 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
10853 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
10854 return NULL;
10855 }
10856 }
10857{
10858 wxPy_BEGIN_ALLOW_THREADS;
10859 wxGrid_SetDefaultEditor(_arg0,_arg1);
10860
10861 wxPy_END_ALLOW_THREADS;
10862} Py_INCREF(Py_None);
10863 _resultobj = Py_None;
10864 return _resultobj;
10865}
10866
10867#define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
10868static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10869 PyObject * _resultobj;
10870 wxGrid * _arg0;
10871 int _arg1;
10872 int _arg2;
10873 wxGridCellEditor * _arg3;
10874 PyObject * _argo0 = 0;
10875 PyObject * _argo3 = 0;
10876 char *_kwnames[] = { "self","row","col","editor", NULL };
10877
10878 self = self;
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10880 return NULL;
10881 if (_argo0) {
10882 if (_argo0 == Py_None) { _arg0 = NULL; }
10883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
10885 return NULL;
10886 }
10887 }
10888 if (_argo3) {
10889 if (_argo3 == Py_None) { _arg3 = NULL; }
10890 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
10891 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
10892 return NULL;
10893 }
10894 }
10895{
10896 wxPy_BEGIN_ALLOW_THREADS;
10897 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
10898
10899 wxPy_END_ALLOW_THREADS;
10900} Py_INCREF(Py_None);
10901 _resultobj = Py_None;
10902 return _resultobj;
10903}
10904
10905#define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
10906static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10907 PyObject * _resultobj;
10908 wxGridCellEditor * _result;
10909 wxGrid * _arg0;
10910 PyObject * _argo0 = 0;
10911 char *_kwnames[] = { "self", NULL };
10912 char _ptemp[128];
10913
10914 self = self;
10915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
10916 return NULL;
10917 if (_argo0) {
10918 if (_argo0 == Py_None) { _arg0 = NULL; }
10919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
10921 return NULL;
10922 }
10923 }
10924{
10925 wxPy_BEGIN_ALLOW_THREADS;
10926 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
10927
10928 wxPy_END_ALLOW_THREADS;
10929} if (_result) {
10930 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10931 _resultobj = Py_BuildValue("s",_ptemp);
10932 } else {
10933 Py_INCREF(Py_None);
10934 _resultobj = Py_None;
10935 }
10936 return _resultobj;
10937}
10938
10939#define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
10940static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10941 PyObject * _resultobj;
10942 wxGridCellEditor * _result;
10943 wxGrid * _arg0;
10944 int _arg1;
10945 int _arg2;
10946 PyObject * _argo0 = 0;
10947 char *_kwnames[] = { "self","row","col", NULL };
10948 char _ptemp[128];
10949
10950 self = self;
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
10952 return NULL;
10953 if (_argo0) {
10954 if (_argo0 == Py_None) { _arg0 = NULL; }
10955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
10957 return NULL;
10958 }
10959 }
10960{
10961 wxPy_BEGIN_ALLOW_THREADS;
10962 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
10963
10964 wxPy_END_ALLOW_THREADS;
10965} if (_result) {
10966 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10967 _resultobj = Py_BuildValue("s",_ptemp);
10968 } else {
10969 Py_INCREF(Py_None);
10970 _resultobj = Py_None;
10971 }
10972 return _resultobj;
10973}
10974
10975#define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
10976static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10977 PyObject * _resultobj;
10978 wxString * _result;
10979 wxGrid * _arg0;
10980 int _arg1;
10981 int _arg2;
10982 PyObject * _argo0 = 0;
10983 char *_kwnames[] = { "self","row","col", NULL };
10984
10985 self = self;
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
10987 return NULL;
10988 if (_argo0) {
10989 if (_argo0 == Py_None) { _arg0 = NULL; }
10990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
10992 return NULL;
10993 }
10994 }
10995{
10996 wxPy_BEGIN_ALLOW_THREADS;
10997 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
10998
10999 wxPy_END_ALLOW_THREADS;
11000}{
11001 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11002}
11003{
11004 delete _result;
11005}
11006 return _resultobj;
11007}
11008
11009#define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11010static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject * _resultobj;
11012 wxGrid * _arg0;
11013 int _arg1;
11014 int _arg2;
11015 wxString * _arg3;
11016 PyObject * _argo0 = 0;
11017 PyObject * _obj3 = 0;
11018 char *_kwnames[] = { "self","row","col","s", NULL };
11019
11020 self = self;
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11022 return NULL;
11023 if (_argo0) {
11024 if (_argo0 == Py_None) { _arg0 = NULL; }
11025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11027 return NULL;
11028 }
11029 }
11030{
185d7c3e
RD
11031#if PYTHON_API_VERSION >= 1009
11032 char* tmpPtr; int tmpSize;
11033 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
11034 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11035 return NULL;
11036 }
11037 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11038 return NULL;
11039 _arg3 = new wxString(tmpPtr, tmpSize);
11040#else
f6bcfd97
BP
11041 if (!PyString_Check(_obj3)) {
11042 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11043 return NULL;
11044 }
185d7c3e
RD
11045 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11046#endif
f6bcfd97
BP
11047}
11048{
11049 wxPy_BEGIN_ALLOW_THREADS;
11050 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11051
11052 wxPy_END_ALLOW_THREADS;
11053} Py_INCREF(Py_None);
11054 _resultobj = Py_None;
11055{
11056 if (_obj3)
11057 delete _arg3;
11058}
11059 return _resultobj;
11060}
11061
11062#define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11063static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11064 PyObject * _resultobj;
11065 bool _result;
11066 wxGrid * _arg0;
11067 int _arg1;
11068 int _arg2;
11069 PyObject * _argo0 = 0;
11070 char *_kwnames[] = { "self","row","col", NULL };
11071
11072 self = self;
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11074 return NULL;
11075 if (_argo0) {
11076 if (_argo0 == Py_None) { _arg0 = NULL; }
11077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11079 return NULL;
11080 }
11081 }
11082{
11083 wxPy_BEGIN_ALLOW_THREADS;
11084 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11085
11086 wxPy_END_ALLOW_THREADS;
11087} _resultobj = Py_BuildValue("i",_result);
11088 return _resultobj;
11089}
11090
11091#define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11092static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11093 PyObject * _resultobj;
11094 wxGrid * _arg0;
11095 int _arg1;
11096 int _arg2;
11097 bool _arg3 = (bool ) TRUE;
11098 PyObject * _argo0 = 0;
11099 int tempbool3 = (int) TRUE;
11100 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11101
11102 self = self;
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11104 return NULL;
11105 if (_argo0) {
11106 if (_argo0 == Py_None) { _arg0 = NULL; }
11107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11109 return NULL;
11110 }
11111 }
11112 _arg3 = (bool ) tempbool3;
11113{
11114 wxPy_BEGIN_ALLOW_THREADS;
11115 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11116
11117 wxPy_END_ALLOW_THREADS;
11118} Py_INCREF(Py_None);
11119 _resultobj = Py_None;
11120 return _resultobj;
11121}
11122
11123#define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11124static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11125 PyObject * _resultobj;
11126 wxGrid * _arg0;
11127 int _arg1;
11128 bool _arg2 = (bool ) FALSE;
11129 PyObject * _argo0 = 0;
11130 int tempbool2 = (int) FALSE;
11131 char *_kwnames[] = { "self","row","addToSelected", NULL };
11132
11133 self = self;
11134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11135 return NULL;
11136 if (_argo0) {
11137 if (_argo0 == Py_None) { _arg0 = NULL; }
11138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11140 return NULL;
11141 }
11142 }
11143 _arg2 = (bool ) tempbool2;
11144{
11145 wxPy_BEGIN_ALLOW_THREADS;
11146 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11147
11148 wxPy_END_ALLOW_THREADS;
11149} Py_INCREF(Py_None);
11150 _resultobj = Py_None;
11151 return _resultobj;
11152}
11153
11154#define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11155static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject * _resultobj;
11157 wxGrid * _arg0;
11158 int _arg1;
11159 bool _arg2 = (bool ) FALSE;
11160 PyObject * _argo0 = 0;
11161 int tempbool2 = (int) FALSE;
11162 char *_kwnames[] = { "self","col","addToSelected", NULL };
11163
11164 self = self;
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11166 return NULL;
11167 if (_argo0) {
11168 if (_argo0 == Py_None) { _arg0 = NULL; }
11169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11171 return NULL;
11172 }
11173 }
11174 _arg2 = (bool ) tempbool2;
11175{
11176 wxPy_BEGIN_ALLOW_THREADS;
11177 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11178
11179 wxPy_END_ALLOW_THREADS;
11180} Py_INCREF(Py_None);
11181 _resultobj = Py_None;
11182 return _resultobj;
11183}
11184
c368d904 11185#define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
f6bcfd97
BP
11186static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject * _resultobj;
11188 wxGrid * _arg0;
11189 int _arg1;
11190 int _arg2;
11191 int _arg3;
11192 int _arg4;
c368d904 11193 bool _arg5 = (bool ) FALSE;
f6bcfd97 11194 PyObject * _argo0 = 0;
c368d904
RD
11195 int tempbool5 = (int) FALSE;
11196 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
f6bcfd97
BP
11197
11198 self = self;
c368d904 11199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
f6bcfd97
BP
11200 return NULL;
11201 if (_argo0) {
11202 if (_argo0 == Py_None) { _arg0 = NULL; }
11203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11205 return NULL;
11206 }
11207 }
c368d904 11208 _arg5 = (bool ) tempbool5;
f6bcfd97
BP
11209{
11210 wxPy_BEGIN_ALLOW_THREADS;
c368d904 11211 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
f6bcfd97
BP
11212
11213 wxPy_END_ALLOW_THREADS;
11214} Py_INCREF(Py_None);
11215 _resultobj = Py_None;
11216 return _resultobj;
11217}
11218
11219#define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11220static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11221 PyObject * _resultobj;
11222 wxGrid * _arg0;
11223 PyObject * _argo0 = 0;
11224 char *_kwnames[] = { "self", NULL };
11225
11226 self = self;
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11228 return NULL;
11229 if (_argo0) {
11230 if (_argo0 == Py_None) { _arg0 = NULL; }
11231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11233 return NULL;
11234 }
11235 }
11236{
11237 wxPy_BEGIN_ALLOW_THREADS;
11238 wxGrid_SelectAll(_arg0);
11239
11240 wxPy_END_ALLOW_THREADS;
11241} Py_INCREF(Py_None);
11242 _resultobj = Py_None;
11243 return _resultobj;
11244}
11245
11246#define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11247static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11248 PyObject * _resultobj;
11249 bool _result;
11250 wxGrid * _arg0;
11251 PyObject * _argo0 = 0;
11252 char *_kwnames[] = { "self", NULL };
11253
11254 self = self;
11255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11256 return NULL;
11257 if (_argo0) {
11258 if (_argo0 == Py_None) { _arg0 = NULL; }
11259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11261 return NULL;
11262 }
11263 }
11264{
11265 wxPy_BEGIN_ALLOW_THREADS;
11266 _result = (bool )wxGrid_IsSelection(_arg0);
11267
11268 wxPy_END_ALLOW_THREADS;
11269} _resultobj = Py_BuildValue("i",_result);
11270 return _resultobj;
11271}
11272
11273#define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11274static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject * _resultobj;
11276 wxGrid * _arg0;
11277 PyObject * _argo0 = 0;
11278 char *_kwnames[] = { "self", NULL };
11279
11280 self = self;
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11282 return NULL;
11283 if (_argo0) {
11284 if (_argo0 == Py_None) { _arg0 = NULL; }
11285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11287 return NULL;
11288 }
11289 }
11290{
11291 wxPy_BEGIN_ALLOW_THREADS;
11292 wxGrid_ClearSelection(_arg0);
11293
11294 wxPy_END_ALLOW_THREADS;
11295} Py_INCREF(Py_None);
11296 _resultobj = Py_None;
11297 return _resultobj;
11298}
11299
11300#define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11301static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11302 PyObject * _resultobj;
11303 bool _result;
11304 wxGrid * _arg0;
11305 int _arg1;
11306 int _arg2;
11307 PyObject * _argo0 = 0;
11308 char *_kwnames[] = { "self","row","col", NULL };
11309
11310 self = self;
11311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11312 return NULL;
11313 if (_argo0) {
11314 if (_argo0 == Py_None) { _arg0 = NULL; }
11315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11317 return NULL;
11318 }
11319 }
11320{
11321 wxPy_BEGIN_ALLOW_THREADS;
11322 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11323
11324 wxPy_END_ALLOW_THREADS;
11325} _resultobj = Py_BuildValue("i",_result);
11326 return _resultobj;
11327}
11328
11329#define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11330static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11331 PyObject * _resultobj;
11332 wxRect * _result;
11333 wxGrid * _arg0;
11334 wxGridCellCoords * _arg1;
11335 wxGridCellCoords * _arg2;
11336 PyObject * _argo0 = 0;
11337 wxGridCellCoords temp;
11338 PyObject * _obj1 = 0;
11339 wxGridCellCoords temp0;
11340 PyObject * _obj2 = 0;
11341 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11342 char _ptemp[128];
11343
11344 self = self;
11345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11346 return NULL;
11347 if (_argo0) {
11348 if (_argo0 == Py_None) { _arg0 = NULL; }
11349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11351 return NULL;
11352 }
11353 }
11354{
11355 _arg1 = &temp;
11356 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11357 return NULL;
11358}
11359{
11360 _arg2 = &temp0;
11361 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11362 return NULL;
11363}
11364{
11365 wxPy_BEGIN_ALLOW_THREADS;
11366 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11367
11368 wxPy_END_ALLOW_THREADS;
11369} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11370 _resultobj = Py_BuildValue("s",_ptemp);
11371 return _resultobj;
11372}
11373
11374#define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11375static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11376 PyObject * _resultobj;
11377 wxColour * _result;
11378 wxGrid * _arg0;
11379 PyObject * _argo0 = 0;
11380 char *_kwnames[] = { "self", NULL };
11381 char _ptemp[128];
11382
11383 self = self;
11384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11385 return NULL;
11386 if (_argo0) {
11387 if (_argo0 == Py_None) { _arg0 = NULL; }
11388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11390 return NULL;
11391 }
11392 }
11393{
11394 wxPy_BEGIN_ALLOW_THREADS;
11395 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11396
11397 wxPy_END_ALLOW_THREADS;
11398} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11399 _resultobj = Py_BuildValue("s",_ptemp);
11400 return _resultobj;
11401}
11402
11403#define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11404static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11405 PyObject * _resultobj;
11406 wxColour * _result;
11407 wxGrid * _arg0;
11408 PyObject * _argo0 = 0;
11409 char *_kwnames[] = { "self", NULL };
11410 char _ptemp[128];
11411
11412 self = self;
11413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11414 return NULL;
11415 if (_argo0) {
11416 if (_argo0 == Py_None) { _arg0 = NULL; }
11417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11419 return NULL;
11420 }
11421 }
11422{
11423 wxPy_BEGIN_ALLOW_THREADS;
11424 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
11425
11426 wxPy_END_ALLOW_THREADS;
11427} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11428 _resultobj = Py_BuildValue("s",_ptemp);
11429 return _resultobj;
11430}
11431
11432#define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11433static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11434 PyObject * _resultobj;
11435 wxGrid * _arg0;
11436 wxColour * _arg1;
11437 PyObject * _argo0 = 0;
11438 wxColour temp;
11439 PyObject * _obj1 = 0;
11440 char *_kwnames[] = { "self","c", NULL };
11441
11442 self = self;
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
11444 return NULL;
11445 if (_argo0) {
11446 if (_argo0 == Py_None) { _arg0 = NULL; }
11447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11449 return NULL;
11450 }
11451 }
11452{
11453 _arg1 = &temp;
11454 if (! wxColour_helper(_obj1, &_arg1))
11455 return NULL;
11456}
11457{
11458 wxPy_BEGIN_ALLOW_THREADS;
11459 wxGrid_SetSelectionBackground(_arg0,*_arg1);
11460
11461 wxPy_END_ALLOW_THREADS;
11462} Py_INCREF(Py_None);
11463 _resultobj = Py_None;
11464 return _resultobj;
11465}
11466
11467#define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11468static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11469 PyObject * _resultobj;
11470 wxGrid * _arg0;
11471 wxColour * _arg1;
11472 PyObject * _argo0 = 0;
11473 wxColour temp;
11474 PyObject * _obj1 = 0;
11475 char *_kwnames[] = { "self","c", NULL };
11476
11477 self = self;
11478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
11479 return NULL;
11480 if (_argo0) {
11481 if (_argo0 == Py_None) { _arg0 = NULL; }
11482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11484 return NULL;
11485 }
11486 }
11487{
11488 _arg1 = &temp;
11489 if (! wxColour_helper(_obj1, &_arg1))
11490 return NULL;
11491}
11492{
11493 wxPy_BEGIN_ALLOW_THREADS;
11494 wxGrid_SetSelectionForeground(_arg0,*_arg1);
11495
11496 wxPy_END_ALLOW_THREADS;
11497} Py_INCREF(Py_None);
11498 _resultobj = Py_None;
11499 return _resultobj;
11500}
11501
11502#define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11503static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
11504 PyObject * _resultobj;
11505 wxGrid * _arg0;
11506 wxString * _arg1;
11507 wxGridCellRenderer * _arg2;
11508 wxGridCellEditor * _arg3;
11509 PyObject * _argo0 = 0;
11510 PyObject * _obj1 = 0;
11511 PyObject * _argo2 = 0;
11512 PyObject * _argo3 = 0;
11513 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
11514
11515 self = self;
11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
11517 return NULL;
11518 if (_argo0) {
11519 if (_argo0 == Py_None) { _arg0 = NULL; }
11520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
11522 return NULL;
11523 }
11524 }
11525{
185d7c3e
RD
11526#if PYTHON_API_VERSION >= 1009
11527 char* tmpPtr; int tmpSize;
11528 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11529 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11530 return NULL;
11531 }
11532 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11533 return NULL;
11534 _arg1 = new wxString(tmpPtr, tmpSize);
11535#else
f6bcfd97
BP
11536 if (!PyString_Check(_obj1)) {
11537 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11538 return NULL;
11539 }
185d7c3e
RD
11540 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11541#endif
f6bcfd97
BP
11542}
11543 if (_argo2) {
11544 if (_argo2 == Py_None) { _arg2 = NULL; }
11545 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
11546 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11547 return NULL;
11548 }
11549 }
11550 if (_argo3) {
11551 if (_argo3 == Py_None) { _arg3 = NULL; }
11552 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11553 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11554 return NULL;
11555 }
11556 }
11557{
11558 wxPy_BEGIN_ALLOW_THREADS;
11559 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
11560
11561 wxPy_END_ALLOW_THREADS;
11562} Py_INCREF(Py_None);
11563 _resultobj = Py_None;
11564{
11565 if (_obj1)
11566 delete _arg1;
11567}
11568 return _resultobj;
11569}
11570
11571#define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11572static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject * _resultobj;
11574 wxGridCellEditor * _result;
11575 wxGrid * _arg0;
11576 int _arg1;
11577 int _arg2;
11578 PyObject * _argo0 = 0;
11579 char *_kwnames[] = { "self","row","col", NULL };
11580 char _ptemp[128];
11581
11582 self = self;
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11584 return NULL;
11585 if (_argo0) {
11586 if (_argo0 == Py_None) { _arg0 = NULL; }
11587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11589 return NULL;
11590 }
11591 }
11592{
11593 wxPy_BEGIN_ALLOW_THREADS;
11594 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
11595
11596 wxPy_END_ALLOW_THREADS;
11597} if (_result) {
11598 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11599 _resultobj = Py_BuildValue("s",_ptemp);
11600 } else {
11601 Py_INCREF(Py_None);
11602 _resultobj = Py_None;
11603 }
11604 return _resultobj;
11605}
11606
11607#define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11608static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11609 PyObject * _resultobj;
11610 wxGridCellRenderer * _result;
11611 wxGrid * _arg0;
11612 int _arg1;
11613 int _arg2;
11614 PyObject * _argo0 = 0;
11615 char *_kwnames[] = { "self","row","col", NULL };
11616 char _ptemp[128];
11617
11618 self = self;
11619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11620 return NULL;
11621 if (_argo0) {
11622 if (_argo0 == Py_None) { _arg0 = NULL; }
11623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11625 return NULL;
11626 }
11627 }
11628{
11629 wxPy_BEGIN_ALLOW_THREADS;
11630 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
11631
11632 wxPy_END_ALLOW_THREADS;
11633} if (_result) {
11634 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11635 _resultobj = Py_BuildValue("s",_ptemp);
11636 } else {
11637 Py_INCREF(Py_None);
11638 _resultobj = Py_None;
11639 }
11640 return _resultobj;
11641}
11642
11643#define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11644static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11645 PyObject * _resultobj;
11646 wxGridCellEditor * _result;
11647 wxGrid * _arg0;
11648 wxString * _arg1;
11649 PyObject * _argo0 = 0;
11650 PyObject * _obj1 = 0;
11651 char *_kwnames[] = { "self","typeName", NULL };
11652 char _ptemp[128];
11653
11654 self = self;
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
11656 return NULL;
11657 if (_argo0) {
11658 if (_argo0 == Py_None) { _arg0 = NULL; }
11659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
11661 return NULL;
11662 }
11663 }
11664{
185d7c3e
RD
11665#if PYTHON_API_VERSION >= 1009
11666 char* tmpPtr; int tmpSize;
11667 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11668 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11669 return NULL;
11670 }
11671 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11672 return NULL;
11673 _arg1 = new wxString(tmpPtr, tmpSize);
11674#else
f6bcfd97
BP
11675 if (!PyString_Check(_obj1)) {
11676 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11677 return NULL;
11678 }
185d7c3e
RD
11679 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11680#endif
f6bcfd97
BP
11681}
11682{
11683 wxPy_BEGIN_ALLOW_THREADS;
11684 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
11685
11686 wxPy_END_ALLOW_THREADS;
11687} if (_result) {
11688 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11689 _resultobj = Py_BuildValue("s",_ptemp);
11690 } else {
11691 Py_INCREF(Py_None);
11692 _resultobj = Py_None;
11693 }
11694{
11695 if (_obj1)
11696 delete _arg1;
11697}
11698 return _resultobj;
11699}
11700
11701#define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11702static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11703 PyObject * _resultobj;
11704 wxGridCellRenderer * _result;
11705 wxGrid * _arg0;
11706 wxString * _arg1;
11707 PyObject * _argo0 = 0;
11708 PyObject * _obj1 = 0;
11709 char *_kwnames[] = { "self","typeName", NULL };
11710 char _ptemp[128];
11711
11712 self = self;
11713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
11714 return NULL;
11715 if (_argo0) {
11716 if (_argo0 == Py_None) { _arg0 = NULL; }
11717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11719 return NULL;
11720 }
11721 }
11722{
185d7c3e
RD
11723#if PYTHON_API_VERSION >= 1009
11724 char* tmpPtr; int tmpSize;
11725 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11726 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11727 return NULL;
11728 }
11729 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11730 return NULL;
11731 _arg1 = new wxString(tmpPtr, tmpSize);
11732#else
f6bcfd97
BP
11733 if (!PyString_Check(_obj1)) {
11734 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11735 return NULL;
11736 }
185d7c3e
RD
11737 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11738#endif
f6bcfd97
BP
11739}
11740{
11741 wxPy_BEGIN_ALLOW_THREADS;
11742 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
11743
11744 wxPy_END_ALLOW_THREADS;
11745} if (_result) {
11746 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11747 _resultobj = Py_BuildValue("s",_ptemp);
11748 } else {
11749 Py_INCREF(Py_None);
11750 _resultobj = Py_None;
11751 }
11752{
11753 if (_obj1)
11754 delete _arg1;
11755}
11756 return _resultobj;
11757}
11758
11759#define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11760static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
11761 PyObject * _resultobj;
11762 wxGrid * _arg0;
11763 int _arg1;
11764 int _arg2;
11765 PyObject * _argo0 = 0;
11766 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
11767
11768 self = self;
11769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
11770 return NULL;
11771 if (_argo0) {
11772 if (_argo0 == Py_None) { _arg0 = NULL; }
11773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11775 return NULL;
11776 }
11777 }
11778{
11779 wxPy_BEGIN_ALLOW_THREADS;
11780 wxGrid_SetMargins(_arg0,_arg1,_arg2);
11781
11782 wxPy_END_ALLOW_THREADS;
11783} Py_INCREF(Py_None);
11784 _resultobj = Py_None;
11785 return _resultobj;
11786}
11787
11788static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
11789 wxGridEvent *src;
11790 wxNotifyEvent *dest;
11791 src = (wxGridEvent *) ptr;
11792 dest = (wxNotifyEvent *) src;
11793 return (void *) dest;
11794}
11795
11796static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
11797 wxGridEvent *src;
11798 wxCommandEvent *dest;
11799 src = (wxGridEvent *) ptr;
11800 dest = (wxCommandEvent *) src;
11801 return (void *) dest;
11802}
11803
11804static void *SwigwxGridEventTowxEvent(void *ptr) {
11805 wxGridEvent *src;
11806 wxEvent *dest;
11807 src = (wxGridEvent *) ptr;
11808 dest = (wxEvent *) src;
11809 return (void *) dest;
11810}
11811
11812#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))
11813static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11814 PyObject * _resultobj;
11815 wxGridEvent * _result;
11816 int _arg0;
11817 wxEventType _arg1;
11818 wxGrid * _arg2;
11819 int _arg3 = (int ) -1;
11820 int _arg4 = (int ) -1;
11821 int _arg5 = (int ) -1;
11822 int _arg6 = (int ) -1;
11823 bool _arg7 = (bool ) TRUE;
11824 bool _arg8 = (bool ) FALSE;
11825 bool _arg9 = (bool ) FALSE;
11826 bool _arg10 = (bool ) FALSE;
11827 bool _arg11 = (bool ) FALSE;
11828 PyObject * _argo2 = 0;
11829 int tempbool7 = (int) TRUE;
11830 int tempbool8 = (int) FALSE;
11831 int tempbool9 = (int) FALSE;
11832 int tempbool10 = (int) FALSE;
11833 int tempbool11 = (int) FALSE;
11834 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
11835 char _ptemp[128];
11836
11837 self = self;
11838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
11839 return NULL;
11840 if (_argo2) {
11841 if (_argo2 == Py_None) { _arg2 = NULL; }
11842 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
11843 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
11844 return NULL;
11845 }
11846 }
11847 _arg7 = (bool ) tempbool7;
11848 _arg8 = (bool ) tempbool8;
11849 _arg9 = (bool ) tempbool9;
11850 _arg10 = (bool ) tempbool10;
11851 _arg11 = (bool ) tempbool11;
11852{
11853 wxPy_BEGIN_ALLOW_THREADS;
11854 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
11855
11856 wxPy_END_ALLOW_THREADS;
11857} if (_result) {
11858 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
11859 _resultobj = Py_BuildValue("s",_ptemp);
11860 } else {
11861 Py_INCREF(Py_None);
11862 _resultobj = Py_None;
11863 }
11864 return _resultobj;
11865}
11866
11867#define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
11868static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11869 PyObject * _resultobj;
11870 int _result;
11871 wxGridEvent * _arg0;
11872 PyObject * _argo0 = 0;
11873 char *_kwnames[] = { "self", NULL };
11874
11875 self = self;
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
11877 return NULL;
11878 if (_argo0) {
11879 if (_argo0 == Py_None) { _arg0 = NULL; }
11880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
11882 return NULL;
11883 }
11884 }
11885{
11886 wxPy_BEGIN_ALLOW_THREADS;
11887 _result = (int )wxGridEvent_GetRow(_arg0);
11888
11889 wxPy_END_ALLOW_THREADS;
11890} _resultobj = Py_BuildValue("i",_result);
11891 return _resultobj;
11892}
11893
11894#define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
11895static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11896 PyObject * _resultobj;
11897 int _result;
11898 wxGridEvent * _arg0;
11899 PyObject * _argo0 = 0;
11900 char *_kwnames[] = { "self", NULL };
11901
11902 self = self;
11903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
11904 return NULL;
11905 if (_argo0) {
11906 if (_argo0 == Py_None) { _arg0 = NULL; }
11907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
11909 return NULL;
11910 }
11911 }
11912{
11913 wxPy_BEGIN_ALLOW_THREADS;
11914 _result = (int )wxGridEvent_GetCol(_arg0);
11915
11916 wxPy_END_ALLOW_THREADS;
11917} _resultobj = Py_BuildValue("i",_result);
11918 return _resultobj;
11919}
11920
11921#define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11922static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11923 PyObject * _resultobj;
11924 wxPoint * _result;
11925 wxGridEvent * _arg0;
11926 PyObject * _argo0 = 0;
11927 char *_kwnames[] = { "self", NULL };
11928 char _ptemp[128];
11929
11930 self = self;
11931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
11932 return NULL;
11933 if (_argo0) {
11934 if (_argo0 == Py_None) { _arg0 = NULL; }
11935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
11937 return NULL;
11938 }
11939 }
11940{
11941 wxPy_BEGIN_ALLOW_THREADS;
11942 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
11943
11944 wxPy_END_ALLOW_THREADS;
11945} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
11946 _resultobj = Py_BuildValue("s",_ptemp);
11947 return _resultobj;
11948}
11949
11950#define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
11951static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
11952 PyObject * _resultobj;
11953 bool _result;
11954 wxGridEvent * _arg0;
11955 PyObject * _argo0 = 0;
11956 char *_kwnames[] = { "self", NULL };
11957
11958 self = self;
11959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
11960 return NULL;
11961 if (_argo0) {
11962 if (_argo0 == Py_None) { _arg0 = NULL; }
11963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
11965 return NULL;
11966 }
11967 }
11968{
11969 wxPy_BEGIN_ALLOW_THREADS;
11970 _result = (bool )wxGridEvent_Selecting(_arg0);
11971
11972 wxPy_END_ALLOW_THREADS;
11973} _resultobj = Py_BuildValue("i",_result);
11974 return _resultobj;
11975}
11976
11977#define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11978static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11979 PyObject * _resultobj;
11980 bool _result;
11981 wxGridEvent * _arg0;
11982 PyObject * _argo0 = 0;
11983 char *_kwnames[] = { "self", NULL };
11984
11985 self = self;
11986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
11987 return NULL;
11988 if (_argo0) {
11989 if (_argo0 == Py_None) { _arg0 = NULL; }
11990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
11992 return NULL;
11993 }
11994 }
11995{
11996 wxPy_BEGIN_ALLOW_THREADS;
11997 _result = (bool )wxGridEvent_ControlDown(_arg0);
11998
11999 wxPy_END_ALLOW_THREADS;
12000} _resultobj = Py_BuildValue("i",_result);
12001 return _resultobj;
12002}
12003
12004#define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12005static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12006 PyObject * _resultobj;
12007 bool _result;
12008 wxGridEvent * _arg0;
12009 PyObject * _argo0 = 0;
12010 char *_kwnames[] = { "self", NULL };
12011
12012 self = self;
12013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12014 return NULL;
12015 if (_argo0) {
12016 if (_argo0 == Py_None) { _arg0 = NULL; }
12017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12019 return NULL;
12020 }
12021 }
12022{
12023 wxPy_BEGIN_ALLOW_THREADS;
12024 _result = (bool )wxGridEvent_MetaDown(_arg0);
12025
12026 wxPy_END_ALLOW_THREADS;
12027} _resultobj = Py_BuildValue("i",_result);
12028 return _resultobj;
12029}
12030
12031#define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12032static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12033 PyObject * _resultobj;
12034 bool _result;
12035 wxGridEvent * _arg0;
12036 PyObject * _argo0 = 0;
12037 char *_kwnames[] = { "self", NULL };
12038
12039 self = self;
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12041 return NULL;
12042 if (_argo0) {
12043 if (_argo0 == Py_None) { _arg0 = NULL; }
12044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12046 return NULL;
12047 }
12048 }
12049{
12050 wxPy_BEGIN_ALLOW_THREADS;
12051 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12052
12053 wxPy_END_ALLOW_THREADS;
12054} _resultobj = Py_BuildValue("i",_result);
12055 return _resultobj;
12056}
12057
12058#define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12059static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12060 PyObject * _resultobj;
12061 bool _result;
12062 wxGridEvent * _arg0;
12063 PyObject * _argo0 = 0;
12064 char *_kwnames[] = { "self", NULL };
12065
12066 self = self;
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12068 return NULL;
12069 if (_argo0) {
12070 if (_argo0 == Py_None) { _arg0 = NULL; }
12071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12073 return NULL;
12074 }
12075 }
12076{
12077 wxPy_BEGIN_ALLOW_THREADS;
12078 _result = (bool )wxGridEvent_AltDown(_arg0);
12079
12080 wxPy_END_ALLOW_THREADS;
12081} _resultobj = Py_BuildValue("i",_result);
12082 return _resultobj;
12083}
12084
12085static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12086 wxGridSizeEvent *src;
12087 wxNotifyEvent *dest;
12088 src = (wxGridSizeEvent *) ptr;
12089 dest = (wxNotifyEvent *) src;
12090 return (void *) dest;
12091}
12092
12093static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12094 wxGridSizeEvent *src;
12095 wxCommandEvent *dest;
12096 src = (wxGridSizeEvent *) ptr;
12097 dest = (wxCommandEvent *) src;
12098 return (void *) dest;
12099}
12100
12101static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12102 wxGridSizeEvent *src;
12103 wxEvent *dest;
12104 src = (wxGridSizeEvent *) ptr;
12105 dest = (wxEvent *) src;
12106 return (void *) dest;
12107}
12108
12109#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))
12110static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject * _resultobj;
12112 wxGridSizeEvent * _result;
12113 int _arg0;
12114 wxEventType _arg1;
12115 wxGrid * _arg2;
12116 int _arg3 = (int ) -1;
12117 int _arg4 = (int ) -1;
12118 int _arg5 = (int ) -1;
12119 bool _arg6 = (bool ) FALSE;
12120 bool _arg7 = (bool ) FALSE;
12121 bool _arg8 = (bool ) FALSE;
12122 bool _arg9 = (bool ) FALSE;
12123 PyObject * _argo2 = 0;
12124 int tempbool6 = (int) FALSE;
12125 int tempbool7 = (int) FALSE;
12126 int tempbool8 = (int) FALSE;
12127 int tempbool9 = (int) FALSE;
12128 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12129 char _ptemp[128];
12130
12131 self = self;
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12133 return NULL;
12134 if (_argo2) {
12135 if (_argo2 == Py_None) { _arg2 = NULL; }
12136 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12137 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12138 return NULL;
12139 }
12140 }
12141 _arg6 = (bool ) tempbool6;
12142 _arg7 = (bool ) tempbool7;
12143 _arg8 = (bool ) tempbool8;
12144 _arg9 = (bool ) tempbool9;
12145{
12146 wxPy_BEGIN_ALLOW_THREADS;
12147 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12148
12149 wxPy_END_ALLOW_THREADS;
12150} if (_result) {
12151 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12152 _resultobj = Py_BuildValue("s",_ptemp);
12153 } else {
12154 Py_INCREF(Py_None);
12155 _resultobj = Py_None;
12156 }
12157 return _resultobj;
12158}
12159
12160#define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12161static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12162 PyObject * _resultobj;
12163 int _result;
12164 wxGridSizeEvent * _arg0;
12165 PyObject * _argo0 = 0;
12166 char *_kwnames[] = { "self", NULL };
12167
12168 self = self;
12169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12170 return NULL;
12171 if (_argo0) {
12172 if (_argo0 == Py_None) { _arg0 = NULL; }
12173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12175 return NULL;
12176 }
12177 }
12178{
12179 wxPy_BEGIN_ALLOW_THREADS;
12180 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12181
12182 wxPy_END_ALLOW_THREADS;
12183} _resultobj = Py_BuildValue("i",_result);
12184 return _resultobj;
12185}
12186
12187#define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12188static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12189 PyObject * _resultobj;
12190 wxPoint * _result;
12191 wxGridSizeEvent * _arg0;
12192 PyObject * _argo0 = 0;
12193 char *_kwnames[] = { "self", NULL };
12194 char _ptemp[128];
12195
12196 self = self;
12197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12198 return NULL;
12199 if (_argo0) {
12200 if (_argo0 == Py_None) { _arg0 = NULL; }
12201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12203 return NULL;
12204 }
12205 }
12206{
12207 wxPy_BEGIN_ALLOW_THREADS;
12208 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12209
12210 wxPy_END_ALLOW_THREADS;
12211} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12212 _resultobj = Py_BuildValue("s",_ptemp);
12213 return _resultobj;
12214}
12215
12216#define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12217static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12218 PyObject * _resultobj;
12219 bool _result;
12220 wxGridSizeEvent * _arg0;
12221 PyObject * _argo0 = 0;
12222 char *_kwnames[] = { "self", NULL };
12223
12224 self = self;
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12226 return NULL;
12227 if (_argo0) {
12228 if (_argo0 == Py_None) { _arg0 = NULL; }
12229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12231 return NULL;
12232 }
12233 }
12234{
12235 wxPy_BEGIN_ALLOW_THREADS;
12236 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
12237
12238 wxPy_END_ALLOW_THREADS;
12239} _resultobj = Py_BuildValue("i",_result);
12240 return _resultobj;
12241}
12242
12243#define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12244static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12245 PyObject * _resultobj;
12246 bool _result;
12247 wxGridSizeEvent * _arg0;
12248 PyObject * _argo0 = 0;
12249 char *_kwnames[] = { "self", NULL };
12250
12251 self = self;
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12253 return NULL;
12254 if (_argo0) {
12255 if (_argo0 == Py_None) { _arg0 = NULL; }
12256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12258 return NULL;
12259 }
12260 }
12261{
12262 wxPy_BEGIN_ALLOW_THREADS;
12263 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12264
12265 wxPy_END_ALLOW_THREADS;
12266} _resultobj = Py_BuildValue("i",_result);
12267 return _resultobj;
12268}
12269
12270#define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12271static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12272 PyObject * _resultobj;
12273 bool _result;
12274 wxGridSizeEvent * _arg0;
12275 PyObject * _argo0 = 0;
12276 char *_kwnames[] = { "self", NULL };
12277
12278 self = self;
12279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12280 return NULL;
12281 if (_argo0) {
12282 if (_argo0 == Py_None) { _arg0 = NULL; }
12283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12285 return NULL;
12286 }
12287 }
12288{
12289 wxPy_BEGIN_ALLOW_THREADS;
12290 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12291
12292 wxPy_END_ALLOW_THREADS;
12293} _resultobj = Py_BuildValue("i",_result);
12294 return _resultobj;
12295}
12296
12297#define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12298static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12299 PyObject * _resultobj;
12300 bool _result;
12301 wxGridSizeEvent * _arg0;
12302 PyObject * _argo0 = 0;
12303 char *_kwnames[] = { "self", NULL };
12304
12305 self = self;
12306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
12307 return NULL;
12308 if (_argo0) {
12309 if (_argo0 == Py_None) { _arg0 = NULL; }
12310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12312 return NULL;
12313 }
12314 }
12315{
12316 wxPy_BEGIN_ALLOW_THREADS;
12317 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
12318
12319 wxPy_END_ALLOW_THREADS;
12320} _resultobj = Py_BuildValue("i",_result);
12321 return _resultobj;
12322}
12323
12324static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
12325 wxGridRangeSelectEvent *src;
12326 wxNotifyEvent *dest;
12327 src = (wxGridRangeSelectEvent *) ptr;
12328 dest = (wxNotifyEvent *) src;
12329 return (void *) dest;
12330}
12331
12332static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
12333 wxGridRangeSelectEvent *src;
12334 wxCommandEvent *dest;
12335 src = (wxGridRangeSelectEvent *) ptr;
12336 dest = (wxCommandEvent *) src;
12337 return (void *) dest;
12338}
12339
12340static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
12341 wxGridRangeSelectEvent *src;
12342 wxEvent *dest;
12343 src = (wxGridRangeSelectEvent *) ptr;
12344 dest = (wxEvent *) src;
12345 return (void *) dest;
12346}
12347
12348#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))
12349static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12350 PyObject * _resultobj;
12351 wxGridRangeSelectEvent * _result;
12352 int _arg0;
12353 wxEventType _arg1;
12354 wxGrid * _arg2;
12355 wxGridCellCoords * _arg3;
12356 wxGridCellCoords * _arg4;
12357 bool _arg5 = (bool ) TRUE;
12358 bool _arg6 = (bool ) FALSE;
12359 bool _arg7 = (bool ) FALSE;
12360 bool _arg8 = (bool ) FALSE;
12361 bool _arg9 = (bool ) FALSE;
12362 PyObject * _argo2 = 0;
12363 wxGridCellCoords temp;
12364 PyObject * _obj3 = 0;
12365 wxGridCellCoords temp0;
12366 PyObject * _obj4 = 0;
12367 int tempbool5 = (int) TRUE;
12368 int tempbool6 = (int) FALSE;
12369 int tempbool7 = (int) FALSE;
12370 int tempbool8 = (int) FALSE;
12371 int tempbool9 = (int) FALSE;
12372 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
12373 char _ptemp[128];
12374
12375 self = self;
12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12377 return NULL;
12378 if (_argo2) {
12379 if (_argo2 == Py_None) { _arg2 = NULL; }
12380 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12381 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12382 return NULL;
12383 }
12384 }
12385{
12386 _arg3 = &temp;
12387 if (! wxGridCellCoords_helper(_obj3, &_arg3))
12388 return NULL;
12389}
12390{
12391 _arg4 = &temp0;
12392 if (! wxGridCellCoords_helper(_obj4, &_arg4))
12393 return NULL;
12394}
12395 _arg5 = (bool ) tempbool5;
12396 _arg6 = (bool ) tempbool6;
12397 _arg7 = (bool ) tempbool7;
12398 _arg8 = (bool ) tempbool8;
12399 _arg9 = (bool ) tempbool9;
12400{
12401 wxPy_BEGIN_ALLOW_THREADS;
12402 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12403
12404 wxPy_END_ALLOW_THREADS;
12405} if (_result) {
12406 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
12407 _resultobj = Py_BuildValue("s",_ptemp);
12408 } else {
12409 Py_INCREF(Py_None);
12410 _resultobj = Py_None;
12411 }
12412 return _resultobj;
12413}
12414
12415#define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12416static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12417 PyObject * _resultobj;
12418 wxGridCellCoords * _result;
12419 wxGridRangeSelectEvent * _arg0;
12420 PyObject * _argo0 = 0;
12421 char *_kwnames[] = { "self", NULL };
12422 char _ptemp[128];
12423
12424 self = self;
12425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
12426 return NULL;
12427 if (_argo0) {
12428 if (_argo0 == Py_None) { _arg0 = NULL; }
12429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12431 return NULL;
12432 }
12433 }
12434{
12435 wxPy_BEGIN_ALLOW_THREADS;
12436 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
12437
12438 wxPy_END_ALLOW_THREADS;
12439} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12440 _resultobj = Py_BuildValue("s",_ptemp);
12441 return _resultobj;
12442}
12443
12444#define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12445static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12446 PyObject * _resultobj;
12447 wxGridCellCoords * _result;
12448 wxGridRangeSelectEvent * _arg0;
12449 PyObject * _argo0 = 0;
12450 char *_kwnames[] = { "self", NULL };
12451 char _ptemp[128];
12452
12453 self = self;
12454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
12455 return NULL;
12456 if (_argo0) {
12457 if (_argo0 == Py_None) { _arg0 = NULL; }
12458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12460 return NULL;
12461 }
12462 }
12463{
12464 wxPy_BEGIN_ALLOW_THREADS;
12465 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
12466
12467 wxPy_END_ALLOW_THREADS;
12468} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12469 _resultobj = Py_BuildValue("s",_ptemp);
12470 return _resultobj;
12471}
12472
12473#define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12474static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12475 PyObject * _resultobj;
12476 int _result;
12477 wxGridRangeSelectEvent * _arg0;
12478 PyObject * _argo0 = 0;
12479 char *_kwnames[] = { "self", NULL };
12480
12481 self = self;
12482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
12483 return NULL;
12484 if (_argo0) {
12485 if (_argo0 == Py_None) { _arg0 = NULL; }
12486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12488 return NULL;
12489 }
12490 }
12491{
12492 wxPy_BEGIN_ALLOW_THREADS;
12493 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
12494
12495 wxPy_END_ALLOW_THREADS;
12496} _resultobj = Py_BuildValue("i",_result);
12497 return _resultobj;
12498}
12499
12500#define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12501static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12502 PyObject * _resultobj;
12503 int _result;
12504 wxGridRangeSelectEvent * _arg0;
12505 PyObject * _argo0 = 0;
12506 char *_kwnames[] = { "self", NULL };
12507
12508 self = self;
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
12510 return NULL;
12511 if (_argo0) {
12512 if (_argo0 == Py_None) { _arg0 = NULL; }
12513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12515 return NULL;
12516 }
12517 }
12518{
12519 wxPy_BEGIN_ALLOW_THREADS;
12520 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
12521
12522 wxPy_END_ALLOW_THREADS;
12523} _resultobj = Py_BuildValue("i",_result);
12524 return _resultobj;
12525}
12526
12527#define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12528static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12529 PyObject * _resultobj;
12530 int _result;
12531 wxGridRangeSelectEvent * _arg0;
12532 PyObject * _argo0 = 0;
12533 char *_kwnames[] = { "self", NULL };
12534
12535 self = self;
12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
12537 return NULL;
12538 if (_argo0) {
12539 if (_argo0 == Py_None) { _arg0 = NULL; }
12540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12542 return NULL;
12543 }
12544 }
12545{
12546 wxPy_BEGIN_ALLOW_THREADS;
12547 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
12548
12549 wxPy_END_ALLOW_THREADS;
12550} _resultobj = Py_BuildValue("i",_result);
12551 return _resultobj;
12552}
12553
12554#define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12555static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12556 PyObject * _resultobj;
12557 int _result;
12558 wxGridRangeSelectEvent * _arg0;
12559 PyObject * _argo0 = 0;
12560 char *_kwnames[] = { "self", NULL };
12561
12562 self = self;
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
12564 return NULL;
12565 if (_argo0) {
12566 if (_argo0 == Py_None) { _arg0 = NULL; }
12567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12569 return NULL;
12570 }
12571 }
12572{
12573 wxPy_BEGIN_ALLOW_THREADS;
12574 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
12575
12576 wxPy_END_ALLOW_THREADS;
12577} _resultobj = Py_BuildValue("i",_result);
12578 return _resultobj;
12579}
12580
12581#define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12582static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12583 PyObject * _resultobj;
12584 bool _result;
12585 wxGridRangeSelectEvent * _arg0;
12586 PyObject * _argo0 = 0;
12587 char *_kwnames[] = { "self", NULL };
12588
12589 self = self;
12590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
12591 return NULL;
12592 if (_argo0) {
12593 if (_argo0 == Py_None) { _arg0 = NULL; }
12594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12596 return NULL;
12597 }
12598 }
12599{
12600 wxPy_BEGIN_ALLOW_THREADS;
12601 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
12602
12603 wxPy_END_ALLOW_THREADS;
12604} _resultobj = Py_BuildValue("i",_result);
12605 return _resultobj;
12606}
12607
12608#define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12609static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12610 PyObject * _resultobj;
12611 bool _result;
12612 wxGridRangeSelectEvent * _arg0;
12613 PyObject * _argo0 = 0;
12614 char *_kwnames[] = { "self", NULL };
12615
12616 self = self;
12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
12618 return NULL;
12619 if (_argo0) {
12620 if (_argo0 == Py_None) { _arg0 = NULL; }
12621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12623 return NULL;
12624 }
12625 }
12626{
12627 wxPy_BEGIN_ALLOW_THREADS;
12628 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
12629
12630 wxPy_END_ALLOW_THREADS;
12631} _resultobj = Py_BuildValue("i",_result);
12632 return _resultobj;
12633}
12634
12635#define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12636static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12637 PyObject * _resultobj;
12638 bool _result;
12639 wxGridRangeSelectEvent * _arg0;
12640 PyObject * _argo0 = 0;
12641 char *_kwnames[] = { "self", NULL };
12642
12643 self = self;
12644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
12645 return NULL;
12646 if (_argo0) {
12647 if (_argo0 == Py_None) { _arg0 = NULL; }
12648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
12650 return NULL;
12651 }
12652 }
12653{
12654 wxPy_BEGIN_ALLOW_THREADS;
12655 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
12656
12657 wxPy_END_ALLOW_THREADS;
12658} _resultobj = Py_BuildValue("i",_result);
12659 return _resultobj;
12660}
12661
12662#define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12663static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12664 PyObject * _resultobj;
12665 bool _result;
12666 wxGridRangeSelectEvent * _arg0;
12667 PyObject * _argo0 = 0;
12668 char *_kwnames[] = { "self", NULL };
12669
12670 self = self;
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
12672 return NULL;
12673 if (_argo0) {
12674 if (_argo0 == Py_None) { _arg0 = NULL; }
12675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
12677 return NULL;
12678 }
12679 }
12680{
12681 wxPy_BEGIN_ALLOW_THREADS;
12682 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
12683
12684 wxPy_END_ALLOW_THREADS;
12685} _resultobj = Py_BuildValue("i",_result);
12686 return _resultobj;
12687}
12688
12689#define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
12690static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12691 PyObject * _resultobj;
12692 bool _result;
12693 wxGridRangeSelectEvent * _arg0;
12694 PyObject * _argo0 = 0;
12695 char *_kwnames[] = { "self", NULL };
12696
12697 self = self;
12698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
12699 return NULL;
12700 if (_argo0) {
12701 if (_argo0 == Py_None) { _arg0 = NULL; }
12702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
12704 return NULL;
12705 }
12706 }
12707{
12708 wxPy_BEGIN_ALLOW_THREADS;
12709 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
12710
12711 wxPy_END_ALLOW_THREADS;
12712} _resultobj = Py_BuildValue("i",_result);
12713 return _resultobj;
12714}
12715
12716static PyMethodDef gridcMethods[] = {
12717 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12718 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12719 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12720 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12721 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12722 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
12723 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
12724 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
12725 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
12726 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
12727 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
12728 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
12729 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12730 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12731 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12732 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12733 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12734 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
12735 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
12736 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12737 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12738 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12739 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12740 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12741 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12742 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
12743 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
12744 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
12745 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
12746 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
12747 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
12748 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
12749 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
12750 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
12751 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12752 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12753 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12754 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12755 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
12756 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
12757 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
12758 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
12759 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
12760 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
12761 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
12762 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
12763 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12764 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12765 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
12766 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
12767 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
12768 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12769 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
12770 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12771 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12772 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12773 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12774 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12775 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12776 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12777 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
12778 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12779 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12780 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12781 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12782 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12783 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
12784 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
12785 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
12786 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
12787 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
12788 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
12789 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
12790 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
12791 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12792 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
12793 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12794 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12795 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12796 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
12797 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12798 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12799 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12800 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12801 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12802 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
12803 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12804 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
12805 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12806 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
12807 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
12808 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
12809 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
12810 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
12811 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
12812 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12813 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12814 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
12815 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12816 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12817 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
12818 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
12819 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
12820 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
12821 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12822 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12823 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12824 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12825 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12826 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12827 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12828 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12829 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
12830 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12831 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12832 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12833 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12834 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12835 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12836 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12837 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12838 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12839 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12840 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
12841 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12842 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12843 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12844 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
12845 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12846 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12847 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
12848 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
12849 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
12850 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
12851 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
12852 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
12853 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
12854 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
12855 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
12856 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
12857 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
12858 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
12859 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
12860 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
12861 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
12862 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
12863 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
12864 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
12865 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
12866 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
12867 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
12868 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
12869 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
12870 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
12871 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
12872 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
12873 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
12874 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
12875 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12876 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12877 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
12878 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
12879 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
12880 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
12881 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
12882 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
12883 { "wxGrid_StringToLines", (PyCFunction) _wrap_wxGrid_StringToLines, METH_VARARGS | METH_KEYWORDS },
12884 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
12885 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
12886 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12887 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
12888 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
12889 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12890 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
12891 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
12892 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
12893 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
12894 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
12895 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
12896 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12897 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12898 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
12899 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
12900 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
12901 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
12902 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
12903 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
12904 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
12905 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
12906 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
12907 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
12908 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12909 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12910 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12911 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12912 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
12913 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
12914 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
12915 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
12916 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
12917 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
12918 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12919 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12920 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
12921 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12922 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12923 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12924 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12925 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12926 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12927 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12928 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12929 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12930 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12931 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
12932 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
12933 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12934 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
12935 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
12936 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
12937 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12938 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12939 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12940 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
12941 { "wxPyGridTableBase__setSelf", (PyCFunction) _wrap_wxPyGridTableBase__setSelf, METH_VARARGS | METH_KEYWORDS },
12942 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
12943 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12944 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12945 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
12946 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
12947 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12948 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12949 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12950 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12951 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12952 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12953 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
12954 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
12955 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12956 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
12957 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
12958 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
12959 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12960 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12961 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12962 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12963 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12964 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12965 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12966 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12967 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12968 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
12969 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
12970 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
12971 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12972 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12973 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
12974 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
12975 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12976 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12977 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12978 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12979 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12980 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12981 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setSelf, METH_VARARGS | METH_KEYWORDS },
12982 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12983 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
12984 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
12985 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12986 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12987 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
12988 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
12989 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12990 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
12991 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12992 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
12993 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
12994 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
12995 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
12996 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12997 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
12998 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
12999 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13000 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13001 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13002 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13003 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
13004 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13005 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13006 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13007 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13008 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13009 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13010 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13011 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
13012 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
13013 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
13014 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
13015 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
13016 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
13017 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
13018 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
13019 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
13020 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13021 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
13022 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13023 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
13024 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
dbbb98cd 13025 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13026 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13027 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
13028 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
13029 { "wxPyGridCellEditor__setSelf", (PyCFunction) _wrap_wxPyGridCellEditor__setSelf, METH_VARARGS | METH_KEYWORDS },
13030 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
13031 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
13032 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13033 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
13034 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
13035 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13036 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13037 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
13038 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
13039 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
13040 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
13041 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
13042 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
13043 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
13044 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
13045 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
13046 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
13047 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
13048 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
13049 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
13050 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
13051 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
13052 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
13053 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
13054 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
13055 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
13056 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
13057 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
13058 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13059 { "wxPyGridCellRenderer__setSelf", (PyCFunction) _wrap_wxPyGridCellRenderer__setSelf, METH_VARARGS | METH_KEYWORDS },
13060 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
13061 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
13062 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
13063 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
13064 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
13065 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
13066 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
13067 { NULL, NULL }
13068};
13069#ifdef __cplusplus
13070}
13071#endif
13072/*
13073 * This table is used by the pointer type-checker
13074 */
13075static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
13076 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
13077 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13078 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13079 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13080 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13081 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
13082 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
13083 { "_wxEvent","_class_wxEvent",0},
13084 { "_class_wxActivateEvent","_wxActivateEvent",0},
13085 { "_signed_long","_long",0},
13086 { "_wxMenuEvent","_class_wxMenuEvent",0},
13087 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13088 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13089 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13090 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13091 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13092 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13093 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13094 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13095 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13096 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13097 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
13098 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
13099 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
13100 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
13101 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
13102 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
13103 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
13104 { "_wxPrintQuality","_wxCoord",0},
13105 { "_wxPrintQuality","_int",0},
13106 { "_wxPrintQuality","_signed_int",0},
13107 { "_wxPrintQuality","_unsigned_int",0},
13108 { "_wxPrintQuality","_wxWindowID",0},
13109 { "_wxPrintQuality","_uint",0},
13110 { "_wxPrintQuality","_EBool",0},
13111 { "_wxPrintQuality","_size_t",0},
c368d904 13112 { "_wxPrintQuality","_time_t",0},
f6bcfd97
BP
13113 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
13114 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
13115 { "_class_wxRegionIterator","_wxRegionIterator",0},
13116 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
13117 { "_class_wxMenuBar","_wxMenuBar",0},
13118 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
13119 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13120 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13121 { "_class_wxEvtHandler","_wxEvtHandler",0},
13122 { "_wxPaintEvent","_class_wxPaintEvent",0},
13123 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
13124 { "_wxCursor","_class_wxCursor",0},
13125 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13126 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13127 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13128 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13129 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13130 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13131 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
13132 { "_wxMask","_class_wxMask",0},
13133 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
13134 { "_wxGrid","_class_wxGrid",0},
13135 { "_wxPen","_class_wxPen",0},
13136 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
13137 { "_byte","_unsigned_char",0},
13138 { "_wxDataObject","_class_wxDataObject",0},
13139 { "_wxStaticBox","_class_wxStaticBox",0},
13140 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
13141 { "_wxPyDropSource","_class_wxPyDropSource",0},
13142 { "_wxChoice","_class_wxChoice",0},
13143 { "_wxSlider","_class_wxSlider",0},
13144 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
13145 { "_long","_unsigned_long",0},
13146 { "_long","_signed_long",0},
13147 { "_wxImageList","_class_wxImageList",0},
13148 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
13149 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
13150 { "_wxBitmapButton","_class_wxBitmapButton",0},
13151 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
13152 { "_class_wxClipboard","_wxClipboard",0},
13153 { "_class_wxGauge","_wxGauge",0},
13154 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
13155 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
13156 { "_wxDC","_class_wxDC",0},
13157 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
13158 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
13159 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
13160 { "_wxSpinEvent","_class_wxSpinEvent",0},
13161 { "_size_t","_WXGRIDSELECTIONMODES",0},
13162 { "_size_t","_wxCoord",0},
13163 { "_size_t","_wxPrintQuality",0},
c368d904 13164 { "_size_t","_time_t",0},
f6bcfd97
BP
13165 { "_size_t","_unsigned_int",0},
13166 { "_size_t","_int",0},
13167 { "_size_t","_wxWindowID",0},
13168 { "_size_t","_uint",0},
13169 { "_class_wxRealPoint","_wxRealPoint",0},
13170 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
13171 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
13172 { "_wxPrinterDC","_class_wxPrinterDC",0},
13173 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
13174 { "_class_wxMenuItem","_wxMenuItem",0},
13175 { "_class_wxPaintEvent","_wxPaintEvent",0},
13176 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
13177 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13178 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13179 { "_wxPanel","_class_wxPanel",0},
13180 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
13181 { "_wxCheckBox","_class_wxCheckBox",0},
13182 { "_wxPyEvent","_class_wxPyEvent",0},
13183 { "_wxTextCtrl","_class_wxTextCtrl",0},
13184 { "_class_wxMask","_wxMask",0},
13185 { "_wxTextDataObject","_class_wxTextDataObject",0},
13186 { "_class_wxKeyEvent","_wxKeyEvent",0},
13187 { "_class_wxGrid","_wxGrid",0},
13188 { "_wxColour","_class_wxColour",0},
13189 { "_class_wxDialog","_wxDialog",0},
13190 { "_class_wxFileDataObject","_wxFileDataObject",0},
13191 { "_wxIdleEvent","_class_wxIdleEvent",0},
13192 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
13193 { "_class_wxDataObject","_wxDataObject",0},
13194 { "_wxStaticLine","_class_wxStaticLine",0},
13195 { "_wxBrush","_class_wxBrush",0},
13196 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
13197 { "_wxDataFormat","_class_wxDataFormat",0},
13198 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
13199 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
13200 { "_wxShowEvent","_class_wxShowEvent",0},
13201 { "_uint","_WXGRIDSELECTIONMODES",0},
13202 { "_uint","_wxCoord",0},
13203 { "_uint","_wxPrintQuality",0},
c368d904 13204 { "_uint","_time_t",0},
f6bcfd97
BP
13205 { "_uint","_size_t",0},
13206 { "_uint","_unsigned_int",0},
13207 { "_uint","_int",0},
13208 { "_uint","_wxWindowID",0},
13209 { "_wxChar","_char",0},
13210 { "_wxPyValidator","_class_wxPyValidator",0},
13211 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13212 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13213 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13214 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13215 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
13216 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
13217 { "_class_wxEvent","_wxEvent",0},
13218 { "_wxCheckListBox","_class_wxCheckListBox",0},
13219 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
13220 { "_wxGridEvent","_class_wxGridEvent",0},
13221 { "_wxRect","_class_wxRect",0},
13222 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13223 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13224 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13225 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13226 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13227 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13228 { "_wxCommandEvent","_class_wxCommandEvent",0},
13229 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
13230 { "_wxSizeEvent","_class_wxSizeEvent",0},
13231 { "_wxPoint","_class_wxPoint",0},
13232 { "_class_wxButton","_wxButton",0},
13233 { "_wxRadioBox","_class_wxRadioBox",0},
13234 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
13235 { "_char","_wxChar",0},
13236 { "_wxBitmap","_class_wxBitmap",0},
13237 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13238 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13239 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13240 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13241 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
13242 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
13243 { "_wxWindowDC","_class_wxWindowDC",0},
13244 { "_wxTimerEvent","_class_wxTimerEvent",0},
13245 { "_wxScrollBar","_class_wxScrollBar",0},
13246 { "_wxSpinButton","_class_wxSpinButton",0},
13247 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
13248 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13249 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13250 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13251 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13252 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13253 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13254 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
13255 { "_class_wxValidator","_wxValidator",0},
13256 { "_class_wxPyEvent","_wxPyEvent",0},
13257 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
13258 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
13259 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
13260 { "_wxDropTarget","_class_wxDropTarget",0},
13261 { "_class_wxStaticLine","_wxStaticLine",0},
13262 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
13263 { "_wxScrollEvent","_class_wxScrollEvent",0},
13264 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13265 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13266 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13267 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13268 { "_wxGridTableBase","_class_wxGridTableBase",0},
13269 { "_wxGridStringTable","_class_wxGridStringTable",0},
13270 { "_EBool","_WXGRIDSELECTIONMODES",0},
13271 { "_EBool","_wxCoord",0},
13272 { "_EBool","_wxPrintQuality",0},
13273 { "_EBool","_signed_int",0},
13274 { "_EBool","_int",0},
13275 { "_EBool","_wxWindowID",0},
13276 { "_class_wxRegion","_wxRegion",0},
13277 { "_class_wxDataFormat","_wxDataFormat",0},
13278 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
13279 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13280 { "_wxStaticText","_class_wxStaticText",0},
13281 { "_wxFont","_class_wxFont",0},
13282 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13283 { "_wxCloseEvent","_class_wxCloseEvent",0},
13284 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13285 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13286 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13287 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13288 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13289 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13290 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13291 { "_unsigned_long","_long",0},
13292 { "_class_wxRect","_wxRect",0},
13293 { "_class_wxDC","_wxDC",0},
13294 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13295 { "_WXGRIDSELECTIONMODES","_int",0},
13296 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13297 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13298 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13299 { "_WXGRIDSELECTIONMODES","_uint",0},
13300 { "_WXGRIDSELECTIONMODES","_EBool",0},
13301 { "_WXGRIDSELECTIONMODES","_size_t",0},
c368d904 13302 { "_WXGRIDSELECTIONMODES","_time_t",0},
f6bcfd97
BP
13303 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13304 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
13305 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
13306 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13307 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13308 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13309 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13310 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13311 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13312 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13313 { "_wxFocusEvent","_class_wxFocusEvent",0},
13314 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13315 { "_class_wxTimerEvent","_wxTimerEvent",0},
13316 { "_class_wxSpinButton","_wxSpinButton",0},
13317 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13318 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13319 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13320 { "_class_wxPanel","_wxPanel",0},
13321 { "_class_wxCheckBox","_wxCheckBox",0},
13322 { "_wxComboBox","_class_wxComboBox",0},
13323 { "_wxRadioButton","_class_wxRadioButton",0},
13324 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13325 { "_signed_int","_wxCoord",0},
13326 { "_signed_int","_wxPrintQuality",0},
13327 { "_signed_int","_EBool",0},
13328 { "_signed_int","_wxWindowID",0},
13329 { "_signed_int","_int",0},
13330 { "_class_wxTextCtrl","_wxTextCtrl",0},
13331 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13332 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
13333 { "_class_wxTextDataObject","_wxTextDataObject",0},
13334 { "_wxMenu","_class_wxMenu",0},
13335 { "_class_wxMoveEvent","_wxMoveEvent",0},
13336 { "_wxListBox","_class_wxListBox",0},
13337 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13338 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13339 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13340 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13341 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13342 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13343 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13344 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13345 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13346 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13347 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13348 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13349 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13350 { "_wxScreenDC","_class_wxScreenDC",0},
13351 { "_WXTYPE","_short",0},
13352 { "_WXTYPE","_signed_short",0},
13353 { "_WXTYPE","_unsigned_short",0},
13354 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13355 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13356 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13357 { "_class_wxDropTarget","_wxDropTarget",0},
13358 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13359 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13360 { "_class_wxBrush","_wxBrush",0},
13361 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13362 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13363 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13364 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13365 { "_class_wxGridTableBase","_wxGridTableBase",0},
13366 { "_unsigned_short","_WXTYPE",0},
13367 { "_unsigned_short","_short",0},
13368 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13369 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13370 { "_class_wxWindow","_wxWindow",0},
13371 { "_class_wxStaticText","_wxStaticText",0},
13372 { "_class_wxFont","_wxFont",0},
13373 { "_wxClipboard","_class_wxClipboard",0},
13374 { "_class_wxPyValidator","_wxPyValidator",0},
13375 { "_class_wxCloseEvent","_wxCloseEvent",0},
13376 { "_wxBusyInfo","_class_wxBusyInfo",0},
13377 { "_class_wxMenuEvent","_wxMenuEvent",0},
13378 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13379 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13380 { "_wxClientDC","_class_wxClientDC",0},
13381 { "_wxMouseEvent","_class_wxMouseEvent",0},
13382 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
13383 { "_class_wxPoint","_wxPoint",0},
13384 { "_wxRealPoint","_class_wxRealPoint",0},
13385 { "_class_wxRadioBox","_wxRadioBox",0},
13386 { "_signed_short","_WXTYPE",0},
13387 { "_signed_short","_short",0},
13388 { "_wxMemoryDC","_class_wxMemoryDC",0},
13389 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13390 { "_wxPaintDC","_class_wxPaintDC",0},
13391 { "_class_wxWindowDC","_wxWindowDC",0},
13392 { "_class_wxFocusEvent","_wxFocusEvent",0},
13393 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13394 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13395 { "_class_wxCursor","_wxCursor",0},
13396 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13397 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13398 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13399 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13400 { "_unsigned_char","_byte",0},
13401 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
13402 { "_class_wxMenu","_wxMenu",0},
13403 { "_wxControl","_class_wxControl",0},
13404 { "_class_wxListBox","_wxListBox",0},
13405 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13406 { "_unsigned_int","_wxCoord",0},
13407 { "_unsigned_int","_wxPrintQuality",0},
c368d904 13408 { "_unsigned_int","_time_t",0},
f6bcfd97
BP
13409 { "_unsigned_int","_size_t",0},
13410 { "_unsigned_int","_uint",0},
13411 { "_unsigned_int","_wxWindowID",0},
13412 { "_unsigned_int","_int",0},
13413 { "_wxIcon","_class_wxIcon",0},
13414 { "_wxDialog","_class_wxDialog",0},
13415 { "_class_wxPen","_wxPen",0},
13416 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13417 { "_short","_WXTYPE",0},
13418 { "_short","_unsigned_short",0},
13419 { "_short","_signed_short",0},
13420 { "_class_wxStaticBox","_wxStaticBox",0},
13421 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13422 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13423 { "_class_wxPyDropSource","_wxPyDropSource",0},
13424 { "_class_wxScrollEvent","_wxScrollEvent",0},
13425 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13426 { "_class_wxChoice","_wxChoice",0},
13427 { "_class_wxSlider","_wxSlider",0},
13428 { "_class_wxImageList","_wxImageList",0},
13429 { "_class_wxBitmapButton","_wxBitmapButton",0},
13430 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13431 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13432 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13433 { "_wxWindowID","_wxCoord",0},
13434 { "_wxWindowID","_wxPrintQuality",0},
c368d904 13435 { "_wxWindowID","_time_t",0},
f6bcfd97
BP
13436 { "_wxWindowID","_size_t",0},
13437 { "_wxWindowID","_EBool",0},
13438 { "_wxWindowID","_uint",0},
13439 { "_wxWindowID","_int",0},
13440 { "_wxWindowID","_signed_int",0},
13441 { "_wxWindowID","_unsigned_int",0},
13442 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13443 { "_int","_WXGRIDSELECTIONMODES",0},
13444 { "_int","_wxCoord",0},
13445 { "_int","_wxPrintQuality",0},
c368d904 13446 { "_int","_time_t",0},
f6bcfd97
BP
13447 { "_int","_size_t",0},
13448 { "_int","_EBool",0},
13449 { "_int","_uint",0},
13450 { "_int","_wxWindowID",0},
13451 { "_int","_unsigned_int",0},
13452 { "_int","_signed_int",0},
13453 { "_class_wxMouseEvent","_wxMouseEvent",0},
13454 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13455 { "_class_wxSpinEvent","_wxSpinEvent",0},
13456 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
c368d904
RD
13457 { "_time_t","_WXGRIDSELECTIONMODES",0},
13458 { "_time_t","_wxCoord",0},
13459 { "_time_t","_wxPrintQuality",0},
13460 { "_time_t","_unsigned_int",0},
13461 { "_time_t","_int",0},
13462 { "_time_t","_wxWindowID",0},
13463 { "_time_t","_uint",0},
13464 { "_time_t","_size_t",0},
f6bcfd97
BP
13465 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13466 { "_wxButton","_class_wxButton",0},
13467 { "_wxSize","_class_wxSize",0},
13468 { "_wxRegionIterator","_class_wxRegionIterator",0},
13469 { "_class_wxPrinterDC","_wxPrinterDC",0},
13470 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13471 { "_class_wxPaintDC","_wxPaintDC",0},
13472 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13473 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13474 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13475 { "_class_wxComboBox","_wxComboBox",0},
13476 { "_class_wxRadioButton","_wxRadioButton",0},
13477 { "_wxValidator","_class_wxValidator",0},
13478 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13479 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13480 { "_class_wxControl","_wxControl",0},
13481 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13482 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13483 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13484 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13485 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13486 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13487 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13488 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13489 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13490 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13491 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13492 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13493 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13494 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13495 { "_class_wxIcon","_wxIcon",0},
13496 { "_class_wxColour","_wxColour",0},
13497 { "_class_wxScreenDC","_wxScreenDC",0},
13498 { "_wxPalette","_class_wxPalette",0},
13499 { "_class_wxIdleEvent","_wxIdleEvent",0},
13500 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13501 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13502 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13503 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13504 { "_wxCoord","_int",0},
13505 { "_wxCoord","_signed_int",0},
13506 { "_wxCoord","_unsigned_int",0},
13507 { "_wxCoord","_wxWindowID",0},
13508 { "_wxCoord","_uint",0},
13509 { "_wxCoord","_EBool",0},
13510 { "_wxCoord","_size_t",0},
c368d904 13511 { "_wxCoord","_time_t",0},
f6bcfd97
BP
13512 { "_wxCoord","_wxPrintQuality",0},
13513 { "_wxEraseEvent","_class_wxEraseEvent",0},
13514 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13515 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13516 { "_wxRegion","_class_wxRegion",0},
13517 { "_class_wxShowEvent","_wxShowEvent",0},
13518 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13519 { "_wxActivateEvent","_class_wxActivateEvent",0},
13520 { "_wxGauge","_class_wxGauge",0},
13521 { "_class_wxCheckListBox","_wxCheckListBox",0},
13522 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13523 { "_class_wxBusyInfo","_wxBusyInfo",0},
13524 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13525 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13526 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13527 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13528 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13529 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13530 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13531 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13532 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13533 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13534 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13535 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13536 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13537 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13538 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13539 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13540 { "_class_wxGridEvent","_wxGridEvent",0},
13541 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13542 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13543 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13544 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13545 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13546 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13547 { "_class_wxCommandEvent","_wxCommandEvent",0},
13548 { "_class_wxClientDC","_wxClientDC",0},
13549 { "_class_wxSizeEvent","_wxSizeEvent",0},
13550 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13551 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13552 { "_class_wxSize","_wxSize",0},
13553 { "_class_wxBitmap","_wxBitmap",0},
13554 { "_class_wxMemoryDC","_wxMemoryDC",0},
13555 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13556 { "_wxMenuBar","_class_wxMenuBar",0},
13557 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13558 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13559 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13560 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13561 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13562 { "_wxEvtHandler","_class_wxEvtHandler",0},
13563 { "_wxMenuItem","_class_wxMenuItem",0},
13564 { "_class_wxScrollBar","_wxScrollBar",0},
13565 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13566 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13567 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13568 { "_wxKeyEvent","_class_wxKeyEvent",0},
13569 { "_wxMoveEvent","_class_wxMoveEvent",0},
13570 { "_class_wxPalette","_wxPalette",0},
13571 { "_wxFileDataObject","_class_wxFileDataObject",0},
13572 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13573 { "_class_wxEraseEvent","_wxEraseEvent",0},
13574 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13575 { "_class_wxGridStringTable","_wxGridStringTable",0},
13576 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13577 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13578 { "_wxWindow","_class_wxWindow",0},
13579 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13580{0,0,0}};
13581
13582static PyObject *SWIG_globals;
13583#ifdef __cplusplus
13584extern "C"
13585#endif
13586SWIGEXPORT(void) initgridc() {
13587 PyObject *m, *d;
13588 SWIG_globals = SWIG_newvarlink();
13589 m = Py_InitModule("gridc", gridcMethods);
13590 d = PyModule_GetDict(m);
13591 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13592 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13593 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13594 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13595 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13596 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13597 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13598 PyDict_SetItemString(d,"cvar", SWIG_globals);
13599 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
13600 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
13601 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
13602 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
13603 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
13604 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
13605 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
13606 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
13607 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
13608 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
13609 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
13610 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
13611 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
13612 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
13613 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
13614 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
13615 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
13616 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
13617 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
13618 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
13619 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
13620 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
13621 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
13622 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
13623 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
13624 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
13625 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
13626 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
13627{
13628 int i;
13629 for (i = 0; _swig_mapping[i].n1; i++)
13630 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13631}
13632}