]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/grid.cpp
Added From(), OrderBy() and Where() functions that correspons to the Set/GetWhereClau...
[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{
884 if (!PyString_Check(_obj1)) {
885 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
886 return NULL;
887 }
888 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
889}
890{
891 wxPy_BEGIN_ALLOW_THREADS;
892 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
893
894 wxPy_END_ALLOW_THREADS;
895} Py_INCREF(Py_None);
896 _resultobj = Py_None;
897{
898 if (_obj1)
899 delete _arg1;
900}
901 return _resultobj;
902}
903
904#define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
905static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
906 PyObject * _resultobj;
907 wxGridCellRenderer * _arg0;
908 PyObject * _argo0 = 0;
909 char *_kwnames[] = { "self", NULL };
910
911 self = self;
912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
913 return NULL;
914 if (_argo0) {
915 if (_argo0 == Py_None) { _arg0 = NULL; }
916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
918 return NULL;
919 }
920 }
921{
922 wxPy_BEGIN_ALLOW_THREADS;
923 wxGridCellRenderer_IncRef(_arg0);
924
925 wxPy_END_ALLOW_THREADS;
926} Py_INCREF(Py_None);
927 _resultobj = Py_None;
928 return _resultobj;
929}
930
931#define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
932static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
933 PyObject * _resultobj;
934 wxGridCellRenderer * _arg0;
935 PyObject * _argo0 = 0;
936 char *_kwnames[] = { "self", NULL };
937
938 self = self;
939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
940 return NULL;
941 if (_argo0) {
942 if (_argo0 == Py_None) { _arg0 = NULL; }
943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
945 return NULL;
946 }
947 }
948{
949 wxPy_BEGIN_ALLOW_THREADS;
950 wxGridCellRenderer_DecRef(_arg0);
951
952 wxPy_END_ALLOW_THREADS;
953} Py_INCREF(Py_None);
954 _resultobj = Py_None;
955 return _resultobj;
956}
957
958#define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
959static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
960 PyObject * _resultobj;
961 wxGridCellRenderer * _arg0;
962 wxGrid * _arg1;
963 wxGridCellAttr * _arg2;
964 wxDC * _arg3;
965 wxRect * _arg4;
966 int _arg5;
967 int _arg6;
968 bool _arg7;
969 PyObject * _argo0 = 0;
970 PyObject * _argo1 = 0;
971 PyObject * _argo2 = 0;
972 PyObject * _argo3 = 0;
973 wxRect temp;
974 PyObject * _obj4 = 0;
975 int tempbool7;
976 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
977
978 self = self;
979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
980 return NULL;
981 if (_argo0) {
982 if (_argo0 == Py_None) { _arg0 = NULL; }
983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
985 return NULL;
986 }
987 }
988 if (_argo1) {
989 if (_argo1 == Py_None) { _arg1 = NULL; }
990 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
991 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
992 return NULL;
993 }
994 }
995 if (_argo2) {
996 if (_argo2 == Py_None) { _arg2 = NULL; }
997 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
998 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
999 return NULL;
1000 }
1001 }
1002 if (_argo3) {
1003 if (_argo3 == Py_None) { _arg3 = NULL; }
1004 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1005 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1006 return NULL;
1007 }
1008 }
1009{
1010 _arg4 = &temp;
1011 if (! wxRect_helper(_obj4, &_arg4))
1012 return NULL;
1013}
1014 _arg7 = (bool ) tempbool7;
1015{
1016 wxPy_BEGIN_ALLOW_THREADS;
1017 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1018
1019 wxPy_END_ALLOW_THREADS;
1020} Py_INCREF(Py_None);
1021 _resultobj = Py_None;
1022 return _resultobj;
1023}
1024
1025#define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1026static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1027 PyObject * _resultobj;
1028 wxSize * _result;
1029 wxGridCellRenderer * _arg0;
1030 wxGrid * _arg1;
1031 wxGridCellAttr * _arg2;
1032 wxDC * _arg3;
1033 int _arg4;
1034 int _arg5;
1035 PyObject * _argo0 = 0;
1036 PyObject * _argo1 = 0;
1037 PyObject * _argo2 = 0;
1038 PyObject * _argo3 = 0;
1039 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1040 char _ptemp[128];
1041
1042 self = self;
1043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1044 return NULL;
1045 if (_argo0) {
1046 if (_argo0 == Py_None) { _arg0 = NULL; }
1047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1049 return NULL;
1050 }
1051 }
1052 if (_argo1) {
1053 if (_argo1 == Py_None) { _arg1 = NULL; }
1054 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1055 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1056 return NULL;
1057 }
1058 }
1059 if (_argo2) {
1060 if (_argo2 == Py_None) { _arg2 = NULL; }
1061 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1062 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1063 return NULL;
1064 }
1065 }
1066 if (_argo3) {
1067 if (_argo3 == Py_None) { _arg3 = NULL; }
1068 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1069 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1070 return NULL;
1071 }
1072 }
1073{
1074 wxPy_BEGIN_ALLOW_THREADS;
1075 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1076
1077 wxPy_END_ALLOW_THREADS;
1078} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1079 _resultobj = Py_BuildValue("s",_ptemp);
1080 return _resultobj;
1081}
1082
1083#define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1084static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1085 PyObject * _resultobj;
1086 wxGridCellRenderer * _result;
1087 wxGridCellRenderer * _arg0;
1088 PyObject * _argo0 = 0;
1089 char *_kwnames[] = { "self", NULL };
1090 char _ptemp[128];
1091
1092 self = self;
1093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1094 return NULL;
1095 if (_argo0) {
1096 if (_argo0 == Py_None) { _arg0 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1099 return NULL;
1100 }
1101 }
1102{
1103 wxPy_BEGIN_ALLOW_THREADS;
1104 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1105
1106 wxPy_END_ALLOW_THREADS;
1107} if (_result) {
1108 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1109 _resultobj = Py_BuildValue("s",_ptemp);
1110 } else {
1111 Py_INCREF(Py_None);
1112 _resultobj = Py_None;
1113 }
1114 return _resultobj;
1115}
1116
1117static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1118 wxPyGridCellRenderer *src;
1119 wxGridCellRenderer *dest;
1120 src = (wxPyGridCellRenderer *) ptr;
1121 dest = (wxGridCellRenderer *) src;
1122 return (void *) dest;
1123}
1124
1125#define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1126static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1127 PyObject * _resultobj;
1128 wxPyGridCellRenderer * _result;
1129 char *_kwnames[] = { NULL };
1130 char _ptemp[128];
1131
1132 self = self;
1133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1134 return NULL;
1135{
1136 wxPy_BEGIN_ALLOW_THREADS;
1137 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1138
1139 wxPy_END_ALLOW_THREADS;
1140} if (_result) {
1141 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1142 _resultobj = Py_BuildValue("s",_ptemp);
1143 } else {
1144 Py_INCREF(Py_None);
1145 _resultobj = Py_None;
1146 }
1147 return _resultobj;
1148}
1149
1150#define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1151static PyObject *_wrap_wxPyGridCellRenderer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject * _resultobj;
1153 wxPyGridCellRenderer * _arg0;
1154 PyObject * _arg1;
1155 PyObject * _arg2;
1156 PyObject * _argo0 = 0;
1157 PyObject * _obj1 = 0;
1158 PyObject * _obj2 = 0;
1159 char *_kwnames[] = { "self","self","_class", NULL };
1160
1161 self = self;
1162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1163 return NULL;
1164 if (_argo0) {
1165 if (_argo0 == Py_None) { _arg0 = NULL; }
1166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1168 return NULL;
1169 }
1170 }
1171{
1172 _arg1 = _obj1;
1173}
1174{
1175 _arg2 = _obj2;
1176}
1177{
1178 wxPy_BEGIN_ALLOW_THREADS;
1179 wxPyGridCellRenderer__setSelf(_arg0,_arg1,_arg2);
1180
1181 wxPy_END_ALLOW_THREADS;
1182} Py_INCREF(Py_None);
1183 _resultobj = Py_None;
1184 return _resultobj;
1185}
1186
1187#define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1188static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1189 PyObject * _resultobj;
1190 wxPyGridCellRenderer * _arg0;
1191 wxString * _arg1;
1192 PyObject * _argo0 = 0;
1193 PyObject * _obj1 = 0;
1194 char *_kwnames[] = { "self","params", NULL };
1195
1196 self = self;
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1198 return NULL;
1199 if (_argo0) {
1200 if (_argo0 == Py_None) { _arg0 = NULL; }
1201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1203 return NULL;
1204 }
1205 }
1206{
1207 if (!PyString_Check(_obj1)) {
1208 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1209 return NULL;
1210 }
1211 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1212}
1213{
1214 wxPy_BEGIN_ALLOW_THREADS;
1215 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1216
1217 wxPy_END_ALLOW_THREADS;
1218} Py_INCREF(Py_None);
1219 _resultobj = Py_None;
1220{
1221 if (_obj1)
1222 delete _arg1;
1223}
1224 return _resultobj;
1225}
1226
1227static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1228 wxGridCellStringRenderer *src;
1229 wxGridCellRenderer *dest;
1230 src = (wxGridCellStringRenderer *) ptr;
1231 dest = (wxGridCellRenderer *) src;
1232 return (void *) dest;
1233}
1234
1235#define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1236static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject * _resultobj;
1238 wxGridCellStringRenderer * _result;
1239 char *_kwnames[] = { NULL };
1240 char _ptemp[128];
1241
1242 self = self;
1243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1244 return NULL;
1245{
1246 wxPy_BEGIN_ALLOW_THREADS;
1247 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1248
1249 wxPy_END_ALLOW_THREADS;
1250} if (_result) {
1251 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1252 _resultobj = Py_BuildValue("s",_ptemp);
1253 } else {
1254 Py_INCREF(Py_None);
1255 _resultobj = Py_None;
1256 }
1257 return _resultobj;
1258}
1259
1260static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1261 wxGridCellNumberRenderer *src;
1262 wxGridCellStringRenderer *dest;
1263 src = (wxGridCellNumberRenderer *) ptr;
1264 dest = (wxGridCellStringRenderer *) src;
1265 return (void *) dest;
1266}
1267
1268static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1269 wxGridCellNumberRenderer *src;
1270 wxGridCellRenderer *dest;
1271 src = (wxGridCellNumberRenderer *) ptr;
1272 dest = (wxGridCellRenderer *) src;
1273 return (void *) dest;
1274}
1275
1276#define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1277static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1278 PyObject * _resultobj;
1279 wxGridCellNumberRenderer * _result;
1280 char *_kwnames[] = { NULL };
1281 char _ptemp[128];
1282
1283 self = self;
1284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1285 return NULL;
1286{
1287 wxPy_BEGIN_ALLOW_THREADS;
1288 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1289
1290 wxPy_END_ALLOW_THREADS;
1291} if (_result) {
1292 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1293 _resultobj = Py_BuildValue("s",_ptemp);
1294 } else {
1295 Py_INCREF(Py_None);
1296 _resultobj = Py_None;
1297 }
1298 return _resultobj;
1299}
1300
1301static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1302 wxGridCellFloatRenderer *src;
1303 wxGridCellStringRenderer *dest;
1304 src = (wxGridCellFloatRenderer *) ptr;
1305 dest = (wxGridCellStringRenderer *) src;
1306 return (void *) dest;
1307}
1308
1309static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1310 wxGridCellFloatRenderer *src;
1311 wxGridCellRenderer *dest;
1312 src = (wxGridCellFloatRenderer *) ptr;
1313 dest = (wxGridCellRenderer *) src;
1314 return (void *) dest;
1315}
1316
1317#define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1318static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1319 PyObject * _resultobj;
1320 wxGridCellFloatRenderer * _result;
1321 int _arg0 = (int ) -1;
1322 int _arg1 = (int ) -1;
1323 char *_kwnames[] = { "width","precision", NULL };
1324 char _ptemp[128];
1325
1326 self = self;
1327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1328 return NULL;
1329{
1330 wxPy_BEGIN_ALLOW_THREADS;
1331 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1332
1333 wxPy_END_ALLOW_THREADS;
1334} if (_result) {
1335 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1336 _resultobj = Py_BuildValue("s",_ptemp);
1337 } else {
1338 Py_INCREF(Py_None);
1339 _resultobj = Py_None;
1340 }
1341 return _resultobj;
1342}
1343
1344#define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1345static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject * _resultobj;
1347 int _result;
1348 wxGridCellFloatRenderer * _arg0;
1349 PyObject * _argo0 = 0;
1350 char *_kwnames[] = { "self", NULL };
1351
1352 self = self;
1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1354 return NULL;
1355 if (_argo0) {
1356 if (_argo0 == Py_None) { _arg0 = NULL; }
1357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1359 return NULL;
1360 }
1361 }
1362{
1363 wxPy_BEGIN_ALLOW_THREADS;
1364 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1365
1366 wxPy_END_ALLOW_THREADS;
1367} _resultobj = Py_BuildValue("i",_result);
1368 return _resultobj;
1369}
1370
1371#define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1372static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1373 PyObject * _resultobj;
1374 wxGridCellFloatRenderer * _arg0;
1375 int _arg1;
1376 PyObject * _argo0 = 0;
1377 char *_kwnames[] = { "self","width", NULL };
1378
1379 self = self;
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1381 return NULL;
1382 if (_argo0) {
1383 if (_argo0 == Py_None) { _arg0 = NULL; }
1384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1386 return NULL;
1387 }
1388 }
1389{
1390 wxPy_BEGIN_ALLOW_THREADS;
1391 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1392
1393 wxPy_END_ALLOW_THREADS;
1394} Py_INCREF(Py_None);
1395 _resultobj = Py_None;
1396 return _resultobj;
1397}
1398
1399#define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1400static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject * _resultobj;
1402 int _result;
1403 wxGridCellFloatRenderer * _arg0;
1404 PyObject * _argo0 = 0;
1405 char *_kwnames[] = { "self", NULL };
1406
1407 self = self;
1408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1409 return NULL;
1410 if (_argo0) {
1411 if (_argo0 == Py_None) { _arg0 = NULL; }
1412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1414 return NULL;
1415 }
1416 }
1417{
1418 wxPy_BEGIN_ALLOW_THREADS;
1419 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1420
1421 wxPy_END_ALLOW_THREADS;
1422} _resultobj = Py_BuildValue("i",_result);
1423 return _resultobj;
1424}
1425
1426#define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1427static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject * _resultobj;
1429 wxGridCellFloatRenderer * _arg0;
1430 int _arg1;
1431 PyObject * _argo0 = 0;
1432 char *_kwnames[] = { "self","precision", NULL };
1433
1434 self = self;
1435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1436 return NULL;
1437 if (_argo0) {
1438 if (_argo0 == Py_None) { _arg0 = NULL; }
1439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1441 return NULL;
1442 }
1443 }
1444{
1445 wxPy_BEGIN_ALLOW_THREADS;
1446 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1447
1448 wxPy_END_ALLOW_THREADS;
1449} Py_INCREF(Py_None);
1450 _resultobj = Py_None;
1451 return _resultobj;
1452}
1453
1454static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1455 wxGridCellBoolRenderer *src;
1456 wxGridCellRenderer *dest;
1457 src = (wxGridCellBoolRenderer *) ptr;
1458 dest = (wxGridCellRenderer *) src;
1459 return (void *) dest;
1460}
1461
1462#define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1463static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1464 PyObject * _resultobj;
1465 wxGridCellBoolRenderer * _result;
1466 char *_kwnames[] = { NULL };
1467 char _ptemp[128];
1468
1469 self = self;
1470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1471 return NULL;
1472{
1473 wxPy_BEGIN_ALLOW_THREADS;
1474 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1475
1476 wxPy_END_ALLOW_THREADS;
1477} if (_result) {
1478 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1479 _resultobj = Py_BuildValue("s",_ptemp);
1480 } else {
1481 Py_INCREF(Py_None);
1482 _resultobj = Py_None;
1483 }
1484 return _resultobj;
1485}
1486
1487#define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1488static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1489 PyObject * _resultobj;
1490 bool _result;
1491 wxGridCellEditor * _arg0;
1492 PyObject * _argo0 = 0;
1493 char *_kwnames[] = { "self", NULL };
1494
1495 self = self;
1496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1497 return NULL;
1498 if (_argo0) {
1499 if (_argo0 == Py_None) { _arg0 = NULL; }
1500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1502 return NULL;
1503 }
1504 }
1505{
1506 wxPy_BEGIN_ALLOW_THREADS;
1507 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1508
1509 wxPy_END_ALLOW_THREADS;
1510} _resultobj = Py_BuildValue("i",_result);
1511 return _resultobj;
1512}
1513
1514#define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1515static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1516 PyObject * _resultobj;
1517 wxControl * _result;
1518 wxGridCellEditor * _arg0;
1519 PyObject * _argo0 = 0;
1520 char *_kwnames[] = { "self", NULL };
1521 char _ptemp[128];
1522
1523 self = self;
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1525 return NULL;
1526 if (_argo0) {
1527 if (_argo0 == Py_None) { _arg0 = NULL; }
1528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1530 return NULL;
1531 }
1532 }
1533{
1534 wxPy_BEGIN_ALLOW_THREADS;
1535 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1536
1537 wxPy_END_ALLOW_THREADS;
1538} if (_result) {
1539 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
1540 _resultobj = Py_BuildValue("s",_ptemp);
1541 } else {
1542 Py_INCREF(Py_None);
1543 _resultobj = Py_None;
1544 }
1545 return _resultobj;
1546}
1547
1548#define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1549static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1550 PyObject * _resultobj;
1551 wxGridCellEditor * _arg0;
1552 wxControl * _arg1;
1553 PyObject * _argo0 = 0;
1554 PyObject * _argo1 = 0;
1555 char *_kwnames[] = { "self","control", NULL };
1556
1557 self = self;
1558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1559 return NULL;
1560 if (_argo0) {
1561 if (_argo0 == Py_None) { _arg0 = NULL; }
1562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1564 return NULL;
1565 }
1566 }
1567 if (_argo1) {
1568 if (_argo1 == Py_None) { _arg1 = NULL; }
1569 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1570 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1571 return NULL;
1572 }
1573 }
1574{
1575 wxPy_BEGIN_ALLOW_THREADS;
1576 wxGridCellEditor_SetControl(_arg0,_arg1);
1577
1578 wxPy_END_ALLOW_THREADS;
1579} Py_INCREF(Py_None);
1580 _resultobj = Py_None;
1581 return _resultobj;
1582}
1583
1584#define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1585static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject * _resultobj;
1587 wxGridCellEditor * _arg0;
1588 wxString * _arg1;
1589 PyObject * _argo0 = 0;
1590 PyObject * _obj1 = 0;
1591 char *_kwnames[] = { "self","params", NULL };
1592
1593 self = self;
1594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1595 return NULL;
1596 if (_argo0) {
1597 if (_argo0 == Py_None) { _arg0 = NULL; }
1598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1600 return NULL;
1601 }
1602 }
1603{
1604 if (!PyString_Check(_obj1)) {
1605 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1606 return NULL;
1607 }
1608 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1609}
1610{
1611 wxPy_BEGIN_ALLOW_THREADS;
1612 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1613
1614 wxPy_END_ALLOW_THREADS;
1615} Py_INCREF(Py_None);
1616 _resultobj = Py_None;
1617{
1618 if (_obj1)
1619 delete _arg1;
1620}
1621 return _resultobj;
1622}
1623
1624#define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1625static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1626 PyObject * _resultobj;
1627 wxGridCellEditor * _arg0;
1628 PyObject * _argo0 = 0;
1629 char *_kwnames[] = { "self", NULL };
1630
1631 self = self;
1632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1633 return NULL;
1634 if (_argo0) {
1635 if (_argo0 == Py_None) { _arg0 = NULL; }
1636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1638 return NULL;
1639 }
1640 }
1641{
1642 wxPy_BEGIN_ALLOW_THREADS;
1643 wxGridCellEditor_IncRef(_arg0);
1644
1645 wxPy_END_ALLOW_THREADS;
1646} Py_INCREF(Py_None);
1647 _resultobj = Py_None;
1648 return _resultobj;
1649}
1650
1651#define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1652static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1653 PyObject * _resultobj;
1654 wxGridCellEditor * _arg0;
1655 PyObject * _argo0 = 0;
1656 char *_kwnames[] = { "self", NULL };
1657
1658 self = self;
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1660 return NULL;
1661 if (_argo0) {
1662 if (_argo0 == Py_None) { _arg0 = NULL; }
1663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1665 return NULL;
1666 }
1667 }
1668{
1669 wxPy_BEGIN_ALLOW_THREADS;
1670 wxGridCellEditor_DecRef(_arg0);
1671
1672 wxPy_END_ALLOW_THREADS;
1673} Py_INCREF(Py_None);
1674 _resultobj = Py_None;
1675 return _resultobj;
1676}
1677
1678#define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1679static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1680 PyObject * _resultobj;
1681 wxGridCellEditor * _arg0;
1682 wxWindow * _arg1;
1683 wxWindowID _arg2;
1684 wxEvtHandler * _arg3;
1685 PyObject * _argo0 = 0;
1686 PyObject * _argo1 = 0;
1687 PyObject * _argo3 = 0;
1688 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1689
1690 self = self;
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1692 return NULL;
1693 if (_argo0) {
1694 if (_argo0 == Py_None) { _arg0 = NULL; }
1695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1697 return NULL;
1698 }
1699 }
1700 if (_argo1) {
1701 if (_argo1 == Py_None) { _arg1 = NULL; }
1702 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1703 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1704 return NULL;
1705 }
1706 }
1707 if (_argo3) {
1708 if (_argo3 == Py_None) { _arg3 = NULL; }
1709 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1710 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1711 return NULL;
1712 }
1713 }
1714{
1715 wxPy_BEGIN_ALLOW_THREADS;
1716 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1717
1718 wxPy_END_ALLOW_THREADS;
1719} Py_INCREF(Py_None);
1720 _resultobj = Py_None;
1721 return _resultobj;
1722}
1723
1724#define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1725static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1726 PyObject * _resultobj;
1727 wxGridCellEditor * _arg0;
1728 int _arg1;
1729 int _arg2;
1730 wxGrid * _arg3;
1731 PyObject * _argo0 = 0;
1732 PyObject * _argo3 = 0;
1733 char *_kwnames[] = { "self","row","col","grid", NULL };
1734
1735 self = self;
1736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1737 return NULL;
1738 if (_argo0) {
1739 if (_argo0 == Py_None) { _arg0 = NULL; }
1740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1742 return NULL;
1743 }
1744 }
1745 if (_argo3) {
1746 if (_argo3 == Py_None) { _arg3 = NULL; }
1747 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1748 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1749 return NULL;
1750 }
1751 }
1752{
1753 wxPy_BEGIN_ALLOW_THREADS;
1754 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1755
1756 wxPy_END_ALLOW_THREADS;
1757} Py_INCREF(Py_None);
1758 _resultobj = Py_None;
1759 return _resultobj;
1760}
1761
1762#define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1763static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1764 PyObject * _resultobj;
1765 bool _result;
1766 wxGridCellEditor * _arg0;
1767 int _arg1;
1768 int _arg2;
1769 wxGrid * _arg3;
1770 PyObject * _argo0 = 0;
1771 PyObject * _argo3 = 0;
1772 char *_kwnames[] = { "self","row","col","grid", NULL };
1773
1774 self = self;
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1776 return NULL;
1777 if (_argo0) {
1778 if (_argo0 == Py_None) { _arg0 = NULL; }
1779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1781 return NULL;
1782 }
1783 }
1784 if (_argo3) {
1785 if (_argo3 == Py_None) { _arg3 = NULL; }
1786 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1787 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1788 return NULL;
1789 }
1790 }
1791{
1792 wxPy_BEGIN_ALLOW_THREADS;
1793 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1794
1795 wxPy_END_ALLOW_THREADS;
1796} _resultobj = Py_BuildValue("i",_result);
1797 return _resultobj;
1798}
1799
1800#define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1801static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject * _resultobj;
1803 wxGridCellEditor * _arg0;
1804 PyObject * _argo0 = 0;
1805 char *_kwnames[] = { "self", NULL };
1806
1807 self = self;
1808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
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_Reset. Expected _wxGridCellEditor_p.");
1814 return NULL;
1815 }
1816 }
1817{
1818 wxPy_BEGIN_ALLOW_THREADS;
1819 wxGridCellEditor_Reset(_arg0);
1820
1821 wxPy_END_ALLOW_THREADS;
1822} Py_INCREF(Py_None);
1823 _resultobj = Py_None;
1824 return _resultobj;
1825}
1826
1827#define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1828static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1829 PyObject * _resultobj;
1830 wxGridCellEditor * _result;
1831 wxGridCellEditor * _arg0;
1832 PyObject * _argo0 = 0;
1833 char *_kwnames[] = { "self", NULL };
1834 char _ptemp[128];
1835
1836 self = self;
1837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
1838 return NULL;
1839 if (_argo0) {
1840 if (_argo0 == Py_None) { _arg0 = NULL; }
1841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1843 return NULL;
1844 }
1845 }
1846{
1847 wxPy_BEGIN_ALLOW_THREADS;
1848 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
1849
1850 wxPy_END_ALLOW_THREADS;
1851} if (_result) {
1852 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
1853 _resultobj = Py_BuildValue("s",_ptemp);
1854 } else {
1855 Py_INCREF(Py_None);
1856 _resultobj = Py_None;
1857 }
1858 return _resultobj;
1859}
1860
1861#define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1862static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1863 PyObject * _resultobj;
1864 wxGridCellEditor * _arg0;
1865 wxRect * _arg1;
1866 PyObject * _argo0 = 0;
1867 wxRect temp;
1868 PyObject * _obj1 = 0;
1869 char *_kwnames[] = { "self","rect", NULL };
1870
1871 self = self;
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
1873 return NULL;
1874 if (_argo0) {
1875 if (_argo0 == Py_None) { _arg0 = NULL; }
1876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1878 return NULL;
1879 }
1880 }
1881{
1882 _arg1 = &temp;
1883 if (! wxRect_helper(_obj1, &_arg1))
1884 return NULL;
1885}
1886{
1887 wxPy_BEGIN_ALLOW_THREADS;
1888 wxGridCellEditor_SetSize(_arg0,*_arg1);
1889
1890 wxPy_END_ALLOW_THREADS;
1891} Py_INCREF(Py_None);
1892 _resultobj = Py_None;
1893 return _resultobj;
1894}
1895
1896#define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1897static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject * _resultobj;
1899 wxGridCellEditor * _arg0;
1900 bool _arg1;
1901 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
1902 PyObject * _argo0 = 0;
1903 int tempbool1;
1904 PyObject * _argo2 = 0;
1905 char *_kwnames[] = { "self","show","attr", NULL };
1906
1907 self = self;
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
1909 return NULL;
1910 if (_argo0) {
1911 if (_argo0 == Py_None) { _arg0 = NULL; }
1912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1914 return NULL;
1915 }
1916 }
1917 _arg1 = (bool ) tempbool1;
1918 if (_argo2) {
1919 if (_argo2 == Py_None) { _arg2 = NULL; }
1920 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1921 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1922 return NULL;
1923 }
1924 }
1925{
1926 wxPy_BEGIN_ALLOW_THREADS;
1927 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
1928
1929 wxPy_END_ALLOW_THREADS;
1930} Py_INCREF(Py_None);
1931 _resultobj = Py_None;
1932 return _resultobj;
1933}
1934
1935#define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1936static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1937 PyObject * _resultobj;
1938 wxGridCellEditor * _arg0;
1939 wxRect * _arg1;
1940 wxGridCellAttr * _arg2;
1941 PyObject * _argo0 = 0;
1942 wxRect temp;
1943 PyObject * _obj1 = 0;
1944 PyObject * _argo2 = 0;
1945 char *_kwnames[] = { "self","rectCell","attr", NULL };
1946
1947 self = self;
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
1949 return NULL;
1950 if (_argo0) {
1951 if (_argo0 == Py_None) { _arg0 = NULL; }
1952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
1954 return NULL;
1955 }
1956 }
1957{
1958 _arg1 = &temp;
1959 if (! wxRect_helper(_obj1, &_arg1))
1960 return NULL;
1961}
1962 if (_argo2) {
1963 if (_argo2 == Py_None) { _arg2 = NULL; }
1964 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1965 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
1966 return NULL;
1967 }
1968 }
1969{
1970 wxPy_BEGIN_ALLOW_THREADS;
1971 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
1972
1973 wxPy_END_ALLOW_THREADS;
1974} Py_INCREF(Py_None);
1975 _resultobj = Py_None;
1976 return _resultobj;
1977}
1978
1979#define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
1980static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
1981 PyObject * _resultobj;
1982 bool _result;
1983 wxGridCellEditor * _arg0;
1984 wxKeyEvent * _arg1;
1985 PyObject * _argo0 = 0;
1986 PyObject * _argo1 = 0;
1987 char *_kwnames[] = { "self","event", NULL };
1988
1989 self = self;
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
1991 return NULL;
1992 if (_argo0) {
1993 if (_argo0 == Py_None) { _arg0 = NULL; }
1994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
1996 return NULL;
1997 }
1998 }
1999 if (_argo1) {
2000 if (_argo1 == Py_None) { _arg1 = NULL; }
2001 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2002 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2003 return NULL;
2004 }
2005 }
2006{
2007 wxPy_BEGIN_ALLOW_THREADS;
2008 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2009
2010 wxPy_END_ALLOW_THREADS;
2011} _resultobj = Py_BuildValue("i",_result);
2012 return _resultobj;
2013}
2014
2015#define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2016static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject * _resultobj;
2018 wxGridCellEditor * _arg0;
2019 wxKeyEvent * _arg1;
2020 PyObject * _argo0 = 0;
2021 PyObject * _argo1 = 0;
2022 char *_kwnames[] = { "self","event", NULL };
2023
2024 self = self;
2025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2026 return NULL;
2027 if (_argo0) {
2028 if (_argo0 == Py_None) { _arg0 = NULL; }
2029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2031 return NULL;
2032 }
2033 }
2034 if (_argo1) {
2035 if (_argo1 == Py_None) { _arg1 = NULL; }
2036 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2037 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2038 return NULL;
2039 }
2040 }
2041{
2042 wxPy_BEGIN_ALLOW_THREADS;
2043 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2044
2045 wxPy_END_ALLOW_THREADS;
2046} Py_INCREF(Py_None);
2047 _resultobj = Py_None;
2048 return _resultobj;
2049}
2050
2051#define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2052static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2053 PyObject * _resultobj;
2054 wxGridCellEditor * _arg0;
2055 PyObject * _argo0 = 0;
2056 char *_kwnames[] = { "self", NULL };
2057
2058 self = self;
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2060 return NULL;
2061 if (_argo0) {
2062 if (_argo0 == Py_None) { _arg0 = NULL; }
2063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2065 return NULL;
2066 }
2067 }
2068{
2069 wxPy_BEGIN_ALLOW_THREADS;
2070 wxGridCellEditor_StartingClick(_arg0);
2071
2072 wxPy_END_ALLOW_THREADS;
2073} Py_INCREF(Py_None);
2074 _resultobj = Py_None;
2075 return _resultobj;
2076}
2077
2078#define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2079static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2080 PyObject * _resultobj;
2081 wxGridCellEditor * _arg0;
2082 wxKeyEvent * _arg1;
2083 PyObject * _argo0 = 0;
2084 PyObject * _argo1 = 0;
2085 char *_kwnames[] = { "self","event", NULL };
2086
2087 self = self;
2088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2089 return NULL;
2090 if (_argo0) {
2091 if (_argo0 == Py_None) { _arg0 = NULL; }
2092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2094 return NULL;
2095 }
2096 }
2097 if (_argo1) {
2098 if (_argo1 == Py_None) { _arg1 = NULL; }
2099 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2100 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2101 return NULL;
2102 }
2103 }
2104{
2105 wxPy_BEGIN_ALLOW_THREADS;
2106 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2107
2108 wxPy_END_ALLOW_THREADS;
2109} Py_INCREF(Py_None);
2110 _resultobj = Py_None;
2111 return _resultobj;
2112}
2113
2114#define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2115static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2116 PyObject * _resultobj;
2117 wxGridCellEditor * _arg0;
2118 PyObject * _argo0 = 0;
2119 char *_kwnames[] = { "self", NULL };
2120
2121 self = self;
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2123 return NULL;
2124 if (_argo0) {
2125 if (_argo0 == Py_None) { _arg0 = NULL; }
2126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2128 return NULL;
2129 }
2130 }
2131{
2132 wxPy_BEGIN_ALLOW_THREADS;
2133 wxGridCellEditor_Destroy(_arg0);
2134
2135 wxPy_END_ALLOW_THREADS;
2136} Py_INCREF(Py_None);
2137 _resultobj = Py_None;
2138 return _resultobj;
2139}
2140
2141static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2142 wxPyGridCellEditor *src;
2143 wxGridCellEditor *dest;
2144 src = (wxPyGridCellEditor *) ptr;
2145 dest = (wxGridCellEditor *) src;
2146 return (void *) dest;
2147}
2148
2149#define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2150static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2151 PyObject * _resultobj;
2152 wxPyGridCellEditor * _result;
2153 char *_kwnames[] = { NULL };
2154 char _ptemp[128];
2155
2156 self = self;
2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2158 return NULL;
2159{
2160 wxPy_BEGIN_ALLOW_THREADS;
2161 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2162
2163 wxPy_END_ALLOW_THREADS;
2164} if (_result) {
2165 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2166 _resultobj = Py_BuildValue("s",_ptemp);
2167 } else {
2168 Py_INCREF(Py_None);
2169 _resultobj = Py_None;
2170 }
2171 return _resultobj;
2172}
2173
2174#define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2175static PyObject *_wrap_wxPyGridCellEditor__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2176 PyObject * _resultobj;
2177 wxPyGridCellEditor * _arg0;
2178 PyObject * _arg1;
2179 PyObject * _arg2;
2180 PyObject * _argo0 = 0;
2181 PyObject * _obj1 = 0;
2182 PyObject * _obj2 = 0;
2183 char *_kwnames[] = { "self","self","_class", NULL };
2184
2185 self = self;
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
2187 return NULL;
2188 if (_argo0) {
2189 if (_argo0 == Py_None) { _arg0 = NULL; }
2190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2192 return NULL;
2193 }
2194 }
2195{
2196 _arg1 = _obj1;
2197}
2198{
2199 _arg2 = _obj2;
2200}
2201{
2202 wxPy_BEGIN_ALLOW_THREADS;
2203 wxPyGridCellEditor__setSelf(_arg0,_arg1,_arg2);
2204
2205 wxPy_END_ALLOW_THREADS;
2206} Py_INCREF(Py_None);
2207 _resultobj = Py_None;
2208 return _resultobj;
2209}
2210
2211#define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2212static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2213 PyObject * _resultobj;
2214 wxPyGridCellEditor * _arg0;
2215 wxRect * _arg1;
2216 PyObject * _argo0 = 0;
2217 wxRect temp;
2218 PyObject * _obj1 = 0;
2219 char *_kwnames[] = { "self","rect", NULL };
2220
2221 self = self;
2222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2223 return NULL;
2224 if (_argo0) {
2225 if (_argo0 == Py_None) { _arg0 = NULL; }
2226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2228 return NULL;
2229 }
2230 }
2231{
2232 _arg1 = &temp;
2233 if (! wxRect_helper(_obj1, &_arg1))
2234 return NULL;
2235}
2236{
2237 wxPy_BEGIN_ALLOW_THREADS;
2238 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2239
2240 wxPy_END_ALLOW_THREADS;
2241} Py_INCREF(Py_None);
2242 _resultobj = Py_None;
2243 return _resultobj;
2244}
2245
2246#define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2247static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject * _resultobj;
2249 wxPyGridCellEditor * _arg0;
2250 bool _arg1;
2251 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2252 PyObject * _argo0 = 0;
2253 int tempbool1;
2254 PyObject * _argo2 = 0;
2255 char *_kwnames[] = { "self","show","attr", NULL };
2256
2257 self = self;
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2259 return NULL;
2260 if (_argo0) {
2261 if (_argo0 == Py_None) { _arg0 = NULL; }
2262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2264 return NULL;
2265 }
2266 }
2267 _arg1 = (bool ) tempbool1;
2268 if (_argo2) {
2269 if (_argo2 == Py_None) { _arg2 = NULL; }
2270 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2271 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2272 return NULL;
2273 }
2274 }
2275{
2276 wxPy_BEGIN_ALLOW_THREADS;
2277 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2278
2279 wxPy_END_ALLOW_THREADS;
2280} Py_INCREF(Py_None);
2281 _resultobj = Py_None;
2282 return _resultobj;
2283}
2284
2285#define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2286static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2287 PyObject * _resultobj;
2288 wxPyGridCellEditor * _arg0;
2289 wxRect * _arg1;
2290 wxGridCellAttr * _arg2;
2291 PyObject * _argo0 = 0;
2292 wxRect temp;
2293 PyObject * _obj1 = 0;
2294 PyObject * _argo2 = 0;
2295 char *_kwnames[] = { "self","rectCell","attr", NULL };
2296
2297 self = self;
2298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2299 return NULL;
2300 if (_argo0) {
2301 if (_argo0 == Py_None) { _arg0 = NULL; }
2302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2304 return NULL;
2305 }
2306 }
2307{
2308 _arg1 = &temp;
2309 if (! wxRect_helper(_obj1, &_arg1))
2310 return NULL;
2311}
2312 if (_argo2) {
2313 if (_argo2 == Py_None) { _arg2 = NULL; }
2314 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2315 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2316 return NULL;
2317 }
2318 }
2319{
2320 wxPy_BEGIN_ALLOW_THREADS;
2321 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2322
2323 wxPy_END_ALLOW_THREADS;
2324} Py_INCREF(Py_None);
2325 _resultobj = Py_None;
2326 return _resultobj;
2327}
2328
dbbb98cd
RD
2329#define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2330static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2331 PyObject * _resultobj;
2332 wxPyGridCellEditor * _arg0;
2333 wxKeyEvent * _arg1;
2334 PyObject * _argo0 = 0;
2335 PyObject * _argo1 = 0;
2336 char *_kwnames[] = { "self","event", NULL };
2337
2338 self = self;
2339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2340 return NULL;
2341 if (_argo0) {
2342 if (_argo0 == Py_None) { _arg0 = NULL; }
2343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2345 return NULL;
2346 }
2347 }
2348 if (_argo1) {
2349 if (_argo1 == Py_None) { _arg1 = NULL; }
2350 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2351 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2352 return NULL;
2353 }
2354 }
2355{
2356 wxPy_BEGIN_ALLOW_THREADS;
2357 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2358
2359 wxPy_END_ALLOW_THREADS;
2360} Py_INCREF(Py_None);
2361 _resultobj = Py_None;
2362 return _resultobj;
2363}
2364
f6bcfd97
BP
2365#define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2366static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2367 PyObject * _resultobj;
2368 wxPyGridCellEditor * _arg0;
2369 wxKeyEvent * _arg1;
2370 PyObject * _argo0 = 0;
2371 PyObject * _argo1 = 0;
2372 char *_kwnames[] = { "self","event", NULL };
2373
2374 self = self;
2375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2376 return NULL;
2377 if (_argo0) {
2378 if (_argo0 == Py_None) { _arg0 = NULL; }
2379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2381 return NULL;
2382 }
2383 }
2384 if (_argo1) {
2385 if (_argo1 == Py_None) { _arg1 = NULL; }
2386 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2387 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2388 return NULL;
2389 }
2390 }
2391{
2392 wxPy_BEGIN_ALLOW_THREADS;
2393 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2394
2395 wxPy_END_ALLOW_THREADS;
2396} Py_INCREF(Py_None);
2397 _resultobj = Py_None;
2398 return _resultobj;
2399}
2400
2401#define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2402static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2403 PyObject * _resultobj;
2404 wxPyGridCellEditor * _arg0;
2405 PyObject * _argo0 = 0;
2406 char *_kwnames[] = { "self", NULL };
2407
2408 self = self;
2409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2410 return NULL;
2411 if (_argo0) {
2412 if (_argo0 == Py_None) { _arg0 = NULL; }
2413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2415 return NULL;
2416 }
2417 }
2418{
2419 wxPy_BEGIN_ALLOW_THREADS;
2420 wxPyGridCellEditor_base_StartingClick(_arg0);
2421
2422 wxPy_END_ALLOW_THREADS;
2423} Py_INCREF(Py_None);
2424 _resultobj = Py_None;
2425 return _resultobj;
2426}
2427
2428#define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2429static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2430 PyObject * _resultobj;
2431 wxPyGridCellEditor * _arg0;
2432 wxKeyEvent * _arg1;
2433 PyObject * _argo0 = 0;
2434 PyObject * _argo1 = 0;
2435 char *_kwnames[] = { "self","event", NULL };
2436
2437 self = self;
2438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2439 return NULL;
2440 if (_argo0) {
2441 if (_argo0 == Py_None) { _arg0 = NULL; }
2442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2444 return NULL;
2445 }
2446 }
2447 if (_argo1) {
2448 if (_argo1 == Py_None) { _arg1 = NULL; }
2449 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2450 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2451 return NULL;
2452 }
2453 }
2454{
2455 wxPy_BEGIN_ALLOW_THREADS;
2456 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2457
2458 wxPy_END_ALLOW_THREADS;
2459} Py_INCREF(Py_None);
2460 _resultobj = Py_None;
2461 return _resultobj;
2462}
2463
2464#define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2465static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2466 PyObject * _resultobj;
2467 wxPyGridCellEditor * _arg0;
2468 PyObject * _argo0 = 0;
2469 char *_kwnames[] = { "self", NULL };
2470
2471 self = self;
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2473 return NULL;
2474 if (_argo0) {
2475 if (_argo0 == Py_None) { _arg0 = NULL; }
2476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2478 return NULL;
2479 }
2480 }
2481{
2482 wxPy_BEGIN_ALLOW_THREADS;
2483 wxPyGridCellEditor_base_Destroy(_arg0);
2484
2485 wxPy_END_ALLOW_THREADS;
2486} Py_INCREF(Py_None);
2487 _resultobj = Py_None;
2488 return _resultobj;
2489}
2490
2491#define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2492static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2493 PyObject * _resultobj;
2494 wxPyGridCellEditor * _arg0;
2495 wxString * _arg1;
2496 PyObject * _argo0 = 0;
2497 PyObject * _obj1 = 0;
2498 char *_kwnames[] = { "self","params", NULL };
2499
2500 self = self;
2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2502 return NULL;
2503 if (_argo0) {
2504 if (_argo0 == Py_None) { _arg0 = NULL; }
2505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2507 return NULL;
2508 }
2509 }
2510{
2511 if (!PyString_Check(_obj1)) {
2512 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2513 return NULL;
2514 }
2515 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2516}
2517{
2518 wxPy_BEGIN_ALLOW_THREADS;
2519 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2520
2521 wxPy_END_ALLOW_THREADS;
2522} Py_INCREF(Py_None);
2523 _resultobj = Py_None;
2524{
2525 if (_obj1)
2526 delete _arg1;
2527}
2528 return _resultobj;
2529}
2530
2531static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2532 wxGridCellTextEditor *src;
2533 wxGridCellEditor *dest;
2534 src = (wxGridCellTextEditor *) ptr;
2535 dest = (wxGridCellEditor *) src;
2536 return (void *) dest;
2537}
2538
2539#define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2540static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject * _resultobj;
2542 wxGridCellTextEditor * _result;
2543 char *_kwnames[] = { NULL };
2544 char _ptemp[128];
2545
2546 self = self;
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2548 return NULL;
2549{
2550 wxPy_BEGIN_ALLOW_THREADS;
2551 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2552
2553 wxPy_END_ALLOW_THREADS;
2554} if (_result) {
2555 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2556 _resultobj = Py_BuildValue("s",_ptemp);
2557 } else {
2558 Py_INCREF(Py_None);
2559 _resultobj = Py_None;
2560 }
2561 return _resultobj;
2562}
2563
2564static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2565 wxGridCellNumberEditor *src;
2566 wxGridCellTextEditor *dest;
2567 src = (wxGridCellNumberEditor *) ptr;
2568 dest = (wxGridCellTextEditor *) src;
2569 return (void *) dest;
2570}
2571
2572static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2573 wxGridCellNumberEditor *src;
2574 wxGridCellEditor *dest;
2575 src = (wxGridCellNumberEditor *) ptr;
2576 dest = (wxGridCellEditor *) src;
2577 return (void *) dest;
2578}
2579
2580#define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2581static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2582 PyObject * _resultobj;
2583 wxGridCellNumberEditor * _result;
2584 int _arg0 = (int ) -1;
2585 int _arg1 = (int ) -1;
2586 char *_kwnames[] = { "min","max", NULL };
2587 char _ptemp[128];
2588
2589 self = self;
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2591 return NULL;
2592{
2593 wxPy_BEGIN_ALLOW_THREADS;
2594 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2595
2596 wxPy_END_ALLOW_THREADS;
2597} if (_result) {
2598 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2599 _resultobj = Py_BuildValue("s",_ptemp);
2600 } else {
2601 Py_INCREF(Py_None);
2602 _resultobj = Py_None;
2603 }
2604 return _resultobj;
2605}
2606
2607static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2608 wxGridCellFloatEditor *src;
2609 wxGridCellTextEditor *dest;
2610 src = (wxGridCellFloatEditor *) ptr;
2611 dest = (wxGridCellTextEditor *) src;
2612 return (void *) dest;
2613}
2614
2615static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2616 wxGridCellFloatEditor *src;
2617 wxGridCellEditor *dest;
2618 src = (wxGridCellFloatEditor *) ptr;
2619 dest = (wxGridCellEditor *) src;
2620 return (void *) dest;
2621}
2622
2623#define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2624static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2625 PyObject * _resultobj;
2626 wxGridCellFloatEditor * _result;
2627 char *_kwnames[] = { NULL };
2628 char _ptemp[128];
2629
2630 self = self;
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2632 return NULL;
2633{
2634 wxPy_BEGIN_ALLOW_THREADS;
2635 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2636
2637 wxPy_END_ALLOW_THREADS;
2638} if (_result) {
2639 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2640 _resultobj = Py_BuildValue("s",_ptemp);
2641 } else {
2642 Py_INCREF(Py_None);
2643 _resultobj = Py_None;
2644 }
2645 return _resultobj;
2646}
2647
2648static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2649 wxGridCellBoolEditor *src;
2650 wxGridCellEditor *dest;
2651 src = (wxGridCellBoolEditor *) ptr;
2652 dest = (wxGridCellEditor *) src;
2653 return (void *) dest;
2654}
2655
2656#define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2657static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2658 PyObject * _resultobj;
2659 wxGridCellBoolEditor * _result;
2660 char *_kwnames[] = { NULL };
2661 char _ptemp[128];
2662
2663 self = self;
2664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2665 return NULL;
2666{
2667 wxPy_BEGIN_ALLOW_THREADS;
2668 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2669
2670 wxPy_END_ALLOW_THREADS;
2671} if (_result) {
2672 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2673 _resultobj = Py_BuildValue("s",_ptemp);
2674 } else {
2675 Py_INCREF(Py_None);
2676 _resultobj = Py_None;
2677 }
2678 return _resultobj;
2679}
2680
2681static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2682 wxGridCellChoiceEditor *src;
2683 wxGridCellEditor *dest;
2684 src = (wxGridCellChoiceEditor *) ptr;
2685 dest = (wxGridCellEditor *) src;
2686 return (void *) dest;
2687}
2688
2689#define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2690static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2691 PyObject * _resultobj;
2692 wxGridCellChoiceEditor * _result;
2693 int _arg0 = (int ) 0;
2694 wxString * _arg1 = (wxString *) NULL;
2695 bool _arg2 = (bool ) FALSE;
2696 PyObject * _obj1 = 0;
2697 int tempbool2 = (int) FALSE;
2698 char *_kwnames[] = { "choices","allowOthers", NULL };
2699 char _ptemp[128];
2700
2701 self = self;
2702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2703 return NULL;
2704 if (_obj1)
2705{
2706 _arg1 = wxString_LIST_helper(_obj1);
2707 if (_arg1 == NULL) {
2708 return NULL;
2709 }
2710}
2711 _arg2 = (bool ) tempbool2;
2712{
2713 if (_obj1) {
2714 _arg0 = PyList_Size(_obj1);
2715 }
2716 else {
2717 _arg0 = 0;
2718 }
2719}
2720{
2721 wxPy_BEGIN_ALLOW_THREADS;
2722 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2723
2724 wxPy_END_ALLOW_THREADS;
2725} if (_result) {
2726 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2727 _resultobj = Py_BuildValue("s",_ptemp);
2728 } else {
2729 Py_INCREF(Py_None);
2730 _resultobj = Py_None;
2731 }
2732{
2733 delete [] _arg1;
2734}
2735 return _resultobj;
2736}
2737
2738#define new_wxGridCellAttr() (new wxGridCellAttr())
2739static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2740 PyObject * _resultobj;
2741 wxGridCellAttr * _result;
2742 char *_kwnames[] = { NULL };
2743 char _ptemp[128];
2744
2745 self = self;
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttr",_kwnames))
2747 return NULL;
2748{
2749 wxPy_BEGIN_ALLOW_THREADS;
2750 _result = (wxGridCellAttr *)new_wxGridCellAttr();
2751
2752 wxPy_END_ALLOW_THREADS;
2753} if (_result) {
2754 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2755 _resultobj = Py_BuildValue("s",_ptemp);
2756 } else {
2757 Py_INCREF(Py_None);
2758 _resultobj = Py_None;
2759 }
2760 return _resultobj;
2761}
2762
2763#define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2764static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2765 PyObject * _resultobj;
2766 wxGridCellAttr * _result;
2767 wxGridCellAttr * _arg0;
2768 PyObject * _argo0 = 0;
2769 char *_kwnames[] = { "self", NULL };
2770 char _ptemp[128];
2771
2772 self = self;
2773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
2774 return NULL;
2775 if (_argo0) {
2776 if (_argo0 == Py_None) { _arg0 = NULL; }
2777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2779 return NULL;
2780 }
2781 }
2782{
2783 wxPy_BEGIN_ALLOW_THREADS;
2784 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
2785
2786 wxPy_END_ALLOW_THREADS;
2787} if (_result) {
2788 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2789 _resultobj = Py_BuildValue("s",_ptemp);
2790 } else {
2791 Py_INCREF(Py_None);
2792 _resultobj = Py_None;
2793 }
2794 return _resultobj;
2795}
2796
2797#define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2798static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2799 PyObject * _resultobj;
2800 wxGridCellAttr * _arg0;
2801 PyObject * _argo0 = 0;
2802 char *_kwnames[] = { "self", NULL };
2803
2804 self = self;
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
2806 return NULL;
2807 if (_argo0) {
2808 if (_argo0 == Py_None) { _arg0 = NULL; }
2809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2811 return NULL;
2812 }
2813 }
2814{
2815 wxPy_BEGIN_ALLOW_THREADS;
2816 wxGridCellAttr_IncRef(_arg0);
2817
2818 wxPy_END_ALLOW_THREADS;
2819} Py_INCREF(Py_None);
2820 _resultobj = Py_None;
2821 return _resultobj;
2822}
2823
2824#define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2825static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2826 PyObject * _resultobj;
2827 wxGridCellAttr * _arg0;
2828 PyObject * _argo0 = 0;
2829 char *_kwnames[] = { "self", NULL };
2830
2831 self = self;
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
2833 return NULL;
2834 if (_argo0) {
2835 if (_argo0 == Py_None) { _arg0 = NULL; }
2836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2838 return NULL;
2839 }
2840 }
2841{
2842 wxPy_BEGIN_ALLOW_THREADS;
2843 wxGridCellAttr_DecRef(_arg0);
2844
2845 wxPy_END_ALLOW_THREADS;
2846} Py_INCREF(Py_None);
2847 _resultobj = Py_None;
2848 return _resultobj;
2849}
2850
2851#define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2852static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2853 PyObject * _resultobj;
2854 wxGridCellAttr * _arg0;
2855 wxColour * _arg1;
2856 PyObject * _argo0 = 0;
2857 wxColour temp;
2858 PyObject * _obj1 = 0;
2859 char *_kwnames[] = { "self","colText", NULL };
2860
2861 self = self;
2862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
2863 return NULL;
2864 if (_argo0) {
2865 if (_argo0 == Py_None) { _arg0 = NULL; }
2866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2868 return NULL;
2869 }
2870 }
2871{
2872 _arg1 = &temp;
2873 if (! wxColour_helper(_obj1, &_arg1))
2874 return NULL;
2875}
2876{
2877 wxPy_BEGIN_ALLOW_THREADS;
2878 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
2879
2880 wxPy_END_ALLOW_THREADS;
2881} Py_INCREF(Py_None);
2882 _resultobj = Py_None;
2883 return _resultobj;
2884}
2885
2886#define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2887static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2888 PyObject * _resultobj;
2889 wxGridCellAttr * _arg0;
2890 wxColour * _arg1;
2891 PyObject * _argo0 = 0;
2892 wxColour temp;
2893 PyObject * _obj1 = 0;
2894 char *_kwnames[] = { "self","colBack", NULL };
2895
2896 self = self;
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
2898 return NULL;
2899 if (_argo0) {
2900 if (_argo0 == Py_None) { _arg0 = NULL; }
2901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2903 return NULL;
2904 }
2905 }
2906{
2907 _arg1 = &temp;
2908 if (! wxColour_helper(_obj1, &_arg1))
2909 return NULL;
2910}
2911{
2912 wxPy_BEGIN_ALLOW_THREADS;
2913 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
2914
2915 wxPy_END_ALLOW_THREADS;
2916} Py_INCREF(Py_None);
2917 _resultobj = Py_None;
2918 return _resultobj;
2919}
2920
2921#define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2922static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2923 PyObject * _resultobj;
2924 wxGridCellAttr * _arg0;
2925 wxFont * _arg1;
2926 PyObject * _argo0 = 0;
2927 PyObject * _argo1 = 0;
2928 char *_kwnames[] = { "self","font", NULL };
2929
2930 self = self;
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
2932 return NULL;
2933 if (_argo0) {
2934 if (_argo0 == Py_None) { _arg0 = NULL; }
2935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
2937 return NULL;
2938 }
2939 }
2940 if (_argo1) {
2941 if (_argo1 == Py_None) { _arg1 = NULL; }
2942 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2943 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
2944 return NULL;
2945 }
2946 }
2947{
2948 wxPy_BEGIN_ALLOW_THREADS;
2949 wxGridCellAttr_SetFont(_arg0,*_arg1);
2950
2951 wxPy_END_ALLOW_THREADS;
2952} Py_INCREF(Py_None);
2953 _resultobj = Py_None;
2954 return _resultobj;
2955}
2956
2957#define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
2958static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
2959 PyObject * _resultobj;
2960 wxGridCellAttr * _arg0;
2961 int _arg1;
2962 int _arg2;
2963 PyObject * _argo0 = 0;
2964 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
2965
2966 self = self;
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
2968 return NULL;
2969 if (_argo0) {
2970 if (_argo0 == Py_None) { _arg0 = NULL; }
2971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
2973 return NULL;
2974 }
2975 }
2976{
2977 wxPy_BEGIN_ALLOW_THREADS;
2978 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
2979
2980 wxPy_END_ALLOW_THREADS;
2981} Py_INCREF(Py_None);
2982 _resultobj = Py_None;
2983 return _resultobj;
2984}
2985
2986#define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
2987static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
2988 PyObject * _resultobj;
2989 wxGridCellAttr * _arg0;
2990 bool _arg1 = (bool ) TRUE;
2991 PyObject * _argo0 = 0;
2992 int tempbool1 = (int) TRUE;
2993 char *_kwnames[] = { "self","isReadOnly", NULL };
2994
2995 self = self;
2996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
2997 return NULL;
2998 if (_argo0) {
2999 if (_argo0 == Py_None) { _arg0 = NULL; }
3000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3002 return NULL;
3003 }
3004 }
3005 _arg1 = (bool ) tempbool1;
3006{
3007 wxPy_BEGIN_ALLOW_THREADS;
3008 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3009
3010 wxPy_END_ALLOW_THREADS;
3011} Py_INCREF(Py_None);
3012 _resultobj = Py_None;
3013 return _resultobj;
3014}
3015
3016#define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3017static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject * _resultobj;
3019 wxGridCellAttr * _arg0;
3020 wxGridCellRenderer * _arg1;
3021 PyObject * _argo0 = 0;
3022 PyObject * _argo1 = 0;
3023 char *_kwnames[] = { "self","renderer", NULL };
3024
3025 self = self;
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3027 return NULL;
3028 if (_argo0) {
3029 if (_argo0 == Py_None) { _arg0 = NULL; }
3030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3032 return NULL;
3033 }
3034 }
3035 if (_argo1) {
3036 if (_argo1 == Py_None) { _arg1 = NULL; }
3037 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3038 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3039 return NULL;
3040 }
3041 }
3042{
3043 wxPy_BEGIN_ALLOW_THREADS;
3044 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3045
3046 wxPy_END_ALLOW_THREADS;
3047} Py_INCREF(Py_None);
3048 _resultobj = Py_None;
3049 return _resultobj;
3050}
3051
3052#define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3053static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3054 PyObject * _resultobj;
3055 wxGridCellAttr * _arg0;
3056 wxGridCellEditor * _arg1;
3057 PyObject * _argo0 = 0;
3058 PyObject * _argo1 = 0;
3059 char *_kwnames[] = { "self","editor", NULL };
3060
3061 self = self;
3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3063 return NULL;
3064 if (_argo0) {
3065 if (_argo0 == Py_None) { _arg0 = NULL; }
3066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3068 return NULL;
3069 }
3070 }
3071 if (_argo1) {
3072 if (_argo1 == Py_None) { _arg1 = NULL; }
3073 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3074 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3075 return NULL;
3076 }
3077 }
3078{
3079 wxPy_BEGIN_ALLOW_THREADS;
3080 wxGridCellAttr_SetEditor(_arg0,_arg1);
3081
3082 wxPy_END_ALLOW_THREADS;
3083} Py_INCREF(Py_None);
3084 _resultobj = Py_None;
3085 return _resultobj;
3086}
3087
3088#define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3089static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3090 PyObject * _resultobj;
3091 bool _result;
3092 wxGridCellAttr * _arg0;
3093 PyObject * _argo0 = 0;
3094 char *_kwnames[] = { "self", NULL };
3095
3096 self = self;
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3098 return NULL;
3099 if (_argo0) {
3100 if (_argo0 == Py_None) { _arg0 = NULL; }
3101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3103 return NULL;
3104 }
3105 }
3106{
3107 wxPy_BEGIN_ALLOW_THREADS;
3108 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3109
3110 wxPy_END_ALLOW_THREADS;
3111} _resultobj = Py_BuildValue("i",_result);
3112 return _resultobj;
3113}
3114
3115#define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3116static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3117 PyObject * _resultobj;
3118 bool _result;
3119 wxGridCellAttr * _arg0;
3120 PyObject * _argo0 = 0;
3121 char *_kwnames[] = { "self", NULL };
3122
3123 self = self;
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3125 return NULL;
3126 if (_argo0) {
3127 if (_argo0 == Py_None) { _arg0 = NULL; }
3128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3130 return NULL;
3131 }
3132 }
3133{
3134 wxPy_BEGIN_ALLOW_THREADS;
3135 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3136
3137 wxPy_END_ALLOW_THREADS;
3138} _resultobj = Py_BuildValue("i",_result);
3139 return _resultobj;
3140}
3141
3142#define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3143static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3144 PyObject * _resultobj;
3145 bool _result;
3146 wxGridCellAttr * _arg0;
3147 PyObject * _argo0 = 0;
3148 char *_kwnames[] = { "self", NULL };
3149
3150 self = self;
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3152 return NULL;
3153 if (_argo0) {
3154 if (_argo0 == Py_None) { _arg0 = NULL; }
3155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3157 return NULL;
3158 }
3159 }
3160{
3161 wxPy_BEGIN_ALLOW_THREADS;
3162 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3163
3164 wxPy_END_ALLOW_THREADS;
3165} _resultobj = Py_BuildValue("i",_result);
3166 return _resultobj;
3167}
3168
3169#define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3170static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject * _resultobj;
3172 bool _result;
3173 wxGridCellAttr * _arg0;
3174 PyObject * _argo0 = 0;
3175 char *_kwnames[] = { "self", NULL };
3176
3177 self = self;
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3179 return NULL;
3180 if (_argo0) {
3181 if (_argo0 == Py_None) { _arg0 = NULL; }
3182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3184 return NULL;
3185 }
3186 }
3187{
3188 wxPy_BEGIN_ALLOW_THREADS;
3189 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3190
3191 wxPy_END_ALLOW_THREADS;
3192} _resultobj = Py_BuildValue("i",_result);
3193 return _resultobj;
3194}
3195
3196#define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3197static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3198 PyObject * _resultobj;
3199 bool _result;
3200 wxGridCellAttr * _arg0;
3201 PyObject * _argo0 = 0;
3202 char *_kwnames[] = { "self", NULL };
3203
3204 self = self;
3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3206 return NULL;
3207 if (_argo0) {
3208 if (_argo0 == Py_None) { _arg0 = NULL; }
3209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3211 return NULL;
3212 }
3213 }
3214{
3215 wxPy_BEGIN_ALLOW_THREADS;
3216 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3217
3218 wxPy_END_ALLOW_THREADS;
3219} _resultobj = Py_BuildValue("i",_result);
3220 return _resultobj;
3221}
3222
3223#define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3224static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3225 PyObject * _resultobj;
3226 bool _result;
3227 wxGridCellAttr * _arg0;
3228 PyObject * _argo0 = 0;
3229 char *_kwnames[] = { "self", NULL };
3230
3231 self = self;
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3233 return NULL;
3234 if (_argo0) {
3235 if (_argo0 == Py_None) { _arg0 = NULL; }
3236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3238 return NULL;
3239 }
3240 }
3241{
3242 wxPy_BEGIN_ALLOW_THREADS;
3243 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3244
3245 wxPy_END_ALLOW_THREADS;
3246} _resultobj = Py_BuildValue("i",_result);
3247 return _resultobj;
3248}
3249
3250#define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3251static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject * _resultobj;
3253 wxColour * _result;
3254 wxGridCellAttr * _arg0;
3255 PyObject * _argo0 = 0;
3256 char *_kwnames[] = { "self", NULL };
3257 char _ptemp[128];
3258
3259 self = self;
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3261 return NULL;
3262 if (_argo0) {
3263 if (_argo0 == Py_None) { _arg0 = NULL; }
3264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3266 return NULL;
3267 }
3268 }
3269{
3270 wxPy_BEGIN_ALLOW_THREADS;
3271 const wxColour & _result_ref = wxGridCellAttr_GetTextColour(_arg0);
3272 _result = (wxColour *) &_result_ref;
3273
3274 wxPy_END_ALLOW_THREADS;
3275} if (_result) {
3276 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3277 _resultobj = Py_BuildValue("s",_ptemp);
3278 } else {
3279 Py_INCREF(Py_None);
3280 _resultobj = Py_None;
3281 }
3282 return _resultobj;
3283}
3284
3285#define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3286static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject * _resultobj;
3288 wxColour * _result;
3289 wxGridCellAttr * _arg0;
3290 PyObject * _argo0 = 0;
3291 char *_kwnames[] = { "self", NULL };
3292 char _ptemp[128];
3293
3294 self = self;
3295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3296 return NULL;
3297 if (_argo0) {
3298 if (_argo0 == Py_None) { _arg0 = NULL; }
3299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3301 return NULL;
3302 }
3303 }
3304{
3305 wxPy_BEGIN_ALLOW_THREADS;
3306 const wxColour & _result_ref = wxGridCellAttr_GetBackgroundColour(_arg0);
3307 _result = (wxColour *) &_result_ref;
3308
3309 wxPy_END_ALLOW_THREADS;
3310} if (_result) {
3311 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3312 _resultobj = Py_BuildValue("s",_ptemp);
3313 } else {
3314 Py_INCREF(Py_None);
3315 _resultobj = Py_None;
3316 }
3317 return _resultobj;
3318}
3319
3320#define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3321static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3322 PyObject * _resultobj;
3323 wxFont * _result;
3324 wxGridCellAttr * _arg0;
3325 PyObject * _argo0 = 0;
3326 char *_kwnames[] = { "self", NULL };
3327 char _ptemp[128];
3328
3329 self = self;
3330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3331 return NULL;
3332 if (_argo0) {
3333 if (_argo0 == Py_None) { _arg0 = NULL; }
3334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3336 return NULL;
3337 }
3338 }
3339{
3340 wxPy_BEGIN_ALLOW_THREADS;
3341 const wxFont & _result_ref = wxGridCellAttr_GetFont(_arg0);
3342 _result = (wxFont *) &_result_ref;
3343
3344 wxPy_END_ALLOW_THREADS;
3345} if (_result) {
3346 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3347 _resultobj = Py_BuildValue("s",_ptemp);
3348 } else {
3349 Py_INCREF(Py_None);
3350 _resultobj = Py_None;
3351 }
3352 return _resultobj;
3353}
3354
3355#define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3356static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3357 PyObject * _resultobj;
3358 wxGridCellAttr * _arg0;
3359 int * _arg1;
3360 int temp;
3361 int * _arg2;
3362 int temp0;
3363 PyObject * _argo0 = 0;
3364 char *_kwnames[] = { "self", NULL };
3365
3366 self = self;
3367{
3368 _arg1 = &temp;
3369}
3370{
3371 _arg2 = &temp0;
3372}
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3374 return NULL;
3375 if (_argo0) {
3376 if (_argo0 == Py_None) { _arg0 = NULL; }
3377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3379 return NULL;
3380 }
3381 }
3382{
3383 wxPy_BEGIN_ALLOW_THREADS;
3384 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3385
3386 wxPy_END_ALLOW_THREADS;
3387} Py_INCREF(Py_None);
3388 _resultobj = Py_None;
3389{
3390 PyObject *o;
3391 o = PyInt_FromLong((long) (*_arg1));
3392 _resultobj = t_output_helper(_resultobj, o);
3393}
3394{
3395 PyObject *o;
3396 o = PyInt_FromLong((long) (*_arg2));
3397 _resultobj = t_output_helper(_resultobj, o);
3398}
3399 return _resultobj;
3400}
3401
3402#define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3403static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3404 PyObject * _resultobj;
3405 wxGridCellRenderer * _result;
3406 wxGridCellAttr * _arg0;
3407 wxGrid * _arg1;
3408 int _arg2;
3409 int _arg3;
3410 PyObject * _argo0 = 0;
3411 PyObject * _argo1 = 0;
3412 char *_kwnames[] = { "self","grid","row","col", NULL };
3413 char _ptemp[128];
3414
3415 self = self;
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3417 return NULL;
3418 if (_argo0) {
3419 if (_argo0 == Py_None) { _arg0 = NULL; }
3420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3422 return NULL;
3423 }
3424 }
3425 if (_argo1) {
3426 if (_argo1 == Py_None) { _arg1 = NULL; }
3427 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3428 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3429 return NULL;
3430 }
3431 }
3432{
3433 wxPy_BEGIN_ALLOW_THREADS;
3434 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3435
3436 wxPy_END_ALLOW_THREADS;
3437} if (_result) {
3438 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3439 _resultobj = Py_BuildValue("s",_ptemp);
3440 } else {
3441 Py_INCREF(Py_None);
3442 _resultobj = Py_None;
3443 }
3444 return _resultobj;
3445}
3446
3447#define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3448static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3449 PyObject * _resultobj;
3450 wxGridCellEditor * _result;
3451 wxGridCellAttr * _arg0;
3452 wxGrid * _arg1;
3453 int _arg2;
3454 int _arg3;
3455 PyObject * _argo0 = 0;
3456 PyObject * _argo1 = 0;
3457 char *_kwnames[] = { "self","grid","row","col", NULL };
3458 char _ptemp[128];
3459
3460 self = self;
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3462 return NULL;
3463 if (_argo0) {
3464 if (_argo0 == Py_None) { _arg0 = NULL; }
3465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3467 return NULL;
3468 }
3469 }
3470 if (_argo1) {
3471 if (_argo1 == Py_None) { _arg1 = NULL; }
3472 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3473 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3474 return NULL;
3475 }
3476 }
3477{
3478 wxPy_BEGIN_ALLOW_THREADS;
3479 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3480
3481 wxPy_END_ALLOW_THREADS;
3482} if (_result) {
3483 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3484 _resultobj = Py_BuildValue("s",_ptemp);
3485 } else {
3486 Py_INCREF(Py_None);
3487 _resultobj = Py_None;
3488 }
3489 return _resultobj;
3490}
3491
3492#define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3493static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3494 PyObject * _resultobj;
3495 bool _result;
3496 wxGridCellAttr * _arg0;
3497 PyObject * _argo0 = 0;
3498 char *_kwnames[] = { "self", NULL };
3499
3500 self = self;
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3502 return NULL;
3503 if (_argo0) {
3504 if (_argo0 == Py_None) { _arg0 = NULL; }
3505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3507 return NULL;
3508 }
3509 }
3510{
3511 wxPy_BEGIN_ALLOW_THREADS;
3512 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3513
3514 wxPy_END_ALLOW_THREADS;
3515} _resultobj = Py_BuildValue("i",_result);
3516 return _resultobj;
3517}
3518
3519#define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3520static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3521 PyObject * _resultobj;
3522 wxGridCellAttr * _arg0;
3523 wxGridCellAttr * _arg1;
3524 PyObject * _argo0 = 0;
3525 PyObject * _argo1 = 0;
3526 char *_kwnames[] = { "self","defAttr", NULL };
3527
3528 self = self;
3529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3530 return NULL;
3531 if (_argo0) {
3532 if (_argo0 == Py_None) { _arg0 = NULL; }
3533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3535 return NULL;
3536 }
3537 }
3538 if (_argo1) {
3539 if (_argo1 == Py_None) { _arg1 = NULL; }
3540 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3541 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3542 return NULL;
3543 }
3544 }
3545{
3546 wxPy_BEGIN_ALLOW_THREADS;
3547 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3548
3549 wxPy_END_ALLOW_THREADS;
3550} Py_INCREF(Py_None);
3551 _resultobj = Py_None;
3552 return _resultobj;
3553}
3554
3555#define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3556static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject * _resultobj;
3558 wxGridCellAttrProvider * _result;
3559 char *_kwnames[] = { NULL };
3560 char _ptemp[128];
3561
3562 self = self;
3563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3564 return NULL;
3565{
3566 wxPy_BEGIN_ALLOW_THREADS;
3567 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3568
3569 wxPy_END_ALLOW_THREADS;
3570} if (_result) {
3571 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3572 _resultobj = Py_BuildValue("s",_ptemp);
3573 } else {
3574 Py_INCREF(Py_None);
3575 _resultobj = Py_None;
3576 }
3577 return _resultobj;
3578}
3579
3580#define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
3581static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3582 PyObject * _resultobj;
3583 wxGridCellAttr * _result;
3584 wxGridCellAttrProvider * _arg0;
3585 int _arg1;
3586 int _arg2;
3587 PyObject * _argo0 = 0;
3588 char *_kwnames[] = { "self","row","col", NULL };
3589 char _ptemp[128];
3590
3591 self = self;
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3593 return NULL;
3594 if (_argo0) {
3595 if (_argo0 == Py_None) { _arg0 = NULL; }
3596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3598 return NULL;
3599 }
3600 }
3601{
3602 wxPy_BEGIN_ALLOW_THREADS;
3603 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2);
3604
3605 wxPy_END_ALLOW_THREADS;
3606} if (_result) {
3607 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3608 _resultobj = Py_BuildValue("s",_ptemp);
3609 } else {
3610 Py_INCREF(Py_None);
3611 _resultobj = Py_None;
3612 }
3613 return _resultobj;
3614}
3615
3616#define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3617static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3618 PyObject * _resultobj;
3619 wxGridCellAttrProvider * _arg0;
3620 wxGridCellAttr * _arg1;
3621 int _arg2;
3622 int _arg3;
3623 PyObject * _argo0 = 0;
3624 PyObject * _argo1 = 0;
3625 char *_kwnames[] = { "self","attr","row","col", NULL };
3626
3627 self = self;
3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3629 return NULL;
3630 if (_argo0) {
3631 if (_argo0 == Py_None) { _arg0 = NULL; }
3632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3634 return NULL;
3635 }
3636 }
3637 if (_argo1) {
3638 if (_argo1 == Py_None) { _arg1 = NULL; }
3639 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3640 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3641 return NULL;
3642 }
3643 }
3644{
3645 wxPy_BEGIN_ALLOW_THREADS;
3646 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
3647
3648 wxPy_END_ALLOW_THREADS;
3649} Py_INCREF(Py_None);
3650 _resultobj = Py_None;
3651 return _resultobj;
3652}
3653
3654#define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3655static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject * _resultobj;
3657 wxGridCellAttrProvider * _arg0;
3658 wxGridCellAttr * _arg1;
3659 int _arg2;
3660 PyObject * _argo0 = 0;
3661 PyObject * _argo1 = 0;
3662 char *_kwnames[] = { "self","attr","row", NULL };
3663
3664 self = self;
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3666 return NULL;
3667 if (_argo0) {
3668 if (_argo0 == Py_None) { _arg0 = NULL; }
3669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3671 return NULL;
3672 }
3673 }
3674 if (_argo1) {
3675 if (_argo1 == Py_None) { _arg1 = NULL; }
3676 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3677 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3678 return NULL;
3679 }
3680 }
3681{
3682 wxPy_BEGIN_ALLOW_THREADS;
3683 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
3684
3685 wxPy_END_ALLOW_THREADS;
3686} Py_INCREF(Py_None);
3687 _resultobj = Py_None;
3688 return _resultobj;
3689}
3690
3691#define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3692static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3693 PyObject * _resultobj;
3694 wxGridCellAttrProvider * _arg0;
3695 wxGridCellAttr * _arg1;
3696 int _arg2;
3697 PyObject * _argo0 = 0;
3698 PyObject * _argo1 = 0;
3699 char *_kwnames[] = { "self","attr","col", NULL };
3700
3701 self = self;
3702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3703 return NULL;
3704 if (_argo0) {
3705 if (_argo0 == Py_None) { _arg0 = NULL; }
3706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3708 return NULL;
3709 }
3710 }
3711 if (_argo1) {
3712 if (_argo1 == Py_None) { _arg1 = NULL; }
3713 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3714 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3715 return NULL;
3716 }
3717 }
3718{
3719 wxPy_BEGIN_ALLOW_THREADS;
3720 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
3721
3722 wxPy_END_ALLOW_THREADS;
3723} Py_INCREF(Py_None);
3724 _resultobj = Py_None;
3725 return _resultobj;
3726}
3727
3728#define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3729static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3730 PyObject * _resultobj;
3731 wxGridCellAttrProvider * _arg0;
3732 size_t _arg1;
3733 int _arg2;
3734 PyObject * _argo0 = 0;
3735 char *_kwnames[] = { "self","pos","numRows", NULL };
3736
3737 self = self;
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
3739 return NULL;
3740 if (_argo0) {
3741 if (_argo0 == Py_None) { _arg0 = NULL; }
3742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3744 return NULL;
3745 }
3746 }
3747{
3748 wxPy_BEGIN_ALLOW_THREADS;
3749 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
3750
3751 wxPy_END_ALLOW_THREADS;
3752} Py_INCREF(Py_None);
3753 _resultobj = Py_None;
3754 return _resultobj;
3755}
3756
3757#define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3758static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject * _resultobj;
3760 wxGridCellAttrProvider * _arg0;
3761 size_t _arg1;
3762 int _arg2;
3763 PyObject * _argo0 = 0;
3764 char *_kwnames[] = { "self","pos","numCols", NULL };
3765
3766 self = self;
3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
3768 return NULL;
3769 if (_argo0) {
3770 if (_argo0 == Py_None) { _arg0 = NULL; }
3771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3773 return NULL;
3774 }
3775 }
3776{
3777 wxPy_BEGIN_ALLOW_THREADS;
3778 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
3779
3780 wxPy_END_ALLOW_THREADS;
3781} Py_INCREF(Py_None);
3782 _resultobj = Py_None;
3783 return _resultobj;
3784}
3785
3786static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
3787 wxPyGridCellAttrProvider *src;
3788 wxGridCellAttrProvider *dest;
3789 src = (wxPyGridCellAttrProvider *) ptr;
3790 dest = (wxGridCellAttrProvider *) src;
3791 return (void *) dest;
3792}
3793
3794#define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3795static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject * _resultobj;
3797 wxPyGridCellAttrProvider * _result;
3798 char *_kwnames[] = { NULL };
3799 char _ptemp[128];
3800
3801 self = self;
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
3803 return NULL;
3804{
3805 wxPy_BEGIN_ALLOW_THREADS;
3806 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
3807
3808 wxPy_END_ALLOW_THREADS;
3809} if (_result) {
3810 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
3811 _resultobj = Py_BuildValue("s",_ptemp);
3812 } else {
3813 Py_INCREF(Py_None);
3814 _resultobj = Py_None;
3815 }
3816 return _resultobj;
3817}
3818
3819#define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3820static PyObject *_wrap_wxPyGridCellAttrProvider__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
3821 PyObject * _resultobj;
3822 wxPyGridCellAttrProvider * _arg0;
3823 PyObject * _arg1;
3824 PyObject * _arg2;
3825 PyObject * _argo0 = 0;
3826 PyObject * _obj1 = 0;
3827 PyObject * _obj2 = 0;
3828 char *_kwnames[] = { "self","self","_class", NULL };
3829
3830 self = self;
3831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
3832 return NULL;
3833 if (_argo0) {
3834 if (_argo0 == Py_None) { _arg0 = NULL; }
3835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3837 return NULL;
3838 }
3839 }
3840{
3841 _arg1 = _obj1;
3842}
3843{
3844 _arg2 = _obj2;
3845}
3846{
3847 wxPy_BEGIN_ALLOW_THREADS;
3848 wxPyGridCellAttrProvider__setSelf(_arg0,_arg1,_arg2);
3849
3850 wxPy_END_ALLOW_THREADS;
3851} Py_INCREF(Py_None);
3852 _resultobj = Py_None;
3853 return _resultobj;
3854}
3855
3856#define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
3857static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3858 PyObject * _resultobj;
3859 wxGridCellAttr * _result;
3860 wxPyGridCellAttrProvider * _arg0;
3861 int _arg1;
3862 int _arg2;
3863 PyObject * _argo0 = 0;
3864 char *_kwnames[] = { "self","row","col", NULL };
3865 char _ptemp[128];
3866
3867 self = self;
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3869 return NULL;
3870 if (_argo0) {
3871 if (_argo0 == Py_None) { _arg0 = NULL; }
3872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
3874 return NULL;
3875 }
3876 }
3877{
3878 wxPy_BEGIN_ALLOW_THREADS;
3879 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2);
3880
3881 wxPy_END_ALLOW_THREADS;
3882} if (_result) {
3883 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3884 _resultobj = Py_BuildValue("s",_ptemp);
3885 } else {
3886 Py_INCREF(Py_None);
3887 _resultobj = Py_None;
3888 }
3889 return _resultobj;
3890}
3891
3892#define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
3893static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3894 PyObject * _resultobj;
3895 wxPyGridCellAttrProvider * _arg0;
3896 wxGridCellAttr * _arg1;
3897 int _arg2;
3898 int _arg3;
3899 PyObject * _argo0 = 0;
3900 PyObject * _argo1 = 0;
3901 char *_kwnames[] = { "self","attr","row","col", NULL };
3902
3903 self = self;
3904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3905 return NULL;
3906 if (_argo0) {
3907 if (_argo0 == Py_None) { _arg0 = NULL; }
3908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
3910 return NULL;
3911 }
3912 }
3913 if (_argo1) {
3914 if (_argo1 == Py_None) { _arg1 = NULL; }
3915 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3916 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
3917 return NULL;
3918 }
3919 }
3920{
3921 wxPy_BEGIN_ALLOW_THREADS;
3922 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
3923
3924 wxPy_END_ALLOW_THREADS;
3925} Py_INCREF(Py_None);
3926 _resultobj = Py_None;
3927 return _resultobj;
3928}
3929
3930#define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
3931static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject * _resultobj;
3933 wxPyGridCellAttrProvider * _arg0;
3934 wxGridCellAttr * _arg1;
3935 int _arg2;
3936 PyObject * _argo0 = 0;
3937 PyObject * _argo1 = 0;
3938 char *_kwnames[] = { "self","attr","row", NULL };
3939
3940 self = self;
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3942 return NULL;
3943 if (_argo0) {
3944 if (_argo0 == Py_None) { _arg0 = NULL; }
3945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
3947 return NULL;
3948 }
3949 }
3950 if (_argo1) {
3951 if (_argo1 == Py_None) { _arg1 = NULL; }
3952 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3953 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
3954 return NULL;
3955 }
3956 }
3957{
3958 wxPy_BEGIN_ALLOW_THREADS;
3959 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
3960
3961 wxPy_END_ALLOW_THREADS;
3962} Py_INCREF(Py_None);
3963 _resultobj = Py_None;
3964 return _resultobj;
3965}
3966
3967#define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
3968static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3969 PyObject * _resultobj;
3970 wxPyGridCellAttrProvider * _arg0;
3971 wxGridCellAttr * _arg1;
3972 int _arg2;
3973 PyObject * _argo0 = 0;
3974 PyObject * _argo1 = 0;
3975 char *_kwnames[] = { "self","attr","col", NULL };
3976
3977 self = self;
3978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3979 return NULL;
3980 if (_argo0) {
3981 if (_argo0 == Py_None) { _arg0 = NULL; }
3982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
3984 return NULL;
3985 }
3986 }
3987 if (_argo1) {
3988 if (_argo1 == Py_None) { _arg1 = NULL; }
3989 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3990 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
3991 return NULL;
3992 }
3993 }
3994{
3995 wxPy_BEGIN_ALLOW_THREADS;
3996 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
3997
3998 wxPy_END_ALLOW_THREADS;
3999} Py_INCREF(Py_None);
4000 _resultobj = Py_None;
4001 return _resultobj;
4002}
4003
4004#define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4005static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject * _resultobj;
4007 wxGridTableBase * _arg0;
4008 wxGridCellAttrProvider * _arg1;
4009 PyObject * _argo0 = 0;
4010 PyObject * _argo1 = 0;
4011 char *_kwnames[] = { "self","attrProvider", NULL };
4012
4013 self = self;
4014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4015 return NULL;
4016 if (_argo0) {
4017 if (_argo0 == Py_None) { _arg0 = NULL; }
4018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4020 return NULL;
4021 }
4022 }
4023 if (_argo1) {
4024 if (_argo1 == Py_None) { _arg1 = NULL; }
4025 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4026 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4027 return NULL;
4028 }
4029 }
4030{
4031 wxPy_BEGIN_ALLOW_THREADS;
4032 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4033
4034 wxPy_END_ALLOW_THREADS;
4035} Py_INCREF(Py_None);
4036 _resultobj = Py_None;
4037 return _resultobj;
4038}
4039
4040#define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4041static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4042 PyObject * _resultobj;
4043 wxGridCellAttrProvider * _result;
4044 wxGridTableBase * _arg0;
4045 PyObject * _argo0 = 0;
4046 char *_kwnames[] = { "self", NULL };
4047 char _ptemp[128];
4048
4049 self = self;
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4051 return NULL;
4052 if (_argo0) {
4053 if (_argo0 == Py_None) { _arg0 = NULL; }
4054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4056 return NULL;
4057 }
4058 }
4059{
4060 wxPy_BEGIN_ALLOW_THREADS;
4061 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4062
4063 wxPy_END_ALLOW_THREADS;
4064} if (_result) {
4065 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4066 _resultobj = Py_BuildValue("s",_ptemp);
4067 } else {
4068 Py_INCREF(Py_None);
4069 _resultobj = Py_None;
4070 }
4071 return _resultobj;
4072}
4073
4074#define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4075static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4076 PyObject * _resultobj;
4077 wxGridTableBase * _arg0;
4078 wxGrid * _arg1;
4079 PyObject * _argo0 = 0;
4080 PyObject * _argo1 = 0;
4081 char *_kwnames[] = { "self","grid", NULL };
4082
4083 self = self;
4084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4085 return NULL;
4086 if (_argo0) {
4087 if (_argo0 == Py_None) { _arg0 = NULL; }
4088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4090 return NULL;
4091 }
4092 }
4093 if (_argo1) {
4094 if (_argo1 == Py_None) { _arg1 = NULL; }
4095 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4096 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4097 return NULL;
4098 }
4099 }
4100{
4101 wxPy_BEGIN_ALLOW_THREADS;
4102 wxGridTableBase_SetView(_arg0,_arg1);
4103
4104 wxPy_END_ALLOW_THREADS;
4105} Py_INCREF(Py_None);
4106 _resultobj = Py_None;
4107 return _resultobj;
4108}
4109
4110#define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4111static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject * _resultobj;
4113 wxGrid * _result;
4114 wxGridTableBase * _arg0;
4115 PyObject * _argo0 = 0;
4116 char *_kwnames[] = { "self", NULL };
4117 char _ptemp[128];
4118
4119 self = self;
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4121 return NULL;
4122 if (_argo0) {
4123 if (_argo0 == Py_None) { _arg0 = NULL; }
4124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4126 return NULL;
4127 }
4128 }
4129{
4130 wxPy_BEGIN_ALLOW_THREADS;
4131 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4132
4133 wxPy_END_ALLOW_THREADS;
4134} if (_result) {
4135 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
4136 _resultobj = Py_BuildValue("s",_ptemp);
4137 } else {
4138 Py_INCREF(Py_None);
4139 _resultobj = Py_None;
4140 }
4141 return _resultobj;
4142}
4143
4144#define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4145static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4146 PyObject * _resultobj;
4147 int _result;
4148 wxGridTableBase * _arg0;
4149 PyObject * _argo0 = 0;
4150 char *_kwnames[] = { "self", NULL };
4151
4152 self = self;
4153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4154 return NULL;
4155 if (_argo0) {
4156 if (_argo0 == Py_None) { _arg0 = NULL; }
4157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4159 return NULL;
4160 }
4161 }
4162{
4163 wxPy_BEGIN_ALLOW_THREADS;
4164 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4165
4166 wxPy_END_ALLOW_THREADS;
4167} _resultobj = Py_BuildValue("i",_result);
4168 return _resultobj;
4169}
4170
4171#define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4172static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject * _resultobj;
4174 int _result;
4175 wxGridTableBase * _arg0;
4176 PyObject * _argo0 = 0;
4177 char *_kwnames[] = { "self", NULL };
4178
4179 self = self;
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4181 return NULL;
4182 if (_argo0) {
4183 if (_argo0 == Py_None) { _arg0 = NULL; }
4184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4186 return NULL;
4187 }
4188 }
4189{
4190 wxPy_BEGIN_ALLOW_THREADS;
4191 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4192
4193 wxPy_END_ALLOW_THREADS;
4194} _resultobj = Py_BuildValue("i",_result);
4195 return _resultobj;
4196}
4197
4198#define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4199static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4200 PyObject * _resultobj;
4201 bool _result;
4202 wxGridTableBase * _arg0;
4203 int _arg1;
4204 int _arg2;
4205 PyObject * _argo0 = 0;
4206 char *_kwnames[] = { "self","row","col", NULL };
4207
4208 self = self;
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4210 return NULL;
4211 if (_argo0) {
4212 if (_argo0 == Py_None) { _arg0 = NULL; }
4213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4215 return NULL;
4216 }
4217 }
4218{
4219 wxPy_BEGIN_ALLOW_THREADS;
4220 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4221
4222 wxPy_END_ALLOW_THREADS;
4223} _resultobj = Py_BuildValue("i",_result);
4224 return _resultobj;
4225}
4226
4227#define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4228static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4229 PyObject * _resultobj;
4230 wxString * _result;
4231 wxGridTableBase * _arg0;
4232 int _arg1;
4233 int _arg2;
4234 PyObject * _argo0 = 0;
4235 char *_kwnames[] = { "self","row","col", NULL };
4236
4237 self = self;
4238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4239 return NULL;
4240 if (_argo0) {
4241 if (_argo0 == Py_None) { _arg0 = NULL; }
4242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4244 return NULL;
4245 }
4246 }
4247{
4248 wxPy_BEGIN_ALLOW_THREADS;
4249 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4250
4251 wxPy_END_ALLOW_THREADS;
4252}{
4253 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4254}
4255{
4256 delete _result;
4257}
4258 return _resultobj;
4259}
4260
4261#define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4262static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject * _resultobj;
4264 wxGridTableBase * _arg0;
4265 int _arg1;
4266 int _arg2;
4267 wxString * _arg3;
4268 PyObject * _argo0 = 0;
4269 PyObject * _obj3 = 0;
4270 char *_kwnames[] = { "self","row","col","value", NULL };
4271
4272 self = self;
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4274 return NULL;
4275 if (_argo0) {
4276 if (_argo0 == Py_None) { _arg0 = NULL; }
4277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4279 return NULL;
4280 }
4281 }
4282{
4283 if (!PyString_Check(_obj3)) {
4284 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4285 return NULL;
4286 }
4287 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4288}
4289{
4290 wxPy_BEGIN_ALLOW_THREADS;
4291 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4292
4293 wxPy_END_ALLOW_THREADS;
4294} Py_INCREF(Py_None);
4295 _resultobj = Py_None;
4296{
4297 if (_obj3)
4298 delete _arg3;
4299}
4300 return _resultobj;
4301}
4302
4303#define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4304static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject * _resultobj;
4306 wxString * _result;
4307 wxGridTableBase * _arg0;
4308 int _arg1;
4309 int _arg2;
4310 PyObject * _argo0 = 0;
4311 char *_kwnames[] = { "self","row","col", NULL };
4312
4313 self = self;
4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4315 return NULL;
4316 if (_argo0) {
4317 if (_argo0 == Py_None) { _arg0 = NULL; }
4318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4320 return NULL;
4321 }
4322 }
4323{
4324 wxPy_BEGIN_ALLOW_THREADS;
4325 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4326
4327 wxPy_END_ALLOW_THREADS;
4328}{
4329 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4330}
4331{
4332 delete _result;
4333}
4334 return _resultobj;
4335}
4336
4337#define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4338static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4339 PyObject * _resultobj;
4340 bool _result;
4341 wxGridTableBase * _arg0;
4342 int _arg1;
4343 int _arg2;
4344 wxString * _arg3;
4345 PyObject * _argo0 = 0;
4346 PyObject * _obj3 = 0;
4347 char *_kwnames[] = { "self","row","col","typeName", NULL };
4348
4349 self = self;
4350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4351 return NULL;
4352 if (_argo0) {
4353 if (_argo0 == Py_None) { _arg0 = NULL; }
4354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4356 return NULL;
4357 }
4358 }
4359{
4360 if (!PyString_Check(_obj3)) {
4361 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4362 return NULL;
4363 }
4364 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4365}
4366{
4367 wxPy_BEGIN_ALLOW_THREADS;
4368 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4369
4370 wxPy_END_ALLOW_THREADS;
4371} _resultobj = Py_BuildValue("i",_result);
4372{
4373 if (_obj3)
4374 delete _arg3;
4375}
4376 return _resultobj;
4377}
4378
4379#define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4380static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4381 PyObject * _resultobj;
4382 bool _result;
4383 wxGridTableBase * _arg0;
4384 int _arg1;
4385 int _arg2;
4386 wxString * _arg3;
4387 PyObject * _argo0 = 0;
4388 PyObject * _obj3 = 0;
4389 char *_kwnames[] = { "self","row","col","typeName", NULL };
4390
4391 self = self;
4392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4393 return NULL;
4394 if (_argo0) {
4395 if (_argo0 == Py_None) { _arg0 = NULL; }
4396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4398 return NULL;
4399 }
4400 }
4401{
4402 if (!PyString_Check(_obj3)) {
4403 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4404 return NULL;
4405 }
4406 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4407}
4408{
4409 wxPy_BEGIN_ALLOW_THREADS;
4410 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4411
4412 wxPy_END_ALLOW_THREADS;
4413} _resultobj = Py_BuildValue("i",_result);
4414{
4415 if (_obj3)
4416 delete _arg3;
4417}
4418 return _resultobj;
4419}
4420
4421#define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4422static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject * _resultobj;
4424 long _result;
4425 wxGridTableBase * _arg0;
4426 int _arg1;
4427 int _arg2;
4428 PyObject * _argo0 = 0;
4429 char *_kwnames[] = { "self","row","col", NULL };
4430
4431 self = self;
4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4433 return NULL;
4434 if (_argo0) {
4435 if (_argo0 == Py_None) { _arg0 = NULL; }
4436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4438 return NULL;
4439 }
4440 }
4441{
4442 wxPy_BEGIN_ALLOW_THREADS;
4443 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4444
4445 wxPy_END_ALLOW_THREADS;
4446} _resultobj = Py_BuildValue("l",_result);
4447 return _resultobj;
4448}
4449
4450#define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4451static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject * _resultobj;
4453 double _result;
4454 wxGridTableBase * _arg0;
4455 int _arg1;
4456 int _arg2;
4457 PyObject * _argo0 = 0;
4458 char *_kwnames[] = { "self","row","col", NULL };
4459
4460 self = self;
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4462 return NULL;
4463 if (_argo0) {
4464 if (_argo0 == Py_None) { _arg0 = NULL; }
4465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4467 return NULL;
4468 }
4469 }
4470{
4471 wxPy_BEGIN_ALLOW_THREADS;
4472 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4473
4474 wxPy_END_ALLOW_THREADS;
4475} _resultobj = Py_BuildValue("d",_result);
4476 return _resultobj;
4477}
4478
4479#define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4480static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4481 PyObject * _resultobj;
4482 bool _result;
4483 wxGridTableBase * _arg0;
4484 int _arg1;
4485 int _arg2;
4486 PyObject * _argo0 = 0;
4487 char *_kwnames[] = { "self","row","col", NULL };
4488
4489 self = self;
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4491 return NULL;
4492 if (_argo0) {
4493 if (_argo0 == Py_None) { _arg0 = NULL; }
4494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4496 return NULL;
4497 }
4498 }
4499{
4500 wxPy_BEGIN_ALLOW_THREADS;
4501 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4502
4503 wxPy_END_ALLOW_THREADS;
4504} _resultobj = Py_BuildValue("i",_result);
4505 return _resultobj;
4506}
4507
4508#define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4509static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4510 PyObject * _resultobj;
4511 wxGridTableBase * _arg0;
4512 int _arg1;
4513 int _arg2;
4514 long _arg3;
4515 PyObject * _argo0 = 0;
4516 char *_kwnames[] = { "self","row","col","value", NULL };
4517
4518 self = self;
4519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4520 return NULL;
4521 if (_argo0) {
4522 if (_argo0 == Py_None) { _arg0 = NULL; }
4523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4525 return NULL;
4526 }
4527 }
4528{
4529 wxPy_BEGIN_ALLOW_THREADS;
4530 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4531
4532 wxPy_END_ALLOW_THREADS;
4533} Py_INCREF(Py_None);
4534 _resultobj = Py_None;
4535 return _resultobj;
4536}
4537
4538#define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4539static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject * _resultobj;
4541 wxGridTableBase * _arg0;
4542 int _arg1;
4543 int _arg2;
4544 double _arg3;
4545 PyObject * _argo0 = 0;
4546 char *_kwnames[] = { "self","row","col","value", NULL };
4547
4548 self = self;
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4550 return NULL;
4551 if (_argo0) {
4552 if (_argo0 == Py_None) { _arg0 = NULL; }
4553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4555 return NULL;
4556 }
4557 }
4558{
4559 wxPy_BEGIN_ALLOW_THREADS;
4560 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
4561
4562 wxPy_END_ALLOW_THREADS;
4563} Py_INCREF(Py_None);
4564 _resultobj = Py_None;
4565 return _resultobj;
4566}
4567
4568#define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4569static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4570 PyObject * _resultobj;
4571 wxGridTableBase * _arg0;
4572 int _arg1;
4573 int _arg2;
4574 bool _arg3;
4575 PyObject * _argo0 = 0;
4576 int tempbool3;
4577 char *_kwnames[] = { "self","row","col","value", NULL };
4578
4579 self = self;
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4581 return NULL;
4582 if (_argo0) {
4583 if (_argo0 == Py_None) { _arg0 = NULL; }
4584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4586 return NULL;
4587 }
4588 }
4589 _arg3 = (bool ) tempbool3;
4590{
4591 wxPy_BEGIN_ALLOW_THREADS;
4592 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
4593
4594 wxPy_END_ALLOW_THREADS;
4595} Py_INCREF(Py_None);
4596 _resultobj = Py_None;
4597 return _resultobj;
4598}
4599
4600#define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4601static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject * _resultobj;
4603 wxGridTableBase * _arg0;
4604 PyObject * _argo0 = 0;
4605 char *_kwnames[] = { "self", NULL };
4606
4607 self = self;
4608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
4609 return NULL;
4610 if (_argo0) {
4611 if (_argo0 == Py_None) { _arg0 = NULL; }
4612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4614 return NULL;
4615 }
4616 }
4617{
4618 wxPy_BEGIN_ALLOW_THREADS;
4619 wxGridTableBase_Clear(_arg0);
4620
4621 wxPy_END_ALLOW_THREADS;
4622} Py_INCREF(Py_None);
4623 _resultobj = Py_None;
4624 return _resultobj;
4625}
4626
4627#define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4628static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4629 PyObject * _resultobj;
4630 bool _result;
4631 wxGridTableBase * _arg0;
4632 size_t _arg1 = (size_t ) 0;
4633 size_t _arg2 = (size_t ) 1;
4634 PyObject * _argo0 = 0;
4635 char *_kwnames[] = { "self","pos","numRows", NULL };
4636
4637 self = self;
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
4639 return NULL;
4640 if (_argo0) {
4641 if (_argo0 == Py_None) { _arg0 = NULL; }
4642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4644 return NULL;
4645 }
4646 }
4647{
4648 wxPy_BEGIN_ALLOW_THREADS;
4649 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
4650
4651 wxPy_END_ALLOW_THREADS;
4652} _resultobj = Py_BuildValue("i",_result);
4653 return _resultobj;
4654}
4655
4656#define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4657static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4658 PyObject * _resultobj;
4659 bool _result;
4660 wxGridTableBase * _arg0;
4661 size_t _arg1 = (size_t ) 1;
4662 PyObject * _argo0 = 0;
4663 char *_kwnames[] = { "self","numRows", NULL };
4664
4665 self = self;
4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
4667 return NULL;
4668 if (_argo0) {
4669 if (_argo0 == Py_None) { _arg0 = NULL; }
4670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4672 return NULL;
4673 }
4674 }
4675{
4676 wxPy_BEGIN_ALLOW_THREADS;
4677 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
4678
4679 wxPy_END_ALLOW_THREADS;
4680} _resultobj = Py_BuildValue("i",_result);
4681 return _resultobj;
4682}
4683
4684#define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4685static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4686 PyObject * _resultobj;
4687 bool _result;
4688 wxGridTableBase * _arg0;
4689 size_t _arg1 = (size_t ) 0;
4690 size_t _arg2 = (size_t ) 1;
4691 PyObject * _argo0 = 0;
4692 char *_kwnames[] = { "self","pos","numRows", NULL };
4693
4694 self = self;
4695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
4696 return NULL;
4697 if (_argo0) {
4698 if (_argo0 == Py_None) { _arg0 = NULL; }
4699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4701 return NULL;
4702 }
4703 }
4704{
4705 wxPy_BEGIN_ALLOW_THREADS;
4706 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
4707
4708 wxPy_END_ALLOW_THREADS;
4709} _resultobj = Py_BuildValue("i",_result);
4710 return _resultobj;
4711}
4712
4713#define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4714static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject * _resultobj;
4716 bool _result;
4717 wxGridTableBase * _arg0;
4718 size_t _arg1 = (size_t ) 0;
4719 size_t _arg2 = (size_t ) 1;
4720 PyObject * _argo0 = 0;
4721 char *_kwnames[] = { "self","pos","numCols", NULL };
4722
4723 self = self;
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
4725 return NULL;
4726 if (_argo0) {
4727 if (_argo0 == Py_None) { _arg0 = NULL; }
4728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4730 return NULL;
4731 }
4732 }
4733{
4734 wxPy_BEGIN_ALLOW_THREADS;
4735 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
4736
4737 wxPy_END_ALLOW_THREADS;
4738} _resultobj = Py_BuildValue("i",_result);
4739 return _resultobj;
4740}
4741
4742#define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4743static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4744 PyObject * _resultobj;
4745 bool _result;
4746 wxGridTableBase * _arg0;
4747 size_t _arg1 = (size_t ) 1;
4748 PyObject * _argo0 = 0;
4749 char *_kwnames[] = { "self","numCols", NULL };
4750
4751 self = self;
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
4753 return NULL;
4754 if (_argo0) {
4755 if (_argo0 == Py_None) { _arg0 = NULL; }
4756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4758 return NULL;
4759 }
4760 }
4761{
4762 wxPy_BEGIN_ALLOW_THREADS;
4763 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
4764
4765 wxPy_END_ALLOW_THREADS;
4766} _resultobj = Py_BuildValue("i",_result);
4767 return _resultobj;
4768}
4769
4770#define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4771static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject * _resultobj;
4773 bool _result;
4774 wxGridTableBase * _arg0;
4775 size_t _arg1 = (size_t ) 0;
4776 size_t _arg2 = (size_t ) 1;
4777 PyObject * _argo0 = 0;
4778 char *_kwnames[] = { "self","pos","numCols", NULL };
4779
4780 self = self;
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
4782 return NULL;
4783 if (_argo0) {
4784 if (_argo0 == Py_None) { _arg0 = NULL; }
4785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4787 return NULL;
4788 }
4789 }
4790{
4791 wxPy_BEGIN_ALLOW_THREADS;
4792 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
4793
4794 wxPy_END_ALLOW_THREADS;
4795} _resultobj = Py_BuildValue("i",_result);
4796 return _resultobj;
4797}
4798
4799#define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4800static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4801 PyObject * _resultobj;
4802 wxString * _result;
4803 wxGridTableBase * _arg0;
4804 int _arg1;
4805 PyObject * _argo0 = 0;
4806 char *_kwnames[] = { "self","row", NULL };
4807
4808 self = self;
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
4810 return NULL;
4811 if (_argo0) {
4812 if (_argo0 == Py_None) { _arg0 = NULL; }
4813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4815 return NULL;
4816 }
4817 }
4818{
4819 wxPy_BEGIN_ALLOW_THREADS;
4820 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
4821
4822 wxPy_END_ALLOW_THREADS;
4823}{
4824 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4825}
4826{
4827 delete _result;
4828}
4829 return _resultobj;
4830}
4831
4832#define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
4833static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject * _resultobj;
4835 wxString * _result;
4836 wxGridTableBase * _arg0;
4837 int _arg1;
4838 PyObject * _argo0 = 0;
4839 char *_kwnames[] = { "self","col", NULL };
4840
4841 self = self;
4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
4843 return NULL;
4844 if (_argo0) {
4845 if (_argo0 == Py_None) { _arg0 = NULL; }
4846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
4848 return NULL;
4849 }
4850 }
4851{
4852 wxPy_BEGIN_ALLOW_THREADS;
4853 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
4854
4855 wxPy_END_ALLOW_THREADS;
4856}{
4857 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4858}
4859{
4860 delete _result;
4861}
4862 return _resultobj;
4863}
4864
4865#define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
4866static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject * _resultobj;
4868 wxGridTableBase * _arg0;
4869 int _arg1;
4870 wxString * _arg2;
4871 PyObject * _argo0 = 0;
4872 PyObject * _obj2 = 0;
4873 char *_kwnames[] = { "self","row","value", NULL };
4874
4875 self = self;
4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
4877 return NULL;
4878 if (_argo0) {
4879 if (_argo0 == Py_None) { _arg0 = NULL; }
4880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
4882 return NULL;
4883 }
4884 }
4885{
4886 if (!PyString_Check(_obj2)) {
4887 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4888 return NULL;
4889 }
4890 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4891}
4892{
4893 wxPy_BEGIN_ALLOW_THREADS;
4894 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
4895
4896 wxPy_END_ALLOW_THREADS;
4897} Py_INCREF(Py_None);
4898 _resultobj = Py_None;
4899{
4900 if (_obj2)
4901 delete _arg2;
4902}
4903 return _resultobj;
4904}
4905
4906#define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
4907static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4908 PyObject * _resultobj;
4909 wxGridTableBase * _arg0;
4910 int _arg1;
4911 wxString * _arg2;
4912 PyObject * _argo0 = 0;
4913 PyObject * _obj2 = 0;
4914 char *_kwnames[] = { "self","col","value", NULL };
4915
4916 self = self;
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
4918 return NULL;
4919 if (_argo0) {
4920 if (_argo0 == Py_None) { _arg0 = NULL; }
4921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
4923 return NULL;
4924 }
4925 }
4926{
4927 if (!PyString_Check(_obj2)) {
4928 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4929 return NULL;
4930 }
4931 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4932}
4933{
4934 wxPy_BEGIN_ALLOW_THREADS;
4935 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
4936
4937 wxPy_END_ALLOW_THREADS;
4938} Py_INCREF(Py_None);
4939 _resultobj = Py_None;
4940{
4941 if (_obj2)
4942 delete _arg2;
4943}
4944 return _resultobj;
4945}
4946
4947#define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
4948static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4949 PyObject * _resultobj;
4950 bool _result;
4951 wxGridTableBase * _arg0;
4952 PyObject * _argo0 = 0;
4953 char *_kwnames[] = { "self", NULL };
4954
4955 self = self;
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
4957 return NULL;
4958 if (_argo0) {
4959 if (_argo0 == Py_None) { _arg0 = NULL; }
4960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
4962 return NULL;
4963 }
4964 }
4965{
4966 wxPy_BEGIN_ALLOW_THREADS;
4967 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
4968
4969 wxPy_END_ALLOW_THREADS;
4970} _resultobj = Py_BuildValue("i",_result);
4971 return _resultobj;
4972}
4973
4974#define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
4975static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4976 PyObject * _resultobj;
4977 wxGridCellAttr * _result;
4978 wxGridTableBase * _arg0;
4979 int _arg1;
4980 int _arg2;
4981 PyObject * _argo0 = 0;
4982 char *_kwnames[] = { "self","row","col", NULL };
4983 char _ptemp[128];
4984
4985 self = self;
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
4987 return NULL;
4988 if (_argo0) {
4989 if (_argo0 == Py_None) { _arg0 = NULL; }
4990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
4992 return NULL;
4993 }
4994 }
4995{
4996 wxPy_BEGIN_ALLOW_THREADS;
4997 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2);
4998
4999 wxPy_END_ALLOW_THREADS;
5000} if (_result) {
5001 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5002 _resultobj = Py_BuildValue("s",_ptemp);
5003 } else {
5004 Py_INCREF(Py_None);
5005 _resultobj = Py_None;
5006 }
5007 return _resultobj;
5008}
5009
5010#define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5011static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5012 PyObject * _resultobj;
5013 wxGridTableBase * _arg0;
5014 wxGridCellAttr * _arg1;
5015 int _arg2;
5016 int _arg3;
5017 PyObject * _argo0 = 0;
5018 PyObject * _argo1 = 0;
5019 char *_kwnames[] = { "self","attr","row","col", NULL };
5020
5021 self = self;
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5023 return NULL;
5024 if (_argo0) {
5025 if (_argo0 == Py_None) { _arg0 = NULL; }
5026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5028 return NULL;
5029 }
5030 }
5031 if (_argo1) {
5032 if (_argo1 == Py_None) { _arg1 = NULL; }
5033 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5034 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5035 return NULL;
5036 }
5037 }
5038{
5039 wxPy_BEGIN_ALLOW_THREADS;
5040 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5041
5042 wxPy_END_ALLOW_THREADS;
5043} Py_INCREF(Py_None);
5044 _resultobj = Py_None;
5045 return _resultobj;
5046}
5047
5048#define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5049static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5050 PyObject * _resultobj;
5051 wxGridTableBase * _arg0;
5052 wxGridCellAttr * _arg1;
5053 int _arg2;
5054 PyObject * _argo0 = 0;
5055 PyObject * _argo1 = 0;
5056 char *_kwnames[] = { "self","attr","row", NULL };
5057
5058 self = self;
5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5060 return NULL;
5061 if (_argo0) {
5062 if (_argo0 == Py_None) { _arg0 = NULL; }
5063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5065 return NULL;
5066 }
5067 }
5068 if (_argo1) {
5069 if (_argo1 == Py_None) { _arg1 = NULL; }
5070 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5071 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5072 return NULL;
5073 }
5074 }
5075{
5076 wxPy_BEGIN_ALLOW_THREADS;
5077 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5078
5079 wxPy_END_ALLOW_THREADS;
5080} Py_INCREF(Py_None);
5081 _resultobj = Py_None;
5082 return _resultobj;
5083}
5084
5085#define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5086static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5087 PyObject * _resultobj;
5088 wxGridTableBase * _arg0;
5089 wxGridCellAttr * _arg1;
5090 int _arg2;
5091 PyObject * _argo0 = 0;
5092 PyObject * _argo1 = 0;
5093 char *_kwnames[] = { "self","attr","col", NULL };
5094
5095 self = self;
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5097 return NULL;
5098 if (_argo0) {
5099 if (_argo0 == Py_None) { _arg0 = NULL; }
5100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5102 return NULL;
5103 }
5104 }
5105 if (_argo1) {
5106 if (_argo1 == Py_None) { _arg1 = NULL; }
5107 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5108 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5109 return NULL;
5110 }
5111 }
5112{
5113 wxPy_BEGIN_ALLOW_THREADS;
5114 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5115
5116 wxPy_END_ALLOW_THREADS;
5117} Py_INCREF(Py_None);
5118 _resultobj = Py_None;
5119 return _resultobj;
5120}
5121
5122static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5123 wxPyGridTableBase *src;
5124 wxGridTableBase *dest;
5125 src = (wxPyGridTableBase *) ptr;
5126 dest = (wxGridTableBase *) src;
5127 return (void *) dest;
5128}
5129
5130#define new_wxPyGridTableBase() (new wxPyGridTableBase())
5131static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5132 PyObject * _resultobj;
5133 wxPyGridTableBase * _result;
5134 char *_kwnames[] = { NULL };
5135 char _ptemp[128];
5136
5137 self = self;
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5139 return NULL;
5140{
5141 wxPy_BEGIN_ALLOW_THREADS;
5142 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5143
5144 wxPy_END_ALLOW_THREADS;
5145} if (_result) {
5146 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5147 _resultobj = Py_BuildValue("s",_ptemp);
5148 } else {
5149 Py_INCREF(Py_None);
5150 _resultobj = Py_None;
5151 }
5152 return _resultobj;
5153}
5154
5155#define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5156static PyObject *_wrap_wxPyGridTableBase__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5157 PyObject * _resultobj;
5158 wxPyGridTableBase * _arg0;
5159 PyObject * _arg1;
5160 PyObject * _arg2;
5161 PyObject * _argo0 = 0;
5162 PyObject * _obj1 = 0;
5163 PyObject * _obj2 = 0;
5164 char *_kwnames[] = { "self","self","_class", NULL };
5165
5166 self = self;
5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5168 return NULL;
5169 if (_argo0) {
5170 if (_argo0 == Py_None) { _arg0 = NULL; }
5171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5173 return NULL;
5174 }
5175 }
5176{
5177 _arg1 = _obj1;
5178}
5179{
5180 _arg2 = _obj2;
5181}
5182{
5183 wxPy_BEGIN_ALLOW_THREADS;
5184 wxPyGridTableBase__setSelf(_arg0,_arg1,_arg2);
5185
5186 wxPy_END_ALLOW_THREADS;
5187} Py_INCREF(Py_None);
5188 _resultobj = Py_None;
5189 return _resultobj;
5190}
5191
5192static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5193static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject * _resultobj;
5195 wxPyGridTableBase * _arg0;
5196 PyObject * _argo0 = 0;
5197 char *_kwnames[] = { "self", NULL };
5198
5199 self = self;
5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5201 return NULL;
5202 if (_argo0) {
5203 if (_argo0 == Py_None) { _arg0 = NULL; }
5204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5206 return NULL;
5207 }
5208 }
5209{
5210 wxPy_BEGIN_ALLOW_THREADS;
5211 wxPyGridTableBase_Destroy(_arg0);
5212
5213 wxPy_END_ALLOW_THREADS;
5214} Py_INCREF(Py_None);
5215 _resultobj = Py_None;
5216 return _resultobj;
5217}
5218
5219#define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5220static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5221 PyObject * _resultobj;
5222 wxString * _result;
5223 wxPyGridTableBase * _arg0;
5224 int _arg1;
5225 int _arg2;
5226 PyObject * _argo0 = 0;
5227 char *_kwnames[] = { "self","row","col", NULL };
5228
5229 self = self;
5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5231 return NULL;
5232 if (_argo0) {
5233 if (_argo0 == Py_None) { _arg0 = NULL; }
5234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5236 return NULL;
5237 }
5238 }
5239{
5240 wxPy_BEGIN_ALLOW_THREADS;
5241 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5242
5243 wxPy_END_ALLOW_THREADS;
5244}{
5245 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5246}
5247{
5248 delete _result;
5249}
5250 return _resultobj;
5251}
5252
5253#define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5254static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5255 PyObject * _resultobj;
5256 bool _result;
5257 wxPyGridTableBase * _arg0;
5258 int _arg1;
5259 int _arg2;
5260 wxString * _arg3;
5261 PyObject * _argo0 = 0;
5262 PyObject * _obj3 = 0;
5263 char *_kwnames[] = { "self","row","col","typeName", NULL };
5264
5265 self = self;
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
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_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5272 return NULL;
5273 }
5274 }
5275{
5276 if (!PyString_Check(_obj3)) {
5277 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5278 return NULL;
5279 }
5280 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
5281}
5282{
5283 wxPy_BEGIN_ALLOW_THREADS;
5284 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5285
5286 wxPy_END_ALLOW_THREADS;
5287} _resultobj = Py_BuildValue("i",_result);
5288{
5289 if (_obj3)
5290 delete _arg3;
5291}
5292 return _resultobj;
5293}
5294
5295#define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5296static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5297 PyObject * _resultobj;
5298 bool _result;
5299 wxPyGridTableBase * _arg0;
5300 int _arg1;
5301 int _arg2;
5302 wxString * _arg3;
5303 PyObject * _argo0 = 0;
5304 PyObject * _obj3 = 0;
5305 char *_kwnames[] = { "self","row","col","typeName", NULL };
5306
5307 self = self;
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5309 return NULL;
5310 if (_argo0) {
5311 if (_argo0 == Py_None) { _arg0 = NULL; }
5312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5314 return NULL;
5315 }
5316 }
5317{
5318 if (!PyString_Check(_obj3)) {
5319 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5320 return NULL;
5321 }
5322 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
5323}
5324{
5325 wxPy_BEGIN_ALLOW_THREADS;
5326 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5327
5328 wxPy_END_ALLOW_THREADS;
5329} _resultobj = Py_BuildValue("i",_result);
5330{
5331 if (_obj3)
5332 delete _arg3;
5333}
5334 return _resultobj;
5335}
5336
5337#define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5338static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject * _resultobj;
5340 wxPyGridTableBase * _arg0;
5341 PyObject * _argo0 = 0;
5342 char *_kwnames[] = { "self", NULL };
5343
5344 self = self;
5345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5346 return NULL;
5347 if (_argo0) {
5348 if (_argo0 == Py_None) { _arg0 = NULL; }
5349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5351 return NULL;
5352 }
5353 }
5354{
5355 wxPy_BEGIN_ALLOW_THREADS;
5356 wxPyGridTableBase_base_Clear(_arg0);
5357
5358 wxPy_END_ALLOW_THREADS;
5359} Py_INCREF(Py_None);
5360 _resultobj = Py_None;
5361 return _resultobj;
5362}
5363
5364#define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5365static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5366 PyObject * _resultobj;
5367 bool _result;
5368 wxPyGridTableBase * _arg0;
5369 size_t _arg1 = (size_t ) 0;
5370 size_t _arg2 = (size_t ) 1;
5371 PyObject * _argo0 = 0;
5372 char *_kwnames[] = { "self","pos","numRows", NULL };
5373
5374 self = self;
5375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5376 return NULL;
5377 if (_argo0) {
5378 if (_argo0 == Py_None) { _arg0 = NULL; }
5379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5381 return NULL;
5382 }
5383 }
5384{
5385 wxPy_BEGIN_ALLOW_THREADS;
5386 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5387
5388 wxPy_END_ALLOW_THREADS;
5389} _resultobj = Py_BuildValue("i",_result);
5390 return _resultobj;
5391}
5392
5393#define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5394static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5395 PyObject * _resultobj;
5396 bool _result;
5397 wxPyGridTableBase * _arg0;
5398 size_t _arg1 = (size_t ) 1;
5399 PyObject * _argo0 = 0;
5400 char *_kwnames[] = { "self","numRows", NULL };
5401
5402 self = self;
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5404 return NULL;
5405 if (_argo0) {
5406 if (_argo0 == Py_None) { _arg0 = NULL; }
5407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5409 return NULL;
5410 }
5411 }
5412{
5413 wxPy_BEGIN_ALLOW_THREADS;
5414 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5415
5416 wxPy_END_ALLOW_THREADS;
5417} _resultobj = Py_BuildValue("i",_result);
5418 return _resultobj;
5419}
5420
5421#define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5422static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5423 PyObject * _resultobj;
5424 bool _result;
5425 wxPyGridTableBase * _arg0;
5426 size_t _arg1 = (size_t ) 0;
5427 size_t _arg2 = (size_t ) 1;
5428 PyObject * _argo0 = 0;
5429 char *_kwnames[] = { "self","pos","numRows", NULL };
5430
5431 self = self;
5432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5433 return NULL;
5434 if (_argo0) {
5435 if (_argo0 == Py_None) { _arg0 = NULL; }
5436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5438 return NULL;
5439 }
5440 }
5441{
5442 wxPy_BEGIN_ALLOW_THREADS;
5443 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5444
5445 wxPy_END_ALLOW_THREADS;
5446} _resultobj = Py_BuildValue("i",_result);
5447 return _resultobj;
5448}
5449
5450#define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5451static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5452 PyObject * _resultobj;
5453 bool _result;
5454 wxPyGridTableBase * _arg0;
5455 size_t _arg1 = (size_t ) 0;
5456 size_t _arg2 = (size_t ) 1;
5457 PyObject * _argo0 = 0;
5458 char *_kwnames[] = { "self","pos","numCols", NULL };
5459
5460 self = self;
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5462 return NULL;
5463 if (_argo0) {
5464 if (_argo0 == Py_None) { _arg0 = NULL; }
5465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5467 return NULL;
5468 }
5469 }
5470{
5471 wxPy_BEGIN_ALLOW_THREADS;
5472 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5473
5474 wxPy_END_ALLOW_THREADS;
5475} _resultobj = Py_BuildValue("i",_result);
5476 return _resultobj;
5477}
5478
5479#define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5480static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5481 PyObject * _resultobj;
5482 bool _result;
5483 wxPyGridTableBase * _arg0;
5484 size_t _arg1 = (size_t ) 1;
5485 PyObject * _argo0 = 0;
5486 char *_kwnames[] = { "self","numCols", NULL };
5487
5488 self = self;
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5490 return NULL;
5491 if (_argo0) {
5492 if (_argo0 == Py_None) { _arg0 = NULL; }
5493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5495 return NULL;
5496 }
5497 }
5498{
5499 wxPy_BEGIN_ALLOW_THREADS;
5500 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5501
5502 wxPy_END_ALLOW_THREADS;
5503} _resultobj = Py_BuildValue("i",_result);
5504 return _resultobj;
5505}
5506
5507#define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5508static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject * _resultobj;
5510 bool _result;
5511 wxPyGridTableBase * _arg0;
5512 size_t _arg1 = (size_t ) 0;
5513 size_t _arg2 = (size_t ) 1;
5514 PyObject * _argo0 = 0;
5515 char *_kwnames[] = { "self","pos","numCols", NULL };
5516
5517 self = self;
5518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5519 return NULL;
5520 if (_argo0) {
5521 if (_argo0 == Py_None) { _arg0 = NULL; }
5522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5524 return NULL;
5525 }
5526 }
5527{
5528 wxPy_BEGIN_ALLOW_THREADS;
5529 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
5530
5531 wxPy_END_ALLOW_THREADS;
5532} _resultobj = Py_BuildValue("i",_result);
5533 return _resultobj;
5534}
5535
5536#define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5537static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5538 PyObject * _resultobj;
5539 wxString * _result;
5540 wxPyGridTableBase * _arg0;
5541 int _arg1;
5542 PyObject * _argo0 = 0;
5543 char *_kwnames[] = { "self","row", NULL };
5544
5545 self = self;
5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5547 return NULL;
5548 if (_argo0) {
5549 if (_argo0 == Py_None) { _arg0 = NULL; }
5550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5552 return NULL;
5553 }
5554 }
5555{
5556 wxPy_BEGIN_ALLOW_THREADS;
5557 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
5558
5559 wxPy_END_ALLOW_THREADS;
5560}{
5561 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5562}
5563{
5564 delete _result;
5565}
5566 return _resultobj;
5567}
5568
5569#define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5570static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject * _resultobj;
5572 wxString * _result;
5573 wxPyGridTableBase * _arg0;
5574 int _arg1;
5575 PyObject * _argo0 = 0;
5576 char *_kwnames[] = { "self","col", NULL };
5577
5578 self = self;
5579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5580 return NULL;
5581 if (_argo0) {
5582 if (_argo0 == Py_None) { _arg0 = NULL; }
5583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5585 return NULL;
5586 }
5587 }
5588{
5589 wxPy_BEGIN_ALLOW_THREADS;
5590 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
5591
5592 wxPy_END_ALLOW_THREADS;
5593}{
5594 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5595}
5596{
5597 delete _result;
5598}
5599 return _resultobj;
5600}
5601
5602#define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5603static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject * _resultobj;
5605 wxPyGridTableBase * _arg0;
5606 int _arg1;
5607 wxString * _arg2;
5608 PyObject * _argo0 = 0;
5609 PyObject * _obj2 = 0;
5610 char *_kwnames[] = { "self","row","value", NULL };
5611
5612 self = self;
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5614 return NULL;
5615 if (_argo0) {
5616 if (_argo0 == Py_None) { _arg0 = NULL; }
5617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5619 return NULL;
5620 }
5621 }
5622{
5623 if (!PyString_Check(_obj2)) {
5624 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5625 return NULL;
5626 }
5627 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5628}
5629{
5630 wxPy_BEGIN_ALLOW_THREADS;
5631 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
5632
5633 wxPy_END_ALLOW_THREADS;
5634} Py_INCREF(Py_None);
5635 _resultobj = Py_None;
5636{
5637 if (_obj2)
5638 delete _arg2;
5639}
5640 return _resultobj;
5641}
5642
5643#define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5644static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5645 PyObject * _resultobj;
5646 wxPyGridTableBase * _arg0;
5647 int _arg1;
5648 wxString * _arg2;
5649 PyObject * _argo0 = 0;
5650 PyObject * _obj2 = 0;
5651 char *_kwnames[] = { "self","col","value", NULL };
5652
5653 self = self;
5654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5655 return NULL;
5656 if (_argo0) {
5657 if (_argo0 == Py_None) { _arg0 = NULL; }
5658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5660 return NULL;
5661 }
5662 }
5663{
5664 if (!PyString_Check(_obj2)) {
5665 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5666 return NULL;
5667 }
5668 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5669}
5670{
5671 wxPy_BEGIN_ALLOW_THREADS;
5672 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
5673
5674 wxPy_END_ALLOW_THREADS;
5675} Py_INCREF(Py_None);
5676 _resultobj = Py_None;
5677{
5678 if (_obj2)
5679 delete _arg2;
5680}
5681 return _resultobj;
5682}
5683
5684#define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5685static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5686 PyObject * _resultobj;
5687 bool _result;
5688 wxPyGridTableBase * _arg0;
5689 PyObject * _argo0 = 0;
5690 char *_kwnames[] = { "self", NULL };
5691
5692 self = self;
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
5694 return NULL;
5695 if (_argo0) {
5696 if (_argo0 == Py_None) { _arg0 = NULL; }
5697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5699 return NULL;
5700 }
5701 }
5702{
5703 wxPy_BEGIN_ALLOW_THREADS;
5704 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
5705
5706 wxPy_END_ALLOW_THREADS;
5707} _resultobj = Py_BuildValue("i",_result);
5708 return _resultobj;
5709}
5710
5711#define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
5712static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5713 PyObject * _resultobj;
5714 wxGridCellAttr * _result;
5715 wxPyGridTableBase * _arg0;
5716 int _arg1;
5717 int _arg2;
5718 PyObject * _argo0 = 0;
5719 char *_kwnames[] = { "self","row","col", NULL };
5720 char _ptemp[128];
5721
5722 self = self;
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
5724 return NULL;
5725 if (_argo0) {
5726 if (_argo0 == Py_None) { _arg0 = NULL; }
5727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5729 return NULL;
5730 }
5731 }
5732{
5733 wxPy_BEGIN_ALLOW_THREADS;
5734 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2);
5735
5736 wxPy_END_ALLOW_THREADS;
5737} if (_result) {
5738 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5739 _resultobj = Py_BuildValue("s",_ptemp);
5740 } else {
5741 Py_INCREF(Py_None);
5742 _resultobj = Py_None;
5743 }
5744 return _resultobj;
5745}
5746
5747#define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5748static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5749 PyObject * _resultobj;
5750 wxPyGridTableBase * _arg0;
5751 wxGridCellAttr * _arg1;
5752 int _arg2;
5753 int _arg3;
5754 PyObject * _argo0 = 0;
5755 PyObject * _argo1 = 0;
5756 char *_kwnames[] = { "self","attr","row","col", NULL };
5757
5758 self = self;
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5760 return NULL;
5761 if (_argo0) {
5762 if (_argo0 == Py_None) { _arg0 = NULL; }
5763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
5765 return NULL;
5766 }
5767 }
5768 if (_argo1) {
5769 if (_argo1 == Py_None) { _arg1 = NULL; }
5770 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5771 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
5772 return NULL;
5773 }
5774 }
5775{
5776 wxPy_BEGIN_ALLOW_THREADS;
5777 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
5778
5779 wxPy_END_ALLOW_THREADS;
5780} Py_INCREF(Py_None);
5781 _resultobj = Py_None;
5782 return _resultobj;
5783}
5784
5785#define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5786static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5787 PyObject * _resultobj;
5788 wxPyGridTableBase * _arg0;
5789 wxGridCellAttr * _arg1;
5790 int _arg2;
5791 PyObject * _argo0 = 0;
5792 PyObject * _argo1 = 0;
5793 char *_kwnames[] = { "self","attr","row", NULL };
5794
5795 self = self;
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5797 return NULL;
5798 if (_argo0) {
5799 if (_argo0 == Py_None) { _arg0 = NULL; }
5800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
5802 return NULL;
5803 }
5804 }
5805 if (_argo1) {
5806 if (_argo1 == Py_None) { _arg1 = NULL; }
5807 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5808 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5809 return NULL;
5810 }
5811 }
5812{
5813 wxPy_BEGIN_ALLOW_THREADS;
5814 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
5815
5816 wxPy_END_ALLOW_THREADS;
5817} Py_INCREF(Py_None);
5818 _resultobj = Py_None;
5819 return _resultobj;
5820}
5821
5822#define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5823static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5824 PyObject * _resultobj;
5825 wxPyGridTableBase * _arg0;
5826 wxGridCellAttr * _arg1;
5827 int _arg2;
5828 PyObject * _argo0 = 0;
5829 PyObject * _argo1 = 0;
5830 char *_kwnames[] = { "self","attr","col", NULL };
5831
5832 self = self;
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5834 return NULL;
5835 if (_argo0) {
5836 if (_argo0 == Py_None) { _arg0 = NULL; }
5837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
5839 return NULL;
5840 }
5841 }
5842 if (_argo1) {
5843 if (_argo1 == Py_None) { _arg1 = NULL; }
5844 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5845 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
5846 return NULL;
5847 }
5848 }
5849{
5850 wxPy_BEGIN_ALLOW_THREADS;
5851 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
5852
5853 wxPy_END_ALLOW_THREADS;
5854} Py_INCREF(Py_None);
5855 _resultobj = Py_None;
5856 return _resultobj;
5857}
5858
5859static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
5860 wxGridStringTable *src;
5861 wxGridTableBase *dest;
5862 src = (wxGridStringTable *) ptr;
5863 dest = (wxGridTableBase *) src;
5864 return (void *) dest;
5865}
5866
5867#define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
5868static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
5869 PyObject * _resultobj;
5870 wxGridStringTable * _result;
5871 int _arg0 = (int ) 0;
5872 int _arg1 = (int ) 0;
5873 char *_kwnames[] = { "numRows","numCols", NULL };
5874 char _ptemp[128];
5875
5876 self = self;
5877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
5878 return NULL;
5879{
5880 wxPy_BEGIN_ALLOW_THREADS;
5881 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
5882
5883 wxPy_END_ALLOW_THREADS;
5884} if (_result) {
5885 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
5886 _resultobj = Py_BuildValue("s",_ptemp);
5887 } else {
5888 Py_INCREF(Py_None);
5889 _resultobj = Py_None;
5890 }
5891 return _resultobj;
5892}
5893
5894#define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5895static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject * _resultobj;
5897 wxGridTableMessage * _result;
5898 wxGridTableBase * _arg0;
5899 int _arg1;
5900 int _arg2 = (int ) -1;
5901 int _arg3 = (int ) -1;
5902 PyObject * _argo0 = 0;
5903 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
5904 char _ptemp[128];
5905
5906 self = self;
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5908 return NULL;
5909 if (_argo0) {
5910 if (_argo0 == Py_None) { _arg0 = NULL; }
5911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
5913 return NULL;
5914 }
5915 }
5916{
5917 wxPy_BEGIN_ALLOW_THREADS;
5918 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
5919
5920 wxPy_END_ALLOW_THREADS;
5921} if (_result) {
5922 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
5923 _resultobj = Py_BuildValue("s",_ptemp);
5924 } else {
5925 Py_INCREF(Py_None);
5926 _resultobj = Py_None;
5927 }
5928 return _resultobj;
5929}
5930
5931#define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
5932static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
5933 PyObject * _resultobj;
5934 wxGridTableMessage * _arg0;
5935 PyObject * _argo0 = 0;
5936 char *_kwnames[] = { "self", NULL };
5937
5938 self = self;
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
5940 return NULL;
5941 if (_argo0) {
5942 if (_argo0 == Py_None) { _arg0 = NULL; }
5943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
5944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
5945 return NULL;
5946 }
5947 }
5948{
5949 wxPy_BEGIN_ALLOW_THREADS;
5950 delete_wxGridTableMessage(_arg0);
5951
5952 wxPy_END_ALLOW_THREADS;
5953} Py_INCREF(Py_None);
5954 _resultobj = Py_None;
5955 return _resultobj;
5956}
5957
5958#define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
5959static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
5960 PyObject * _resultobj;
5961 wxGridTableMessage * _arg0;
5962 wxGridTableBase * _arg1;
5963 PyObject * _argo0 = 0;
5964 PyObject * _argo1 = 0;
5965 char *_kwnames[] = { "self","table", NULL };
5966
5967 self = self;
5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
5969 return NULL;
5970 if (_argo0) {
5971 if (_argo0 == Py_None) { _arg0 = NULL; }
5972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
5973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
5974 return NULL;
5975 }
5976 }
5977 if (_argo1) {
5978 if (_argo1 == Py_None) { _arg1 = NULL; }
5979 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
5980 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
5981 return NULL;
5982 }
5983 }
5984{
5985 wxPy_BEGIN_ALLOW_THREADS;
5986 wxGridTableMessage_SetTableObject(_arg0,_arg1);
5987
5988 wxPy_END_ALLOW_THREADS;
5989} Py_INCREF(Py_None);
5990 _resultobj = Py_None;
5991 return _resultobj;
5992}
5993
5994#define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
5995static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
5996 PyObject * _resultobj;
5997 wxGridTableBase * _result;
5998 wxGridTableMessage * _arg0;
5999 PyObject * _argo0 = 0;
6000 char *_kwnames[] = { "self", NULL };
6001 char _ptemp[128];
6002
6003 self = self;
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6005 return NULL;
6006 if (_argo0) {
6007 if (_argo0 == Py_None) { _arg0 = NULL; }
6008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6010 return NULL;
6011 }
6012 }
6013{
6014 wxPy_BEGIN_ALLOW_THREADS;
6015 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6016
6017 wxPy_END_ALLOW_THREADS;
6018} if (_result) {
6019 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6020 _resultobj = Py_BuildValue("s",_ptemp);
6021 } else {
6022 Py_INCREF(Py_None);
6023 _resultobj = Py_None;
6024 }
6025 return _resultobj;
6026}
6027
6028#define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6029static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6030 PyObject * _resultobj;
6031 wxGridTableMessage * _arg0;
6032 int _arg1;
6033 PyObject * _argo0 = 0;
6034 char *_kwnames[] = { "self","id", NULL };
6035
6036 self = self;
6037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6038 return NULL;
6039 if (_argo0) {
6040 if (_argo0 == Py_None) { _arg0 = NULL; }
6041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6043 return NULL;
6044 }
6045 }
6046{
6047 wxPy_BEGIN_ALLOW_THREADS;
6048 wxGridTableMessage_SetId(_arg0,_arg1);
6049
6050 wxPy_END_ALLOW_THREADS;
6051} Py_INCREF(Py_None);
6052 _resultobj = Py_None;
6053 return _resultobj;
6054}
6055
6056#define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6057static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6058 PyObject * _resultobj;
6059 int _result;
6060 wxGridTableMessage * _arg0;
6061 PyObject * _argo0 = 0;
6062 char *_kwnames[] = { "self", NULL };
6063
6064 self = self;
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6066 return NULL;
6067 if (_argo0) {
6068 if (_argo0 == Py_None) { _arg0 = NULL; }
6069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6071 return NULL;
6072 }
6073 }
6074{
6075 wxPy_BEGIN_ALLOW_THREADS;
6076 _result = (int )wxGridTableMessage_GetId(_arg0);
6077
6078 wxPy_END_ALLOW_THREADS;
6079} _resultobj = Py_BuildValue("i",_result);
6080 return _resultobj;
6081}
6082
6083#define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6084static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6085 PyObject * _resultobj;
6086 wxGridTableMessage * _arg0;
6087 int _arg1;
6088 PyObject * _argo0 = 0;
6089 char *_kwnames[] = { "self","comInt1", NULL };
6090
6091 self = self;
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6093 return NULL;
6094 if (_argo0) {
6095 if (_argo0 == Py_None) { _arg0 = NULL; }
6096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6098 return NULL;
6099 }
6100 }
6101{
6102 wxPy_BEGIN_ALLOW_THREADS;
6103 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6104
6105 wxPy_END_ALLOW_THREADS;
6106} Py_INCREF(Py_None);
6107 _resultobj = Py_None;
6108 return _resultobj;
6109}
6110
6111#define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6112static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6113 PyObject * _resultobj;
6114 int _result;
6115 wxGridTableMessage * _arg0;
6116 PyObject * _argo0 = 0;
6117 char *_kwnames[] = { "self", NULL };
6118
6119 self = self;
6120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6121 return NULL;
6122 if (_argo0) {
6123 if (_argo0 == Py_None) { _arg0 = NULL; }
6124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6126 return NULL;
6127 }
6128 }
6129{
6130 wxPy_BEGIN_ALLOW_THREADS;
6131 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6132
6133 wxPy_END_ALLOW_THREADS;
6134} _resultobj = Py_BuildValue("i",_result);
6135 return _resultobj;
6136}
6137
6138#define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6139static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6140 PyObject * _resultobj;
6141 wxGridTableMessage * _arg0;
6142 int _arg1;
6143 PyObject * _argo0 = 0;
6144 char *_kwnames[] = { "self","comInt2", NULL };
6145
6146 self = self;
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
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_SetCommandInt2. Expected _wxGridTableMessage_p.");
6153 return NULL;
6154 }
6155 }
6156{
6157 wxPy_BEGIN_ALLOW_THREADS;
6158 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6159
6160 wxPy_END_ALLOW_THREADS;
6161} Py_INCREF(Py_None);
6162 _resultobj = Py_None;
6163 return _resultobj;
6164}
6165
6166#define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6167static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject * _resultobj;
6169 int _result;
6170 wxGridTableMessage * _arg0;
6171 PyObject * _argo0 = 0;
6172 char *_kwnames[] = { "self", NULL };
6173
6174 self = self;
6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6176 return NULL;
6177 if (_argo0) {
6178 if (_argo0 == Py_None) { _arg0 = NULL; }
6179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6181 return NULL;
6182 }
6183 }
6184{
6185 wxPy_BEGIN_ALLOW_THREADS;
6186 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6187
6188 wxPy_END_ALLOW_THREADS;
6189} _resultobj = Py_BuildValue("i",_result);
6190 return _resultobj;
6191}
6192
6193#define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6194static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject * _resultobj;
6196 wxGridCellCoords * _result;
6197 int _arg0 = (int ) -1;
6198 int _arg1 = (int ) -1;
6199 char *_kwnames[] = { "r","c", NULL };
6200 char _ptemp[128];
6201
6202 self = self;
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6204 return NULL;
6205{
6206 wxPy_BEGIN_ALLOW_THREADS;
6207 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6208
6209 wxPy_END_ALLOW_THREADS;
6210} if (_result) {
6211 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6212 _resultobj = Py_BuildValue("s",_ptemp);
6213 } else {
6214 Py_INCREF(Py_None);
6215 _resultobj = Py_None;
6216 }
6217 return _resultobj;
6218}
6219
6220#define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6221static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject * _resultobj;
6223 wxGridCellCoords * _arg0;
6224 PyObject * _argo0 = 0;
6225 char *_kwnames[] = { "self", NULL };
6226
6227 self = self;
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6229 return NULL;
6230 if (_argo0) {
6231 if (_argo0 == Py_None) { _arg0 = NULL; }
6232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6234 return NULL;
6235 }
6236 }
6237{
6238 wxPy_BEGIN_ALLOW_THREADS;
6239 delete_wxGridCellCoords(_arg0);
6240
6241 wxPy_END_ALLOW_THREADS;
6242} Py_INCREF(Py_None);
6243 _resultobj = Py_None;
6244 return _resultobj;
6245}
6246
6247#define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6248static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6249 PyObject * _resultobj;
6250 int _result;
6251 wxGridCellCoords * _arg0;
6252 PyObject * _argo0 = 0;
6253 char *_kwnames[] = { "self", NULL };
6254
6255 self = self;
6256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6257 return NULL;
6258 if (_argo0) {
6259 if (_argo0 == Py_None) { _arg0 = NULL; }
6260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6262 return NULL;
6263 }
6264 }
6265{
6266 wxPy_BEGIN_ALLOW_THREADS;
6267 _result = (int )wxGridCellCoords_GetRow(_arg0);
6268
6269 wxPy_END_ALLOW_THREADS;
6270} _resultobj = Py_BuildValue("i",_result);
6271 return _resultobj;
6272}
6273
6274#define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6275static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6276 PyObject * _resultobj;
6277 wxGridCellCoords * _arg0;
6278 int _arg1;
6279 PyObject * _argo0 = 0;
6280 char *_kwnames[] = { "self","n", NULL };
6281
6282 self = self;
6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6284 return NULL;
6285 if (_argo0) {
6286 if (_argo0 == Py_None) { _arg0 = NULL; }
6287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6289 return NULL;
6290 }
6291 }
6292{
6293 wxPy_BEGIN_ALLOW_THREADS;
6294 wxGridCellCoords_SetRow(_arg0,_arg1);
6295
6296 wxPy_END_ALLOW_THREADS;
6297} Py_INCREF(Py_None);
6298 _resultobj = Py_None;
6299 return _resultobj;
6300}
6301
6302#define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6303static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject * _resultobj;
6305 int _result;
6306 wxGridCellCoords * _arg0;
6307 PyObject * _argo0 = 0;
6308 char *_kwnames[] = { "self", NULL };
6309
6310 self = self;
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6312 return NULL;
6313 if (_argo0) {
6314 if (_argo0 == Py_None) { _arg0 = NULL; }
6315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6317 return NULL;
6318 }
6319 }
6320{
6321 wxPy_BEGIN_ALLOW_THREADS;
6322 _result = (int )wxGridCellCoords_GetCol(_arg0);
6323
6324 wxPy_END_ALLOW_THREADS;
6325} _resultobj = Py_BuildValue("i",_result);
6326 return _resultobj;
6327}
6328
6329#define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6330static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject * _resultobj;
6332 wxGridCellCoords * _arg0;
6333 int _arg1;
6334 PyObject * _argo0 = 0;
6335 char *_kwnames[] = { "self","n", NULL };
6336
6337 self = self;
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6339 return NULL;
6340 if (_argo0) {
6341 if (_argo0 == Py_None) { _arg0 = NULL; }
6342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6344 return NULL;
6345 }
6346 }
6347{
6348 wxPy_BEGIN_ALLOW_THREADS;
6349 wxGridCellCoords_SetCol(_arg0,_arg1);
6350
6351 wxPy_END_ALLOW_THREADS;
6352} Py_INCREF(Py_None);
6353 _resultobj = Py_None;
6354 return _resultobj;
6355}
6356
6357#define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6358static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6359 PyObject * _resultobj;
6360 wxGridCellCoords * _arg0;
6361 int _arg1;
6362 int _arg2;
6363 PyObject * _argo0 = 0;
6364 char *_kwnames[] = { "self","row","col", NULL };
6365
6366 self = self;
6367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6368 return NULL;
6369 if (_argo0) {
6370 if (_argo0 == Py_None) { _arg0 = NULL; }
6371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6373 return NULL;
6374 }
6375 }
6376{
6377 wxPy_BEGIN_ALLOW_THREADS;
6378 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6379
6380 wxPy_END_ALLOW_THREADS;
6381} Py_INCREF(Py_None);
6382 _resultobj = Py_None;
6383 return _resultobj;
6384}
6385
6386static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6387 PyObject* tup = PyTuple_New(2);
6388 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6389 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6390 return tup;
6391 }
6392static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6393 PyObject * _resultobj;
6394 PyObject * _result;
6395 wxGridCellCoords * _arg0;
6396 PyObject * _argo0 = 0;
6397 char *_kwnames[] = { "self", NULL };
6398
6399 self = self;
6400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6401 return NULL;
6402 if (_argo0) {
6403 if (_argo0 == Py_None) { _arg0 = NULL; }
6404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6406 return NULL;
6407 }
6408 }
6409{
6410 wxPy_BEGIN_ALLOW_THREADS;
6411 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6412
6413 wxPy_END_ALLOW_THREADS;
6414}{
6415 _resultobj = _result;
6416}
6417 return _resultobj;
6418}
6419
6420static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6421 return *self != other;
6422 }
6423static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject * _resultobj;
6425 int _result;
6426 wxGridCellCoords * _arg0;
6427 wxGridCellCoords * _arg1;
6428 PyObject * _argo0 = 0;
6429 PyObject * _argo1 = 0;
6430 char *_kwnames[] = { "self","other", NULL };
6431
6432 self = self;
6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6434 return NULL;
6435 if (_argo0) {
6436 if (_argo0 == Py_None) { _arg0 = NULL; }
6437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6439 return NULL;
6440 }
6441 }
6442 if (_argo1) {
6443 if (_argo1 == Py_None) { _arg1 = NULL; }
6444 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6445 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6446 return NULL;
6447 }
6448 }
6449{
6450 wxPy_BEGIN_ALLOW_THREADS;
6451 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6452
6453 wxPy_END_ALLOW_THREADS;
6454} _resultobj = Py_BuildValue("i",_result);
6455 return _resultobj;
6456}
6457
6458static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6459 wxGrid *src;
6460 wxScrolledWindow *dest;
6461 src = (wxGrid *) ptr;
6462 dest = (wxScrolledWindow *) src;
6463 return (void *) dest;
6464}
6465
6466static void *SwigwxGridTowxPanel(void *ptr) {
6467 wxGrid *src;
6468 wxPanel *dest;
6469 src = (wxGrid *) ptr;
6470 dest = (wxPanel *) src;
6471 return (void *) dest;
6472}
6473
6474static void *SwigwxGridTowxWindow(void *ptr) {
6475 wxGrid *src;
6476 wxWindow *dest;
6477 src = (wxGrid *) ptr;
6478 dest = (wxWindow *) src;
6479 return (void *) dest;
6480}
6481
6482static void *SwigwxGridTowxEvtHandler(void *ptr) {
6483 wxGrid *src;
6484 wxEvtHandler *dest;
6485 src = (wxGrid *) ptr;
6486 dest = (wxEvtHandler *) src;
6487 return (void *) dest;
6488}
6489
6490#define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6491static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6492 PyObject * _resultobj;
6493 wxGrid * _result;
6494 wxWindow * _arg0;
6495 wxWindowID _arg1;
6496 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6497 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6498 long _arg4 = (long ) wxWANTS_CHARS;
6499 char * _arg5 = (char *) wxPanelNameStr;
6500 PyObject * _argo0 = 0;
6501 wxPoint temp;
6502 PyObject * _obj2 = 0;
6503 wxSize temp0;
6504 PyObject * _obj3 = 0;
6505 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6506 char _ptemp[128];
6507
6508 self = self;
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
6510 return NULL;
6511 if (_argo0) {
6512 if (_argo0 == Py_None) { _arg0 = NULL; }
6513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6515 return NULL;
6516 }
6517 }
6518 if (_obj2)
6519{
6520 _arg2 = &temp;
6521 if (! wxPoint_helper(_obj2, &_arg2))
6522 return NULL;
6523}
6524 if (_obj3)
6525{
6526 _arg3 = &temp0;
6527 if (! wxSize_helper(_obj3, &_arg3))
6528 return NULL;
6529}
6530{
6531 wxPy_BEGIN_ALLOW_THREADS;
6532 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
6533
6534 wxPy_END_ALLOW_THREADS;
6535} if (_result) {
6536 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
6537 _resultobj = Py_BuildValue("s",_ptemp);
6538 } else {
6539 Py_INCREF(Py_None);
6540 _resultobj = Py_None;
6541 }
6542 return _resultobj;
6543}
6544
6545#define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6546static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6547 PyObject * _resultobj;
6548 bool _result;
6549 wxGrid * _arg0;
6550 int _arg1;
6551 int _arg2;
6552 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6553 PyObject * _argo0 = 0;
6554 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
6555
6556 self = self;
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6558 return NULL;
6559 if (_argo0) {
6560 if (_argo0 == Py_None) { _arg0 = NULL; }
6561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6563 return NULL;
6564 }
6565 }
6566{
6567 wxPy_BEGIN_ALLOW_THREADS;
6568 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
6569
6570 wxPy_END_ALLOW_THREADS;
6571} _resultobj = Py_BuildValue("i",_result);
6572 return _resultobj;
6573}
6574
6575#define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6576static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6577 PyObject * _resultobj;
6578 wxGrid * _arg0;
6579 WXGRIDSELECTIONMODES _arg1;
6580 PyObject * _argo0 = 0;
6581 char *_kwnames[] = { "self","selmode", NULL };
6582
6583 self = self;
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
6585 return NULL;
6586 if (_argo0) {
6587 if (_argo0 == Py_None) { _arg0 = NULL; }
6588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6590 return NULL;
6591 }
6592 }
6593{
6594 wxPy_BEGIN_ALLOW_THREADS;
6595 wxGrid_SetSelectionMode(_arg0,_arg1);
6596
6597 wxPy_END_ALLOW_THREADS;
6598} Py_INCREF(Py_None);
6599 _resultobj = Py_None;
6600 return _resultobj;
6601}
6602
6603#define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6604static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject * _resultobj;
6606 int _result;
6607 wxGrid * _arg0;
6608 PyObject * _argo0 = 0;
6609 char *_kwnames[] = { "self", NULL };
6610
6611 self = self;
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
6613 return NULL;
6614 if (_argo0) {
6615 if (_argo0 == Py_None) { _arg0 = NULL; }
6616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6618 return NULL;
6619 }
6620 }
6621{
6622 wxPy_BEGIN_ALLOW_THREADS;
6623 _result = (int )wxGrid_GetNumberRows(_arg0);
6624
6625 wxPy_END_ALLOW_THREADS;
6626} _resultobj = Py_BuildValue("i",_result);
6627 return _resultobj;
6628}
6629
6630#define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6631static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6632 PyObject * _resultobj;
6633 int _result;
6634 wxGrid * _arg0;
6635 PyObject * _argo0 = 0;
6636 char *_kwnames[] = { "self", NULL };
6637
6638 self = self;
6639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
6640 return NULL;
6641 if (_argo0) {
6642 if (_argo0 == Py_None) { _arg0 = NULL; }
6643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6645 return NULL;
6646 }
6647 }
6648{
6649 wxPy_BEGIN_ALLOW_THREADS;
6650 _result = (int )wxGrid_GetNumberCols(_arg0);
6651
6652 wxPy_END_ALLOW_THREADS;
6653} _resultobj = Py_BuildValue("i",_result);
6654 return _resultobj;
6655}
6656
6657#define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6658static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject * _resultobj;
6660 bool _result;
6661 wxGrid * _arg0;
6662 wxGridTableMessage * _arg1;
6663 PyObject * _argo0 = 0;
6664 PyObject * _argo1 = 0;
6665 char *_kwnames[] = { "self","arg2", NULL };
6666
6667 self = self;
6668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
6669 return NULL;
6670 if (_argo0) {
6671 if (_argo0 == Py_None) { _arg0 = NULL; }
6672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6674 return NULL;
6675 }
6676 }
6677 if (_argo1) {
6678 if (_argo1 == Py_None) { _arg1 = NULL; }
6679 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
6680 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6681 return NULL;
6682 }
6683 }
6684{
6685 wxPy_BEGIN_ALLOW_THREADS;
6686 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
6687
6688 wxPy_END_ALLOW_THREADS;
6689} _resultobj = Py_BuildValue("i",_result);
6690 return _resultobj;
6691}
6692
6693#define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6694static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject * _resultobj;
6696 wxGridTableBase * _result;
6697 wxGrid * _arg0;
6698 PyObject * _argo0 = 0;
6699 char *_kwnames[] = { "self", NULL };
6700 char _ptemp[128];
6701
6702 self = self;
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
6704 return NULL;
6705 if (_argo0) {
6706 if (_argo0 == Py_None) { _arg0 = NULL; }
6707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6709 return NULL;
6710 }
6711 }
6712{
6713 wxPy_BEGIN_ALLOW_THREADS;
6714 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
6715
6716 wxPy_END_ALLOW_THREADS;
6717} if (_result) {
6718 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6719 _resultobj = Py_BuildValue("s",_ptemp);
6720 } else {
6721 Py_INCREF(Py_None);
6722 _resultobj = Py_None;
6723 }
6724 return _resultobj;
6725}
6726
6727#define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6728static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6729 PyObject * _resultobj;
6730 bool _result;
6731 wxGrid * _arg0;
6732 wxGridTableBase * _arg1;
6733 bool _arg2 = (bool ) FALSE;
6734 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6735 PyObject * _argo0 = 0;
6736 PyObject * _argo1 = 0;
6737 int tempbool2 = (int) FALSE;
6738 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
6739
6740 self = self;
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
6742 return NULL;
6743 if (_argo0) {
6744 if (_argo0 == Py_None) { _arg0 = NULL; }
6745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
6747 return NULL;
6748 }
6749 }
6750 if (_argo1) {
6751 if (_argo1 == Py_None) { _arg1 = NULL; }
6752 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6753 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
6754 return NULL;
6755 }
6756 }
6757 _arg2 = (bool ) tempbool2;
6758{
6759 wxPy_BEGIN_ALLOW_THREADS;
6760 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
6761
6762 wxPy_END_ALLOW_THREADS;
6763} _resultobj = Py_BuildValue("i",_result);
6764 return _resultobj;
6765}
6766
6767#define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
6768static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject * _resultobj;
6770 wxGrid * _arg0;
6771 PyObject * _argo0 = 0;
6772 char *_kwnames[] = { "self", NULL };
6773
6774 self = self;
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
6776 return NULL;
6777 if (_argo0) {
6778 if (_argo0 == Py_None) { _arg0 = NULL; }
6779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
6781 return NULL;
6782 }
6783 }
6784{
6785 wxPy_BEGIN_ALLOW_THREADS;
6786 wxGrid_ClearGrid(_arg0);
6787
6788 wxPy_END_ALLOW_THREADS;
6789} Py_INCREF(Py_None);
6790 _resultobj = Py_None;
6791 return _resultobj;
6792}
6793
6794#define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
6795static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6796 PyObject * _resultobj;
6797 bool _result;
6798 wxGrid * _arg0;
6799 int _arg1 = (int ) 0;
6800 int _arg2 = (int ) 1;
6801 bool _arg3 = (bool ) TRUE;
6802 PyObject * _argo0 = 0;
6803 int tempbool3 = (int) TRUE;
6804 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
6805
6806 self = self;
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6808 return NULL;
6809 if (_argo0) {
6810 if (_argo0 == Py_None) { _arg0 = NULL; }
6811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
6813 return NULL;
6814 }
6815 }
6816 _arg3 = (bool ) tempbool3;
6817{
6818 wxPy_BEGIN_ALLOW_THREADS;
6819 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
6820
6821 wxPy_END_ALLOW_THREADS;
6822} _resultobj = Py_BuildValue("i",_result);
6823 return _resultobj;
6824}
6825
6826#define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
6827static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject * _resultobj;
6829 bool _result;
6830 wxGrid * _arg0;
6831 int _arg1 = (int ) 1;
6832 bool _arg2 = (bool ) TRUE;
6833 PyObject * _argo0 = 0;
6834 int tempbool2 = (int) TRUE;
6835 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
6836
6837 self = self;
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
6839 return NULL;
6840 if (_argo0) {
6841 if (_argo0 == Py_None) { _arg0 = NULL; }
6842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
6844 return NULL;
6845 }
6846 }
6847 _arg2 = (bool ) tempbool2;
6848{
6849 wxPy_BEGIN_ALLOW_THREADS;
6850 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
6851
6852 wxPy_END_ALLOW_THREADS;
6853} _resultobj = Py_BuildValue("i",_result);
6854 return _resultobj;
6855}
6856
6857#define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
6858static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6859 PyObject * _resultobj;
6860 bool _result;
6861 wxGrid * _arg0;
6862 int _arg1 = (int ) 0;
6863 int _arg2 = (int ) 1;
6864 bool _arg3 = (bool ) TRUE;
6865 PyObject * _argo0 = 0;
6866 int tempbool3 = (int) TRUE;
6867 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
6868
6869 self = self;
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6871 return NULL;
6872 if (_argo0) {
6873 if (_argo0 == Py_None) { _arg0 = NULL; }
6874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
6876 return NULL;
6877 }
6878 }
6879 _arg3 = (bool ) tempbool3;
6880{
6881 wxPy_BEGIN_ALLOW_THREADS;
6882 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
6883
6884 wxPy_END_ALLOW_THREADS;
6885} _resultobj = Py_BuildValue("i",_result);
6886 return _resultobj;
6887}
6888
6889#define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
6890static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6891 PyObject * _resultobj;
6892 bool _result;
6893 wxGrid * _arg0;
6894 int _arg1 = (int ) 0;
6895 int _arg2 = (int ) 1;
6896 bool _arg3 = (bool ) TRUE;
6897 PyObject * _argo0 = 0;
6898 int tempbool3 = (int) TRUE;
6899 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
6900
6901 self = self;
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6903 return NULL;
6904 if (_argo0) {
6905 if (_argo0 == Py_None) { _arg0 = NULL; }
6906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
6908 return NULL;
6909 }
6910 }
6911 _arg3 = (bool ) tempbool3;
6912{
6913 wxPy_BEGIN_ALLOW_THREADS;
6914 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
6915
6916 wxPy_END_ALLOW_THREADS;
6917} _resultobj = Py_BuildValue("i",_result);
6918 return _resultobj;
6919}
6920
6921#define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
6922static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6923 PyObject * _resultobj;
6924 bool _result;
6925 wxGrid * _arg0;
6926 int _arg1 = (int ) 1;
6927 bool _arg2 = (bool ) TRUE;
6928 PyObject * _argo0 = 0;
6929 int tempbool2 = (int) TRUE;
6930 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
6931
6932 self = self;
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
6934 return NULL;
6935 if (_argo0) {
6936 if (_argo0 == Py_None) { _arg0 = NULL; }
6937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
6939 return NULL;
6940 }
6941 }
6942 _arg2 = (bool ) tempbool2;
6943{
6944 wxPy_BEGIN_ALLOW_THREADS;
6945 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
6946
6947 wxPy_END_ALLOW_THREADS;
6948} _resultobj = Py_BuildValue("i",_result);
6949 return _resultobj;
6950}
6951
6952#define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
6953static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6954 PyObject * _resultobj;
6955 bool _result;
6956 wxGrid * _arg0;
6957 int _arg1 = (int ) 0;
6958 int _arg2 = (int ) 1;
6959 bool _arg3 = (bool ) TRUE;
6960 PyObject * _argo0 = 0;
6961 int tempbool3 = (int) TRUE;
6962 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
6963
6964 self = self;
6965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6966 return NULL;
6967 if (_argo0) {
6968 if (_argo0 == Py_None) { _arg0 = NULL; }
6969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
6971 return NULL;
6972 }
6973 }
6974 _arg3 = (bool ) tempbool3;
6975{
6976 wxPy_BEGIN_ALLOW_THREADS;
6977 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
6978
6979 wxPy_END_ALLOW_THREADS;
6980} _resultobj = Py_BuildValue("i",_result);
6981 return _resultobj;
6982}
6983
6984#define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
6985static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6986 PyObject * _resultobj;
6987 wxGrid * _arg0;
6988 wxDC * _arg1;
6989 wxGridCellAttr * _arg2;
6990 PyObject * _argo0 = 0;
6991 PyObject * _argo1 = 0;
6992 PyObject * _argo2 = 0;
6993 char *_kwnames[] = { "self","dc","attr", NULL };
6994
6995 self = self;
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
6997 return NULL;
6998 if (_argo0) {
6999 if (_argo0 == Py_None) { _arg0 = NULL; }
7000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7002 return NULL;
7003 }
7004 }
7005 if (_argo1) {
7006 if (_argo1 == Py_None) { _arg1 = NULL; }
7007 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7008 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7009 return NULL;
7010 }
7011 }
7012 if (_argo2) {
7013 if (_argo2 == Py_None) { _arg2 = NULL; }
7014 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7015 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7016 return NULL;
7017 }
7018 }
7019{
7020 wxPy_BEGIN_ALLOW_THREADS;
7021 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7022
7023 wxPy_END_ALLOW_THREADS;
7024} Py_INCREF(Py_None);
7025 _resultobj = Py_None;
7026 return _resultobj;
7027}
7028
7029#define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7030static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7031 PyObject * _resultobj;
7032 wxGrid * _arg0;
7033 wxDC * _arg1;
7034 wxString * _arg2;
7035 wxRect * _arg3;
7036 int _arg4 = (int ) wxLEFT;
7037 int _arg5 = (int ) wxTOP;
7038 PyObject * _argo0 = 0;
7039 PyObject * _argo1 = 0;
7040 PyObject * _obj2 = 0;
7041 wxRect temp;
7042 PyObject * _obj3 = 0;
7043 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7044
7045 self = self;
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7047 return NULL;
7048 if (_argo0) {
7049 if (_argo0 == Py_None) { _arg0 = NULL; }
7050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7052 return NULL;
7053 }
7054 }
7055 if (_argo1) {
7056 if (_argo1 == Py_None) { _arg1 = NULL; }
7057 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7058 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7059 return NULL;
7060 }
7061 }
7062{
7063 if (!PyString_Check(_obj2)) {
7064 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7065 return NULL;
7066 }
7067 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7068}
7069{
7070 _arg3 = &temp;
7071 if (! wxRect_helper(_obj3, &_arg3))
7072 return NULL;
7073}
7074{
7075 wxPy_BEGIN_ALLOW_THREADS;
7076 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7077
7078 wxPy_END_ALLOW_THREADS;
7079} Py_INCREF(Py_None);
7080 _resultobj = Py_None;
7081{
7082 if (_obj2)
7083 delete _arg2;
7084}
7085 return _resultobj;
7086}
7087
7088#define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7089static PyObject *_wrap_wxGrid_StringToLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7090 PyObject * _resultobj;
7091 wxGrid * _arg0;
7092 wxString * _arg1;
7093 wxArrayString * _arg2;
7094 PyObject * _argo0 = 0;
7095 PyObject * _obj1 = 0;
7096 PyObject * _argo2 = 0;
7097 char *_kwnames[] = { "self","value","lines", NULL };
7098
7099 self = self;
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_StringToLines",_kwnames,&_argo0,&_obj1,&_argo2))
7101 return NULL;
7102 if (_argo0) {
7103 if (_argo0 == Py_None) { _arg0 = NULL; }
7104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7106 return NULL;
7107 }
7108 }
7109{
7110 if (!PyString_Check(_obj1)) {
7111 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7112 return NULL;
7113 }
7114 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
7115}
7116 if (_argo2) {
7117 if (_argo2 == Py_None) { _arg2 = NULL; }
7118 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7119 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7120 return NULL;
7121 }
7122 }
7123{
7124 wxPy_BEGIN_ALLOW_THREADS;
7125 wxGrid_StringToLines(_arg0,*_arg1,*_arg2);
7126
7127 wxPy_END_ALLOW_THREADS;
7128} Py_INCREF(Py_None);
7129 _resultobj = Py_None;
7130{
7131 if (_obj1)
7132 delete _arg1;
7133}
7134 return _resultobj;
7135}
7136
7137#define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7138static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7139 PyObject * _resultobj;
7140 wxGrid * _arg0;
7141 wxDC * _arg1;
7142 wxArrayString * _arg2;
7143 long * _arg3;
7144 long temp;
7145 long * _arg4;
7146 long temp0;
7147 PyObject * _argo0 = 0;
7148 PyObject * _argo1 = 0;
7149 PyObject * _argo2 = 0;
7150 char *_kwnames[] = { "self","dc","lines", NULL };
7151
7152 self = self;
7153{
7154 _arg3 = &temp;
7155}
7156{
7157 _arg4 = &temp0;
7158}
7159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_argo2))
7160 return NULL;
7161 if (_argo0) {
7162 if (_argo0 == Py_None) { _arg0 = NULL; }
7163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7165 return NULL;
7166 }
7167 }
7168 if (_argo1) {
7169 if (_argo1 == Py_None) { _arg1 = NULL; }
7170 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7171 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7172 return NULL;
7173 }
7174 }
7175 if (_argo2) {
7176 if (_argo2 == Py_None) { _arg2 = NULL; }
7177 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7178 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7179 return NULL;
7180 }
7181 }
7182{
7183 wxPy_BEGIN_ALLOW_THREADS;
7184 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7185
7186 wxPy_END_ALLOW_THREADS;
7187} Py_INCREF(Py_None);
7188 _resultobj = Py_None;
7189{
7190 PyObject *o;
7191 o = PyInt_FromLong((long) (*_arg3));
7192 _resultobj = t_output_helper(_resultobj, o);
7193}
7194{
7195 PyObject *o;
7196 o = PyInt_FromLong((long) (*_arg4));
7197 _resultobj = t_output_helper(_resultobj, o);
7198}
7199 return _resultobj;
7200}
7201
7202#define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7203static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7204 PyObject * _resultobj;
7205 wxGrid * _arg0;
7206 PyObject * _argo0 = 0;
7207 char *_kwnames[] = { "self", NULL };
7208
7209 self = self;
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7211 return NULL;
7212 if (_argo0) {
7213 if (_argo0 == Py_None) { _arg0 = NULL; }
7214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7216 return NULL;
7217 }
7218 }
7219{
7220 wxPy_BEGIN_ALLOW_THREADS;
7221 wxGrid_BeginBatch(_arg0);
7222
7223 wxPy_END_ALLOW_THREADS;
7224} Py_INCREF(Py_None);
7225 _resultobj = Py_None;
7226 return _resultobj;
7227}
7228
7229#define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7230static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7231 PyObject * _resultobj;
7232 wxGrid * _arg0;
7233 PyObject * _argo0 = 0;
7234 char *_kwnames[] = { "self", NULL };
7235
7236 self = self;
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7238 return NULL;
7239 if (_argo0) {
7240 if (_argo0 == Py_None) { _arg0 = NULL; }
7241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7243 return NULL;
7244 }
7245 }
7246{
7247 wxPy_BEGIN_ALLOW_THREADS;
7248 wxGrid_EndBatch(_arg0);
7249
7250 wxPy_END_ALLOW_THREADS;
7251} Py_INCREF(Py_None);
7252 _resultobj = Py_None;
7253 return _resultobj;
7254}
7255
7256#define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7257static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7258 PyObject * _resultobj;
7259 int _result;
7260 wxGrid * _arg0;
7261 PyObject * _argo0 = 0;
7262 char *_kwnames[] = { "self", NULL };
7263
7264 self = self;
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7266 return NULL;
7267 if (_argo0) {
7268 if (_argo0 == Py_None) { _arg0 = NULL; }
7269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7271 return NULL;
7272 }
7273 }
7274{
7275 wxPy_BEGIN_ALLOW_THREADS;
7276 _result = (int )wxGrid_GetBatchCount(_arg0);
7277
7278 wxPy_END_ALLOW_THREADS;
7279} _resultobj = Py_BuildValue("i",_result);
7280 return _resultobj;
7281}
7282
7283#define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7284static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7285 PyObject * _resultobj;
7286 bool _result;
7287 wxGrid * _arg0;
7288 PyObject * _argo0 = 0;
7289 char *_kwnames[] = { "self", NULL };
7290
7291 self = self;
7292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7293 return NULL;
7294 if (_argo0) {
7295 if (_argo0 == Py_None) { _arg0 = NULL; }
7296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7298 return NULL;
7299 }
7300 }
7301{
7302 wxPy_BEGIN_ALLOW_THREADS;
7303 _result = (bool )wxGrid_IsEditable(_arg0);
7304
7305 wxPy_END_ALLOW_THREADS;
7306} _resultobj = Py_BuildValue("i",_result);
7307 return _resultobj;
7308}
7309
7310#define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7311static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7312 PyObject * _resultobj;
7313 wxGrid * _arg0;
7314 bool _arg1;
7315 PyObject * _argo0 = 0;
7316 int tempbool1;
7317 char *_kwnames[] = { "self","edit", NULL };
7318
7319 self = self;
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7321 return NULL;
7322 if (_argo0) {
7323 if (_argo0 == Py_None) { _arg0 = NULL; }
7324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7326 return NULL;
7327 }
7328 }
7329 _arg1 = (bool ) tempbool1;
7330{
7331 wxPy_BEGIN_ALLOW_THREADS;
7332 wxGrid_EnableEditing(_arg0,_arg1);
7333
7334 wxPy_END_ALLOW_THREADS;
7335} Py_INCREF(Py_None);
7336 _resultobj = Py_None;
7337 return _resultobj;
7338}
7339
7340#define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7341static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7342 PyObject * _resultobj;
7343 wxGrid * _arg0;
7344 bool _arg1 = (bool ) TRUE;
7345 PyObject * _argo0 = 0;
7346 int tempbool1 = (int) TRUE;
7347 char *_kwnames[] = { "self","enable", NULL };
7348
7349 self = self;
7350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7351 return NULL;
7352 if (_argo0) {
7353 if (_argo0 == Py_None) { _arg0 = NULL; }
7354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7356 return NULL;
7357 }
7358 }
7359 _arg1 = (bool ) tempbool1;
7360{
7361 wxPy_BEGIN_ALLOW_THREADS;
7362 wxGrid_EnableCellEditControl(_arg0,_arg1);
7363
7364 wxPy_END_ALLOW_THREADS;
7365} Py_INCREF(Py_None);
7366 _resultobj = Py_None;
7367 return _resultobj;
7368}
7369
7370#define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7371static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7372 PyObject * _resultobj;
7373 wxGrid * _arg0;
7374 PyObject * _argo0 = 0;
7375 char *_kwnames[] = { "self", NULL };
7376
7377 self = self;
7378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7379 return NULL;
7380 if (_argo0) {
7381 if (_argo0 == Py_None) { _arg0 = NULL; }
7382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7384 return NULL;
7385 }
7386 }
7387{
7388 wxPy_BEGIN_ALLOW_THREADS;
7389 wxGrid_DisableCellEditControl(_arg0);
7390
7391 wxPy_END_ALLOW_THREADS;
7392} Py_INCREF(Py_None);
7393 _resultobj = Py_None;
7394 return _resultobj;
7395}
7396
7397#define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7398static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7399 PyObject * _resultobj;
7400 bool _result;
7401 wxGrid * _arg0;
7402 PyObject * _argo0 = 0;
7403 char *_kwnames[] = { "self", NULL };
7404
7405 self = self;
7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7407 return NULL;
7408 if (_argo0) {
7409 if (_argo0 == Py_None) { _arg0 = NULL; }
7410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7412 return NULL;
7413 }
7414 }
7415{
7416 wxPy_BEGIN_ALLOW_THREADS;
7417 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7418
7419 wxPy_END_ALLOW_THREADS;
7420} _resultobj = Py_BuildValue("i",_result);
7421 return _resultobj;
7422}
7423
7424#define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7425static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject * _resultobj;
7427 bool _result;
7428 wxGrid * _arg0;
7429 PyObject * _argo0 = 0;
7430 char *_kwnames[] = { "self", NULL };
7431
7432 self = self;
7433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7434 return NULL;
7435 if (_argo0) {
7436 if (_argo0 == Py_None) { _arg0 = NULL; }
7437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7439 return NULL;
7440 }
7441 }
7442{
7443 wxPy_BEGIN_ALLOW_THREADS;
7444 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7445
7446 wxPy_END_ALLOW_THREADS;
7447} _resultobj = Py_BuildValue("i",_result);
7448 return _resultobj;
7449}
7450
7451#define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7452static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
7453 PyObject * _resultobj;
7454 bool _result;
7455 wxGrid * _arg0;
7456 PyObject * _argo0 = 0;
7457 char *_kwnames[] = { "self", NULL };
7458
7459 self = self;
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
7461 return NULL;
7462 if (_argo0) {
7463 if (_argo0 == Py_None) { _arg0 = NULL; }
7464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7466 return NULL;
7467 }
7468 }
7469{
7470 wxPy_BEGIN_ALLOW_THREADS;
7471 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
7472
7473 wxPy_END_ALLOW_THREADS;
7474} _resultobj = Py_BuildValue("i",_result);
7475 return _resultobj;
7476}
7477
7478#define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7479static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
7480 PyObject * _resultobj;
7481 bool _result;
7482 wxGrid * _arg0;
7483 PyObject * _argo0 = 0;
7484 char *_kwnames[] = { "self", NULL };
7485
7486 self = self;
7487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
7488 return NULL;
7489 if (_argo0) {
7490 if (_argo0 == Py_None) { _arg0 = NULL; }
7491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7493 return NULL;
7494 }
7495 }
7496{
7497 wxPy_BEGIN_ALLOW_THREADS;
7498 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
7499
7500 wxPy_END_ALLOW_THREADS;
7501} _resultobj = Py_BuildValue("i",_result);
7502 return _resultobj;
7503}
7504
7505#define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7506static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7507 PyObject * _resultobj;
7508 wxGrid * _arg0;
7509 PyObject * _argo0 = 0;
7510 char *_kwnames[] = { "self", NULL };
7511
7512 self = self;
7513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
7514 return NULL;
7515 if (_argo0) {
7516 if (_argo0 == Py_None) { _arg0 = NULL; }
7517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7519 return NULL;
7520 }
7521 }
7522{
7523 wxPy_BEGIN_ALLOW_THREADS;
7524 wxGrid_ShowCellEditControl(_arg0);
7525
7526 wxPy_END_ALLOW_THREADS;
7527} Py_INCREF(Py_None);
7528 _resultobj = Py_None;
7529 return _resultobj;
7530}
7531
7532#define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7533static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7534 PyObject * _resultobj;
7535 wxGrid * _arg0;
7536 PyObject * _argo0 = 0;
7537 char *_kwnames[] = { "self", NULL };
7538
7539 self = self;
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
7541 return NULL;
7542 if (_argo0) {
7543 if (_argo0 == Py_None) { _arg0 = NULL; }
7544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7546 return NULL;
7547 }
7548 }
7549{
7550 wxPy_BEGIN_ALLOW_THREADS;
7551 wxGrid_HideCellEditControl(_arg0);
7552
7553 wxPy_END_ALLOW_THREADS;
7554} Py_INCREF(Py_None);
7555 _resultobj = Py_None;
7556 return _resultobj;
7557}
7558
7559#define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7560static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7561 PyObject * _resultobj;
7562 wxGrid * _arg0;
7563 PyObject * _argo0 = 0;
7564 char *_kwnames[] = { "self", NULL };
7565
7566 self = self;
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
7568 return NULL;
7569 if (_argo0) {
7570 if (_argo0 == Py_None) { _arg0 = NULL; }
7571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7573 return NULL;
7574 }
7575 }
7576{
7577 wxPy_BEGIN_ALLOW_THREADS;
7578 wxGrid_SaveEditControlValue(_arg0);
7579
7580 wxPy_END_ALLOW_THREADS;
7581} Py_INCREF(Py_None);
7582 _resultobj = Py_None;
7583 return _resultobj;
7584}
7585
7586static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
7587 wxGridCellCoords rv;
7588 self->XYToCell(x, y, rv);
7589 return new wxGridCellCoords(rv);
7590 }
7591static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
7592 PyObject * _resultobj;
7593 wxGridCellCoords * _result;
7594 wxGrid * _arg0;
7595 int _arg1;
7596 int _arg2;
7597 PyObject * _argo0 = 0;
7598 char *_kwnames[] = { "self","x","y", NULL };
7599 char _ptemp[128];
7600
7601 self = self;
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
7603 return NULL;
7604 if (_argo0) {
7605 if (_argo0 == Py_None) { _arg0 = NULL; }
7606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7608 return NULL;
7609 }
7610 }
7611{
7612 wxPy_BEGIN_ALLOW_THREADS;
7613 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
7614
7615 wxPy_END_ALLOW_THREADS;
7616} if (_result) {
7617 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7618 _resultobj = Py_BuildValue("s",_ptemp);
7619 } else {
7620 Py_INCREF(Py_None);
7621 _resultobj = Py_None;
7622 }
7623 return _resultobj;
7624}
7625
7626#define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7627static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7628 PyObject * _resultobj;
7629 int _result;
7630 wxGrid * _arg0;
7631 int _arg1;
7632 PyObject * _argo0 = 0;
7633 char *_kwnames[] = { "self","y", NULL };
7634
7635 self = self;
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
7637 return NULL;
7638 if (_argo0) {
7639 if (_argo0 == Py_None) { _arg0 = NULL; }
7640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7642 return NULL;
7643 }
7644 }
7645{
7646 wxPy_BEGIN_ALLOW_THREADS;
7647 _result = (int )wxGrid_YToRow(_arg0,_arg1);
7648
7649 wxPy_END_ALLOW_THREADS;
7650} _resultobj = Py_BuildValue("i",_result);
7651 return _resultobj;
7652}
7653
7654#define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7655static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7656 PyObject * _resultobj;
7657 int _result;
7658 wxGrid * _arg0;
7659 int _arg1;
7660 PyObject * _argo0 = 0;
7661 char *_kwnames[] = { "self","x", NULL };
7662
7663 self = self;
7664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
7665 return NULL;
7666 if (_argo0) {
7667 if (_argo0 == Py_None) { _arg0 = NULL; }
7668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7670 return NULL;
7671 }
7672 }
7673{
7674 wxPy_BEGIN_ALLOW_THREADS;
7675 _result = (int )wxGrid_XToCol(_arg0,_arg1);
7676
7677 wxPy_END_ALLOW_THREADS;
7678} _resultobj = Py_BuildValue("i",_result);
7679 return _resultobj;
7680}
7681
7682#define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7683static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7684 PyObject * _resultobj;
7685 int _result;
7686 wxGrid * _arg0;
7687 int _arg1;
7688 PyObject * _argo0 = 0;
7689 char *_kwnames[] = { "self","y", NULL };
7690
7691 self = self;
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
7693 return NULL;
7694 if (_argo0) {
7695 if (_argo0 == Py_None) { _arg0 = NULL; }
7696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
7698 return NULL;
7699 }
7700 }
7701{
7702 wxPy_BEGIN_ALLOW_THREADS;
7703 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
7704
7705 wxPy_END_ALLOW_THREADS;
7706} _resultobj = Py_BuildValue("i",_result);
7707 return _resultobj;
7708}
7709
7710#define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7711static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7712 PyObject * _resultobj;
7713 int _result;
7714 wxGrid * _arg0;
7715 int _arg1;
7716 PyObject * _argo0 = 0;
7717 char *_kwnames[] = { "self","x", NULL };
7718
7719 self = self;
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
7721 return NULL;
7722 if (_argo0) {
7723 if (_argo0 == Py_None) { _arg0 = NULL; }
7724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
7726 return NULL;
7727 }
7728 }
7729{
7730 wxPy_BEGIN_ALLOW_THREADS;
7731 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
7732
7733 wxPy_END_ALLOW_THREADS;
7734} _resultobj = Py_BuildValue("i",_result);
7735 return _resultobj;
7736}
7737
7738#define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
7739static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7740 PyObject * _resultobj;
7741 wxRect * _result;
7742 wxGrid * _arg0;
7743 int _arg1;
7744 int _arg2;
7745 PyObject * _argo0 = 0;
7746 char *_kwnames[] = { "self","row","col", NULL };
7747 char _ptemp[128];
7748
7749 self = self;
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
7751 return NULL;
7752 if (_argo0) {
7753 if (_argo0 == Py_None) { _arg0 = NULL; }
7754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
7756 return NULL;
7757 }
7758 }
7759{
7760 wxPy_BEGIN_ALLOW_THREADS;
7761 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
7762
7763 wxPy_END_ALLOW_THREADS;
7764} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
7765 _resultobj = Py_BuildValue("s",_ptemp);
7766 return _resultobj;
7767}
7768
7769#define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
7770static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7771 PyObject * _resultobj;
7772 int _result;
7773 wxGrid * _arg0;
7774 PyObject * _argo0 = 0;
7775 char *_kwnames[] = { "self", NULL };
7776
7777 self = self;
7778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
7779 return NULL;
7780 if (_argo0) {
7781 if (_argo0 == Py_None) { _arg0 = NULL; }
7782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
7784 return NULL;
7785 }
7786 }
7787{
7788 wxPy_BEGIN_ALLOW_THREADS;
7789 _result = (int )wxGrid_GetGridCursorRow(_arg0);
7790
7791 wxPy_END_ALLOW_THREADS;
7792} _resultobj = Py_BuildValue("i",_result);
7793 return _resultobj;
7794}
7795
7796#define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
7797static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject * _resultobj;
7799 int _result;
7800 wxGrid * _arg0;
7801 PyObject * _argo0 = 0;
7802 char *_kwnames[] = { "self", NULL };
7803
7804 self = self;
7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
7806 return NULL;
7807 if (_argo0) {
7808 if (_argo0 == Py_None) { _arg0 = NULL; }
7809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
7811 return NULL;
7812 }
7813 }
7814{
7815 wxPy_BEGIN_ALLOW_THREADS;
7816 _result = (int )wxGrid_GetGridCursorCol(_arg0);
7817
7818 wxPy_END_ALLOW_THREADS;
7819} _resultobj = Py_BuildValue("i",_result);
7820 return _resultobj;
7821}
7822
7823#define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
7824static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7825 PyObject * _resultobj;
7826 bool _result;
7827 wxGrid * _arg0;
7828 int _arg1;
7829 int _arg2;
7830 bool _arg3 = (bool ) TRUE;
7831 PyObject * _argo0 = 0;
7832 int tempbool3 = (int) TRUE;
7833 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
7834
7835 self = self;
7836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7837 return NULL;
7838 if (_argo0) {
7839 if (_argo0 == Py_None) { _arg0 = NULL; }
7840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
7842 return NULL;
7843 }
7844 }
7845 _arg3 = (bool ) tempbool3;
7846{
7847 wxPy_BEGIN_ALLOW_THREADS;
7848 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
7849
7850 wxPy_END_ALLOW_THREADS;
7851} _resultobj = Py_BuildValue("i",_result);
7852 return _resultobj;
7853}
7854
7855#define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
7856static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject * _resultobj;
7858 wxGrid * _arg0;
7859 int _arg1;
7860 int _arg2;
7861 PyObject * _argo0 = 0;
7862 char *_kwnames[] = { "self","row","col", NULL };
7863
7864 self = self;
7865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
7866 return NULL;
7867 if (_argo0) {
7868 if (_argo0 == Py_None) { _arg0 = NULL; }
7869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
7871 return NULL;
7872 }
7873 }
7874{
7875 wxPy_BEGIN_ALLOW_THREADS;
7876 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
7877
7878 wxPy_END_ALLOW_THREADS;
7879} Py_INCREF(Py_None);
7880 _resultobj = Py_None;
7881 return _resultobj;
7882}
7883
7884#define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
7885static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
7886 PyObject * _resultobj;
7887 wxGrid * _arg0;
7888 int _arg1;
7889 int _arg2;
7890 PyObject * _argo0 = 0;
7891 char *_kwnames[] = { "self","row","col", NULL };
7892
7893 self = self;
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
7895 return NULL;
7896 if (_argo0) {
7897 if (_argo0 == Py_None) { _arg0 = NULL; }
7898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
7900 return NULL;
7901 }
7902 }
7903{
7904 wxPy_BEGIN_ALLOW_THREADS;
7905 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
7906
7907 wxPy_END_ALLOW_THREADS;
7908} Py_INCREF(Py_None);
7909 _resultobj = Py_None;
7910 return _resultobj;
7911}
7912
7913#define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
7914static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
7915 PyObject * _resultobj;
7916 bool _result;
7917 wxGrid * _arg0;
7918 bool _arg1;
7919 PyObject * _argo0 = 0;
7920 int tempbool1;
7921 char *_kwnames[] = { "self","expandSelection", NULL };
7922
7923 self = self;
7924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
7925 return NULL;
7926 if (_argo0) {
7927 if (_argo0 == Py_None) { _arg0 = NULL; }
7928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
7930 return NULL;
7931 }
7932 }
7933 _arg1 = (bool ) tempbool1;
7934{
7935 wxPy_BEGIN_ALLOW_THREADS;
7936 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
7937
7938 wxPy_END_ALLOW_THREADS;
7939} _resultobj = Py_BuildValue("i",_result);
7940 return _resultobj;
7941}
7942
7943#define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
7944static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject * _resultobj;
7946 bool _result;
7947 wxGrid * _arg0;
7948 bool _arg1;
7949 PyObject * _argo0 = 0;
7950 int tempbool1;
7951 char *_kwnames[] = { "self","expandSelection", NULL };
7952
7953 self = self;
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
7955 return NULL;
7956 if (_argo0) {
7957 if (_argo0 == Py_None) { _arg0 = NULL; }
7958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
7960 return NULL;
7961 }
7962 }
7963 _arg1 = (bool ) tempbool1;
7964{
7965 wxPy_BEGIN_ALLOW_THREADS;
7966 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
7967
7968 wxPy_END_ALLOW_THREADS;
7969} _resultobj = Py_BuildValue("i",_result);
7970 return _resultobj;
7971}
7972
7973#define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
7974static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7975 PyObject * _resultobj;
7976 bool _result;
7977 wxGrid * _arg0;
7978 bool _arg1;
7979 PyObject * _argo0 = 0;
7980 int tempbool1;
7981 char *_kwnames[] = { "self","expandSelection", NULL };
7982
7983 self = self;
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
7985 return NULL;
7986 if (_argo0) {
7987 if (_argo0 == Py_None) { _arg0 = NULL; }
7988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
7990 return NULL;
7991 }
7992 }
7993 _arg1 = (bool ) tempbool1;
7994{
7995 wxPy_BEGIN_ALLOW_THREADS;
7996 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
7997
7998 wxPy_END_ALLOW_THREADS;
7999} _resultobj = Py_BuildValue("i",_result);
8000 return _resultobj;
8001}
8002
8003#define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8004static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8005 PyObject * _resultobj;
8006 bool _result;
8007 wxGrid * _arg0;
8008 bool _arg1;
8009 PyObject * _argo0 = 0;
8010 int tempbool1;
8011 char *_kwnames[] = { "self","expandSelection", NULL };
8012
8013 self = self;
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8015 return NULL;
8016 if (_argo0) {
8017 if (_argo0 == Py_None) { _arg0 = NULL; }
8018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8020 return NULL;
8021 }
8022 }
8023 _arg1 = (bool ) tempbool1;
8024{
8025 wxPy_BEGIN_ALLOW_THREADS;
8026 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8027
8028 wxPy_END_ALLOW_THREADS;
8029} _resultobj = Py_BuildValue("i",_result);
8030 return _resultobj;
8031}
8032
8033#define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8034static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8035 PyObject * _resultobj;
8036 bool _result;
8037 wxGrid * _arg0;
8038 PyObject * _argo0 = 0;
8039 char *_kwnames[] = { "self", NULL };
8040
8041 self = self;
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8043 return NULL;
8044 if (_argo0) {
8045 if (_argo0 == Py_None) { _arg0 = NULL; }
8046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8048 return NULL;
8049 }
8050 }
8051{
8052 wxPy_BEGIN_ALLOW_THREADS;
8053 _result = (bool )wxGrid_MovePageDown(_arg0);
8054
8055 wxPy_END_ALLOW_THREADS;
8056} _resultobj = Py_BuildValue("i",_result);
8057 return _resultobj;
8058}
8059
8060#define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8061static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8062 PyObject * _resultobj;
8063 bool _result;
8064 wxGrid * _arg0;
8065 PyObject * _argo0 = 0;
8066 char *_kwnames[] = { "self", NULL };
8067
8068 self = self;
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8070 return NULL;
8071 if (_argo0) {
8072 if (_argo0 == Py_None) { _arg0 = NULL; }
8073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8075 return NULL;
8076 }
8077 }
8078{
8079 wxPy_BEGIN_ALLOW_THREADS;
8080 _result = (bool )wxGrid_MovePageUp(_arg0);
8081
8082 wxPy_END_ALLOW_THREADS;
8083} _resultobj = Py_BuildValue("i",_result);
8084 return _resultobj;
8085}
8086
8087#define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8088static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject * _resultobj;
8090 bool _result;
8091 wxGrid * _arg0;
8092 bool _arg1;
8093 PyObject * _argo0 = 0;
8094 int tempbool1;
8095 char *_kwnames[] = { "self","expandSelection", NULL };
8096
8097 self = self;
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8099 return NULL;
8100 if (_argo0) {
8101 if (_argo0 == Py_None) { _arg0 = NULL; }
8102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8104 return NULL;
8105 }
8106 }
8107 _arg1 = (bool ) tempbool1;
8108{
8109 wxPy_BEGIN_ALLOW_THREADS;
8110 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8111
8112 wxPy_END_ALLOW_THREADS;
8113} _resultobj = Py_BuildValue("i",_result);
8114 return _resultobj;
8115}
8116
8117#define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8118static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8119 PyObject * _resultobj;
8120 bool _result;
8121 wxGrid * _arg0;
8122 bool _arg1;
8123 PyObject * _argo0 = 0;
8124 int tempbool1;
8125 char *_kwnames[] = { "self","expandSelection", NULL };
8126
8127 self = self;
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8129 return NULL;
8130 if (_argo0) {
8131 if (_argo0 == Py_None) { _arg0 = NULL; }
8132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8134 return NULL;
8135 }
8136 }
8137 _arg1 = (bool ) tempbool1;
8138{
8139 wxPy_BEGIN_ALLOW_THREADS;
8140 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8141
8142 wxPy_END_ALLOW_THREADS;
8143} _resultobj = Py_BuildValue("i",_result);
8144 return _resultobj;
8145}
8146
8147#define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8148static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8149 PyObject * _resultobj;
8150 bool _result;
8151 wxGrid * _arg0;
8152 bool _arg1;
8153 PyObject * _argo0 = 0;
8154 int tempbool1;
8155 char *_kwnames[] = { "self","expandSelection", NULL };
8156
8157 self = self;
8158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8159 return NULL;
8160 if (_argo0) {
8161 if (_argo0 == Py_None) { _arg0 = NULL; }
8162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8164 return NULL;
8165 }
8166 }
8167 _arg1 = (bool ) tempbool1;
8168{
8169 wxPy_BEGIN_ALLOW_THREADS;
8170 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8171
8172 wxPy_END_ALLOW_THREADS;
8173} _resultobj = Py_BuildValue("i",_result);
8174 return _resultobj;
8175}
8176
8177#define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8178static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject * _resultobj;
8180 bool _result;
8181 wxGrid * _arg0;
8182 bool _arg1;
8183 PyObject * _argo0 = 0;
8184 int tempbool1;
8185 char *_kwnames[] = { "self","expandSelection", NULL };
8186
8187 self = self;
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8189 return NULL;
8190 if (_argo0) {
8191 if (_argo0 == Py_None) { _arg0 = NULL; }
8192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8194 return NULL;
8195 }
8196 }
8197 _arg1 = (bool ) tempbool1;
8198{
8199 wxPy_BEGIN_ALLOW_THREADS;
8200 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8201
8202 wxPy_END_ALLOW_THREADS;
8203} _resultobj = Py_BuildValue("i",_result);
8204 return _resultobj;
8205}
8206
8207#define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8208static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject * _resultobj;
8210 int _result;
8211 wxGrid * _arg0;
8212 PyObject * _argo0 = 0;
8213 char *_kwnames[] = { "self", NULL };
8214
8215 self = self;
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8217 return NULL;
8218 if (_argo0) {
8219 if (_argo0 == Py_None) { _arg0 = NULL; }
8220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8222 return NULL;
8223 }
8224 }
8225{
8226 wxPy_BEGIN_ALLOW_THREADS;
8227 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8228
8229 wxPy_END_ALLOW_THREADS;
8230} _resultobj = Py_BuildValue("i",_result);
8231 return _resultobj;
8232}
8233
8234#define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8235static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject * _resultobj;
8237 int _result;
8238 wxGrid * _arg0;
8239 PyObject * _argo0 = 0;
8240 char *_kwnames[] = { "self", NULL };
8241
8242 self = self;
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8244 return NULL;
8245 if (_argo0) {
8246 if (_argo0 == Py_None) { _arg0 = NULL; }
8247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8249 return NULL;
8250 }
8251 }
8252{
8253 wxPy_BEGIN_ALLOW_THREADS;
8254 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8255
8256 wxPy_END_ALLOW_THREADS;
8257} _resultobj = Py_BuildValue("i",_result);
8258 return _resultobj;
8259}
8260
8261#define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8262static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject * _resultobj;
8264 int _result;
8265 wxGrid * _arg0;
8266 PyObject * _argo0 = 0;
8267 char *_kwnames[] = { "self", NULL };
8268
8269 self = self;
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8271 return NULL;
8272 if (_argo0) {
8273 if (_argo0 == Py_None) { _arg0 = NULL; }
8274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8276 return NULL;
8277 }
8278 }
8279{
8280 wxPy_BEGIN_ALLOW_THREADS;
8281 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8282
8283 wxPy_END_ALLOW_THREADS;
8284} _resultobj = Py_BuildValue("i",_result);
8285 return _resultobj;
8286}
8287
8288#define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8289static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8290 PyObject * _resultobj;
8291 int _result;
8292 wxGrid * _arg0;
8293 PyObject * _argo0 = 0;
8294 char *_kwnames[] = { "self", NULL };
8295
8296 self = self;
8297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8298 return NULL;
8299 if (_argo0) {
8300 if (_argo0 == Py_None) { _arg0 = NULL; }
8301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8303 return NULL;
8304 }
8305 }
8306{
8307 wxPy_BEGIN_ALLOW_THREADS;
8308 _result = (int )wxGrid_GetColLabelSize(_arg0);
8309
8310 wxPy_END_ALLOW_THREADS;
8311} _resultobj = Py_BuildValue("i",_result);
8312 return _resultobj;
8313}
8314
8315#define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8316static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8317 PyObject * _resultobj;
8318 wxColour * _result;
8319 wxGrid * _arg0;
8320 PyObject * _argo0 = 0;
8321 char *_kwnames[] = { "self", NULL };
8322 char _ptemp[128];
8323
8324 self = self;
8325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8326 return NULL;
8327 if (_argo0) {
8328 if (_argo0 == Py_None) { _arg0 = NULL; }
8329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8331 return NULL;
8332 }
8333 }
8334{
8335 wxPy_BEGIN_ALLOW_THREADS;
8336 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8337
8338 wxPy_END_ALLOW_THREADS;
8339} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8340 _resultobj = Py_BuildValue("s",_ptemp);
8341 return _resultobj;
8342}
8343
8344#define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8345static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8346 PyObject * _resultobj;
8347 wxColour * _result;
8348 wxGrid * _arg0;
8349 PyObject * _argo0 = 0;
8350 char *_kwnames[] = { "self", NULL };
8351 char _ptemp[128];
8352
8353 self = self;
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8355 return NULL;
8356 if (_argo0) {
8357 if (_argo0 == Py_None) { _arg0 = NULL; }
8358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8360 return NULL;
8361 }
8362 }
8363{
8364 wxPy_BEGIN_ALLOW_THREADS;
8365 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8366
8367 wxPy_END_ALLOW_THREADS;
8368} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8369 _resultobj = Py_BuildValue("s",_ptemp);
8370 return _resultobj;
8371}
8372
8373#define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8374static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8375 PyObject * _resultobj;
8376 wxFont * _result;
8377 wxGrid * _arg0;
8378 PyObject * _argo0 = 0;
8379 char *_kwnames[] = { "self", NULL };
8380 char _ptemp[128];
8381
8382 self = self;
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8384 return NULL;
8385 if (_argo0) {
8386 if (_argo0 == Py_None) { _arg0 = NULL; }
8387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8389 return NULL;
8390 }
8391 }
8392{
8393 wxPy_BEGIN_ALLOW_THREADS;
8394 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8395
8396 wxPy_END_ALLOW_THREADS;
8397} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8398 _resultobj = Py_BuildValue("s",_ptemp);
8399 return _resultobj;
8400}
8401
8402#define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8403static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8404 PyObject * _resultobj;
8405 wxGrid * _arg0;
8406 int * _arg1;
8407 int temp;
8408 int * _arg2;
8409 int temp0;
8410 PyObject * _argo0 = 0;
8411 char *_kwnames[] = { "self", NULL };
8412
8413 self = self;
8414{
8415 _arg1 = &temp;
8416}
8417{
8418 _arg2 = &temp0;
8419}
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
8421 return NULL;
8422 if (_argo0) {
8423 if (_argo0 == Py_None) { _arg0 = NULL; }
8424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8426 return NULL;
8427 }
8428 }
8429{
8430 wxPy_BEGIN_ALLOW_THREADS;
8431 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
8432
8433 wxPy_END_ALLOW_THREADS;
8434} Py_INCREF(Py_None);
8435 _resultobj = Py_None;
8436{
8437 PyObject *o;
8438 o = PyInt_FromLong((long) (*_arg1));
8439 _resultobj = t_output_helper(_resultobj, o);
8440}
8441{
8442 PyObject *o;
8443 o = PyInt_FromLong((long) (*_arg2));
8444 _resultobj = t_output_helper(_resultobj, o);
8445}
8446 return _resultobj;
8447}
8448
8449#define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8450static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8451 PyObject * _resultobj;
8452 wxGrid * _arg0;
8453 int * _arg1;
8454 int temp;
8455 int * _arg2;
8456 int temp0;
8457 PyObject * _argo0 = 0;
8458 char *_kwnames[] = { "self", NULL };
8459
8460 self = self;
8461{
8462 _arg1 = &temp;
8463}
8464{
8465 _arg2 = &temp0;
8466}
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
8468 return NULL;
8469 if (_argo0) {
8470 if (_argo0 == Py_None) { _arg0 = NULL; }
8471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8473 return NULL;
8474 }
8475 }
8476{
8477 wxPy_BEGIN_ALLOW_THREADS;
8478 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
8479
8480 wxPy_END_ALLOW_THREADS;
8481} Py_INCREF(Py_None);
8482 _resultobj = Py_None;
8483{
8484 PyObject *o;
8485 o = PyInt_FromLong((long) (*_arg1));
8486 _resultobj = t_output_helper(_resultobj, o);
8487}
8488{
8489 PyObject *o;
8490 o = PyInt_FromLong((long) (*_arg2));
8491 _resultobj = t_output_helper(_resultobj, o);
8492}
8493 return _resultobj;
8494}
8495
8496#define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8497static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8498 PyObject * _resultobj;
8499 wxString * _result;
8500 wxGrid * _arg0;
8501 int _arg1;
8502 PyObject * _argo0 = 0;
8503 char *_kwnames[] = { "self","row", NULL };
8504
8505 self = self;
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
8507 return NULL;
8508 if (_argo0) {
8509 if (_argo0 == Py_None) { _arg0 = NULL; }
8510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8512 return NULL;
8513 }
8514 }
8515{
8516 wxPy_BEGIN_ALLOW_THREADS;
8517 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
8518
8519 wxPy_END_ALLOW_THREADS;
8520}{
8521 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8522}
8523{
8524 delete _result;
8525}
8526 return _resultobj;
8527}
8528
8529#define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8530static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject * _resultobj;
8532 wxString * _result;
8533 wxGrid * _arg0;
8534 int _arg1;
8535 PyObject * _argo0 = 0;
8536 char *_kwnames[] = { "self","col", NULL };
8537
8538 self = self;
8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
8540 return NULL;
8541 if (_argo0) {
8542 if (_argo0 == Py_None) { _arg0 = NULL; }
8543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8545 return NULL;
8546 }
8547 }
8548{
8549 wxPy_BEGIN_ALLOW_THREADS;
8550 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
8551
8552 wxPy_END_ALLOW_THREADS;
8553}{
8554 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8555}
8556{
8557 delete _result;
8558}
8559 return _resultobj;
8560}
8561
8562#define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8563static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8564 PyObject * _resultobj;
8565 wxColour * _result;
8566 wxGrid * _arg0;
8567 PyObject * _argo0 = 0;
8568 char *_kwnames[] = { "self", NULL };
8569 char _ptemp[128];
8570
8571 self = self;
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
8573 return NULL;
8574 if (_argo0) {
8575 if (_argo0 == Py_None) { _arg0 = NULL; }
8576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8578 return NULL;
8579 }
8580 }
8581{
8582 wxPy_BEGIN_ALLOW_THREADS;
8583 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
8584
8585 wxPy_END_ALLOW_THREADS;
8586} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8587 _resultobj = Py_BuildValue("s",_ptemp);
8588 return _resultobj;
8589}
8590
8591#define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8592static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8593 PyObject * _resultobj;
8594 wxColour * _result;
8595 wxGrid * _arg0;
8596 PyObject * _argo0 = 0;
8597 char *_kwnames[] = { "self", NULL };
8598 char _ptemp[128];
8599
8600 self = self;
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
8602 return NULL;
8603 if (_argo0) {
8604 if (_argo0 == Py_None) { _arg0 = NULL; }
8605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8607 return NULL;
8608 }
8609 }
8610{
8611 wxPy_BEGIN_ALLOW_THREADS;
8612 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
8613
8614 wxPy_END_ALLOW_THREADS;
8615} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8616 _resultobj = Py_BuildValue("s",_ptemp);
8617 return _resultobj;
8618}
8619
8620#define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8621static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8622 PyObject * _resultobj;
8623 wxGrid * _arg0;
8624 int _arg1;
8625 PyObject * _argo0 = 0;
8626 char *_kwnames[] = { "self","width", NULL };
8627
8628 self = self;
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
8630 return NULL;
8631 if (_argo0) {
8632 if (_argo0 == Py_None) { _arg0 = NULL; }
8633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8635 return NULL;
8636 }
8637 }
8638{
8639 wxPy_BEGIN_ALLOW_THREADS;
8640 wxGrid_SetRowLabelSize(_arg0,_arg1);
8641
8642 wxPy_END_ALLOW_THREADS;
8643} Py_INCREF(Py_None);
8644 _resultobj = Py_None;
8645 return _resultobj;
8646}
8647
8648#define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8649static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8650 PyObject * _resultobj;
8651 wxGrid * _arg0;
8652 int _arg1;
8653 PyObject * _argo0 = 0;
8654 char *_kwnames[] = { "self","height", NULL };
8655
8656 self = self;
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
8658 return NULL;
8659 if (_argo0) {
8660 if (_argo0 == Py_None) { _arg0 = NULL; }
8661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8663 return NULL;
8664 }
8665 }
8666{
8667 wxPy_BEGIN_ALLOW_THREADS;
8668 wxGrid_SetColLabelSize(_arg0,_arg1);
8669
8670 wxPy_END_ALLOW_THREADS;
8671} Py_INCREF(Py_None);
8672 _resultobj = Py_None;
8673 return _resultobj;
8674}
8675
8676#define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
8677static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject * _resultobj;
8679 wxGrid * _arg0;
8680 wxColour * _arg1;
8681 PyObject * _argo0 = 0;
8682 wxColour temp;
8683 PyObject * _obj1 = 0;
8684 char *_kwnames[] = { "self","arg2", NULL };
8685
8686 self = self;
8687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
8688 return NULL;
8689 if (_argo0) {
8690 if (_argo0 == Py_None) { _arg0 = NULL; }
8691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
8693 return NULL;
8694 }
8695 }
8696{
8697 _arg1 = &temp;
8698 if (! wxColour_helper(_obj1, &_arg1))
8699 return NULL;
8700}
8701{
8702 wxPy_BEGIN_ALLOW_THREADS;
8703 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
8704
8705 wxPy_END_ALLOW_THREADS;
8706} Py_INCREF(Py_None);
8707 _resultobj = Py_None;
8708 return _resultobj;
8709}
8710
8711#define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
8712static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8713 PyObject * _resultobj;
8714 wxGrid * _arg0;
8715 wxColour * _arg1;
8716 PyObject * _argo0 = 0;
8717 wxColour temp;
8718 PyObject * _obj1 = 0;
8719 char *_kwnames[] = { "self","arg2", NULL };
8720
8721 self = self;
8722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
8723 return NULL;
8724 if (_argo0) {
8725 if (_argo0 == Py_None) { _arg0 = NULL; }
8726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
8728 return NULL;
8729 }
8730 }
8731{
8732 _arg1 = &temp;
8733 if (! wxColour_helper(_obj1, &_arg1))
8734 return NULL;
8735}
8736{
8737 wxPy_BEGIN_ALLOW_THREADS;
8738 wxGrid_SetLabelTextColour(_arg0,*_arg1);
8739
8740 wxPy_END_ALLOW_THREADS;
8741} Py_INCREF(Py_None);
8742 _resultobj = Py_None;
8743 return _resultobj;
8744}
8745
8746#define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
8747static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8748 PyObject * _resultobj;
8749 wxGrid * _arg0;
8750 wxFont * _arg1;
8751 PyObject * _argo0 = 0;
8752 PyObject * _argo1 = 0;
8753 char *_kwnames[] = { "self","arg2", NULL };
8754
8755 self = self;
8756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
8757 return NULL;
8758 if (_argo0) {
8759 if (_argo0 == Py_None) { _arg0 = NULL; }
8760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
8762 return NULL;
8763 }
8764 }
8765 if (_argo1) {
8766 if (_argo1 == Py_None) { _arg1 = NULL; }
8767 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8768 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
8769 return NULL;
8770 }
8771 }
8772{
8773 wxPy_BEGIN_ALLOW_THREADS;
8774 wxGrid_SetLabelFont(_arg0,*_arg1);
8775
8776 wxPy_END_ALLOW_THREADS;
8777} Py_INCREF(Py_None);
8778 _resultobj = Py_None;
8779 return _resultobj;
8780}
8781
8782#define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
8783static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8784 PyObject * _resultobj;
8785 wxGrid * _arg0;
8786 int _arg1;
8787 int _arg2;
8788 PyObject * _argo0 = 0;
8789 char *_kwnames[] = { "self","horiz","vert", NULL };
8790
8791 self = self;
8792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8793 return NULL;
8794 if (_argo0) {
8795 if (_argo0 == Py_None) { _arg0 = NULL; }
8796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
8798 return NULL;
8799 }
8800 }
8801{
8802 wxPy_BEGIN_ALLOW_THREADS;
8803 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
8804
8805 wxPy_END_ALLOW_THREADS;
8806} Py_INCREF(Py_None);
8807 _resultobj = Py_None;
8808 return _resultobj;
8809}
8810
8811#define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
8812static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8813 PyObject * _resultobj;
8814 wxGrid * _arg0;
8815 int _arg1;
8816 int _arg2;
8817 PyObject * _argo0 = 0;
8818 char *_kwnames[] = { "self","horiz","vert", NULL };
8819
8820 self = self;
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8822 return NULL;
8823 if (_argo0) {
8824 if (_argo0 == Py_None) { _arg0 = NULL; }
8825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
8827 return NULL;
8828 }
8829 }
8830{
8831 wxPy_BEGIN_ALLOW_THREADS;
8832 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
8833
8834 wxPy_END_ALLOW_THREADS;
8835} Py_INCREF(Py_None);
8836 _resultobj = Py_None;
8837 return _resultobj;
8838}
8839
8840#define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
8841static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8842 PyObject * _resultobj;
8843 wxGrid * _arg0;
8844 int _arg1;
8845 wxString * _arg2;
8846 PyObject * _argo0 = 0;
8847 PyObject * _obj2 = 0;
8848 char *_kwnames[] = { "self","row","arg3", NULL };
8849
8850 self = self;
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
8852 return NULL;
8853 if (_argo0) {
8854 if (_argo0 == Py_None) { _arg0 = NULL; }
8855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
8857 return NULL;
8858 }
8859 }
8860{
8861 if (!PyString_Check(_obj2)) {
8862 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8863 return NULL;
8864 }
8865 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8866}
8867{
8868 wxPy_BEGIN_ALLOW_THREADS;
8869 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
8870
8871 wxPy_END_ALLOW_THREADS;
8872} Py_INCREF(Py_None);
8873 _resultobj = Py_None;
8874{
8875 if (_obj2)
8876 delete _arg2;
8877}
8878 return _resultobj;
8879}
8880
8881#define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
8882static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject * _resultobj;
8884 wxGrid * _arg0;
8885 int _arg1;
8886 wxString * _arg2;
8887 PyObject * _argo0 = 0;
8888 PyObject * _obj2 = 0;
8889 char *_kwnames[] = { "self","col","arg3", NULL };
8890
8891 self = self;
8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
8893 return NULL;
8894 if (_argo0) {
8895 if (_argo0 == Py_None) { _arg0 = NULL; }
8896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
8898 return NULL;
8899 }
8900 }
8901{
8902 if (!PyString_Check(_obj2)) {
8903 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8904 return NULL;
8905 }
8906 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8907}
8908{
8909 wxPy_BEGIN_ALLOW_THREADS;
8910 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
8911
8912 wxPy_END_ALLOW_THREADS;
8913} Py_INCREF(Py_None);
8914 _resultobj = Py_None;
8915{
8916 if (_obj2)
8917 delete _arg2;
8918}
8919 return _resultobj;
8920}
8921
8922#define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
8923static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject * _resultobj;
8925 wxGrid * _arg0;
8926 wxColour * _arg1;
8927 PyObject * _argo0 = 0;
8928 wxColour temp;
8929 PyObject * _obj1 = 0;
8930 char *_kwnames[] = { "self","arg2", NULL };
8931
8932 self = self;
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
8934 return NULL;
8935 if (_argo0) {
8936 if (_argo0 == Py_None) { _arg0 = NULL; }
8937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
8939 return NULL;
8940 }
8941 }
8942{
8943 _arg1 = &temp;
8944 if (! wxColour_helper(_obj1, &_arg1))
8945 return NULL;
8946}
8947{
8948 wxPy_BEGIN_ALLOW_THREADS;
8949 wxGrid_SetGridLineColour(_arg0,*_arg1);
8950
8951 wxPy_END_ALLOW_THREADS;
8952} Py_INCREF(Py_None);
8953 _resultobj = Py_None;
8954 return _resultobj;
8955}
8956
8957#define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
8958static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8959 PyObject * _resultobj;
8960 wxGrid * _arg0;
8961 wxColour * _arg1;
8962 PyObject * _argo0 = 0;
8963 wxColour temp;
8964 PyObject * _obj1 = 0;
8965 char *_kwnames[] = { "self","arg2", NULL };
8966
8967 self = self;
8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
8969 return NULL;
8970 if (_argo0) {
8971 if (_argo0 == Py_None) { _arg0 = NULL; }
8972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
8974 return NULL;
8975 }
8976 }
8977{
8978 _arg1 = &temp;
8979 if (! wxColour_helper(_obj1, &_arg1))
8980 return NULL;
8981}
8982{
8983 wxPy_BEGIN_ALLOW_THREADS;
8984 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
8985
8986 wxPy_END_ALLOW_THREADS;
8987} Py_INCREF(Py_None);
8988 _resultobj = Py_None;
8989 return _resultobj;
8990}
8991
8992#define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
8993static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject * _resultobj;
8995 wxGrid * _arg0;
8996 bool _arg1 = (bool ) TRUE;
8997 PyObject * _argo0 = 0;
8998 int tempbool1 = (int) TRUE;
8999 char *_kwnames[] = { "self","enable", NULL };
9000
9001 self = self;
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9003 return NULL;
9004 if (_argo0) {
9005 if (_argo0 == Py_None) { _arg0 = NULL; }
9006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9008 return NULL;
9009 }
9010 }
9011 _arg1 = (bool ) tempbool1;
9012{
9013 wxPy_BEGIN_ALLOW_THREADS;
9014 wxGrid_EnableDragRowSize(_arg0,_arg1);
9015
9016 wxPy_END_ALLOW_THREADS;
9017} Py_INCREF(Py_None);
9018 _resultobj = Py_None;
9019 return _resultobj;
9020}
9021
9022#define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9023static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9024 PyObject * _resultobj;
9025 wxGrid * _arg0;
9026 PyObject * _argo0 = 0;
9027 char *_kwnames[] = { "self", NULL };
9028
9029 self = self;
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9031 return NULL;
9032 if (_argo0) {
9033 if (_argo0 == Py_None) { _arg0 = NULL; }
9034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9036 return NULL;
9037 }
9038 }
9039{
9040 wxPy_BEGIN_ALLOW_THREADS;
9041 wxGrid_DisableDragRowSize(_arg0);
9042
9043 wxPy_END_ALLOW_THREADS;
9044} Py_INCREF(Py_None);
9045 _resultobj = Py_None;
9046 return _resultobj;
9047}
9048
9049#define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9050static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9051 PyObject * _resultobj;
9052 bool _result;
9053 wxGrid * _arg0;
9054 PyObject * _argo0 = 0;
9055 char *_kwnames[] = { "self", NULL };
9056
9057 self = self;
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9059 return NULL;
9060 if (_argo0) {
9061 if (_argo0 == Py_None) { _arg0 = NULL; }
9062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9064 return NULL;
9065 }
9066 }
9067{
9068 wxPy_BEGIN_ALLOW_THREADS;
9069 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9070
9071 wxPy_END_ALLOW_THREADS;
9072} _resultobj = Py_BuildValue("i",_result);
9073 return _resultobj;
9074}
9075
9076#define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9077static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9078 PyObject * _resultobj;
9079 wxGrid * _arg0;
9080 bool _arg1 = (bool ) TRUE;
9081 PyObject * _argo0 = 0;
9082 int tempbool1 = (int) TRUE;
9083 char *_kwnames[] = { "self","enable", NULL };
9084
9085 self = self;
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9087 return NULL;
9088 if (_argo0) {
9089 if (_argo0 == Py_None) { _arg0 = NULL; }
9090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9092 return NULL;
9093 }
9094 }
9095 _arg1 = (bool ) tempbool1;
9096{
9097 wxPy_BEGIN_ALLOW_THREADS;
9098 wxGrid_EnableDragColSize(_arg0,_arg1);
9099
9100 wxPy_END_ALLOW_THREADS;
9101} Py_INCREF(Py_None);
9102 _resultobj = Py_None;
9103 return _resultobj;
9104}
9105
9106#define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9107static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9108 PyObject * _resultobj;
9109 wxGrid * _arg0;
9110 PyObject * _argo0 = 0;
9111 char *_kwnames[] = { "self", NULL };
9112
9113 self = self;
9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9115 return NULL;
9116 if (_argo0) {
9117 if (_argo0 == Py_None) { _arg0 = NULL; }
9118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9120 return NULL;
9121 }
9122 }
9123{
9124 wxPy_BEGIN_ALLOW_THREADS;
9125 wxGrid_DisableDragColSize(_arg0);
9126
9127 wxPy_END_ALLOW_THREADS;
9128} Py_INCREF(Py_None);
9129 _resultobj = Py_None;
9130 return _resultobj;
9131}
9132
9133#define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9134static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9135 PyObject * _resultobj;
9136 bool _result;
9137 wxGrid * _arg0;
9138 PyObject * _argo0 = 0;
9139 char *_kwnames[] = { "self", NULL };
9140
9141 self = self;
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9143 return NULL;
9144 if (_argo0) {
9145 if (_argo0 == Py_None) { _arg0 = NULL; }
9146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9148 return NULL;
9149 }
9150 }
9151{
9152 wxPy_BEGIN_ALLOW_THREADS;
9153 _result = (bool )wxGrid_CanDragColSize(_arg0);
9154
9155 wxPy_END_ALLOW_THREADS;
9156} _resultobj = Py_BuildValue("i",_result);
9157 return _resultobj;
9158}
9159
9160#define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9161static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9162 PyObject * _resultobj;
9163 wxGrid * _arg0;
9164 bool _arg1 = (bool ) TRUE;
9165 PyObject * _argo0 = 0;
9166 int tempbool1 = (int) TRUE;
9167 char *_kwnames[] = { "self","enable", NULL };
9168
9169 self = self;
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9171 return NULL;
9172 if (_argo0) {
9173 if (_argo0 == Py_None) { _arg0 = NULL; }
9174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9176 return NULL;
9177 }
9178 }
9179 _arg1 = (bool ) tempbool1;
9180{
9181 wxPy_BEGIN_ALLOW_THREADS;
9182 wxGrid_EnableDragGridSize(_arg0,_arg1);
9183
9184 wxPy_END_ALLOW_THREADS;
9185} Py_INCREF(Py_None);
9186 _resultobj = Py_None;
9187 return _resultobj;
9188}
9189
9190#define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9191static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject * _resultobj;
9193 wxGrid * _arg0;
9194 PyObject * _argo0 = 0;
9195 char *_kwnames[] = { "self", NULL };
9196
9197 self = self;
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9199 return NULL;
9200 if (_argo0) {
9201 if (_argo0 == Py_None) { _arg0 = NULL; }
9202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9204 return NULL;
9205 }
9206 }
9207{
9208 wxPy_BEGIN_ALLOW_THREADS;
9209 wxGrid_DisableDragGridSize(_arg0);
9210
9211 wxPy_END_ALLOW_THREADS;
9212} Py_INCREF(Py_None);
9213 _resultobj = Py_None;
9214 return _resultobj;
9215}
9216
9217#define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9218static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9219 PyObject * _resultobj;
9220 bool _result;
9221 wxGrid * _arg0;
9222 PyObject * _argo0 = 0;
9223 char *_kwnames[] = { "self", NULL };
9224
9225 self = self;
9226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9227 return NULL;
9228 if (_argo0) {
9229 if (_argo0 == Py_None) { _arg0 = NULL; }
9230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9232 return NULL;
9233 }
9234 }
9235{
9236 wxPy_BEGIN_ALLOW_THREADS;
9237 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9238
9239 wxPy_END_ALLOW_THREADS;
9240} _resultobj = Py_BuildValue("i",_result);
9241 return _resultobj;
9242}
9243
9244#define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9245static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject * _resultobj;
9247 wxGrid * _arg0;
9248 int _arg1;
9249 wxGridCellAttr * _arg2;
9250 PyObject * _argo0 = 0;
9251 PyObject * _argo2 = 0;
9252 char *_kwnames[] = { "self","row","attr", NULL };
9253
9254 self = self;
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9256 return NULL;
9257 if (_argo0) {
9258 if (_argo0 == Py_None) { _arg0 = NULL; }
9259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9261 return NULL;
9262 }
9263 }
9264 if (_argo2) {
9265 if (_argo2 == Py_None) { _arg2 = NULL; }
9266 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9267 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9268 return NULL;
9269 }
9270 }
9271{
9272 wxPy_BEGIN_ALLOW_THREADS;
9273 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
9274
9275 wxPy_END_ALLOW_THREADS;
9276} Py_INCREF(Py_None);
9277 _resultobj = Py_None;
9278 return _resultobj;
9279}
9280
9281#define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9282static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9283 PyObject * _resultobj;
9284 wxGrid * _arg0;
9285 int _arg1;
9286 wxGridCellAttr * _arg2;
9287 PyObject * _argo0 = 0;
9288 PyObject * _argo2 = 0;
9289 char *_kwnames[] = { "self","col","attr", NULL };
9290
9291 self = self;
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9293 return NULL;
9294 if (_argo0) {
9295 if (_argo0 == Py_None) { _arg0 = NULL; }
9296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9298 return NULL;
9299 }
9300 }
9301 if (_argo2) {
9302 if (_argo2 == Py_None) { _arg2 = NULL; }
9303 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9304 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9305 return NULL;
9306 }
9307 }
9308{
9309 wxPy_BEGIN_ALLOW_THREADS;
9310 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
9311
9312 wxPy_END_ALLOW_THREADS;
9313} Py_INCREF(Py_None);
9314 _resultobj = Py_None;
9315 return _resultobj;
9316}
9317
9318#define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9319static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9320 PyObject * _resultobj;
9321 wxGrid * _arg0;
9322 int _arg1;
9323 PyObject * _argo0 = 0;
9324 char *_kwnames[] = { "self","col", NULL };
9325
9326 self = self;
9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
9328 return NULL;
9329 if (_argo0) {
9330 if (_argo0 == Py_None) { _arg0 = NULL; }
9331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9333 return NULL;
9334 }
9335 }
9336{
9337 wxPy_BEGIN_ALLOW_THREADS;
9338 wxGrid_SetColFormatBool(_arg0,_arg1);
9339
9340 wxPy_END_ALLOW_THREADS;
9341} Py_INCREF(Py_None);
9342 _resultobj = Py_None;
9343 return _resultobj;
9344}
9345
9346#define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9347static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
9348 PyObject * _resultobj;
9349 wxGrid * _arg0;
9350 int _arg1;
9351 PyObject * _argo0 = 0;
9352 char *_kwnames[] = { "self","col", NULL };
9353
9354 self = self;
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
9356 return NULL;
9357 if (_argo0) {
9358 if (_argo0 == Py_None) { _arg0 = NULL; }
9359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
9361 return NULL;
9362 }
9363 }
9364{
9365 wxPy_BEGIN_ALLOW_THREADS;
9366 wxGrid_SetColFormatNumber(_arg0,_arg1);
9367
9368 wxPy_END_ALLOW_THREADS;
9369} Py_INCREF(Py_None);
9370 _resultobj = Py_None;
9371 return _resultobj;
9372}
9373
9374#define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9375static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
9376 PyObject * _resultobj;
9377 wxGrid * _arg0;
9378 int _arg1;
9379 int _arg2 = (int ) -1;
9380 int _arg3 = (int ) -1;
9381 PyObject * _argo0 = 0;
9382 char *_kwnames[] = { "self","col","width","precision", NULL };
9383
9384 self = self;
9385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
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_SetColFormatFloat. Expected _wxGrid_p.");
9391 return NULL;
9392 }
9393 }
9394{
9395 wxPy_BEGIN_ALLOW_THREADS;
9396 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
9397
9398 wxPy_END_ALLOW_THREADS;
9399} Py_INCREF(Py_None);
9400 _resultobj = Py_None;
9401 return _resultobj;
9402}
9403
9404#define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9405static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
9406 PyObject * _resultobj;
9407 wxGrid * _arg0;
9408 int _arg1;
9409 wxString * _arg2;
9410 PyObject * _argo0 = 0;
9411 PyObject * _obj2 = 0;
9412 char *_kwnames[] = { "self","col","typeName", NULL };
9413
9414 self = self;
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
9416 return NULL;
9417 if (_argo0) {
9418 if (_argo0 == Py_None) { _arg0 = NULL; }
9419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9421 return NULL;
9422 }
9423 }
9424{
9425 if (!PyString_Check(_obj2)) {
9426 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9427 return NULL;
9428 }
9429 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
9430}
9431{
9432 wxPy_BEGIN_ALLOW_THREADS;
9433 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
9434
9435 wxPy_END_ALLOW_THREADS;
9436} Py_INCREF(Py_None);
9437 _resultobj = Py_None;
9438{
9439 if (_obj2)
9440 delete _arg2;
9441}
9442 return _resultobj;
9443}
9444
9445#define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9446static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9447 PyObject * _resultobj;
9448 wxGrid * _arg0;
9449 bool _arg1 = (bool ) TRUE;
9450 PyObject * _argo0 = 0;
9451 int tempbool1 = (int) TRUE;
9452 char *_kwnames[] = { "self","enable", NULL };
9453
9454 self = self;
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
9456 return NULL;
9457 if (_argo0) {
9458 if (_argo0 == Py_None) { _arg0 = NULL; }
9459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9461 return NULL;
9462 }
9463 }
9464 _arg1 = (bool ) tempbool1;
9465{
9466 wxPy_BEGIN_ALLOW_THREADS;
9467 wxGrid_EnableGridLines(_arg0,_arg1);
9468
9469 wxPy_END_ALLOW_THREADS;
9470} Py_INCREF(Py_None);
9471 _resultobj = Py_None;
9472 return _resultobj;
9473}
9474
9475#define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9476static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9477 PyObject * _resultobj;
9478 bool _result;
9479 wxGrid * _arg0;
9480 PyObject * _argo0 = 0;
9481 char *_kwnames[] = { "self", NULL };
9482
9483 self = self;
9484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
9485 return NULL;
9486 if (_argo0) {
9487 if (_argo0 == Py_None) { _arg0 = NULL; }
9488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9490 return NULL;
9491 }
9492 }
9493{
9494 wxPy_BEGIN_ALLOW_THREADS;
9495 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
9496
9497 wxPy_END_ALLOW_THREADS;
9498} _resultobj = Py_BuildValue("i",_result);
9499 return _resultobj;
9500}
9501
9502#define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9503static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9504 PyObject * _resultobj;
9505 int _result;
9506 wxGrid * _arg0;
9507 PyObject * _argo0 = 0;
9508 char *_kwnames[] = { "self", NULL };
9509
9510 self = self;
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
9512 return NULL;
9513 if (_argo0) {
9514 if (_argo0 == Py_None) { _arg0 = NULL; }
9515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9517 return NULL;
9518 }
9519 }
9520{
9521 wxPy_BEGIN_ALLOW_THREADS;
9522 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
9523
9524 wxPy_END_ALLOW_THREADS;
9525} _resultobj = Py_BuildValue("i",_result);
9526 return _resultobj;
9527}
9528
9529#define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9530static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9531 PyObject * _resultobj;
9532 int _result;
9533 wxGrid * _arg0;
9534 int _arg1;
9535 PyObject * _argo0 = 0;
9536 char *_kwnames[] = { "self","row", NULL };
9537
9538 self = self;
9539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
9540 return NULL;
9541 if (_argo0) {
9542 if (_argo0 == Py_None) { _arg0 = NULL; }
9543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
9545 return NULL;
9546 }
9547 }
9548{
9549 wxPy_BEGIN_ALLOW_THREADS;
9550 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
9551
9552 wxPy_END_ALLOW_THREADS;
9553} _resultobj = Py_BuildValue("i",_result);
9554 return _resultobj;
9555}
9556
9557#define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9558static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject * _resultobj;
9560 int _result;
9561 wxGrid * _arg0;
9562 PyObject * _argo0 = 0;
9563 char *_kwnames[] = { "self", NULL };
9564
9565 self = self;
9566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
9567 return NULL;
9568 if (_argo0) {
9569 if (_argo0 == Py_None) { _arg0 = NULL; }
9570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9572 return NULL;
9573 }
9574 }
9575{
9576 wxPy_BEGIN_ALLOW_THREADS;
9577 _result = (int )wxGrid_GetDefaultColSize(_arg0);
9578
9579 wxPy_END_ALLOW_THREADS;
9580} _resultobj = Py_BuildValue("i",_result);
9581 return _resultobj;
9582}
9583
9584#define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
9585static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject * _resultobj;
9587 int _result;
9588 wxGrid * _arg0;
9589 int _arg1;
9590 PyObject * _argo0 = 0;
9591 char *_kwnames[] = { "self","col", NULL };
9592
9593 self = self;
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
9595 return NULL;
9596 if (_argo0) {
9597 if (_argo0 == Py_None) { _arg0 = NULL; }
9598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
9600 return NULL;
9601 }
9602 }
9603{
9604 wxPy_BEGIN_ALLOW_THREADS;
9605 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
9606
9607 wxPy_END_ALLOW_THREADS;
9608} _resultobj = Py_BuildValue("i",_result);
9609 return _resultobj;
9610}
9611
9612#define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
9613static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9614 PyObject * _resultobj;
9615 wxColour * _result;
9616 wxGrid * _arg0;
9617 PyObject * _argo0 = 0;
9618 char *_kwnames[] = { "self", NULL };
9619 char _ptemp[128];
9620
9621 self = self;
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
9623 return NULL;
9624 if (_argo0) {
9625 if (_argo0 == Py_None) { _arg0 = NULL; }
9626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
9628 return NULL;
9629 }
9630 }
9631{
9632 wxPy_BEGIN_ALLOW_THREADS;
9633 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
9634
9635 wxPy_END_ALLOW_THREADS;
9636} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9637 _resultobj = Py_BuildValue("s",_ptemp);
9638 return _resultobj;
9639}
9640
9641#define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
9642static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9643 PyObject * _resultobj;
9644 wxColour * _result;
9645 wxGrid * _arg0;
9646 int _arg1;
9647 int _arg2;
9648 PyObject * _argo0 = 0;
9649 char *_kwnames[] = { "self","row","col", NULL };
9650 char _ptemp[128];
9651
9652 self = self;
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
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_GetCellBackgroundColour. Expected _wxGrid_p.");
9659 return NULL;
9660 }
9661 }
9662{
9663 wxPy_BEGIN_ALLOW_THREADS;
9664 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
9665
9666 wxPy_END_ALLOW_THREADS;
9667} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9668 _resultobj = Py_BuildValue("s",_ptemp);
9669 return _resultobj;
9670}
9671
9672#define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
9673static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9674 PyObject * _resultobj;
9675 wxColour * _result;
9676 wxGrid * _arg0;
9677 PyObject * _argo0 = 0;
9678 char *_kwnames[] = { "self", NULL };
9679 char _ptemp[128];
9680
9681 self = self;
9682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_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_GetDefaultCellTextColour. Expected _wxGrid_p.");
9688 return NULL;
9689 }
9690 }
9691{
9692 wxPy_BEGIN_ALLOW_THREADS;
9693 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
9694
9695 wxPy_END_ALLOW_THREADS;
9696} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9697 _resultobj = Py_BuildValue("s",_ptemp);
9698 return _resultobj;
9699}
9700
9701#define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
9702static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9703 PyObject * _resultobj;
9704 wxColour * _result;
9705 wxGrid * _arg0;
9706 int _arg1;
9707 int _arg2;
9708 PyObject * _argo0 = 0;
9709 char *_kwnames[] = { "self","row","col", NULL };
9710 char _ptemp[128];
9711
9712 self = self;
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
9714 return NULL;
9715 if (_argo0) {
9716 if (_argo0 == Py_None) { _arg0 = NULL; }
9717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
9719 return NULL;
9720 }
9721 }
9722{
9723 wxPy_BEGIN_ALLOW_THREADS;
9724 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
9725
9726 wxPy_END_ALLOW_THREADS;
9727} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9728 _resultobj = Py_BuildValue("s",_ptemp);
9729 return _resultobj;
9730}
9731
9732#define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
9733static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject * _resultobj;
9735 wxFont * _result;
9736 wxGrid * _arg0;
9737 PyObject * _argo0 = 0;
9738 char *_kwnames[] = { "self", NULL };
9739 char _ptemp[128];
9740
9741 self = self;
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
9743 return NULL;
9744 if (_argo0) {
9745 if (_argo0 == Py_None) { _arg0 = NULL; }
9746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
9748 return NULL;
9749 }
9750 }
9751{
9752 wxPy_BEGIN_ALLOW_THREADS;
9753 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
9754
9755 wxPy_END_ALLOW_THREADS;
9756} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9757 _resultobj = Py_BuildValue("s",_ptemp);
9758 return _resultobj;
9759}
9760
9761#define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
9762static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9763 PyObject * _resultobj;
9764 wxFont * _result;
9765 wxGrid * _arg0;
9766 int _arg1;
9767 int _arg2;
9768 PyObject * _argo0 = 0;
9769 char *_kwnames[] = { "self","row","col", NULL };
9770 char _ptemp[128];
9771
9772 self = self;
9773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
9774 return NULL;
9775 if (_argo0) {
9776 if (_argo0 == Py_None) { _arg0 = NULL; }
9777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
9779 return NULL;
9780 }
9781 }
9782{
9783 wxPy_BEGIN_ALLOW_THREADS;
9784 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
9785
9786 wxPy_END_ALLOW_THREADS;
9787} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9788 _resultobj = Py_BuildValue("s",_ptemp);
9789 return _resultobj;
9790}
9791
9792#define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
9793static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9794 PyObject * _resultobj;
9795 wxGrid * _arg0;
9796 int * _arg1;
9797 int * _arg2;
9798 PyObject * _argo0 = 0;
9799 PyObject * _argo1 = 0;
9800 PyObject * _argo2 = 0;
9801 char *_kwnames[] = { "self","horiz","vert", NULL };
9802
9803 self = self;
9804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
9805 return NULL;
9806 if (_argo0) {
9807 if (_argo0 == Py_None) { _arg0 = NULL; }
9808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
9810 return NULL;
9811 }
9812 }
9813 if (_argo1) {
9814 if (_argo1 == Py_None) { _arg1 = NULL; }
9815 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
9816 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
9817 return NULL;
9818 }
9819 }
9820 if (_argo2) {
9821 if (_argo2 == Py_None) { _arg2 = NULL; }
9822 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
9823 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
9824 return NULL;
9825 }
9826 }
9827{
9828 wxPy_BEGIN_ALLOW_THREADS;
9829 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
9830
9831 wxPy_END_ALLOW_THREADS;
9832} Py_INCREF(Py_None);
9833 _resultobj = Py_None;
9834 return _resultobj;
9835}
9836
9837#define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9838static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9839 PyObject * _resultobj;
9840 wxGrid * _arg0;
9841 int _arg1;
9842 int _arg2;
9843 int * _arg3;
9844 int * _arg4;
9845 PyObject * _argo0 = 0;
9846 PyObject * _argo3 = 0;
9847 PyObject * _argo4 = 0;
9848 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
9849
9850 self = self;
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
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_GetCellAlignment. Expected _wxGrid_p.");
9857 return NULL;
9858 }
9859 }
9860 if (_argo3) {
9861 if (_argo3 == Py_None) { _arg3 = NULL; }
9862 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
9863 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
9864 return NULL;
9865 }
9866 }
9867 if (_argo4) {
9868 if (_argo4 == Py_None) { _arg4 = NULL; }
9869 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
9870 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
9871 return NULL;
9872 }
9873 }
9874{
9875 wxPy_BEGIN_ALLOW_THREADS;
9876 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
9877
9878 wxPy_END_ALLOW_THREADS;
9879} Py_INCREF(Py_None);
9880 _resultobj = Py_None;
9881 return _resultobj;
9882}
9883
9884#define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
9885static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9886 PyObject * _resultobj;
9887 wxGrid * _arg0;
9888 int _arg1;
9889 bool _arg2 = (bool ) FALSE;
9890 PyObject * _argo0 = 0;
9891 int tempbool2 = (int) FALSE;
9892 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
9893
9894 self = self;
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
9896 return NULL;
9897 if (_argo0) {
9898 if (_argo0 == Py_None) { _arg0 = NULL; }
9899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
9901 return NULL;
9902 }
9903 }
9904 _arg2 = (bool ) tempbool2;
9905{
9906 wxPy_BEGIN_ALLOW_THREADS;
9907 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
9908
9909 wxPy_END_ALLOW_THREADS;
9910} Py_INCREF(Py_None);
9911 _resultobj = Py_None;
9912 return _resultobj;
9913}
9914
9915#define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
9916static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9917 PyObject * _resultobj;
9918 wxGrid * _arg0;
9919 int _arg1;
9920 int _arg2;
9921 PyObject * _argo0 = 0;
9922 char *_kwnames[] = { "self","row","height", NULL };
9923
9924 self = self;
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
9926 return NULL;
9927 if (_argo0) {
9928 if (_argo0 == Py_None) { _arg0 = NULL; }
9929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
9931 return NULL;
9932 }
9933 }
9934{
9935 wxPy_BEGIN_ALLOW_THREADS;
9936 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
9937
9938 wxPy_END_ALLOW_THREADS;
9939} Py_INCREF(Py_None);
9940 _resultobj = Py_None;
9941 return _resultobj;
9942}
9943
9944#define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
9945static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9946 PyObject * _resultobj;
9947 wxGrid * _arg0;
9948 int _arg1;
9949 bool _arg2 = (bool ) FALSE;
9950 PyObject * _argo0 = 0;
9951 int tempbool2 = (int) FALSE;
9952 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
9953
9954 self = self;
9955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
9956 return NULL;
9957 if (_argo0) {
9958 if (_argo0 == Py_None) { _arg0 = NULL; }
9959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
9961 return NULL;
9962 }
9963 }
9964 _arg2 = (bool ) tempbool2;
9965{
9966 wxPy_BEGIN_ALLOW_THREADS;
9967 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
9968
9969 wxPy_END_ALLOW_THREADS;
9970} Py_INCREF(Py_None);
9971 _resultobj = Py_None;
9972 return _resultobj;
9973}
9974
9975#define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
9976static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9977 PyObject * _resultobj;
9978 wxGrid * _arg0;
9979 int _arg1;
9980 int _arg2;
9981 PyObject * _argo0 = 0;
9982 char *_kwnames[] = { "self","col","width", NULL };
9983
9984 self = self;
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
9986 return NULL;
9987 if (_argo0) {
9988 if (_argo0 == Py_None) { _arg0 = NULL; }
9989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
9991 return NULL;
9992 }
9993 }
9994{
9995 wxPy_BEGIN_ALLOW_THREADS;
9996 wxGrid_SetColSize(_arg0,_arg1,_arg2);
9997
9998 wxPy_END_ALLOW_THREADS;
9999} Py_INCREF(Py_None);
10000 _resultobj = Py_None;
10001 return _resultobj;
10002}
10003
10004#define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10005static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10006 PyObject * _resultobj;
10007 wxGrid * _arg0;
10008 int _arg1;
10009 bool _arg2 = (bool ) TRUE;
10010 PyObject * _argo0 = 0;
10011 int tempbool2 = (int) TRUE;
10012 char *_kwnames[] = { "self","col","setAsMin", NULL };
10013
10014 self = self;
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10016 return NULL;
10017 if (_argo0) {
10018 if (_argo0 == Py_None) { _arg0 = NULL; }
10019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10021 return NULL;
10022 }
10023 }
10024 _arg2 = (bool ) tempbool2;
10025{
10026 wxPy_BEGIN_ALLOW_THREADS;
10027 wxGrid_AutoSizeColumn(_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_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10036static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10037 PyObject * _resultobj;
10038 wxGrid * _arg0;
10039 int _arg1;
10040 bool _arg2 = (bool ) TRUE;
10041 PyObject * _argo0 = 0;
10042 int tempbool2 = (int) TRUE;
10043 char *_kwnames[] = { "self","row","setAsMin", NULL };
10044
10045 self = self;
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10047 return NULL;
10048 if (_argo0) {
10049 if (_argo0 == Py_None) { _arg0 = NULL; }
10050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10052 return NULL;
10053 }
10054 }
10055 _arg2 = (bool ) tempbool2;
10056{
10057 wxPy_BEGIN_ALLOW_THREADS;
10058 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10059
10060 wxPy_END_ALLOW_THREADS;
10061} Py_INCREF(Py_None);
10062 _resultobj = Py_None;
10063 return _resultobj;
10064}
10065
10066#define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10067static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10068 PyObject * _resultobj;
10069 wxGrid * _arg0;
10070 bool _arg1 = (bool ) TRUE;
10071 PyObject * _argo0 = 0;
10072 int tempbool1 = (int) TRUE;
10073 char *_kwnames[] = { "self","setAsMin", NULL };
10074
10075 self = self;
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10077 return NULL;
10078 if (_argo0) {
10079 if (_argo0 == Py_None) { _arg0 = NULL; }
10080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10082 return NULL;
10083 }
10084 }
10085 _arg1 = (bool ) tempbool1;
10086{
10087 wxPy_BEGIN_ALLOW_THREADS;
10088 wxGrid_AutoSizeColumns(_arg0,_arg1);
10089
10090 wxPy_END_ALLOW_THREADS;
10091} Py_INCREF(Py_None);
10092 _resultobj = Py_None;
10093 return _resultobj;
10094}
10095
10096#define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10097static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject * _resultobj;
10099 wxGrid * _arg0;
10100 bool _arg1 = (bool ) TRUE;
10101 PyObject * _argo0 = 0;
10102 int tempbool1 = (int) TRUE;
10103 char *_kwnames[] = { "self","setAsMin", NULL };
10104
10105 self = self;
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10107 return NULL;
10108 if (_argo0) {
10109 if (_argo0 == Py_None) { _arg0 = NULL; }
10110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10112 return NULL;
10113 }
10114 }
10115 _arg1 = (bool ) tempbool1;
10116{
10117 wxPy_BEGIN_ALLOW_THREADS;
10118 wxGrid_AutoSizeRows(_arg0,_arg1);
10119
10120 wxPy_END_ALLOW_THREADS;
10121} Py_INCREF(Py_None);
10122 _resultobj = Py_None;
10123 return _resultobj;
10124}
10125
10126#define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10127static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10128 PyObject * _resultobj;
10129 wxGrid * _arg0;
10130 PyObject * _argo0 = 0;
10131 char *_kwnames[] = { "self", NULL };
10132
10133 self = self;
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10135 return NULL;
10136 if (_argo0) {
10137 if (_argo0 == Py_None) { _arg0 = NULL; }
10138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10140 return NULL;
10141 }
10142 }
10143{
10144 wxPy_BEGIN_ALLOW_THREADS;
10145 wxGrid_AutoSize(_arg0);
10146
10147 wxPy_END_ALLOW_THREADS;
10148} Py_INCREF(Py_None);
10149 _resultobj = Py_None;
10150 return _resultobj;
10151}
10152
10153#define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10154static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject * _resultobj;
10156 wxGrid * _arg0;
10157 int _arg1;
10158 int _arg2;
10159 PyObject * _argo0 = 0;
10160 char *_kwnames[] = { "self","col","width", NULL };
10161
10162 self = self;
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10164 return NULL;
10165 if (_argo0) {
10166 if (_argo0 == Py_None) { _arg0 = NULL; }
10167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10169 return NULL;
10170 }
10171 }
10172{
10173 wxPy_BEGIN_ALLOW_THREADS;
10174 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10175
10176 wxPy_END_ALLOW_THREADS;
10177} Py_INCREF(Py_None);
10178 _resultobj = Py_None;
10179 return _resultobj;
10180}
10181
10182#define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10183static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject * _resultobj;
10185 wxGrid * _arg0;
10186 int _arg1;
10187 int _arg2;
10188 PyObject * _argo0 = 0;
10189 char *_kwnames[] = { "self","row","width", NULL };
10190
10191 self = self;
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10193 return NULL;
10194 if (_argo0) {
10195 if (_argo0 == Py_None) { _arg0 = NULL; }
10196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10198 return NULL;
10199 }
10200 }
10201{
10202 wxPy_BEGIN_ALLOW_THREADS;
10203 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10204
10205 wxPy_END_ALLOW_THREADS;
10206} Py_INCREF(Py_None);
10207 _resultobj = Py_None;
10208 return _resultobj;
10209}
10210
10211#define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10212static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10213 PyObject * _resultobj;
10214 wxGrid * _arg0;
10215 wxColour * _arg1;
10216 PyObject * _argo0 = 0;
10217 wxColour temp;
10218 PyObject * _obj1 = 0;
10219 char *_kwnames[] = { "self","arg2", NULL };
10220
10221 self = self;
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10223 return NULL;
10224 if (_argo0) {
10225 if (_argo0 == Py_None) { _arg0 = NULL; }
10226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10228 return NULL;
10229 }
10230 }
10231{
10232 _arg1 = &temp;
10233 if (! wxColour_helper(_obj1, &_arg1))
10234 return NULL;
10235}
10236{
10237 wxPy_BEGIN_ALLOW_THREADS;
10238 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10239
10240 wxPy_END_ALLOW_THREADS;
10241} Py_INCREF(Py_None);
10242 _resultobj = Py_None;
10243 return _resultobj;
10244}
10245
10246#define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10247static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10248 PyObject * _resultobj;
10249 wxGrid * _arg0;
10250 int _arg1;
10251 int _arg2;
10252 wxColour * _arg3;
10253 PyObject * _argo0 = 0;
10254 wxColour temp;
10255 PyObject * _obj3 = 0;
10256 char *_kwnames[] = { "self","row","col","arg4", NULL };
10257
10258 self = self;
10259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10260 return NULL;
10261 if (_argo0) {
10262 if (_argo0 == Py_None) { _arg0 = NULL; }
10263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10265 return NULL;
10266 }
10267 }
10268{
10269 _arg3 = &temp;
10270 if (! wxColour_helper(_obj3, &_arg3))
10271 return NULL;
10272}
10273{
10274 wxPy_BEGIN_ALLOW_THREADS;
10275 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
10276
10277 wxPy_END_ALLOW_THREADS;
10278} Py_INCREF(Py_None);
10279 _resultobj = Py_None;
10280 return _resultobj;
10281}
10282
10283#define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10284static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10285 PyObject * _resultobj;
10286 wxGrid * _arg0;
10287 wxColour * _arg1;
10288 PyObject * _argo0 = 0;
10289 wxColour temp;
10290 PyObject * _obj1 = 0;
10291 char *_kwnames[] = { "self","arg2", NULL };
10292
10293 self = self;
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
10295 return NULL;
10296 if (_argo0) {
10297 if (_argo0 == Py_None) { _arg0 = NULL; }
10298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10300 return NULL;
10301 }
10302 }
10303{
10304 _arg1 = &temp;
10305 if (! wxColour_helper(_obj1, &_arg1))
10306 return NULL;
10307}
10308{
10309 wxPy_BEGIN_ALLOW_THREADS;
10310 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
10311
10312 wxPy_END_ALLOW_THREADS;
10313} Py_INCREF(Py_None);
10314 _resultobj = Py_None;
10315 return _resultobj;
10316}
10317
10318#define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10319static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10320 PyObject * _resultobj;
10321 wxGrid * _arg0;
10322 int _arg1;
10323 int _arg2;
10324 wxColour * _arg3;
10325 PyObject * _argo0 = 0;
10326 wxColour temp;
10327 PyObject * _obj3 = 0;
10328 char *_kwnames[] = { "self","row","col","arg4", NULL };
10329
10330 self = self;
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10332 return NULL;
10333 if (_argo0) {
10334 if (_argo0 == Py_None) { _arg0 = NULL; }
10335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10337 return NULL;
10338 }
10339 }
10340{
10341 _arg3 = &temp;
10342 if (! wxColour_helper(_obj3, &_arg3))
10343 return NULL;
10344}
10345{
10346 wxPy_BEGIN_ALLOW_THREADS;
10347 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
10348
10349 wxPy_END_ALLOW_THREADS;
10350} Py_INCREF(Py_None);
10351 _resultobj = Py_None;
10352 return _resultobj;
10353}
10354
10355#define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10356static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10357 PyObject * _resultobj;
10358 wxGrid * _arg0;
10359 wxFont * _arg1;
10360 PyObject * _argo0 = 0;
10361 PyObject * _argo1 = 0;
10362 char *_kwnames[] = { "self","arg2", NULL };
10363
10364 self = self;
10365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
10366 return NULL;
10367 if (_argo0) {
10368 if (_argo0 == Py_None) { _arg0 = NULL; }
10369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10371 return NULL;
10372 }
10373 }
10374 if (_argo1) {
10375 if (_argo1 == Py_None) { _arg1 = NULL; }
10376 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
10377 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10378 return NULL;
10379 }
10380 }
10381{
10382 wxPy_BEGIN_ALLOW_THREADS;
10383 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
10384
10385 wxPy_END_ALLOW_THREADS;
10386} Py_INCREF(Py_None);
10387 _resultobj = Py_None;
10388 return _resultobj;
10389}
10390
10391#define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10392static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10393 PyObject * _resultobj;
10394 wxGrid * _arg0;
10395 int _arg1;
10396 int _arg2;
10397 wxFont * _arg3;
10398 PyObject * _argo0 = 0;
10399 PyObject * _argo3 = 0;
10400 char *_kwnames[] = { "self","row","col","arg4", NULL };
10401
10402 self = self;
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10404 return NULL;
10405 if (_argo0) {
10406 if (_argo0 == Py_None) { _arg0 = NULL; }
10407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10409 return NULL;
10410 }
10411 }
10412 if (_argo3) {
10413 if (_argo3 == Py_None) { _arg3 = NULL; }
10414 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
10415 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10416 return NULL;
10417 }
10418 }
10419{
10420 wxPy_BEGIN_ALLOW_THREADS;
10421 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
10422
10423 wxPy_END_ALLOW_THREADS;
10424} Py_INCREF(Py_None);
10425 _resultobj = Py_None;
10426 return _resultobj;
10427}
10428
10429#define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10430static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10431 PyObject * _resultobj;
10432 wxGrid * _arg0;
10433 int _arg1;
10434 int _arg2;
10435 PyObject * _argo0 = 0;
10436 char *_kwnames[] = { "self","horiz","vert", NULL };
10437
10438 self = self;
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10440 return NULL;
10441 if (_argo0) {
10442 if (_argo0 == Py_None) { _arg0 = NULL; }
10443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10445 return NULL;
10446 }
10447 }
10448{
10449 wxPy_BEGIN_ALLOW_THREADS;
10450 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
10451
10452 wxPy_END_ALLOW_THREADS;
10453} Py_INCREF(Py_None);
10454 _resultobj = Py_None;
10455 return _resultobj;
10456}
10457
10458#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10459static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10460 PyObject * _resultobj;
10461 wxGrid * _arg0;
10462 int _arg1;
10463 int _arg2;
10464 int _arg3;
10465 int _arg4;
10466 PyObject * _argo0 = 0;
10467 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10468
10469 self = self;
10470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10471 return NULL;
10472 if (_argo0) {
10473 if (_argo0 == Py_None) { _arg0 = NULL; }
10474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10476 return NULL;
10477 }
10478 }
10479{
10480 wxPy_BEGIN_ALLOW_THREADS;
10481 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10482
10483 wxPy_END_ALLOW_THREADS;
10484} Py_INCREF(Py_None);
10485 _resultobj = Py_None;
10486 return _resultobj;
10487}
10488
10489#define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10490static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10491 PyObject * _resultobj;
10492 wxGrid * _arg0;
10493 wxGridCellRenderer * _arg1;
10494 PyObject * _argo0 = 0;
10495 PyObject * _argo1 = 0;
10496 char *_kwnames[] = { "self","renderer", NULL };
10497
10498 self = self;
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
10500 return NULL;
10501 if (_argo0) {
10502 if (_argo0 == Py_None) { _arg0 = NULL; }
10503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10505 return NULL;
10506 }
10507 }
10508 if (_argo1) {
10509 if (_argo1 == Py_None) { _arg1 = NULL; }
10510 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
10511 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10512 return NULL;
10513 }
10514 }
10515{
10516 wxPy_BEGIN_ALLOW_THREADS;
10517 wxGrid_SetDefaultRenderer(_arg0,_arg1);
10518
10519 wxPy_END_ALLOW_THREADS;
10520} Py_INCREF(Py_None);
10521 _resultobj = Py_None;
10522 return _resultobj;
10523}
10524
10525#define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10526static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject * _resultobj;
10528 wxGrid * _arg0;
10529 int _arg1;
10530 int _arg2;
10531 wxGridCellRenderer * _arg3;
10532 PyObject * _argo0 = 0;
10533 PyObject * _argo3 = 0;
10534 char *_kwnames[] = { "self","row","col","renderer", NULL };
10535
10536 self = self;
10537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10538 return NULL;
10539 if (_argo0) {
10540 if (_argo0 == Py_None) { _arg0 = NULL; }
10541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10543 return NULL;
10544 }
10545 }
10546 if (_argo3) {
10547 if (_argo3 == Py_None) { _arg3 = NULL; }
10548 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
10549 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10550 return NULL;
10551 }
10552 }
10553{
10554 wxPy_BEGIN_ALLOW_THREADS;
10555 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
10556
10557 wxPy_END_ALLOW_THREADS;
10558} Py_INCREF(Py_None);
10559 _resultobj = Py_None;
10560 return _resultobj;
10561}
10562
10563#define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10564static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10565 PyObject * _resultobj;
10566 wxGridCellRenderer * _result;
10567 wxGrid * _arg0;
10568 PyObject * _argo0 = 0;
10569 char *_kwnames[] = { "self", NULL };
10570 char _ptemp[128];
10571
10572 self = self;
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
10574 return NULL;
10575 if (_argo0) {
10576 if (_argo0 == Py_None) { _arg0 = NULL; }
10577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10579 return NULL;
10580 }
10581 }
10582{
10583 wxPy_BEGIN_ALLOW_THREADS;
10584 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
10585
10586 wxPy_END_ALLOW_THREADS;
10587} if (_result) {
10588 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10589 _resultobj = Py_BuildValue("s",_ptemp);
10590 } else {
10591 Py_INCREF(Py_None);
10592 _resultobj = Py_None;
10593 }
10594 return _resultobj;
10595}
10596
10597#define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
10598static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10599 PyObject * _resultobj;
10600 wxGridCellRenderer * _result;
10601 wxGrid * _arg0;
10602 int _arg1;
10603 int _arg2;
10604 PyObject * _argo0 = 0;
10605 char *_kwnames[] = { "self","row","col", NULL };
10606 char _ptemp[128];
10607
10608 self = self;
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
10610 return NULL;
10611 if (_argo0) {
10612 if (_argo0 == Py_None) { _arg0 = NULL; }
10613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
10615 return NULL;
10616 }
10617 }
10618{
10619 wxPy_BEGIN_ALLOW_THREADS;
10620 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
10621
10622 wxPy_END_ALLOW_THREADS;
10623} if (_result) {
10624 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10625 _resultobj = Py_BuildValue("s",_ptemp);
10626 } else {
10627 Py_INCREF(Py_None);
10628 _resultobj = Py_None;
10629 }
10630 return _resultobj;
10631}
10632
10633#define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
10634static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject * _resultobj;
10636 wxGrid * _arg0;
10637 wxGridCellEditor * _arg1;
10638 PyObject * _argo0 = 0;
10639 PyObject * _argo1 = 0;
10640 char *_kwnames[] = { "self","editor", NULL };
10641
10642 self = self;
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
10644 return NULL;
10645 if (_argo0) {
10646 if (_argo0 == Py_None) { _arg0 = NULL; }
10647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
10649 return NULL;
10650 }
10651 }
10652 if (_argo1) {
10653 if (_argo1 == Py_None) { _arg1 = NULL; }
10654 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
10655 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
10656 return NULL;
10657 }
10658 }
10659{
10660 wxPy_BEGIN_ALLOW_THREADS;
10661 wxGrid_SetDefaultEditor(_arg0,_arg1);
10662
10663 wxPy_END_ALLOW_THREADS;
10664} Py_INCREF(Py_None);
10665 _resultobj = Py_None;
10666 return _resultobj;
10667}
10668
10669#define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
10670static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject * _resultobj;
10672 wxGrid * _arg0;
10673 int _arg1;
10674 int _arg2;
10675 wxGridCellEditor * _arg3;
10676 PyObject * _argo0 = 0;
10677 PyObject * _argo3 = 0;
10678 char *_kwnames[] = { "self","row","col","editor", NULL };
10679
10680 self = self;
10681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10682 return NULL;
10683 if (_argo0) {
10684 if (_argo0 == Py_None) { _arg0 = NULL; }
10685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
10687 return NULL;
10688 }
10689 }
10690 if (_argo3) {
10691 if (_argo3 == Py_None) { _arg3 = NULL; }
10692 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
10693 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
10694 return NULL;
10695 }
10696 }
10697{
10698 wxPy_BEGIN_ALLOW_THREADS;
10699 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
10700
10701 wxPy_END_ALLOW_THREADS;
10702} Py_INCREF(Py_None);
10703 _resultobj = Py_None;
10704 return _resultobj;
10705}
10706
10707#define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
10708static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10709 PyObject * _resultobj;
10710 wxGridCellEditor * _result;
10711 wxGrid * _arg0;
10712 PyObject * _argo0 = 0;
10713 char *_kwnames[] = { "self", NULL };
10714 char _ptemp[128];
10715
10716 self = self;
10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
10718 return NULL;
10719 if (_argo0) {
10720 if (_argo0 == Py_None) { _arg0 = NULL; }
10721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
10723 return NULL;
10724 }
10725 }
10726{
10727 wxPy_BEGIN_ALLOW_THREADS;
10728 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
10729
10730 wxPy_END_ALLOW_THREADS;
10731} if (_result) {
10732 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10733 _resultobj = Py_BuildValue("s",_ptemp);
10734 } else {
10735 Py_INCREF(Py_None);
10736 _resultobj = Py_None;
10737 }
10738 return _resultobj;
10739}
10740
10741#define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
10742static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10743 PyObject * _resultobj;
10744 wxGridCellEditor * _result;
10745 wxGrid * _arg0;
10746 int _arg1;
10747 int _arg2;
10748 PyObject * _argo0 = 0;
10749 char *_kwnames[] = { "self","row","col", NULL };
10750 char _ptemp[128];
10751
10752 self = self;
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
10754 return NULL;
10755 if (_argo0) {
10756 if (_argo0 == Py_None) { _arg0 = NULL; }
10757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
10759 return NULL;
10760 }
10761 }
10762{
10763 wxPy_BEGIN_ALLOW_THREADS;
10764 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
10765
10766 wxPy_END_ALLOW_THREADS;
10767} if (_result) {
10768 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10769 _resultobj = Py_BuildValue("s",_ptemp);
10770 } else {
10771 Py_INCREF(Py_None);
10772 _resultobj = Py_None;
10773 }
10774 return _resultobj;
10775}
10776
10777#define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
10778static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10779 PyObject * _resultobj;
10780 wxString * _result;
10781 wxGrid * _arg0;
10782 int _arg1;
10783 int _arg2;
10784 PyObject * _argo0 = 0;
10785 char *_kwnames[] = { "self","row","col", NULL };
10786
10787 self = self;
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
10789 return NULL;
10790 if (_argo0) {
10791 if (_argo0 == Py_None) { _arg0 = NULL; }
10792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
10794 return NULL;
10795 }
10796 }
10797{
10798 wxPy_BEGIN_ALLOW_THREADS;
10799 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
10800
10801 wxPy_END_ALLOW_THREADS;
10802}{
10803 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10804}
10805{
10806 delete _result;
10807}
10808 return _resultobj;
10809}
10810
10811#define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
10812static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject * _resultobj;
10814 wxGrid * _arg0;
10815 int _arg1;
10816 int _arg2;
10817 wxString * _arg3;
10818 PyObject * _argo0 = 0;
10819 PyObject * _obj3 = 0;
10820 char *_kwnames[] = { "self","row","col","s", NULL };
10821
10822 self = self;
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10824 return NULL;
10825 if (_argo0) {
10826 if (_argo0 == Py_None) { _arg0 = NULL; }
10827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
10829 return NULL;
10830 }
10831 }
10832{
10833 if (!PyString_Check(_obj3)) {
10834 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10835 return NULL;
10836 }
10837 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
10838}
10839{
10840 wxPy_BEGIN_ALLOW_THREADS;
10841 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
10842
10843 wxPy_END_ALLOW_THREADS;
10844} Py_INCREF(Py_None);
10845 _resultobj = Py_None;
10846{
10847 if (_obj3)
10848 delete _arg3;
10849}
10850 return _resultobj;
10851}
10852
10853#define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
10854static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
10855 PyObject * _resultobj;
10856 bool _result;
10857 wxGrid * _arg0;
10858 int _arg1;
10859 int _arg2;
10860 PyObject * _argo0 = 0;
10861 char *_kwnames[] = { "self","row","col", NULL };
10862
10863 self = self;
10864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
10865 return NULL;
10866 if (_argo0) {
10867 if (_argo0 == Py_None) { _arg0 = NULL; }
10868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
10870 return NULL;
10871 }
10872 }
10873{
10874 wxPy_BEGIN_ALLOW_THREADS;
10875 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
10876
10877 wxPy_END_ALLOW_THREADS;
10878} _resultobj = Py_BuildValue("i",_result);
10879 return _resultobj;
10880}
10881
10882#define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
10883static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
10884 PyObject * _resultobj;
10885 wxGrid * _arg0;
10886 int _arg1;
10887 int _arg2;
10888 bool _arg3 = (bool ) TRUE;
10889 PyObject * _argo0 = 0;
10890 int tempbool3 = (int) TRUE;
10891 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
10892
10893 self = self;
10894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
10895 return NULL;
10896 if (_argo0) {
10897 if (_argo0 == Py_None) { _arg0 = NULL; }
10898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
10900 return NULL;
10901 }
10902 }
10903 _arg3 = (bool ) tempbool3;
10904{
10905 wxPy_BEGIN_ALLOW_THREADS;
10906 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
10907
10908 wxPy_END_ALLOW_THREADS;
10909} Py_INCREF(Py_None);
10910 _resultobj = Py_None;
10911 return _resultobj;
10912}
10913
10914#define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
10915static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10916 PyObject * _resultobj;
10917 wxGrid * _arg0;
10918 int _arg1;
10919 bool _arg2 = (bool ) FALSE;
10920 PyObject * _argo0 = 0;
10921 int tempbool2 = (int) FALSE;
10922 char *_kwnames[] = { "self","row","addToSelected", NULL };
10923
10924 self = self;
10925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10926 return NULL;
10927 if (_argo0) {
10928 if (_argo0 == Py_None) { _arg0 = NULL; }
10929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
10931 return NULL;
10932 }
10933 }
10934 _arg2 = (bool ) tempbool2;
10935{
10936 wxPy_BEGIN_ALLOW_THREADS;
10937 wxGrid_SelectRow(_arg0,_arg1,_arg2);
10938
10939 wxPy_END_ALLOW_THREADS;
10940} Py_INCREF(Py_None);
10941 _resultobj = Py_None;
10942 return _resultobj;
10943}
10944
10945#define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
10946static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject * _resultobj;
10948 wxGrid * _arg0;
10949 int _arg1;
10950 bool _arg2 = (bool ) FALSE;
10951 PyObject * _argo0 = 0;
10952 int tempbool2 = (int) FALSE;
10953 char *_kwnames[] = { "self","col","addToSelected", NULL };
10954
10955 self = self;
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
10957 return NULL;
10958 if (_argo0) {
10959 if (_argo0 == Py_None) { _arg0 = NULL; }
10960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
10962 return NULL;
10963 }
10964 }
10965 _arg2 = (bool ) tempbool2;
10966{
10967 wxPy_BEGIN_ALLOW_THREADS;
10968 wxGrid_SelectCol(_arg0,_arg1,_arg2);
10969
10970 wxPy_END_ALLOW_THREADS;
10971} Py_INCREF(Py_None);
10972 _resultobj = Py_None;
10973 return _resultobj;
10974}
10975
c368d904 10976#define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
f6bcfd97
BP
10977static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
10978 PyObject * _resultobj;
10979 wxGrid * _arg0;
10980 int _arg1;
10981 int _arg2;
10982 int _arg3;
10983 int _arg4;
c368d904 10984 bool _arg5 = (bool ) FALSE;
f6bcfd97 10985 PyObject * _argo0 = 0;
c368d904
RD
10986 int tempbool5 = (int) FALSE;
10987 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
f6bcfd97
BP
10988
10989 self = self;
c368d904 10990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
f6bcfd97
BP
10991 return NULL;
10992 if (_argo0) {
10993 if (_argo0 == Py_None) { _arg0 = NULL; }
10994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
10996 return NULL;
10997 }
10998 }
c368d904 10999 _arg5 = (bool ) tempbool5;
f6bcfd97
BP
11000{
11001 wxPy_BEGIN_ALLOW_THREADS;
c368d904 11002 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
f6bcfd97
BP
11003
11004 wxPy_END_ALLOW_THREADS;
11005} Py_INCREF(Py_None);
11006 _resultobj = Py_None;
11007 return _resultobj;
11008}
11009
11010#define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11011static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11012 PyObject * _resultobj;
11013 wxGrid * _arg0;
11014 PyObject * _argo0 = 0;
11015 char *_kwnames[] = { "self", NULL };
11016
11017 self = self;
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11019 return NULL;
11020 if (_argo0) {
11021 if (_argo0 == Py_None) { _arg0 = NULL; }
11022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11024 return NULL;
11025 }
11026 }
11027{
11028 wxPy_BEGIN_ALLOW_THREADS;
11029 wxGrid_SelectAll(_arg0);
11030
11031 wxPy_END_ALLOW_THREADS;
11032} Py_INCREF(Py_None);
11033 _resultobj = Py_None;
11034 return _resultobj;
11035}
11036
11037#define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11038static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11039 PyObject * _resultobj;
11040 bool _result;
11041 wxGrid * _arg0;
11042 PyObject * _argo0 = 0;
11043 char *_kwnames[] = { "self", NULL };
11044
11045 self = self;
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11047 return NULL;
11048 if (_argo0) {
11049 if (_argo0 == Py_None) { _arg0 = NULL; }
11050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11052 return NULL;
11053 }
11054 }
11055{
11056 wxPy_BEGIN_ALLOW_THREADS;
11057 _result = (bool )wxGrid_IsSelection(_arg0);
11058
11059 wxPy_END_ALLOW_THREADS;
11060} _resultobj = Py_BuildValue("i",_result);
11061 return _resultobj;
11062}
11063
11064#define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11065static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11066 PyObject * _resultobj;
11067 wxGrid * _arg0;
11068 PyObject * _argo0 = 0;
11069 char *_kwnames[] = { "self", NULL };
11070
11071 self = self;
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11073 return NULL;
11074 if (_argo0) {
11075 if (_argo0 == Py_None) { _arg0 = NULL; }
11076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11078 return NULL;
11079 }
11080 }
11081{
11082 wxPy_BEGIN_ALLOW_THREADS;
11083 wxGrid_ClearSelection(_arg0);
11084
11085 wxPy_END_ALLOW_THREADS;
11086} Py_INCREF(Py_None);
11087 _resultobj = Py_None;
11088 return _resultobj;
11089}
11090
11091#define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11092static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11093 PyObject * _resultobj;
11094 bool _result;
11095 wxGrid * _arg0;
11096 int _arg1;
11097 int _arg2;
11098 PyObject * _argo0 = 0;
11099 char *_kwnames[] = { "self","row","col", NULL };
11100
11101 self = self;
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11103 return NULL;
11104 if (_argo0) {
11105 if (_argo0 == Py_None) { _arg0 = NULL; }
11106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11108 return NULL;
11109 }
11110 }
11111{
11112 wxPy_BEGIN_ALLOW_THREADS;
11113 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11114
11115 wxPy_END_ALLOW_THREADS;
11116} _resultobj = Py_BuildValue("i",_result);
11117 return _resultobj;
11118}
11119
11120#define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11121static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11122 PyObject * _resultobj;
11123 wxRect * _result;
11124 wxGrid * _arg0;
11125 wxGridCellCoords * _arg1;
11126 wxGridCellCoords * _arg2;
11127 PyObject * _argo0 = 0;
11128 wxGridCellCoords temp;
11129 PyObject * _obj1 = 0;
11130 wxGridCellCoords temp0;
11131 PyObject * _obj2 = 0;
11132 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11133 char _ptemp[128];
11134
11135 self = self;
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11137 return NULL;
11138 if (_argo0) {
11139 if (_argo0 == Py_None) { _arg0 = NULL; }
11140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11142 return NULL;
11143 }
11144 }
11145{
11146 _arg1 = &temp;
11147 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11148 return NULL;
11149}
11150{
11151 _arg2 = &temp0;
11152 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11153 return NULL;
11154}
11155{
11156 wxPy_BEGIN_ALLOW_THREADS;
11157 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11158
11159 wxPy_END_ALLOW_THREADS;
11160} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11161 _resultobj = Py_BuildValue("s",_ptemp);
11162 return _resultobj;
11163}
11164
11165#define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11166static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11167 PyObject * _resultobj;
11168 wxColour * _result;
11169 wxGrid * _arg0;
11170 PyObject * _argo0 = 0;
11171 char *_kwnames[] = { "self", NULL };
11172 char _ptemp[128];
11173
11174 self = self;
11175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11176 return NULL;
11177 if (_argo0) {
11178 if (_argo0 == Py_None) { _arg0 = NULL; }
11179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11181 return NULL;
11182 }
11183 }
11184{
11185 wxPy_BEGIN_ALLOW_THREADS;
11186 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11187
11188 wxPy_END_ALLOW_THREADS;
11189} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11190 _resultobj = Py_BuildValue("s",_ptemp);
11191 return _resultobj;
11192}
11193
11194#define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11195static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11196 PyObject * _resultobj;
11197 wxColour * _result;
11198 wxGrid * _arg0;
11199 PyObject * _argo0 = 0;
11200 char *_kwnames[] = { "self", NULL };
11201 char _ptemp[128];
11202
11203 self = self;
11204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11205 return NULL;
11206 if (_argo0) {
11207 if (_argo0 == Py_None) { _arg0 = NULL; }
11208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11210 return NULL;
11211 }
11212 }
11213{
11214 wxPy_BEGIN_ALLOW_THREADS;
11215 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
11216
11217 wxPy_END_ALLOW_THREADS;
11218} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11219 _resultobj = Py_BuildValue("s",_ptemp);
11220 return _resultobj;
11221}
11222
11223#define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11224static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11225 PyObject * _resultobj;
11226 wxGrid * _arg0;
11227 wxColour * _arg1;
11228 PyObject * _argo0 = 0;
11229 wxColour temp;
11230 PyObject * _obj1 = 0;
11231 char *_kwnames[] = { "self","c", NULL };
11232
11233 self = self;
11234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
11235 return NULL;
11236 if (_argo0) {
11237 if (_argo0 == Py_None) { _arg0 = NULL; }
11238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11240 return NULL;
11241 }
11242 }
11243{
11244 _arg1 = &temp;
11245 if (! wxColour_helper(_obj1, &_arg1))
11246 return NULL;
11247}
11248{
11249 wxPy_BEGIN_ALLOW_THREADS;
11250 wxGrid_SetSelectionBackground(_arg0,*_arg1);
11251
11252 wxPy_END_ALLOW_THREADS;
11253} Py_INCREF(Py_None);
11254 _resultobj = Py_None;
11255 return _resultobj;
11256}
11257
11258#define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11259static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11260 PyObject * _resultobj;
11261 wxGrid * _arg0;
11262 wxColour * _arg1;
11263 PyObject * _argo0 = 0;
11264 wxColour temp;
11265 PyObject * _obj1 = 0;
11266 char *_kwnames[] = { "self","c", NULL };
11267
11268 self = self;
11269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
11270 return NULL;
11271 if (_argo0) {
11272 if (_argo0 == Py_None) { _arg0 = NULL; }
11273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11275 return NULL;
11276 }
11277 }
11278{
11279 _arg1 = &temp;
11280 if (! wxColour_helper(_obj1, &_arg1))
11281 return NULL;
11282}
11283{
11284 wxPy_BEGIN_ALLOW_THREADS;
11285 wxGrid_SetSelectionForeground(_arg0,*_arg1);
11286
11287 wxPy_END_ALLOW_THREADS;
11288} Py_INCREF(Py_None);
11289 _resultobj = Py_None;
11290 return _resultobj;
11291}
11292
11293#define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11294static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
11295 PyObject * _resultobj;
11296 wxGrid * _arg0;
11297 wxString * _arg1;
11298 wxGridCellRenderer * _arg2;
11299 wxGridCellEditor * _arg3;
11300 PyObject * _argo0 = 0;
11301 PyObject * _obj1 = 0;
11302 PyObject * _argo2 = 0;
11303 PyObject * _argo3 = 0;
11304 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
11305
11306 self = self;
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
11308 return NULL;
11309 if (_argo0) {
11310 if (_argo0 == Py_None) { _arg0 = NULL; }
11311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
11313 return NULL;
11314 }
11315 }
11316{
11317 if (!PyString_Check(_obj1)) {
11318 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11319 return NULL;
11320 }
11321 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
11322}
11323 if (_argo2) {
11324 if (_argo2 == Py_None) { _arg2 = NULL; }
11325 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
11326 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11327 return NULL;
11328 }
11329 }
11330 if (_argo3) {
11331 if (_argo3 == Py_None) { _arg3 = NULL; }
11332 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11333 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11334 return NULL;
11335 }
11336 }
11337{
11338 wxPy_BEGIN_ALLOW_THREADS;
11339 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
11340
11341 wxPy_END_ALLOW_THREADS;
11342} Py_INCREF(Py_None);
11343 _resultobj = Py_None;
11344{
11345 if (_obj1)
11346 delete _arg1;
11347}
11348 return _resultobj;
11349}
11350
11351#define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11352static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11353 PyObject * _resultobj;
11354 wxGridCellEditor * _result;
11355 wxGrid * _arg0;
11356 int _arg1;
11357 int _arg2;
11358 PyObject * _argo0 = 0;
11359 char *_kwnames[] = { "self","row","col", NULL };
11360 char _ptemp[128];
11361
11362 self = self;
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11364 return NULL;
11365 if (_argo0) {
11366 if (_argo0 == Py_None) { _arg0 = NULL; }
11367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11369 return NULL;
11370 }
11371 }
11372{
11373 wxPy_BEGIN_ALLOW_THREADS;
11374 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
11375
11376 wxPy_END_ALLOW_THREADS;
11377} if (_result) {
11378 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11379 _resultobj = Py_BuildValue("s",_ptemp);
11380 } else {
11381 Py_INCREF(Py_None);
11382 _resultobj = Py_None;
11383 }
11384 return _resultobj;
11385}
11386
11387#define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11388static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11389 PyObject * _resultobj;
11390 wxGridCellRenderer * _result;
11391 wxGrid * _arg0;
11392 int _arg1;
11393 int _arg2;
11394 PyObject * _argo0 = 0;
11395 char *_kwnames[] = { "self","row","col", NULL };
11396 char _ptemp[128];
11397
11398 self = self;
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11400 return NULL;
11401 if (_argo0) {
11402 if (_argo0 == Py_None) { _arg0 = NULL; }
11403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11405 return NULL;
11406 }
11407 }
11408{
11409 wxPy_BEGIN_ALLOW_THREADS;
11410 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
11411
11412 wxPy_END_ALLOW_THREADS;
11413} if (_result) {
11414 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11415 _resultobj = Py_BuildValue("s",_ptemp);
11416 } else {
11417 Py_INCREF(Py_None);
11418 _resultobj = Py_None;
11419 }
11420 return _resultobj;
11421}
11422
11423#define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11424static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11425 PyObject * _resultobj;
11426 wxGridCellEditor * _result;
11427 wxGrid * _arg0;
11428 wxString * _arg1;
11429 PyObject * _argo0 = 0;
11430 PyObject * _obj1 = 0;
11431 char *_kwnames[] = { "self","typeName", NULL };
11432 char _ptemp[128];
11433
11434 self = self;
11435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
11436 return NULL;
11437 if (_argo0) {
11438 if (_argo0 == Py_None) { _arg0 = NULL; }
11439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
11441 return NULL;
11442 }
11443 }
11444{
11445 if (!PyString_Check(_obj1)) {
11446 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11447 return NULL;
11448 }
11449 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
11450}
11451{
11452 wxPy_BEGIN_ALLOW_THREADS;
11453 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
11454
11455 wxPy_END_ALLOW_THREADS;
11456} if (_result) {
11457 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11458 _resultobj = Py_BuildValue("s",_ptemp);
11459 } else {
11460 Py_INCREF(Py_None);
11461 _resultobj = Py_None;
11462 }
11463{
11464 if (_obj1)
11465 delete _arg1;
11466}
11467 return _resultobj;
11468}
11469
11470#define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11471static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11472 PyObject * _resultobj;
11473 wxGridCellRenderer * _result;
11474 wxGrid * _arg0;
11475 wxString * _arg1;
11476 PyObject * _argo0 = 0;
11477 PyObject * _obj1 = 0;
11478 char *_kwnames[] = { "self","typeName", NULL };
11479 char _ptemp[128];
11480
11481 self = self;
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
11483 return NULL;
11484 if (_argo0) {
11485 if (_argo0 == Py_None) { _arg0 = NULL; }
11486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11488 return NULL;
11489 }
11490 }
11491{
11492 if (!PyString_Check(_obj1)) {
11493 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11494 return NULL;
11495 }
11496 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
11497}
11498{
11499 wxPy_BEGIN_ALLOW_THREADS;
11500 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
11501
11502 wxPy_END_ALLOW_THREADS;
11503} if (_result) {
11504 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11505 _resultobj = Py_BuildValue("s",_ptemp);
11506 } else {
11507 Py_INCREF(Py_None);
11508 _resultobj = Py_None;
11509 }
11510{
11511 if (_obj1)
11512 delete _arg1;
11513}
11514 return _resultobj;
11515}
11516
11517#define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11518static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
11519 PyObject * _resultobj;
11520 wxGrid * _arg0;
11521 int _arg1;
11522 int _arg2;
11523 PyObject * _argo0 = 0;
11524 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
11525
11526 self = self;
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
11528 return NULL;
11529 if (_argo0) {
11530 if (_argo0 == Py_None) { _arg0 = NULL; }
11531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11533 return NULL;
11534 }
11535 }
11536{
11537 wxPy_BEGIN_ALLOW_THREADS;
11538 wxGrid_SetMargins(_arg0,_arg1,_arg2);
11539
11540 wxPy_END_ALLOW_THREADS;
11541} Py_INCREF(Py_None);
11542 _resultobj = Py_None;
11543 return _resultobj;
11544}
11545
11546static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
11547 wxGridEvent *src;
11548 wxNotifyEvent *dest;
11549 src = (wxGridEvent *) ptr;
11550 dest = (wxNotifyEvent *) src;
11551 return (void *) dest;
11552}
11553
11554static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
11555 wxGridEvent *src;
11556 wxCommandEvent *dest;
11557 src = (wxGridEvent *) ptr;
11558 dest = (wxCommandEvent *) src;
11559 return (void *) dest;
11560}
11561
11562static void *SwigwxGridEventTowxEvent(void *ptr) {
11563 wxGridEvent *src;
11564 wxEvent *dest;
11565 src = (wxGridEvent *) ptr;
11566 dest = (wxEvent *) src;
11567 return (void *) dest;
11568}
11569
11570#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))
11571static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11572 PyObject * _resultobj;
11573 wxGridEvent * _result;
11574 int _arg0;
11575 wxEventType _arg1;
11576 wxGrid * _arg2;
11577 int _arg3 = (int ) -1;
11578 int _arg4 = (int ) -1;
11579 int _arg5 = (int ) -1;
11580 int _arg6 = (int ) -1;
11581 bool _arg7 = (bool ) TRUE;
11582 bool _arg8 = (bool ) FALSE;
11583 bool _arg9 = (bool ) FALSE;
11584 bool _arg10 = (bool ) FALSE;
11585 bool _arg11 = (bool ) FALSE;
11586 PyObject * _argo2 = 0;
11587 int tempbool7 = (int) TRUE;
11588 int tempbool8 = (int) FALSE;
11589 int tempbool9 = (int) FALSE;
11590 int tempbool10 = (int) FALSE;
11591 int tempbool11 = (int) FALSE;
11592 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
11593 char _ptemp[128];
11594
11595 self = self;
11596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
11597 return NULL;
11598 if (_argo2) {
11599 if (_argo2 == Py_None) { _arg2 = NULL; }
11600 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
11601 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
11602 return NULL;
11603 }
11604 }
11605 _arg7 = (bool ) tempbool7;
11606 _arg8 = (bool ) tempbool8;
11607 _arg9 = (bool ) tempbool9;
11608 _arg10 = (bool ) tempbool10;
11609 _arg11 = (bool ) tempbool11;
11610{
11611 wxPy_BEGIN_ALLOW_THREADS;
11612 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
11613
11614 wxPy_END_ALLOW_THREADS;
11615} if (_result) {
11616 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
11617 _resultobj = Py_BuildValue("s",_ptemp);
11618 } else {
11619 Py_INCREF(Py_None);
11620 _resultobj = Py_None;
11621 }
11622 return _resultobj;
11623}
11624
11625#define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
11626static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11627 PyObject * _resultobj;
11628 int _result;
11629 wxGridEvent * _arg0;
11630 PyObject * _argo0 = 0;
11631 char *_kwnames[] = { "self", NULL };
11632
11633 self = self;
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
11635 return NULL;
11636 if (_argo0) {
11637 if (_argo0 == Py_None) { _arg0 = NULL; }
11638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
11640 return NULL;
11641 }
11642 }
11643{
11644 wxPy_BEGIN_ALLOW_THREADS;
11645 _result = (int )wxGridEvent_GetRow(_arg0);
11646
11647 wxPy_END_ALLOW_THREADS;
11648} _resultobj = Py_BuildValue("i",_result);
11649 return _resultobj;
11650}
11651
11652#define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
11653static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11654 PyObject * _resultobj;
11655 int _result;
11656 wxGridEvent * _arg0;
11657 PyObject * _argo0 = 0;
11658 char *_kwnames[] = { "self", NULL };
11659
11660 self = self;
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
11662 return NULL;
11663 if (_argo0) {
11664 if (_argo0 == Py_None) { _arg0 = NULL; }
11665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
11667 return NULL;
11668 }
11669 }
11670{
11671 wxPy_BEGIN_ALLOW_THREADS;
11672 _result = (int )wxGridEvent_GetCol(_arg0);
11673
11674 wxPy_END_ALLOW_THREADS;
11675} _resultobj = Py_BuildValue("i",_result);
11676 return _resultobj;
11677}
11678
11679#define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11680static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11681 PyObject * _resultobj;
11682 wxPoint * _result;
11683 wxGridEvent * _arg0;
11684 PyObject * _argo0 = 0;
11685 char *_kwnames[] = { "self", NULL };
11686 char _ptemp[128];
11687
11688 self = self;
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
11690 return NULL;
11691 if (_argo0) {
11692 if (_argo0 == Py_None) { _arg0 = NULL; }
11693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
11695 return NULL;
11696 }
11697 }
11698{
11699 wxPy_BEGIN_ALLOW_THREADS;
11700 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
11701
11702 wxPy_END_ALLOW_THREADS;
11703} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
11704 _resultobj = Py_BuildValue("s",_ptemp);
11705 return _resultobj;
11706}
11707
11708#define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
11709static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
11710 PyObject * _resultobj;
11711 bool _result;
11712 wxGridEvent * _arg0;
11713 PyObject * _argo0 = 0;
11714 char *_kwnames[] = { "self", NULL };
11715
11716 self = self;
11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
11718 return NULL;
11719 if (_argo0) {
11720 if (_argo0 == Py_None) { _arg0 = NULL; }
11721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
11723 return NULL;
11724 }
11725 }
11726{
11727 wxPy_BEGIN_ALLOW_THREADS;
11728 _result = (bool )wxGridEvent_Selecting(_arg0);
11729
11730 wxPy_END_ALLOW_THREADS;
11731} _resultobj = Py_BuildValue("i",_result);
11732 return _resultobj;
11733}
11734
11735#define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11736static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11737 PyObject * _resultobj;
11738 bool _result;
11739 wxGridEvent * _arg0;
11740 PyObject * _argo0 = 0;
11741 char *_kwnames[] = { "self", NULL };
11742
11743 self = self;
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
11745 return NULL;
11746 if (_argo0) {
11747 if (_argo0 == Py_None) { _arg0 = NULL; }
11748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
11750 return NULL;
11751 }
11752 }
11753{
11754 wxPy_BEGIN_ALLOW_THREADS;
11755 _result = (bool )wxGridEvent_ControlDown(_arg0);
11756
11757 wxPy_END_ALLOW_THREADS;
11758} _resultobj = Py_BuildValue("i",_result);
11759 return _resultobj;
11760}
11761
11762#define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
11763static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11764 PyObject * _resultobj;
11765 bool _result;
11766 wxGridEvent * _arg0;
11767 PyObject * _argo0 = 0;
11768 char *_kwnames[] = { "self", NULL };
11769
11770 self = self;
11771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
11772 return NULL;
11773 if (_argo0) {
11774 if (_argo0 == Py_None) { _arg0 = NULL; }
11775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
11777 return NULL;
11778 }
11779 }
11780{
11781 wxPy_BEGIN_ALLOW_THREADS;
11782 _result = (bool )wxGridEvent_MetaDown(_arg0);
11783
11784 wxPy_END_ALLOW_THREADS;
11785} _resultobj = Py_BuildValue("i",_result);
11786 return _resultobj;
11787}
11788
11789#define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
11790static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11791 PyObject * _resultobj;
11792 bool _result;
11793 wxGridEvent * _arg0;
11794 PyObject * _argo0 = 0;
11795 char *_kwnames[] = { "self", NULL };
11796
11797 self = self;
11798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
11799 return NULL;
11800 if (_argo0) {
11801 if (_argo0 == Py_None) { _arg0 = NULL; }
11802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
11804 return NULL;
11805 }
11806 }
11807{
11808 wxPy_BEGIN_ALLOW_THREADS;
11809 _result = (bool )wxGridEvent_ShiftDown(_arg0);
11810
11811 wxPy_END_ALLOW_THREADS;
11812} _resultobj = Py_BuildValue("i",_result);
11813 return _resultobj;
11814}
11815
11816#define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
11817static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11818 PyObject * _resultobj;
11819 bool _result;
11820 wxGridEvent * _arg0;
11821 PyObject * _argo0 = 0;
11822 char *_kwnames[] = { "self", NULL };
11823
11824 self = self;
11825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
11826 return NULL;
11827 if (_argo0) {
11828 if (_argo0 == Py_None) { _arg0 = NULL; }
11829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
11831 return NULL;
11832 }
11833 }
11834{
11835 wxPy_BEGIN_ALLOW_THREADS;
11836 _result = (bool )wxGridEvent_AltDown(_arg0);
11837
11838 wxPy_END_ALLOW_THREADS;
11839} _resultobj = Py_BuildValue("i",_result);
11840 return _resultobj;
11841}
11842
11843static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
11844 wxGridSizeEvent *src;
11845 wxNotifyEvent *dest;
11846 src = (wxGridSizeEvent *) ptr;
11847 dest = (wxNotifyEvent *) src;
11848 return (void *) dest;
11849}
11850
11851static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
11852 wxGridSizeEvent *src;
11853 wxCommandEvent *dest;
11854 src = (wxGridSizeEvent *) ptr;
11855 dest = (wxCommandEvent *) src;
11856 return (void *) dest;
11857}
11858
11859static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
11860 wxGridSizeEvent *src;
11861 wxEvent *dest;
11862 src = (wxGridSizeEvent *) ptr;
11863 dest = (wxEvent *) src;
11864 return (void *) dest;
11865}
11866
11867#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))
11868static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11869 PyObject * _resultobj;
11870 wxGridSizeEvent * _result;
11871 int _arg0;
11872 wxEventType _arg1;
11873 wxGrid * _arg2;
11874 int _arg3 = (int ) -1;
11875 int _arg4 = (int ) -1;
11876 int _arg5 = (int ) -1;
11877 bool _arg6 = (bool ) FALSE;
11878 bool _arg7 = (bool ) FALSE;
11879 bool _arg8 = (bool ) FALSE;
11880 bool _arg9 = (bool ) FALSE;
11881 PyObject * _argo2 = 0;
11882 int tempbool6 = (int) FALSE;
11883 int tempbool7 = (int) FALSE;
11884 int tempbool8 = (int) FALSE;
11885 int tempbool9 = (int) FALSE;
11886 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
11887 char _ptemp[128];
11888
11889 self = self;
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
11891 return NULL;
11892 if (_argo2) {
11893 if (_argo2 == Py_None) { _arg2 = NULL; }
11894 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
11895 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
11896 return NULL;
11897 }
11898 }
11899 _arg6 = (bool ) tempbool6;
11900 _arg7 = (bool ) tempbool7;
11901 _arg8 = (bool ) tempbool8;
11902 _arg9 = (bool ) tempbool9;
11903{
11904 wxPy_BEGIN_ALLOW_THREADS;
11905 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
11906
11907 wxPy_END_ALLOW_THREADS;
11908} if (_result) {
11909 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
11910 _resultobj = Py_BuildValue("s",_ptemp);
11911 } else {
11912 Py_INCREF(Py_None);
11913 _resultobj = Py_None;
11914 }
11915 return _resultobj;
11916}
11917
11918#define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
11919static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11920 PyObject * _resultobj;
11921 int _result;
11922 wxGridSizeEvent * _arg0;
11923 PyObject * _argo0 = 0;
11924 char *_kwnames[] = { "self", NULL };
11925
11926 self = self;
11927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
11928 return NULL;
11929 if (_argo0) {
11930 if (_argo0 == Py_None) { _arg0 = NULL; }
11931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
11932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
11933 return NULL;
11934 }
11935 }
11936{
11937 wxPy_BEGIN_ALLOW_THREADS;
11938 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
11939
11940 wxPy_END_ALLOW_THREADS;
11941} _resultobj = Py_BuildValue("i",_result);
11942 return _resultobj;
11943}
11944
11945#define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11946static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11947 PyObject * _resultobj;
11948 wxPoint * _result;
11949 wxGridSizeEvent * _arg0;
11950 PyObject * _argo0 = 0;
11951 char *_kwnames[] = { "self", NULL };
11952 char _ptemp[128];
11953
11954 self = self;
11955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
11956 return NULL;
11957 if (_argo0) {
11958 if (_argo0 == Py_None) { _arg0 = NULL; }
11959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
11960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
11961 return NULL;
11962 }
11963 }
11964{
11965 wxPy_BEGIN_ALLOW_THREADS;
11966 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
11967
11968 wxPy_END_ALLOW_THREADS;
11969} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
11970 _resultobj = Py_BuildValue("s",_ptemp);
11971 return _resultobj;
11972}
11973
11974#define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11975static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11976 PyObject * _resultobj;
11977 bool _result;
11978 wxGridSizeEvent * _arg0;
11979 PyObject * _argo0 = 0;
11980 char *_kwnames[] = { "self", NULL };
11981
11982 self = self;
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
11984 return NULL;
11985 if (_argo0) {
11986 if (_argo0 == Py_None) { _arg0 = NULL; }
11987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
11988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
11989 return NULL;
11990 }
11991 }
11992{
11993 wxPy_BEGIN_ALLOW_THREADS;
11994 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
11995
11996 wxPy_END_ALLOW_THREADS;
11997} _resultobj = Py_BuildValue("i",_result);
11998 return _resultobj;
11999}
12000
12001#define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12002static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12003 PyObject * _resultobj;
12004 bool _result;
12005 wxGridSizeEvent * _arg0;
12006 PyObject * _argo0 = 0;
12007 char *_kwnames[] = { "self", NULL };
12008
12009 self = self;
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12011 return NULL;
12012 if (_argo0) {
12013 if (_argo0 == Py_None) { _arg0 = NULL; }
12014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12016 return NULL;
12017 }
12018 }
12019{
12020 wxPy_BEGIN_ALLOW_THREADS;
12021 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12022
12023 wxPy_END_ALLOW_THREADS;
12024} _resultobj = Py_BuildValue("i",_result);
12025 return _resultobj;
12026}
12027
12028#define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12029static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject * _resultobj;
12031 bool _result;
12032 wxGridSizeEvent * _arg0;
12033 PyObject * _argo0 = 0;
12034 char *_kwnames[] = { "self", NULL };
12035
12036 self = self;
12037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12038 return NULL;
12039 if (_argo0) {
12040 if (_argo0 == Py_None) { _arg0 = NULL; }
12041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12043 return NULL;
12044 }
12045 }
12046{
12047 wxPy_BEGIN_ALLOW_THREADS;
12048 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12049
12050 wxPy_END_ALLOW_THREADS;
12051} _resultobj = Py_BuildValue("i",_result);
12052 return _resultobj;
12053}
12054
12055#define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12056static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12057 PyObject * _resultobj;
12058 bool _result;
12059 wxGridSizeEvent * _arg0;
12060 PyObject * _argo0 = 0;
12061 char *_kwnames[] = { "self", NULL };
12062
12063 self = self;
12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
12065 return NULL;
12066 if (_argo0) {
12067 if (_argo0 == Py_None) { _arg0 = NULL; }
12068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12070 return NULL;
12071 }
12072 }
12073{
12074 wxPy_BEGIN_ALLOW_THREADS;
12075 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
12076
12077 wxPy_END_ALLOW_THREADS;
12078} _resultobj = Py_BuildValue("i",_result);
12079 return _resultobj;
12080}
12081
12082static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
12083 wxGridRangeSelectEvent *src;
12084 wxNotifyEvent *dest;
12085 src = (wxGridRangeSelectEvent *) ptr;
12086 dest = (wxNotifyEvent *) src;
12087 return (void *) dest;
12088}
12089
12090static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
12091 wxGridRangeSelectEvent *src;
12092 wxCommandEvent *dest;
12093 src = (wxGridRangeSelectEvent *) ptr;
12094 dest = (wxCommandEvent *) src;
12095 return (void *) dest;
12096}
12097
12098static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
12099 wxGridRangeSelectEvent *src;
12100 wxEvent *dest;
12101 src = (wxGridRangeSelectEvent *) ptr;
12102 dest = (wxEvent *) src;
12103 return (void *) dest;
12104}
12105
12106#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))
12107static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12108 PyObject * _resultobj;
12109 wxGridRangeSelectEvent * _result;
12110 int _arg0;
12111 wxEventType _arg1;
12112 wxGrid * _arg2;
12113 wxGridCellCoords * _arg3;
12114 wxGridCellCoords * _arg4;
12115 bool _arg5 = (bool ) TRUE;
12116 bool _arg6 = (bool ) FALSE;
12117 bool _arg7 = (bool ) FALSE;
12118 bool _arg8 = (bool ) FALSE;
12119 bool _arg9 = (bool ) FALSE;
12120 PyObject * _argo2 = 0;
12121 wxGridCellCoords temp;
12122 PyObject * _obj3 = 0;
12123 wxGridCellCoords temp0;
12124 PyObject * _obj4 = 0;
12125 int tempbool5 = (int) TRUE;
12126 int tempbool6 = (int) FALSE;
12127 int tempbool7 = (int) FALSE;
12128 int tempbool8 = (int) FALSE;
12129 int tempbool9 = (int) FALSE;
12130 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
12131 char _ptemp[128];
12132
12133 self = self;
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12135 return NULL;
12136 if (_argo2) {
12137 if (_argo2 == Py_None) { _arg2 = NULL; }
12138 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12139 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12140 return NULL;
12141 }
12142 }
12143{
12144 _arg3 = &temp;
12145 if (! wxGridCellCoords_helper(_obj3, &_arg3))
12146 return NULL;
12147}
12148{
12149 _arg4 = &temp0;
12150 if (! wxGridCellCoords_helper(_obj4, &_arg4))
12151 return NULL;
12152}
12153 _arg5 = (bool ) tempbool5;
12154 _arg6 = (bool ) tempbool6;
12155 _arg7 = (bool ) tempbool7;
12156 _arg8 = (bool ) tempbool8;
12157 _arg9 = (bool ) tempbool9;
12158{
12159 wxPy_BEGIN_ALLOW_THREADS;
12160 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12161
12162 wxPy_END_ALLOW_THREADS;
12163} if (_result) {
12164 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
12165 _resultobj = Py_BuildValue("s",_ptemp);
12166 } else {
12167 Py_INCREF(Py_None);
12168 _resultobj = Py_None;
12169 }
12170 return _resultobj;
12171}
12172
12173#define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12174static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12175 PyObject * _resultobj;
12176 wxGridCellCoords * _result;
12177 wxGridRangeSelectEvent * _arg0;
12178 PyObject * _argo0 = 0;
12179 char *_kwnames[] = { "self", NULL };
12180 char _ptemp[128];
12181
12182 self = self;
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
12184 return NULL;
12185 if (_argo0) {
12186 if (_argo0 == Py_None) { _arg0 = NULL; }
12187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12189 return NULL;
12190 }
12191 }
12192{
12193 wxPy_BEGIN_ALLOW_THREADS;
12194 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
12195
12196 wxPy_END_ALLOW_THREADS;
12197} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12198 _resultobj = Py_BuildValue("s",_ptemp);
12199 return _resultobj;
12200}
12201
12202#define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12203static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12204 PyObject * _resultobj;
12205 wxGridCellCoords * _result;
12206 wxGridRangeSelectEvent * _arg0;
12207 PyObject * _argo0 = 0;
12208 char *_kwnames[] = { "self", NULL };
12209 char _ptemp[128];
12210
12211 self = self;
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
12213 return NULL;
12214 if (_argo0) {
12215 if (_argo0 == Py_None) { _arg0 = NULL; }
12216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12218 return NULL;
12219 }
12220 }
12221{
12222 wxPy_BEGIN_ALLOW_THREADS;
12223 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
12224
12225 wxPy_END_ALLOW_THREADS;
12226} SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12227 _resultobj = Py_BuildValue("s",_ptemp);
12228 return _resultobj;
12229}
12230
12231#define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12232static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject * _resultobj;
12234 int _result;
12235 wxGridRangeSelectEvent * _arg0;
12236 PyObject * _argo0 = 0;
12237 char *_kwnames[] = { "self", NULL };
12238
12239 self = self;
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
12241 return NULL;
12242 if (_argo0) {
12243 if (_argo0 == Py_None) { _arg0 = NULL; }
12244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12246 return NULL;
12247 }
12248 }
12249{
12250 wxPy_BEGIN_ALLOW_THREADS;
12251 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
12252
12253 wxPy_END_ALLOW_THREADS;
12254} _resultobj = Py_BuildValue("i",_result);
12255 return _resultobj;
12256}
12257
12258#define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12259static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12260 PyObject * _resultobj;
12261 int _result;
12262 wxGridRangeSelectEvent * _arg0;
12263 PyObject * _argo0 = 0;
12264 char *_kwnames[] = { "self", NULL };
12265
12266 self = self;
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
12268 return NULL;
12269 if (_argo0) {
12270 if (_argo0 == Py_None) { _arg0 = NULL; }
12271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12273 return NULL;
12274 }
12275 }
12276{
12277 wxPy_BEGIN_ALLOW_THREADS;
12278 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
12279
12280 wxPy_END_ALLOW_THREADS;
12281} _resultobj = Py_BuildValue("i",_result);
12282 return _resultobj;
12283}
12284
12285#define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12286static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12287 PyObject * _resultobj;
12288 int _result;
12289 wxGridRangeSelectEvent * _arg0;
12290 PyObject * _argo0 = 0;
12291 char *_kwnames[] = { "self", NULL };
12292
12293 self = self;
12294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
12295 return NULL;
12296 if (_argo0) {
12297 if (_argo0 == Py_None) { _arg0 = NULL; }
12298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12300 return NULL;
12301 }
12302 }
12303{
12304 wxPy_BEGIN_ALLOW_THREADS;
12305 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
12306
12307 wxPy_END_ALLOW_THREADS;
12308} _resultobj = Py_BuildValue("i",_result);
12309 return _resultobj;
12310}
12311
12312#define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12313static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12314 PyObject * _resultobj;
12315 int _result;
12316 wxGridRangeSelectEvent * _arg0;
12317 PyObject * _argo0 = 0;
12318 char *_kwnames[] = { "self", NULL };
12319
12320 self = self;
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
12322 return NULL;
12323 if (_argo0) {
12324 if (_argo0 == Py_None) { _arg0 = NULL; }
12325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12327 return NULL;
12328 }
12329 }
12330{
12331 wxPy_BEGIN_ALLOW_THREADS;
12332 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
12333
12334 wxPy_END_ALLOW_THREADS;
12335} _resultobj = Py_BuildValue("i",_result);
12336 return _resultobj;
12337}
12338
12339#define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12340static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12341 PyObject * _resultobj;
12342 bool _result;
12343 wxGridRangeSelectEvent * _arg0;
12344 PyObject * _argo0 = 0;
12345 char *_kwnames[] = { "self", NULL };
12346
12347 self = self;
12348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
12349 return NULL;
12350 if (_argo0) {
12351 if (_argo0 == Py_None) { _arg0 = NULL; }
12352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12354 return NULL;
12355 }
12356 }
12357{
12358 wxPy_BEGIN_ALLOW_THREADS;
12359 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
12360
12361 wxPy_END_ALLOW_THREADS;
12362} _resultobj = Py_BuildValue("i",_result);
12363 return _resultobj;
12364}
12365
12366#define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12367static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12368 PyObject * _resultobj;
12369 bool _result;
12370 wxGridRangeSelectEvent * _arg0;
12371 PyObject * _argo0 = 0;
12372 char *_kwnames[] = { "self", NULL };
12373
12374 self = self;
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
12376 return NULL;
12377 if (_argo0) {
12378 if (_argo0 == Py_None) { _arg0 = NULL; }
12379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12381 return NULL;
12382 }
12383 }
12384{
12385 wxPy_BEGIN_ALLOW_THREADS;
12386 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
12387
12388 wxPy_END_ALLOW_THREADS;
12389} _resultobj = Py_BuildValue("i",_result);
12390 return _resultobj;
12391}
12392
12393#define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12394static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12395 PyObject * _resultobj;
12396 bool _result;
12397 wxGridRangeSelectEvent * _arg0;
12398 PyObject * _argo0 = 0;
12399 char *_kwnames[] = { "self", NULL };
12400
12401 self = self;
12402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
12403 return NULL;
12404 if (_argo0) {
12405 if (_argo0 == Py_None) { _arg0 = NULL; }
12406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
12408 return NULL;
12409 }
12410 }
12411{
12412 wxPy_BEGIN_ALLOW_THREADS;
12413 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
12414
12415 wxPy_END_ALLOW_THREADS;
12416} _resultobj = Py_BuildValue("i",_result);
12417 return _resultobj;
12418}
12419
12420#define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12421static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12422 PyObject * _resultobj;
12423 bool _result;
12424 wxGridRangeSelectEvent * _arg0;
12425 PyObject * _argo0 = 0;
12426 char *_kwnames[] = { "self", NULL };
12427
12428 self = self;
12429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
12430 return NULL;
12431 if (_argo0) {
12432 if (_argo0 == Py_None) { _arg0 = NULL; }
12433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
12435 return NULL;
12436 }
12437 }
12438{
12439 wxPy_BEGIN_ALLOW_THREADS;
12440 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
12441
12442 wxPy_END_ALLOW_THREADS;
12443} _resultobj = Py_BuildValue("i",_result);
12444 return _resultobj;
12445}
12446
12447#define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
12448static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12449 PyObject * _resultobj;
12450 bool _result;
12451 wxGridRangeSelectEvent * _arg0;
12452 PyObject * _argo0 = 0;
12453 char *_kwnames[] = { "self", NULL };
12454
12455 self = self;
12456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
12457 return NULL;
12458 if (_argo0) {
12459 if (_argo0 == Py_None) { _arg0 = NULL; }
12460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
12462 return NULL;
12463 }
12464 }
12465{
12466 wxPy_BEGIN_ALLOW_THREADS;
12467 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
12468
12469 wxPy_END_ALLOW_THREADS;
12470} _resultobj = Py_BuildValue("i",_result);
12471 return _resultobj;
12472}
12473
12474static PyMethodDef gridcMethods[] = {
12475 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12476 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12477 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12478 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12479 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12480 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
12481 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
12482 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
12483 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
12484 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
12485 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
12486 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
12487 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12488 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12489 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12490 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12491 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12492 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
12493 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
12494 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12495 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12496 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12497 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12498 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12499 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12500 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
12501 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
12502 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
12503 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
12504 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
12505 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
12506 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
12507 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
12508 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
12509 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12510 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12511 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12512 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12513 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
12514 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
12515 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
12516 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
12517 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
12518 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
12519 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
12520 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
12521 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12522 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12523 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
12524 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
12525 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
12526 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12527 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
12528 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12529 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12530 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12531 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12532 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12533 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12534 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12535 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
12536 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12537 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12538 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12539 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12540 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12541 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
12542 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
12543 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
12544 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
12545 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
12546 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
12547 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
12548 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
12549 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12550 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
12551 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12552 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12553 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12554 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
12555 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12556 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12557 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12558 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12559 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12560 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
12561 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12562 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
12563 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12564 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
12565 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
12566 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
12567 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
12568 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
12569 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
12570 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12571 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12572 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
12573 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12574 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12575 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
12576 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
12577 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
12578 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
12579 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12580 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12581 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12582 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12583 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12584 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12585 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12586 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12587 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
12588 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12589 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12590 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12591 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12592 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12593 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12594 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12595 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12596 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12597 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12598 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
12599 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12600 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12601 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12602 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
12603 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12604 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12605 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
12606 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
12607 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
12608 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
12609 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
12610 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
12611 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
12612 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
12613 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
12614 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
12615 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
12616 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
12617 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
12618 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
12619 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
12620 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
12621 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
12622 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
12623 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
12624 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
12625 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
12626 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
12627 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
12628 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
12629 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
12630 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
12631 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
12632 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
12633 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12634 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12635 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
12636 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
12637 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
12638 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
12639 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
12640 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
12641 { "wxGrid_StringToLines", (PyCFunction) _wrap_wxGrid_StringToLines, METH_VARARGS | METH_KEYWORDS },
12642 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
12643 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
12644 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12645 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
12646 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
12647 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12648 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
12649 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
12650 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
12651 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
12652 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
12653 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
12654 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12655 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12656 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
12657 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
12658 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
12659 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
12660 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
12661 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
12662 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
12663 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
12664 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
12665 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
12666 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12667 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12668 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12669 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12670 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
12671 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
12672 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
12673 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
12674 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
12675 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
12676 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12677 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12678 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
12679 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12680 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12681 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12682 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12683 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12684 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12685 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12686 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12687 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12688 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12689 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
12690 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
12691 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12692 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
12693 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
12694 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
12695 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12696 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12697 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12698 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
12699 { "wxPyGridTableBase__setSelf", (PyCFunction) _wrap_wxPyGridTableBase__setSelf, METH_VARARGS | METH_KEYWORDS },
12700 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
12701 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12702 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12703 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
12704 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
12705 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12706 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12707 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12708 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12709 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12710 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12711 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
12712 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
12713 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12714 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
12715 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
12716 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
12717 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12718 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12719 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12720 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12721 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12722 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12723 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12724 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12725 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12726 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
12727 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
12728 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
12729 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12730 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12731 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
12732 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
12733 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12734 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12735 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12736 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12737 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12738 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12739 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setSelf, METH_VARARGS | METH_KEYWORDS },
12740 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12741 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
12742 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
12743 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12744 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12745 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
12746 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
12747 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12748 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
12749 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12750 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
12751 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
12752 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
12753 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
12754 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12755 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
12756 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
12757 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
12758 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
12759 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
12760 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12761 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
12762 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
12763 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
12764 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12765 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
12766 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
12767 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12768 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12769 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
12770 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
12771 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
12772 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
12773 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
12774 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
12775 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
12776 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
12777 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
12778 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
12779 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
12780 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
12781 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
12782 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
dbbb98cd 12783 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
12784 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
12785 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
12786 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
12787 { "wxPyGridCellEditor__setSelf", (PyCFunction) _wrap_wxPyGridCellEditor__setSelf, METH_VARARGS | METH_KEYWORDS },
12788 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
12789 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
12790 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
12791 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
12792 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
12793 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
12794 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
12795 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
12796 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
12797 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
12798 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
12799 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
12800 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
12801 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
12802 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
12803 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
12804 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
12805 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
12806 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
12807 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
12808 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
12809 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
12810 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
12811 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
12812 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
12813 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
12814 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
12815 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
12816 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
12817 { "wxPyGridCellRenderer__setSelf", (PyCFunction) _wrap_wxPyGridCellRenderer__setSelf, METH_VARARGS | METH_KEYWORDS },
12818 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
12819 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
12820 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
12821 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
12822 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
12823 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
12824 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
12825 { NULL, NULL }
12826};
12827#ifdef __cplusplus
12828}
12829#endif
12830/*
12831 * This table is used by the pointer type-checker
12832 */
12833static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
12834 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
12835 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
12836 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
12837 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
12838 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
12839 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
12840 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
12841 { "_wxEvent","_class_wxEvent",0},
12842 { "_class_wxActivateEvent","_wxActivateEvent",0},
12843 { "_signed_long","_long",0},
12844 { "_wxMenuEvent","_class_wxMenuEvent",0},
12845 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
12846 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
12847 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
12848 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
12849 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
12850 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
12851 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
12852 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
12853 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
12854 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
12855 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
12856 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
12857 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
12858 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
12859 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
12860 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
12861 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
12862 { "_wxPrintQuality","_wxCoord",0},
12863 { "_wxPrintQuality","_int",0},
12864 { "_wxPrintQuality","_signed_int",0},
12865 { "_wxPrintQuality","_unsigned_int",0},
12866 { "_wxPrintQuality","_wxWindowID",0},
12867 { "_wxPrintQuality","_uint",0},
12868 { "_wxPrintQuality","_EBool",0},
12869 { "_wxPrintQuality","_size_t",0},
c368d904 12870 { "_wxPrintQuality","_time_t",0},
f6bcfd97
BP
12871 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
12872 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
12873 { "_class_wxRegionIterator","_wxRegionIterator",0},
12874 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
12875 { "_class_wxMenuBar","_wxMenuBar",0},
12876 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
12877 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
12878 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
12879 { "_class_wxEvtHandler","_wxEvtHandler",0},
12880 { "_wxPaintEvent","_class_wxPaintEvent",0},
12881 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
12882 { "_wxCursor","_class_wxCursor",0},
12883 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
12884 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
12885 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
12886 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
12887 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
12888 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
12889 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
12890 { "_wxMask","_class_wxMask",0},
12891 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
12892 { "_wxGrid","_class_wxGrid",0},
12893 { "_wxPen","_class_wxPen",0},
12894 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
12895 { "_byte","_unsigned_char",0},
12896 { "_wxDataObject","_class_wxDataObject",0},
12897 { "_wxStaticBox","_class_wxStaticBox",0},
12898 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
12899 { "_wxPyDropSource","_class_wxPyDropSource",0},
12900 { "_wxChoice","_class_wxChoice",0},
12901 { "_wxSlider","_class_wxSlider",0},
12902 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
12903 { "_long","_unsigned_long",0},
12904 { "_long","_signed_long",0},
12905 { "_wxImageList","_class_wxImageList",0},
12906 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
12907 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
12908 { "_wxBitmapButton","_class_wxBitmapButton",0},
12909 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
12910 { "_class_wxClipboard","_wxClipboard",0},
12911 { "_class_wxGauge","_wxGauge",0},
12912 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
12913 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
12914 { "_wxDC","_class_wxDC",0},
12915 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
12916 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
12917 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
12918 { "_wxSpinEvent","_class_wxSpinEvent",0},
12919 { "_size_t","_WXGRIDSELECTIONMODES",0},
12920 { "_size_t","_wxCoord",0},
12921 { "_size_t","_wxPrintQuality",0},
c368d904 12922 { "_size_t","_time_t",0},
f6bcfd97
BP
12923 { "_size_t","_unsigned_int",0},
12924 { "_size_t","_int",0},
12925 { "_size_t","_wxWindowID",0},
12926 { "_size_t","_uint",0},
12927 { "_class_wxRealPoint","_wxRealPoint",0},
12928 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
12929 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
12930 { "_wxPrinterDC","_class_wxPrinterDC",0},
12931 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
12932 { "_class_wxMenuItem","_wxMenuItem",0},
12933 { "_class_wxPaintEvent","_wxPaintEvent",0},
12934 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
12935 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
12936 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
12937 { "_wxPanel","_class_wxPanel",0},
12938 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
12939 { "_wxCheckBox","_class_wxCheckBox",0},
12940 { "_wxPyEvent","_class_wxPyEvent",0},
12941 { "_wxTextCtrl","_class_wxTextCtrl",0},
12942 { "_class_wxMask","_wxMask",0},
12943 { "_wxTextDataObject","_class_wxTextDataObject",0},
12944 { "_class_wxKeyEvent","_wxKeyEvent",0},
12945 { "_class_wxGrid","_wxGrid",0},
12946 { "_wxColour","_class_wxColour",0},
12947 { "_class_wxDialog","_wxDialog",0},
12948 { "_class_wxFileDataObject","_wxFileDataObject",0},
12949 { "_wxIdleEvent","_class_wxIdleEvent",0},
12950 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
12951 { "_class_wxDataObject","_wxDataObject",0},
12952 { "_wxStaticLine","_class_wxStaticLine",0},
12953 { "_wxBrush","_class_wxBrush",0},
12954 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
12955 { "_wxDataFormat","_class_wxDataFormat",0},
12956 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
12957 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
12958 { "_wxShowEvent","_class_wxShowEvent",0},
12959 { "_uint","_WXGRIDSELECTIONMODES",0},
12960 { "_uint","_wxCoord",0},
12961 { "_uint","_wxPrintQuality",0},
c368d904 12962 { "_uint","_time_t",0},
f6bcfd97
BP
12963 { "_uint","_size_t",0},
12964 { "_uint","_unsigned_int",0},
12965 { "_uint","_int",0},
12966 { "_uint","_wxWindowID",0},
12967 { "_wxChar","_char",0},
12968 { "_wxPyValidator","_class_wxPyValidator",0},
12969 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
12970 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
12971 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
12972 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
12973 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
12974 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
12975 { "_class_wxEvent","_wxEvent",0},
12976 { "_wxCheckListBox","_class_wxCheckListBox",0},
12977 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
12978 { "_wxGridEvent","_class_wxGridEvent",0},
12979 { "_wxRect","_class_wxRect",0},
12980 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
12981 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
12982 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
12983 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
12984 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
12985 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
12986 { "_wxCommandEvent","_class_wxCommandEvent",0},
12987 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
12988 { "_wxSizeEvent","_class_wxSizeEvent",0},
12989 { "_wxPoint","_class_wxPoint",0},
12990 { "_class_wxButton","_wxButton",0},
12991 { "_wxRadioBox","_class_wxRadioBox",0},
12992 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
12993 { "_char","_wxChar",0},
12994 { "_wxBitmap","_class_wxBitmap",0},
12995 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
12996 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
12997 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
12998 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
12999 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
13000 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
13001 { "_wxWindowDC","_class_wxWindowDC",0},
13002 { "_wxTimerEvent","_class_wxTimerEvent",0},
13003 { "_wxScrollBar","_class_wxScrollBar",0},
13004 { "_wxSpinButton","_class_wxSpinButton",0},
13005 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
13006 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13007 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13008 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13009 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13010 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13011 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13012 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
13013 { "_class_wxValidator","_wxValidator",0},
13014 { "_class_wxPyEvent","_wxPyEvent",0},
13015 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
13016 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
13017 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
13018 { "_wxDropTarget","_class_wxDropTarget",0},
13019 { "_class_wxStaticLine","_wxStaticLine",0},
13020 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
13021 { "_wxScrollEvent","_class_wxScrollEvent",0},
13022 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13023 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13024 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13025 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13026 { "_wxGridTableBase","_class_wxGridTableBase",0},
13027 { "_wxGridStringTable","_class_wxGridStringTable",0},
13028 { "_EBool","_WXGRIDSELECTIONMODES",0},
13029 { "_EBool","_wxCoord",0},
13030 { "_EBool","_wxPrintQuality",0},
13031 { "_EBool","_signed_int",0},
13032 { "_EBool","_int",0},
13033 { "_EBool","_wxWindowID",0},
13034 { "_class_wxRegion","_wxRegion",0},
13035 { "_class_wxDataFormat","_wxDataFormat",0},
13036 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
13037 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13038 { "_wxStaticText","_class_wxStaticText",0},
13039 { "_wxFont","_class_wxFont",0},
13040 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13041 { "_wxCloseEvent","_class_wxCloseEvent",0},
13042 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13043 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13044 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13045 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13046 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13047 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13048 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13049 { "_unsigned_long","_long",0},
13050 { "_class_wxRect","_wxRect",0},
13051 { "_class_wxDC","_wxDC",0},
13052 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13053 { "_WXGRIDSELECTIONMODES","_int",0},
13054 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13055 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13056 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13057 { "_WXGRIDSELECTIONMODES","_uint",0},
13058 { "_WXGRIDSELECTIONMODES","_EBool",0},
13059 { "_WXGRIDSELECTIONMODES","_size_t",0},
c368d904 13060 { "_WXGRIDSELECTIONMODES","_time_t",0},
f6bcfd97
BP
13061 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13062 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
13063 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
13064 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13065 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13066 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13067 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13068 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13069 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13070 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13071 { "_wxFocusEvent","_class_wxFocusEvent",0},
13072 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13073 { "_class_wxTimerEvent","_wxTimerEvent",0},
13074 { "_class_wxSpinButton","_wxSpinButton",0},
13075 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13076 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13077 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13078 { "_class_wxPanel","_wxPanel",0},
13079 { "_class_wxCheckBox","_wxCheckBox",0},
13080 { "_wxComboBox","_class_wxComboBox",0},
13081 { "_wxRadioButton","_class_wxRadioButton",0},
13082 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13083 { "_signed_int","_wxCoord",0},
13084 { "_signed_int","_wxPrintQuality",0},
13085 { "_signed_int","_EBool",0},
13086 { "_signed_int","_wxWindowID",0},
13087 { "_signed_int","_int",0},
13088 { "_class_wxTextCtrl","_wxTextCtrl",0},
13089 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13090 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
13091 { "_class_wxTextDataObject","_wxTextDataObject",0},
13092 { "_wxMenu","_class_wxMenu",0},
13093 { "_class_wxMoveEvent","_wxMoveEvent",0},
13094 { "_wxListBox","_class_wxListBox",0},
13095 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13096 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13097 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13098 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13099 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13100 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13101 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13102 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13103 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13104 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13105 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13106 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13107 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13108 { "_wxScreenDC","_class_wxScreenDC",0},
13109 { "_WXTYPE","_short",0},
13110 { "_WXTYPE","_signed_short",0},
13111 { "_WXTYPE","_unsigned_short",0},
13112 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13113 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13114 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13115 { "_class_wxDropTarget","_wxDropTarget",0},
13116 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13117 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13118 { "_class_wxBrush","_wxBrush",0},
13119 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13120 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13121 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13122 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13123 { "_class_wxGridTableBase","_wxGridTableBase",0},
13124 { "_unsigned_short","_WXTYPE",0},
13125 { "_unsigned_short","_short",0},
13126 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13127 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13128 { "_class_wxWindow","_wxWindow",0},
13129 { "_class_wxStaticText","_wxStaticText",0},
13130 { "_class_wxFont","_wxFont",0},
13131 { "_wxClipboard","_class_wxClipboard",0},
13132 { "_class_wxPyValidator","_wxPyValidator",0},
13133 { "_class_wxCloseEvent","_wxCloseEvent",0},
13134 { "_wxBusyInfo","_class_wxBusyInfo",0},
13135 { "_class_wxMenuEvent","_wxMenuEvent",0},
13136 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13137 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13138 { "_wxClientDC","_class_wxClientDC",0},
13139 { "_wxMouseEvent","_class_wxMouseEvent",0},
13140 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
13141 { "_class_wxPoint","_wxPoint",0},
13142 { "_wxRealPoint","_class_wxRealPoint",0},
13143 { "_class_wxRadioBox","_wxRadioBox",0},
13144 { "_signed_short","_WXTYPE",0},
13145 { "_signed_short","_short",0},
13146 { "_wxMemoryDC","_class_wxMemoryDC",0},
13147 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13148 { "_wxPaintDC","_class_wxPaintDC",0},
13149 { "_class_wxWindowDC","_wxWindowDC",0},
13150 { "_class_wxFocusEvent","_wxFocusEvent",0},
13151 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13152 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13153 { "_class_wxCursor","_wxCursor",0},
13154 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13155 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13156 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13157 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13158 { "_unsigned_char","_byte",0},
13159 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
13160 { "_class_wxMenu","_wxMenu",0},
13161 { "_wxControl","_class_wxControl",0},
13162 { "_class_wxListBox","_wxListBox",0},
13163 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13164 { "_unsigned_int","_wxCoord",0},
13165 { "_unsigned_int","_wxPrintQuality",0},
c368d904 13166 { "_unsigned_int","_time_t",0},
f6bcfd97
BP
13167 { "_unsigned_int","_size_t",0},
13168 { "_unsigned_int","_uint",0},
13169 { "_unsigned_int","_wxWindowID",0},
13170 { "_unsigned_int","_int",0},
13171 { "_wxIcon","_class_wxIcon",0},
13172 { "_wxDialog","_class_wxDialog",0},
13173 { "_class_wxPen","_wxPen",0},
13174 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13175 { "_short","_WXTYPE",0},
13176 { "_short","_unsigned_short",0},
13177 { "_short","_signed_short",0},
13178 { "_class_wxStaticBox","_wxStaticBox",0},
13179 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13180 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13181 { "_class_wxPyDropSource","_wxPyDropSource",0},
13182 { "_class_wxScrollEvent","_wxScrollEvent",0},
13183 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13184 { "_class_wxChoice","_wxChoice",0},
13185 { "_class_wxSlider","_wxSlider",0},
13186 { "_class_wxImageList","_wxImageList",0},
13187 { "_class_wxBitmapButton","_wxBitmapButton",0},
13188 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13189 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13190 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13191 { "_wxWindowID","_wxCoord",0},
13192 { "_wxWindowID","_wxPrintQuality",0},
c368d904 13193 { "_wxWindowID","_time_t",0},
f6bcfd97
BP
13194 { "_wxWindowID","_size_t",0},
13195 { "_wxWindowID","_EBool",0},
13196 { "_wxWindowID","_uint",0},
13197 { "_wxWindowID","_int",0},
13198 { "_wxWindowID","_signed_int",0},
13199 { "_wxWindowID","_unsigned_int",0},
13200 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13201 { "_int","_WXGRIDSELECTIONMODES",0},
13202 { "_int","_wxCoord",0},
13203 { "_int","_wxPrintQuality",0},
c368d904 13204 { "_int","_time_t",0},
f6bcfd97
BP
13205 { "_int","_size_t",0},
13206 { "_int","_EBool",0},
13207 { "_int","_uint",0},
13208 { "_int","_wxWindowID",0},
13209 { "_int","_unsigned_int",0},
13210 { "_int","_signed_int",0},
13211 { "_class_wxMouseEvent","_wxMouseEvent",0},
13212 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13213 { "_class_wxSpinEvent","_wxSpinEvent",0},
13214 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
c368d904
RD
13215 { "_time_t","_WXGRIDSELECTIONMODES",0},
13216 { "_time_t","_wxCoord",0},
13217 { "_time_t","_wxPrintQuality",0},
13218 { "_time_t","_unsigned_int",0},
13219 { "_time_t","_int",0},
13220 { "_time_t","_wxWindowID",0},
13221 { "_time_t","_uint",0},
13222 { "_time_t","_size_t",0},
f6bcfd97
BP
13223 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13224 { "_wxButton","_class_wxButton",0},
13225 { "_wxSize","_class_wxSize",0},
13226 { "_wxRegionIterator","_class_wxRegionIterator",0},
13227 { "_class_wxPrinterDC","_wxPrinterDC",0},
13228 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13229 { "_class_wxPaintDC","_wxPaintDC",0},
13230 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13231 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13232 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13233 { "_class_wxComboBox","_wxComboBox",0},
13234 { "_class_wxRadioButton","_wxRadioButton",0},
13235 { "_wxValidator","_class_wxValidator",0},
13236 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13237 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13238 { "_class_wxControl","_wxControl",0},
13239 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13240 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13241 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13242 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13243 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13244 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13245 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13246 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13247 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13248 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13249 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13250 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13251 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13252 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13253 { "_class_wxIcon","_wxIcon",0},
13254 { "_class_wxColour","_wxColour",0},
13255 { "_class_wxScreenDC","_wxScreenDC",0},
13256 { "_wxPalette","_class_wxPalette",0},
13257 { "_class_wxIdleEvent","_wxIdleEvent",0},
13258 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13259 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13260 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13261 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13262 { "_wxCoord","_int",0},
13263 { "_wxCoord","_signed_int",0},
13264 { "_wxCoord","_unsigned_int",0},
13265 { "_wxCoord","_wxWindowID",0},
13266 { "_wxCoord","_uint",0},
13267 { "_wxCoord","_EBool",0},
13268 { "_wxCoord","_size_t",0},
c368d904 13269 { "_wxCoord","_time_t",0},
f6bcfd97
BP
13270 { "_wxCoord","_wxPrintQuality",0},
13271 { "_wxEraseEvent","_class_wxEraseEvent",0},
13272 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13273 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13274 { "_wxRegion","_class_wxRegion",0},
13275 { "_class_wxShowEvent","_wxShowEvent",0},
13276 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13277 { "_wxActivateEvent","_class_wxActivateEvent",0},
13278 { "_wxGauge","_class_wxGauge",0},
13279 { "_class_wxCheckListBox","_wxCheckListBox",0},
13280 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13281 { "_class_wxBusyInfo","_wxBusyInfo",0},
13282 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13283 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13284 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13285 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13286 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13287 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13288 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13289 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13290 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13291 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13292 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13293 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13294 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13295 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13296 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13297 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13298 { "_class_wxGridEvent","_wxGridEvent",0},
13299 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13300 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13301 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13302 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13303 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13304 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13305 { "_class_wxCommandEvent","_wxCommandEvent",0},
13306 { "_class_wxClientDC","_wxClientDC",0},
13307 { "_class_wxSizeEvent","_wxSizeEvent",0},
13308 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13309 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13310 { "_class_wxSize","_wxSize",0},
13311 { "_class_wxBitmap","_wxBitmap",0},
13312 { "_class_wxMemoryDC","_wxMemoryDC",0},
13313 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13314 { "_wxMenuBar","_class_wxMenuBar",0},
13315 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13316 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13317 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13318 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13319 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13320 { "_wxEvtHandler","_class_wxEvtHandler",0},
13321 { "_wxMenuItem","_class_wxMenuItem",0},
13322 { "_class_wxScrollBar","_wxScrollBar",0},
13323 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13324 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13325 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13326 { "_wxKeyEvent","_class_wxKeyEvent",0},
13327 { "_wxMoveEvent","_class_wxMoveEvent",0},
13328 { "_class_wxPalette","_wxPalette",0},
13329 { "_wxFileDataObject","_class_wxFileDataObject",0},
13330 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13331 { "_class_wxEraseEvent","_wxEraseEvent",0},
13332 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13333 { "_class_wxGridStringTable","_wxGridStringTable",0},
13334 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13335 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13336 { "_wxWindow","_class_wxWindow",0},
13337 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13338{0,0,0}};
13339
13340static PyObject *SWIG_globals;
13341#ifdef __cplusplus
13342extern "C"
13343#endif
13344SWIGEXPORT(void) initgridc() {
13345 PyObject *m, *d;
13346 SWIG_globals = SWIG_newvarlink();
13347 m = Py_InitModule("gridc", gridcMethods);
13348 d = PyModule_GetDict(m);
13349 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13350 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13351 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13352 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13353 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13354 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13355 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13356 PyDict_SetItemString(d,"cvar", SWIG_globals);
13357 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
13358 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
13359 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
13360 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
13361 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
13362 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
13363 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
13364 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
13365 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
13366 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
13367 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
13368 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
13369 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
13370 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
13371 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
13372 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
13373 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
13374 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
13375 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
13376 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
13377 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
13378 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
13379 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
13380 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
13381 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
13382 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
13383 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
13384 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
13385{
13386 int i;
13387 for (i = 0; _swig_mapping[i].n1; i++)
13388 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13389}
13390}