]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid.cpp
Added patch to wxPoint_LIST_helper from Tim Hochberg that should make
[wxWidgets.git] / wxPython / src / gtk / grid.cpp
1 /*
2 * FILE : src/gtk/grid.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initgridc
53
54 #define SWIG_name "gridc"
55
56 #include "export.h"
57 #include <wx/grid.h>
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 if (!target) {
62 target = o;
63 } else if (target == Py_None) {
64 Py_DECREF(Py_None);
65 target = o;
66 } else {
67 if (!PyList_Check(target)) {
68 o2 = target;
69 target = PyList_New(0);
70 PyList_Append(target, o2);
71 Py_XDECREF(o2);
72 }
73 PyList_Append(target,o);
74 Py_XDECREF(o);
75 }
76 return target;
77 }
78
79 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
83 if (!target) {
84 target = o;
85 } else if (target == Py_None) {
86 Py_DECREF(Py_None);
87 target = o;
88 } else {
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
96
97 o2 = target;
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
100 Py_DECREF(o3);
101 }
102 return target;
103 }
104
105 static char* wxStringErrorMsg = "string type is required for parameter";
106
107 #define PYCALLBACK_GCA_INTINT(PCLASS, CBNAME) \
108 wxGridCellAttr* CBNAME(int a, int b) { \
109 wxGridCellAttr* rval = NULL; \
110 bool doSave = wxPyRestoreThread(); \
111 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
112 PyObject* ro; \
113 wxGridCellAttr* ptr; \
114 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", a, b)); \
115 if (ro) { \
116 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
117 rval = ptr; \
118 Py_DECREF(ro); \
119 } \
120 } \
121 else \
122 rval = PCLASS::CBNAME(a, b); \
123 wxPySaveThread(doSave); \
124 return rval; \
125 } \
126 wxGridCellAttr *base_##CBNAME(int a, int b) { \
127 return PCLASS::CBNAME(a, b); \
128 }
129
130
131
132 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
133 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
134 bool doSave = wxPyRestoreThread(); \
135 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
136 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
137 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
138 Py_DECREF(obj); \
139 } \
140 else \
141 PCLASS::CBNAME(attr, a, b); \
142 wxPySaveThread(doSave); \
143 } \
144 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
145 PCLASS::CBNAME(attr, a, b); \
146 }
147
148
149
150 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
151 void CBNAME(wxGridCellAttr *attr, int val) { \
152 bool doSave = wxPyRestoreThread(); \
153 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
154 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
155 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
156 Py_DECREF(obj); \
157 } \
158 else \
159 PCLASS::CBNAME(attr, val); \
160 wxPySaveThread(doSave); \
161 } \
162 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
163 PCLASS::CBNAME(attr, val); \
164 }
165
166
167
168 #define PYCALLBACK_INT__pure(CBNAME) \
169 int CBNAME() { \
170 bool doSave = wxPyRestoreThread(); \
171 int rval = 0; \
172 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
173 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
174 wxPySaveThread(doSave); \
175 return rval; \
176 }
177
178
179
180 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
181 bool CBNAME(int a, int b) { \
182 bool doSave = wxPyRestoreThread(); \
183 bool rval = 0; \
184 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
185 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
186 wxPySaveThread(doSave); \
187 return rval; \
188 }
189
190
191
192 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
193 wxString CBNAME(int a, int b) { \
194 bool doSave = wxPyRestoreThread(); \
195 wxString rval; \
196 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
197 PyObject* ro; \
198 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
199 if (ro) { \
200 PyObject* str = PyObject_Str(ro); \
201 rval = PyString_AsString(str); \
202 Py_DECREF(ro); Py_DECREF(str); \
203 } \
204 } \
205 wxPySaveThread(doSave); \
206 return rval; \
207 }
208
209
210
211 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
212 void CBNAME(int a, int b, const wxString& c) { \
213 bool doSave = wxPyRestoreThread(); \
214 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
215 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str())); \
216 wxPySaveThread(doSave); \
217 }
218
219
220 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
221 wxString CBNAME(int a, int b) { \
222 bool doSave = wxPyRestoreThread(); \
223 wxString rval; \
224 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
225 PyObject* ro; \
226 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
227 if (ro) { \
228 PyObject* str = PyObject_Str(ro); \
229 rval = PyString_AsString(str); \
230 Py_DECREF(ro); Py_DECREF(str); \
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 (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
248 rval = wxPyCBH_callCallback(m_myInst, 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 (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
266 rval = wxPyCBH_callCallback(m_myInst, 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 (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
283 rval = wxPyCBH_callCallback(m_myInst, 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 (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
300 PyObject* ro; \
301 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
302 if (ro) { \
303 PyObject* str = PyObject_Str(ro); \
304 rval = PyFloat_AsDouble(str); \
305 Py_DECREF(ro); Py_DECREF(str); \
306 } \
307 } else \
308 rval = PCLASS::CBNAME(a, b); \
309 wxPySaveThread(doSave); \
310 return rval; \
311 } \
312 double base_##CBNAME(int a, int b) { \
313 return PCLASS::CBNAME(a, b); \
314 }
315
316
317
318 #define PYCALLBACK__(PCLASS, CBNAME) \
319 void CBNAME() { \
320 bool doSave = wxPyRestoreThread(); \
321 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
322 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
323 else \
324 PCLASS::CBNAME(); \
325 wxPySaveThread(doSave); \
326 } \
327 void base_##CBNAME() { \
328 PCLASS::CBNAME(); \
329 }
330
331
332
333
334 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
335 bool CBNAME(size_t a, size_t b) { \
336 bool rval; \
337 bool doSave = wxPyRestoreThread(); \
338 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
339 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
340 else \
341 rval = PCLASS::CBNAME(a,b); \
342 wxPySaveThread(doSave); \
343 return rval; \
344 } \
345 bool base_##CBNAME(size_t a, size_t b) { \
346 return PCLASS::CBNAME(a,b); \
347 }
348
349
350
351 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
352 bool CBNAME(size_t a) { \
353 bool rval; \
354 bool doSave = wxPyRestoreThread(); \
355 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
356 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
357 else \
358 rval = PCLASS::CBNAME(a); \
359 wxPySaveThread(doSave); \
360 return rval; \
361 } \
362 bool base_##CBNAME(size_t a) { \
363 return PCLASS::CBNAME(a); \
364 }
365
366
367
368 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
369 wxString CBNAME(int a) { \
370 bool doSave = wxPyRestoreThread(); \
371 wxString rval; \
372 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
373 PyObject* ro; \
374 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
375 if (ro) { \
376 PyObject* str = PyObject_Str(ro); \
377 rval = PyString_AsString(str); \
378 Py_DECREF(ro); Py_DECREF(str); \
379 } \
380 } else \
381 rval = PCLASS::CBNAME(a); \
382 wxPySaveThread(doSave); \
383 return rval; \
384 } \
385 wxString base_##CBNAME(int a) { \
386 return PCLASS::CBNAME(a); \
387 }
388
389
390
391 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
392 void CBNAME(int a, const wxString& c) { \
393 bool doSave = wxPyRestoreThread(); \
394 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
395 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
396 else \
397 PCLASS::CBNAME(a,c); \
398 wxPySaveThread(doSave); \
399 } \
400 void base_##CBNAME(int a, const wxString& c) { \
401 PCLASS::CBNAME(a,c); \
402 }
403
404
405
406
407 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
408 bool CBNAME() { \
409 bool rval; \
410 bool doSave = wxPyRestoreThread(); \
411 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
412 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
413 else \
414 rval = PCLASS::CBNAME(); \
415 wxPySaveThread(doSave); \
416 return rval; \
417 } \
418 bool base_##CBNAME() { \
419 return PCLASS::CBNAME(); \
420 }
421
422
423
424 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
425 void CBNAME(size_t a, int b) { \
426 bool doSave = wxPyRestoreThread(); \
427 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
428 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
429 else \
430 PCLASS::CBNAME(a,b); \
431 wxPySaveThread(doSave); \
432 } \
433 void base_##CBNAME(size_t a, int b) { \
434 PCLASS::CBNAME(a,b); \
435 }
436
437
438
439
440 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
441 void CBNAME(int a, int b, long c) { \
442 bool doSave = wxPyRestoreThread(); \
443 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
444 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
445 else \
446 PCLASS::CBNAME(a,b,c); \
447 wxPySaveThread(doSave); \
448 } \
449 void base_##CBNAME(int a, int b, long c) { \
450 PCLASS::CBNAME(a,b,c); \
451 }
452
453
454
455
456 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
457 void CBNAME(int a, int b, double c) { \
458 bool doSave = wxPyRestoreThread(); \
459 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
460 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
461 else \
462 PCLASS::CBNAME(a,b,c); \
463 wxPySaveThread(doSave); \
464 } \
465 void base_##CBNAME(int a, int b, double c) { \
466 PCLASS::CBNAME(a,b,c); \
467 }
468
469
470
471 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
472 void CBNAME(int a, int b, bool c) { \
473 bool doSave = wxPyRestoreThread(); \
474 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
475 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
476 else \
477 PCLASS::CBNAME(a,b,c); \
478 wxPySaveThread(doSave); \
479 } \
480 void base_##CBNAME(int a, int b, bool c) { \
481 PCLASS::CBNAME(a,b,c); \
482 }
483
484
485
486
487
488 class wxPyGridCellRenderer : public wxGridCellRenderer
489 {
490 public:
491 wxPyGridCellRenderer() : wxGridCellRenderer() {};
492
493 // Implement Python callback aware virtual methods
494 void Draw(wxGrid& grid, wxGridCellAttr& attr,
495 wxDC& dc, const wxRect& rect,
496 int row, int col, bool isSelected) {
497 bool doSave = wxPyRestoreThread();
498 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
499 wxPyCBH_callCallback(m_myInst,
500 Py_BuildValue("(OOOOiii)",
501 wxPyConstructObject((void*)&grid, "wxGrid", 0),
502 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
503 wxPyConstructObject((void*)&dc, "wxDC", 0),
504 wxPyConstructObject((void*)&rect, "wxRect", 0),
505 row, col, isSelected));
506 }
507 wxPySaveThread(doSave);
508 }
509
510 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
511 int row, int col) {
512 wxSize rval;
513 bool doSave = wxPyRestoreThread();
514 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
515 PyObject* ro;
516 wxSize* ptr;
517 ro = wxPyCBH_callCallbackObj(m_myInst,
518 Py_BuildValue("(OOOii)",
519 wxPyConstructObject((void*)&grid, "wxGrid", 0),
520 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
521 wxPyConstructObject((void*)&dc, "wxDC", 0),
522 row, col));
523 if (ro) {
524 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
525 rval = *ptr;
526 Py_DECREF(ro);
527 }
528 }
529 wxPySaveThread(doSave);
530 return rval;
531 }
532
533
534 wxGridCellRenderer *Clone() const {
535 wxGridCellRenderer* rval = NULL;
536 bool doSave = wxPyRestoreThread();
537 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
538 PyObject* ro;
539 wxGridCellRenderer* ptr;
540 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
541 if (ro) {
542 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
543 rval = ptr;
544 Py_DECREF(ro);
545 }
546 }
547 wxPySaveThread(doSave);
548 return rval;
549 }
550
551 DEC_PYCALLBACK__STRING(SetParameters);
552
553 PYPRIVATE;
554 };
555
556 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
557
558
559 class wxPyGridCellEditor : public wxGridCellEditor
560 {
561 public:
562 wxPyGridCellEditor() : wxGridCellEditor() {}
563
564 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
565 bool doSave = wxPyRestoreThread();
566 if (wxPyCBH_findCallback(m_myInst, "Create")) {
567 wxPyCBH_callCallback(m_myInst,
568 Py_BuildValue("(OiO)",
569 wxPyConstructObject((void*)parent, "wxWindow", 0),
570 id,
571 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
572 }
573 wxPySaveThread(doSave);
574 }
575
576
577 void BeginEdit(int row, int col, wxGrid* grid) {
578 bool doSave = wxPyRestoreThread();
579 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
580 wxPyCBH_callCallback(m_myInst,
581 Py_BuildValue("(iiO)", row, col,
582 wxPyConstructObject((void*)grid, "wxGrid", 0)));
583 }
584 wxPySaveThread(doSave);
585 }
586
587
588 bool EndEdit(int row, int col, wxGrid* grid) {
589 bool rv = FALSE;
590 bool doSave = wxPyRestoreThread();
591 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
592 rv = wxPyCBH_callCallback(m_myInst,
593 Py_BuildValue("(iiO)", row, col,
594 wxPyConstructObject((void*)grid, "wxGrid", 0)));
595 }
596 wxPySaveThread(doSave);
597 return rv;
598 }
599
600
601 wxGridCellEditor*Clone() const {
602 wxGridCellEditor* rval = NULL;
603 bool doSave = wxPyRestoreThread();
604 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
605 PyObject* ro;
606 wxGridCellEditor* ptr;
607 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
608 if (ro) {
609 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
610 rval = ptr;
611 Py_DECREF(ro);
612 }
613 }
614 wxPySaveThread(doSave);
615 return rval;
616 }
617
618
619 void Show(bool show, wxGridCellAttr *attr) {
620 bool doSave = wxPyRestoreThread();
621 if (wxPyCBH_findCallback(m_myInst, "Show"))
622 wxPyCBH_callCallback(m_myInst,
623 Py_BuildValue("(iO)", show,
624 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
625 else
626 wxGridCellEditor::Show(show, attr);
627 wxPySaveThread(doSave);
628 }
629 void base_Show(bool show, wxGridCellAttr *attr) {
630 wxGridCellEditor::Show(show, attr);
631 }
632
633
634 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
635 bool doSave = wxPyRestoreThread();
636 if (wxPyCBH_findCallback(m_myInst, "PaintBackground"))
637 wxPyCBH_callCallback(m_myInst,
638 Py_BuildValue("(OO)",
639 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
640 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
641 else
642 wxGridCellEditor::PaintBackground(rectCell, attr);
643 wxPySaveThread(doSave);
644 }
645 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
646 wxGridCellEditor::PaintBackground(rectCell, attr);
647 }
648
649
650 DEC_PYCALLBACK___pure(Reset);
651 DEC_PYCALLBACK__constany(SetSize, wxRect);
652 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
653 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
654 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
655 DEC_PYCALLBACK__(StartingClick);
656 DEC_PYCALLBACK__(Destroy);
657 DEC_PYCALLBACK__STRING(SetParameters);
658
659 PYPRIVATE;
660 };
661
662
663 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
664 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
665 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
666 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
667 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
668 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
669 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
670 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
671
672
673 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
674 {
675 public:
676 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
677
678 PYCALLBACK_GCA_INTINT(wxGridCellAttrProvider, GetAttr);
679 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
680 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
681 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
682
683 PYPRIVATE;
684 };
685
686 class wxPyGridTableBase : public wxGridTableBase
687 {
688 public:
689 wxPyGridTableBase() : wxGridTableBase() {}
690
691 PYCALLBACK_INT__pure(GetNumberRows);
692 PYCALLBACK_INT__pure(GetNumberCols);
693 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
694 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
695 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
696 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
697 PYCALLBACK__(wxGridTableBase, Clear);
698 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
699 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
700 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
701 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
702 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
703 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
704 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
705 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
706 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
707 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
708 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
709 PYCALLBACK_GCA_INTINT(wxGridTableBase, GetAttr);
710 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
711 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
712 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
713
714
715 wxString GetValue(int row, int col) {
716 bool doSave = wxPyRestoreThread();
717 wxString rval;
718 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
719 PyObject* ro;
720 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
721 if (ro) {
722 PyObject* str = PyObject_Str(ro);
723 rval = PyString_AsString(str);
724 Py_DECREF(ro);
725 Py_DECREF(str);
726 }
727 }
728 wxPySaveThread(doSave);
729 return rval;
730 }
731
732 void SetValue(int row, int col, const wxString& val) {
733 bool doSave = wxPyRestoreThread();
734 if (wxPyCBH_findCallback(m_myInst, "SetValue"))
735 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str()));
736 wxPySaveThread(doSave);
737 }
738
739
740 // Map the Get/Set methods for the standard non-string types to
741 // the GetValue and SetValue python methods.
742 long GetValueAsLong( int row, int col ) {
743 long rval = 0;
744 bool doSave = wxPyRestoreThread();
745 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
746 PyObject* ro;
747 PyObject* num;
748 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
749 if (ro && PyNumber_Check(ro)) {
750 num = PyNumber_Int(ro);
751 if (num) {
752 rval = PyInt_AsLong(num);
753 Py_DECREF(num);
754 }
755 Py_DECREF(ro);
756 }
757 }
758 wxPySaveThread(doSave);
759 return rval;
760 }
761
762 double GetValueAsDouble( int row, int col ) {
763 double rval = 0.0;
764 bool doSave = wxPyRestoreThread();
765 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
766 PyObject* ro;
767 PyObject* num;
768 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
769 if (ro && PyNumber_Check(ro)) {
770 num = PyNumber_Float(ro);
771 if (num) {
772 rval = PyFloat_AsDouble(num);
773 Py_DECREF(num);
774 }
775 Py_DECREF(ro);
776 }
777 }
778 wxPySaveThread(doSave);
779 return rval;
780 }
781
782 bool GetValueAsBool( int row, int col ) {
783 return (bool)GetValueAsLong(row, col);
784 }
785
786 void SetValueAsLong( int row, int col, long value ) {
787 bool doSave = wxPyRestoreThread();
788 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
789 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
790 }
791 wxPySaveThread(doSave);
792 }
793
794 void SetValueAsDouble( int row, int col, double value ) {
795 bool doSave = wxPyRestoreThread();
796 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
797 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
798 }
799 wxPySaveThread(doSave);
800 }
801
802 void SetValueAsBool( int row, int col, bool value ) {
803 SetValueAsLong( row, col, (long)value );
804 }
805
806
807 PYPRIVATE;
808 };
809
810 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
811
812 // If source is an object instance then it may already be the right type
813 if (PyInstance_Check(source)) {
814 wxGridCellCoords* ptr;
815 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
816 goto error;
817 *obj = ptr;
818 return TRUE;
819 }
820 // otherwise a 2-tuple of integers is expected
821 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
822 PyObject* o1 = PySequence_GetItem(source, 0);
823 PyObject* o2 = PySequence_GetItem(source, 1);
824 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
825 return TRUE;
826 }
827
828 error:
829 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
830 return FALSE;
831 }
832
833 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
834 #ifdef __cplusplus
835 extern "C" {
836 #endif
837 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
838
839 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
840 return 1;
841 }
842
843 static PyObject *_wrap_wxGridNoCellCoords_get() {
844 PyObject * pyobj;
845 char ptemp[128];
846
847 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
848 pyobj = PyString_FromString(ptemp);
849 return pyobj;
850 }
851
852 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
853
854 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
855 return 1;
856 }
857
858 static PyObject *_wrap_wxGridNoCellRect_get() {
859 PyObject * pyobj;
860 char ptemp[128];
861
862 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
863 pyobj = PyString_FromString(ptemp);
864 return pyobj;
865 }
866
867 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
868 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
869 PyObject * _resultobj;
870 wxGridCellRenderer * _arg0;
871 wxString * _arg1;
872 PyObject * _argo0 = 0;
873 PyObject * _obj1 = 0;
874 char *_kwnames[] = { "self","params", NULL };
875
876 self = self;
877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
878 return NULL;
879 if (_argo0) {
880 if (_argo0 == Py_None) { _arg0 = NULL; }
881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
883 return NULL;
884 }
885 }
886 {
887 #if PYTHON_API_VERSION >= 1009
888 char* tmpPtr; int tmpSize;
889 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
890 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
891 return NULL;
892 }
893 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
894 return NULL;
895 _arg1 = new wxString(tmpPtr, tmpSize);
896 #else
897 if (!PyString_Check(_obj1)) {
898 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
899 return NULL;
900 }
901 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
902 #endif
903 }
904 {
905 wxPy_BEGIN_ALLOW_THREADS;
906 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
907
908 wxPy_END_ALLOW_THREADS;
909 } Py_INCREF(Py_None);
910 _resultobj = Py_None;
911 {
912 if (_obj1)
913 delete _arg1;
914 }
915 return _resultobj;
916 }
917
918 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
919 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
920 PyObject * _resultobj;
921 wxGridCellRenderer * _arg0;
922 PyObject * _argo0 = 0;
923 char *_kwnames[] = { "self", NULL };
924
925 self = self;
926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
927 return NULL;
928 if (_argo0) {
929 if (_argo0 == Py_None) { _arg0 = NULL; }
930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
932 return NULL;
933 }
934 }
935 {
936 wxPy_BEGIN_ALLOW_THREADS;
937 wxGridCellRenderer_IncRef(_arg0);
938
939 wxPy_END_ALLOW_THREADS;
940 } Py_INCREF(Py_None);
941 _resultobj = Py_None;
942 return _resultobj;
943 }
944
945 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
946 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
947 PyObject * _resultobj;
948 wxGridCellRenderer * _arg0;
949 PyObject * _argo0 = 0;
950 char *_kwnames[] = { "self", NULL };
951
952 self = self;
953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
954 return NULL;
955 if (_argo0) {
956 if (_argo0 == Py_None) { _arg0 = NULL; }
957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
959 return NULL;
960 }
961 }
962 {
963 wxPy_BEGIN_ALLOW_THREADS;
964 wxGridCellRenderer_DecRef(_arg0);
965
966 wxPy_END_ALLOW_THREADS;
967 } Py_INCREF(Py_None);
968 _resultobj = Py_None;
969 return _resultobj;
970 }
971
972 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
973 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
974 PyObject * _resultobj;
975 wxGridCellRenderer * _arg0;
976 wxGrid * _arg1;
977 wxGridCellAttr * _arg2;
978 wxDC * _arg3;
979 wxRect * _arg4;
980 int _arg5;
981 int _arg6;
982 bool _arg7;
983 PyObject * _argo0 = 0;
984 PyObject * _argo1 = 0;
985 PyObject * _argo2 = 0;
986 PyObject * _argo3 = 0;
987 wxRect temp;
988 PyObject * _obj4 = 0;
989 int tempbool7;
990 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
991
992 self = self;
993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
994 return NULL;
995 if (_argo0) {
996 if (_argo0 == Py_None) { _arg0 = NULL; }
997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
999 return NULL;
1000 }
1001 }
1002 if (_argo1) {
1003 if (_argo1 == Py_None) { _arg1 = NULL; }
1004 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1005 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1006 return NULL;
1007 }
1008 }
1009 if (_argo2) {
1010 if (_argo2 == Py_None) { _arg2 = NULL; }
1011 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1012 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1013 return NULL;
1014 }
1015 }
1016 if (_argo3) {
1017 if (_argo3 == Py_None) { _arg3 = NULL; }
1018 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1019 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1020 return NULL;
1021 }
1022 }
1023 {
1024 _arg4 = &temp;
1025 if (! wxRect_helper(_obj4, &_arg4))
1026 return NULL;
1027 }
1028 _arg7 = (bool ) tempbool7;
1029 {
1030 wxPy_BEGIN_ALLOW_THREADS;
1031 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1032
1033 wxPy_END_ALLOW_THREADS;
1034 } Py_INCREF(Py_None);
1035 _resultobj = Py_None;
1036 return _resultobj;
1037 }
1038
1039 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1040 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1041 PyObject * _resultobj;
1042 wxSize * _result;
1043 wxGridCellRenderer * _arg0;
1044 wxGrid * _arg1;
1045 wxGridCellAttr * _arg2;
1046 wxDC * _arg3;
1047 int _arg4;
1048 int _arg5;
1049 PyObject * _argo0 = 0;
1050 PyObject * _argo1 = 0;
1051 PyObject * _argo2 = 0;
1052 PyObject * _argo3 = 0;
1053 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1054 char _ptemp[128];
1055
1056 self = self;
1057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1058 return NULL;
1059 if (_argo0) {
1060 if (_argo0 == Py_None) { _arg0 = NULL; }
1061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1063 return NULL;
1064 }
1065 }
1066 if (_argo1) {
1067 if (_argo1 == Py_None) { _arg1 = NULL; }
1068 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1069 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1070 return NULL;
1071 }
1072 }
1073 if (_argo2) {
1074 if (_argo2 == Py_None) { _arg2 = NULL; }
1075 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1076 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1077 return NULL;
1078 }
1079 }
1080 if (_argo3) {
1081 if (_argo3 == Py_None) { _arg3 = NULL; }
1082 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1083 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1084 return NULL;
1085 }
1086 }
1087 {
1088 wxPy_BEGIN_ALLOW_THREADS;
1089 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1090
1091 wxPy_END_ALLOW_THREADS;
1092 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1093 _resultobj = Py_BuildValue("s",_ptemp);
1094 return _resultobj;
1095 }
1096
1097 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1098 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1099 PyObject * _resultobj;
1100 wxGridCellRenderer * _result;
1101 wxGridCellRenderer * _arg0;
1102 PyObject * _argo0 = 0;
1103 char *_kwnames[] = { "self", NULL };
1104 char _ptemp[128];
1105
1106 self = self;
1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1108 return NULL;
1109 if (_argo0) {
1110 if (_argo0 == Py_None) { _arg0 = NULL; }
1111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1113 return NULL;
1114 }
1115 }
1116 {
1117 wxPy_BEGIN_ALLOW_THREADS;
1118 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1119
1120 wxPy_END_ALLOW_THREADS;
1121 } if (_result) {
1122 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1123 _resultobj = Py_BuildValue("s",_ptemp);
1124 } else {
1125 Py_INCREF(Py_None);
1126 _resultobj = Py_None;
1127 }
1128 return _resultobj;
1129 }
1130
1131 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1132 wxPyGridCellRenderer *src;
1133 wxGridCellRenderer *dest;
1134 src = (wxPyGridCellRenderer *) ptr;
1135 dest = (wxGridCellRenderer *) src;
1136 return (void *) dest;
1137 }
1138
1139 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1140 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1141 PyObject * _resultobj;
1142 wxPyGridCellRenderer * _result;
1143 char *_kwnames[] = { NULL };
1144 char _ptemp[128];
1145
1146 self = self;
1147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1148 return NULL;
1149 {
1150 wxPy_BEGIN_ALLOW_THREADS;
1151 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1152
1153 wxPy_END_ALLOW_THREADS;
1154 } if (_result) {
1155 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1156 _resultobj = Py_BuildValue("s",_ptemp);
1157 } else {
1158 Py_INCREF(Py_None);
1159 _resultobj = Py_None;
1160 }
1161 return _resultobj;
1162 }
1163
1164 #define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1165 static PyObject *_wrap_wxPyGridCellRenderer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1166 PyObject * _resultobj;
1167 wxPyGridCellRenderer * _arg0;
1168 PyObject * _arg1;
1169 PyObject * _arg2;
1170 PyObject * _argo0 = 0;
1171 PyObject * _obj1 = 0;
1172 PyObject * _obj2 = 0;
1173 char *_kwnames[] = { "self","self","_class", NULL };
1174
1175 self = self;
1176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1177 return NULL;
1178 if (_argo0) {
1179 if (_argo0 == Py_None) { _arg0 = NULL; }
1180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1182 return NULL;
1183 }
1184 }
1185 {
1186 _arg1 = _obj1;
1187 }
1188 {
1189 _arg2 = _obj2;
1190 }
1191 {
1192 wxPy_BEGIN_ALLOW_THREADS;
1193 wxPyGridCellRenderer__setSelf(_arg0,_arg1,_arg2);
1194
1195 wxPy_END_ALLOW_THREADS;
1196 } Py_INCREF(Py_None);
1197 _resultobj = Py_None;
1198 return _resultobj;
1199 }
1200
1201 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1202 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1203 PyObject * _resultobj;
1204 wxPyGridCellRenderer * _arg0;
1205 wxString * _arg1;
1206 PyObject * _argo0 = 0;
1207 PyObject * _obj1 = 0;
1208 char *_kwnames[] = { "self","params", NULL };
1209
1210 self = self;
1211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1212 return NULL;
1213 if (_argo0) {
1214 if (_argo0 == Py_None) { _arg0 = NULL; }
1215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1217 return NULL;
1218 }
1219 }
1220 {
1221 #if PYTHON_API_VERSION >= 1009
1222 char* tmpPtr; int tmpSize;
1223 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1224 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1225 return NULL;
1226 }
1227 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1228 return NULL;
1229 _arg1 = new wxString(tmpPtr, tmpSize);
1230 #else
1231 if (!PyString_Check(_obj1)) {
1232 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1233 return NULL;
1234 }
1235 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1236 #endif
1237 }
1238 {
1239 wxPy_BEGIN_ALLOW_THREADS;
1240 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1241
1242 wxPy_END_ALLOW_THREADS;
1243 } Py_INCREF(Py_None);
1244 _resultobj = Py_None;
1245 {
1246 if (_obj1)
1247 delete _arg1;
1248 }
1249 return _resultobj;
1250 }
1251
1252 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1253 wxGridCellStringRenderer *src;
1254 wxGridCellRenderer *dest;
1255 src = (wxGridCellStringRenderer *) ptr;
1256 dest = (wxGridCellRenderer *) src;
1257 return (void *) dest;
1258 }
1259
1260 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1261 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1262 PyObject * _resultobj;
1263 wxGridCellStringRenderer * _result;
1264 char *_kwnames[] = { NULL };
1265 char _ptemp[128];
1266
1267 self = self;
1268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1269 return NULL;
1270 {
1271 wxPy_BEGIN_ALLOW_THREADS;
1272 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1273
1274 wxPy_END_ALLOW_THREADS;
1275 } if (_result) {
1276 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1277 _resultobj = Py_BuildValue("s",_ptemp);
1278 } else {
1279 Py_INCREF(Py_None);
1280 _resultobj = Py_None;
1281 }
1282 return _resultobj;
1283 }
1284
1285 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1286 wxGridCellNumberRenderer *src;
1287 wxGridCellStringRenderer *dest;
1288 src = (wxGridCellNumberRenderer *) ptr;
1289 dest = (wxGridCellStringRenderer *) src;
1290 return (void *) dest;
1291 }
1292
1293 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1294 wxGridCellNumberRenderer *src;
1295 wxGridCellRenderer *dest;
1296 src = (wxGridCellNumberRenderer *) ptr;
1297 dest = (wxGridCellRenderer *) src;
1298 return (void *) dest;
1299 }
1300
1301 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1302 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1303 PyObject * _resultobj;
1304 wxGridCellNumberRenderer * _result;
1305 char *_kwnames[] = { NULL };
1306 char _ptemp[128];
1307
1308 self = self;
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1310 return NULL;
1311 {
1312 wxPy_BEGIN_ALLOW_THREADS;
1313 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1314
1315 wxPy_END_ALLOW_THREADS;
1316 } if (_result) {
1317 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1318 _resultobj = Py_BuildValue("s",_ptemp);
1319 } else {
1320 Py_INCREF(Py_None);
1321 _resultobj = Py_None;
1322 }
1323 return _resultobj;
1324 }
1325
1326 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1327 wxGridCellFloatRenderer *src;
1328 wxGridCellStringRenderer *dest;
1329 src = (wxGridCellFloatRenderer *) ptr;
1330 dest = (wxGridCellStringRenderer *) src;
1331 return (void *) dest;
1332 }
1333
1334 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1335 wxGridCellFloatRenderer *src;
1336 wxGridCellRenderer *dest;
1337 src = (wxGridCellFloatRenderer *) ptr;
1338 dest = (wxGridCellRenderer *) src;
1339 return (void *) dest;
1340 }
1341
1342 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1343 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1344 PyObject * _resultobj;
1345 wxGridCellFloatRenderer * _result;
1346 int _arg0 = (int ) -1;
1347 int _arg1 = (int ) -1;
1348 char *_kwnames[] = { "width","precision", NULL };
1349 char _ptemp[128];
1350
1351 self = self;
1352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1353 return NULL;
1354 {
1355 wxPy_BEGIN_ALLOW_THREADS;
1356 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1357
1358 wxPy_END_ALLOW_THREADS;
1359 } if (_result) {
1360 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1361 _resultobj = Py_BuildValue("s",_ptemp);
1362 } else {
1363 Py_INCREF(Py_None);
1364 _resultobj = Py_None;
1365 }
1366 return _resultobj;
1367 }
1368
1369 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1370 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject * _resultobj;
1372 int _result;
1373 wxGridCellFloatRenderer * _arg0;
1374 PyObject * _argo0 = 0;
1375 char *_kwnames[] = { "self", NULL };
1376
1377 self = self;
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1379 return NULL;
1380 if (_argo0) {
1381 if (_argo0 == Py_None) { _arg0 = NULL; }
1382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1384 return NULL;
1385 }
1386 }
1387 {
1388 wxPy_BEGIN_ALLOW_THREADS;
1389 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1390
1391 wxPy_END_ALLOW_THREADS;
1392 } _resultobj = Py_BuildValue("i",_result);
1393 return _resultobj;
1394 }
1395
1396 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1397 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject * _resultobj;
1399 wxGridCellFloatRenderer * _arg0;
1400 int _arg1;
1401 PyObject * _argo0 = 0;
1402 char *_kwnames[] = { "self","width", NULL };
1403
1404 self = self;
1405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1406 return NULL;
1407 if (_argo0) {
1408 if (_argo0 == Py_None) { _arg0 = NULL; }
1409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1411 return NULL;
1412 }
1413 }
1414 {
1415 wxPy_BEGIN_ALLOW_THREADS;
1416 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1417
1418 wxPy_END_ALLOW_THREADS;
1419 } Py_INCREF(Py_None);
1420 _resultobj = Py_None;
1421 return _resultobj;
1422 }
1423
1424 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1425 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1426 PyObject * _resultobj;
1427 int _result;
1428 wxGridCellFloatRenderer * _arg0;
1429 PyObject * _argo0 = 0;
1430 char *_kwnames[] = { "self", NULL };
1431
1432 self = self;
1433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1434 return NULL;
1435 if (_argo0) {
1436 if (_argo0 == Py_None) { _arg0 = NULL; }
1437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1439 return NULL;
1440 }
1441 }
1442 {
1443 wxPy_BEGIN_ALLOW_THREADS;
1444 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1445
1446 wxPy_END_ALLOW_THREADS;
1447 } _resultobj = Py_BuildValue("i",_result);
1448 return _resultobj;
1449 }
1450
1451 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1452 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1453 PyObject * _resultobj;
1454 wxGridCellFloatRenderer * _arg0;
1455 int _arg1;
1456 PyObject * _argo0 = 0;
1457 char *_kwnames[] = { "self","precision", NULL };
1458
1459 self = self;
1460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1461 return NULL;
1462 if (_argo0) {
1463 if (_argo0 == Py_None) { _arg0 = NULL; }
1464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1466 return NULL;
1467 }
1468 }
1469 {
1470 wxPy_BEGIN_ALLOW_THREADS;
1471 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1472
1473 wxPy_END_ALLOW_THREADS;
1474 } Py_INCREF(Py_None);
1475 _resultobj = Py_None;
1476 return _resultobj;
1477 }
1478
1479 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1480 wxGridCellBoolRenderer *src;
1481 wxGridCellRenderer *dest;
1482 src = (wxGridCellBoolRenderer *) ptr;
1483 dest = (wxGridCellRenderer *) src;
1484 return (void *) dest;
1485 }
1486
1487 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1488 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1489 PyObject * _resultobj;
1490 wxGridCellBoolRenderer * _result;
1491 char *_kwnames[] = { NULL };
1492 char _ptemp[128];
1493
1494 self = self;
1495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1496 return NULL;
1497 {
1498 wxPy_BEGIN_ALLOW_THREADS;
1499 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1500
1501 wxPy_END_ALLOW_THREADS;
1502 } if (_result) {
1503 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1504 _resultobj = Py_BuildValue("s",_ptemp);
1505 } else {
1506 Py_INCREF(Py_None);
1507 _resultobj = Py_None;
1508 }
1509 return _resultobj;
1510 }
1511
1512 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1513 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1514 PyObject * _resultobj;
1515 bool _result;
1516 wxGridCellEditor * _arg0;
1517 PyObject * _argo0 = 0;
1518 char *_kwnames[] = { "self", NULL };
1519
1520 self = self;
1521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1522 return NULL;
1523 if (_argo0) {
1524 if (_argo0 == Py_None) { _arg0 = NULL; }
1525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1527 return NULL;
1528 }
1529 }
1530 {
1531 wxPy_BEGIN_ALLOW_THREADS;
1532 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1533
1534 wxPy_END_ALLOW_THREADS;
1535 } _resultobj = Py_BuildValue("i",_result);
1536 return _resultobj;
1537 }
1538
1539 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1540 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1541 PyObject * _resultobj;
1542 wxControl * _result;
1543 wxGridCellEditor * _arg0;
1544 PyObject * _argo0 = 0;
1545 char *_kwnames[] = { "self", NULL };
1546 char _ptemp[128];
1547
1548 self = self;
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1550 return NULL;
1551 if (_argo0) {
1552 if (_argo0 == Py_None) { _arg0 = NULL; }
1553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1555 return NULL;
1556 }
1557 }
1558 {
1559 wxPy_BEGIN_ALLOW_THREADS;
1560 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1561
1562 wxPy_END_ALLOW_THREADS;
1563 } if (_result) {
1564 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
1565 _resultobj = Py_BuildValue("s",_ptemp);
1566 } else {
1567 Py_INCREF(Py_None);
1568 _resultobj = Py_None;
1569 }
1570 return _resultobj;
1571 }
1572
1573 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1574 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1575 PyObject * _resultobj;
1576 wxGridCellEditor * _arg0;
1577 wxControl * _arg1;
1578 PyObject * _argo0 = 0;
1579 PyObject * _argo1 = 0;
1580 char *_kwnames[] = { "self","control", NULL };
1581
1582 self = self;
1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1584 return NULL;
1585 if (_argo0) {
1586 if (_argo0 == Py_None) { _arg0 = NULL; }
1587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1589 return NULL;
1590 }
1591 }
1592 if (_argo1) {
1593 if (_argo1 == Py_None) { _arg1 = NULL; }
1594 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1596 return NULL;
1597 }
1598 }
1599 {
1600 wxPy_BEGIN_ALLOW_THREADS;
1601 wxGridCellEditor_SetControl(_arg0,_arg1);
1602
1603 wxPy_END_ALLOW_THREADS;
1604 } Py_INCREF(Py_None);
1605 _resultobj = Py_None;
1606 return _resultobj;
1607 }
1608
1609 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1610 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1611 PyObject * _resultobj;
1612 wxGridCellEditor * _arg0;
1613 wxString * _arg1;
1614 PyObject * _argo0 = 0;
1615 PyObject * _obj1 = 0;
1616 char *_kwnames[] = { "self","params", NULL };
1617
1618 self = self;
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1620 return NULL;
1621 if (_argo0) {
1622 if (_argo0 == Py_None) { _arg0 = NULL; }
1623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1625 return NULL;
1626 }
1627 }
1628 {
1629 #if PYTHON_API_VERSION >= 1009
1630 char* tmpPtr; int tmpSize;
1631 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1632 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1633 return NULL;
1634 }
1635 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1636 return NULL;
1637 _arg1 = new wxString(tmpPtr, tmpSize);
1638 #else
1639 if (!PyString_Check(_obj1)) {
1640 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1641 return NULL;
1642 }
1643 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1644 #endif
1645 }
1646 {
1647 wxPy_BEGIN_ALLOW_THREADS;
1648 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1649
1650 wxPy_END_ALLOW_THREADS;
1651 } Py_INCREF(Py_None);
1652 _resultobj = Py_None;
1653 {
1654 if (_obj1)
1655 delete _arg1;
1656 }
1657 return _resultobj;
1658 }
1659
1660 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1661 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1662 PyObject * _resultobj;
1663 wxGridCellEditor * _arg0;
1664 PyObject * _argo0 = 0;
1665 char *_kwnames[] = { "self", NULL };
1666
1667 self = self;
1668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1669 return NULL;
1670 if (_argo0) {
1671 if (_argo0 == Py_None) { _arg0 = NULL; }
1672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1674 return NULL;
1675 }
1676 }
1677 {
1678 wxPy_BEGIN_ALLOW_THREADS;
1679 wxGridCellEditor_IncRef(_arg0);
1680
1681 wxPy_END_ALLOW_THREADS;
1682 } Py_INCREF(Py_None);
1683 _resultobj = Py_None;
1684 return _resultobj;
1685 }
1686
1687 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1688 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1689 PyObject * _resultobj;
1690 wxGridCellEditor * _arg0;
1691 PyObject * _argo0 = 0;
1692 char *_kwnames[] = { "self", NULL };
1693
1694 self = self;
1695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1696 return NULL;
1697 if (_argo0) {
1698 if (_argo0 == Py_None) { _arg0 = NULL; }
1699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1701 return NULL;
1702 }
1703 }
1704 {
1705 wxPy_BEGIN_ALLOW_THREADS;
1706 wxGridCellEditor_DecRef(_arg0);
1707
1708 wxPy_END_ALLOW_THREADS;
1709 } Py_INCREF(Py_None);
1710 _resultobj = Py_None;
1711 return _resultobj;
1712 }
1713
1714 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1715 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1716 PyObject * _resultobj;
1717 wxGridCellEditor * _arg0;
1718 wxWindow * _arg1;
1719 wxWindowID _arg2;
1720 wxEvtHandler * _arg3;
1721 PyObject * _argo0 = 0;
1722 PyObject * _argo1 = 0;
1723 PyObject * _argo3 = 0;
1724 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1725
1726 self = self;
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1728 return NULL;
1729 if (_argo0) {
1730 if (_argo0 == Py_None) { _arg0 = NULL; }
1731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1733 return NULL;
1734 }
1735 }
1736 if (_argo1) {
1737 if (_argo1 == Py_None) { _arg1 = NULL; }
1738 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1739 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1740 return NULL;
1741 }
1742 }
1743 if (_argo3) {
1744 if (_argo3 == Py_None) { _arg3 = NULL; }
1745 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1746 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1747 return NULL;
1748 }
1749 }
1750 {
1751 wxPy_BEGIN_ALLOW_THREADS;
1752 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1753
1754 wxPy_END_ALLOW_THREADS;
1755 } Py_INCREF(Py_None);
1756 _resultobj = Py_None;
1757 return _resultobj;
1758 }
1759
1760 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1761 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject * _resultobj;
1763 wxGridCellEditor * _arg0;
1764 int _arg1;
1765 int _arg2;
1766 wxGrid * _arg3;
1767 PyObject * _argo0 = 0;
1768 PyObject * _argo3 = 0;
1769 char *_kwnames[] = { "self","row","col","grid", NULL };
1770
1771 self = self;
1772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1773 return NULL;
1774 if (_argo0) {
1775 if (_argo0 == Py_None) { _arg0 = NULL; }
1776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1778 return NULL;
1779 }
1780 }
1781 if (_argo3) {
1782 if (_argo3 == Py_None) { _arg3 = NULL; }
1783 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1784 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1785 return NULL;
1786 }
1787 }
1788 {
1789 wxPy_BEGIN_ALLOW_THREADS;
1790 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1791
1792 wxPy_END_ALLOW_THREADS;
1793 } Py_INCREF(Py_None);
1794 _resultobj = Py_None;
1795 return _resultobj;
1796 }
1797
1798 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1799 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1800 PyObject * _resultobj;
1801 bool _result;
1802 wxGridCellEditor * _arg0;
1803 int _arg1;
1804 int _arg2;
1805 wxGrid * _arg3;
1806 PyObject * _argo0 = 0;
1807 PyObject * _argo3 = 0;
1808 char *_kwnames[] = { "self","row","col","grid", NULL };
1809
1810 self = self;
1811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1812 return NULL;
1813 if (_argo0) {
1814 if (_argo0 == Py_None) { _arg0 = NULL; }
1815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1817 return NULL;
1818 }
1819 }
1820 if (_argo3) {
1821 if (_argo3 == Py_None) { _arg3 = NULL; }
1822 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1823 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1824 return NULL;
1825 }
1826 }
1827 {
1828 wxPy_BEGIN_ALLOW_THREADS;
1829 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1830
1831 wxPy_END_ALLOW_THREADS;
1832 } _resultobj = Py_BuildValue("i",_result);
1833 return _resultobj;
1834 }
1835
1836 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1837 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1838 PyObject * _resultobj;
1839 wxGridCellEditor * _arg0;
1840 PyObject * _argo0 = 0;
1841 char *_kwnames[] = { "self", NULL };
1842
1843 self = self;
1844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
1845 return NULL;
1846 if (_argo0) {
1847 if (_argo0 == Py_None) { _arg0 = NULL; }
1848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1850 return NULL;
1851 }
1852 }
1853 {
1854 wxPy_BEGIN_ALLOW_THREADS;
1855 wxGridCellEditor_Reset(_arg0);
1856
1857 wxPy_END_ALLOW_THREADS;
1858 } Py_INCREF(Py_None);
1859 _resultobj = Py_None;
1860 return _resultobj;
1861 }
1862
1863 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1864 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject * _resultobj;
1866 wxGridCellEditor * _result;
1867 wxGridCellEditor * _arg0;
1868 PyObject * _argo0 = 0;
1869 char *_kwnames[] = { "self", NULL };
1870 char _ptemp[128];
1871
1872 self = self;
1873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
1874 return NULL;
1875 if (_argo0) {
1876 if (_argo0 == Py_None) { _arg0 = NULL; }
1877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1879 return NULL;
1880 }
1881 }
1882 {
1883 wxPy_BEGIN_ALLOW_THREADS;
1884 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
1885
1886 wxPy_END_ALLOW_THREADS;
1887 } if (_result) {
1888 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
1889 _resultobj = Py_BuildValue("s",_ptemp);
1890 } else {
1891 Py_INCREF(Py_None);
1892 _resultobj = Py_None;
1893 }
1894 return _resultobj;
1895 }
1896
1897 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1898 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1899 PyObject * _resultobj;
1900 wxGridCellEditor * _arg0;
1901 wxRect * _arg1;
1902 PyObject * _argo0 = 0;
1903 wxRect temp;
1904 PyObject * _obj1 = 0;
1905 char *_kwnames[] = { "self","rect", NULL };
1906
1907 self = self;
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
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_SetSize. Expected _wxGridCellEditor_p.");
1914 return NULL;
1915 }
1916 }
1917 {
1918 _arg1 = &temp;
1919 if (! wxRect_helper(_obj1, &_arg1))
1920 return NULL;
1921 }
1922 {
1923 wxPy_BEGIN_ALLOW_THREADS;
1924 wxGridCellEditor_SetSize(_arg0,*_arg1);
1925
1926 wxPy_END_ALLOW_THREADS;
1927 } Py_INCREF(Py_None);
1928 _resultobj = Py_None;
1929 return _resultobj;
1930 }
1931
1932 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1933 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1934 PyObject * _resultobj;
1935 wxGridCellEditor * _arg0;
1936 bool _arg1;
1937 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
1938 PyObject * _argo0 = 0;
1939 int tempbool1;
1940 PyObject * _argo2 = 0;
1941 char *_kwnames[] = { "self","show","attr", NULL };
1942
1943 self = self;
1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
1945 return NULL;
1946 if (_argo0) {
1947 if (_argo0 == Py_None) { _arg0 = NULL; }
1948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1950 return NULL;
1951 }
1952 }
1953 _arg1 = (bool ) tempbool1;
1954 if (_argo2) {
1955 if (_argo2 == Py_None) { _arg2 = NULL; }
1956 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1957 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1958 return NULL;
1959 }
1960 }
1961 {
1962 wxPy_BEGIN_ALLOW_THREADS;
1963 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
1964
1965 wxPy_END_ALLOW_THREADS;
1966 } Py_INCREF(Py_None);
1967 _resultobj = Py_None;
1968 return _resultobj;
1969 }
1970
1971 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1972 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1973 PyObject * _resultobj;
1974 wxGridCellEditor * _arg0;
1975 wxRect * _arg1;
1976 wxGridCellAttr * _arg2;
1977 PyObject * _argo0 = 0;
1978 wxRect temp;
1979 PyObject * _obj1 = 0;
1980 PyObject * _argo2 = 0;
1981 char *_kwnames[] = { "self","rectCell","attr", NULL };
1982
1983 self = self;
1984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
1985 return NULL;
1986 if (_argo0) {
1987 if (_argo0 == Py_None) { _arg0 = NULL; }
1988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
1990 return NULL;
1991 }
1992 }
1993 {
1994 _arg1 = &temp;
1995 if (! wxRect_helper(_obj1, &_arg1))
1996 return NULL;
1997 }
1998 if (_argo2) {
1999 if (_argo2 == Py_None) { _arg2 = NULL; }
2000 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2001 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2002 return NULL;
2003 }
2004 }
2005 {
2006 wxPy_BEGIN_ALLOW_THREADS;
2007 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2008
2009 wxPy_END_ALLOW_THREADS;
2010 } Py_INCREF(Py_None);
2011 _resultobj = Py_None;
2012 return _resultobj;
2013 }
2014
2015 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2016 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject * _resultobj;
2018 bool _result;
2019 wxGridCellEditor * _arg0;
2020 wxKeyEvent * _arg1;
2021 PyObject * _argo0 = 0;
2022 PyObject * _argo1 = 0;
2023 char *_kwnames[] = { "self","event", NULL };
2024
2025 self = self;
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2027 return NULL;
2028 if (_argo0) {
2029 if (_argo0 == Py_None) { _arg0 = NULL; }
2030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2032 return NULL;
2033 }
2034 }
2035 if (_argo1) {
2036 if (_argo1 == Py_None) { _arg1 = NULL; }
2037 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2038 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2039 return NULL;
2040 }
2041 }
2042 {
2043 wxPy_BEGIN_ALLOW_THREADS;
2044 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2045
2046 wxPy_END_ALLOW_THREADS;
2047 } _resultobj = Py_BuildValue("i",_result);
2048 return _resultobj;
2049 }
2050
2051 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2052 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2053 PyObject * _resultobj;
2054 wxGridCellEditor * _arg0;
2055 wxKeyEvent * _arg1;
2056 PyObject * _argo0 = 0;
2057 PyObject * _argo1 = 0;
2058 char *_kwnames[] = { "self","event", NULL };
2059
2060 self = self;
2061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2062 return NULL;
2063 if (_argo0) {
2064 if (_argo0 == Py_None) { _arg0 = NULL; }
2065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2067 return NULL;
2068 }
2069 }
2070 if (_argo1) {
2071 if (_argo1 == Py_None) { _arg1 = NULL; }
2072 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2073 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2074 return NULL;
2075 }
2076 }
2077 {
2078 wxPy_BEGIN_ALLOW_THREADS;
2079 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2080
2081 wxPy_END_ALLOW_THREADS;
2082 } Py_INCREF(Py_None);
2083 _resultobj = Py_None;
2084 return _resultobj;
2085 }
2086
2087 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2088 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2089 PyObject * _resultobj;
2090 wxGridCellEditor * _arg0;
2091 PyObject * _argo0 = 0;
2092 char *_kwnames[] = { "self", NULL };
2093
2094 self = self;
2095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2096 return NULL;
2097 if (_argo0) {
2098 if (_argo0 == Py_None) { _arg0 = NULL; }
2099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2101 return NULL;
2102 }
2103 }
2104 {
2105 wxPy_BEGIN_ALLOW_THREADS;
2106 wxGridCellEditor_StartingClick(_arg0);
2107
2108 wxPy_END_ALLOW_THREADS;
2109 } Py_INCREF(Py_None);
2110 _resultobj = Py_None;
2111 return _resultobj;
2112 }
2113
2114 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2115 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2116 PyObject * _resultobj;
2117 wxGridCellEditor * _arg0;
2118 wxKeyEvent * _arg1;
2119 PyObject * _argo0 = 0;
2120 PyObject * _argo1 = 0;
2121 char *_kwnames[] = { "self","event", NULL };
2122
2123 self = self;
2124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2125 return NULL;
2126 if (_argo0) {
2127 if (_argo0 == Py_None) { _arg0 = NULL; }
2128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2130 return NULL;
2131 }
2132 }
2133 if (_argo1) {
2134 if (_argo1 == Py_None) { _arg1 = NULL; }
2135 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2136 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2137 return NULL;
2138 }
2139 }
2140 {
2141 wxPy_BEGIN_ALLOW_THREADS;
2142 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2143
2144 wxPy_END_ALLOW_THREADS;
2145 } Py_INCREF(Py_None);
2146 _resultobj = Py_None;
2147 return _resultobj;
2148 }
2149
2150 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2151 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2152 PyObject * _resultobj;
2153 wxGridCellEditor * _arg0;
2154 PyObject * _argo0 = 0;
2155 char *_kwnames[] = { "self", NULL };
2156
2157 self = self;
2158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2159 return NULL;
2160 if (_argo0) {
2161 if (_argo0 == Py_None) { _arg0 = NULL; }
2162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2164 return NULL;
2165 }
2166 }
2167 {
2168 wxPy_BEGIN_ALLOW_THREADS;
2169 wxGridCellEditor_Destroy(_arg0);
2170
2171 wxPy_END_ALLOW_THREADS;
2172 } Py_INCREF(Py_None);
2173 _resultobj = Py_None;
2174 return _resultobj;
2175 }
2176
2177 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2178 wxPyGridCellEditor *src;
2179 wxGridCellEditor *dest;
2180 src = (wxPyGridCellEditor *) ptr;
2181 dest = (wxGridCellEditor *) src;
2182 return (void *) dest;
2183 }
2184
2185 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2186 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2187 PyObject * _resultobj;
2188 wxPyGridCellEditor * _result;
2189 char *_kwnames[] = { NULL };
2190 char _ptemp[128];
2191
2192 self = self;
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2194 return NULL;
2195 {
2196 wxPy_BEGIN_ALLOW_THREADS;
2197 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2198
2199 wxPy_END_ALLOW_THREADS;
2200 } if (_result) {
2201 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2202 _resultobj = Py_BuildValue("s",_ptemp);
2203 } else {
2204 Py_INCREF(Py_None);
2205 _resultobj = Py_None;
2206 }
2207 return _resultobj;
2208 }
2209
2210 #define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2211 static PyObject *_wrap_wxPyGridCellEditor__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2212 PyObject * _resultobj;
2213 wxPyGridCellEditor * _arg0;
2214 PyObject * _arg1;
2215 PyObject * _arg2;
2216 PyObject * _argo0 = 0;
2217 PyObject * _obj1 = 0;
2218 PyObject * _obj2 = 0;
2219 char *_kwnames[] = { "self","self","_class", NULL };
2220
2221 self = self;
2222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
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__setSelf. Expected _wxPyGridCellEditor_p.");
2228 return NULL;
2229 }
2230 }
2231 {
2232 _arg1 = _obj1;
2233 }
2234 {
2235 _arg2 = _obj2;
2236 }
2237 {
2238 wxPy_BEGIN_ALLOW_THREADS;
2239 wxPyGridCellEditor__setSelf(_arg0,_arg1,_arg2);
2240
2241 wxPy_END_ALLOW_THREADS;
2242 } Py_INCREF(Py_None);
2243 _resultobj = Py_None;
2244 return _resultobj;
2245 }
2246
2247 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2248 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2249 PyObject * _resultobj;
2250 wxPyGridCellEditor * _arg0;
2251 wxRect * _arg1;
2252 PyObject * _argo0 = 0;
2253 wxRect temp;
2254 PyObject * _obj1 = 0;
2255 char *_kwnames[] = { "self","rect", NULL };
2256
2257 self = self;
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
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_SetSize. Expected _wxPyGridCellEditor_p.");
2264 return NULL;
2265 }
2266 }
2267 {
2268 _arg1 = &temp;
2269 if (! wxRect_helper(_obj1, &_arg1))
2270 return NULL;
2271 }
2272 {
2273 wxPy_BEGIN_ALLOW_THREADS;
2274 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2275
2276 wxPy_END_ALLOW_THREADS;
2277 } Py_INCREF(Py_None);
2278 _resultobj = Py_None;
2279 return _resultobj;
2280 }
2281
2282 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2283 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2284 PyObject * _resultobj;
2285 wxPyGridCellEditor * _arg0;
2286 bool _arg1;
2287 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2288 PyObject * _argo0 = 0;
2289 int tempbool1;
2290 PyObject * _argo2 = 0;
2291 char *_kwnames[] = { "self","show","attr", NULL };
2292
2293 self = self;
2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2295 return NULL;
2296 if (_argo0) {
2297 if (_argo0 == Py_None) { _arg0 = NULL; }
2298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2300 return NULL;
2301 }
2302 }
2303 _arg1 = (bool ) tempbool1;
2304 if (_argo2) {
2305 if (_argo2 == Py_None) { _arg2 = NULL; }
2306 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2307 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2308 return NULL;
2309 }
2310 }
2311 {
2312 wxPy_BEGIN_ALLOW_THREADS;
2313 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2314
2315 wxPy_END_ALLOW_THREADS;
2316 } Py_INCREF(Py_None);
2317 _resultobj = Py_None;
2318 return _resultobj;
2319 }
2320
2321 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2322 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2323 PyObject * _resultobj;
2324 wxPyGridCellEditor * _arg0;
2325 wxRect * _arg1;
2326 wxGridCellAttr * _arg2;
2327 PyObject * _argo0 = 0;
2328 wxRect temp;
2329 PyObject * _obj1 = 0;
2330 PyObject * _argo2 = 0;
2331 char *_kwnames[] = { "self","rectCell","attr", NULL };
2332
2333 self = self;
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2335 return NULL;
2336 if (_argo0) {
2337 if (_argo0 == Py_None) { _arg0 = NULL; }
2338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2340 return NULL;
2341 }
2342 }
2343 {
2344 _arg1 = &temp;
2345 if (! wxRect_helper(_obj1, &_arg1))
2346 return NULL;
2347 }
2348 if (_argo2) {
2349 if (_argo2 == Py_None) { _arg2 = NULL; }
2350 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2351 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2352 return NULL;
2353 }
2354 }
2355 {
2356 wxPy_BEGIN_ALLOW_THREADS;
2357 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2358
2359 wxPy_END_ALLOW_THREADS;
2360 } Py_INCREF(Py_None);
2361 _resultobj = Py_None;
2362 return _resultobj;
2363 }
2364
2365 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2366 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(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_IsAcceptedKey",_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_IsAcceptedKey. 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_IsAcceptedKey. Expected _wxKeyEvent_p.");
2388 return NULL;
2389 }
2390 }
2391 {
2392 wxPy_BEGIN_ALLOW_THREADS;
2393 wxPyGridCellEditor_base_IsAcceptedKey(_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_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2402 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2403 PyObject * _resultobj;
2404 wxPyGridCellEditor * _arg0;
2405 wxKeyEvent * _arg1;
2406 PyObject * _argo0 = 0;
2407 PyObject * _argo1 = 0;
2408 char *_kwnames[] = { "self","event", NULL };
2409
2410 self = self;
2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2412 return NULL;
2413 if (_argo0) {
2414 if (_argo0 == Py_None) { _arg0 = NULL; }
2415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2417 return NULL;
2418 }
2419 }
2420 if (_argo1) {
2421 if (_argo1 == Py_None) { _arg1 = NULL; }
2422 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2423 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2424 return NULL;
2425 }
2426 }
2427 {
2428 wxPy_BEGIN_ALLOW_THREADS;
2429 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2430
2431 wxPy_END_ALLOW_THREADS;
2432 } Py_INCREF(Py_None);
2433 _resultobj = Py_None;
2434 return _resultobj;
2435 }
2436
2437 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2438 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject * _resultobj;
2440 wxPyGridCellEditor * _arg0;
2441 PyObject * _argo0 = 0;
2442 char *_kwnames[] = { "self", NULL };
2443
2444 self = self;
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2446 return NULL;
2447 if (_argo0) {
2448 if (_argo0 == Py_None) { _arg0 = NULL; }
2449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2451 return NULL;
2452 }
2453 }
2454 {
2455 wxPy_BEGIN_ALLOW_THREADS;
2456 wxPyGridCellEditor_base_StartingClick(_arg0);
2457
2458 wxPy_END_ALLOW_THREADS;
2459 } Py_INCREF(Py_None);
2460 _resultobj = Py_None;
2461 return _resultobj;
2462 }
2463
2464 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2465 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2466 PyObject * _resultobj;
2467 wxPyGridCellEditor * _arg0;
2468 wxKeyEvent * _arg1;
2469 PyObject * _argo0 = 0;
2470 PyObject * _argo1 = 0;
2471 char *_kwnames[] = { "self","event", NULL };
2472
2473 self = self;
2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2475 return NULL;
2476 if (_argo0) {
2477 if (_argo0 == Py_None) { _arg0 = NULL; }
2478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2480 return NULL;
2481 }
2482 }
2483 if (_argo1) {
2484 if (_argo1 == Py_None) { _arg1 = NULL; }
2485 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2486 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2487 return NULL;
2488 }
2489 }
2490 {
2491 wxPy_BEGIN_ALLOW_THREADS;
2492 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2493
2494 wxPy_END_ALLOW_THREADS;
2495 } Py_INCREF(Py_None);
2496 _resultobj = Py_None;
2497 return _resultobj;
2498 }
2499
2500 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2501 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2502 PyObject * _resultobj;
2503 wxPyGridCellEditor * _arg0;
2504 PyObject * _argo0 = 0;
2505 char *_kwnames[] = { "self", NULL };
2506
2507 self = self;
2508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2509 return NULL;
2510 if (_argo0) {
2511 if (_argo0 == Py_None) { _arg0 = NULL; }
2512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2514 return NULL;
2515 }
2516 }
2517 {
2518 wxPy_BEGIN_ALLOW_THREADS;
2519 wxPyGridCellEditor_base_Destroy(_arg0);
2520
2521 wxPy_END_ALLOW_THREADS;
2522 } Py_INCREF(Py_None);
2523 _resultobj = Py_None;
2524 return _resultobj;
2525 }
2526
2527 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2528 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2529 PyObject * _resultobj;
2530 wxPyGridCellEditor * _arg0;
2531 wxString * _arg1;
2532 PyObject * _argo0 = 0;
2533 PyObject * _obj1 = 0;
2534 char *_kwnames[] = { "self","params", NULL };
2535
2536 self = self;
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2538 return NULL;
2539 if (_argo0) {
2540 if (_argo0 == Py_None) { _arg0 = NULL; }
2541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2543 return NULL;
2544 }
2545 }
2546 {
2547 #if PYTHON_API_VERSION >= 1009
2548 char* tmpPtr; int tmpSize;
2549 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2550 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
2551 return NULL;
2552 }
2553 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2554 return NULL;
2555 _arg1 = new wxString(tmpPtr, tmpSize);
2556 #else
2557 if (!PyString_Check(_obj1)) {
2558 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2559 return NULL;
2560 }
2561 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2562 #endif
2563 }
2564 {
2565 wxPy_BEGIN_ALLOW_THREADS;
2566 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2567
2568 wxPy_END_ALLOW_THREADS;
2569 } Py_INCREF(Py_None);
2570 _resultobj = Py_None;
2571 {
2572 if (_obj1)
2573 delete _arg1;
2574 }
2575 return _resultobj;
2576 }
2577
2578 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2579 wxGridCellTextEditor *src;
2580 wxGridCellEditor *dest;
2581 src = (wxGridCellTextEditor *) ptr;
2582 dest = (wxGridCellEditor *) src;
2583 return (void *) dest;
2584 }
2585
2586 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2587 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2588 PyObject * _resultobj;
2589 wxGridCellTextEditor * _result;
2590 char *_kwnames[] = { NULL };
2591 char _ptemp[128];
2592
2593 self = self;
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2595 return NULL;
2596 {
2597 wxPy_BEGIN_ALLOW_THREADS;
2598 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2599
2600 wxPy_END_ALLOW_THREADS;
2601 } if (_result) {
2602 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2603 _resultobj = Py_BuildValue("s",_ptemp);
2604 } else {
2605 Py_INCREF(Py_None);
2606 _resultobj = Py_None;
2607 }
2608 return _resultobj;
2609 }
2610
2611 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2612 wxGridCellNumberEditor *src;
2613 wxGridCellTextEditor *dest;
2614 src = (wxGridCellNumberEditor *) ptr;
2615 dest = (wxGridCellTextEditor *) src;
2616 return (void *) dest;
2617 }
2618
2619 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2620 wxGridCellNumberEditor *src;
2621 wxGridCellEditor *dest;
2622 src = (wxGridCellNumberEditor *) ptr;
2623 dest = (wxGridCellEditor *) src;
2624 return (void *) dest;
2625 }
2626
2627 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2628 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2629 PyObject * _resultobj;
2630 wxGridCellNumberEditor * _result;
2631 int _arg0 = (int ) -1;
2632 int _arg1 = (int ) -1;
2633 char *_kwnames[] = { "min","max", NULL };
2634 char _ptemp[128];
2635
2636 self = self;
2637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2638 return NULL;
2639 {
2640 wxPy_BEGIN_ALLOW_THREADS;
2641 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2642
2643 wxPy_END_ALLOW_THREADS;
2644 } if (_result) {
2645 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2646 _resultobj = Py_BuildValue("s",_ptemp);
2647 } else {
2648 Py_INCREF(Py_None);
2649 _resultobj = Py_None;
2650 }
2651 return _resultobj;
2652 }
2653
2654 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2655 wxGridCellFloatEditor *src;
2656 wxGridCellTextEditor *dest;
2657 src = (wxGridCellFloatEditor *) ptr;
2658 dest = (wxGridCellTextEditor *) src;
2659 return (void *) dest;
2660 }
2661
2662 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2663 wxGridCellFloatEditor *src;
2664 wxGridCellEditor *dest;
2665 src = (wxGridCellFloatEditor *) ptr;
2666 dest = (wxGridCellEditor *) src;
2667 return (void *) dest;
2668 }
2669
2670 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2671 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2672 PyObject * _resultobj;
2673 wxGridCellFloatEditor * _result;
2674 char *_kwnames[] = { NULL };
2675 char _ptemp[128];
2676
2677 self = self;
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2679 return NULL;
2680 {
2681 wxPy_BEGIN_ALLOW_THREADS;
2682 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2683
2684 wxPy_END_ALLOW_THREADS;
2685 } if (_result) {
2686 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2687 _resultobj = Py_BuildValue("s",_ptemp);
2688 } else {
2689 Py_INCREF(Py_None);
2690 _resultobj = Py_None;
2691 }
2692 return _resultobj;
2693 }
2694
2695 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2696 wxGridCellBoolEditor *src;
2697 wxGridCellEditor *dest;
2698 src = (wxGridCellBoolEditor *) ptr;
2699 dest = (wxGridCellEditor *) src;
2700 return (void *) dest;
2701 }
2702
2703 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2704 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2705 PyObject * _resultobj;
2706 wxGridCellBoolEditor * _result;
2707 char *_kwnames[] = { NULL };
2708 char _ptemp[128];
2709
2710 self = self;
2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2712 return NULL;
2713 {
2714 wxPy_BEGIN_ALLOW_THREADS;
2715 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2716
2717 wxPy_END_ALLOW_THREADS;
2718 } if (_result) {
2719 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2720 _resultobj = Py_BuildValue("s",_ptemp);
2721 } else {
2722 Py_INCREF(Py_None);
2723 _resultobj = Py_None;
2724 }
2725 return _resultobj;
2726 }
2727
2728 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2729 wxGridCellChoiceEditor *src;
2730 wxGridCellEditor *dest;
2731 src = (wxGridCellChoiceEditor *) ptr;
2732 dest = (wxGridCellEditor *) src;
2733 return (void *) dest;
2734 }
2735
2736 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2737 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2738 PyObject * _resultobj;
2739 wxGridCellChoiceEditor * _result;
2740 int _arg0 = (int ) 0;
2741 wxString * _arg1 = (wxString *) NULL;
2742 bool _arg2 = (bool ) FALSE;
2743 PyObject * _obj1 = 0;
2744 int tempbool2 = (int) FALSE;
2745 char *_kwnames[] = { "choices","allowOthers", NULL };
2746 char _ptemp[128];
2747
2748 self = self;
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2750 return NULL;
2751 if (_obj1)
2752 {
2753 _arg1 = wxString_LIST_helper(_obj1);
2754 if (_arg1 == NULL) {
2755 return NULL;
2756 }
2757 }
2758 _arg2 = (bool ) tempbool2;
2759 {
2760 if (_obj1) {
2761 _arg0 = PyList_Size(_obj1);
2762 }
2763 else {
2764 _arg0 = 0;
2765 }
2766 }
2767 {
2768 wxPy_BEGIN_ALLOW_THREADS;
2769 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2770
2771 wxPy_END_ALLOW_THREADS;
2772 } if (_result) {
2773 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2774 _resultobj = Py_BuildValue("s",_ptemp);
2775 } else {
2776 Py_INCREF(Py_None);
2777 _resultobj = Py_None;
2778 }
2779 {
2780 delete [] _arg1;
2781 }
2782 return _resultobj;
2783 }
2784
2785 #define new_wxGridCellAttr() (new wxGridCellAttr())
2786 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2787 PyObject * _resultobj;
2788 wxGridCellAttr * _result;
2789 char *_kwnames[] = { NULL };
2790 char _ptemp[128];
2791
2792 self = self;
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttr",_kwnames))
2794 return NULL;
2795 {
2796 wxPy_BEGIN_ALLOW_THREADS;
2797 _result = (wxGridCellAttr *)new_wxGridCellAttr();
2798
2799 wxPy_END_ALLOW_THREADS;
2800 } if (_result) {
2801 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2802 _resultobj = Py_BuildValue("s",_ptemp);
2803 } else {
2804 Py_INCREF(Py_None);
2805 _resultobj = Py_None;
2806 }
2807 return _resultobj;
2808 }
2809
2810 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2811 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject * _resultobj;
2813 wxGridCellAttr * _result;
2814 wxGridCellAttr * _arg0;
2815 PyObject * _argo0 = 0;
2816 char *_kwnames[] = { "self", NULL };
2817 char _ptemp[128];
2818
2819 self = self;
2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
2821 return NULL;
2822 if (_argo0) {
2823 if (_argo0 == Py_None) { _arg0 = NULL; }
2824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2826 return NULL;
2827 }
2828 }
2829 {
2830 wxPy_BEGIN_ALLOW_THREADS;
2831 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
2832
2833 wxPy_END_ALLOW_THREADS;
2834 } if (_result) {
2835 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2836 _resultobj = Py_BuildValue("s",_ptemp);
2837 } else {
2838 Py_INCREF(Py_None);
2839 _resultobj = Py_None;
2840 }
2841 return _resultobj;
2842 }
2843
2844 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2845 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2846 PyObject * _resultobj;
2847 wxGridCellAttr * _arg0;
2848 PyObject * _argo0 = 0;
2849 char *_kwnames[] = { "self", NULL };
2850
2851 self = self;
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
2853 return NULL;
2854 if (_argo0) {
2855 if (_argo0 == Py_None) { _arg0 = NULL; }
2856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2858 return NULL;
2859 }
2860 }
2861 {
2862 wxPy_BEGIN_ALLOW_THREADS;
2863 wxGridCellAttr_IncRef(_arg0);
2864
2865 wxPy_END_ALLOW_THREADS;
2866 } Py_INCREF(Py_None);
2867 _resultobj = Py_None;
2868 return _resultobj;
2869 }
2870
2871 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2872 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2873 PyObject * _resultobj;
2874 wxGridCellAttr * _arg0;
2875 PyObject * _argo0 = 0;
2876 char *_kwnames[] = { "self", NULL };
2877
2878 self = self;
2879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
2880 return NULL;
2881 if (_argo0) {
2882 if (_argo0 == Py_None) { _arg0 = NULL; }
2883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2885 return NULL;
2886 }
2887 }
2888 {
2889 wxPy_BEGIN_ALLOW_THREADS;
2890 wxGridCellAttr_DecRef(_arg0);
2891
2892 wxPy_END_ALLOW_THREADS;
2893 } Py_INCREF(Py_None);
2894 _resultobj = Py_None;
2895 return _resultobj;
2896 }
2897
2898 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2899 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2900 PyObject * _resultobj;
2901 wxGridCellAttr * _arg0;
2902 wxColour * _arg1;
2903 PyObject * _argo0 = 0;
2904 wxColour temp;
2905 PyObject * _obj1 = 0;
2906 char *_kwnames[] = { "self","colText", NULL };
2907
2908 self = self;
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
2910 return NULL;
2911 if (_argo0) {
2912 if (_argo0 == Py_None) { _arg0 = NULL; }
2913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2915 return NULL;
2916 }
2917 }
2918 {
2919 _arg1 = &temp;
2920 if (! wxColour_helper(_obj1, &_arg1))
2921 return NULL;
2922 }
2923 {
2924 wxPy_BEGIN_ALLOW_THREADS;
2925 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
2926
2927 wxPy_END_ALLOW_THREADS;
2928 } Py_INCREF(Py_None);
2929 _resultobj = Py_None;
2930 return _resultobj;
2931 }
2932
2933 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2934 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject * _resultobj;
2936 wxGridCellAttr * _arg0;
2937 wxColour * _arg1;
2938 PyObject * _argo0 = 0;
2939 wxColour temp;
2940 PyObject * _obj1 = 0;
2941 char *_kwnames[] = { "self","colBack", NULL };
2942
2943 self = self;
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
2945 return NULL;
2946 if (_argo0) {
2947 if (_argo0 == Py_None) { _arg0 = NULL; }
2948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2950 return NULL;
2951 }
2952 }
2953 {
2954 _arg1 = &temp;
2955 if (! wxColour_helper(_obj1, &_arg1))
2956 return NULL;
2957 }
2958 {
2959 wxPy_BEGIN_ALLOW_THREADS;
2960 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
2961
2962 wxPy_END_ALLOW_THREADS;
2963 } Py_INCREF(Py_None);
2964 _resultobj = Py_None;
2965 return _resultobj;
2966 }
2967
2968 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2969 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2970 PyObject * _resultobj;
2971 wxGridCellAttr * _arg0;
2972 wxFont * _arg1;
2973 PyObject * _argo0 = 0;
2974 PyObject * _argo1 = 0;
2975 char *_kwnames[] = { "self","font", NULL };
2976
2977 self = self;
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
2979 return NULL;
2980 if (_argo0) {
2981 if (_argo0 == Py_None) { _arg0 = NULL; }
2982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
2984 return NULL;
2985 }
2986 }
2987 if (_argo1) {
2988 if (_argo1 == Py_None) { _arg1 = NULL; }
2989 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2990 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
2991 return NULL;
2992 }
2993 }
2994 {
2995 wxPy_BEGIN_ALLOW_THREADS;
2996 wxGridCellAttr_SetFont(_arg0,*_arg1);
2997
2998 wxPy_END_ALLOW_THREADS;
2999 } Py_INCREF(Py_None);
3000 _resultobj = Py_None;
3001 return _resultobj;
3002 }
3003
3004 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3005 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3006 PyObject * _resultobj;
3007 wxGridCellAttr * _arg0;
3008 int _arg1;
3009 int _arg2;
3010 PyObject * _argo0 = 0;
3011 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3012
3013 self = self;
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3015 return NULL;
3016 if (_argo0) {
3017 if (_argo0 == Py_None) { _arg0 = NULL; }
3018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3020 return NULL;
3021 }
3022 }
3023 {
3024 wxPy_BEGIN_ALLOW_THREADS;
3025 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3026
3027 wxPy_END_ALLOW_THREADS;
3028 } Py_INCREF(Py_None);
3029 _resultobj = Py_None;
3030 return _resultobj;
3031 }
3032
3033 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3034 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3035 PyObject * _resultobj;
3036 wxGridCellAttr * _arg0;
3037 bool _arg1 = (bool ) TRUE;
3038 PyObject * _argo0 = 0;
3039 int tempbool1 = (int) TRUE;
3040 char *_kwnames[] = { "self","isReadOnly", NULL };
3041
3042 self = self;
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3044 return NULL;
3045 if (_argo0) {
3046 if (_argo0 == Py_None) { _arg0 = NULL; }
3047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3049 return NULL;
3050 }
3051 }
3052 _arg1 = (bool ) tempbool1;
3053 {
3054 wxPy_BEGIN_ALLOW_THREADS;
3055 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3056
3057 wxPy_END_ALLOW_THREADS;
3058 } Py_INCREF(Py_None);
3059 _resultobj = Py_None;
3060 return _resultobj;
3061 }
3062
3063 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3064 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject * _resultobj;
3066 wxGridCellAttr * _arg0;
3067 wxGridCellRenderer * _arg1;
3068 PyObject * _argo0 = 0;
3069 PyObject * _argo1 = 0;
3070 char *_kwnames[] = { "self","renderer", NULL };
3071
3072 self = self;
3073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3074 return NULL;
3075 if (_argo0) {
3076 if (_argo0 == Py_None) { _arg0 = NULL; }
3077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3079 return NULL;
3080 }
3081 }
3082 if (_argo1) {
3083 if (_argo1 == Py_None) { _arg1 = NULL; }
3084 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3085 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3086 return NULL;
3087 }
3088 }
3089 {
3090 wxPy_BEGIN_ALLOW_THREADS;
3091 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3092
3093 wxPy_END_ALLOW_THREADS;
3094 } Py_INCREF(Py_None);
3095 _resultobj = Py_None;
3096 return _resultobj;
3097 }
3098
3099 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3100 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3101 PyObject * _resultobj;
3102 wxGridCellAttr * _arg0;
3103 wxGridCellEditor * _arg1;
3104 PyObject * _argo0 = 0;
3105 PyObject * _argo1 = 0;
3106 char *_kwnames[] = { "self","editor", NULL };
3107
3108 self = self;
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3110 return NULL;
3111 if (_argo0) {
3112 if (_argo0 == Py_None) { _arg0 = NULL; }
3113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3115 return NULL;
3116 }
3117 }
3118 if (_argo1) {
3119 if (_argo1 == Py_None) { _arg1 = NULL; }
3120 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3121 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3122 return NULL;
3123 }
3124 }
3125 {
3126 wxPy_BEGIN_ALLOW_THREADS;
3127 wxGridCellAttr_SetEditor(_arg0,_arg1);
3128
3129 wxPy_END_ALLOW_THREADS;
3130 } Py_INCREF(Py_None);
3131 _resultobj = Py_None;
3132 return _resultobj;
3133 }
3134
3135 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3136 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3137 PyObject * _resultobj;
3138 bool _result;
3139 wxGridCellAttr * _arg0;
3140 PyObject * _argo0 = 0;
3141 char *_kwnames[] = { "self", NULL };
3142
3143 self = self;
3144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3145 return NULL;
3146 if (_argo0) {
3147 if (_argo0 == Py_None) { _arg0 = NULL; }
3148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3150 return NULL;
3151 }
3152 }
3153 {
3154 wxPy_BEGIN_ALLOW_THREADS;
3155 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3156
3157 wxPy_END_ALLOW_THREADS;
3158 } _resultobj = Py_BuildValue("i",_result);
3159 return _resultobj;
3160 }
3161
3162 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3163 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3164 PyObject * _resultobj;
3165 bool _result;
3166 wxGridCellAttr * _arg0;
3167 PyObject * _argo0 = 0;
3168 char *_kwnames[] = { "self", NULL };
3169
3170 self = self;
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3172 return NULL;
3173 if (_argo0) {
3174 if (_argo0 == Py_None) { _arg0 = NULL; }
3175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3177 return NULL;
3178 }
3179 }
3180 {
3181 wxPy_BEGIN_ALLOW_THREADS;
3182 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3183
3184 wxPy_END_ALLOW_THREADS;
3185 } _resultobj = Py_BuildValue("i",_result);
3186 return _resultobj;
3187 }
3188
3189 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3190 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3191 PyObject * _resultobj;
3192 bool _result;
3193 wxGridCellAttr * _arg0;
3194 PyObject * _argo0 = 0;
3195 char *_kwnames[] = { "self", NULL };
3196
3197 self = self;
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3199 return NULL;
3200 if (_argo0) {
3201 if (_argo0 == Py_None) { _arg0 = NULL; }
3202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3204 return NULL;
3205 }
3206 }
3207 {
3208 wxPy_BEGIN_ALLOW_THREADS;
3209 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3210
3211 wxPy_END_ALLOW_THREADS;
3212 } _resultobj = Py_BuildValue("i",_result);
3213 return _resultobj;
3214 }
3215
3216 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3217 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3218 PyObject * _resultobj;
3219 bool _result;
3220 wxGridCellAttr * _arg0;
3221 PyObject * _argo0 = 0;
3222 char *_kwnames[] = { "self", NULL };
3223
3224 self = self;
3225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3226 return NULL;
3227 if (_argo0) {
3228 if (_argo0 == Py_None) { _arg0 = NULL; }
3229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3231 return NULL;
3232 }
3233 }
3234 {
3235 wxPy_BEGIN_ALLOW_THREADS;
3236 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3237
3238 wxPy_END_ALLOW_THREADS;
3239 } _resultobj = Py_BuildValue("i",_result);
3240 return _resultobj;
3241 }
3242
3243 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3244 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3245 PyObject * _resultobj;
3246 bool _result;
3247 wxGridCellAttr * _arg0;
3248 PyObject * _argo0 = 0;
3249 char *_kwnames[] = { "self", NULL };
3250
3251 self = self;
3252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3253 return NULL;
3254 if (_argo0) {
3255 if (_argo0 == Py_None) { _arg0 = NULL; }
3256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3258 return NULL;
3259 }
3260 }
3261 {
3262 wxPy_BEGIN_ALLOW_THREADS;
3263 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3264
3265 wxPy_END_ALLOW_THREADS;
3266 } _resultobj = Py_BuildValue("i",_result);
3267 return _resultobj;
3268 }
3269
3270 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3271 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3272 PyObject * _resultobj;
3273 bool _result;
3274 wxGridCellAttr * _arg0;
3275 PyObject * _argo0 = 0;
3276 char *_kwnames[] = { "self", NULL };
3277
3278 self = self;
3279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3280 return NULL;
3281 if (_argo0) {
3282 if (_argo0 == Py_None) { _arg0 = NULL; }
3283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3285 return NULL;
3286 }
3287 }
3288 {
3289 wxPy_BEGIN_ALLOW_THREADS;
3290 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3291
3292 wxPy_END_ALLOW_THREADS;
3293 } _resultobj = Py_BuildValue("i",_result);
3294 return _resultobj;
3295 }
3296
3297 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3298 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3299 PyObject * _resultobj;
3300 wxColour * _result;
3301 wxGridCellAttr * _arg0;
3302 PyObject * _argo0 = 0;
3303 char *_kwnames[] = { "self", NULL };
3304 char _ptemp[128];
3305
3306 self = self;
3307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3308 return NULL;
3309 if (_argo0) {
3310 if (_argo0 == Py_None) { _arg0 = NULL; }
3311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3313 return NULL;
3314 }
3315 }
3316 {
3317 wxPy_BEGIN_ALLOW_THREADS;
3318 const wxColour & _result_ref = wxGridCellAttr_GetTextColour(_arg0);
3319 _result = (wxColour *) &_result_ref;
3320
3321 wxPy_END_ALLOW_THREADS;
3322 } if (_result) {
3323 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3324 _resultobj = Py_BuildValue("s",_ptemp);
3325 } else {
3326 Py_INCREF(Py_None);
3327 _resultobj = Py_None;
3328 }
3329 return _resultobj;
3330 }
3331
3332 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3333 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3334 PyObject * _resultobj;
3335 wxColour * _result;
3336 wxGridCellAttr * _arg0;
3337 PyObject * _argo0 = 0;
3338 char *_kwnames[] = { "self", NULL };
3339 char _ptemp[128];
3340
3341 self = self;
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3343 return NULL;
3344 if (_argo0) {
3345 if (_argo0 == Py_None) { _arg0 = NULL; }
3346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3348 return NULL;
3349 }
3350 }
3351 {
3352 wxPy_BEGIN_ALLOW_THREADS;
3353 const wxColour & _result_ref = wxGridCellAttr_GetBackgroundColour(_arg0);
3354 _result = (wxColour *) &_result_ref;
3355
3356 wxPy_END_ALLOW_THREADS;
3357 } if (_result) {
3358 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3359 _resultobj = Py_BuildValue("s",_ptemp);
3360 } else {
3361 Py_INCREF(Py_None);
3362 _resultobj = Py_None;
3363 }
3364 return _resultobj;
3365 }
3366
3367 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3368 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject * _resultobj;
3370 wxFont * _result;
3371 wxGridCellAttr * _arg0;
3372 PyObject * _argo0 = 0;
3373 char *_kwnames[] = { "self", NULL };
3374 char _ptemp[128];
3375
3376 self = self;
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3378 return NULL;
3379 if (_argo0) {
3380 if (_argo0 == Py_None) { _arg0 = NULL; }
3381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3383 return NULL;
3384 }
3385 }
3386 {
3387 wxPy_BEGIN_ALLOW_THREADS;
3388 const wxFont & _result_ref = wxGridCellAttr_GetFont(_arg0);
3389 _result = (wxFont *) &_result_ref;
3390
3391 wxPy_END_ALLOW_THREADS;
3392 } if (_result) {
3393 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3394 _resultobj = Py_BuildValue("s",_ptemp);
3395 } else {
3396 Py_INCREF(Py_None);
3397 _resultobj = Py_None;
3398 }
3399 return _resultobj;
3400 }
3401
3402 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3403 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3404 PyObject * _resultobj;
3405 wxGridCellAttr * _arg0;
3406 int * _arg1;
3407 int temp;
3408 int * _arg2;
3409 int temp0;
3410 PyObject * _argo0 = 0;
3411 char *_kwnames[] = { "self", NULL };
3412
3413 self = self;
3414 {
3415 _arg1 = &temp;
3416 }
3417 {
3418 _arg2 = &temp0;
3419 }
3420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3421 return NULL;
3422 if (_argo0) {
3423 if (_argo0 == Py_None) { _arg0 = NULL; }
3424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3426 return NULL;
3427 }
3428 }
3429 {
3430 wxPy_BEGIN_ALLOW_THREADS;
3431 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3432
3433 wxPy_END_ALLOW_THREADS;
3434 } Py_INCREF(Py_None);
3435 _resultobj = Py_None;
3436 {
3437 PyObject *o;
3438 o = PyInt_FromLong((long) (*_arg1));
3439 _resultobj = t_output_helper(_resultobj, o);
3440 }
3441 {
3442 PyObject *o;
3443 o = PyInt_FromLong((long) (*_arg2));
3444 _resultobj = t_output_helper(_resultobj, o);
3445 }
3446 return _resultobj;
3447 }
3448
3449 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3450 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3451 PyObject * _resultobj;
3452 wxGridCellRenderer * _result;
3453 wxGridCellAttr * _arg0;
3454 wxGrid * _arg1;
3455 int _arg2;
3456 int _arg3;
3457 PyObject * _argo0 = 0;
3458 PyObject * _argo1 = 0;
3459 char *_kwnames[] = { "self","grid","row","col", NULL };
3460 char _ptemp[128];
3461
3462 self = self;
3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3464 return NULL;
3465 if (_argo0) {
3466 if (_argo0 == Py_None) { _arg0 = NULL; }
3467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3469 return NULL;
3470 }
3471 }
3472 if (_argo1) {
3473 if (_argo1 == Py_None) { _arg1 = NULL; }
3474 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3475 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3476 return NULL;
3477 }
3478 }
3479 {
3480 wxPy_BEGIN_ALLOW_THREADS;
3481 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3482
3483 wxPy_END_ALLOW_THREADS;
3484 } if (_result) {
3485 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3486 _resultobj = Py_BuildValue("s",_ptemp);
3487 } else {
3488 Py_INCREF(Py_None);
3489 _resultobj = Py_None;
3490 }
3491 return _resultobj;
3492 }
3493
3494 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3495 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3496 PyObject * _resultobj;
3497 wxGridCellEditor * _result;
3498 wxGridCellAttr * _arg0;
3499 wxGrid * _arg1;
3500 int _arg2;
3501 int _arg3;
3502 PyObject * _argo0 = 0;
3503 PyObject * _argo1 = 0;
3504 char *_kwnames[] = { "self","grid","row","col", NULL };
3505 char _ptemp[128];
3506
3507 self = self;
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3509 return NULL;
3510 if (_argo0) {
3511 if (_argo0 == Py_None) { _arg0 = NULL; }
3512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3514 return NULL;
3515 }
3516 }
3517 if (_argo1) {
3518 if (_argo1 == Py_None) { _arg1 = NULL; }
3519 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3520 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3521 return NULL;
3522 }
3523 }
3524 {
3525 wxPy_BEGIN_ALLOW_THREADS;
3526 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3527
3528 wxPy_END_ALLOW_THREADS;
3529 } if (_result) {
3530 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3531 _resultobj = Py_BuildValue("s",_ptemp);
3532 } else {
3533 Py_INCREF(Py_None);
3534 _resultobj = Py_None;
3535 }
3536 return _resultobj;
3537 }
3538
3539 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3540 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3541 PyObject * _resultobj;
3542 bool _result;
3543 wxGridCellAttr * _arg0;
3544 PyObject * _argo0 = 0;
3545 char *_kwnames[] = { "self", NULL };
3546
3547 self = self;
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3549 return NULL;
3550 if (_argo0) {
3551 if (_argo0 == Py_None) { _arg0 = NULL; }
3552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3554 return NULL;
3555 }
3556 }
3557 {
3558 wxPy_BEGIN_ALLOW_THREADS;
3559 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3560
3561 wxPy_END_ALLOW_THREADS;
3562 } _resultobj = Py_BuildValue("i",_result);
3563 return _resultobj;
3564 }
3565
3566 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3567 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3568 PyObject * _resultobj;
3569 wxGridCellAttr * _arg0;
3570 wxGridCellAttr * _arg1;
3571 PyObject * _argo0 = 0;
3572 PyObject * _argo1 = 0;
3573 char *_kwnames[] = { "self","defAttr", NULL };
3574
3575 self = self;
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3577 return NULL;
3578 if (_argo0) {
3579 if (_argo0 == Py_None) { _arg0 = NULL; }
3580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3582 return NULL;
3583 }
3584 }
3585 if (_argo1) {
3586 if (_argo1 == Py_None) { _arg1 = NULL; }
3587 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3588 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3589 return NULL;
3590 }
3591 }
3592 {
3593 wxPy_BEGIN_ALLOW_THREADS;
3594 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3595
3596 wxPy_END_ALLOW_THREADS;
3597 } Py_INCREF(Py_None);
3598 _resultobj = Py_None;
3599 return _resultobj;
3600 }
3601
3602 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3603 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3604 PyObject * _resultobj;
3605 wxGridCellAttrProvider * _result;
3606 char *_kwnames[] = { NULL };
3607 char _ptemp[128];
3608
3609 self = self;
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3611 return NULL;
3612 {
3613 wxPy_BEGIN_ALLOW_THREADS;
3614 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3615
3616 wxPy_END_ALLOW_THREADS;
3617 } if (_result) {
3618 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3619 _resultobj = Py_BuildValue("s",_ptemp);
3620 } else {
3621 Py_INCREF(Py_None);
3622 _resultobj = Py_None;
3623 }
3624 return _resultobj;
3625 }
3626
3627 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
3628 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject * _resultobj;
3630 wxGridCellAttr * _result;
3631 wxGridCellAttrProvider * _arg0;
3632 int _arg1;
3633 int _arg2;
3634 PyObject * _argo0 = 0;
3635 char *_kwnames[] = { "self","row","col", NULL };
3636 char _ptemp[128];
3637
3638 self = self;
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3640 return NULL;
3641 if (_argo0) {
3642 if (_argo0 == Py_None) { _arg0 = NULL; }
3643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3645 return NULL;
3646 }
3647 }
3648 {
3649 wxPy_BEGIN_ALLOW_THREADS;
3650 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2);
3651
3652 wxPy_END_ALLOW_THREADS;
3653 } if (_result) {
3654 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3655 _resultobj = Py_BuildValue("s",_ptemp);
3656 } else {
3657 Py_INCREF(Py_None);
3658 _resultobj = Py_None;
3659 }
3660 return _resultobj;
3661 }
3662
3663 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3664 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject * _resultobj;
3666 wxGridCellAttrProvider * _arg0;
3667 wxGridCellAttr * _arg1;
3668 int _arg2;
3669 int _arg3;
3670 PyObject * _argo0 = 0;
3671 PyObject * _argo1 = 0;
3672 char *_kwnames[] = { "self","attr","row","col", NULL };
3673
3674 self = self;
3675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3676 return NULL;
3677 if (_argo0) {
3678 if (_argo0 == Py_None) { _arg0 = NULL; }
3679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3681 return NULL;
3682 }
3683 }
3684 if (_argo1) {
3685 if (_argo1 == Py_None) { _arg1 = NULL; }
3686 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3687 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3688 return NULL;
3689 }
3690 }
3691 {
3692 wxPy_BEGIN_ALLOW_THREADS;
3693 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
3694
3695 wxPy_END_ALLOW_THREADS;
3696 } Py_INCREF(Py_None);
3697 _resultobj = Py_None;
3698 return _resultobj;
3699 }
3700
3701 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3702 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3703 PyObject * _resultobj;
3704 wxGridCellAttrProvider * _arg0;
3705 wxGridCellAttr * _arg1;
3706 int _arg2;
3707 PyObject * _argo0 = 0;
3708 PyObject * _argo1 = 0;
3709 char *_kwnames[] = { "self","attr","row", NULL };
3710
3711 self = self;
3712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3713 return NULL;
3714 if (_argo0) {
3715 if (_argo0 == Py_None) { _arg0 = NULL; }
3716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3718 return NULL;
3719 }
3720 }
3721 if (_argo1) {
3722 if (_argo1 == Py_None) { _arg1 = NULL; }
3723 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3724 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3725 return NULL;
3726 }
3727 }
3728 {
3729 wxPy_BEGIN_ALLOW_THREADS;
3730 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
3731
3732 wxPy_END_ALLOW_THREADS;
3733 } Py_INCREF(Py_None);
3734 _resultobj = Py_None;
3735 return _resultobj;
3736 }
3737
3738 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3739 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3740 PyObject * _resultobj;
3741 wxGridCellAttrProvider * _arg0;
3742 wxGridCellAttr * _arg1;
3743 int _arg2;
3744 PyObject * _argo0 = 0;
3745 PyObject * _argo1 = 0;
3746 char *_kwnames[] = { "self","attr","col", NULL };
3747
3748 self = self;
3749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3750 return NULL;
3751 if (_argo0) {
3752 if (_argo0 == Py_None) { _arg0 = NULL; }
3753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3755 return NULL;
3756 }
3757 }
3758 if (_argo1) {
3759 if (_argo1 == Py_None) { _arg1 = NULL; }
3760 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3761 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3762 return NULL;
3763 }
3764 }
3765 {
3766 wxPy_BEGIN_ALLOW_THREADS;
3767 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
3768
3769 wxPy_END_ALLOW_THREADS;
3770 } Py_INCREF(Py_None);
3771 _resultobj = Py_None;
3772 return _resultobj;
3773 }
3774
3775 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3776 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3777 PyObject * _resultobj;
3778 wxGridCellAttrProvider * _arg0;
3779 size_t _arg1;
3780 int _arg2;
3781 PyObject * _argo0 = 0;
3782 char *_kwnames[] = { "self","pos","numRows", NULL };
3783
3784 self = self;
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
3786 return NULL;
3787 if (_argo0) {
3788 if (_argo0 == Py_None) { _arg0 = NULL; }
3789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3791 return NULL;
3792 }
3793 }
3794 {
3795 wxPy_BEGIN_ALLOW_THREADS;
3796 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
3797
3798 wxPy_END_ALLOW_THREADS;
3799 } Py_INCREF(Py_None);
3800 _resultobj = Py_None;
3801 return _resultobj;
3802 }
3803
3804 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3805 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3806 PyObject * _resultobj;
3807 wxGridCellAttrProvider * _arg0;
3808 size_t _arg1;
3809 int _arg2;
3810 PyObject * _argo0 = 0;
3811 char *_kwnames[] = { "self","pos","numCols", NULL };
3812
3813 self = self;
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
3815 return NULL;
3816 if (_argo0) {
3817 if (_argo0 == Py_None) { _arg0 = NULL; }
3818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3820 return NULL;
3821 }
3822 }
3823 {
3824 wxPy_BEGIN_ALLOW_THREADS;
3825 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
3826
3827 wxPy_END_ALLOW_THREADS;
3828 } Py_INCREF(Py_None);
3829 _resultobj = Py_None;
3830 return _resultobj;
3831 }
3832
3833 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
3834 wxPyGridCellAttrProvider *src;
3835 wxGridCellAttrProvider *dest;
3836 src = (wxPyGridCellAttrProvider *) ptr;
3837 dest = (wxGridCellAttrProvider *) src;
3838 return (void *) dest;
3839 }
3840
3841 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3842 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3843 PyObject * _resultobj;
3844 wxPyGridCellAttrProvider * _result;
3845 char *_kwnames[] = { NULL };
3846 char _ptemp[128];
3847
3848 self = self;
3849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
3850 return NULL;
3851 {
3852 wxPy_BEGIN_ALLOW_THREADS;
3853 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
3854
3855 wxPy_END_ALLOW_THREADS;
3856 } if (_result) {
3857 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
3858 _resultobj = Py_BuildValue("s",_ptemp);
3859 } else {
3860 Py_INCREF(Py_None);
3861 _resultobj = Py_None;
3862 }
3863 return _resultobj;
3864 }
3865
3866 #define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3867 static PyObject *_wrap_wxPyGridCellAttrProvider__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject * _resultobj;
3869 wxPyGridCellAttrProvider * _arg0;
3870 PyObject * _arg1;
3871 PyObject * _arg2;
3872 PyObject * _argo0 = 0;
3873 PyObject * _obj1 = 0;
3874 PyObject * _obj2 = 0;
3875 char *_kwnames[] = { "self","self","_class", NULL };
3876
3877 self = self;
3878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
3879 return NULL;
3880 if (_argo0) {
3881 if (_argo0 == Py_None) { _arg0 = NULL; }
3882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3884 return NULL;
3885 }
3886 }
3887 {
3888 _arg1 = _obj1;
3889 }
3890 {
3891 _arg2 = _obj2;
3892 }
3893 {
3894 wxPy_BEGIN_ALLOW_THREADS;
3895 wxPyGridCellAttrProvider__setSelf(_arg0,_arg1,_arg2);
3896
3897 wxPy_END_ALLOW_THREADS;
3898 } Py_INCREF(Py_None);
3899 _resultobj = Py_None;
3900 return _resultobj;
3901 }
3902
3903 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
3904 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3905 PyObject * _resultobj;
3906 wxGridCellAttr * _result;
3907 wxPyGridCellAttrProvider * _arg0;
3908 int _arg1;
3909 int _arg2;
3910 PyObject * _argo0 = 0;
3911 char *_kwnames[] = { "self","row","col", NULL };
3912 char _ptemp[128];
3913
3914 self = self;
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3916 return NULL;
3917 if (_argo0) {
3918 if (_argo0 == Py_None) { _arg0 = NULL; }
3919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
3921 return NULL;
3922 }
3923 }
3924 {
3925 wxPy_BEGIN_ALLOW_THREADS;
3926 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2);
3927
3928 wxPy_END_ALLOW_THREADS;
3929 } if (_result) {
3930 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3931 _resultobj = Py_BuildValue("s",_ptemp);
3932 } else {
3933 Py_INCREF(Py_None);
3934 _resultobj = Py_None;
3935 }
3936 return _resultobj;
3937 }
3938
3939 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
3940 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject * _resultobj;
3942 wxPyGridCellAttrProvider * _arg0;
3943 wxGridCellAttr * _arg1;
3944 int _arg2;
3945 int _arg3;
3946 PyObject * _argo0 = 0;
3947 PyObject * _argo1 = 0;
3948 char *_kwnames[] = { "self","attr","row","col", NULL };
3949
3950 self = self;
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3952 return NULL;
3953 if (_argo0) {
3954 if (_argo0 == Py_None) { _arg0 = NULL; }
3955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
3957 return NULL;
3958 }
3959 }
3960 if (_argo1) {
3961 if (_argo1 == Py_None) { _arg1 = NULL; }
3962 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3963 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
3964 return NULL;
3965 }
3966 }
3967 {
3968 wxPy_BEGIN_ALLOW_THREADS;
3969 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
3970
3971 wxPy_END_ALLOW_THREADS;
3972 } Py_INCREF(Py_None);
3973 _resultobj = Py_None;
3974 return _resultobj;
3975 }
3976
3977 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
3978 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3979 PyObject * _resultobj;
3980 wxPyGridCellAttrProvider * _arg0;
3981 wxGridCellAttr * _arg1;
3982 int _arg2;
3983 PyObject * _argo0 = 0;
3984 PyObject * _argo1 = 0;
3985 char *_kwnames[] = { "self","attr","row", NULL };
3986
3987 self = self;
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3989 return NULL;
3990 if (_argo0) {
3991 if (_argo0 == Py_None) { _arg0 = NULL; }
3992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
3994 return NULL;
3995 }
3996 }
3997 if (_argo1) {
3998 if (_argo1 == Py_None) { _arg1 = NULL; }
3999 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4000 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4001 return NULL;
4002 }
4003 }
4004 {
4005 wxPy_BEGIN_ALLOW_THREADS;
4006 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4007
4008 wxPy_END_ALLOW_THREADS;
4009 } Py_INCREF(Py_None);
4010 _resultobj = Py_None;
4011 return _resultobj;
4012 }
4013
4014 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4015 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4016 PyObject * _resultobj;
4017 wxPyGridCellAttrProvider * _arg0;
4018 wxGridCellAttr * _arg1;
4019 int _arg2;
4020 PyObject * _argo0 = 0;
4021 PyObject * _argo1 = 0;
4022 char *_kwnames[] = { "self","attr","col", NULL };
4023
4024 self = self;
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4026 return NULL;
4027 if (_argo0) {
4028 if (_argo0 == Py_None) { _arg0 = NULL; }
4029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4031 return NULL;
4032 }
4033 }
4034 if (_argo1) {
4035 if (_argo1 == Py_None) { _arg1 = NULL; }
4036 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4037 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4038 return NULL;
4039 }
4040 }
4041 {
4042 wxPy_BEGIN_ALLOW_THREADS;
4043 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4044
4045 wxPy_END_ALLOW_THREADS;
4046 } Py_INCREF(Py_None);
4047 _resultobj = Py_None;
4048 return _resultobj;
4049 }
4050
4051 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4052 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject * _resultobj;
4054 wxGridTableBase * _arg0;
4055 wxGridCellAttrProvider * _arg1;
4056 PyObject * _argo0 = 0;
4057 PyObject * _argo1 = 0;
4058 char *_kwnames[] = { "self","attrProvider", NULL };
4059
4060 self = self;
4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4062 return NULL;
4063 if (_argo0) {
4064 if (_argo0 == Py_None) { _arg0 = NULL; }
4065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4067 return NULL;
4068 }
4069 }
4070 if (_argo1) {
4071 if (_argo1 == Py_None) { _arg1 = NULL; }
4072 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4073 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4074 return NULL;
4075 }
4076 }
4077 {
4078 wxPy_BEGIN_ALLOW_THREADS;
4079 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4080
4081 wxPy_END_ALLOW_THREADS;
4082 } Py_INCREF(Py_None);
4083 _resultobj = Py_None;
4084 return _resultobj;
4085 }
4086
4087 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4088 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4089 PyObject * _resultobj;
4090 wxGridCellAttrProvider * _result;
4091 wxGridTableBase * _arg0;
4092 PyObject * _argo0 = 0;
4093 char *_kwnames[] = { "self", NULL };
4094 char _ptemp[128];
4095
4096 self = self;
4097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4098 return NULL;
4099 if (_argo0) {
4100 if (_argo0 == Py_None) { _arg0 = NULL; }
4101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4103 return NULL;
4104 }
4105 }
4106 {
4107 wxPy_BEGIN_ALLOW_THREADS;
4108 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4109
4110 wxPy_END_ALLOW_THREADS;
4111 } if (_result) {
4112 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4113 _resultobj = Py_BuildValue("s",_ptemp);
4114 } else {
4115 Py_INCREF(Py_None);
4116 _resultobj = Py_None;
4117 }
4118 return _resultobj;
4119 }
4120
4121 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4122 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4123 PyObject * _resultobj;
4124 wxGridTableBase * _arg0;
4125 wxGrid * _arg1;
4126 PyObject * _argo0 = 0;
4127 PyObject * _argo1 = 0;
4128 char *_kwnames[] = { "self","grid", NULL };
4129
4130 self = self;
4131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4132 return NULL;
4133 if (_argo0) {
4134 if (_argo0 == Py_None) { _arg0 = NULL; }
4135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4137 return NULL;
4138 }
4139 }
4140 if (_argo1) {
4141 if (_argo1 == Py_None) { _arg1 = NULL; }
4142 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4143 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4144 return NULL;
4145 }
4146 }
4147 {
4148 wxPy_BEGIN_ALLOW_THREADS;
4149 wxGridTableBase_SetView(_arg0,_arg1);
4150
4151 wxPy_END_ALLOW_THREADS;
4152 } Py_INCREF(Py_None);
4153 _resultobj = Py_None;
4154 return _resultobj;
4155 }
4156
4157 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4158 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject * _resultobj;
4160 wxGrid * _result;
4161 wxGridTableBase * _arg0;
4162 PyObject * _argo0 = 0;
4163 char *_kwnames[] = { "self", NULL };
4164 char _ptemp[128];
4165
4166 self = self;
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4168 return NULL;
4169 if (_argo0) {
4170 if (_argo0 == Py_None) { _arg0 = NULL; }
4171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4173 return NULL;
4174 }
4175 }
4176 {
4177 wxPy_BEGIN_ALLOW_THREADS;
4178 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4179
4180 wxPy_END_ALLOW_THREADS;
4181 } if (_result) {
4182 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
4183 _resultobj = Py_BuildValue("s",_ptemp);
4184 } else {
4185 Py_INCREF(Py_None);
4186 _resultobj = Py_None;
4187 }
4188 return _resultobj;
4189 }
4190
4191 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4192 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4193 PyObject * _resultobj;
4194 int _result;
4195 wxGridTableBase * _arg0;
4196 PyObject * _argo0 = 0;
4197 char *_kwnames[] = { "self", NULL };
4198
4199 self = self;
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4201 return NULL;
4202 if (_argo0) {
4203 if (_argo0 == Py_None) { _arg0 = NULL; }
4204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4206 return NULL;
4207 }
4208 }
4209 {
4210 wxPy_BEGIN_ALLOW_THREADS;
4211 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4212
4213 wxPy_END_ALLOW_THREADS;
4214 } _resultobj = Py_BuildValue("i",_result);
4215 return _resultobj;
4216 }
4217
4218 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4219 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4220 PyObject * _resultobj;
4221 int _result;
4222 wxGridTableBase * _arg0;
4223 PyObject * _argo0 = 0;
4224 char *_kwnames[] = { "self", NULL };
4225
4226 self = self;
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4228 return NULL;
4229 if (_argo0) {
4230 if (_argo0 == Py_None) { _arg0 = NULL; }
4231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4233 return NULL;
4234 }
4235 }
4236 {
4237 wxPy_BEGIN_ALLOW_THREADS;
4238 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4239
4240 wxPy_END_ALLOW_THREADS;
4241 } _resultobj = Py_BuildValue("i",_result);
4242 return _resultobj;
4243 }
4244
4245 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4246 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4247 PyObject * _resultobj;
4248 bool _result;
4249 wxGridTableBase * _arg0;
4250 int _arg1;
4251 int _arg2;
4252 PyObject * _argo0 = 0;
4253 char *_kwnames[] = { "self","row","col", NULL };
4254
4255 self = self;
4256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4257 return NULL;
4258 if (_argo0) {
4259 if (_argo0 == Py_None) { _arg0 = NULL; }
4260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4262 return NULL;
4263 }
4264 }
4265 {
4266 wxPy_BEGIN_ALLOW_THREADS;
4267 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4268
4269 wxPy_END_ALLOW_THREADS;
4270 } _resultobj = Py_BuildValue("i",_result);
4271 return _resultobj;
4272 }
4273
4274 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4275 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject * _resultobj;
4277 wxString * _result;
4278 wxGridTableBase * _arg0;
4279 int _arg1;
4280 int _arg2;
4281 PyObject * _argo0 = 0;
4282 char *_kwnames[] = { "self","row","col", NULL };
4283
4284 self = self;
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4286 return NULL;
4287 if (_argo0) {
4288 if (_argo0 == Py_None) { _arg0 = NULL; }
4289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4291 return NULL;
4292 }
4293 }
4294 {
4295 wxPy_BEGIN_ALLOW_THREADS;
4296 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4297
4298 wxPy_END_ALLOW_THREADS;
4299 }{
4300 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4301 }
4302 {
4303 delete _result;
4304 }
4305 return _resultobj;
4306 }
4307
4308 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4309 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4310 PyObject * _resultobj;
4311 wxGridTableBase * _arg0;
4312 int _arg1;
4313 int _arg2;
4314 wxString * _arg3;
4315 PyObject * _argo0 = 0;
4316 PyObject * _obj3 = 0;
4317 char *_kwnames[] = { "self","row","col","value", NULL };
4318
4319 self = self;
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4321 return NULL;
4322 if (_argo0) {
4323 if (_argo0 == Py_None) { _arg0 = NULL; }
4324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4326 return NULL;
4327 }
4328 }
4329 {
4330 #if PYTHON_API_VERSION >= 1009
4331 char* tmpPtr; int tmpSize;
4332 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4333 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4334 return NULL;
4335 }
4336 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4337 return NULL;
4338 _arg3 = new wxString(tmpPtr, tmpSize);
4339 #else
4340 if (!PyString_Check(_obj3)) {
4341 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4342 return NULL;
4343 }
4344 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4345 #endif
4346 }
4347 {
4348 wxPy_BEGIN_ALLOW_THREADS;
4349 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4350
4351 wxPy_END_ALLOW_THREADS;
4352 } Py_INCREF(Py_None);
4353 _resultobj = Py_None;
4354 {
4355 if (_obj3)
4356 delete _arg3;
4357 }
4358 return _resultobj;
4359 }
4360
4361 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4362 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4363 PyObject * _resultobj;
4364 wxString * _result;
4365 wxGridTableBase * _arg0;
4366 int _arg1;
4367 int _arg2;
4368 PyObject * _argo0 = 0;
4369 char *_kwnames[] = { "self","row","col", NULL };
4370
4371 self = self;
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4373 return NULL;
4374 if (_argo0) {
4375 if (_argo0 == Py_None) { _arg0 = NULL; }
4376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4378 return NULL;
4379 }
4380 }
4381 {
4382 wxPy_BEGIN_ALLOW_THREADS;
4383 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4384
4385 wxPy_END_ALLOW_THREADS;
4386 }{
4387 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4388 }
4389 {
4390 delete _result;
4391 }
4392 return _resultobj;
4393 }
4394
4395 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4396 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4397 PyObject * _resultobj;
4398 bool _result;
4399 wxGridTableBase * _arg0;
4400 int _arg1;
4401 int _arg2;
4402 wxString * _arg3;
4403 PyObject * _argo0 = 0;
4404 PyObject * _obj3 = 0;
4405 char *_kwnames[] = { "self","row","col","typeName", NULL };
4406
4407 self = self;
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4409 return NULL;
4410 if (_argo0) {
4411 if (_argo0 == Py_None) { _arg0 = NULL; }
4412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4414 return NULL;
4415 }
4416 }
4417 {
4418 #if PYTHON_API_VERSION >= 1009
4419 char* tmpPtr; int tmpSize;
4420 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4421 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4422 return NULL;
4423 }
4424 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4425 return NULL;
4426 _arg3 = new wxString(tmpPtr, tmpSize);
4427 #else
4428 if (!PyString_Check(_obj3)) {
4429 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4430 return NULL;
4431 }
4432 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4433 #endif
4434 }
4435 {
4436 wxPy_BEGIN_ALLOW_THREADS;
4437 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4438
4439 wxPy_END_ALLOW_THREADS;
4440 } _resultobj = Py_BuildValue("i",_result);
4441 {
4442 if (_obj3)
4443 delete _arg3;
4444 }
4445 return _resultobj;
4446 }
4447
4448 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4449 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject * _resultobj;
4451 bool _result;
4452 wxGridTableBase * _arg0;
4453 int _arg1;
4454 int _arg2;
4455 wxString * _arg3;
4456 PyObject * _argo0 = 0;
4457 PyObject * _obj3 = 0;
4458 char *_kwnames[] = { "self","row","col","typeName", NULL };
4459
4460 self = self;
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
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_CanSetValueAs. Expected _wxGridTableBase_p.");
4467 return NULL;
4468 }
4469 }
4470 {
4471 #if PYTHON_API_VERSION >= 1009
4472 char* tmpPtr; int tmpSize;
4473 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4474 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4475 return NULL;
4476 }
4477 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4478 return NULL;
4479 _arg3 = new wxString(tmpPtr, tmpSize);
4480 #else
4481 if (!PyString_Check(_obj3)) {
4482 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4483 return NULL;
4484 }
4485 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4486 #endif
4487 }
4488 {
4489 wxPy_BEGIN_ALLOW_THREADS;
4490 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4491
4492 wxPy_END_ALLOW_THREADS;
4493 } _resultobj = Py_BuildValue("i",_result);
4494 {
4495 if (_obj3)
4496 delete _arg3;
4497 }
4498 return _resultobj;
4499 }
4500
4501 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4502 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject * _resultobj;
4504 long _result;
4505 wxGridTableBase * _arg0;
4506 int _arg1;
4507 int _arg2;
4508 PyObject * _argo0 = 0;
4509 char *_kwnames[] = { "self","row","col", NULL };
4510
4511 self = self;
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4513 return NULL;
4514 if (_argo0) {
4515 if (_argo0 == Py_None) { _arg0 = NULL; }
4516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4518 return NULL;
4519 }
4520 }
4521 {
4522 wxPy_BEGIN_ALLOW_THREADS;
4523 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4524
4525 wxPy_END_ALLOW_THREADS;
4526 } _resultobj = Py_BuildValue("l",_result);
4527 return _resultobj;
4528 }
4529
4530 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4531 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject * _resultobj;
4533 double _result;
4534 wxGridTableBase * _arg0;
4535 int _arg1;
4536 int _arg2;
4537 PyObject * _argo0 = 0;
4538 char *_kwnames[] = { "self","row","col", NULL };
4539
4540 self = self;
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4542 return NULL;
4543 if (_argo0) {
4544 if (_argo0 == Py_None) { _arg0 = NULL; }
4545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4547 return NULL;
4548 }
4549 }
4550 {
4551 wxPy_BEGIN_ALLOW_THREADS;
4552 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4553
4554 wxPy_END_ALLOW_THREADS;
4555 } _resultobj = Py_BuildValue("d",_result);
4556 return _resultobj;
4557 }
4558
4559 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4560 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4561 PyObject * _resultobj;
4562 bool _result;
4563 wxGridTableBase * _arg0;
4564 int _arg1;
4565 int _arg2;
4566 PyObject * _argo0 = 0;
4567 char *_kwnames[] = { "self","row","col", NULL };
4568
4569 self = self;
4570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4571 return NULL;
4572 if (_argo0) {
4573 if (_argo0 == Py_None) { _arg0 = NULL; }
4574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4576 return NULL;
4577 }
4578 }
4579 {
4580 wxPy_BEGIN_ALLOW_THREADS;
4581 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4582
4583 wxPy_END_ALLOW_THREADS;
4584 } _resultobj = Py_BuildValue("i",_result);
4585 return _resultobj;
4586 }
4587
4588 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4589 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4590 PyObject * _resultobj;
4591 wxGridTableBase * _arg0;
4592 int _arg1;
4593 int _arg2;
4594 long _arg3;
4595 PyObject * _argo0 = 0;
4596 char *_kwnames[] = { "self","row","col","value", NULL };
4597
4598 self = self;
4599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4600 return NULL;
4601 if (_argo0) {
4602 if (_argo0 == Py_None) { _arg0 = NULL; }
4603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4605 return NULL;
4606 }
4607 }
4608 {
4609 wxPy_BEGIN_ALLOW_THREADS;
4610 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4611
4612 wxPy_END_ALLOW_THREADS;
4613 } Py_INCREF(Py_None);
4614 _resultobj = Py_None;
4615 return _resultobj;
4616 }
4617
4618 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4619 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4620 PyObject * _resultobj;
4621 wxGridTableBase * _arg0;
4622 int _arg1;
4623 int _arg2;
4624 double _arg3;
4625 PyObject * _argo0 = 0;
4626 char *_kwnames[] = { "self","row","col","value", NULL };
4627
4628 self = self;
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4630 return NULL;
4631 if (_argo0) {
4632 if (_argo0 == Py_None) { _arg0 = NULL; }
4633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4635 return NULL;
4636 }
4637 }
4638 {
4639 wxPy_BEGIN_ALLOW_THREADS;
4640 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
4641
4642 wxPy_END_ALLOW_THREADS;
4643 } Py_INCREF(Py_None);
4644 _resultobj = Py_None;
4645 return _resultobj;
4646 }
4647
4648 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4649 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject * _resultobj;
4651 wxGridTableBase * _arg0;
4652 int _arg1;
4653 int _arg2;
4654 bool _arg3;
4655 PyObject * _argo0 = 0;
4656 int tempbool3;
4657 char *_kwnames[] = { "self","row","col","value", NULL };
4658
4659 self = self;
4660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4661 return NULL;
4662 if (_argo0) {
4663 if (_argo0 == Py_None) { _arg0 = NULL; }
4664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4666 return NULL;
4667 }
4668 }
4669 _arg3 = (bool ) tempbool3;
4670 {
4671 wxPy_BEGIN_ALLOW_THREADS;
4672 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
4673
4674 wxPy_END_ALLOW_THREADS;
4675 } Py_INCREF(Py_None);
4676 _resultobj = Py_None;
4677 return _resultobj;
4678 }
4679
4680 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4681 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject * _resultobj;
4683 wxGridTableBase * _arg0;
4684 PyObject * _argo0 = 0;
4685 char *_kwnames[] = { "self", NULL };
4686
4687 self = self;
4688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
4689 return NULL;
4690 if (_argo0) {
4691 if (_argo0 == Py_None) { _arg0 = NULL; }
4692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4694 return NULL;
4695 }
4696 }
4697 {
4698 wxPy_BEGIN_ALLOW_THREADS;
4699 wxGridTableBase_Clear(_arg0);
4700
4701 wxPy_END_ALLOW_THREADS;
4702 } Py_INCREF(Py_None);
4703 _resultobj = Py_None;
4704 return _resultobj;
4705 }
4706
4707 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4708 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject * _resultobj;
4710 bool _result;
4711 wxGridTableBase * _arg0;
4712 size_t _arg1 = (size_t ) 0;
4713 size_t _arg2 = (size_t ) 1;
4714 PyObject * _argo0 = 0;
4715 char *_kwnames[] = { "self","pos","numRows", NULL };
4716
4717 self = self;
4718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
4719 return NULL;
4720 if (_argo0) {
4721 if (_argo0 == Py_None) { _arg0 = NULL; }
4722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4724 return NULL;
4725 }
4726 }
4727 {
4728 wxPy_BEGIN_ALLOW_THREADS;
4729 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
4730
4731 wxPy_END_ALLOW_THREADS;
4732 } _resultobj = Py_BuildValue("i",_result);
4733 return _resultobj;
4734 }
4735
4736 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4737 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject * _resultobj;
4739 bool _result;
4740 wxGridTableBase * _arg0;
4741 size_t _arg1 = (size_t ) 1;
4742 PyObject * _argo0 = 0;
4743 char *_kwnames[] = { "self","numRows", NULL };
4744
4745 self = self;
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
4747 return NULL;
4748 if (_argo0) {
4749 if (_argo0 == Py_None) { _arg0 = NULL; }
4750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4752 return NULL;
4753 }
4754 }
4755 {
4756 wxPy_BEGIN_ALLOW_THREADS;
4757 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
4758
4759 wxPy_END_ALLOW_THREADS;
4760 } _resultobj = Py_BuildValue("i",_result);
4761 return _resultobj;
4762 }
4763
4764 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4765 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4766 PyObject * _resultobj;
4767 bool _result;
4768 wxGridTableBase * _arg0;
4769 size_t _arg1 = (size_t ) 0;
4770 size_t _arg2 = (size_t ) 1;
4771 PyObject * _argo0 = 0;
4772 char *_kwnames[] = { "self","pos","numRows", NULL };
4773
4774 self = self;
4775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
4776 return NULL;
4777 if (_argo0) {
4778 if (_argo0 == Py_None) { _arg0 = NULL; }
4779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4781 return NULL;
4782 }
4783 }
4784 {
4785 wxPy_BEGIN_ALLOW_THREADS;
4786 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
4787
4788 wxPy_END_ALLOW_THREADS;
4789 } _resultobj = Py_BuildValue("i",_result);
4790 return _resultobj;
4791 }
4792
4793 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4794 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4795 PyObject * _resultobj;
4796 bool _result;
4797 wxGridTableBase * _arg0;
4798 size_t _arg1 = (size_t ) 0;
4799 size_t _arg2 = (size_t ) 1;
4800 PyObject * _argo0 = 0;
4801 char *_kwnames[] = { "self","pos","numCols", NULL };
4802
4803 self = self;
4804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
4805 return NULL;
4806 if (_argo0) {
4807 if (_argo0 == Py_None) { _arg0 = NULL; }
4808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4810 return NULL;
4811 }
4812 }
4813 {
4814 wxPy_BEGIN_ALLOW_THREADS;
4815 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
4816
4817 wxPy_END_ALLOW_THREADS;
4818 } _resultobj = Py_BuildValue("i",_result);
4819 return _resultobj;
4820 }
4821
4822 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4823 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4824 PyObject * _resultobj;
4825 bool _result;
4826 wxGridTableBase * _arg0;
4827 size_t _arg1 = (size_t ) 1;
4828 PyObject * _argo0 = 0;
4829 char *_kwnames[] = { "self","numCols", NULL };
4830
4831 self = self;
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
4833 return NULL;
4834 if (_argo0) {
4835 if (_argo0 == Py_None) { _arg0 = NULL; }
4836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4838 return NULL;
4839 }
4840 }
4841 {
4842 wxPy_BEGIN_ALLOW_THREADS;
4843 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
4844
4845 wxPy_END_ALLOW_THREADS;
4846 } _resultobj = Py_BuildValue("i",_result);
4847 return _resultobj;
4848 }
4849
4850 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4851 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject * _resultobj;
4853 bool _result;
4854 wxGridTableBase * _arg0;
4855 size_t _arg1 = (size_t ) 0;
4856 size_t _arg2 = (size_t ) 1;
4857 PyObject * _argo0 = 0;
4858 char *_kwnames[] = { "self","pos","numCols", NULL };
4859
4860 self = self;
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
4862 return NULL;
4863 if (_argo0) {
4864 if (_argo0 == Py_None) { _arg0 = NULL; }
4865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4867 return NULL;
4868 }
4869 }
4870 {
4871 wxPy_BEGIN_ALLOW_THREADS;
4872 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
4873
4874 wxPy_END_ALLOW_THREADS;
4875 } _resultobj = Py_BuildValue("i",_result);
4876 return _resultobj;
4877 }
4878
4879 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4880 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject * _resultobj;
4882 wxString * _result;
4883 wxGridTableBase * _arg0;
4884 int _arg1;
4885 PyObject * _argo0 = 0;
4886 char *_kwnames[] = { "self","row", NULL };
4887
4888 self = self;
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
4890 return NULL;
4891 if (_argo0) {
4892 if (_argo0 == Py_None) { _arg0 = NULL; }
4893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4895 return NULL;
4896 }
4897 }
4898 {
4899 wxPy_BEGIN_ALLOW_THREADS;
4900 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
4901
4902 wxPy_END_ALLOW_THREADS;
4903 }{
4904 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4905 }
4906 {
4907 delete _result;
4908 }
4909 return _resultobj;
4910 }
4911
4912 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
4913 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4914 PyObject * _resultobj;
4915 wxString * _result;
4916 wxGridTableBase * _arg0;
4917 int _arg1;
4918 PyObject * _argo0 = 0;
4919 char *_kwnames[] = { "self","col", NULL };
4920
4921 self = self;
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
4923 return NULL;
4924 if (_argo0) {
4925 if (_argo0 == Py_None) { _arg0 = NULL; }
4926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
4928 return NULL;
4929 }
4930 }
4931 {
4932 wxPy_BEGIN_ALLOW_THREADS;
4933 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
4934
4935 wxPy_END_ALLOW_THREADS;
4936 }{
4937 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4938 }
4939 {
4940 delete _result;
4941 }
4942 return _resultobj;
4943 }
4944
4945 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
4946 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4947 PyObject * _resultobj;
4948 wxGridTableBase * _arg0;
4949 int _arg1;
4950 wxString * _arg2;
4951 PyObject * _argo0 = 0;
4952 PyObject * _obj2 = 0;
4953 char *_kwnames[] = { "self","row","value", NULL };
4954
4955 self = self;
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
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_SetRowLabelValue. Expected _wxGridTableBase_p.");
4962 return NULL;
4963 }
4964 }
4965 {
4966 #if PYTHON_API_VERSION >= 1009
4967 char* tmpPtr; int tmpSize;
4968 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4969 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4970 return NULL;
4971 }
4972 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4973 return NULL;
4974 _arg2 = new wxString(tmpPtr, tmpSize);
4975 #else
4976 if (!PyString_Check(_obj2)) {
4977 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4978 return NULL;
4979 }
4980 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4981 #endif
4982 }
4983 {
4984 wxPy_BEGIN_ALLOW_THREADS;
4985 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
4986
4987 wxPy_END_ALLOW_THREADS;
4988 } Py_INCREF(Py_None);
4989 _resultobj = Py_None;
4990 {
4991 if (_obj2)
4992 delete _arg2;
4993 }
4994 return _resultobj;
4995 }
4996
4997 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
4998 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject * _resultobj;
5000 wxGridTableBase * _arg0;
5001 int _arg1;
5002 wxString * _arg2;
5003 PyObject * _argo0 = 0;
5004 PyObject * _obj2 = 0;
5005 char *_kwnames[] = { "self","col","value", NULL };
5006
5007 self = self;
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5009 return NULL;
5010 if (_argo0) {
5011 if (_argo0 == Py_None) { _arg0 = NULL; }
5012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5014 return NULL;
5015 }
5016 }
5017 {
5018 #if PYTHON_API_VERSION >= 1009
5019 char* tmpPtr; int tmpSize;
5020 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5021 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5022 return NULL;
5023 }
5024 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5025 return NULL;
5026 _arg2 = new wxString(tmpPtr, tmpSize);
5027 #else
5028 if (!PyString_Check(_obj2)) {
5029 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5030 return NULL;
5031 }
5032 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5033 #endif
5034 }
5035 {
5036 wxPy_BEGIN_ALLOW_THREADS;
5037 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5038
5039 wxPy_END_ALLOW_THREADS;
5040 } Py_INCREF(Py_None);
5041 _resultobj = Py_None;
5042 {
5043 if (_obj2)
5044 delete _arg2;
5045 }
5046 return _resultobj;
5047 }
5048
5049 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5050 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5051 PyObject * _resultobj;
5052 bool _result;
5053 wxGridTableBase * _arg0;
5054 PyObject * _argo0 = 0;
5055 char *_kwnames[] = { "self", NULL };
5056
5057 self = self;
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5059 return NULL;
5060 if (_argo0) {
5061 if (_argo0 == Py_None) { _arg0 = NULL; }
5062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5064 return NULL;
5065 }
5066 }
5067 {
5068 wxPy_BEGIN_ALLOW_THREADS;
5069 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5070
5071 wxPy_END_ALLOW_THREADS;
5072 } _resultobj = Py_BuildValue("i",_result);
5073 return _resultobj;
5074 }
5075
5076 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
5077 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5078 PyObject * _resultobj;
5079 wxGridCellAttr * _result;
5080 wxGridTableBase * _arg0;
5081 int _arg1;
5082 int _arg2;
5083 PyObject * _argo0 = 0;
5084 char *_kwnames[] = { "self","row","col", NULL };
5085 char _ptemp[128];
5086
5087 self = self;
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
5089 return NULL;
5090 if (_argo0) {
5091 if (_argo0 == Py_None) { _arg0 = NULL; }
5092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5094 return NULL;
5095 }
5096 }
5097 {
5098 wxPy_BEGIN_ALLOW_THREADS;
5099 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2);
5100
5101 wxPy_END_ALLOW_THREADS;
5102 } if (_result) {
5103 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5104 _resultobj = Py_BuildValue("s",_ptemp);
5105 } else {
5106 Py_INCREF(Py_None);
5107 _resultobj = Py_None;
5108 }
5109 return _resultobj;
5110 }
5111
5112 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5113 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5114 PyObject * _resultobj;
5115 wxGridTableBase * _arg0;
5116 wxGridCellAttr * _arg1;
5117 int _arg2;
5118 int _arg3;
5119 PyObject * _argo0 = 0;
5120 PyObject * _argo1 = 0;
5121 char *_kwnames[] = { "self","attr","row","col", NULL };
5122
5123 self = self;
5124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5125 return NULL;
5126 if (_argo0) {
5127 if (_argo0 == Py_None) { _arg0 = NULL; }
5128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5130 return NULL;
5131 }
5132 }
5133 if (_argo1) {
5134 if (_argo1 == Py_None) { _arg1 = NULL; }
5135 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5136 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5137 return NULL;
5138 }
5139 }
5140 {
5141 wxPy_BEGIN_ALLOW_THREADS;
5142 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5143
5144 wxPy_END_ALLOW_THREADS;
5145 } Py_INCREF(Py_None);
5146 _resultobj = Py_None;
5147 return _resultobj;
5148 }
5149
5150 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5151 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5152 PyObject * _resultobj;
5153 wxGridTableBase * _arg0;
5154 wxGridCellAttr * _arg1;
5155 int _arg2;
5156 PyObject * _argo0 = 0;
5157 PyObject * _argo1 = 0;
5158 char *_kwnames[] = { "self","attr","row", NULL };
5159
5160 self = self;
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5162 return NULL;
5163 if (_argo0) {
5164 if (_argo0 == Py_None) { _arg0 = NULL; }
5165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5167 return NULL;
5168 }
5169 }
5170 if (_argo1) {
5171 if (_argo1 == Py_None) { _arg1 = NULL; }
5172 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5173 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5174 return NULL;
5175 }
5176 }
5177 {
5178 wxPy_BEGIN_ALLOW_THREADS;
5179 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5180
5181 wxPy_END_ALLOW_THREADS;
5182 } Py_INCREF(Py_None);
5183 _resultobj = Py_None;
5184 return _resultobj;
5185 }
5186
5187 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5188 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject * _resultobj;
5190 wxGridTableBase * _arg0;
5191 wxGridCellAttr * _arg1;
5192 int _arg2;
5193 PyObject * _argo0 = 0;
5194 PyObject * _argo1 = 0;
5195 char *_kwnames[] = { "self","attr","col", NULL };
5196
5197 self = self;
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5199 return NULL;
5200 if (_argo0) {
5201 if (_argo0 == Py_None) { _arg0 = NULL; }
5202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5204 return NULL;
5205 }
5206 }
5207 if (_argo1) {
5208 if (_argo1 == Py_None) { _arg1 = NULL; }
5209 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5210 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5211 return NULL;
5212 }
5213 }
5214 {
5215 wxPy_BEGIN_ALLOW_THREADS;
5216 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5217
5218 wxPy_END_ALLOW_THREADS;
5219 } Py_INCREF(Py_None);
5220 _resultobj = Py_None;
5221 return _resultobj;
5222 }
5223
5224 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5225 wxPyGridTableBase *src;
5226 wxGridTableBase *dest;
5227 src = (wxPyGridTableBase *) ptr;
5228 dest = (wxGridTableBase *) src;
5229 return (void *) dest;
5230 }
5231
5232 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5233 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5234 PyObject * _resultobj;
5235 wxPyGridTableBase * _result;
5236 char *_kwnames[] = { NULL };
5237 char _ptemp[128];
5238
5239 self = self;
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5241 return NULL;
5242 {
5243 wxPy_BEGIN_ALLOW_THREADS;
5244 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5245
5246 wxPy_END_ALLOW_THREADS;
5247 } if (_result) {
5248 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5249 _resultobj = Py_BuildValue("s",_ptemp);
5250 } else {
5251 Py_INCREF(Py_None);
5252 _resultobj = Py_None;
5253 }
5254 return _resultobj;
5255 }
5256
5257 #define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5258 static PyObject *_wrap_wxPyGridTableBase__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject * _resultobj;
5260 wxPyGridTableBase * _arg0;
5261 PyObject * _arg1;
5262 PyObject * _arg2;
5263 PyObject * _argo0 = 0;
5264 PyObject * _obj1 = 0;
5265 PyObject * _obj2 = 0;
5266 char *_kwnames[] = { "self","self","_class", NULL };
5267
5268 self = self;
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5270 return NULL;
5271 if (_argo0) {
5272 if (_argo0 == Py_None) { _arg0 = NULL; }
5273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5275 return NULL;
5276 }
5277 }
5278 {
5279 _arg1 = _obj1;
5280 }
5281 {
5282 _arg2 = _obj2;
5283 }
5284 {
5285 wxPy_BEGIN_ALLOW_THREADS;
5286 wxPyGridTableBase__setSelf(_arg0,_arg1,_arg2);
5287
5288 wxPy_END_ALLOW_THREADS;
5289 } Py_INCREF(Py_None);
5290 _resultobj = Py_None;
5291 return _resultobj;
5292 }
5293
5294 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5295 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5296 PyObject * _resultobj;
5297 wxPyGridTableBase * _arg0;
5298 PyObject * _argo0 = 0;
5299 char *_kwnames[] = { "self", NULL };
5300
5301 self = self;
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5303 return NULL;
5304 if (_argo0) {
5305 if (_argo0 == Py_None) { _arg0 = NULL; }
5306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5308 return NULL;
5309 }
5310 }
5311 {
5312 wxPy_BEGIN_ALLOW_THREADS;
5313 wxPyGridTableBase_Destroy(_arg0);
5314
5315 wxPy_END_ALLOW_THREADS;
5316 } Py_INCREF(Py_None);
5317 _resultobj = Py_None;
5318 return _resultobj;
5319 }
5320
5321 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5322 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5323 PyObject * _resultobj;
5324 wxString * _result;
5325 wxPyGridTableBase * _arg0;
5326 int _arg1;
5327 int _arg2;
5328 PyObject * _argo0 = 0;
5329 char *_kwnames[] = { "self","row","col", NULL };
5330
5331 self = self;
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5333 return NULL;
5334 if (_argo0) {
5335 if (_argo0 == Py_None) { _arg0 = NULL; }
5336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5338 return NULL;
5339 }
5340 }
5341 {
5342 wxPy_BEGIN_ALLOW_THREADS;
5343 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5344
5345 wxPy_END_ALLOW_THREADS;
5346 }{
5347 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5348 }
5349 {
5350 delete _result;
5351 }
5352 return _resultobj;
5353 }
5354
5355 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5356 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5357 PyObject * _resultobj;
5358 bool _result;
5359 wxPyGridTableBase * _arg0;
5360 int _arg1;
5361 int _arg2;
5362 wxString * _arg3;
5363 PyObject * _argo0 = 0;
5364 PyObject * _obj3 = 0;
5365 char *_kwnames[] = { "self","row","col","typeName", NULL };
5366
5367 self = self;
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5369 return NULL;
5370 if (_argo0) {
5371 if (_argo0 == Py_None) { _arg0 = NULL; }
5372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5374 return NULL;
5375 }
5376 }
5377 {
5378 #if PYTHON_API_VERSION >= 1009
5379 char* tmpPtr; int tmpSize;
5380 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5381 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5382 return NULL;
5383 }
5384 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5385 return NULL;
5386 _arg3 = new wxString(tmpPtr, tmpSize);
5387 #else
5388 if (!PyString_Check(_obj3)) {
5389 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5390 return NULL;
5391 }
5392 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5393 #endif
5394 }
5395 {
5396 wxPy_BEGIN_ALLOW_THREADS;
5397 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5398
5399 wxPy_END_ALLOW_THREADS;
5400 } _resultobj = Py_BuildValue("i",_result);
5401 {
5402 if (_obj3)
5403 delete _arg3;
5404 }
5405 return _resultobj;
5406 }
5407
5408 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5409 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5410 PyObject * _resultobj;
5411 bool _result;
5412 wxPyGridTableBase * _arg0;
5413 int _arg1;
5414 int _arg2;
5415 wxString * _arg3;
5416 PyObject * _argo0 = 0;
5417 PyObject * _obj3 = 0;
5418 char *_kwnames[] = { "self","row","col","typeName", NULL };
5419
5420 self = self;
5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5422 return NULL;
5423 if (_argo0) {
5424 if (_argo0 == Py_None) { _arg0 = NULL; }
5425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5427 return NULL;
5428 }
5429 }
5430 {
5431 #if PYTHON_API_VERSION >= 1009
5432 char* tmpPtr; int tmpSize;
5433 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5434 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5435 return NULL;
5436 }
5437 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5438 return NULL;
5439 _arg3 = new wxString(tmpPtr, tmpSize);
5440 #else
5441 if (!PyString_Check(_obj3)) {
5442 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5443 return NULL;
5444 }
5445 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5446 #endif
5447 }
5448 {
5449 wxPy_BEGIN_ALLOW_THREADS;
5450 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5451
5452 wxPy_END_ALLOW_THREADS;
5453 } _resultobj = Py_BuildValue("i",_result);
5454 {
5455 if (_obj3)
5456 delete _arg3;
5457 }
5458 return _resultobj;
5459 }
5460
5461 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5462 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5463 PyObject * _resultobj;
5464 wxPyGridTableBase * _arg0;
5465 PyObject * _argo0 = 0;
5466 char *_kwnames[] = { "self", NULL };
5467
5468 self = self;
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5470 return NULL;
5471 if (_argo0) {
5472 if (_argo0 == Py_None) { _arg0 = NULL; }
5473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5475 return NULL;
5476 }
5477 }
5478 {
5479 wxPy_BEGIN_ALLOW_THREADS;
5480 wxPyGridTableBase_base_Clear(_arg0);
5481
5482 wxPy_END_ALLOW_THREADS;
5483 } Py_INCREF(Py_None);
5484 _resultobj = Py_None;
5485 return _resultobj;
5486 }
5487
5488 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5489 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5490 PyObject * _resultobj;
5491 bool _result;
5492 wxPyGridTableBase * _arg0;
5493 size_t _arg1 = (size_t ) 0;
5494 size_t _arg2 = (size_t ) 1;
5495 PyObject * _argo0 = 0;
5496 char *_kwnames[] = { "self","pos","numRows", NULL };
5497
5498 self = self;
5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5500 return NULL;
5501 if (_argo0) {
5502 if (_argo0 == Py_None) { _arg0 = NULL; }
5503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5505 return NULL;
5506 }
5507 }
5508 {
5509 wxPy_BEGIN_ALLOW_THREADS;
5510 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5511
5512 wxPy_END_ALLOW_THREADS;
5513 } _resultobj = Py_BuildValue("i",_result);
5514 return _resultobj;
5515 }
5516
5517 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5518 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject * _resultobj;
5520 bool _result;
5521 wxPyGridTableBase * _arg0;
5522 size_t _arg1 = (size_t ) 1;
5523 PyObject * _argo0 = 0;
5524 char *_kwnames[] = { "self","numRows", NULL };
5525
5526 self = self;
5527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5528 return NULL;
5529 if (_argo0) {
5530 if (_argo0 == Py_None) { _arg0 = NULL; }
5531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5533 return NULL;
5534 }
5535 }
5536 {
5537 wxPy_BEGIN_ALLOW_THREADS;
5538 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5539
5540 wxPy_END_ALLOW_THREADS;
5541 } _resultobj = Py_BuildValue("i",_result);
5542 return _resultobj;
5543 }
5544
5545 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5546 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5547 PyObject * _resultobj;
5548 bool _result;
5549 wxPyGridTableBase * _arg0;
5550 size_t _arg1 = (size_t ) 0;
5551 size_t _arg2 = (size_t ) 1;
5552 PyObject * _argo0 = 0;
5553 char *_kwnames[] = { "self","pos","numRows", NULL };
5554
5555 self = self;
5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5557 return NULL;
5558 if (_argo0) {
5559 if (_argo0 == Py_None) { _arg0 = NULL; }
5560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5562 return NULL;
5563 }
5564 }
5565 {
5566 wxPy_BEGIN_ALLOW_THREADS;
5567 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5568
5569 wxPy_END_ALLOW_THREADS;
5570 } _resultobj = Py_BuildValue("i",_result);
5571 return _resultobj;
5572 }
5573
5574 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5575 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5576 PyObject * _resultobj;
5577 bool _result;
5578 wxPyGridTableBase * _arg0;
5579 size_t _arg1 = (size_t ) 0;
5580 size_t _arg2 = (size_t ) 1;
5581 PyObject * _argo0 = 0;
5582 char *_kwnames[] = { "self","pos","numCols", NULL };
5583
5584 self = self;
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5586 return NULL;
5587 if (_argo0) {
5588 if (_argo0 == Py_None) { _arg0 = NULL; }
5589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5591 return NULL;
5592 }
5593 }
5594 {
5595 wxPy_BEGIN_ALLOW_THREADS;
5596 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5597
5598 wxPy_END_ALLOW_THREADS;
5599 } _resultobj = Py_BuildValue("i",_result);
5600 return _resultobj;
5601 }
5602
5603 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5604 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5605 PyObject * _resultobj;
5606 bool _result;
5607 wxPyGridTableBase * _arg0;
5608 size_t _arg1 = (size_t ) 1;
5609 PyObject * _argo0 = 0;
5610 char *_kwnames[] = { "self","numCols", NULL };
5611
5612 self = self;
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
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_AppendCols. Expected _wxPyGridTableBase_p.");
5619 return NULL;
5620 }
5621 }
5622 {
5623 wxPy_BEGIN_ALLOW_THREADS;
5624 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5625
5626 wxPy_END_ALLOW_THREADS;
5627 } _resultobj = Py_BuildValue("i",_result);
5628 return _resultobj;
5629 }
5630
5631 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5632 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5633 PyObject * _resultobj;
5634 bool _result;
5635 wxPyGridTableBase * _arg0;
5636 size_t _arg1 = (size_t ) 0;
5637 size_t _arg2 = (size_t ) 1;
5638 PyObject * _argo0 = 0;
5639 char *_kwnames[] = { "self","pos","numCols", NULL };
5640
5641 self = self;
5642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5643 return NULL;
5644 if (_argo0) {
5645 if (_argo0 == Py_None) { _arg0 = NULL; }
5646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5648 return NULL;
5649 }
5650 }
5651 {
5652 wxPy_BEGIN_ALLOW_THREADS;
5653 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
5654
5655 wxPy_END_ALLOW_THREADS;
5656 } _resultobj = Py_BuildValue("i",_result);
5657 return _resultobj;
5658 }
5659
5660 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5661 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5662 PyObject * _resultobj;
5663 wxString * _result;
5664 wxPyGridTableBase * _arg0;
5665 int _arg1;
5666 PyObject * _argo0 = 0;
5667 char *_kwnames[] = { "self","row", NULL };
5668
5669 self = self;
5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5671 return NULL;
5672 if (_argo0) {
5673 if (_argo0 == Py_None) { _arg0 = NULL; }
5674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5676 return NULL;
5677 }
5678 }
5679 {
5680 wxPy_BEGIN_ALLOW_THREADS;
5681 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
5682
5683 wxPy_END_ALLOW_THREADS;
5684 }{
5685 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5686 }
5687 {
5688 delete _result;
5689 }
5690 return _resultobj;
5691 }
5692
5693 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5694 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5695 PyObject * _resultobj;
5696 wxString * _result;
5697 wxPyGridTableBase * _arg0;
5698 int _arg1;
5699 PyObject * _argo0 = 0;
5700 char *_kwnames[] = { "self","col", NULL };
5701
5702 self = self;
5703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5704 return NULL;
5705 if (_argo0) {
5706 if (_argo0 == Py_None) { _arg0 = NULL; }
5707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5709 return NULL;
5710 }
5711 }
5712 {
5713 wxPy_BEGIN_ALLOW_THREADS;
5714 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
5715
5716 wxPy_END_ALLOW_THREADS;
5717 }{
5718 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5719 }
5720 {
5721 delete _result;
5722 }
5723 return _resultobj;
5724 }
5725
5726 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5727 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5728 PyObject * _resultobj;
5729 wxPyGridTableBase * _arg0;
5730 int _arg1;
5731 wxString * _arg2;
5732 PyObject * _argo0 = 0;
5733 PyObject * _obj2 = 0;
5734 char *_kwnames[] = { "self","row","value", NULL };
5735
5736 self = self;
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5738 return NULL;
5739 if (_argo0) {
5740 if (_argo0 == Py_None) { _arg0 = NULL; }
5741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5743 return NULL;
5744 }
5745 }
5746 {
5747 #if PYTHON_API_VERSION >= 1009
5748 char* tmpPtr; int tmpSize;
5749 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5750 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5751 return NULL;
5752 }
5753 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5754 return NULL;
5755 _arg2 = new wxString(tmpPtr, tmpSize);
5756 #else
5757 if (!PyString_Check(_obj2)) {
5758 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5759 return NULL;
5760 }
5761 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5762 #endif
5763 }
5764 {
5765 wxPy_BEGIN_ALLOW_THREADS;
5766 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
5767
5768 wxPy_END_ALLOW_THREADS;
5769 } Py_INCREF(Py_None);
5770 _resultobj = Py_None;
5771 {
5772 if (_obj2)
5773 delete _arg2;
5774 }
5775 return _resultobj;
5776 }
5777
5778 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5779 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5780 PyObject * _resultobj;
5781 wxPyGridTableBase * _arg0;
5782 int _arg1;
5783 wxString * _arg2;
5784 PyObject * _argo0 = 0;
5785 PyObject * _obj2 = 0;
5786 char *_kwnames[] = { "self","col","value", NULL };
5787
5788 self = self;
5789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5790 return NULL;
5791 if (_argo0) {
5792 if (_argo0 == Py_None) { _arg0 = NULL; }
5793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5795 return NULL;
5796 }
5797 }
5798 {
5799 #if PYTHON_API_VERSION >= 1009
5800 char* tmpPtr; int tmpSize;
5801 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5802 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5803 return NULL;
5804 }
5805 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5806 return NULL;
5807 _arg2 = new wxString(tmpPtr, tmpSize);
5808 #else
5809 if (!PyString_Check(_obj2)) {
5810 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5811 return NULL;
5812 }
5813 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5814 #endif
5815 }
5816 {
5817 wxPy_BEGIN_ALLOW_THREADS;
5818 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
5819
5820 wxPy_END_ALLOW_THREADS;
5821 } Py_INCREF(Py_None);
5822 _resultobj = Py_None;
5823 {
5824 if (_obj2)
5825 delete _arg2;
5826 }
5827 return _resultobj;
5828 }
5829
5830 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5831 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject * _resultobj;
5833 bool _result;
5834 wxPyGridTableBase * _arg0;
5835 PyObject * _argo0 = 0;
5836 char *_kwnames[] = { "self", NULL };
5837
5838 self = self;
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
5840 return NULL;
5841 if (_argo0) {
5842 if (_argo0 == Py_None) { _arg0 = NULL; }
5843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5845 return NULL;
5846 }
5847 }
5848 {
5849 wxPy_BEGIN_ALLOW_THREADS;
5850 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
5851
5852 wxPy_END_ALLOW_THREADS;
5853 } _resultobj = Py_BuildValue("i",_result);
5854 return _resultobj;
5855 }
5856
5857 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
5858 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5859 PyObject * _resultobj;
5860 wxGridCellAttr * _result;
5861 wxPyGridTableBase * _arg0;
5862 int _arg1;
5863 int _arg2;
5864 PyObject * _argo0 = 0;
5865 char *_kwnames[] = { "self","row","col", NULL };
5866 char _ptemp[128];
5867
5868 self = self;
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
5870 return NULL;
5871 if (_argo0) {
5872 if (_argo0 == Py_None) { _arg0 = NULL; }
5873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5875 return NULL;
5876 }
5877 }
5878 {
5879 wxPy_BEGIN_ALLOW_THREADS;
5880 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2);
5881
5882 wxPy_END_ALLOW_THREADS;
5883 } if (_result) {
5884 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5885 _resultobj = Py_BuildValue("s",_ptemp);
5886 } else {
5887 Py_INCREF(Py_None);
5888 _resultobj = Py_None;
5889 }
5890 return _resultobj;
5891 }
5892
5893 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5894 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5895 PyObject * _resultobj;
5896 wxPyGridTableBase * _arg0;
5897 wxGridCellAttr * _arg1;
5898 int _arg2;
5899 int _arg3;
5900 PyObject * _argo0 = 0;
5901 PyObject * _argo1 = 0;
5902 char *_kwnames[] = { "self","attr","row","col", NULL };
5903
5904 self = self;
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5906 return NULL;
5907 if (_argo0) {
5908 if (_argo0 == Py_None) { _arg0 = NULL; }
5909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
5911 return NULL;
5912 }
5913 }
5914 if (_argo1) {
5915 if (_argo1 == Py_None) { _arg1 = NULL; }
5916 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5917 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
5918 return NULL;
5919 }
5920 }
5921 {
5922 wxPy_BEGIN_ALLOW_THREADS;
5923 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
5924
5925 wxPy_END_ALLOW_THREADS;
5926 } Py_INCREF(Py_None);
5927 _resultobj = Py_None;
5928 return _resultobj;
5929 }
5930
5931 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5932 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5933 PyObject * _resultobj;
5934 wxPyGridTableBase * _arg0;
5935 wxGridCellAttr * _arg1;
5936 int _arg2;
5937 PyObject * _argo0 = 0;
5938 PyObject * _argo1 = 0;
5939 char *_kwnames[] = { "self","attr","row", NULL };
5940
5941 self = self;
5942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5943 return NULL;
5944 if (_argo0) {
5945 if (_argo0 == Py_None) { _arg0 = NULL; }
5946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
5948 return NULL;
5949 }
5950 }
5951 if (_argo1) {
5952 if (_argo1 == Py_None) { _arg1 = NULL; }
5953 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5954 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5955 return NULL;
5956 }
5957 }
5958 {
5959 wxPy_BEGIN_ALLOW_THREADS;
5960 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
5961
5962 wxPy_END_ALLOW_THREADS;
5963 } Py_INCREF(Py_None);
5964 _resultobj = Py_None;
5965 return _resultobj;
5966 }
5967
5968 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5969 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5970 PyObject * _resultobj;
5971 wxPyGridTableBase * _arg0;
5972 wxGridCellAttr * _arg1;
5973 int _arg2;
5974 PyObject * _argo0 = 0;
5975 PyObject * _argo1 = 0;
5976 char *_kwnames[] = { "self","attr","col", NULL };
5977
5978 self = self;
5979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5980 return NULL;
5981 if (_argo0) {
5982 if (_argo0 == Py_None) { _arg0 = NULL; }
5983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
5985 return NULL;
5986 }
5987 }
5988 if (_argo1) {
5989 if (_argo1 == Py_None) { _arg1 = NULL; }
5990 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5991 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
5992 return NULL;
5993 }
5994 }
5995 {
5996 wxPy_BEGIN_ALLOW_THREADS;
5997 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
5998
5999 wxPy_END_ALLOW_THREADS;
6000 } Py_INCREF(Py_None);
6001 _resultobj = Py_None;
6002 return _resultobj;
6003 }
6004
6005 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6006 wxGridStringTable *src;
6007 wxGridTableBase *dest;
6008 src = (wxGridStringTable *) ptr;
6009 dest = (wxGridTableBase *) src;
6010 return (void *) dest;
6011 }
6012
6013 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6014 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6015 PyObject * _resultobj;
6016 wxGridStringTable * _result;
6017 int _arg0 = (int ) 0;
6018 int _arg1 = (int ) 0;
6019 char *_kwnames[] = { "numRows","numCols", NULL };
6020 char _ptemp[128];
6021
6022 self = self;
6023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6024 return NULL;
6025 {
6026 wxPy_BEGIN_ALLOW_THREADS;
6027 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6028
6029 wxPy_END_ALLOW_THREADS;
6030 } if (_result) {
6031 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6032 _resultobj = Py_BuildValue("s",_ptemp);
6033 } else {
6034 Py_INCREF(Py_None);
6035 _resultobj = Py_None;
6036 }
6037 return _resultobj;
6038 }
6039
6040 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6041 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6042 PyObject * _resultobj;
6043 wxGridTableMessage * _result;
6044 wxGridTableBase * _arg0;
6045 int _arg1;
6046 int _arg2 = (int ) -1;
6047 int _arg3 = (int ) -1;
6048 PyObject * _argo0 = 0;
6049 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6050 char _ptemp[128];
6051
6052 self = self;
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6054 return NULL;
6055 if (_argo0) {
6056 if (_argo0 == Py_None) { _arg0 = NULL; }
6057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6059 return NULL;
6060 }
6061 }
6062 {
6063 wxPy_BEGIN_ALLOW_THREADS;
6064 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6065
6066 wxPy_END_ALLOW_THREADS;
6067 } if (_result) {
6068 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6069 _resultobj = Py_BuildValue("s",_ptemp);
6070 } else {
6071 Py_INCREF(Py_None);
6072 _resultobj = Py_None;
6073 }
6074 return _resultobj;
6075 }
6076
6077 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6078 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6079 PyObject * _resultobj;
6080 wxGridTableMessage * _arg0;
6081 PyObject * _argo0 = 0;
6082 char *_kwnames[] = { "self", NULL };
6083
6084 self = self;
6085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6086 return NULL;
6087 if (_argo0) {
6088 if (_argo0 == Py_None) { _arg0 = NULL; }
6089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6091 return NULL;
6092 }
6093 }
6094 {
6095 wxPy_BEGIN_ALLOW_THREADS;
6096 delete_wxGridTableMessage(_arg0);
6097
6098 wxPy_END_ALLOW_THREADS;
6099 } Py_INCREF(Py_None);
6100 _resultobj = Py_None;
6101 return _resultobj;
6102 }
6103
6104 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6105 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject * _resultobj;
6107 wxGridTableMessage * _arg0;
6108 wxGridTableBase * _arg1;
6109 PyObject * _argo0 = 0;
6110 PyObject * _argo1 = 0;
6111 char *_kwnames[] = { "self","table", NULL };
6112
6113 self = self;
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6115 return NULL;
6116 if (_argo0) {
6117 if (_argo0 == Py_None) { _arg0 = NULL; }
6118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6120 return NULL;
6121 }
6122 }
6123 if (_argo1) {
6124 if (_argo1 == Py_None) { _arg1 = NULL; }
6125 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6126 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6127 return NULL;
6128 }
6129 }
6130 {
6131 wxPy_BEGIN_ALLOW_THREADS;
6132 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6133
6134 wxPy_END_ALLOW_THREADS;
6135 } Py_INCREF(Py_None);
6136 _resultobj = Py_None;
6137 return _resultobj;
6138 }
6139
6140 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6141 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6142 PyObject * _resultobj;
6143 wxGridTableBase * _result;
6144 wxGridTableMessage * _arg0;
6145 PyObject * _argo0 = 0;
6146 char *_kwnames[] = { "self", NULL };
6147 char _ptemp[128];
6148
6149 self = self;
6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6151 return NULL;
6152 if (_argo0) {
6153 if (_argo0 == Py_None) { _arg0 = NULL; }
6154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6156 return NULL;
6157 }
6158 }
6159 {
6160 wxPy_BEGIN_ALLOW_THREADS;
6161 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6162
6163 wxPy_END_ALLOW_THREADS;
6164 } if (_result) {
6165 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6166 _resultobj = Py_BuildValue("s",_ptemp);
6167 } else {
6168 Py_INCREF(Py_None);
6169 _resultobj = Py_None;
6170 }
6171 return _resultobj;
6172 }
6173
6174 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6175 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6176 PyObject * _resultobj;
6177 wxGridTableMessage * _arg0;
6178 int _arg1;
6179 PyObject * _argo0 = 0;
6180 char *_kwnames[] = { "self","id", NULL };
6181
6182 self = self;
6183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6184 return NULL;
6185 if (_argo0) {
6186 if (_argo0 == Py_None) { _arg0 = NULL; }
6187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6189 return NULL;
6190 }
6191 }
6192 {
6193 wxPy_BEGIN_ALLOW_THREADS;
6194 wxGridTableMessage_SetId(_arg0,_arg1);
6195
6196 wxPy_END_ALLOW_THREADS;
6197 } Py_INCREF(Py_None);
6198 _resultobj = Py_None;
6199 return _resultobj;
6200 }
6201
6202 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6203 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6204 PyObject * _resultobj;
6205 int _result;
6206 wxGridTableMessage * _arg0;
6207 PyObject * _argo0 = 0;
6208 char *_kwnames[] = { "self", NULL };
6209
6210 self = self;
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6212 return NULL;
6213 if (_argo0) {
6214 if (_argo0 == Py_None) { _arg0 = NULL; }
6215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6217 return NULL;
6218 }
6219 }
6220 {
6221 wxPy_BEGIN_ALLOW_THREADS;
6222 _result = (int )wxGridTableMessage_GetId(_arg0);
6223
6224 wxPy_END_ALLOW_THREADS;
6225 } _resultobj = Py_BuildValue("i",_result);
6226 return _resultobj;
6227 }
6228
6229 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6230 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6231 PyObject * _resultobj;
6232 wxGridTableMessage * _arg0;
6233 int _arg1;
6234 PyObject * _argo0 = 0;
6235 char *_kwnames[] = { "self","comInt1", NULL };
6236
6237 self = self;
6238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6239 return NULL;
6240 if (_argo0) {
6241 if (_argo0 == Py_None) { _arg0 = NULL; }
6242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6244 return NULL;
6245 }
6246 }
6247 {
6248 wxPy_BEGIN_ALLOW_THREADS;
6249 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6250
6251 wxPy_END_ALLOW_THREADS;
6252 } Py_INCREF(Py_None);
6253 _resultobj = Py_None;
6254 return _resultobj;
6255 }
6256
6257 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6258 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6259 PyObject * _resultobj;
6260 int _result;
6261 wxGridTableMessage * _arg0;
6262 PyObject * _argo0 = 0;
6263 char *_kwnames[] = { "self", NULL };
6264
6265 self = self;
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6267 return NULL;
6268 if (_argo0) {
6269 if (_argo0 == Py_None) { _arg0 = NULL; }
6270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6272 return NULL;
6273 }
6274 }
6275 {
6276 wxPy_BEGIN_ALLOW_THREADS;
6277 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6278
6279 wxPy_END_ALLOW_THREADS;
6280 } _resultobj = Py_BuildValue("i",_result);
6281 return _resultobj;
6282 }
6283
6284 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6285 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6286 PyObject * _resultobj;
6287 wxGridTableMessage * _arg0;
6288 int _arg1;
6289 PyObject * _argo0 = 0;
6290 char *_kwnames[] = { "self","comInt2", NULL };
6291
6292 self = self;
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6294 return NULL;
6295 if (_argo0) {
6296 if (_argo0 == Py_None) { _arg0 = NULL; }
6297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6299 return NULL;
6300 }
6301 }
6302 {
6303 wxPy_BEGIN_ALLOW_THREADS;
6304 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6305
6306 wxPy_END_ALLOW_THREADS;
6307 } Py_INCREF(Py_None);
6308 _resultobj = Py_None;
6309 return _resultobj;
6310 }
6311
6312 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6313 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6314 PyObject * _resultobj;
6315 int _result;
6316 wxGridTableMessage * _arg0;
6317 PyObject * _argo0 = 0;
6318 char *_kwnames[] = { "self", NULL };
6319
6320 self = self;
6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6322 return NULL;
6323 if (_argo0) {
6324 if (_argo0 == Py_None) { _arg0 = NULL; }
6325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6327 return NULL;
6328 }
6329 }
6330 {
6331 wxPy_BEGIN_ALLOW_THREADS;
6332 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6333
6334 wxPy_END_ALLOW_THREADS;
6335 } _resultobj = Py_BuildValue("i",_result);
6336 return _resultobj;
6337 }
6338
6339 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6340 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6341 PyObject * _resultobj;
6342 wxGridCellCoords * _result;
6343 int _arg0 = (int ) -1;
6344 int _arg1 = (int ) -1;
6345 char *_kwnames[] = { "r","c", NULL };
6346 char _ptemp[128];
6347
6348 self = self;
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6350 return NULL;
6351 {
6352 wxPy_BEGIN_ALLOW_THREADS;
6353 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6354
6355 wxPy_END_ALLOW_THREADS;
6356 } if (_result) {
6357 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6358 _resultobj = Py_BuildValue("s",_ptemp);
6359 } else {
6360 Py_INCREF(Py_None);
6361 _resultobj = Py_None;
6362 }
6363 return _resultobj;
6364 }
6365
6366 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6367 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject * _resultobj;
6369 wxGridCellCoords * _arg0;
6370 PyObject * _argo0 = 0;
6371 char *_kwnames[] = { "self", NULL };
6372
6373 self = self;
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6375 return NULL;
6376 if (_argo0) {
6377 if (_argo0 == Py_None) { _arg0 = NULL; }
6378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6380 return NULL;
6381 }
6382 }
6383 {
6384 wxPy_BEGIN_ALLOW_THREADS;
6385 delete_wxGridCellCoords(_arg0);
6386
6387 wxPy_END_ALLOW_THREADS;
6388 } Py_INCREF(Py_None);
6389 _resultobj = Py_None;
6390 return _resultobj;
6391 }
6392
6393 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6394 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6395 PyObject * _resultobj;
6396 int _result;
6397 wxGridCellCoords * _arg0;
6398 PyObject * _argo0 = 0;
6399 char *_kwnames[] = { "self", NULL };
6400
6401 self = self;
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6403 return NULL;
6404 if (_argo0) {
6405 if (_argo0 == Py_None) { _arg0 = NULL; }
6406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6408 return NULL;
6409 }
6410 }
6411 {
6412 wxPy_BEGIN_ALLOW_THREADS;
6413 _result = (int )wxGridCellCoords_GetRow(_arg0);
6414
6415 wxPy_END_ALLOW_THREADS;
6416 } _resultobj = Py_BuildValue("i",_result);
6417 return _resultobj;
6418 }
6419
6420 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6421 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6422 PyObject * _resultobj;
6423 wxGridCellCoords * _arg0;
6424 int _arg1;
6425 PyObject * _argo0 = 0;
6426 char *_kwnames[] = { "self","n", NULL };
6427
6428 self = self;
6429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6430 return NULL;
6431 if (_argo0) {
6432 if (_argo0 == Py_None) { _arg0 = NULL; }
6433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6435 return NULL;
6436 }
6437 }
6438 {
6439 wxPy_BEGIN_ALLOW_THREADS;
6440 wxGridCellCoords_SetRow(_arg0,_arg1);
6441
6442 wxPy_END_ALLOW_THREADS;
6443 } Py_INCREF(Py_None);
6444 _resultobj = Py_None;
6445 return _resultobj;
6446 }
6447
6448 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6449 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6450 PyObject * _resultobj;
6451 int _result;
6452 wxGridCellCoords * _arg0;
6453 PyObject * _argo0 = 0;
6454 char *_kwnames[] = { "self", NULL };
6455
6456 self = self;
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6458 return NULL;
6459 if (_argo0) {
6460 if (_argo0 == Py_None) { _arg0 = NULL; }
6461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6463 return NULL;
6464 }
6465 }
6466 {
6467 wxPy_BEGIN_ALLOW_THREADS;
6468 _result = (int )wxGridCellCoords_GetCol(_arg0);
6469
6470 wxPy_END_ALLOW_THREADS;
6471 } _resultobj = Py_BuildValue("i",_result);
6472 return _resultobj;
6473 }
6474
6475 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6476 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6477 PyObject * _resultobj;
6478 wxGridCellCoords * _arg0;
6479 int _arg1;
6480 PyObject * _argo0 = 0;
6481 char *_kwnames[] = { "self","n", NULL };
6482
6483 self = self;
6484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6485 return NULL;
6486 if (_argo0) {
6487 if (_argo0 == Py_None) { _arg0 = NULL; }
6488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6490 return NULL;
6491 }
6492 }
6493 {
6494 wxPy_BEGIN_ALLOW_THREADS;
6495 wxGridCellCoords_SetCol(_arg0,_arg1);
6496
6497 wxPy_END_ALLOW_THREADS;
6498 } Py_INCREF(Py_None);
6499 _resultobj = Py_None;
6500 return _resultobj;
6501 }
6502
6503 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6504 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6505 PyObject * _resultobj;
6506 wxGridCellCoords * _arg0;
6507 int _arg1;
6508 int _arg2;
6509 PyObject * _argo0 = 0;
6510 char *_kwnames[] = { "self","row","col", NULL };
6511
6512 self = self;
6513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6514 return NULL;
6515 if (_argo0) {
6516 if (_argo0 == Py_None) { _arg0 = NULL; }
6517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6519 return NULL;
6520 }
6521 }
6522 {
6523 wxPy_BEGIN_ALLOW_THREADS;
6524 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6525
6526 wxPy_END_ALLOW_THREADS;
6527 } Py_INCREF(Py_None);
6528 _resultobj = Py_None;
6529 return _resultobj;
6530 }
6531
6532 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6533 PyObject* tup = PyTuple_New(2);
6534 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6535 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6536 return tup;
6537 }
6538 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject * _resultobj;
6540 PyObject * _result;
6541 wxGridCellCoords * _arg0;
6542 PyObject * _argo0 = 0;
6543 char *_kwnames[] = { "self", NULL };
6544
6545 self = self;
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6547 return NULL;
6548 if (_argo0) {
6549 if (_argo0 == Py_None) { _arg0 = NULL; }
6550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6552 return NULL;
6553 }
6554 }
6555 {
6556 wxPy_BEGIN_ALLOW_THREADS;
6557 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6558
6559 wxPy_END_ALLOW_THREADS;
6560 }{
6561 _resultobj = _result;
6562 }
6563 return _resultobj;
6564 }
6565
6566 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6567 return *self != other;
6568 }
6569 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject * _resultobj;
6571 int _result;
6572 wxGridCellCoords * _arg0;
6573 wxGridCellCoords * _arg1;
6574 PyObject * _argo0 = 0;
6575 PyObject * _argo1 = 0;
6576 char *_kwnames[] = { "self","other", NULL };
6577
6578 self = self;
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6580 return NULL;
6581 if (_argo0) {
6582 if (_argo0 == Py_None) { _arg0 = NULL; }
6583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6585 return NULL;
6586 }
6587 }
6588 if (_argo1) {
6589 if (_argo1 == Py_None) { _arg1 = NULL; }
6590 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6591 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6592 return NULL;
6593 }
6594 }
6595 {
6596 wxPy_BEGIN_ALLOW_THREADS;
6597 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6598
6599 wxPy_END_ALLOW_THREADS;
6600 } _resultobj = Py_BuildValue("i",_result);
6601 return _resultobj;
6602 }
6603
6604 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6605 wxGrid *src;
6606 wxScrolledWindow *dest;
6607 src = (wxGrid *) ptr;
6608 dest = (wxScrolledWindow *) src;
6609 return (void *) dest;
6610 }
6611
6612 static void *SwigwxGridTowxPanel(void *ptr) {
6613 wxGrid *src;
6614 wxPanel *dest;
6615 src = (wxGrid *) ptr;
6616 dest = (wxPanel *) src;
6617 return (void *) dest;
6618 }
6619
6620 static void *SwigwxGridTowxWindow(void *ptr) {
6621 wxGrid *src;
6622 wxWindow *dest;
6623 src = (wxGrid *) ptr;
6624 dest = (wxWindow *) src;
6625 return (void *) dest;
6626 }
6627
6628 static void *SwigwxGridTowxEvtHandler(void *ptr) {
6629 wxGrid *src;
6630 wxEvtHandler *dest;
6631 src = (wxGrid *) ptr;
6632 dest = (wxEvtHandler *) src;
6633 return (void *) dest;
6634 }
6635
6636 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6637 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6638 PyObject * _resultobj;
6639 wxGrid * _result;
6640 wxWindow * _arg0;
6641 wxWindowID _arg1;
6642 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6643 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6644 long _arg4 = (long ) wxWANTS_CHARS;
6645 char * _arg5 = (char *) wxPanelNameStr;
6646 PyObject * _argo0 = 0;
6647 wxPoint temp;
6648 PyObject * _obj2 = 0;
6649 wxSize temp0;
6650 PyObject * _obj3 = 0;
6651 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6652 char _ptemp[128];
6653
6654 self = self;
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
6656 return NULL;
6657 if (_argo0) {
6658 if (_argo0 == Py_None) { _arg0 = NULL; }
6659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6661 return NULL;
6662 }
6663 }
6664 if (_obj2)
6665 {
6666 _arg2 = &temp;
6667 if (! wxPoint_helper(_obj2, &_arg2))
6668 return NULL;
6669 }
6670 if (_obj3)
6671 {
6672 _arg3 = &temp0;
6673 if (! wxSize_helper(_obj3, &_arg3))
6674 return NULL;
6675 }
6676 {
6677 wxPy_BEGIN_ALLOW_THREADS;
6678 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
6679
6680 wxPy_END_ALLOW_THREADS;
6681 } if (_result) {
6682 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
6683 _resultobj = Py_BuildValue("s",_ptemp);
6684 } else {
6685 Py_INCREF(Py_None);
6686 _resultobj = Py_None;
6687 }
6688 return _resultobj;
6689 }
6690
6691 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6692 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6693 PyObject * _resultobj;
6694 bool _result;
6695 wxGrid * _arg0;
6696 int _arg1;
6697 int _arg2;
6698 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6699 PyObject * _argo0 = 0;
6700 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
6701
6702 self = self;
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
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_CreateGrid. Expected _wxGrid_p.");
6709 return NULL;
6710 }
6711 }
6712 {
6713 wxPy_BEGIN_ALLOW_THREADS;
6714 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
6715
6716 wxPy_END_ALLOW_THREADS;
6717 } _resultobj = Py_BuildValue("i",_result);
6718 return _resultobj;
6719 }
6720
6721 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6722 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6723 PyObject * _resultobj;
6724 wxGrid * _arg0;
6725 WXGRIDSELECTIONMODES _arg1;
6726 PyObject * _argo0 = 0;
6727 char *_kwnames[] = { "self","selmode", NULL };
6728
6729 self = self;
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
6731 return NULL;
6732 if (_argo0) {
6733 if (_argo0 == Py_None) { _arg0 = NULL; }
6734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6736 return NULL;
6737 }
6738 }
6739 {
6740 wxPy_BEGIN_ALLOW_THREADS;
6741 wxGrid_SetSelectionMode(_arg0,_arg1);
6742
6743 wxPy_END_ALLOW_THREADS;
6744 } Py_INCREF(Py_None);
6745 _resultobj = Py_None;
6746 return _resultobj;
6747 }
6748
6749 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6750 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6751 PyObject * _resultobj;
6752 int _result;
6753 wxGrid * _arg0;
6754 PyObject * _argo0 = 0;
6755 char *_kwnames[] = { "self", NULL };
6756
6757 self = self;
6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
6759 return NULL;
6760 if (_argo0) {
6761 if (_argo0 == Py_None) { _arg0 = NULL; }
6762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6764 return NULL;
6765 }
6766 }
6767 {
6768 wxPy_BEGIN_ALLOW_THREADS;
6769 _result = (int )wxGrid_GetNumberRows(_arg0);
6770
6771 wxPy_END_ALLOW_THREADS;
6772 } _resultobj = Py_BuildValue("i",_result);
6773 return _resultobj;
6774 }
6775
6776 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6777 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6778 PyObject * _resultobj;
6779 int _result;
6780 wxGrid * _arg0;
6781 PyObject * _argo0 = 0;
6782 char *_kwnames[] = { "self", NULL };
6783
6784 self = self;
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
6786 return NULL;
6787 if (_argo0) {
6788 if (_argo0 == Py_None) { _arg0 = NULL; }
6789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6791 return NULL;
6792 }
6793 }
6794 {
6795 wxPy_BEGIN_ALLOW_THREADS;
6796 _result = (int )wxGrid_GetNumberCols(_arg0);
6797
6798 wxPy_END_ALLOW_THREADS;
6799 } _resultobj = Py_BuildValue("i",_result);
6800 return _resultobj;
6801 }
6802
6803 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6804 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject * _resultobj;
6806 bool _result;
6807 wxGrid * _arg0;
6808 wxGridTableMessage * _arg1;
6809 PyObject * _argo0 = 0;
6810 PyObject * _argo1 = 0;
6811 char *_kwnames[] = { "self","arg2", NULL };
6812
6813 self = self;
6814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
6815 return NULL;
6816 if (_argo0) {
6817 if (_argo0 == Py_None) { _arg0 = NULL; }
6818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6820 return NULL;
6821 }
6822 }
6823 if (_argo1) {
6824 if (_argo1 == Py_None) { _arg1 = NULL; }
6825 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
6826 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6827 return NULL;
6828 }
6829 }
6830 {
6831 wxPy_BEGIN_ALLOW_THREADS;
6832 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
6833
6834 wxPy_END_ALLOW_THREADS;
6835 } _resultobj = Py_BuildValue("i",_result);
6836 return _resultobj;
6837 }
6838
6839 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6840 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6841 PyObject * _resultobj;
6842 wxGridTableBase * _result;
6843 wxGrid * _arg0;
6844 PyObject * _argo0 = 0;
6845 char *_kwnames[] = { "self", NULL };
6846 char _ptemp[128];
6847
6848 self = self;
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
6850 return NULL;
6851 if (_argo0) {
6852 if (_argo0 == Py_None) { _arg0 = NULL; }
6853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6855 return NULL;
6856 }
6857 }
6858 {
6859 wxPy_BEGIN_ALLOW_THREADS;
6860 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
6861
6862 wxPy_END_ALLOW_THREADS;
6863 } if (_result) {
6864 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6865 _resultobj = Py_BuildValue("s",_ptemp);
6866 } else {
6867 Py_INCREF(Py_None);
6868 _resultobj = Py_None;
6869 }
6870 return _resultobj;
6871 }
6872
6873 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6874 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6875 PyObject * _resultobj;
6876 bool _result;
6877 wxGrid * _arg0;
6878 wxGridTableBase * _arg1;
6879 bool _arg2 = (bool ) FALSE;
6880 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6881 PyObject * _argo0 = 0;
6882 PyObject * _argo1 = 0;
6883 int tempbool2 = (int) FALSE;
6884 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
6885
6886 self = self;
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
6888 return NULL;
6889 if (_argo0) {
6890 if (_argo0 == Py_None) { _arg0 = NULL; }
6891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
6893 return NULL;
6894 }
6895 }
6896 if (_argo1) {
6897 if (_argo1 == Py_None) { _arg1 = NULL; }
6898 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6899 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
6900 return NULL;
6901 }
6902 }
6903 _arg2 = (bool ) tempbool2;
6904 {
6905 wxPy_BEGIN_ALLOW_THREADS;
6906 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
6907
6908 wxPy_END_ALLOW_THREADS;
6909 } _resultobj = Py_BuildValue("i",_result);
6910 return _resultobj;
6911 }
6912
6913 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
6914 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject * _resultobj;
6916 wxGrid * _arg0;
6917 PyObject * _argo0 = 0;
6918 char *_kwnames[] = { "self", NULL };
6919
6920 self = self;
6921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
6922 return NULL;
6923 if (_argo0) {
6924 if (_argo0 == Py_None) { _arg0 = NULL; }
6925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
6927 return NULL;
6928 }
6929 }
6930 {
6931 wxPy_BEGIN_ALLOW_THREADS;
6932 wxGrid_ClearGrid(_arg0);
6933
6934 wxPy_END_ALLOW_THREADS;
6935 } Py_INCREF(Py_None);
6936 _resultobj = Py_None;
6937 return _resultobj;
6938 }
6939
6940 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
6941 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6942 PyObject * _resultobj;
6943 bool _result;
6944 wxGrid * _arg0;
6945 int _arg1 = (int ) 0;
6946 int _arg2 = (int ) 1;
6947 bool _arg3 = (bool ) TRUE;
6948 PyObject * _argo0 = 0;
6949 int tempbool3 = (int) TRUE;
6950 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
6951
6952 self = self;
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6954 return NULL;
6955 if (_argo0) {
6956 if (_argo0 == Py_None) { _arg0 = NULL; }
6957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
6959 return NULL;
6960 }
6961 }
6962 _arg3 = (bool ) tempbool3;
6963 {
6964 wxPy_BEGIN_ALLOW_THREADS;
6965 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
6966
6967 wxPy_END_ALLOW_THREADS;
6968 } _resultobj = Py_BuildValue("i",_result);
6969 return _resultobj;
6970 }
6971
6972 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
6973 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6974 PyObject * _resultobj;
6975 bool _result;
6976 wxGrid * _arg0;
6977 int _arg1 = (int ) 1;
6978 bool _arg2 = (bool ) TRUE;
6979 PyObject * _argo0 = 0;
6980 int tempbool2 = (int) TRUE;
6981 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
6982
6983 self = self;
6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
6985 return NULL;
6986 if (_argo0) {
6987 if (_argo0 == Py_None) { _arg0 = NULL; }
6988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
6990 return NULL;
6991 }
6992 }
6993 _arg2 = (bool ) tempbool2;
6994 {
6995 wxPy_BEGIN_ALLOW_THREADS;
6996 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
6997
6998 wxPy_END_ALLOW_THREADS;
6999 } _resultobj = Py_BuildValue("i",_result);
7000 return _resultobj;
7001 }
7002
7003 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7004 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7005 PyObject * _resultobj;
7006 bool _result;
7007 wxGrid * _arg0;
7008 int _arg1 = (int ) 0;
7009 int _arg2 = (int ) 1;
7010 bool _arg3 = (bool ) TRUE;
7011 PyObject * _argo0 = 0;
7012 int tempbool3 = (int) TRUE;
7013 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7014
7015 self = self;
7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7017 return NULL;
7018 if (_argo0) {
7019 if (_argo0 == Py_None) { _arg0 = NULL; }
7020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7022 return NULL;
7023 }
7024 }
7025 _arg3 = (bool ) tempbool3;
7026 {
7027 wxPy_BEGIN_ALLOW_THREADS;
7028 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7029
7030 wxPy_END_ALLOW_THREADS;
7031 } _resultobj = Py_BuildValue("i",_result);
7032 return _resultobj;
7033 }
7034
7035 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7036 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7037 PyObject * _resultobj;
7038 bool _result;
7039 wxGrid * _arg0;
7040 int _arg1 = (int ) 0;
7041 int _arg2 = (int ) 1;
7042 bool _arg3 = (bool ) TRUE;
7043 PyObject * _argo0 = 0;
7044 int tempbool3 = (int) TRUE;
7045 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7046
7047 self = self;
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7049 return NULL;
7050 if (_argo0) {
7051 if (_argo0 == Py_None) { _arg0 = NULL; }
7052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7054 return NULL;
7055 }
7056 }
7057 _arg3 = (bool ) tempbool3;
7058 {
7059 wxPy_BEGIN_ALLOW_THREADS;
7060 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7061
7062 wxPy_END_ALLOW_THREADS;
7063 } _resultobj = Py_BuildValue("i",_result);
7064 return _resultobj;
7065 }
7066
7067 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7068 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7069 PyObject * _resultobj;
7070 bool _result;
7071 wxGrid * _arg0;
7072 int _arg1 = (int ) 1;
7073 bool _arg2 = (bool ) TRUE;
7074 PyObject * _argo0 = 0;
7075 int tempbool2 = (int) TRUE;
7076 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7077
7078 self = self;
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7080 return NULL;
7081 if (_argo0) {
7082 if (_argo0 == Py_None) { _arg0 = NULL; }
7083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7085 return NULL;
7086 }
7087 }
7088 _arg2 = (bool ) tempbool2;
7089 {
7090 wxPy_BEGIN_ALLOW_THREADS;
7091 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7092
7093 wxPy_END_ALLOW_THREADS;
7094 } _resultobj = Py_BuildValue("i",_result);
7095 return _resultobj;
7096 }
7097
7098 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7099 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7100 PyObject * _resultobj;
7101 bool _result;
7102 wxGrid * _arg0;
7103 int _arg1 = (int ) 0;
7104 int _arg2 = (int ) 1;
7105 bool _arg3 = (bool ) TRUE;
7106 PyObject * _argo0 = 0;
7107 int tempbool3 = (int) TRUE;
7108 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7109
7110 self = self;
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7112 return NULL;
7113 if (_argo0) {
7114 if (_argo0 == Py_None) { _arg0 = NULL; }
7115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7117 return NULL;
7118 }
7119 }
7120 _arg3 = (bool ) tempbool3;
7121 {
7122 wxPy_BEGIN_ALLOW_THREADS;
7123 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7124
7125 wxPy_END_ALLOW_THREADS;
7126 } _resultobj = Py_BuildValue("i",_result);
7127 return _resultobj;
7128 }
7129
7130 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7131 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7132 PyObject * _resultobj;
7133 wxGrid * _arg0;
7134 wxDC * _arg1;
7135 wxGridCellAttr * _arg2;
7136 PyObject * _argo0 = 0;
7137 PyObject * _argo1 = 0;
7138 PyObject * _argo2 = 0;
7139 char *_kwnames[] = { "self","dc","attr", NULL };
7140
7141 self = self;
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7143 return NULL;
7144 if (_argo0) {
7145 if (_argo0 == Py_None) { _arg0 = NULL; }
7146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7148 return NULL;
7149 }
7150 }
7151 if (_argo1) {
7152 if (_argo1 == Py_None) { _arg1 = NULL; }
7153 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7154 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7155 return NULL;
7156 }
7157 }
7158 if (_argo2) {
7159 if (_argo2 == Py_None) { _arg2 = NULL; }
7160 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7161 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7162 return NULL;
7163 }
7164 }
7165 {
7166 wxPy_BEGIN_ALLOW_THREADS;
7167 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7168
7169 wxPy_END_ALLOW_THREADS;
7170 } Py_INCREF(Py_None);
7171 _resultobj = Py_None;
7172 return _resultobj;
7173 }
7174
7175 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7176 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7177 PyObject * _resultobj;
7178 wxGrid * _arg0;
7179 wxDC * _arg1;
7180 wxString * _arg2;
7181 wxRect * _arg3;
7182 int _arg4 = (int ) wxLEFT;
7183 int _arg5 = (int ) wxTOP;
7184 PyObject * _argo0 = 0;
7185 PyObject * _argo1 = 0;
7186 PyObject * _obj2 = 0;
7187 wxRect temp;
7188 PyObject * _obj3 = 0;
7189 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7190
7191 self = self;
7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7193 return NULL;
7194 if (_argo0) {
7195 if (_argo0 == Py_None) { _arg0 = NULL; }
7196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7198 return NULL;
7199 }
7200 }
7201 if (_argo1) {
7202 if (_argo1 == Py_None) { _arg1 = NULL; }
7203 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7204 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7205 return NULL;
7206 }
7207 }
7208 {
7209 #if PYTHON_API_VERSION >= 1009
7210 char* tmpPtr; int tmpSize;
7211 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7212 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
7213 return NULL;
7214 }
7215 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7216 return NULL;
7217 _arg2 = new wxString(tmpPtr, tmpSize);
7218 #else
7219 if (!PyString_Check(_obj2)) {
7220 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7221 return NULL;
7222 }
7223 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7224 #endif
7225 }
7226 {
7227 _arg3 = &temp;
7228 if (! wxRect_helper(_obj3, &_arg3))
7229 return NULL;
7230 }
7231 {
7232 wxPy_BEGIN_ALLOW_THREADS;
7233 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7234
7235 wxPy_END_ALLOW_THREADS;
7236 } Py_INCREF(Py_None);
7237 _resultobj = Py_None;
7238 {
7239 if (_obj2)
7240 delete _arg2;
7241 }
7242 return _resultobj;
7243 }
7244
7245 #define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7246 static PyObject *_wrap_wxGrid_StringToLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7247 PyObject * _resultobj;
7248 wxGrid * _arg0;
7249 wxString * _arg1;
7250 wxArrayString * _arg2;
7251 PyObject * _argo0 = 0;
7252 PyObject * _obj1 = 0;
7253 PyObject * _argo2 = 0;
7254 char *_kwnames[] = { "self","value","lines", NULL };
7255
7256 self = self;
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_StringToLines",_kwnames,&_argo0,&_obj1,&_argo2))
7258 return NULL;
7259 if (_argo0) {
7260 if (_argo0 == Py_None) { _arg0 = NULL; }
7261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7263 return NULL;
7264 }
7265 }
7266 {
7267 #if PYTHON_API_VERSION >= 1009
7268 char* tmpPtr; int tmpSize;
7269 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7270 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
7271 return NULL;
7272 }
7273 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7274 return NULL;
7275 _arg1 = new wxString(tmpPtr, tmpSize);
7276 #else
7277 if (!PyString_Check(_obj1)) {
7278 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7279 return NULL;
7280 }
7281 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7282 #endif
7283 }
7284 if (_argo2) {
7285 if (_argo2 == Py_None) { _arg2 = NULL; }
7286 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7287 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7288 return NULL;
7289 }
7290 }
7291 {
7292 wxPy_BEGIN_ALLOW_THREADS;
7293 wxGrid_StringToLines(_arg0,*_arg1,*_arg2);
7294
7295 wxPy_END_ALLOW_THREADS;
7296 } Py_INCREF(Py_None);
7297 _resultobj = Py_None;
7298 {
7299 if (_obj1)
7300 delete _arg1;
7301 }
7302 return _resultobj;
7303 }
7304
7305 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7306 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7307 PyObject * _resultobj;
7308 wxGrid * _arg0;
7309 wxDC * _arg1;
7310 wxArrayString * _arg2;
7311 long * _arg3;
7312 long temp;
7313 long * _arg4;
7314 long temp0;
7315 PyObject * _argo0 = 0;
7316 PyObject * _argo1 = 0;
7317 PyObject * _argo2 = 0;
7318 char *_kwnames[] = { "self","dc","lines", NULL };
7319
7320 self = self;
7321 {
7322 _arg3 = &temp;
7323 }
7324 {
7325 _arg4 = &temp0;
7326 }
7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_argo2))
7328 return NULL;
7329 if (_argo0) {
7330 if (_argo0 == Py_None) { _arg0 = NULL; }
7331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7333 return NULL;
7334 }
7335 }
7336 if (_argo1) {
7337 if (_argo1 == Py_None) { _arg1 = NULL; }
7338 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7339 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7340 return NULL;
7341 }
7342 }
7343 if (_argo2) {
7344 if (_argo2 == Py_None) { _arg2 = NULL; }
7345 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7346 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7347 return NULL;
7348 }
7349 }
7350 {
7351 wxPy_BEGIN_ALLOW_THREADS;
7352 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7353
7354 wxPy_END_ALLOW_THREADS;
7355 } Py_INCREF(Py_None);
7356 _resultobj = Py_None;
7357 {
7358 PyObject *o;
7359 o = PyInt_FromLong((long) (*_arg3));
7360 _resultobj = t_output_helper(_resultobj, o);
7361 }
7362 {
7363 PyObject *o;
7364 o = PyInt_FromLong((long) (*_arg4));
7365 _resultobj = t_output_helper(_resultobj, o);
7366 }
7367 return _resultobj;
7368 }
7369
7370 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7371 static PyObject *_wrap_wxGrid_BeginBatch(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_BeginBatch",_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_BeginBatch. Expected _wxGrid_p.");
7384 return NULL;
7385 }
7386 }
7387 {
7388 wxPy_BEGIN_ALLOW_THREADS;
7389 wxGrid_BeginBatch(_arg0);
7390
7391 wxPy_END_ALLOW_THREADS;
7392 } Py_INCREF(Py_None);
7393 _resultobj = Py_None;
7394 return _resultobj;
7395 }
7396
7397 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7398 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7399 PyObject * _resultobj;
7400 wxGrid * _arg0;
7401 PyObject * _argo0 = 0;
7402 char *_kwnames[] = { "self", NULL };
7403
7404 self = self;
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7406 return NULL;
7407 if (_argo0) {
7408 if (_argo0 == Py_None) { _arg0 = NULL; }
7409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7411 return NULL;
7412 }
7413 }
7414 {
7415 wxPy_BEGIN_ALLOW_THREADS;
7416 wxGrid_EndBatch(_arg0);
7417
7418 wxPy_END_ALLOW_THREADS;
7419 } Py_INCREF(Py_None);
7420 _resultobj = Py_None;
7421 return _resultobj;
7422 }
7423
7424 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7425 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject * _resultobj;
7427 int _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_GetBatchCount",_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_GetBatchCount. Expected _wxGrid_p.");
7439 return NULL;
7440 }
7441 }
7442 {
7443 wxPy_BEGIN_ALLOW_THREADS;
7444 _result = (int )wxGrid_GetBatchCount(_arg0);
7445
7446 wxPy_END_ALLOW_THREADS;
7447 } _resultobj = Py_BuildValue("i",_result);
7448 return _resultobj;
7449 }
7450
7451 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7452 static PyObject *_wrap_wxGrid_IsEditable(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_IsEditable",_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_IsEditable. Expected _wxGrid_p.");
7466 return NULL;
7467 }
7468 }
7469 {
7470 wxPy_BEGIN_ALLOW_THREADS;
7471 _result = (bool )wxGrid_IsEditable(_arg0);
7472
7473 wxPy_END_ALLOW_THREADS;
7474 } _resultobj = Py_BuildValue("i",_result);
7475 return _resultobj;
7476 }
7477
7478 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7479 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7480 PyObject * _resultobj;
7481 wxGrid * _arg0;
7482 bool _arg1;
7483 PyObject * _argo0 = 0;
7484 int tempbool1;
7485 char *_kwnames[] = { "self","edit", NULL };
7486
7487 self = self;
7488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7489 return NULL;
7490 if (_argo0) {
7491 if (_argo0 == Py_None) { _arg0 = NULL; }
7492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7494 return NULL;
7495 }
7496 }
7497 _arg1 = (bool ) tempbool1;
7498 {
7499 wxPy_BEGIN_ALLOW_THREADS;
7500 wxGrid_EnableEditing(_arg0,_arg1);
7501
7502 wxPy_END_ALLOW_THREADS;
7503 } Py_INCREF(Py_None);
7504 _resultobj = Py_None;
7505 return _resultobj;
7506 }
7507
7508 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7509 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7510 PyObject * _resultobj;
7511 wxGrid * _arg0;
7512 bool _arg1 = (bool ) TRUE;
7513 PyObject * _argo0 = 0;
7514 int tempbool1 = (int) TRUE;
7515 char *_kwnames[] = { "self","enable", NULL };
7516
7517 self = self;
7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7519 return NULL;
7520 if (_argo0) {
7521 if (_argo0 == Py_None) { _arg0 = NULL; }
7522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7524 return NULL;
7525 }
7526 }
7527 _arg1 = (bool ) tempbool1;
7528 {
7529 wxPy_BEGIN_ALLOW_THREADS;
7530 wxGrid_EnableCellEditControl(_arg0,_arg1);
7531
7532 wxPy_END_ALLOW_THREADS;
7533 } Py_INCREF(Py_None);
7534 _resultobj = Py_None;
7535 return _resultobj;
7536 }
7537
7538 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7539 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7540 PyObject * _resultobj;
7541 wxGrid * _arg0;
7542 PyObject * _argo0 = 0;
7543 char *_kwnames[] = { "self", NULL };
7544
7545 self = self;
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7547 return NULL;
7548 if (_argo0) {
7549 if (_argo0 == Py_None) { _arg0 = NULL; }
7550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7552 return NULL;
7553 }
7554 }
7555 {
7556 wxPy_BEGIN_ALLOW_THREADS;
7557 wxGrid_DisableCellEditControl(_arg0);
7558
7559 wxPy_END_ALLOW_THREADS;
7560 } Py_INCREF(Py_None);
7561 _resultobj = Py_None;
7562 return _resultobj;
7563 }
7564
7565 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7566 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject * _resultobj;
7568 bool _result;
7569 wxGrid * _arg0;
7570 PyObject * _argo0 = 0;
7571 char *_kwnames[] = { "self", NULL };
7572
7573 self = self;
7574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7575 return NULL;
7576 if (_argo0) {
7577 if (_argo0 == Py_None) { _arg0 = NULL; }
7578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7580 return NULL;
7581 }
7582 }
7583 {
7584 wxPy_BEGIN_ALLOW_THREADS;
7585 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7586
7587 wxPy_END_ALLOW_THREADS;
7588 } _resultobj = Py_BuildValue("i",_result);
7589 return _resultobj;
7590 }
7591
7592 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7593 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7594 PyObject * _resultobj;
7595 bool _result;
7596 wxGrid * _arg0;
7597 PyObject * _argo0 = 0;
7598 char *_kwnames[] = { "self", NULL };
7599
7600 self = self;
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7602 return NULL;
7603 if (_argo0) {
7604 if (_argo0 == Py_None) { _arg0 = NULL; }
7605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7607 return NULL;
7608 }
7609 }
7610 {
7611 wxPy_BEGIN_ALLOW_THREADS;
7612 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7613
7614 wxPy_END_ALLOW_THREADS;
7615 } _resultobj = Py_BuildValue("i",_result);
7616 return _resultobj;
7617 }
7618
7619 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7620 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
7621 PyObject * _resultobj;
7622 bool _result;
7623 wxGrid * _arg0;
7624 PyObject * _argo0 = 0;
7625 char *_kwnames[] = { "self", NULL };
7626
7627 self = self;
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
7629 return NULL;
7630 if (_argo0) {
7631 if (_argo0 == Py_None) { _arg0 = NULL; }
7632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7634 return NULL;
7635 }
7636 }
7637 {
7638 wxPy_BEGIN_ALLOW_THREADS;
7639 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
7640
7641 wxPy_END_ALLOW_THREADS;
7642 } _resultobj = Py_BuildValue("i",_result);
7643 return _resultobj;
7644 }
7645
7646 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7647 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
7648 PyObject * _resultobj;
7649 bool _result;
7650 wxGrid * _arg0;
7651 PyObject * _argo0 = 0;
7652 char *_kwnames[] = { "self", NULL };
7653
7654 self = self;
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
7656 return NULL;
7657 if (_argo0) {
7658 if (_argo0 == Py_None) { _arg0 = NULL; }
7659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7661 return NULL;
7662 }
7663 }
7664 {
7665 wxPy_BEGIN_ALLOW_THREADS;
7666 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
7667
7668 wxPy_END_ALLOW_THREADS;
7669 } _resultobj = Py_BuildValue("i",_result);
7670 return _resultobj;
7671 }
7672
7673 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7674 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7675 PyObject * _resultobj;
7676 wxGrid * _arg0;
7677 PyObject * _argo0 = 0;
7678 char *_kwnames[] = { "self", NULL };
7679
7680 self = self;
7681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
7682 return NULL;
7683 if (_argo0) {
7684 if (_argo0 == Py_None) { _arg0 = NULL; }
7685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7687 return NULL;
7688 }
7689 }
7690 {
7691 wxPy_BEGIN_ALLOW_THREADS;
7692 wxGrid_ShowCellEditControl(_arg0);
7693
7694 wxPy_END_ALLOW_THREADS;
7695 } Py_INCREF(Py_None);
7696 _resultobj = Py_None;
7697 return _resultobj;
7698 }
7699
7700 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7701 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7702 PyObject * _resultobj;
7703 wxGrid * _arg0;
7704 PyObject * _argo0 = 0;
7705 char *_kwnames[] = { "self", NULL };
7706
7707 self = self;
7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
7709 return NULL;
7710 if (_argo0) {
7711 if (_argo0 == Py_None) { _arg0 = NULL; }
7712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7714 return NULL;
7715 }
7716 }
7717 {
7718 wxPy_BEGIN_ALLOW_THREADS;
7719 wxGrid_HideCellEditControl(_arg0);
7720
7721 wxPy_END_ALLOW_THREADS;
7722 } Py_INCREF(Py_None);
7723 _resultobj = Py_None;
7724 return _resultobj;
7725 }
7726
7727 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7728 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7729 PyObject * _resultobj;
7730 wxGrid * _arg0;
7731 PyObject * _argo0 = 0;
7732 char *_kwnames[] = { "self", NULL };
7733
7734 self = self;
7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
7736 return NULL;
7737 if (_argo0) {
7738 if (_argo0 == Py_None) { _arg0 = NULL; }
7739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7741 return NULL;
7742 }
7743 }
7744 {
7745 wxPy_BEGIN_ALLOW_THREADS;
7746 wxGrid_SaveEditControlValue(_arg0);
7747
7748 wxPy_END_ALLOW_THREADS;
7749 } Py_INCREF(Py_None);
7750 _resultobj = Py_None;
7751 return _resultobj;
7752 }
7753
7754 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
7755 wxGridCellCoords rv;
7756 self->XYToCell(x, y, rv);
7757 return new wxGridCellCoords(rv);
7758 }
7759 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
7760 PyObject * _resultobj;
7761 wxGridCellCoords * _result;
7762 wxGrid * _arg0;
7763 int _arg1;
7764 int _arg2;
7765 PyObject * _argo0 = 0;
7766 char *_kwnames[] = { "self","x","y", NULL };
7767 char _ptemp[128];
7768
7769 self = self;
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
7771 return NULL;
7772 if (_argo0) {
7773 if (_argo0 == Py_None) { _arg0 = NULL; }
7774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7776 return NULL;
7777 }
7778 }
7779 {
7780 wxPy_BEGIN_ALLOW_THREADS;
7781 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
7782
7783 wxPy_END_ALLOW_THREADS;
7784 } if (_result) {
7785 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7786 _resultobj = Py_BuildValue("s",_ptemp);
7787 } else {
7788 Py_INCREF(Py_None);
7789 _resultobj = Py_None;
7790 }
7791 return _resultobj;
7792 }
7793
7794 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7795 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7796 PyObject * _resultobj;
7797 int _result;
7798 wxGrid * _arg0;
7799 int _arg1;
7800 PyObject * _argo0 = 0;
7801 char *_kwnames[] = { "self","y", NULL };
7802
7803 self = self;
7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
7805 return NULL;
7806 if (_argo0) {
7807 if (_argo0 == Py_None) { _arg0 = NULL; }
7808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7810 return NULL;
7811 }
7812 }
7813 {
7814 wxPy_BEGIN_ALLOW_THREADS;
7815 _result = (int )wxGrid_YToRow(_arg0,_arg1);
7816
7817 wxPy_END_ALLOW_THREADS;
7818 } _resultobj = Py_BuildValue("i",_result);
7819 return _resultobj;
7820 }
7821
7822 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7823 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7824 PyObject * _resultobj;
7825 int _result;
7826 wxGrid * _arg0;
7827 int _arg1;
7828 PyObject * _argo0 = 0;
7829 char *_kwnames[] = { "self","x", NULL };
7830
7831 self = self;
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
7833 return NULL;
7834 if (_argo0) {
7835 if (_argo0 == Py_None) { _arg0 = NULL; }
7836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7838 return NULL;
7839 }
7840 }
7841 {
7842 wxPy_BEGIN_ALLOW_THREADS;
7843 _result = (int )wxGrid_XToCol(_arg0,_arg1);
7844
7845 wxPy_END_ALLOW_THREADS;
7846 } _resultobj = Py_BuildValue("i",_result);
7847 return _resultobj;
7848 }
7849
7850 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7851 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7852 PyObject * _resultobj;
7853 int _result;
7854 wxGrid * _arg0;
7855 int _arg1;
7856 PyObject * _argo0 = 0;
7857 char *_kwnames[] = { "self","y", NULL };
7858
7859 self = self;
7860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
7861 return NULL;
7862 if (_argo0) {
7863 if (_argo0 == Py_None) { _arg0 = NULL; }
7864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
7866 return NULL;
7867 }
7868 }
7869 {
7870 wxPy_BEGIN_ALLOW_THREADS;
7871 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
7872
7873 wxPy_END_ALLOW_THREADS;
7874 } _resultobj = Py_BuildValue("i",_result);
7875 return _resultobj;
7876 }
7877
7878 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7879 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7880 PyObject * _resultobj;
7881 int _result;
7882 wxGrid * _arg0;
7883 int _arg1;
7884 PyObject * _argo0 = 0;
7885 char *_kwnames[] = { "self","x", NULL };
7886
7887 self = self;
7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
7889 return NULL;
7890 if (_argo0) {
7891 if (_argo0 == Py_None) { _arg0 = NULL; }
7892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
7894 return NULL;
7895 }
7896 }
7897 {
7898 wxPy_BEGIN_ALLOW_THREADS;
7899 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
7900
7901 wxPy_END_ALLOW_THREADS;
7902 } _resultobj = Py_BuildValue("i",_result);
7903 return _resultobj;
7904 }
7905
7906 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
7907 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7908 PyObject * _resultobj;
7909 wxRect * _result;
7910 wxGrid * _arg0;
7911 int _arg1;
7912 int _arg2;
7913 PyObject * _argo0 = 0;
7914 char *_kwnames[] = { "self","row","col", NULL };
7915 char _ptemp[128];
7916
7917 self = self;
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
7919 return NULL;
7920 if (_argo0) {
7921 if (_argo0 == Py_None) { _arg0 = NULL; }
7922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
7924 return NULL;
7925 }
7926 }
7927 {
7928 wxPy_BEGIN_ALLOW_THREADS;
7929 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
7930
7931 wxPy_END_ALLOW_THREADS;
7932 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
7933 _resultobj = Py_BuildValue("s",_ptemp);
7934 return _resultobj;
7935 }
7936
7937 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
7938 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7939 PyObject * _resultobj;
7940 int _result;
7941 wxGrid * _arg0;
7942 PyObject * _argo0 = 0;
7943 char *_kwnames[] = { "self", NULL };
7944
7945 self = self;
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
7947 return NULL;
7948 if (_argo0) {
7949 if (_argo0 == Py_None) { _arg0 = NULL; }
7950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
7952 return NULL;
7953 }
7954 }
7955 {
7956 wxPy_BEGIN_ALLOW_THREADS;
7957 _result = (int )wxGrid_GetGridCursorRow(_arg0);
7958
7959 wxPy_END_ALLOW_THREADS;
7960 } _resultobj = Py_BuildValue("i",_result);
7961 return _resultobj;
7962 }
7963
7964 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
7965 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7966 PyObject * _resultobj;
7967 int _result;
7968 wxGrid * _arg0;
7969 PyObject * _argo0 = 0;
7970 char *_kwnames[] = { "self", NULL };
7971
7972 self = self;
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
7974 return NULL;
7975 if (_argo0) {
7976 if (_argo0 == Py_None) { _arg0 = NULL; }
7977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
7979 return NULL;
7980 }
7981 }
7982 {
7983 wxPy_BEGIN_ALLOW_THREADS;
7984 _result = (int )wxGrid_GetGridCursorCol(_arg0);
7985
7986 wxPy_END_ALLOW_THREADS;
7987 } _resultobj = Py_BuildValue("i",_result);
7988 return _resultobj;
7989 }
7990
7991 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
7992 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7993 PyObject * _resultobj;
7994 bool _result;
7995 wxGrid * _arg0;
7996 int _arg1;
7997 int _arg2;
7998 bool _arg3 = (bool ) TRUE;
7999 PyObject * _argo0 = 0;
8000 int tempbool3 = (int) TRUE;
8001 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8002
8003 self = self;
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8005 return NULL;
8006 if (_argo0) {
8007 if (_argo0 == Py_None) { _arg0 = NULL; }
8008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8010 return NULL;
8011 }
8012 }
8013 _arg3 = (bool ) tempbool3;
8014 {
8015 wxPy_BEGIN_ALLOW_THREADS;
8016 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8017
8018 wxPy_END_ALLOW_THREADS;
8019 } _resultobj = Py_BuildValue("i",_result);
8020 return _resultobj;
8021 }
8022
8023 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8024 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8025 PyObject * _resultobj;
8026 wxGrid * _arg0;
8027 int _arg1;
8028 int _arg2;
8029 PyObject * _argo0 = 0;
8030 char *_kwnames[] = { "self","row","col", NULL };
8031
8032 self = self;
8033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8034 return NULL;
8035 if (_argo0) {
8036 if (_argo0 == Py_None) { _arg0 = NULL; }
8037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8039 return NULL;
8040 }
8041 }
8042 {
8043 wxPy_BEGIN_ALLOW_THREADS;
8044 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8045
8046 wxPy_END_ALLOW_THREADS;
8047 } Py_INCREF(Py_None);
8048 _resultobj = Py_None;
8049 return _resultobj;
8050 }
8051
8052 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8053 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject * _resultobj;
8055 wxGrid * _arg0;
8056 int _arg1;
8057 int _arg2;
8058 PyObject * _argo0 = 0;
8059 char *_kwnames[] = { "self","row","col", NULL };
8060
8061 self = self;
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8063 return NULL;
8064 if (_argo0) {
8065 if (_argo0 == Py_None) { _arg0 = NULL; }
8066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8068 return NULL;
8069 }
8070 }
8071 {
8072 wxPy_BEGIN_ALLOW_THREADS;
8073 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8074
8075 wxPy_END_ALLOW_THREADS;
8076 } Py_INCREF(Py_None);
8077 _resultobj = Py_None;
8078 return _resultobj;
8079 }
8080
8081 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8082 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8083 PyObject * _resultobj;
8084 bool _result;
8085 wxGrid * _arg0;
8086 bool _arg1;
8087 PyObject * _argo0 = 0;
8088 int tempbool1;
8089 char *_kwnames[] = { "self","expandSelection", NULL };
8090
8091 self = self;
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8093 return NULL;
8094 if (_argo0) {
8095 if (_argo0 == Py_None) { _arg0 = NULL; }
8096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8098 return NULL;
8099 }
8100 }
8101 _arg1 = (bool ) tempbool1;
8102 {
8103 wxPy_BEGIN_ALLOW_THREADS;
8104 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8105
8106 wxPy_END_ALLOW_THREADS;
8107 } _resultobj = Py_BuildValue("i",_result);
8108 return _resultobj;
8109 }
8110
8111 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8112 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8113 PyObject * _resultobj;
8114 bool _result;
8115 wxGrid * _arg0;
8116 bool _arg1;
8117 PyObject * _argo0 = 0;
8118 int tempbool1;
8119 char *_kwnames[] = { "self","expandSelection", NULL };
8120
8121 self = self;
8122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8123 return NULL;
8124 if (_argo0) {
8125 if (_argo0 == Py_None) { _arg0 = NULL; }
8126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8128 return NULL;
8129 }
8130 }
8131 _arg1 = (bool ) tempbool1;
8132 {
8133 wxPy_BEGIN_ALLOW_THREADS;
8134 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8135
8136 wxPy_END_ALLOW_THREADS;
8137 } _resultobj = Py_BuildValue("i",_result);
8138 return _resultobj;
8139 }
8140
8141 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8142 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8143 PyObject * _resultobj;
8144 bool _result;
8145 wxGrid * _arg0;
8146 bool _arg1;
8147 PyObject * _argo0 = 0;
8148 int tempbool1;
8149 char *_kwnames[] = { "self","expandSelection", NULL };
8150
8151 self = self;
8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8153 return NULL;
8154 if (_argo0) {
8155 if (_argo0 == Py_None) { _arg0 = NULL; }
8156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8158 return NULL;
8159 }
8160 }
8161 _arg1 = (bool ) tempbool1;
8162 {
8163 wxPy_BEGIN_ALLOW_THREADS;
8164 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8165
8166 wxPy_END_ALLOW_THREADS;
8167 } _resultobj = Py_BuildValue("i",_result);
8168 return _resultobj;
8169 }
8170
8171 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8172 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8173 PyObject * _resultobj;
8174 bool _result;
8175 wxGrid * _arg0;
8176 bool _arg1;
8177 PyObject * _argo0 = 0;
8178 int tempbool1;
8179 char *_kwnames[] = { "self","expandSelection", NULL };
8180
8181 self = self;
8182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8183 return NULL;
8184 if (_argo0) {
8185 if (_argo0 == Py_None) { _arg0 = NULL; }
8186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8188 return NULL;
8189 }
8190 }
8191 _arg1 = (bool ) tempbool1;
8192 {
8193 wxPy_BEGIN_ALLOW_THREADS;
8194 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8195
8196 wxPy_END_ALLOW_THREADS;
8197 } _resultobj = Py_BuildValue("i",_result);
8198 return _resultobj;
8199 }
8200
8201 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8202 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8203 PyObject * _resultobj;
8204 bool _result;
8205 wxGrid * _arg0;
8206 PyObject * _argo0 = 0;
8207 char *_kwnames[] = { "self", NULL };
8208
8209 self = self;
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8211 return NULL;
8212 if (_argo0) {
8213 if (_argo0 == Py_None) { _arg0 = NULL; }
8214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8216 return NULL;
8217 }
8218 }
8219 {
8220 wxPy_BEGIN_ALLOW_THREADS;
8221 _result = (bool )wxGrid_MovePageDown(_arg0);
8222
8223 wxPy_END_ALLOW_THREADS;
8224 } _resultobj = Py_BuildValue("i",_result);
8225 return _resultobj;
8226 }
8227
8228 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8229 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8230 PyObject * _resultobj;
8231 bool _result;
8232 wxGrid * _arg0;
8233 PyObject * _argo0 = 0;
8234 char *_kwnames[] = { "self", NULL };
8235
8236 self = self;
8237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8238 return NULL;
8239 if (_argo0) {
8240 if (_argo0 == Py_None) { _arg0 = NULL; }
8241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8243 return NULL;
8244 }
8245 }
8246 {
8247 wxPy_BEGIN_ALLOW_THREADS;
8248 _result = (bool )wxGrid_MovePageUp(_arg0);
8249
8250 wxPy_END_ALLOW_THREADS;
8251 } _resultobj = Py_BuildValue("i",_result);
8252 return _resultobj;
8253 }
8254
8255 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8256 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8257 PyObject * _resultobj;
8258 bool _result;
8259 wxGrid * _arg0;
8260 bool _arg1;
8261 PyObject * _argo0 = 0;
8262 int tempbool1;
8263 char *_kwnames[] = { "self","expandSelection", NULL };
8264
8265 self = self;
8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8267 return NULL;
8268 if (_argo0) {
8269 if (_argo0 == Py_None) { _arg0 = NULL; }
8270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8272 return NULL;
8273 }
8274 }
8275 _arg1 = (bool ) tempbool1;
8276 {
8277 wxPy_BEGIN_ALLOW_THREADS;
8278 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8279
8280 wxPy_END_ALLOW_THREADS;
8281 } _resultobj = Py_BuildValue("i",_result);
8282 return _resultobj;
8283 }
8284
8285 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8286 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8287 PyObject * _resultobj;
8288 bool _result;
8289 wxGrid * _arg0;
8290 bool _arg1;
8291 PyObject * _argo0 = 0;
8292 int tempbool1;
8293 char *_kwnames[] = { "self","expandSelection", NULL };
8294
8295 self = self;
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8297 return NULL;
8298 if (_argo0) {
8299 if (_argo0 == Py_None) { _arg0 = NULL; }
8300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8302 return NULL;
8303 }
8304 }
8305 _arg1 = (bool ) tempbool1;
8306 {
8307 wxPy_BEGIN_ALLOW_THREADS;
8308 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8309
8310 wxPy_END_ALLOW_THREADS;
8311 } _resultobj = Py_BuildValue("i",_result);
8312 return _resultobj;
8313 }
8314
8315 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8316 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8317 PyObject * _resultobj;
8318 bool _result;
8319 wxGrid * _arg0;
8320 bool _arg1;
8321 PyObject * _argo0 = 0;
8322 int tempbool1;
8323 char *_kwnames[] = { "self","expandSelection", NULL };
8324
8325 self = self;
8326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8327 return NULL;
8328 if (_argo0) {
8329 if (_argo0 == Py_None) { _arg0 = NULL; }
8330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8332 return NULL;
8333 }
8334 }
8335 _arg1 = (bool ) tempbool1;
8336 {
8337 wxPy_BEGIN_ALLOW_THREADS;
8338 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8339
8340 wxPy_END_ALLOW_THREADS;
8341 } _resultobj = Py_BuildValue("i",_result);
8342 return _resultobj;
8343 }
8344
8345 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8346 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject * _resultobj;
8348 bool _result;
8349 wxGrid * _arg0;
8350 bool _arg1;
8351 PyObject * _argo0 = 0;
8352 int tempbool1;
8353 char *_kwnames[] = { "self","expandSelection", NULL };
8354
8355 self = self;
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8357 return NULL;
8358 if (_argo0) {
8359 if (_argo0 == Py_None) { _arg0 = NULL; }
8360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8362 return NULL;
8363 }
8364 }
8365 _arg1 = (bool ) tempbool1;
8366 {
8367 wxPy_BEGIN_ALLOW_THREADS;
8368 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8369
8370 wxPy_END_ALLOW_THREADS;
8371 } _resultobj = Py_BuildValue("i",_result);
8372 return _resultobj;
8373 }
8374
8375 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8376 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8377 PyObject * _resultobj;
8378 int _result;
8379 wxGrid * _arg0;
8380 PyObject * _argo0 = 0;
8381 char *_kwnames[] = { "self", NULL };
8382
8383 self = self;
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8385 return NULL;
8386 if (_argo0) {
8387 if (_argo0 == Py_None) { _arg0 = NULL; }
8388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8390 return NULL;
8391 }
8392 }
8393 {
8394 wxPy_BEGIN_ALLOW_THREADS;
8395 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8396
8397 wxPy_END_ALLOW_THREADS;
8398 } _resultobj = Py_BuildValue("i",_result);
8399 return _resultobj;
8400 }
8401
8402 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8403 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8404 PyObject * _resultobj;
8405 int _result;
8406 wxGrid * _arg0;
8407 PyObject * _argo0 = 0;
8408 char *_kwnames[] = { "self", NULL };
8409
8410 self = self;
8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8412 return NULL;
8413 if (_argo0) {
8414 if (_argo0 == Py_None) { _arg0 = NULL; }
8415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8417 return NULL;
8418 }
8419 }
8420 {
8421 wxPy_BEGIN_ALLOW_THREADS;
8422 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8423
8424 wxPy_END_ALLOW_THREADS;
8425 } _resultobj = Py_BuildValue("i",_result);
8426 return _resultobj;
8427 }
8428
8429 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8430 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8431 PyObject * _resultobj;
8432 int _result;
8433 wxGrid * _arg0;
8434 PyObject * _argo0 = 0;
8435 char *_kwnames[] = { "self", NULL };
8436
8437 self = self;
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8439 return NULL;
8440 if (_argo0) {
8441 if (_argo0 == Py_None) { _arg0 = NULL; }
8442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8444 return NULL;
8445 }
8446 }
8447 {
8448 wxPy_BEGIN_ALLOW_THREADS;
8449 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8450
8451 wxPy_END_ALLOW_THREADS;
8452 } _resultobj = Py_BuildValue("i",_result);
8453 return _resultobj;
8454 }
8455
8456 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8457 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject * _resultobj;
8459 int _result;
8460 wxGrid * _arg0;
8461 PyObject * _argo0 = 0;
8462 char *_kwnames[] = { "self", NULL };
8463
8464 self = self;
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8466 return NULL;
8467 if (_argo0) {
8468 if (_argo0 == Py_None) { _arg0 = NULL; }
8469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8471 return NULL;
8472 }
8473 }
8474 {
8475 wxPy_BEGIN_ALLOW_THREADS;
8476 _result = (int )wxGrid_GetColLabelSize(_arg0);
8477
8478 wxPy_END_ALLOW_THREADS;
8479 } _resultobj = Py_BuildValue("i",_result);
8480 return _resultobj;
8481 }
8482
8483 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8484 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject * _resultobj;
8486 wxColour * _result;
8487 wxGrid * _arg0;
8488 PyObject * _argo0 = 0;
8489 char *_kwnames[] = { "self", NULL };
8490 char _ptemp[128];
8491
8492 self = self;
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8494 return NULL;
8495 if (_argo0) {
8496 if (_argo0 == Py_None) { _arg0 = NULL; }
8497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8499 return NULL;
8500 }
8501 }
8502 {
8503 wxPy_BEGIN_ALLOW_THREADS;
8504 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8505
8506 wxPy_END_ALLOW_THREADS;
8507 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8508 _resultobj = Py_BuildValue("s",_ptemp);
8509 return _resultobj;
8510 }
8511
8512 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8513 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8514 PyObject * _resultobj;
8515 wxColour * _result;
8516 wxGrid * _arg0;
8517 PyObject * _argo0 = 0;
8518 char *_kwnames[] = { "self", NULL };
8519 char _ptemp[128];
8520
8521 self = self;
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8523 return NULL;
8524 if (_argo0) {
8525 if (_argo0 == Py_None) { _arg0 = NULL; }
8526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8528 return NULL;
8529 }
8530 }
8531 {
8532 wxPy_BEGIN_ALLOW_THREADS;
8533 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8534
8535 wxPy_END_ALLOW_THREADS;
8536 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8537 _resultobj = Py_BuildValue("s",_ptemp);
8538 return _resultobj;
8539 }
8540
8541 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8542 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8543 PyObject * _resultobj;
8544 wxFont * _result;
8545 wxGrid * _arg0;
8546 PyObject * _argo0 = 0;
8547 char *_kwnames[] = { "self", NULL };
8548 char _ptemp[128];
8549
8550 self = self;
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8552 return NULL;
8553 if (_argo0) {
8554 if (_argo0 == Py_None) { _arg0 = NULL; }
8555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8557 return NULL;
8558 }
8559 }
8560 {
8561 wxPy_BEGIN_ALLOW_THREADS;
8562 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8563
8564 wxPy_END_ALLOW_THREADS;
8565 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8566 _resultobj = Py_BuildValue("s",_ptemp);
8567 return _resultobj;
8568 }
8569
8570 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8571 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8572 PyObject * _resultobj;
8573 wxGrid * _arg0;
8574 int * _arg1;
8575 int temp;
8576 int * _arg2;
8577 int temp0;
8578 PyObject * _argo0 = 0;
8579 char *_kwnames[] = { "self", NULL };
8580
8581 self = self;
8582 {
8583 _arg1 = &temp;
8584 }
8585 {
8586 _arg2 = &temp0;
8587 }
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
8589 return NULL;
8590 if (_argo0) {
8591 if (_argo0 == Py_None) { _arg0 = NULL; }
8592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8594 return NULL;
8595 }
8596 }
8597 {
8598 wxPy_BEGIN_ALLOW_THREADS;
8599 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
8600
8601 wxPy_END_ALLOW_THREADS;
8602 } Py_INCREF(Py_None);
8603 _resultobj = Py_None;
8604 {
8605 PyObject *o;
8606 o = PyInt_FromLong((long) (*_arg1));
8607 _resultobj = t_output_helper(_resultobj, o);
8608 }
8609 {
8610 PyObject *o;
8611 o = PyInt_FromLong((long) (*_arg2));
8612 _resultobj = t_output_helper(_resultobj, o);
8613 }
8614 return _resultobj;
8615 }
8616
8617 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8618 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8619 PyObject * _resultobj;
8620 wxGrid * _arg0;
8621 int * _arg1;
8622 int temp;
8623 int * _arg2;
8624 int temp0;
8625 PyObject * _argo0 = 0;
8626 char *_kwnames[] = { "self", NULL };
8627
8628 self = self;
8629 {
8630 _arg1 = &temp;
8631 }
8632 {
8633 _arg2 = &temp0;
8634 }
8635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
8636 return NULL;
8637 if (_argo0) {
8638 if (_argo0 == Py_None) { _arg0 = NULL; }
8639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8641 return NULL;
8642 }
8643 }
8644 {
8645 wxPy_BEGIN_ALLOW_THREADS;
8646 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
8647
8648 wxPy_END_ALLOW_THREADS;
8649 } Py_INCREF(Py_None);
8650 _resultobj = Py_None;
8651 {
8652 PyObject *o;
8653 o = PyInt_FromLong((long) (*_arg1));
8654 _resultobj = t_output_helper(_resultobj, o);
8655 }
8656 {
8657 PyObject *o;
8658 o = PyInt_FromLong((long) (*_arg2));
8659 _resultobj = t_output_helper(_resultobj, o);
8660 }
8661 return _resultobj;
8662 }
8663
8664 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8665 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8666 PyObject * _resultobj;
8667 wxString * _result;
8668 wxGrid * _arg0;
8669 int _arg1;
8670 PyObject * _argo0 = 0;
8671 char *_kwnames[] = { "self","row", NULL };
8672
8673 self = self;
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
8675 return NULL;
8676 if (_argo0) {
8677 if (_argo0 == Py_None) { _arg0 = NULL; }
8678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8680 return NULL;
8681 }
8682 }
8683 {
8684 wxPy_BEGIN_ALLOW_THREADS;
8685 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
8686
8687 wxPy_END_ALLOW_THREADS;
8688 }{
8689 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8690 }
8691 {
8692 delete _result;
8693 }
8694 return _resultobj;
8695 }
8696
8697 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8698 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8699 PyObject * _resultobj;
8700 wxString * _result;
8701 wxGrid * _arg0;
8702 int _arg1;
8703 PyObject * _argo0 = 0;
8704 char *_kwnames[] = { "self","col", NULL };
8705
8706 self = self;
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
8708 return NULL;
8709 if (_argo0) {
8710 if (_argo0 == Py_None) { _arg0 = NULL; }
8711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8713 return NULL;
8714 }
8715 }
8716 {
8717 wxPy_BEGIN_ALLOW_THREADS;
8718 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
8719
8720 wxPy_END_ALLOW_THREADS;
8721 }{
8722 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8723 }
8724 {
8725 delete _result;
8726 }
8727 return _resultobj;
8728 }
8729
8730 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8731 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8732 PyObject * _resultobj;
8733 wxColour * _result;
8734 wxGrid * _arg0;
8735 PyObject * _argo0 = 0;
8736 char *_kwnames[] = { "self", NULL };
8737 char _ptemp[128];
8738
8739 self = self;
8740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
8741 return NULL;
8742 if (_argo0) {
8743 if (_argo0 == Py_None) { _arg0 = NULL; }
8744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8746 return NULL;
8747 }
8748 }
8749 {
8750 wxPy_BEGIN_ALLOW_THREADS;
8751 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
8752
8753 wxPy_END_ALLOW_THREADS;
8754 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8755 _resultobj = Py_BuildValue("s",_ptemp);
8756 return _resultobj;
8757 }
8758
8759 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8760 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8761 PyObject * _resultobj;
8762 wxColour * _result;
8763 wxGrid * _arg0;
8764 PyObject * _argo0 = 0;
8765 char *_kwnames[] = { "self", NULL };
8766 char _ptemp[128];
8767
8768 self = self;
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
8770 return NULL;
8771 if (_argo0) {
8772 if (_argo0 == Py_None) { _arg0 = NULL; }
8773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8775 return NULL;
8776 }
8777 }
8778 {
8779 wxPy_BEGIN_ALLOW_THREADS;
8780 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
8781
8782 wxPy_END_ALLOW_THREADS;
8783 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8784 _resultobj = Py_BuildValue("s",_ptemp);
8785 return _resultobj;
8786 }
8787
8788 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8789 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject * _resultobj;
8791 wxGrid * _arg0;
8792 int _arg1;
8793 PyObject * _argo0 = 0;
8794 char *_kwnames[] = { "self","width", NULL };
8795
8796 self = self;
8797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
8798 return NULL;
8799 if (_argo0) {
8800 if (_argo0 == Py_None) { _arg0 = NULL; }
8801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8803 return NULL;
8804 }
8805 }
8806 {
8807 wxPy_BEGIN_ALLOW_THREADS;
8808 wxGrid_SetRowLabelSize(_arg0,_arg1);
8809
8810 wxPy_END_ALLOW_THREADS;
8811 } Py_INCREF(Py_None);
8812 _resultobj = Py_None;
8813 return _resultobj;
8814 }
8815
8816 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8817 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8818 PyObject * _resultobj;
8819 wxGrid * _arg0;
8820 int _arg1;
8821 PyObject * _argo0 = 0;
8822 char *_kwnames[] = { "self","height", NULL };
8823
8824 self = self;
8825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
8826 return NULL;
8827 if (_argo0) {
8828 if (_argo0 == Py_None) { _arg0 = NULL; }
8829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8831 return NULL;
8832 }
8833 }
8834 {
8835 wxPy_BEGIN_ALLOW_THREADS;
8836 wxGrid_SetColLabelSize(_arg0,_arg1);
8837
8838 wxPy_END_ALLOW_THREADS;
8839 } Py_INCREF(Py_None);
8840 _resultobj = Py_None;
8841 return _resultobj;
8842 }
8843
8844 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
8845 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8846 PyObject * _resultobj;
8847 wxGrid * _arg0;
8848 wxColour * _arg1;
8849 PyObject * _argo0 = 0;
8850 wxColour temp;
8851 PyObject * _obj1 = 0;
8852 char *_kwnames[] = { "self","arg2", NULL };
8853
8854 self = self;
8855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
8856 return NULL;
8857 if (_argo0) {
8858 if (_argo0 == Py_None) { _arg0 = NULL; }
8859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
8861 return NULL;
8862 }
8863 }
8864 {
8865 _arg1 = &temp;
8866 if (! wxColour_helper(_obj1, &_arg1))
8867 return NULL;
8868 }
8869 {
8870 wxPy_BEGIN_ALLOW_THREADS;
8871 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
8872
8873 wxPy_END_ALLOW_THREADS;
8874 } Py_INCREF(Py_None);
8875 _resultobj = Py_None;
8876 return _resultobj;
8877 }
8878
8879 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
8880 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8881 PyObject * _resultobj;
8882 wxGrid * _arg0;
8883 wxColour * _arg1;
8884 PyObject * _argo0 = 0;
8885 wxColour temp;
8886 PyObject * _obj1 = 0;
8887 char *_kwnames[] = { "self","arg2", NULL };
8888
8889 self = self;
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
8891 return NULL;
8892 if (_argo0) {
8893 if (_argo0 == Py_None) { _arg0 = NULL; }
8894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
8896 return NULL;
8897 }
8898 }
8899 {
8900 _arg1 = &temp;
8901 if (! wxColour_helper(_obj1, &_arg1))
8902 return NULL;
8903 }
8904 {
8905 wxPy_BEGIN_ALLOW_THREADS;
8906 wxGrid_SetLabelTextColour(_arg0,*_arg1);
8907
8908 wxPy_END_ALLOW_THREADS;
8909 } Py_INCREF(Py_None);
8910 _resultobj = Py_None;
8911 return _resultobj;
8912 }
8913
8914 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
8915 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject * _resultobj;
8917 wxGrid * _arg0;
8918 wxFont * _arg1;
8919 PyObject * _argo0 = 0;
8920 PyObject * _argo1 = 0;
8921 char *_kwnames[] = { "self","arg2", NULL };
8922
8923 self = self;
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
8925 return NULL;
8926 if (_argo0) {
8927 if (_argo0 == Py_None) { _arg0 = NULL; }
8928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
8930 return NULL;
8931 }
8932 }
8933 if (_argo1) {
8934 if (_argo1 == Py_None) { _arg1 = NULL; }
8935 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8936 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
8937 return NULL;
8938 }
8939 }
8940 {
8941 wxPy_BEGIN_ALLOW_THREADS;
8942 wxGrid_SetLabelFont(_arg0,*_arg1);
8943
8944 wxPy_END_ALLOW_THREADS;
8945 } Py_INCREF(Py_None);
8946 _resultobj = Py_None;
8947 return _resultobj;
8948 }
8949
8950 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
8951 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8952 PyObject * _resultobj;
8953 wxGrid * _arg0;
8954 int _arg1;
8955 int _arg2;
8956 PyObject * _argo0 = 0;
8957 char *_kwnames[] = { "self","horiz","vert", NULL };
8958
8959 self = self;
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8961 return NULL;
8962 if (_argo0) {
8963 if (_argo0 == Py_None) { _arg0 = NULL; }
8964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
8966 return NULL;
8967 }
8968 }
8969 {
8970 wxPy_BEGIN_ALLOW_THREADS;
8971 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
8972
8973 wxPy_END_ALLOW_THREADS;
8974 } Py_INCREF(Py_None);
8975 _resultobj = Py_None;
8976 return _resultobj;
8977 }
8978
8979 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
8980 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8981 PyObject * _resultobj;
8982 wxGrid * _arg0;
8983 int _arg1;
8984 int _arg2;
8985 PyObject * _argo0 = 0;
8986 char *_kwnames[] = { "self","horiz","vert", NULL };
8987
8988 self = self;
8989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8990 return NULL;
8991 if (_argo0) {
8992 if (_argo0 == Py_None) { _arg0 = NULL; }
8993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
8995 return NULL;
8996 }
8997 }
8998 {
8999 wxPy_BEGIN_ALLOW_THREADS;
9000 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9001
9002 wxPy_END_ALLOW_THREADS;
9003 } Py_INCREF(Py_None);
9004 _resultobj = Py_None;
9005 return _resultobj;
9006 }
9007
9008 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9009 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9010 PyObject * _resultobj;
9011 wxGrid * _arg0;
9012 int _arg1;
9013 wxString * _arg2;
9014 PyObject * _argo0 = 0;
9015 PyObject * _obj2 = 0;
9016 char *_kwnames[] = { "self","row","arg3", NULL };
9017
9018 self = self;
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9020 return NULL;
9021 if (_argo0) {
9022 if (_argo0 == Py_None) { _arg0 = NULL; }
9023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9025 return NULL;
9026 }
9027 }
9028 {
9029 #if PYTHON_API_VERSION >= 1009
9030 char* tmpPtr; int tmpSize;
9031 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9032 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
9033 return NULL;
9034 }
9035 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9036 return NULL;
9037 _arg2 = new wxString(tmpPtr, tmpSize);
9038 #else
9039 if (!PyString_Check(_obj2)) {
9040 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9041 return NULL;
9042 }
9043 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9044 #endif
9045 }
9046 {
9047 wxPy_BEGIN_ALLOW_THREADS;
9048 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9049
9050 wxPy_END_ALLOW_THREADS;
9051 } Py_INCREF(Py_None);
9052 _resultobj = Py_None;
9053 {
9054 if (_obj2)
9055 delete _arg2;
9056 }
9057 return _resultobj;
9058 }
9059
9060 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9061 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject * _resultobj;
9063 wxGrid * _arg0;
9064 int _arg1;
9065 wxString * _arg2;
9066 PyObject * _argo0 = 0;
9067 PyObject * _obj2 = 0;
9068 char *_kwnames[] = { "self","col","arg3", NULL };
9069
9070 self = self;
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9072 return NULL;
9073 if (_argo0) {
9074 if (_argo0 == Py_None) { _arg0 = NULL; }
9075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9077 return NULL;
9078 }
9079 }
9080 {
9081 #if PYTHON_API_VERSION >= 1009
9082 char* tmpPtr; int tmpSize;
9083 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9084 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
9085 return NULL;
9086 }
9087 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9088 return NULL;
9089 _arg2 = new wxString(tmpPtr, tmpSize);
9090 #else
9091 if (!PyString_Check(_obj2)) {
9092 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9093 return NULL;
9094 }
9095 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9096 #endif
9097 }
9098 {
9099 wxPy_BEGIN_ALLOW_THREADS;
9100 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9101
9102 wxPy_END_ALLOW_THREADS;
9103 } Py_INCREF(Py_None);
9104 _resultobj = Py_None;
9105 {
9106 if (_obj2)
9107 delete _arg2;
9108 }
9109 return _resultobj;
9110 }
9111
9112 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9113 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject * _resultobj;
9115 wxGrid * _arg0;
9116 wxColour * _arg1;
9117 PyObject * _argo0 = 0;
9118 wxColour temp;
9119 PyObject * _obj1 = 0;
9120 char *_kwnames[] = { "self","arg2", NULL };
9121
9122 self = self;
9123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9124 return NULL;
9125 if (_argo0) {
9126 if (_argo0 == Py_None) { _arg0 = NULL; }
9127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9129 return NULL;
9130 }
9131 }
9132 {
9133 _arg1 = &temp;
9134 if (! wxColour_helper(_obj1, &_arg1))
9135 return NULL;
9136 }
9137 {
9138 wxPy_BEGIN_ALLOW_THREADS;
9139 wxGrid_SetGridLineColour(_arg0,*_arg1);
9140
9141 wxPy_END_ALLOW_THREADS;
9142 } Py_INCREF(Py_None);
9143 _resultobj = Py_None;
9144 return _resultobj;
9145 }
9146
9147 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9148 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9149 PyObject * _resultobj;
9150 wxGrid * _arg0;
9151 wxColour * _arg1;
9152 PyObject * _argo0 = 0;
9153 wxColour temp;
9154 PyObject * _obj1 = 0;
9155 char *_kwnames[] = { "self","arg2", NULL };
9156
9157 self = self;
9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9159 return NULL;
9160 if (_argo0) {
9161 if (_argo0 == Py_None) { _arg0 = NULL; }
9162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9164 return NULL;
9165 }
9166 }
9167 {
9168 _arg1 = &temp;
9169 if (! wxColour_helper(_obj1, &_arg1))
9170 return NULL;
9171 }
9172 {
9173 wxPy_BEGIN_ALLOW_THREADS;
9174 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9175
9176 wxPy_END_ALLOW_THREADS;
9177 } Py_INCREF(Py_None);
9178 _resultobj = Py_None;
9179 return _resultobj;
9180 }
9181
9182 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9183 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9184 PyObject * _resultobj;
9185 wxGrid * _arg0;
9186 bool _arg1 = (bool ) TRUE;
9187 PyObject * _argo0 = 0;
9188 int tempbool1 = (int) TRUE;
9189 char *_kwnames[] = { "self","enable", NULL };
9190
9191 self = self;
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9193 return NULL;
9194 if (_argo0) {
9195 if (_argo0 == Py_None) { _arg0 = NULL; }
9196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9198 return NULL;
9199 }
9200 }
9201 _arg1 = (bool ) tempbool1;
9202 {
9203 wxPy_BEGIN_ALLOW_THREADS;
9204 wxGrid_EnableDragRowSize(_arg0,_arg1);
9205
9206 wxPy_END_ALLOW_THREADS;
9207 } Py_INCREF(Py_None);
9208 _resultobj = Py_None;
9209 return _resultobj;
9210 }
9211
9212 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9213 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9214 PyObject * _resultobj;
9215 wxGrid * _arg0;
9216 PyObject * _argo0 = 0;
9217 char *_kwnames[] = { "self", NULL };
9218
9219 self = self;
9220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9221 return NULL;
9222 if (_argo0) {
9223 if (_argo0 == Py_None) { _arg0 = NULL; }
9224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9226 return NULL;
9227 }
9228 }
9229 {
9230 wxPy_BEGIN_ALLOW_THREADS;
9231 wxGrid_DisableDragRowSize(_arg0);
9232
9233 wxPy_END_ALLOW_THREADS;
9234 } Py_INCREF(Py_None);
9235 _resultobj = Py_None;
9236 return _resultobj;
9237 }
9238
9239 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9240 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9241 PyObject * _resultobj;
9242 bool _result;
9243 wxGrid * _arg0;
9244 PyObject * _argo0 = 0;
9245 char *_kwnames[] = { "self", NULL };
9246
9247 self = self;
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9249 return NULL;
9250 if (_argo0) {
9251 if (_argo0 == Py_None) { _arg0 = NULL; }
9252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9254 return NULL;
9255 }
9256 }
9257 {
9258 wxPy_BEGIN_ALLOW_THREADS;
9259 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9260
9261 wxPy_END_ALLOW_THREADS;
9262 } _resultobj = Py_BuildValue("i",_result);
9263 return _resultobj;
9264 }
9265
9266 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9267 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9268 PyObject * _resultobj;
9269 wxGrid * _arg0;
9270 bool _arg1 = (bool ) TRUE;
9271 PyObject * _argo0 = 0;
9272 int tempbool1 = (int) TRUE;
9273 char *_kwnames[] = { "self","enable", NULL };
9274
9275 self = self;
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9277 return NULL;
9278 if (_argo0) {
9279 if (_argo0 == Py_None) { _arg0 = NULL; }
9280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9282 return NULL;
9283 }
9284 }
9285 _arg1 = (bool ) tempbool1;
9286 {
9287 wxPy_BEGIN_ALLOW_THREADS;
9288 wxGrid_EnableDragColSize(_arg0,_arg1);
9289
9290 wxPy_END_ALLOW_THREADS;
9291 } Py_INCREF(Py_None);
9292 _resultobj = Py_None;
9293 return _resultobj;
9294 }
9295
9296 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9297 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9298 PyObject * _resultobj;
9299 wxGrid * _arg0;
9300 PyObject * _argo0 = 0;
9301 char *_kwnames[] = { "self", NULL };
9302
9303 self = self;
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9305 return NULL;
9306 if (_argo0) {
9307 if (_argo0 == Py_None) { _arg0 = NULL; }
9308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9310 return NULL;
9311 }
9312 }
9313 {
9314 wxPy_BEGIN_ALLOW_THREADS;
9315 wxGrid_DisableDragColSize(_arg0);
9316
9317 wxPy_END_ALLOW_THREADS;
9318 } Py_INCREF(Py_None);
9319 _resultobj = Py_None;
9320 return _resultobj;
9321 }
9322
9323 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9324 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9325 PyObject * _resultobj;
9326 bool _result;
9327 wxGrid * _arg0;
9328 PyObject * _argo0 = 0;
9329 char *_kwnames[] = { "self", NULL };
9330
9331 self = self;
9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9333 return NULL;
9334 if (_argo0) {
9335 if (_argo0 == Py_None) { _arg0 = NULL; }
9336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9338 return NULL;
9339 }
9340 }
9341 {
9342 wxPy_BEGIN_ALLOW_THREADS;
9343 _result = (bool )wxGrid_CanDragColSize(_arg0);
9344
9345 wxPy_END_ALLOW_THREADS;
9346 } _resultobj = Py_BuildValue("i",_result);
9347 return _resultobj;
9348 }
9349
9350 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9351 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9352 PyObject * _resultobj;
9353 wxGrid * _arg0;
9354 bool _arg1 = (bool ) TRUE;
9355 PyObject * _argo0 = 0;
9356 int tempbool1 = (int) TRUE;
9357 char *_kwnames[] = { "self","enable", NULL };
9358
9359 self = self;
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9361 return NULL;
9362 if (_argo0) {
9363 if (_argo0 == Py_None) { _arg0 = NULL; }
9364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9366 return NULL;
9367 }
9368 }
9369 _arg1 = (bool ) tempbool1;
9370 {
9371 wxPy_BEGIN_ALLOW_THREADS;
9372 wxGrid_EnableDragGridSize(_arg0,_arg1);
9373
9374 wxPy_END_ALLOW_THREADS;
9375 } Py_INCREF(Py_None);
9376 _resultobj = Py_None;
9377 return _resultobj;
9378 }
9379
9380 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9381 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9382 PyObject * _resultobj;
9383 wxGrid * _arg0;
9384 PyObject * _argo0 = 0;
9385 char *_kwnames[] = { "self", NULL };
9386
9387 self = self;
9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9389 return NULL;
9390 if (_argo0) {
9391 if (_argo0 == Py_None) { _arg0 = NULL; }
9392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9394 return NULL;
9395 }
9396 }
9397 {
9398 wxPy_BEGIN_ALLOW_THREADS;
9399 wxGrid_DisableDragGridSize(_arg0);
9400
9401 wxPy_END_ALLOW_THREADS;
9402 } Py_INCREF(Py_None);
9403 _resultobj = Py_None;
9404 return _resultobj;
9405 }
9406
9407 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9408 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9409 PyObject * _resultobj;
9410 bool _result;
9411 wxGrid * _arg0;
9412 PyObject * _argo0 = 0;
9413 char *_kwnames[] = { "self", NULL };
9414
9415 self = self;
9416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9417 return NULL;
9418 if (_argo0) {
9419 if (_argo0 == Py_None) { _arg0 = NULL; }
9420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9422 return NULL;
9423 }
9424 }
9425 {
9426 wxPy_BEGIN_ALLOW_THREADS;
9427 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9428
9429 wxPy_END_ALLOW_THREADS;
9430 } _resultobj = Py_BuildValue("i",_result);
9431 return _resultobj;
9432 }
9433
9434 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9435 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9436 PyObject * _resultobj;
9437 wxGrid * _arg0;
9438 int _arg1;
9439 wxGridCellAttr * _arg2;
9440 PyObject * _argo0 = 0;
9441 PyObject * _argo2 = 0;
9442 char *_kwnames[] = { "self","row","attr", NULL };
9443
9444 self = self;
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9446 return NULL;
9447 if (_argo0) {
9448 if (_argo0 == Py_None) { _arg0 = NULL; }
9449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9451 return NULL;
9452 }
9453 }
9454 if (_argo2) {
9455 if (_argo2 == Py_None) { _arg2 = NULL; }
9456 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9457 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9458 return NULL;
9459 }
9460 }
9461 {
9462 wxPy_BEGIN_ALLOW_THREADS;
9463 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
9464
9465 wxPy_END_ALLOW_THREADS;
9466 } Py_INCREF(Py_None);
9467 _resultobj = Py_None;
9468 return _resultobj;
9469 }
9470
9471 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9472 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject * _resultobj;
9474 wxGrid * _arg0;
9475 int _arg1;
9476 wxGridCellAttr * _arg2;
9477 PyObject * _argo0 = 0;
9478 PyObject * _argo2 = 0;
9479 char *_kwnames[] = { "self","col","attr", NULL };
9480
9481 self = self;
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9483 return NULL;
9484 if (_argo0) {
9485 if (_argo0 == Py_None) { _arg0 = NULL; }
9486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9488 return NULL;
9489 }
9490 }
9491 if (_argo2) {
9492 if (_argo2 == Py_None) { _arg2 = NULL; }
9493 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9494 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9495 return NULL;
9496 }
9497 }
9498 {
9499 wxPy_BEGIN_ALLOW_THREADS;
9500 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
9501
9502 wxPy_END_ALLOW_THREADS;
9503 } Py_INCREF(Py_None);
9504 _resultobj = Py_None;
9505 return _resultobj;
9506 }
9507
9508 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9509 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9510 PyObject * _resultobj;
9511 wxGrid * _arg0;
9512 int _arg1;
9513 PyObject * _argo0 = 0;
9514 char *_kwnames[] = { "self","col", NULL };
9515
9516 self = self;
9517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
9518 return NULL;
9519 if (_argo0) {
9520 if (_argo0 == Py_None) { _arg0 = NULL; }
9521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9523 return NULL;
9524 }
9525 }
9526 {
9527 wxPy_BEGIN_ALLOW_THREADS;
9528 wxGrid_SetColFormatBool(_arg0,_arg1);
9529
9530 wxPy_END_ALLOW_THREADS;
9531 } Py_INCREF(Py_None);
9532 _resultobj = Py_None;
9533 return _resultobj;
9534 }
9535
9536 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9537 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
9538 PyObject * _resultobj;
9539 wxGrid * _arg0;
9540 int _arg1;
9541 PyObject * _argo0 = 0;
9542 char *_kwnames[] = { "self","col", NULL };
9543
9544 self = self;
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
9546 return NULL;
9547 if (_argo0) {
9548 if (_argo0 == Py_None) { _arg0 = NULL; }
9549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
9551 return NULL;
9552 }
9553 }
9554 {
9555 wxPy_BEGIN_ALLOW_THREADS;
9556 wxGrid_SetColFormatNumber(_arg0,_arg1);
9557
9558 wxPy_END_ALLOW_THREADS;
9559 } Py_INCREF(Py_None);
9560 _resultobj = Py_None;
9561 return _resultobj;
9562 }
9563
9564 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9565 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
9566 PyObject * _resultobj;
9567 wxGrid * _arg0;
9568 int _arg1;
9569 int _arg2 = (int ) -1;
9570 int _arg3 = (int ) -1;
9571 PyObject * _argo0 = 0;
9572 char *_kwnames[] = { "self","col","width","precision", NULL };
9573
9574 self = self;
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
9576 return NULL;
9577 if (_argo0) {
9578 if (_argo0 == Py_None) { _arg0 = NULL; }
9579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
9581 return NULL;
9582 }
9583 }
9584 {
9585 wxPy_BEGIN_ALLOW_THREADS;
9586 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
9587
9588 wxPy_END_ALLOW_THREADS;
9589 } Py_INCREF(Py_None);
9590 _resultobj = Py_None;
9591 return _resultobj;
9592 }
9593
9594 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9595 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
9596 PyObject * _resultobj;
9597 wxGrid * _arg0;
9598 int _arg1;
9599 wxString * _arg2;
9600 PyObject * _argo0 = 0;
9601 PyObject * _obj2 = 0;
9602 char *_kwnames[] = { "self","col","typeName", NULL };
9603
9604 self = self;
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
9606 return NULL;
9607 if (_argo0) {
9608 if (_argo0 == Py_None) { _arg0 = NULL; }
9609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9611 return NULL;
9612 }
9613 }
9614 {
9615 #if PYTHON_API_VERSION >= 1009
9616 char* tmpPtr; int tmpSize;
9617 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9618 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
9619 return NULL;
9620 }
9621 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9622 return NULL;
9623 _arg2 = new wxString(tmpPtr, tmpSize);
9624 #else
9625 if (!PyString_Check(_obj2)) {
9626 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9627 return NULL;
9628 }
9629 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9630 #endif
9631 }
9632 {
9633 wxPy_BEGIN_ALLOW_THREADS;
9634 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
9635
9636 wxPy_END_ALLOW_THREADS;
9637 } Py_INCREF(Py_None);
9638 _resultobj = Py_None;
9639 {
9640 if (_obj2)
9641 delete _arg2;
9642 }
9643 return _resultobj;
9644 }
9645
9646 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9647 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9648 PyObject * _resultobj;
9649 wxGrid * _arg0;
9650 bool _arg1 = (bool ) TRUE;
9651 PyObject * _argo0 = 0;
9652 int tempbool1 = (int) TRUE;
9653 char *_kwnames[] = { "self","enable", NULL };
9654
9655 self = self;
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
9657 return NULL;
9658 if (_argo0) {
9659 if (_argo0 == Py_None) { _arg0 = NULL; }
9660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9662 return NULL;
9663 }
9664 }
9665 _arg1 = (bool ) tempbool1;
9666 {
9667 wxPy_BEGIN_ALLOW_THREADS;
9668 wxGrid_EnableGridLines(_arg0,_arg1);
9669
9670 wxPy_END_ALLOW_THREADS;
9671 } Py_INCREF(Py_None);
9672 _resultobj = Py_None;
9673 return _resultobj;
9674 }
9675
9676 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9677 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9678 PyObject * _resultobj;
9679 bool _result;
9680 wxGrid * _arg0;
9681 PyObject * _argo0 = 0;
9682 char *_kwnames[] = { "self", NULL };
9683
9684 self = self;
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
9686 return NULL;
9687 if (_argo0) {
9688 if (_argo0 == Py_None) { _arg0 = NULL; }
9689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9691 return NULL;
9692 }
9693 }
9694 {
9695 wxPy_BEGIN_ALLOW_THREADS;
9696 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
9697
9698 wxPy_END_ALLOW_THREADS;
9699 } _resultobj = Py_BuildValue("i",_result);
9700 return _resultobj;
9701 }
9702
9703 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9704 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9705 PyObject * _resultobj;
9706 int _result;
9707 wxGrid * _arg0;
9708 PyObject * _argo0 = 0;
9709 char *_kwnames[] = { "self", NULL };
9710
9711 self = self;
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
9713 return NULL;
9714 if (_argo0) {
9715 if (_argo0 == Py_None) { _arg0 = NULL; }
9716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9718 return NULL;
9719 }
9720 }
9721 {
9722 wxPy_BEGIN_ALLOW_THREADS;
9723 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
9724
9725 wxPy_END_ALLOW_THREADS;
9726 } _resultobj = Py_BuildValue("i",_result);
9727 return _resultobj;
9728 }
9729
9730 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9731 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9732 PyObject * _resultobj;
9733 int _result;
9734 wxGrid * _arg0;
9735 int _arg1;
9736 PyObject * _argo0 = 0;
9737 char *_kwnames[] = { "self","row", NULL };
9738
9739 self = self;
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
9741 return NULL;
9742 if (_argo0) {
9743 if (_argo0 == Py_None) { _arg0 = NULL; }
9744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
9746 return NULL;
9747 }
9748 }
9749 {
9750 wxPy_BEGIN_ALLOW_THREADS;
9751 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
9752
9753 wxPy_END_ALLOW_THREADS;
9754 } _resultobj = Py_BuildValue("i",_result);
9755 return _resultobj;
9756 }
9757
9758 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9759 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject * _resultobj;
9761 int _result;
9762 wxGrid * _arg0;
9763 PyObject * _argo0 = 0;
9764 char *_kwnames[] = { "self", NULL };
9765
9766 self = self;
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
9768 return NULL;
9769 if (_argo0) {
9770 if (_argo0 == Py_None) { _arg0 = NULL; }
9771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9773 return NULL;
9774 }
9775 }
9776 {
9777 wxPy_BEGIN_ALLOW_THREADS;
9778 _result = (int )wxGrid_GetDefaultColSize(_arg0);
9779
9780 wxPy_END_ALLOW_THREADS;
9781 } _resultobj = Py_BuildValue("i",_result);
9782 return _resultobj;
9783 }
9784
9785 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
9786 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9787 PyObject * _resultobj;
9788 int _result;
9789 wxGrid * _arg0;
9790 int _arg1;
9791 PyObject * _argo0 = 0;
9792 char *_kwnames[] = { "self","col", NULL };
9793
9794 self = self;
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
9796 return NULL;
9797 if (_argo0) {
9798 if (_argo0 == Py_None) { _arg0 = NULL; }
9799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
9801 return NULL;
9802 }
9803 }
9804 {
9805 wxPy_BEGIN_ALLOW_THREADS;
9806 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
9807
9808 wxPy_END_ALLOW_THREADS;
9809 } _resultobj = Py_BuildValue("i",_result);
9810 return _resultobj;
9811 }
9812
9813 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
9814 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject * _resultobj;
9816 wxColour * _result;
9817 wxGrid * _arg0;
9818 PyObject * _argo0 = 0;
9819 char *_kwnames[] = { "self", NULL };
9820 char _ptemp[128];
9821
9822 self = self;
9823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
9824 return NULL;
9825 if (_argo0) {
9826 if (_argo0 == Py_None) { _arg0 = NULL; }
9827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
9829 return NULL;
9830 }
9831 }
9832 {
9833 wxPy_BEGIN_ALLOW_THREADS;
9834 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
9835
9836 wxPy_END_ALLOW_THREADS;
9837 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9838 _resultobj = Py_BuildValue("s",_ptemp);
9839 return _resultobj;
9840 }
9841
9842 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
9843 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9844 PyObject * _resultobj;
9845 wxColour * _result;
9846 wxGrid * _arg0;
9847 int _arg1;
9848 int _arg2;
9849 PyObject * _argo0 = 0;
9850 char *_kwnames[] = { "self","row","col", NULL };
9851 char _ptemp[128];
9852
9853 self = self;
9854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
9855 return NULL;
9856 if (_argo0) {
9857 if (_argo0 == Py_None) { _arg0 = NULL; }
9858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
9860 return NULL;
9861 }
9862 }
9863 {
9864 wxPy_BEGIN_ALLOW_THREADS;
9865 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
9866
9867 wxPy_END_ALLOW_THREADS;
9868 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9869 _resultobj = Py_BuildValue("s",_ptemp);
9870 return _resultobj;
9871 }
9872
9873 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
9874 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9875 PyObject * _resultobj;
9876 wxColour * _result;
9877 wxGrid * _arg0;
9878 PyObject * _argo0 = 0;
9879 char *_kwnames[] = { "self", NULL };
9880 char _ptemp[128];
9881
9882 self = self;
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
9884 return NULL;
9885 if (_argo0) {
9886 if (_argo0 == Py_None) { _arg0 = NULL; }
9887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
9889 return NULL;
9890 }
9891 }
9892 {
9893 wxPy_BEGIN_ALLOW_THREADS;
9894 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
9895
9896 wxPy_END_ALLOW_THREADS;
9897 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9898 _resultobj = Py_BuildValue("s",_ptemp);
9899 return _resultobj;
9900 }
9901
9902 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
9903 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject * _resultobj;
9905 wxColour * _result;
9906 wxGrid * _arg0;
9907 int _arg1;
9908 int _arg2;
9909 PyObject * _argo0 = 0;
9910 char *_kwnames[] = { "self","row","col", NULL };
9911 char _ptemp[128];
9912
9913 self = self;
9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
9915 return NULL;
9916 if (_argo0) {
9917 if (_argo0 == Py_None) { _arg0 = NULL; }
9918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
9920 return NULL;
9921 }
9922 }
9923 {
9924 wxPy_BEGIN_ALLOW_THREADS;
9925 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
9926
9927 wxPy_END_ALLOW_THREADS;
9928 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9929 _resultobj = Py_BuildValue("s",_ptemp);
9930 return _resultobj;
9931 }
9932
9933 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
9934 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9935 PyObject * _resultobj;
9936 wxFont * _result;
9937 wxGrid * _arg0;
9938 PyObject * _argo0 = 0;
9939 char *_kwnames[] = { "self", NULL };
9940 char _ptemp[128];
9941
9942 self = self;
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
9944 return NULL;
9945 if (_argo0) {
9946 if (_argo0 == Py_None) { _arg0 = NULL; }
9947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
9949 return NULL;
9950 }
9951 }
9952 {
9953 wxPy_BEGIN_ALLOW_THREADS;
9954 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
9955
9956 wxPy_END_ALLOW_THREADS;
9957 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9958 _resultobj = Py_BuildValue("s",_ptemp);
9959 return _resultobj;
9960 }
9961
9962 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
9963 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9964 PyObject * _resultobj;
9965 wxFont * _result;
9966 wxGrid * _arg0;
9967 int _arg1;
9968 int _arg2;
9969 PyObject * _argo0 = 0;
9970 char *_kwnames[] = { "self","row","col", NULL };
9971 char _ptemp[128];
9972
9973 self = self;
9974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
9975 return NULL;
9976 if (_argo0) {
9977 if (_argo0 == Py_None) { _arg0 = NULL; }
9978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
9980 return NULL;
9981 }
9982 }
9983 {
9984 wxPy_BEGIN_ALLOW_THREADS;
9985 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
9986
9987 wxPy_END_ALLOW_THREADS;
9988 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9989 _resultobj = Py_BuildValue("s",_ptemp);
9990 return _resultobj;
9991 }
9992
9993 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
9994 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9995 PyObject * _resultobj;
9996 wxGrid * _arg0;
9997 int * _arg1;
9998 int * _arg2;
9999 PyObject * _argo0 = 0;
10000 PyObject * _argo1 = 0;
10001 PyObject * _argo2 = 0;
10002 char *_kwnames[] = { "self","horiz","vert", NULL };
10003
10004 self = self;
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10006 return NULL;
10007 if (_argo0) {
10008 if (_argo0 == Py_None) { _arg0 = NULL; }
10009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10011 return NULL;
10012 }
10013 }
10014 if (_argo1) {
10015 if (_argo1 == Py_None) { _arg1 = NULL; }
10016 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10017 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10018 return NULL;
10019 }
10020 }
10021 if (_argo2) {
10022 if (_argo2 == Py_None) { _arg2 = NULL; }
10023 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10024 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10025 return NULL;
10026 }
10027 }
10028 {
10029 wxPy_BEGIN_ALLOW_THREADS;
10030 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10031
10032 wxPy_END_ALLOW_THREADS;
10033 } Py_INCREF(Py_None);
10034 _resultobj = Py_None;
10035 return _resultobj;
10036 }
10037
10038 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10039 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject * _resultobj;
10041 wxGrid * _arg0;
10042 int _arg1;
10043 int _arg2;
10044 int * _arg3;
10045 int * _arg4;
10046 PyObject * _argo0 = 0;
10047 PyObject * _argo3 = 0;
10048 PyObject * _argo4 = 0;
10049 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10050
10051 self = self;
10052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10053 return NULL;
10054 if (_argo0) {
10055 if (_argo0 == Py_None) { _arg0 = NULL; }
10056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10058 return NULL;
10059 }
10060 }
10061 if (_argo3) {
10062 if (_argo3 == Py_None) { _arg3 = NULL; }
10063 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10064 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10065 return NULL;
10066 }
10067 }
10068 if (_argo4) {
10069 if (_argo4 == Py_None) { _arg4 = NULL; }
10070 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10071 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10072 return NULL;
10073 }
10074 }
10075 {
10076 wxPy_BEGIN_ALLOW_THREADS;
10077 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10078
10079 wxPy_END_ALLOW_THREADS;
10080 } Py_INCREF(Py_None);
10081 _resultobj = Py_None;
10082 return _resultobj;
10083 }
10084
10085 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10086 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10087 PyObject * _resultobj;
10088 wxGrid * _arg0;
10089 int _arg1;
10090 bool _arg2 = (bool ) FALSE;
10091 PyObject * _argo0 = 0;
10092 int tempbool2 = (int) FALSE;
10093 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10094
10095 self = self;
10096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10097 return NULL;
10098 if (_argo0) {
10099 if (_argo0 == Py_None) { _arg0 = NULL; }
10100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10102 return NULL;
10103 }
10104 }
10105 _arg2 = (bool ) tempbool2;
10106 {
10107 wxPy_BEGIN_ALLOW_THREADS;
10108 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10109
10110 wxPy_END_ALLOW_THREADS;
10111 } Py_INCREF(Py_None);
10112 _resultobj = Py_None;
10113 return _resultobj;
10114 }
10115
10116 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10117 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10118 PyObject * _resultobj;
10119 wxGrid * _arg0;
10120 int _arg1;
10121 int _arg2;
10122 PyObject * _argo0 = 0;
10123 char *_kwnames[] = { "self","row","height", NULL };
10124
10125 self = self;
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10127 return NULL;
10128 if (_argo0) {
10129 if (_argo0 == Py_None) { _arg0 = NULL; }
10130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10132 return NULL;
10133 }
10134 }
10135 {
10136 wxPy_BEGIN_ALLOW_THREADS;
10137 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10138
10139 wxPy_END_ALLOW_THREADS;
10140 } Py_INCREF(Py_None);
10141 _resultobj = Py_None;
10142 return _resultobj;
10143 }
10144
10145 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10146 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10147 PyObject * _resultobj;
10148 wxGrid * _arg0;
10149 int _arg1;
10150 bool _arg2 = (bool ) FALSE;
10151 PyObject * _argo0 = 0;
10152 int tempbool2 = (int) FALSE;
10153 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10154
10155 self = self;
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10157 return NULL;
10158 if (_argo0) {
10159 if (_argo0 == Py_None) { _arg0 = NULL; }
10160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10162 return NULL;
10163 }
10164 }
10165 _arg2 = (bool ) tempbool2;
10166 {
10167 wxPy_BEGIN_ALLOW_THREADS;
10168 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10169
10170 wxPy_END_ALLOW_THREADS;
10171 } Py_INCREF(Py_None);
10172 _resultobj = Py_None;
10173 return _resultobj;
10174 }
10175
10176 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10177 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10178 PyObject * _resultobj;
10179 wxGrid * _arg0;
10180 int _arg1;
10181 int _arg2;
10182 PyObject * _argo0 = 0;
10183 char *_kwnames[] = { "self","col","width", NULL };
10184
10185 self = self;
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10187 return NULL;
10188 if (_argo0) {
10189 if (_argo0 == Py_None) { _arg0 = NULL; }
10190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10192 return NULL;
10193 }
10194 }
10195 {
10196 wxPy_BEGIN_ALLOW_THREADS;
10197 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10198
10199 wxPy_END_ALLOW_THREADS;
10200 } Py_INCREF(Py_None);
10201 _resultobj = Py_None;
10202 return _resultobj;
10203 }
10204
10205 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10206 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10207 PyObject * _resultobj;
10208 wxGrid * _arg0;
10209 int _arg1;
10210 bool _arg2 = (bool ) TRUE;
10211 PyObject * _argo0 = 0;
10212 int tempbool2 = (int) TRUE;
10213 char *_kwnames[] = { "self","col","setAsMin", NULL };
10214
10215 self = self;
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10217 return NULL;
10218 if (_argo0) {
10219 if (_argo0 == Py_None) { _arg0 = NULL; }
10220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10222 return NULL;
10223 }
10224 }
10225 _arg2 = (bool ) tempbool2;
10226 {
10227 wxPy_BEGIN_ALLOW_THREADS;
10228 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10229
10230 wxPy_END_ALLOW_THREADS;
10231 } Py_INCREF(Py_None);
10232 _resultobj = Py_None;
10233 return _resultobj;
10234 }
10235
10236 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10237 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10238 PyObject * _resultobj;
10239 wxGrid * _arg0;
10240 int _arg1;
10241 bool _arg2 = (bool ) TRUE;
10242 PyObject * _argo0 = 0;
10243 int tempbool2 = (int) TRUE;
10244 char *_kwnames[] = { "self","row","setAsMin", NULL };
10245
10246 self = self;
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10248 return NULL;
10249 if (_argo0) {
10250 if (_argo0 == Py_None) { _arg0 = NULL; }
10251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10253 return NULL;
10254 }
10255 }
10256 _arg2 = (bool ) tempbool2;
10257 {
10258 wxPy_BEGIN_ALLOW_THREADS;
10259 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10260
10261 wxPy_END_ALLOW_THREADS;
10262 } Py_INCREF(Py_None);
10263 _resultobj = Py_None;
10264 return _resultobj;
10265 }
10266
10267 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10268 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject * _resultobj;
10270 wxGrid * _arg0;
10271 bool _arg1 = (bool ) TRUE;
10272 PyObject * _argo0 = 0;
10273 int tempbool1 = (int) TRUE;
10274 char *_kwnames[] = { "self","setAsMin", NULL };
10275
10276 self = self;
10277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10278 return NULL;
10279 if (_argo0) {
10280 if (_argo0 == Py_None) { _arg0 = NULL; }
10281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10283 return NULL;
10284 }
10285 }
10286 _arg1 = (bool ) tempbool1;
10287 {
10288 wxPy_BEGIN_ALLOW_THREADS;
10289 wxGrid_AutoSizeColumns(_arg0,_arg1);
10290
10291 wxPy_END_ALLOW_THREADS;
10292 } Py_INCREF(Py_None);
10293 _resultobj = Py_None;
10294 return _resultobj;
10295 }
10296
10297 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10298 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10299 PyObject * _resultobj;
10300 wxGrid * _arg0;
10301 bool _arg1 = (bool ) TRUE;
10302 PyObject * _argo0 = 0;
10303 int tempbool1 = (int) TRUE;
10304 char *_kwnames[] = { "self","setAsMin", NULL };
10305
10306 self = self;
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10308 return NULL;
10309 if (_argo0) {
10310 if (_argo0 == Py_None) { _arg0 = NULL; }
10311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10313 return NULL;
10314 }
10315 }
10316 _arg1 = (bool ) tempbool1;
10317 {
10318 wxPy_BEGIN_ALLOW_THREADS;
10319 wxGrid_AutoSizeRows(_arg0,_arg1);
10320
10321 wxPy_END_ALLOW_THREADS;
10322 } Py_INCREF(Py_None);
10323 _resultobj = Py_None;
10324 return _resultobj;
10325 }
10326
10327 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10328 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10329 PyObject * _resultobj;
10330 wxGrid * _arg0;
10331 PyObject * _argo0 = 0;
10332 char *_kwnames[] = { "self", NULL };
10333
10334 self = self;
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10336 return NULL;
10337 if (_argo0) {
10338 if (_argo0 == Py_None) { _arg0 = NULL; }
10339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10341 return NULL;
10342 }
10343 }
10344 {
10345 wxPy_BEGIN_ALLOW_THREADS;
10346 wxGrid_AutoSize(_arg0);
10347
10348 wxPy_END_ALLOW_THREADS;
10349 } Py_INCREF(Py_None);
10350 _resultobj = Py_None;
10351 return _resultobj;
10352 }
10353
10354 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10355 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10356 PyObject * _resultobj;
10357 wxGrid * _arg0;
10358 int _arg1;
10359 int _arg2;
10360 PyObject * _argo0 = 0;
10361 char *_kwnames[] = { "self","col","width", NULL };
10362
10363 self = self;
10364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10365 return NULL;
10366 if (_argo0) {
10367 if (_argo0 == Py_None) { _arg0 = NULL; }
10368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10370 return NULL;
10371 }
10372 }
10373 {
10374 wxPy_BEGIN_ALLOW_THREADS;
10375 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10376
10377 wxPy_END_ALLOW_THREADS;
10378 } Py_INCREF(Py_None);
10379 _resultobj = Py_None;
10380 return _resultobj;
10381 }
10382
10383 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10384 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10385 PyObject * _resultobj;
10386 wxGrid * _arg0;
10387 int _arg1;
10388 int _arg2;
10389 PyObject * _argo0 = 0;
10390 char *_kwnames[] = { "self","row","width", NULL };
10391
10392 self = self;
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10394 return NULL;
10395 if (_argo0) {
10396 if (_argo0 == Py_None) { _arg0 = NULL; }
10397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10399 return NULL;
10400 }
10401 }
10402 {
10403 wxPy_BEGIN_ALLOW_THREADS;
10404 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10405
10406 wxPy_END_ALLOW_THREADS;
10407 } Py_INCREF(Py_None);
10408 _resultobj = Py_None;
10409 return _resultobj;
10410 }
10411
10412 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10413 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10414 PyObject * _resultobj;
10415 wxGrid * _arg0;
10416 wxColour * _arg1;
10417 PyObject * _argo0 = 0;
10418 wxColour temp;
10419 PyObject * _obj1 = 0;
10420 char *_kwnames[] = { "self","arg2", NULL };
10421
10422 self = self;
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10424 return NULL;
10425 if (_argo0) {
10426 if (_argo0 == Py_None) { _arg0 = NULL; }
10427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10429 return NULL;
10430 }
10431 }
10432 {
10433 _arg1 = &temp;
10434 if (! wxColour_helper(_obj1, &_arg1))
10435 return NULL;
10436 }
10437 {
10438 wxPy_BEGIN_ALLOW_THREADS;
10439 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10440
10441 wxPy_END_ALLOW_THREADS;
10442 } Py_INCREF(Py_None);
10443 _resultobj = Py_None;
10444 return _resultobj;
10445 }
10446
10447 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10448 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10449 PyObject * _resultobj;
10450 wxGrid * _arg0;
10451 int _arg1;
10452 int _arg2;
10453 wxColour * _arg3;
10454 PyObject * _argo0 = 0;
10455 wxColour temp;
10456 PyObject * _obj3 = 0;
10457 char *_kwnames[] = { "self","row","col","arg4", NULL };
10458
10459 self = self;
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10461 return NULL;
10462 if (_argo0) {
10463 if (_argo0 == Py_None) { _arg0 = NULL; }
10464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10466 return NULL;
10467 }
10468 }
10469 {
10470 _arg3 = &temp;
10471 if (! wxColour_helper(_obj3, &_arg3))
10472 return NULL;
10473 }
10474 {
10475 wxPy_BEGIN_ALLOW_THREADS;
10476 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
10477
10478 wxPy_END_ALLOW_THREADS;
10479 } Py_INCREF(Py_None);
10480 _resultobj = Py_None;
10481 return _resultobj;
10482 }
10483
10484 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10485 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10486 PyObject * _resultobj;
10487 wxGrid * _arg0;
10488 wxColour * _arg1;
10489 PyObject * _argo0 = 0;
10490 wxColour temp;
10491 PyObject * _obj1 = 0;
10492 char *_kwnames[] = { "self","arg2", NULL };
10493
10494 self = self;
10495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
10496 return NULL;
10497 if (_argo0) {
10498 if (_argo0 == Py_None) { _arg0 = NULL; }
10499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10501 return NULL;
10502 }
10503 }
10504 {
10505 _arg1 = &temp;
10506 if (! wxColour_helper(_obj1, &_arg1))
10507 return NULL;
10508 }
10509 {
10510 wxPy_BEGIN_ALLOW_THREADS;
10511 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
10512
10513 wxPy_END_ALLOW_THREADS;
10514 } Py_INCREF(Py_None);
10515 _resultobj = Py_None;
10516 return _resultobj;
10517 }
10518
10519 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10520 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10521 PyObject * _resultobj;
10522 wxGrid * _arg0;
10523 int _arg1;
10524 int _arg2;
10525 wxColour * _arg3;
10526 PyObject * _argo0 = 0;
10527 wxColour temp;
10528 PyObject * _obj3 = 0;
10529 char *_kwnames[] = { "self","row","col","arg4", NULL };
10530
10531 self = self;
10532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10533 return NULL;
10534 if (_argo0) {
10535 if (_argo0 == Py_None) { _arg0 = NULL; }
10536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10538 return NULL;
10539 }
10540 }
10541 {
10542 _arg3 = &temp;
10543 if (! wxColour_helper(_obj3, &_arg3))
10544 return NULL;
10545 }
10546 {
10547 wxPy_BEGIN_ALLOW_THREADS;
10548 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
10549
10550 wxPy_END_ALLOW_THREADS;
10551 } Py_INCREF(Py_None);
10552 _resultobj = Py_None;
10553 return _resultobj;
10554 }
10555
10556 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10557 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10558 PyObject * _resultobj;
10559 wxGrid * _arg0;
10560 wxFont * _arg1;
10561 PyObject * _argo0 = 0;
10562 PyObject * _argo1 = 0;
10563 char *_kwnames[] = { "self","arg2", NULL };
10564
10565 self = self;
10566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
10567 return NULL;
10568 if (_argo0) {
10569 if (_argo0 == Py_None) { _arg0 = NULL; }
10570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10572 return NULL;
10573 }
10574 }
10575 if (_argo1) {
10576 if (_argo1 == Py_None) { _arg1 = NULL; }
10577 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
10578 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10579 return NULL;
10580 }
10581 }
10582 {
10583 wxPy_BEGIN_ALLOW_THREADS;
10584 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
10585
10586 wxPy_END_ALLOW_THREADS;
10587 } Py_INCREF(Py_None);
10588 _resultobj = Py_None;
10589 return _resultobj;
10590 }
10591
10592 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10593 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject * _resultobj;
10595 wxGrid * _arg0;
10596 int _arg1;
10597 int _arg2;
10598 wxFont * _arg3;
10599 PyObject * _argo0 = 0;
10600 PyObject * _argo3 = 0;
10601 char *_kwnames[] = { "self","row","col","arg4", NULL };
10602
10603 self = self;
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10605 return NULL;
10606 if (_argo0) {
10607 if (_argo0 == Py_None) { _arg0 = NULL; }
10608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10610 return NULL;
10611 }
10612 }
10613 if (_argo3) {
10614 if (_argo3 == Py_None) { _arg3 = NULL; }
10615 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
10616 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10617 return NULL;
10618 }
10619 }
10620 {
10621 wxPy_BEGIN_ALLOW_THREADS;
10622 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
10623
10624 wxPy_END_ALLOW_THREADS;
10625 } Py_INCREF(Py_None);
10626 _resultobj = Py_None;
10627 return _resultobj;
10628 }
10629
10630 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10631 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10632 PyObject * _resultobj;
10633 wxGrid * _arg0;
10634 int _arg1;
10635 int _arg2;
10636 PyObject * _argo0 = 0;
10637 char *_kwnames[] = { "self","horiz","vert", NULL };
10638
10639 self = self;
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10641 return NULL;
10642 if (_argo0) {
10643 if (_argo0 == Py_None) { _arg0 = NULL; }
10644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10646 return NULL;
10647 }
10648 }
10649 {
10650 wxPy_BEGIN_ALLOW_THREADS;
10651 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
10652
10653 wxPy_END_ALLOW_THREADS;
10654 } Py_INCREF(Py_None);
10655 _resultobj = Py_None;
10656 return _resultobj;
10657 }
10658
10659 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10660 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10661 PyObject * _resultobj;
10662 wxGrid * _arg0;
10663 int _arg1;
10664 int _arg2;
10665 int _arg3;
10666 int _arg4;
10667 PyObject * _argo0 = 0;
10668 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10669
10670 self = self;
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10672 return NULL;
10673 if (_argo0) {
10674 if (_argo0 == Py_None) { _arg0 = NULL; }
10675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10677 return NULL;
10678 }
10679 }
10680 {
10681 wxPy_BEGIN_ALLOW_THREADS;
10682 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10683
10684 wxPy_END_ALLOW_THREADS;
10685 } Py_INCREF(Py_None);
10686 _resultobj = Py_None;
10687 return _resultobj;
10688 }
10689
10690 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10691 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10692 PyObject * _resultobj;
10693 wxGrid * _arg0;
10694 wxGridCellRenderer * _arg1;
10695 PyObject * _argo0 = 0;
10696 PyObject * _argo1 = 0;
10697 char *_kwnames[] = { "self","renderer", NULL };
10698
10699 self = self;
10700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
10701 return NULL;
10702 if (_argo0) {
10703 if (_argo0 == Py_None) { _arg0 = NULL; }
10704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10706 return NULL;
10707 }
10708 }
10709 if (_argo1) {
10710 if (_argo1 == Py_None) { _arg1 = NULL; }
10711 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
10712 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10713 return NULL;
10714 }
10715 }
10716 {
10717 wxPy_BEGIN_ALLOW_THREADS;
10718 wxGrid_SetDefaultRenderer(_arg0,_arg1);
10719
10720 wxPy_END_ALLOW_THREADS;
10721 } Py_INCREF(Py_None);
10722 _resultobj = Py_None;
10723 return _resultobj;
10724 }
10725
10726 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10727 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10728 PyObject * _resultobj;
10729 wxGrid * _arg0;
10730 int _arg1;
10731 int _arg2;
10732 wxGridCellRenderer * _arg3;
10733 PyObject * _argo0 = 0;
10734 PyObject * _argo3 = 0;
10735 char *_kwnames[] = { "self","row","col","renderer", NULL };
10736
10737 self = self;
10738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10739 return NULL;
10740 if (_argo0) {
10741 if (_argo0 == Py_None) { _arg0 = NULL; }
10742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10744 return NULL;
10745 }
10746 }
10747 if (_argo3) {
10748 if (_argo3 == Py_None) { _arg3 = NULL; }
10749 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
10750 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10751 return NULL;
10752 }
10753 }
10754 {
10755 wxPy_BEGIN_ALLOW_THREADS;
10756 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
10757
10758 wxPy_END_ALLOW_THREADS;
10759 } Py_INCREF(Py_None);
10760 _resultobj = Py_None;
10761 return _resultobj;
10762 }
10763
10764 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10765 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10766 PyObject * _resultobj;
10767 wxGridCellRenderer * _result;
10768 wxGrid * _arg0;
10769 PyObject * _argo0 = 0;
10770 char *_kwnames[] = { "self", NULL };
10771 char _ptemp[128];
10772
10773 self = self;
10774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
10775 return NULL;
10776 if (_argo0) {
10777 if (_argo0 == Py_None) { _arg0 = NULL; }
10778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10780 return NULL;
10781 }
10782 }
10783 {
10784 wxPy_BEGIN_ALLOW_THREADS;
10785 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
10786
10787 wxPy_END_ALLOW_THREADS;
10788 } if (_result) {
10789 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10790 _resultobj = Py_BuildValue("s",_ptemp);
10791 } else {
10792 Py_INCREF(Py_None);
10793 _resultobj = Py_None;
10794 }
10795 return _resultobj;
10796 }
10797
10798 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
10799 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10800 PyObject * _resultobj;
10801 wxGridCellRenderer * _result;
10802 wxGrid * _arg0;
10803 int _arg1;
10804 int _arg2;
10805 PyObject * _argo0 = 0;
10806 char *_kwnames[] = { "self","row","col", NULL };
10807 char _ptemp[128];
10808
10809 self = self;
10810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
10811 return NULL;
10812 if (_argo0) {
10813 if (_argo0 == Py_None) { _arg0 = NULL; }
10814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
10816 return NULL;
10817 }
10818 }
10819 {
10820 wxPy_BEGIN_ALLOW_THREADS;
10821 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
10822
10823 wxPy_END_ALLOW_THREADS;
10824 } if (_result) {
10825 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10826 _resultobj = Py_BuildValue("s",_ptemp);
10827 } else {
10828 Py_INCREF(Py_None);
10829 _resultobj = Py_None;
10830 }
10831 return _resultobj;
10832 }
10833
10834 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
10835 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10836 PyObject * _resultobj;
10837 wxGrid * _arg0;
10838 wxGridCellEditor * _arg1;
10839 PyObject * _argo0 = 0;
10840 PyObject * _argo1 = 0;
10841 char *_kwnames[] = { "self","editor", NULL };
10842
10843 self = self;
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
10845 return NULL;
10846 if (_argo0) {
10847 if (_argo0 == Py_None) { _arg0 = NULL; }
10848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
10850 return NULL;
10851 }
10852 }
10853 if (_argo1) {
10854 if (_argo1 == Py_None) { _arg1 = NULL; }
10855 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
10856 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
10857 return NULL;
10858 }
10859 }
10860 {
10861 wxPy_BEGIN_ALLOW_THREADS;
10862 wxGrid_SetDefaultEditor(_arg0,_arg1);
10863
10864 wxPy_END_ALLOW_THREADS;
10865 } Py_INCREF(Py_None);
10866 _resultobj = Py_None;
10867 return _resultobj;
10868 }
10869
10870 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
10871 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject * _resultobj;
10873 wxGrid * _arg0;
10874 int _arg1;
10875 int _arg2;
10876 wxGridCellEditor * _arg3;
10877 PyObject * _argo0 = 0;
10878 PyObject * _argo3 = 0;
10879 char *_kwnames[] = { "self","row","col","editor", NULL };
10880
10881 self = self;
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10883 return NULL;
10884 if (_argo0) {
10885 if (_argo0 == Py_None) { _arg0 = NULL; }
10886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
10888 return NULL;
10889 }
10890 }
10891 if (_argo3) {
10892 if (_argo3 == Py_None) { _arg3 = NULL; }
10893 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
10894 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
10895 return NULL;
10896 }
10897 }
10898 {
10899 wxPy_BEGIN_ALLOW_THREADS;
10900 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
10901
10902 wxPy_END_ALLOW_THREADS;
10903 } Py_INCREF(Py_None);
10904 _resultobj = Py_None;
10905 return _resultobj;
10906 }
10907
10908 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
10909 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10910 PyObject * _resultobj;
10911 wxGridCellEditor * _result;
10912 wxGrid * _arg0;
10913 PyObject * _argo0 = 0;
10914 char *_kwnames[] = { "self", NULL };
10915 char _ptemp[128];
10916
10917 self = self;
10918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
10919 return NULL;
10920 if (_argo0) {
10921 if (_argo0 == Py_None) { _arg0 = NULL; }
10922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
10924 return NULL;
10925 }
10926 }
10927 {
10928 wxPy_BEGIN_ALLOW_THREADS;
10929 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
10930
10931 wxPy_END_ALLOW_THREADS;
10932 } if (_result) {
10933 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10934 _resultobj = Py_BuildValue("s",_ptemp);
10935 } else {
10936 Py_INCREF(Py_None);
10937 _resultobj = Py_None;
10938 }
10939 return _resultobj;
10940 }
10941
10942 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
10943 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10944 PyObject * _resultobj;
10945 wxGridCellEditor * _result;
10946 wxGrid * _arg0;
10947 int _arg1;
10948 int _arg2;
10949 PyObject * _argo0 = 0;
10950 char *_kwnames[] = { "self","row","col", NULL };
10951 char _ptemp[128];
10952
10953 self = self;
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
10955 return NULL;
10956 if (_argo0) {
10957 if (_argo0 == Py_None) { _arg0 = NULL; }
10958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
10960 return NULL;
10961 }
10962 }
10963 {
10964 wxPy_BEGIN_ALLOW_THREADS;
10965 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
10966
10967 wxPy_END_ALLOW_THREADS;
10968 } if (_result) {
10969 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10970 _resultobj = Py_BuildValue("s",_ptemp);
10971 } else {
10972 Py_INCREF(Py_None);
10973 _resultobj = Py_None;
10974 }
10975 return _resultobj;
10976 }
10977
10978 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
10979 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10980 PyObject * _resultobj;
10981 wxString * _result;
10982 wxGrid * _arg0;
10983 int _arg1;
10984 int _arg2;
10985 PyObject * _argo0 = 0;
10986 char *_kwnames[] = { "self","row","col", NULL };
10987
10988 self = self;
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
10990 return NULL;
10991 if (_argo0) {
10992 if (_argo0 == Py_None) { _arg0 = NULL; }
10993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
10995 return NULL;
10996 }
10997 }
10998 {
10999 wxPy_BEGIN_ALLOW_THREADS;
11000 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11001
11002 wxPy_END_ALLOW_THREADS;
11003 }{
11004 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11005 }
11006 {
11007 delete _result;
11008 }
11009 return _resultobj;
11010 }
11011
11012 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11013 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11014 PyObject * _resultobj;
11015 wxGrid * _arg0;
11016 int _arg1;
11017 int _arg2;
11018 wxString * _arg3;
11019 PyObject * _argo0 = 0;
11020 PyObject * _obj3 = 0;
11021 char *_kwnames[] = { "self","row","col","s", NULL };
11022
11023 self = self;
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11025 return NULL;
11026 if (_argo0) {
11027 if (_argo0 == Py_None) { _arg0 = NULL; }
11028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11030 return NULL;
11031 }
11032 }
11033 {
11034 #if PYTHON_API_VERSION >= 1009
11035 char* tmpPtr; int tmpSize;
11036 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
11037 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11038 return NULL;
11039 }
11040 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11041 return NULL;
11042 _arg3 = new wxString(tmpPtr, tmpSize);
11043 #else
11044 if (!PyString_Check(_obj3)) {
11045 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11046 return NULL;
11047 }
11048 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11049 #endif
11050 }
11051 {
11052 wxPy_BEGIN_ALLOW_THREADS;
11053 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11054
11055 wxPy_END_ALLOW_THREADS;
11056 } Py_INCREF(Py_None);
11057 _resultobj = Py_None;
11058 {
11059 if (_obj3)
11060 delete _arg3;
11061 }
11062 return _resultobj;
11063 }
11064
11065 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11066 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject * _resultobj;
11068 bool _result;
11069 wxGrid * _arg0;
11070 int _arg1;
11071 int _arg2;
11072 PyObject * _argo0 = 0;
11073 char *_kwnames[] = { "self","row","col", NULL };
11074
11075 self = self;
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11077 return NULL;
11078 if (_argo0) {
11079 if (_argo0 == Py_None) { _arg0 = NULL; }
11080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11082 return NULL;
11083 }
11084 }
11085 {
11086 wxPy_BEGIN_ALLOW_THREADS;
11087 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11088
11089 wxPy_END_ALLOW_THREADS;
11090 } _resultobj = Py_BuildValue("i",_result);
11091 return _resultobj;
11092 }
11093
11094 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11095 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11096 PyObject * _resultobj;
11097 wxGrid * _arg0;
11098 int _arg1;
11099 int _arg2;
11100 bool _arg3 = (bool ) TRUE;
11101 PyObject * _argo0 = 0;
11102 int tempbool3 = (int) TRUE;
11103 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11104
11105 self = self;
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11107 return NULL;
11108 if (_argo0) {
11109 if (_argo0 == Py_None) { _arg0 = NULL; }
11110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11112 return NULL;
11113 }
11114 }
11115 _arg3 = (bool ) tempbool3;
11116 {
11117 wxPy_BEGIN_ALLOW_THREADS;
11118 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11119
11120 wxPy_END_ALLOW_THREADS;
11121 } Py_INCREF(Py_None);
11122 _resultobj = Py_None;
11123 return _resultobj;
11124 }
11125
11126 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11127 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11128 PyObject * _resultobj;
11129 wxGrid * _arg0;
11130 int _arg1;
11131 bool _arg2 = (bool ) FALSE;
11132 PyObject * _argo0 = 0;
11133 int tempbool2 = (int) FALSE;
11134 char *_kwnames[] = { "self","row","addToSelected", NULL };
11135
11136 self = self;
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11138 return NULL;
11139 if (_argo0) {
11140 if (_argo0 == Py_None) { _arg0 = NULL; }
11141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11143 return NULL;
11144 }
11145 }
11146 _arg2 = (bool ) tempbool2;
11147 {
11148 wxPy_BEGIN_ALLOW_THREADS;
11149 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11150
11151 wxPy_END_ALLOW_THREADS;
11152 } Py_INCREF(Py_None);
11153 _resultobj = Py_None;
11154 return _resultobj;
11155 }
11156
11157 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11158 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject * _resultobj;
11160 wxGrid * _arg0;
11161 int _arg1;
11162 bool _arg2 = (bool ) FALSE;
11163 PyObject * _argo0 = 0;
11164 int tempbool2 = (int) FALSE;
11165 char *_kwnames[] = { "self","col","addToSelected", NULL };
11166
11167 self = self;
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11169 return NULL;
11170 if (_argo0) {
11171 if (_argo0 == Py_None) { _arg0 = NULL; }
11172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11174 return NULL;
11175 }
11176 }
11177 _arg2 = (bool ) tempbool2;
11178 {
11179 wxPy_BEGIN_ALLOW_THREADS;
11180 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11181
11182 wxPy_END_ALLOW_THREADS;
11183 } Py_INCREF(Py_None);
11184 _resultobj = Py_None;
11185 return _resultobj;
11186 }
11187
11188 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11189 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject * _resultobj;
11191 wxGrid * _arg0;
11192 int _arg1;
11193 int _arg2;
11194 int _arg3;
11195 int _arg4;
11196 bool _arg5 = (bool ) FALSE;
11197 PyObject * _argo0 = 0;
11198 int tempbool5 = (int) FALSE;
11199 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
11200
11201 self = self;
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
11203 return NULL;
11204 if (_argo0) {
11205 if (_argo0 == Py_None) { _arg0 = NULL; }
11206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11208 return NULL;
11209 }
11210 }
11211 _arg5 = (bool ) tempbool5;
11212 {
11213 wxPy_BEGIN_ALLOW_THREADS;
11214 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11215
11216 wxPy_END_ALLOW_THREADS;
11217 } Py_INCREF(Py_None);
11218 _resultobj = Py_None;
11219 return _resultobj;
11220 }
11221
11222 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11223 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11224 PyObject * _resultobj;
11225 wxGrid * _arg0;
11226 PyObject * _argo0 = 0;
11227 char *_kwnames[] = { "self", NULL };
11228
11229 self = self;
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11231 return NULL;
11232 if (_argo0) {
11233 if (_argo0 == Py_None) { _arg0 = NULL; }
11234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11236 return NULL;
11237 }
11238 }
11239 {
11240 wxPy_BEGIN_ALLOW_THREADS;
11241 wxGrid_SelectAll(_arg0);
11242
11243 wxPy_END_ALLOW_THREADS;
11244 } Py_INCREF(Py_None);
11245 _resultobj = Py_None;
11246 return _resultobj;
11247 }
11248
11249 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11250 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11251 PyObject * _resultobj;
11252 bool _result;
11253 wxGrid * _arg0;
11254 PyObject * _argo0 = 0;
11255 char *_kwnames[] = { "self", NULL };
11256
11257 self = self;
11258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11259 return NULL;
11260 if (_argo0) {
11261 if (_argo0 == Py_None) { _arg0 = NULL; }
11262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11264 return NULL;
11265 }
11266 }
11267 {
11268 wxPy_BEGIN_ALLOW_THREADS;
11269 _result = (bool )wxGrid_IsSelection(_arg0);
11270
11271 wxPy_END_ALLOW_THREADS;
11272 } _resultobj = Py_BuildValue("i",_result);
11273 return _resultobj;
11274 }
11275
11276 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11277 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11278 PyObject * _resultobj;
11279 wxGrid * _arg0;
11280 PyObject * _argo0 = 0;
11281 char *_kwnames[] = { "self", NULL };
11282
11283 self = self;
11284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11285 return NULL;
11286 if (_argo0) {
11287 if (_argo0 == Py_None) { _arg0 = NULL; }
11288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11290 return NULL;
11291 }
11292 }
11293 {
11294 wxPy_BEGIN_ALLOW_THREADS;
11295 wxGrid_ClearSelection(_arg0);
11296
11297 wxPy_END_ALLOW_THREADS;
11298 } Py_INCREF(Py_None);
11299 _resultobj = Py_None;
11300 return _resultobj;
11301 }
11302
11303 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11304 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11305 PyObject * _resultobj;
11306 bool _result;
11307 wxGrid * _arg0;
11308 int _arg1;
11309 int _arg2;
11310 PyObject * _argo0 = 0;
11311 char *_kwnames[] = { "self","row","col", NULL };
11312
11313 self = self;
11314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11315 return NULL;
11316 if (_argo0) {
11317 if (_argo0 == Py_None) { _arg0 = NULL; }
11318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11320 return NULL;
11321 }
11322 }
11323 {
11324 wxPy_BEGIN_ALLOW_THREADS;
11325 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11326
11327 wxPy_END_ALLOW_THREADS;
11328 } _resultobj = Py_BuildValue("i",_result);
11329 return _resultobj;
11330 }
11331
11332 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11333 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject * _resultobj;
11335 wxRect * _result;
11336 wxGrid * _arg0;
11337 wxGridCellCoords * _arg1;
11338 wxGridCellCoords * _arg2;
11339 PyObject * _argo0 = 0;
11340 wxGridCellCoords temp;
11341 PyObject * _obj1 = 0;
11342 wxGridCellCoords temp0;
11343 PyObject * _obj2 = 0;
11344 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11345 char _ptemp[128];
11346
11347 self = self;
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11349 return NULL;
11350 if (_argo0) {
11351 if (_argo0 == Py_None) { _arg0 = NULL; }
11352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11354 return NULL;
11355 }
11356 }
11357 {
11358 _arg1 = &temp;
11359 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11360 return NULL;
11361 }
11362 {
11363 _arg2 = &temp0;
11364 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11365 return NULL;
11366 }
11367 {
11368 wxPy_BEGIN_ALLOW_THREADS;
11369 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11370
11371 wxPy_END_ALLOW_THREADS;
11372 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11373 _resultobj = Py_BuildValue("s",_ptemp);
11374 return _resultobj;
11375 }
11376
11377 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11378 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11379 PyObject * _resultobj;
11380 wxColour * _result;
11381 wxGrid * _arg0;
11382 PyObject * _argo0 = 0;
11383 char *_kwnames[] = { "self", NULL };
11384 char _ptemp[128];
11385
11386 self = self;
11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11388 return NULL;
11389 if (_argo0) {
11390 if (_argo0 == Py_None) { _arg0 = NULL; }
11391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11393 return NULL;
11394 }
11395 }
11396 {
11397 wxPy_BEGIN_ALLOW_THREADS;
11398 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11399
11400 wxPy_END_ALLOW_THREADS;
11401 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11402 _resultobj = Py_BuildValue("s",_ptemp);
11403 return _resultobj;
11404 }
11405
11406 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11407 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11408 PyObject * _resultobj;
11409 wxColour * _result;
11410 wxGrid * _arg0;
11411 PyObject * _argo0 = 0;
11412 char *_kwnames[] = { "self", NULL };
11413 char _ptemp[128];
11414
11415 self = self;
11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11417 return NULL;
11418 if (_argo0) {
11419 if (_argo0 == Py_None) { _arg0 = NULL; }
11420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11422 return NULL;
11423 }
11424 }
11425 {
11426 wxPy_BEGIN_ALLOW_THREADS;
11427 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
11428
11429 wxPy_END_ALLOW_THREADS;
11430 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11431 _resultobj = Py_BuildValue("s",_ptemp);
11432 return _resultobj;
11433 }
11434
11435 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11436 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject * _resultobj;
11438 wxGrid * _arg0;
11439 wxColour * _arg1;
11440 PyObject * _argo0 = 0;
11441 wxColour temp;
11442 PyObject * _obj1 = 0;
11443 char *_kwnames[] = { "self","c", NULL };
11444
11445 self = self;
11446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
11447 return NULL;
11448 if (_argo0) {
11449 if (_argo0 == Py_None) { _arg0 = NULL; }
11450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11452 return NULL;
11453 }
11454 }
11455 {
11456 _arg1 = &temp;
11457 if (! wxColour_helper(_obj1, &_arg1))
11458 return NULL;
11459 }
11460 {
11461 wxPy_BEGIN_ALLOW_THREADS;
11462 wxGrid_SetSelectionBackground(_arg0,*_arg1);
11463
11464 wxPy_END_ALLOW_THREADS;
11465 } Py_INCREF(Py_None);
11466 _resultobj = Py_None;
11467 return _resultobj;
11468 }
11469
11470 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11471 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11472 PyObject * _resultobj;
11473 wxGrid * _arg0;
11474 wxColour * _arg1;
11475 PyObject * _argo0 = 0;
11476 wxColour temp;
11477 PyObject * _obj1 = 0;
11478 char *_kwnames[] = { "self","c", NULL };
11479
11480 self = self;
11481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
11482 return NULL;
11483 if (_argo0) {
11484 if (_argo0 == Py_None) { _arg0 = NULL; }
11485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11487 return NULL;
11488 }
11489 }
11490 {
11491 _arg1 = &temp;
11492 if (! wxColour_helper(_obj1, &_arg1))
11493 return NULL;
11494 }
11495 {
11496 wxPy_BEGIN_ALLOW_THREADS;
11497 wxGrid_SetSelectionForeground(_arg0,*_arg1);
11498
11499 wxPy_END_ALLOW_THREADS;
11500 } Py_INCREF(Py_None);
11501 _resultobj = Py_None;
11502 return _resultobj;
11503 }
11504
11505 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11506 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
11507 PyObject * _resultobj;
11508 wxGrid * _arg0;
11509 wxString * _arg1;
11510 wxGridCellRenderer * _arg2;
11511 wxGridCellEditor * _arg3;
11512 PyObject * _argo0 = 0;
11513 PyObject * _obj1 = 0;
11514 PyObject * _argo2 = 0;
11515 PyObject * _argo3 = 0;
11516 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
11517
11518 self = self;
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
11520 return NULL;
11521 if (_argo0) {
11522 if (_argo0 == Py_None) { _arg0 = NULL; }
11523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
11525 return NULL;
11526 }
11527 }
11528 {
11529 #if PYTHON_API_VERSION >= 1009
11530 char* tmpPtr; int tmpSize;
11531 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11532 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11533 return NULL;
11534 }
11535 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11536 return NULL;
11537 _arg1 = new wxString(tmpPtr, tmpSize);
11538 #else
11539 if (!PyString_Check(_obj1)) {
11540 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11541 return NULL;
11542 }
11543 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11544 #endif
11545 }
11546 if (_argo2) {
11547 if (_argo2 == Py_None) { _arg2 = NULL; }
11548 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
11549 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11550 return NULL;
11551 }
11552 }
11553 if (_argo3) {
11554 if (_argo3 == Py_None) { _arg3 = NULL; }
11555 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11556 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11557 return NULL;
11558 }
11559 }
11560 {
11561 wxPy_BEGIN_ALLOW_THREADS;
11562 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
11563
11564 wxPy_END_ALLOW_THREADS;
11565 } Py_INCREF(Py_None);
11566 _resultobj = Py_None;
11567 {
11568 if (_obj1)
11569 delete _arg1;
11570 }
11571 return _resultobj;
11572 }
11573
11574 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11575 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11576 PyObject * _resultobj;
11577 wxGridCellEditor * _result;
11578 wxGrid * _arg0;
11579 int _arg1;
11580 int _arg2;
11581 PyObject * _argo0 = 0;
11582 char *_kwnames[] = { "self","row","col", NULL };
11583 char _ptemp[128];
11584
11585 self = self;
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11587 return NULL;
11588 if (_argo0) {
11589 if (_argo0 == Py_None) { _arg0 = NULL; }
11590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11592 return NULL;
11593 }
11594 }
11595 {
11596 wxPy_BEGIN_ALLOW_THREADS;
11597 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
11598
11599 wxPy_END_ALLOW_THREADS;
11600 } if (_result) {
11601 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11602 _resultobj = Py_BuildValue("s",_ptemp);
11603 } else {
11604 Py_INCREF(Py_None);
11605 _resultobj = Py_None;
11606 }
11607 return _resultobj;
11608 }
11609
11610 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11611 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11612 PyObject * _resultobj;
11613 wxGridCellRenderer * _result;
11614 wxGrid * _arg0;
11615 int _arg1;
11616 int _arg2;
11617 PyObject * _argo0 = 0;
11618 char *_kwnames[] = { "self","row","col", NULL };
11619 char _ptemp[128];
11620
11621 self = self;
11622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11623 return NULL;
11624 if (_argo0) {
11625 if (_argo0 == Py_None) { _arg0 = NULL; }
11626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11628 return NULL;
11629 }
11630 }
11631 {
11632 wxPy_BEGIN_ALLOW_THREADS;
11633 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
11634
11635 wxPy_END_ALLOW_THREADS;
11636 } if (_result) {
11637 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11638 _resultobj = Py_BuildValue("s",_ptemp);
11639 } else {
11640 Py_INCREF(Py_None);
11641 _resultobj = Py_None;
11642 }
11643 return _resultobj;
11644 }
11645
11646 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11647 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11648 PyObject * _resultobj;
11649 wxGridCellEditor * _result;
11650 wxGrid * _arg0;
11651 wxString * _arg1;
11652 PyObject * _argo0 = 0;
11653 PyObject * _obj1 = 0;
11654 char *_kwnames[] = { "self","typeName", NULL };
11655 char _ptemp[128];
11656
11657 self = self;
11658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
11659 return NULL;
11660 if (_argo0) {
11661 if (_argo0 == Py_None) { _arg0 = NULL; }
11662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
11664 return NULL;
11665 }
11666 }
11667 {
11668 #if PYTHON_API_VERSION >= 1009
11669 char* tmpPtr; int tmpSize;
11670 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11671 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11672 return NULL;
11673 }
11674 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11675 return NULL;
11676 _arg1 = new wxString(tmpPtr, tmpSize);
11677 #else
11678 if (!PyString_Check(_obj1)) {
11679 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11680 return NULL;
11681 }
11682 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11683 #endif
11684 }
11685 {
11686 wxPy_BEGIN_ALLOW_THREADS;
11687 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
11688
11689 wxPy_END_ALLOW_THREADS;
11690 } if (_result) {
11691 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11692 _resultobj = Py_BuildValue("s",_ptemp);
11693 } else {
11694 Py_INCREF(Py_None);
11695 _resultobj = Py_None;
11696 }
11697 {
11698 if (_obj1)
11699 delete _arg1;
11700 }
11701 return _resultobj;
11702 }
11703
11704 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11705 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11706 PyObject * _resultobj;
11707 wxGridCellRenderer * _result;
11708 wxGrid * _arg0;
11709 wxString * _arg1;
11710 PyObject * _argo0 = 0;
11711 PyObject * _obj1 = 0;
11712 char *_kwnames[] = { "self","typeName", NULL };
11713 char _ptemp[128];
11714
11715 self = self;
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
11717 return NULL;
11718 if (_argo0) {
11719 if (_argo0 == Py_None) { _arg0 = NULL; }
11720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11722 return NULL;
11723 }
11724 }
11725 {
11726 #if PYTHON_API_VERSION >= 1009
11727 char* tmpPtr; int tmpSize;
11728 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11729 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11730 return NULL;
11731 }
11732 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11733 return NULL;
11734 _arg1 = new wxString(tmpPtr, tmpSize);
11735 #else
11736 if (!PyString_Check(_obj1)) {
11737 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11738 return NULL;
11739 }
11740 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11741 #endif
11742 }
11743 {
11744 wxPy_BEGIN_ALLOW_THREADS;
11745 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
11746
11747 wxPy_END_ALLOW_THREADS;
11748 } if (_result) {
11749 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11750 _resultobj = Py_BuildValue("s",_ptemp);
11751 } else {
11752 Py_INCREF(Py_None);
11753 _resultobj = Py_None;
11754 }
11755 {
11756 if (_obj1)
11757 delete _arg1;
11758 }
11759 return _resultobj;
11760 }
11761
11762 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11763 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
11764 PyObject * _resultobj;
11765 wxGrid * _arg0;
11766 int _arg1;
11767 int _arg2;
11768 PyObject * _argo0 = 0;
11769 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
11770
11771 self = self;
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
11773 return NULL;
11774 if (_argo0) {
11775 if (_argo0 == Py_None) { _arg0 = NULL; }
11776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11778 return NULL;
11779 }
11780 }
11781 {
11782 wxPy_BEGIN_ALLOW_THREADS;
11783 wxGrid_SetMargins(_arg0,_arg1,_arg2);
11784
11785 wxPy_END_ALLOW_THREADS;
11786 } Py_INCREF(Py_None);
11787 _resultobj = Py_None;
11788 return _resultobj;
11789 }
11790
11791 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
11792 wxGridEvent *src;
11793 wxNotifyEvent *dest;
11794 src = (wxGridEvent *) ptr;
11795 dest = (wxNotifyEvent *) src;
11796 return (void *) dest;
11797 }
11798
11799 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
11800 wxGridEvent *src;
11801 wxCommandEvent *dest;
11802 src = (wxGridEvent *) ptr;
11803 dest = (wxCommandEvent *) src;
11804 return (void *) dest;
11805 }
11806
11807 static void *SwigwxGridEventTowxEvent(void *ptr) {
11808 wxGridEvent *src;
11809 wxEvent *dest;
11810 src = (wxGridEvent *) ptr;
11811 dest = (wxEvent *) src;
11812 return (void *) dest;
11813 }
11814
11815 #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))
11816 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11817 PyObject * _resultobj;
11818 wxGridEvent * _result;
11819 int _arg0;
11820 wxEventType _arg1;
11821 wxGrid * _arg2;
11822 int _arg3 = (int ) -1;
11823 int _arg4 = (int ) -1;
11824 int _arg5 = (int ) -1;
11825 int _arg6 = (int ) -1;
11826 bool _arg7 = (bool ) TRUE;
11827 bool _arg8 = (bool ) FALSE;
11828 bool _arg9 = (bool ) FALSE;
11829 bool _arg10 = (bool ) FALSE;
11830 bool _arg11 = (bool ) FALSE;
11831 PyObject * _argo2 = 0;
11832 int tempbool7 = (int) TRUE;
11833 int tempbool8 = (int) FALSE;
11834 int tempbool9 = (int) FALSE;
11835 int tempbool10 = (int) FALSE;
11836 int tempbool11 = (int) FALSE;
11837 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
11838 char _ptemp[128];
11839
11840 self = self;
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
11842 return NULL;
11843 if (_argo2) {
11844 if (_argo2 == Py_None) { _arg2 = NULL; }
11845 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
11846 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
11847 return NULL;
11848 }
11849 }
11850 _arg7 = (bool ) tempbool7;
11851 _arg8 = (bool ) tempbool8;
11852 _arg9 = (bool ) tempbool9;
11853 _arg10 = (bool ) tempbool10;
11854 _arg11 = (bool ) tempbool11;
11855 {
11856 wxPy_BEGIN_ALLOW_THREADS;
11857 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
11858
11859 wxPy_END_ALLOW_THREADS;
11860 } if (_result) {
11861 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
11862 _resultobj = Py_BuildValue("s",_ptemp);
11863 } else {
11864 Py_INCREF(Py_None);
11865 _resultobj = Py_None;
11866 }
11867 return _resultobj;
11868 }
11869
11870 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
11871 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11872 PyObject * _resultobj;
11873 int _result;
11874 wxGridEvent * _arg0;
11875 PyObject * _argo0 = 0;
11876 char *_kwnames[] = { "self", NULL };
11877
11878 self = self;
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
11880 return NULL;
11881 if (_argo0) {
11882 if (_argo0 == Py_None) { _arg0 = NULL; }
11883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
11885 return NULL;
11886 }
11887 }
11888 {
11889 wxPy_BEGIN_ALLOW_THREADS;
11890 _result = (int )wxGridEvent_GetRow(_arg0);
11891
11892 wxPy_END_ALLOW_THREADS;
11893 } _resultobj = Py_BuildValue("i",_result);
11894 return _resultobj;
11895 }
11896
11897 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
11898 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11899 PyObject * _resultobj;
11900 int _result;
11901 wxGridEvent * _arg0;
11902 PyObject * _argo0 = 0;
11903 char *_kwnames[] = { "self", NULL };
11904
11905 self = self;
11906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
11907 return NULL;
11908 if (_argo0) {
11909 if (_argo0 == Py_None) { _arg0 = NULL; }
11910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
11912 return NULL;
11913 }
11914 }
11915 {
11916 wxPy_BEGIN_ALLOW_THREADS;
11917 _result = (int )wxGridEvent_GetCol(_arg0);
11918
11919 wxPy_END_ALLOW_THREADS;
11920 } _resultobj = Py_BuildValue("i",_result);
11921 return _resultobj;
11922 }
11923
11924 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11925 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11926 PyObject * _resultobj;
11927 wxPoint * _result;
11928 wxGridEvent * _arg0;
11929 PyObject * _argo0 = 0;
11930 char *_kwnames[] = { "self", NULL };
11931 char _ptemp[128];
11932
11933 self = self;
11934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
11935 return NULL;
11936 if (_argo0) {
11937 if (_argo0 == Py_None) { _arg0 = NULL; }
11938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
11940 return NULL;
11941 }
11942 }
11943 {
11944 wxPy_BEGIN_ALLOW_THREADS;
11945 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
11946
11947 wxPy_END_ALLOW_THREADS;
11948 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
11949 _resultobj = Py_BuildValue("s",_ptemp);
11950 return _resultobj;
11951 }
11952
11953 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
11954 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
11955 PyObject * _resultobj;
11956 bool _result;
11957 wxGridEvent * _arg0;
11958 PyObject * _argo0 = 0;
11959 char *_kwnames[] = { "self", NULL };
11960
11961 self = self;
11962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
11963 return NULL;
11964 if (_argo0) {
11965 if (_argo0 == Py_None) { _arg0 = NULL; }
11966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
11968 return NULL;
11969 }
11970 }
11971 {
11972 wxPy_BEGIN_ALLOW_THREADS;
11973 _result = (bool )wxGridEvent_Selecting(_arg0);
11974
11975 wxPy_END_ALLOW_THREADS;
11976 } _resultobj = Py_BuildValue("i",_result);
11977 return _resultobj;
11978 }
11979
11980 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11981 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11982 PyObject * _resultobj;
11983 bool _result;
11984 wxGridEvent * _arg0;
11985 PyObject * _argo0 = 0;
11986 char *_kwnames[] = { "self", NULL };
11987
11988 self = self;
11989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
11990 return NULL;
11991 if (_argo0) {
11992 if (_argo0 == Py_None) { _arg0 = NULL; }
11993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
11995 return NULL;
11996 }
11997 }
11998 {
11999 wxPy_BEGIN_ALLOW_THREADS;
12000 _result = (bool )wxGridEvent_ControlDown(_arg0);
12001
12002 wxPy_END_ALLOW_THREADS;
12003 } _resultobj = Py_BuildValue("i",_result);
12004 return _resultobj;
12005 }
12006
12007 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12008 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12009 PyObject * _resultobj;
12010 bool _result;
12011 wxGridEvent * _arg0;
12012 PyObject * _argo0 = 0;
12013 char *_kwnames[] = { "self", NULL };
12014
12015 self = self;
12016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12017 return NULL;
12018 if (_argo0) {
12019 if (_argo0 == Py_None) { _arg0 = NULL; }
12020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12022 return NULL;
12023 }
12024 }
12025 {
12026 wxPy_BEGIN_ALLOW_THREADS;
12027 _result = (bool )wxGridEvent_MetaDown(_arg0);
12028
12029 wxPy_END_ALLOW_THREADS;
12030 } _resultobj = Py_BuildValue("i",_result);
12031 return _resultobj;
12032 }
12033
12034 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12035 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12036 PyObject * _resultobj;
12037 bool _result;
12038 wxGridEvent * _arg0;
12039 PyObject * _argo0 = 0;
12040 char *_kwnames[] = { "self", NULL };
12041
12042 self = self;
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12044 return NULL;
12045 if (_argo0) {
12046 if (_argo0 == Py_None) { _arg0 = NULL; }
12047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12049 return NULL;
12050 }
12051 }
12052 {
12053 wxPy_BEGIN_ALLOW_THREADS;
12054 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12055
12056 wxPy_END_ALLOW_THREADS;
12057 } _resultobj = Py_BuildValue("i",_result);
12058 return _resultobj;
12059 }
12060
12061 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12062 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12063 PyObject * _resultobj;
12064 bool _result;
12065 wxGridEvent * _arg0;
12066 PyObject * _argo0 = 0;
12067 char *_kwnames[] = { "self", NULL };
12068
12069 self = self;
12070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12071 return NULL;
12072 if (_argo0) {
12073 if (_argo0 == Py_None) { _arg0 = NULL; }
12074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12076 return NULL;
12077 }
12078 }
12079 {
12080 wxPy_BEGIN_ALLOW_THREADS;
12081 _result = (bool )wxGridEvent_AltDown(_arg0);
12082
12083 wxPy_END_ALLOW_THREADS;
12084 } _resultobj = Py_BuildValue("i",_result);
12085 return _resultobj;
12086 }
12087
12088 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12089 wxGridSizeEvent *src;
12090 wxNotifyEvent *dest;
12091 src = (wxGridSizeEvent *) ptr;
12092 dest = (wxNotifyEvent *) src;
12093 return (void *) dest;
12094 }
12095
12096 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12097 wxGridSizeEvent *src;
12098 wxCommandEvent *dest;
12099 src = (wxGridSizeEvent *) ptr;
12100 dest = (wxCommandEvent *) src;
12101 return (void *) dest;
12102 }
12103
12104 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12105 wxGridSizeEvent *src;
12106 wxEvent *dest;
12107 src = (wxGridSizeEvent *) ptr;
12108 dest = (wxEvent *) src;
12109 return (void *) dest;
12110 }
12111
12112 #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))
12113 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12114 PyObject * _resultobj;
12115 wxGridSizeEvent * _result;
12116 int _arg0;
12117 wxEventType _arg1;
12118 wxGrid * _arg2;
12119 int _arg3 = (int ) -1;
12120 int _arg4 = (int ) -1;
12121 int _arg5 = (int ) -1;
12122 bool _arg6 = (bool ) FALSE;
12123 bool _arg7 = (bool ) FALSE;
12124 bool _arg8 = (bool ) FALSE;
12125 bool _arg9 = (bool ) FALSE;
12126 PyObject * _argo2 = 0;
12127 int tempbool6 = (int) FALSE;
12128 int tempbool7 = (int) FALSE;
12129 int tempbool8 = (int) FALSE;
12130 int tempbool9 = (int) FALSE;
12131 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12132 char _ptemp[128];
12133
12134 self = self;
12135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12136 return NULL;
12137 if (_argo2) {
12138 if (_argo2 == Py_None) { _arg2 = NULL; }
12139 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12140 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12141 return NULL;
12142 }
12143 }
12144 _arg6 = (bool ) tempbool6;
12145 _arg7 = (bool ) tempbool7;
12146 _arg8 = (bool ) tempbool8;
12147 _arg9 = (bool ) tempbool9;
12148 {
12149 wxPy_BEGIN_ALLOW_THREADS;
12150 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12151
12152 wxPy_END_ALLOW_THREADS;
12153 } if (_result) {
12154 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12155 _resultobj = Py_BuildValue("s",_ptemp);
12156 } else {
12157 Py_INCREF(Py_None);
12158 _resultobj = Py_None;
12159 }
12160 return _resultobj;
12161 }
12162
12163 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12164 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12165 PyObject * _resultobj;
12166 int _result;
12167 wxGridSizeEvent * _arg0;
12168 PyObject * _argo0 = 0;
12169 char *_kwnames[] = { "self", NULL };
12170
12171 self = self;
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12173 return NULL;
12174 if (_argo0) {
12175 if (_argo0 == Py_None) { _arg0 = NULL; }
12176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12178 return NULL;
12179 }
12180 }
12181 {
12182 wxPy_BEGIN_ALLOW_THREADS;
12183 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12184
12185 wxPy_END_ALLOW_THREADS;
12186 } _resultobj = Py_BuildValue("i",_result);
12187 return _resultobj;
12188 }
12189
12190 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12191 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject * _resultobj;
12193 wxPoint * _result;
12194 wxGridSizeEvent * _arg0;
12195 PyObject * _argo0 = 0;
12196 char *_kwnames[] = { "self", NULL };
12197 char _ptemp[128];
12198
12199 self = self;
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12201 return NULL;
12202 if (_argo0) {
12203 if (_argo0 == Py_None) { _arg0 = NULL; }
12204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12206 return NULL;
12207 }
12208 }
12209 {
12210 wxPy_BEGIN_ALLOW_THREADS;
12211 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12212
12213 wxPy_END_ALLOW_THREADS;
12214 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12215 _resultobj = Py_BuildValue("s",_ptemp);
12216 return _resultobj;
12217 }
12218
12219 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12220 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12221 PyObject * _resultobj;
12222 bool _result;
12223 wxGridSizeEvent * _arg0;
12224 PyObject * _argo0 = 0;
12225 char *_kwnames[] = { "self", NULL };
12226
12227 self = self;
12228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12229 return NULL;
12230 if (_argo0) {
12231 if (_argo0 == Py_None) { _arg0 = NULL; }
12232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12234 return NULL;
12235 }
12236 }
12237 {
12238 wxPy_BEGIN_ALLOW_THREADS;
12239 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
12240
12241 wxPy_END_ALLOW_THREADS;
12242 } _resultobj = Py_BuildValue("i",_result);
12243 return _resultobj;
12244 }
12245
12246 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12247 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12248 PyObject * _resultobj;
12249 bool _result;
12250 wxGridSizeEvent * _arg0;
12251 PyObject * _argo0 = 0;
12252 char *_kwnames[] = { "self", NULL };
12253
12254 self = self;
12255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12256 return NULL;
12257 if (_argo0) {
12258 if (_argo0 == Py_None) { _arg0 = NULL; }
12259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12261 return NULL;
12262 }
12263 }
12264 {
12265 wxPy_BEGIN_ALLOW_THREADS;
12266 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12267
12268 wxPy_END_ALLOW_THREADS;
12269 } _resultobj = Py_BuildValue("i",_result);
12270 return _resultobj;
12271 }
12272
12273 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12274 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12275 PyObject * _resultobj;
12276 bool _result;
12277 wxGridSizeEvent * _arg0;
12278 PyObject * _argo0 = 0;
12279 char *_kwnames[] = { "self", NULL };
12280
12281 self = self;
12282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12283 return NULL;
12284 if (_argo0) {
12285 if (_argo0 == Py_None) { _arg0 = NULL; }
12286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12288 return NULL;
12289 }
12290 }
12291 {
12292 wxPy_BEGIN_ALLOW_THREADS;
12293 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12294
12295 wxPy_END_ALLOW_THREADS;
12296 } _resultobj = Py_BuildValue("i",_result);
12297 return _resultobj;
12298 }
12299
12300 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12301 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12302 PyObject * _resultobj;
12303 bool _result;
12304 wxGridSizeEvent * _arg0;
12305 PyObject * _argo0 = 0;
12306 char *_kwnames[] = { "self", NULL };
12307
12308 self = self;
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
12310 return NULL;
12311 if (_argo0) {
12312 if (_argo0 == Py_None) { _arg0 = NULL; }
12313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12315 return NULL;
12316 }
12317 }
12318 {
12319 wxPy_BEGIN_ALLOW_THREADS;
12320 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
12321
12322 wxPy_END_ALLOW_THREADS;
12323 } _resultobj = Py_BuildValue("i",_result);
12324 return _resultobj;
12325 }
12326
12327 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
12328 wxGridRangeSelectEvent *src;
12329 wxNotifyEvent *dest;
12330 src = (wxGridRangeSelectEvent *) ptr;
12331 dest = (wxNotifyEvent *) src;
12332 return (void *) dest;
12333 }
12334
12335 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
12336 wxGridRangeSelectEvent *src;
12337 wxCommandEvent *dest;
12338 src = (wxGridRangeSelectEvent *) ptr;
12339 dest = (wxCommandEvent *) src;
12340 return (void *) dest;
12341 }
12342
12343 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
12344 wxGridRangeSelectEvent *src;
12345 wxEvent *dest;
12346 src = (wxGridRangeSelectEvent *) ptr;
12347 dest = (wxEvent *) src;
12348 return (void *) dest;
12349 }
12350
12351 #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))
12352 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12353 PyObject * _resultobj;
12354 wxGridRangeSelectEvent * _result;
12355 int _arg0;
12356 wxEventType _arg1;
12357 wxGrid * _arg2;
12358 wxGridCellCoords * _arg3;
12359 wxGridCellCoords * _arg4;
12360 bool _arg5 = (bool ) TRUE;
12361 bool _arg6 = (bool ) FALSE;
12362 bool _arg7 = (bool ) FALSE;
12363 bool _arg8 = (bool ) FALSE;
12364 bool _arg9 = (bool ) FALSE;
12365 PyObject * _argo2 = 0;
12366 wxGridCellCoords temp;
12367 PyObject * _obj3 = 0;
12368 wxGridCellCoords temp0;
12369 PyObject * _obj4 = 0;
12370 int tempbool5 = (int) TRUE;
12371 int tempbool6 = (int) FALSE;
12372 int tempbool7 = (int) FALSE;
12373 int tempbool8 = (int) FALSE;
12374 int tempbool9 = (int) FALSE;
12375 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
12376 char _ptemp[128];
12377
12378 self = self;
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12380 return NULL;
12381 if (_argo2) {
12382 if (_argo2 == Py_None) { _arg2 = NULL; }
12383 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12384 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12385 return NULL;
12386 }
12387 }
12388 {
12389 _arg3 = &temp;
12390 if (! wxGridCellCoords_helper(_obj3, &_arg3))
12391 return NULL;
12392 }
12393 {
12394 _arg4 = &temp0;
12395 if (! wxGridCellCoords_helper(_obj4, &_arg4))
12396 return NULL;
12397 }
12398 _arg5 = (bool ) tempbool5;
12399 _arg6 = (bool ) tempbool6;
12400 _arg7 = (bool ) tempbool7;
12401 _arg8 = (bool ) tempbool8;
12402 _arg9 = (bool ) tempbool9;
12403 {
12404 wxPy_BEGIN_ALLOW_THREADS;
12405 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12406
12407 wxPy_END_ALLOW_THREADS;
12408 } if (_result) {
12409 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
12410 _resultobj = Py_BuildValue("s",_ptemp);
12411 } else {
12412 Py_INCREF(Py_None);
12413 _resultobj = Py_None;
12414 }
12415 return _resultobj;
12416 }
12417
12418 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12419 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12420 PyObject * _resultobj;
12421 wxGridCellCoords * _result;
12422 wxGridRangeSelectEvent * _arg0;
12423 PyObject * _argo0 = 0;
12424 char *_kwnames[] = { "self", NULL };
12425 char _ptemp[128];
12426
12427 self = self;
12428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
12429 return NULL;
12430 if (_argo0) {
12431 if (_argo0 == Py_None) { _arg0 = NULL; }
12432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12434 return NULL;
12435 }
12436 }
12437 {
12438 wxPy_BEGIN_ALLOW_THREADS;
12439 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
12440
12441 wxPy_END_ALLOW_THREADS;
12442 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12443 _resultobj = Py_BuildValue("s",_ptemp);
12444 return _resultobj;
12445 }
12446
12447 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12448 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12449 PyObject * _resultobj;
12450 wxGridCellCoords * _result;
12451 wxGridRangeSelectEvent * _arg0;
12452 PyObject * _argo0 = 0;
12453 char *_kwnames[] = { "self", NULL };
12454 char _ptemp[128];
12455
12456 self = self;
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
12458 return NULL;
12459 if (_argo0) {
12460 if (_argo0 == Py_None) { _arg0 = NULL; }
12461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12463 return NULL;
12464 }
12465 }
12466 {
12467 wxPy_BEGIN_ALLOW_THREADS;
12468 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
12469
12470 wxPy_END_ALLOW_THREADS;
12471 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12472 _resultobj = Py_BuildValue("s",_ptemp);
12473 return _resultobj;
12474 }
12475
12476 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12477 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12478 PyObject * _resultobj;
12479 int _result;
12480 wxGridRangeSelectEvent * _arg0;
12481 PyObject * _argo0 = 0;
12482 char *_kwnames[] = { "self", NULL };
12483
12484 self = self;
12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
12486 return NULL;
12487 if (_argo0) {
12488 if (_argo0 == Py_None) { _arg0 = NULL; }
12489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12491 return NULL;
12492 }
12493 }
12494 {
12495 wxPy_BEGIN_ALLOW_THREADS;
12496 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
12497
12498 wxPy_END_ALLOW_THREADS;
12499 } _resultobj = Py_BuildValue("i",_result);
12500 return _resultobj;
12501 }
12502
12503 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12504 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12505 PyObject * _resultobj;
12506 int _result;
12507 wxGridRangeSelectEvent * _arg0;
12508 PyObject * _argo0 = 0;
12509 char *_kwnames[] = { "self", NULL };
12510
12511 self = self;
12512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
12513 return NULL;
12514 if (_argo0) {
12515 if (_argo0 == Py_None) { _arg0 = NULL; }
12516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12518 return NULL;
12519 }
12520 }
12521 {
12522 wxPy_BEGIN_ALLOW_THREADS;
12523 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
12524
12525 wxPy_END_ALLOW_THREADS;
12526 } _resultobj = Py_BuildValue("i",_result);
12527 return _resultobj;
12528 }
12529
12530 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12531 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12532 PyObject * _resultobj;
12533 int _result;
12534 wxGridRangeSelectEvent * _arg0;
12535 PyObject * _argo0 = 0;
12536 char *_kwnames[] = { "self", NULL };
12537
12538 self = self;
12539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
12540 return NULL;
12541 if (_argo0) {
12542 if (_argo0 == Py_None) { _arg0 = NULL; }
12543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12545 return NULL;
12546 }
12547 }
12548 {
12549 wxPy_BEGIN_ALLOW_THREADS;
12550 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
12551
12552 wxPy_END_ALLOW_THREADS;
12553 } _resultobj = Py_BuildValue("i",_result);
12554 return _resultobj;
12555 }
12556
12557 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12558 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12559 PyObject * _resultobj;
12560 int _result;
12561 wxGridRangeSelectEvent * _arg0;
12562 PyObject * _argo0 = 0;
12563 char *_kwnames[] = { "self", NULL };
12564
12565 self = self;
12566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
12567 return NULL;
12568 if (_argo0) {
12569 if (_argo0 == Py_None) { _arg0 = NULL; }
12570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12572 return NULL;
12573 }
12574 }
12575 {
12576 wxPy_BEGIN_ALLOW_THREADS;
12577 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
12578
12579 wxPy_END_ALLOW_THREADS;
12580 } _resultobj = Py_BuildValue("i",_result);
12581 return _resultobj;
12582 }
12583
12584 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12585 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12586 PyObject * _resultobj;
12587 bool _result;
12588 wxGridRangeSelectEvent * _arg0;
12589 PyObject * _argo0 = 0;
12590 char *_kwnames[] = { "self", NULL };
12591
12592 self = self;
12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
12594 return NULL;
12595 if (_argo0) {
12596 if (_argo0 == Py_None) { _arg0 = NULL; }
12597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12599 return NULL;
12600 }
12601 }
12602 {
12603 wxPy_BEGIN_ALLOW_THREADS;
12604 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
12605
12606 wxPy_END_ALLOW_THREADS;
12607 } _resultobj = Py_BuildValue("i",_result);
12608 return _resultobj;
12609 }
12610
12611 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12612 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12613 PyObject * _resultobj;
12614 bool _result;
12615 wxGridRangeSelectEvent * _arg0;
12616 PyObject * _argo0 = 0;
12617 char *_kwnames[] = { "self", NULL };
12618
12619 self = self;
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
12621 return NULL;
12622 if (_argo0) {
12623 if (_argo0 == Py_None) { _arg0 = NULL; }
12624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12626 return NULL;
12627 }
12628 }
12629 {
12630 wxPy_BEGIN_ALLOW_THREADS;
12631 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
12632
12633 wxPy_END_ALLOW_THREADS;
12634 } _resultobj = Py_BuildValue("i",_result);
12635 return _resultobj;
12636 }
12637
12638 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12639 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12640 PyObject * _resultobj;
12641 bool _result;
12642 wxGridRangeSelectEvent * _arg0;
12643 PyObject * _argo0 = 0;
12644 char *_kwnames[] = { "self", NULL };
12645
12646 self = self;
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
12648 return NULL;
12649 if (_argo0) {
12650 if (_argo0 == Py_None) { _arg0 = NULL; }
12651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
12653 return NULL;
12654 }
12655 }
12656 {
12657 wxPy_BEGIN_ALLOW_THREADS;
12658 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
12659
12660 wxPy_END_ALLOW_THREADS;
12661 } _resultobj = Py_BuildValue("i",_result);
12662 return _resultobj;
12663 }
12664
12665 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12666 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12667 PyObject * _resultobj;
12668 bool _result;
12669 wxGridRangeSelectEvent * _arg0;
12670 PyObject * _argo0 = 0;
12671 char *_kwnames[] = { "self", NULL };
12672
12673 self = self;
12674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
12675 return NULL;
12676 if (_argo0) {
12677 if (_argo0 == Py_None) { _arg0 = NULL; }
12678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
12680 return NULL;
12681 }
12682 }
12683 {
12684 wxPy_BEGIN_ALLOW_THREADS;
12685 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
12686
12687 wxPy_END_ALLOW_THREADS;
12688 } _resultobj = Py_BuildValue("i",_result);
12689 return _resultobj;
12690 }
12691
12692 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
12693 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject * _resultobj;
12695 bool _result;
12696 wxGridRangeSelectEvent * _arg0;
12697 PyObject * _argo0 = 0;
12698 char *_kwnames[] = { "self", NULL };
12699
12700 self = self;
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
12702 return NULL;
12703 if (_argo0) {
12704 if (_argo0 == Py_None) { _arg0 = NULL; }
12705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
12707 return NULL;
12708 }
12709 }
12710 {
12711 wxPy_BEGIN_ALLOW_THREADS;
12712 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
12713
12714 wxPy_END_ALLOW_THREADS;
12715 } _resultobj = Py_BuildValue("i",_result);
12716 return _resultobj;
12717 }
12718
12719 static PyMethodDef gridcMethods[] = {
12720 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12721 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12722 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12723 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12724 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12725 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
12726 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
12727 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
12728 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
12729 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
12730 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
12731 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
12732 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12733 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12734 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12735 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12736 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12737 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
12738 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
12739 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12740 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12741 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12742 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12743 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12744 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12745 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
12746 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
12747 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
12748 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
12749 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
12750 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
12751 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
12752 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
12753 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
12754 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12755 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12756 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12757 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12758 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
12759 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
12760 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
12761 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
12762 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
12763 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
12764 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
12765 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
12766 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12767 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12768 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
12769 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
12770 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
12771 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12772 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
12773 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12774 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12775 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12776 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12777 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12778 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12779 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12780 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
12781 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12782 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12783 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12784 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12785 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12786 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
12787 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
12788 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
12789 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
12790 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
12791 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
12792 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
12793 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
12794 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12795 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
12796 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12797 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12798 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12799 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
12800 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12801 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12802 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12803 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12804 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12805 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
12806 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12807 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
12808 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12809 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
12810 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
12811 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
12812 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
12813 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
12814 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
12815 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12816 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12817 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
12818 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12819 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12820 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
12821 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
12822 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
12823 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
12824 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12825 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12826 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12827 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12828 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12829 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12830 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12831 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12832 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
12833 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12834 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12835 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12836 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12837 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12838 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12839 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12840 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12841 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12842 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12843 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
12844 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12845 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12846 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12847 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
12848 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12849 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12850 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
12851 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
12852 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
12853 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
12854 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
12855 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
12856 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
12857 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
12858 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
12859 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
12860 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
12861 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
12862 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
12863 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
12864 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
12865 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
12866 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
12867 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
12868 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
12869 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
12870 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
12871 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
12872 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
12873 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
12874 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
12875 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
12876 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
12877 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
12878 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12879 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12880 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
12881 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
12882 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
12883 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
12884 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
12885 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
12886 { "wxGrid_StringToLines", (PyCFunction) _wrap_wxGrid_StringToLines, METH_VARARGS | METH_KEYWORDS },
12887 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
12888 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
12889 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12890 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
12891 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
12892 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12893 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
12894 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
12895 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
12896 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
12897 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
12898 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
12899 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12900 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12901 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
12902 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
12903 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
12904 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
12905 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
12906 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
12907 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
12908 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
12909 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
12910 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
12911 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12912 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12913 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12914 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12915 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
12916 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
12917 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
12918 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
12919 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
12920 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
12921 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12922 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12923 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
12924 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12925 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12926 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12927 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12928 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12929 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12930 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12931 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12932 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12933 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12934 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
12935 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
12936 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12937 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
12938 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
12939 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
12940 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12941 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12942 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12943 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
12944 { "wxPyGridTableBase__setSelf", (PyCFunction) _wrap_wxPyGridTableBase__setSelf, METH_VARARGS | METH_KEYWORDS },
12945 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
12946 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12947 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12948 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
12949 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
12950 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12951 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12952 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12953 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12954 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12955 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12956 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
12957 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
12958 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12959 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
12960 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
12961 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
12962 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12963 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12964 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12965 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12966 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12967 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12968 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12969 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12970 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12971 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
12972 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
12973 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
12974 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12975 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12976 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
12977 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
12978 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12979 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12980 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12981 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12982 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12983 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12984 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setSelf, METH_VARARGS | METH_KEYWORDS },
12985 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12986 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
12987 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
12988 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12989 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12990 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
12991 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
12992 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12993 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
12994 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12995 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
12996 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
12997 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
12998 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
12999 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13000 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
13001 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13002 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13003 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13004 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13005 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13006 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
13007 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13008 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13009 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13010 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13011 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13012 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13013 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13014 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
13015 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
13016 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
13017 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
13018 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
13019 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
13020 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
13021 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
13022 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
13023 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13024 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
13025 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13026 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
13027 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
13028 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13029 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13030 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
13031 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
13032 { "wxPyGridCellEditor__setSelf", (PyCFunction) _wrap_wxPyGridCellEditor__setSelf, METH_VARARGS | METH_KEYWORDS },
13033 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
13034 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
13035 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13036 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
13037 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
13038 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13039 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13040 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
13041 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
13042 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
13043 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
13044 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
13045 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
13046 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
13047 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
13048 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
13049 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
13050 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
13051 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
13052 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
13053 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
13054 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
13055 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
13056 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
13057 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
13058 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
13059 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
13060 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
13061 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13062 { "wxPyGridCellRenderer__setSelf", (PyCFunction) _wrap_wxPyGridCellRenderer__setSelf, METH_VARARGS | METH_KEYWORDS },
13063 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
13064 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
13065 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
13066 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
13067 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
13068 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
13069 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
13070 { NULL, NULL }
13071 };
13072 #ifdef __cplusplus
13073 }
13074 #endif
13075 /*
13076 * This table is used by the pointer type-checker
13077 */
13078 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
13079 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
13080 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13081 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13082 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13083 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13084 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
13085 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
13086 { "_wxEvent","_class_wxEvent",0},
13087 { "_class_wxActivateEvent","_wxActivateEvent",0},
13088 { "_signed_long","_long",0},
13089 { "_wxMenuEvent","_class_wxMenuEvent",0},
13090 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13091 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13092 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13093 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13094 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13095 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13096 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13097 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13098 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13099 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13100 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
13101 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
13102 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
13103 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
13104 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
13105 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
13106 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
13107 { "_wxPrintQuality","_wxCoord",0},
13108 { "_wxPrintQuality","_int",0},
13109 { "_wxPrintQuality","_signed_int",0},
13110 { "_wxPrintQuality","_unsigned_int",0},
13111 { "_wxPrintQuality","_wxWindowID",0},
13112 { "_wxPrintQuality","_uint",0},
13113 { "_wxPrintQuality","_EBool",0},
13114 { "_wxPrintQuality","_size_t",0},
13115 { "_wxPrintQuality","_time_t",0},
13116 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
13117 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
13118 { "_class_wxRegionIterator","_wxRegionIterator",0},
13119 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
13120 { "_class_wxMenuBar","_wxMenuBar",0},
13121 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
13122 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13123 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13124 { "_class_wxEvtHandler","_wxEvtHandler",0},
13125 { "_wxPaintEvent","_class_wxPaintEvent",0},
13126 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
13127 { "_wxCursor","_class_wxCursor",0},
13128 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13129 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13130 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13131 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13132 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13133 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13134 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
13135 { "_wxMask","_class_wxMask",0},
13136 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
13137 { "_wxGrid","_class_wxGrid",0},
13138 { "_wxPen","_class_wxPen",0},
13139 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
13140 { "_byte","_unsigned_char",0},
13141 { "_wxDataObject","_class_wxDataObject",0},
13142 { "_wxStaticBox","_class_wxStaticBox",0},
13143 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
13144 { "_wxPyDropSource","_class_wxPyDropSource",0},
13145 { "_wxChoice","_class_wxChoice",0},
13146 { "_wxSlider","_class_wxSlider",0},
13147 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
13148 { "_long","_unsigned_long",0},
13149 { "_long","_signed_long",0},
13150 { "_wxImageList","_class_wxImageList",0},
13151 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
13152 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
13153 { "_wxBitmapButton","_class_wxBitmapButton",0},
13154 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
13155 { "_class_wxClipboard","_wxClipboard",0},
13156 { "_class_wxGauge","_wxGauge",0},
13157 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
13158 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
13159 { "_wxDC","_class_wxDC",0},
13160 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
13161 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
13162 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
13163 { "_wxSpinEvent","_class_wxSpinEvent",0},
13164 { "_size_t","_WXGRIDSELECTIONMODES",0},
13165 { "_size_t","_wxCoord",0},
13166 { "_size_t","_wxPrintQuality",0},
13167 { "_size_t","_time_t",0},
13168 { "_size_t","_unsigned_int",0},
13169 { "_size_t","_int",0},
13170 { "_size_t","_wxWindowID",0},
13171 { "_size_t","_uint",0},
13172 { "_class_wxRealPoint","_wxRealPoint",0},
13173 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
13174 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
13175 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
13176 { "_class_wxMenuItem","_wxMenuItem",0},
13177 { "_class_wxPaintEvent","_wxPaintEvent",0},
13178 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
13179 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
13180 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13181 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13182 { "_wxPanel","_class_wxPanel",0},
13183 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
13184 { "_wxCheckBox","_class_wxCheckBox",0},
13185 { "_wxPyEvent","_class_wxPyEvent",0},
13186 { "_wxTextCtrl","_class_wxTextCtrl",0},
13187 { "_class_wxMask","_wxMask",0},
13188 { "_wxTextDataObject","_class_wxTextDataObject",0},
13189 { "_class_wxKeyEvent","_wxKeyEvent",0},
13190 { "_class_wxGrid","_wxGrid",0},
13191 { "_wxColour","_class_wxColour",0},
13192 { "_class_wxDialog","_wxDialog",0},
13193 { "_class_wxFileDataObject","_wxFileDataObject",0},
13194 { "_wxIdleEvent","_class_wxIdleEvent",0},
13195 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
13196 { "_class_wxDataObject","_wxDataObject",0},
13197 { "_wxStaticLine","_class_wxStaticLine",0},
13198 { "_wxBrush","_class_wxBrush",0},
13199 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
13200 { "_wxDataFormat","_class_wxDataFormat",0},
13201 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
13202 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
13203 { "_wxShowEvent","_class_wxShowEvent",0},
13204 { "_uint","_WXGRIDSELECTIONMODES",0},
13205 { "_uint","_wxCoord",0},
13206 { "_uint","_wxPrintQuality",0},
13207 { "_uint","_time_t",0},
13208 { "_uint","_size_t",0},
13209 { "_uint","_unsigned_int",0},
13210 { "_uint","_int",0},
13211 { "_uint","_wxWindowID",0},
13212 { "_wxChar","_char",0},
13213 { "_wxPyValidator","_class_wxPyValidator",0},
13214 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13215 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13216 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13217 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13218 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
13219 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
13220 { "_class_wxEvent","_wxEvent",0},
13221 { "_wxCheckListBox","_class_wxCheckListBox",0},
13222 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
13223 { "_wxGridEvent","_class_wxGridEvent",0},
13224 { "_wxRect","_class_wxRect",0},
13225 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13226 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13227 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13228 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13229 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13230 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13231 { "_wxCommandEvent","_class_wxCommandEvent",0},
13232 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
13233 { "_wxSizeEvent","_class_wxSizeEvent",0},
13234 { "_wxPoint","_class_wxPoint",0},
13235 { "_class_wxButton","_wxButton",0},
13236 { "_wxRadioBox","_class_wxRadioBox",0},
13237 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
13238 { "_char","_wxChar",0},
13239 { "_wxBitmap","_class_wxBitmap",0},
13240 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13241 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13242 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13243 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13244 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
13245 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
13246 { "_wxWindowDC","_class_wxWindowDC",0},
13247 { "_wxTimerEvent","_class_wxTimerEvent",0},
13248 { "_wxScrollBar","_class_wxScrollBar",0},
13249 { "_wxSpinButton","_class_wxSpinButton",0},
13250 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
13251 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13252 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13253 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13254 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13255 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13256 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13257 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
13258 { "_class_wxValidator","_wxValidator",0},
13259 { "_class_wxPyEvent","_wxPyEvent",0},
13260 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
13261 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
13262 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
13263 { "_wxDropTarget","_class_wxDropTarget",0},
13264 { "_class_wxStaticLine","_wxStaticLine",0},
13265 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
13266 { "_wxScrollEvent","_class_wxScrollEvent",0},
13267 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13268 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13269 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13270 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13271 { "_wxGridTableBase","_class_wxGridTableBase",0},
13272 { "_wxGridStringTable","_class_wxGridStringTable",0},
13273 { "_EBool","_WXGRIDSELECTIONMODES",0},
13274 { "_EBool","_wxCoord",0},
13275 { "_EBool","_wxPrintQuality",0},
13276 { "_EBool","_signed_int",0},
13277 { "_EBool","_int",0},
13278 { "_EBool","_wxWindowID",0},
13279 { "_class_wxRegion","_wxRegion",0},
13280 { "_class_wxDataFormat","_wxDataFormat",0},
13281 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
13282 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13283 { "_wxStaticText","_class_wxStaticText",0},
13284 { "_wxFont","_class_wxFont",0},
13285 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13286 { "_wxCloseEvent","_class_wxCloseEvent",0},
13287 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13288 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13289 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13290 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13291 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13292 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13293 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13294 { "_unsigned_long","_long",0},
13295 { "_class_wxRect","_wxRect",0},
13296 { "_class_wxDC","_wxDC",0},
13297 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13298 { "_WXGRIDSELECTIONMODES","_int",0},
13299 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13300 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13301 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13302 { "_WXGRIDSELECTIONMODES","_uint",0},
13303 { "_WXGRIDSELECTIONMODES","_EBool",0},
13304 { "_WXGRIDSELECTIONMODES","_size_t",0},
13305 { "_WXGRIDSELECTIONMODES","_time_t",0},
13306 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13307 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
13308 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
13309 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13310 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13311 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13312 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13313 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13314 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13315 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13316 { "_wxFocusEvent","_class_wxFocusEvent",0},
13317 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13318 { "_class_wxTimerEvent","_wxTimerEvent",0},
13319 { "_class_wxSpinButton","_wxSpinButton",0},
13320 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13321 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13322 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13323 { "_class_wxPanel","_wxPanel",0},
13324 { "_class_wxCheckBox","_wxCheckBox",0},
13325 { "_wxComboBox","_class_wxComboBox",0},
13326 { "_wxRadioButton","_class_wxRadioButton",0},
13327 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13328 { "_signed_int","_wxCoord",0},
13329 { "_signed_int","_wxPrintQuality",0},
13330 { "_signed_int","_EBool",0},
13331 { "_signed_int","_wxWindowID",0},
13332 { "_signed_int","_int",0},
13333 { "_class_wxTextCtrl","_wxTextCtrl",0},
13334 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13335 { "_class_wxTextDataObject","_wxTextDataObject",0},
13336 { "_wxMenu","_class_wxMenu",0},
13337 { "_class_wxMoveEvent","_wxMoveEvent",0},
13338 { "_wxListBox","_class_wxListBox",0},
13339 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13340 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13341 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13342 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13343 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13344 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13345 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13346 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13347 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13348 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13349 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13350 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13351 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13352 { "_wxScreenDC","_class_wxScreenDC",0},
13353 { "_WXTYPE","_short",0},
13354 { "_WXTYPE","_signed_short",0},
13355 { "_WXTYPE","_unsigned_short",0},
13356 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13357 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13358 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13359 { "_class_wxDropTarget","_wxDropTarget",0},
13360 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13361 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13362 { "_class_wxBrush","_wxBrush",0},
13363 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13364 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13365 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13366 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13367 { "_class_wxGridTableBase","_wxGridTableBase",0},
13368 { "_unsigned_short","_WXTYPE",0},
13369 { "_unsigned_short","_short",0},
13370 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13371 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13372 { "_class_wxWindow","_wxWindow",0},
13373 { "_class_wxStaticText","_wxStaticText",0},
13374 { "_class_wxFont","_wxFont",0},
13375 { "_wxClipboard","_class_wxClipboard",0},
13376 { "_class_wxPyValidator","_wxPyValidator",0},
13377 { "_class_wxCloseEvent","_wxCloseEvent",0},
13378 { "_wxBusyInfo","_class_wxBusyInfo",0},
13379 { "_class_wxMenuEvent","_wxMenuEvent",0},
13380 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13381 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13382 { "_wxClientDC","_class_wxClientDC",0},
13383 { "_wxMouseEvent","_class_wxMouseEvent",0},
13384 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
13385 { "_class_wxPoint","_wxPoint",0},
13386 { "_wxRealPoint","_class_wxRealPoint",0},
13387 { "_class_wxRadioBox","_wxRadioBox",0},
13388 { "_signed_short","_WXTYPE",0},
13389 { "_signed_short","_short",0},
13390 { "_wxMemoryDC","_class_wxMemoryDC",0},
13391 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13392 { "_wxPaintDC","_class_wxPaintDC",0},
13393 { "_class_wxWindowDC","_wxWindowDC",0},
13394 { "_class_wxFocusEvent","_wxFocusEvent",0},
13395 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13396 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13397 { "_class_wxCursor","_wxCursor",0},
13398 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
13399 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13400 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13401 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13402 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13403 { "_unsigned_char","_byte",0},
13404 { "_class_wxMenu","_wxMenu",0},
13405 { "_wxControl","_class_wxControl",0},
13406 { "_class_wxListBox","_wxListBox",0},
13407 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13408 { "_unsigned_int","_wxCoord",0},
13409 { "_unsigned_int","_wxPrintQuality",0},
13410 { "_unsigned_int","_time_t",0},
13411 { "_unsigned_int","_size_t",0},
13412 { "_unsigned_int","_uint",0},
13413 { "_unsigned_int","_wxWindowID",0},
13414 { "_unsigned_int","_int",0},
13415 { "_wxIcon","_class_wxIcon",0},
13416 { "_wxDialog","_class_wxDialog",0},
13417 { "_class_wxPen","_wxPen",0},
13418 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13419 { "_short","_WXTYPE",0},
13420 { "_short","_unsigned_short",0},
13421 { "_short","_signed_short",0},
13422 { "_class_wxStaticBox","_wxStaticBox",0},
13423 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13424 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13425 { "_class_wxPyDropSource","_wxPyDropSource",0},
13426 { "_class_wxScrollEvent","_wxScrollEvent",0},
13427 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13428 { "_class_wxChoice","_wxChoice",0},
13429 { "_class_wxSlider","_wxSlider",0},
13430 { "_class_wxImageList","_wxImageList",0},
13431 { "_class_wxBitmapButton","_wxBitmapButton",0},
13432 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13433 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13434 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13435 { "_wxWindowID","_wxCoord",0},
13436 { "_wxWindowID","_wxPrintQuality",0},
13437 { "_wxWindowID","_time_t",0},
13438 { "_wxWindowID","_size_t",0},
13439 { "_wxWindowID","_EBool",0},
13440 { "_wxWindowID","_uint",0},
13441 { "_wxWindowID","_int",0},
13442 { "_wxWindowID","_signed_int",0},
13443 { "_wxWindowID","_unsigned_int",0},
13444 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13445 { "_int","_WXGRIDSELECTIONMODES",0},
13446 { "_int","_wxCoord",0},
13447 { "_int","_wxPrintQuality",0},
13448 { "_int","_time_t",0},
13449 { "_int","_size_t",0},
13450 { "_int","_EBool",0},
13451 { "_int","_uint",0},
13452 { "_int","_wxWindowID",0},
13453 { "_int","_unsigned_int",0},
13454 { "_int","_signed_int",0},
13455 { "_class_wxMouseEvent","_wxMouseEvent",0},
13456 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13457 { "_class_wxSpinEvent","_wxSpinEvent",0},
13458 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
13459 { "_time_t","_WXGRIDSELECTIONMODES",0},
13460 { "_time_t","_wxCoord",0},
13461 { "_time_t","_wxPrintQuality",0},
13462 { "_time_t","_unsigned_int",0},
13463 { "_time_t","_int",0},
13464 { "_time_t","_wxWindowID",0},
13465 { "_time_t","_uint",0},
13466 { "_time_t","_size_t",0},
13467 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13468 { "_wxButton","_class_wxButton",0},
13469 { "_wxSize","_class_wxSize",0},
13470 { "_wxRegionIterator","_class_wxRegionIterator",0},
13471 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13472 { "_class_wxPaintDC","_wxPaintDC",0},
13473 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13474 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13475 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13476 { "_class_wxComboBox","_wxComboBox",0},
13477 { "_class_wxRadioButton","_wxRadioButton",0},
13478 { "_wxValidator","_class_wxValidator",0},
13479 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13480 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13481 { "_class_wxControl","_wxControl",0},
13482 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13483 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13484 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13485 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13486 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13487 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13488 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13489 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13490 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13491 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13492 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13493 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13494 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13495 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13496 { "_class_wxIcon","_wxIcon",0},
13497 { "_class_wxColour","_wxColour",0},
13498 { "_class_wxScreenDC","_wxScreenDC",0},
13499 { "_wxPalette","_class_wxPalette",0},
13500 { "_class_wxIdleEvent","_wxIdleEvent",0},
13501 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13502 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13503 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13504 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13505 { "_wxCoord","_int",0},
13506 { "_wxCoord","_signed_int",0},
13507 { "_wxCoord","_unsigned_int",0},
13508 { "_wxCoord","_wxWindowID",0},
13509 { "_wxCoord","_uint",0},
13510 { "_wxCoord","_EBool",0},
13511 { "_wxCoord","_size_t",0},
13512 { "_wxCoord","_time_t",0},
13513 { "_wxCoord","_wxPrintQuality",0},
13514 { "_wxEraseEvent","_class_wxEraseEvent",0},
13515 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13516 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13517 { "_wxRegion","_class_wxRegion",0},
13518 { "_class_wxShowEvent","_wxShowEvent",0},
13519 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13520 { "_wxActivateEvent","_class_wxActivateEvent",0},
13521 { "_wxGauge","_class_wxGauge",0},
13522 { "_class_wxCheckListBox","_wxCheckListBox",0},
13523 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13524 { "_class_wxBusyInfo","_wxBusyInfo",0},
13525 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13526 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13527 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13528 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13529 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13530 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13531 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13532 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13533 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13534 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13535 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13536 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13537 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13538 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13539 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13540 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13541 { "_class_wxGridEvent","_wxGridEvent",0},
13542 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13543 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13544 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13545 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13546 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13547 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13548 { "_class_wxCommandEvent","_wxCommandEvent",0},
13549 { "_class_wxClientDC","_wxClientDC",0},
13550 { "_class_wxSizeEvent","_wxSizeEvent",0},
13551 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13552 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13553 { "_class_wxSize","_wxSize",0},
13554 { "_class_wxBitmap","_wxBitmap",0},
13555 { "_class_wxMemoryDC","_wxMemoryDC",0},
13556 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13557 { "_wxMenuBar","_class_wxMenuBar",0},
13558 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13559 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13560 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13561 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13562 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13563 { "_wxEvtHandler","_class_wxEvtHandler",0},
13564 { "_wxMenuItem","_class_wxMenuItem",0},
13565 { "_class_wxScrollBar","_wxScrollBar",0},
13566 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13567 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13568 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13569 { "_wxKeyEvent","_class_wxKeyEvent",0},
13570 { "_wxMoveEvent","_class_wxMoveEvent",0},
13571 { "_class_wxPalette","_wxPalette",0},
13572 { "_wxFileDataObject","_class_wxFileDataObject",0},
13573 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13574 { "_class_wxEraseEvent","_wxEraseEvent",0},
13575 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13576 { "_class_wxGridStringTable","_wxGridStringTable",0},
13577 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13578 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13579 { "_wxWindow","_class_wxWindow",0},
13580 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13581 {0,0,0}};
13582
13583 static PyObject *SWIG_globals;
13584 #ifdef __cplusplus
13585 extern "C"
13586 #endif
13587 SWIGEXPORT(void) initgridc() {
13588 PyObject *m, *d;
13589 SWIG_globals = SWIG_newvarlink();
13590 m = Py_InitModule("gridc", gridcMethods);
13591 d = PyModule_GetDict(m);
13592 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13593 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13594 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13595 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13596 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13597 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13598 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13599 PyDict_SetItemString(d,"cvar", SWIG_globals);
13600 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
13601 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
13602 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
13603 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
13604 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
13605 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
13606 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
13607 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
13608 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
13609 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
13610 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
13611 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
13612 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
13613 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
13614 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
13615 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
13616 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
13617 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
13618 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
13619 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
13620 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
13621 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
13622 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
13623 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
13624 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
13625
13626 wxClassInfo::CleanUpClasses();
13627 wxClassInfo::InitializeClasses();
13628 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
13629 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
13630 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
13631 {
13632 int i;
13633 for (i = 0; _swig_mapping[i].n1; i++)
13634 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13635 }
13636 }