]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/grid.cpp
fixed wxWindow::SetCursor( wxNullCursor) for mac
[wxWidgets.git] / wxPython / src / msw / grid.cpp
1 /*
2 * FILE : src/msw/grid.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initgridc
55
56 #define SWIG_name "gridc"
57
58 #include "export.h"
59 #include <wx/grid.h>
60
61 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
63 if (!target) {
64 target = o;
65 } else if (target == Py_None) {
66 Py_DECREF(Py_None);
67 target = o;
68 } else {
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79 }
80
81 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
85 if (!target) {
86 target = o;
87 } else if (target == Py_None) {
88 Py_DECREF(Py_None);
89 target = o;
90 } else {
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
98
99 o2 = target;
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
102 Py_DECREF(o3);
103 }
104 return target;
105 }
106
107 #if PYTHON_API_VERSION >= 1009
108 static char* wxStringErrorMsg = "String or Unicode type required";
109 #else
110 static char* wxStringErrorMsg = "string type is required for parameter";
111 #endif
112
113 #define PYCALLBACK_GCA_INTINT(PCLASS, CBNAME) \
114 wxGridCellAttr* CBNAME(int a, int b) { \
115 wxGridCellAttr* rval = NULL; \
116 bool doSave = wxPyRestoreThread(); \
117 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
118 PyObject* ro; \
119 wxGridCellAttr* ptr; \
120 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", a, b)); \
121 if (ro) { \
122 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
123 rval = ptr; \
124 Py_DECREF(ro); \
125 } \
126 } \
127 else \
128 rval = PCLASS::CBNAME(a, b); \
129 wxPySaveThread(doSave); \
130 return rval; \
131 } \
132 wxGridCellAttr *base_##CBNAME(int a, int b) { \
133 return PCLASS::CBNAME(a, b); \
134 }
135
136
137
138 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
139 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
140 bool doSave = wxPyRestoreThread(); \
141 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
142 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
144 Py_DECREF(obj); \
145 } \
146 else \
147 PCLASS::CBNAME(attr, a, b); \
148 wxPySaveThread(doSave); \
149 } \
150 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
151 PCLASS::CBNAME(attr, a, b); \
152 }
153
154
155
156 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
157 void CBNAME(wxGridCellAttr *attr, int val) { \
158 bool doSave = wxPyRestoreThread(); \
159 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
160 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
161 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
162 Py_DECREF(obj); \
163 } \
164 else \
165 PCLASS::CBNAME(attr, val); \
166 wxPySaveThread(doSave); \
167 } \
168 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
169 PCLASS::CBNAME(attr, val); \
170 }
171
172
173
174 #define PYCALLBACK_INT__pure(CBNAME) \
175 int CBNAME() { \
176 bool doSave = wxPyRestoreThread(); \
177 int rval = 0; \
178 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
179 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
180 wxPySaveThread(doSave); \
181 return rval; \
182 }
183
184
185
186 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
187 bool CBNAME(int a, int b) { \
188 bool doSave = wxPyRestoreThread(); \
189 bool rval = 0; \
190 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
191 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
192 wxPySaveThread(doSave); \
193 return rval; \
194 }
195
196
197
198 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
199 wxString CBNAME(int a, int b) { \
200 bool doSave = wxPyRestoreThread(); \
201 wxString rval; \
202 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
203 PyObject* ro; \
204 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
205 if (ro) { \
206 PyObject* str = PyObject_Str(ro); \
207 rval = PyString_AsString(str); \
208 Py_DECREF(ro); Py_DECREF(str); \
209 } \
210 } \
211 wxPySaveThread(doSave); \
212 return rval; \
213 }
214
215
216
217 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
218 void CBNAME(int a, int b, const wxString& c) { \
219 bool doSave = wxPyRestoreThread(); \
220 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
221 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str())); \
222 wxPySaveThread(doSave); \
223 }
224
225
226 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
227 wxString CBNAME(int a, int b) { \
228 bool doSave = wxPyRestoreThread(); \
229 wxString rval; \
230 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
231 PyObject* ro; \
232 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
233 if (ro) { \
234 PyObject* str = PyObject_Str(ro); \
235 rval = PyString_AsString(str); \
236 Py_DECREF(ro); Py_DECREF(str); \
237 } \
238 } else \
239 rval = PCLASS::CBNAME(a, b); \
240 wxPySaveThread(doSave); \
241 return rval; \
242 } \
243 wxString base_##CBNAME(int a, int b) { \
244 return PCLASS::CBNAME(a, b); \
245 }
246
247
248
249 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
250 bool CBNAME(int a, int b, const wxString& c) { \
251 bool rval; \
252 bool doSave = wxPyRestoreThread(); \
253 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
254 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str())); \
255 else \
256 rval = PCLASS::CBNAME(a,b,c); \
257 wxPySaveThread(doSave); \
258 return rval; \
259 } \
260 bool base_##CBNAME(int a, int b, const wxString& c) { \
261 return PCLASS::CBNAME(a,b,c); \
262 }
263
264
265
266
267 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
268 long CBNAME(int a, int b) { \
269 long rval; \
270 bool doSave = wxPyRestoreThread(); \
271 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
272 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
273 else \
274 rval = PCLASS::CBNAME(a,b); \
275 wxPySaveThread(doSave); \
276 return rval; \
277 } \
278 long base_##CBNAME(int a, int b) { \
279 return PCLASS::CBNAME(a,b); \
280 }
281
282
283
284 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
285 bool CBNAME(int a, int b) { \
286 bool rval; \
287 bool doSave = wxPyRestoreThread(); \
288 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
289 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
290 else \
291 rval = PCLASS::CBNAME(a,b); \
292 wxPySaveThread(doSave); \
293 return rval; \
294 } \
295 bool base_##CBNAME(int a, int b) { \
296 return PCLASS::CBNAME(a,b); \
297 }
298
299
300
301 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
302 double CBNAME(int a, int b) { \
303 bool doSave = wxPyRestoreThread(); \
304 double rval; \
305 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
306 PyObject* ro; \
307 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
308 if (ro) { \
309 PyObject* str = PyObject_Str(ro); \
310 rval = PyFloat_AsDouble(str); \
311 Py_DECREF(ro); Py_DECREF(str); \
312 } \
313 } else \
314 rval = PCLASS::CBNAME(a, b); \
315 wxPySaveThread(doSave); \
316 return rval; \
317 } \
318 double base_##CBNAME(int a, int b) { \
319 return PCLASS::CBNAME(a, b); \
320 }
321
322
323
324 #define PYCALLBACK__(PCLASS, CBNAME) \
325 void CBNAME() { \
326 bool doSave = wxPyRestoreThread(); \
327 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
328 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
329 else \
330 PCLASS::CBNAME(); \
331 wxPySaveThread(doSave); \
332 } \
333 void base_##CBNAME() { \
334 PCLASS::CBNAME(); \
335 }
336
337
338
339
340 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
341 bool CBNAME(size_t a, size_t b) { \
342 bool rval; \
343 bool doSave = wxPyRestoreThread(); \
344 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
345 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
346 else \
347 rval = PCLASS::CBNAME(a,b); \
348 wxPySaveThread(doSave); \
349 return rval; \
350 } \
351 bool base_##CBNAME(size_t a, size_t b) { \
352 return PCLASS::CBNAME(a,b); \
353 }
354
355
356
357 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
358 bool CBNAME(size_t a) { \
359 bool rval; \
360 bool doSave = wxPyRestoreThread(); \
361 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
362 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
363 else \
364 rval = PCLASS::CBNAME(a); \
365 wxPySaveThread(doSave); \
366 return rval; \
367 } \
368 bool base_##CBNAME(size_t a) { \
369 return PCLASS::CBNAME(a); \
370 }
371
372
373
374 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
375 wxString CBNAME(int a) { \
376 bool doSave = wxPyRestoreThread(); \
377 wxString rval; \
378 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
379 PyObject* ro; \
380 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
381 if (ro) { \
382 PyObject* str = PyObject_Str(ro); \
383 rval = PyString_AsString(str); \
384 Py_DECREF(ro); Py_DECREF(str); \
385 } \
386 } else \
387 rval = PCLASS::CBNAME(a); \
388 wxPySaveThread(doSave); \
389 return rval; \
390 } \
391 wxString base_##CBNAME(int a) { \
392 return PCLASS::CBNAME(a); \
393 }
394
395
396
397 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
398 void CBNAME(int a, const wxString& c) { \
399 bool doSave = wxPyRestoreThread(); \
400 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
401 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
402 else \
403 PCLASS::CBNAME(a,c); \
404 wxPySaveThread(doSave); \
405 } \
406 void base_##CBNAME(int a, const wxString& c) { \
407 PCLASS::CBNAME(a,c); \
408 }
409
410
411
412
413 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
414 bool CBNAME() { \
415 bool rval; \
416 bool doSave = wxPyRestoreThread(); \
417 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
418 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
419 else \
420 rval = PCLASS::CBNAME(); \
421 wxPySaveThread(doSave); \
422 return rval; \
423 } \
424 bool base_##CBNAME() { \
425 return PCLASS::CBNAME(); \
426 }
427
428
429
430 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
431 void CBNAME(size_t a, int b) { \
432 bool doSave = wxPyRestoreThread(); \
433 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
435 else \
436 PCLASS::CBNAME(a,b); \
437 wxPySaveThread(doSave); \
438 } \
439 void base_##CBNAME(size_t a, int b) { \
440 PCLASS::CBNAME(a,b); \
441 }
442
443
444
445
446 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
447 void CBNAME(int a, int b, long c) { \
448 bool doSave = wxPyRestoreThread(); \
449 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
450 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
451 else \
452 PCLASS::CBNAME(a,b,c); \
453 wxPySaveThread(doSave); \
454 } \
455 void base_##CBNAME(int a, int b, long c) { \
456 PCLASS::CBNAME(a,b,c); \
457 }
458
459
460
461
462 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
463 void CBNAME(int a, int b, double c) { \
464 bool doSave = wxPyRestoreThread(); \
465 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
466 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
467 else \
468 PCLASS::CBNAME(a,b,c); \
469 wxPySaveThread(doSave); \
470 } \
471 void base_##CBNAME(int a, int b, double c) { \
472 PCLASS::CBNAME(a,b,c); \
473 }
474
475
476
477 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
478 void CBNAME(int a, int b, bool c) { \
479 bool doSave = wxPyRestoreThread(); \
480 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
481 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
482 else \
483 PCLASS::CBNAME(a,b,c); \
484 wxPySaveThread(doSave); \
485 } \
486 void base_##CBNAME(int a, int b, bool c) { \
487 PCLASS::CBNAME(a,b,c); \
488 }
489
490
491
492
493
494 class wxPyGridCellRenderer : public wxGridCellRenderer
495 {
496 public:
497 wxPyGridCellRenderer() : wxGridCellRenderer() {};
498
499 // Implement Python callback aware virtual methods
500 void Draw(wxGrid& grid, wxGridCellAttr& attr,
501 wxDC& dc, const wxRect& rect,
502 int row, int col, bool isSelected) {
503 bool doSave = wxPyRestoreThread();
504 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
505 wxPyCBH_callCallback(m_myInst,
506 Py_BuildValue("(OOOOiii)",
507 wxPyConstructObject((void*)&grid, "wxGrid", 0),
508 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
509 wxPyConstructObject((void*)&dc, "wxDC", 0),
510 wxPyConstructObject((void*)&rect, "wxRect", 0),
511 row, col, isSelected));
512 }
513 wxPySaveThread(doSave);
514 }
515
516 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
517 int row, int col) {
518 wxSize rval;
519 bool doSave = wxPyRestoreThread();
520 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
521 PyObject* ro;
522 wxSize* ptr;
523 ro = wxPyCBH_callCallbackObj(m_myInst,
524 Py_BuildValue("(OOOii)",
525 wxPyConstructObject((void*)&grid, "wxGrid", 0),
526 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
527 wxPyConstructObject((void*)&dc, "wxDC", 0),
528 row, col));
529 if (ro) {
530 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
531 rval = *ptr;
532 Py_DECREF(ro);
533 }
534 }
535 wxPySaveThread(doSave);
536 return rval;
537 }
538
539
540 wxGridCellRenderer *Clone() const {
541 wxGridCellRenderer* rval = NULL;
542 bool doSave = wxPyRestoreThread();
543 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
544 PyObject* ro;
545 wxGridCellRenderer* ptr;
546 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
547 if (ro) {
548 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
549 rval = ptr;
550 Py_DECREF(ro);
551 }
552 }
553 wxPySaveThread(doSave);
554 return rval;
555 }
556
557 DEC_PYCALLBACK__STRING(SetParameters);
558
559 PYPRIVATE;
560 };
561
562 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
563
564
565 class wxPyGridCellEditor : public wxGridCellEditor
566 {
567 public:
568 wxPyGridCellEditor() : wxGridCellEditor() {}
569
570 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
571 bool doSave = wxPyRestoreThread();
572 if (wxPyCBH_findCallback(m_myInst, "Create")) {
573 wxPyCBH_callCallback(m_myInst,
574 Py_BuildValue("(OiO)",
575 wxPyConstructObject((void*)parent, "wxWindow", 0),
576 id,
577 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
578 }
579 wxPySaveThread(doSave);
580 }
581
582
583 void BeginEdit(int row, int col, wxGrid* grid) {
584 bool doSave = wxPyRestoreThread();
585 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
586 wxPyCBH_callCallback(m_myInst,
587 Py_BuildValue("(iiO)", row, col,
588 wxPyConstructObject((void*)grid, "wxGrid", 0)));
589 }
590 wxPySaveThread(doSave);
591 }
592
593
594 bool EndEdit(int row, int col, wxGrid* grid) {
595 bool rv = FALSE;
596 bool doSave = wxPyRestoreThread();
597 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
598 rv = wxPyCBH_callCallback(m_myInst,
599 Py_BuildValue("(iiO)", row, col,
600 wxPyConstructObject((void*)grid, "wxGrid", 0)));
601 }
602 wxPySaveThread(doSave);
603 return rv;
604 }
605
606
607 wxGridCellEditor*Clone() const {
608 wxGridCellEditor* rval = NULL;
609 bool doSave = wxPyRestoreThread();
610 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
611 PyObject* ro;
612 wxGridCellEditor* ptr;
613 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
614 if (ro) {
615 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
616 rval = ptr;
617 Py_DECREF(ro);
618 }
619 }
620 wxPySaveThread(doSave);
621 return rval;
622 }
623
624
625 void Show(bool show, wxGridCellAttr *attr) {
626 bool doSave = wxPyRestoreThread();
627 if (wxPyCBH_findCallback(m_myInst, "Show"))
628 wxPyCBH_callCallback(m_myInst,
629 Py_BuildValue("(iO)", show,
630 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
631 else
632 wxGridCellEditor::Show(show, attr);
633 wxPySaveThread(doSave);
634 }
635 void base_Show(bool show, wxGridCellAttr *attr) {
636 wxGridCellEditor::Show(show, attr);
637 }
638
639
640 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
641 bool doSave = wxPyRestoreThread();
642 if (wxPyCBH_findCallback(m_myInst, "PaintBackground"))
643 wxPyCBH_callCallback(m_myInst,
644 Py_BuildValue("(OO)",
645 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
646 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
647 else
648 wxGridCellEditor::PaintBackground(rectCell, attr);
649 wxPySaveThread(doSave);
650 }
651 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
652 wxGridCellEditor::PaintBackground(rectCell, attr);
653 }
654
655
656 DEC_PYCALLBACK___pure(Reset);
657 DEC_PYCALLBACK__constany(SetSize, wxRect);
658 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
659 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
660 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
661 DEC_PYCALLBACK__(StartingClick);
662 DEC_PYCALLBACK__(Destroy);
663 DEC_PYCALLBACK__STRING(SetParameters);
664
665 PYPRIVATE;
666 };
667
668
669 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
670 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
671 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
672 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
673 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
674 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
675 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
676 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
677
678
679 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
680 {
681 public:
682 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
683
684 PYCALLBACK_GCA_INTINT(wxGridCellAttrProvider, GetAttr);
685 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
686 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
687 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
688
689 PYPRIVATE;
690 };
691
692 class wxPyGridTableBase : public wxGridTableBase
693 {
694 public:
695 wxPyGridTableBase() : wxGridTableBase() {}
696
697 PYCALLBACK_INT__pure(GetNumberRows);
698 PYCALLBACK_INT__pure(GetNumberCols);
699 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
700 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
701 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
702 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
703 PYCALLBACK__(wxGridTableBase, Clear);
704 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
705 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
706 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
707 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
708 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
709 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
710 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
711 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
712 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
713 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
714 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
715 PYCALLBACK_GCA_INTINT(wxGridTableBase, GetAttr);
716 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
717 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
718 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
719
720
721 wxString GetValue(int row, int col) {
722 bool doSave = wxPyRestoreThread();
723 wxString rval;
724 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
725 PyObject* ro;
726 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
727 if (ro) {
728 PyObject* str = PyObject_Str(ro);
729 rval = PyString_AsString(str);
730 Py_DECREF(ro);
731 Py_DECREF(str);
732 }
733 }
734 wxPySaveThread(doSave);
735 return rval;
736 }
737
738 void SetValue(int row, int col, const wxString& val) {
739 bool doSave = wxPyRestoreThread();
740 if (wxPyCBH_findCallback(m_myInst, "SetValue"))
741 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str()));
742 wxPySaveThread(doSave);
743 }
744
745
746 // Map the Get/Set methods for the standard non-string types to
747 // the GetValue and SetValue python methods.
748 long GetValueAsLong( int row, int col ) {
749 long rval = 0;
750 bool doSave = wxPyRestoreThread();
751 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
752 PyObject* ro;
753 PyObject* num;
754 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
755 if (ro && PyNumber_Check(ro)) {
756 num = PyNumber_Int(ro);
757 if (num) {
758 rval = PyInt_AsLong(num);
759 Py_DECREF(num);
760 }
761 Py_DECREF(ro);
762 }
763 }
764 wxPySaveThread(doSave);
765 return rval;
766 }
767
768 double GetValueAsDouble( int row, int col ) {
769 double rval = 0.0;
770 bool doSave = wxPyRestoreThread();
771 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
772 PyObject* ro;
773 PyObject* num;
774 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
775 if (ro && PyNumber_Check(ro)) {
776 num = PyNumber_Float(ro);
777 if (num) {
778 rval = PyFloat_AsDouble(num);
779 Py_DECREF(num);
780 }
781 Py_DECREF(ro);
782 }
783 }
784 wxPySaveThread(doSave);
785 return rval;
786 }
787
788 bool GetValueAsBool( int row, int col ) {
789 return (bool)GetValueAsLong(row, col);
790 }
791
792 void SetValueAsLong( int row, int col, long value ) {
793 bool doSave = wxPyRestoreThread();
794 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
795 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
796 }
797 wxPySaveThread(doSave);
798 }
799
800 void SetValueAsDouble( int row, int col, double value ) {
801 bool doSave = wxPyRestoreThread();
802 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
803 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
804 }
805 wxPySaveThread(doSave);
806 }
807
808 void SetValueAsBool( int row, int col, bool value ) {
809 SetValueAsLong( row, col, (long)value );
810 }
811
812
813 PYPRIVATE;
814 };
815
816 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
817
818 // If source is an object instance then it may already be the right type
819 if (PyInstance_Check(source)) {
820 wxGridCellCoords* ptr;
821 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
822 goto error;
823 *obj = ptr;
824 return TRUE;
825 }
826 // otherwise a 2-tuple of integers is expected
827 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
828 PyObject* o1 = PySequence_GetItem(source, 0);
829 PyObject* o2 = PySequence_GetItem(source, 1);
830 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
831 return TRUE;
832 }
833
834 error:
835 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
836 return FALSE;
837 }
838
839 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
840 #ifdef __cplusplus
841 extern "C" {
842 #endif
843 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
844
845 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
846 return 1;
847 }
848
849 static PyObject *_wrap_wxGridNoCellCoords_get() {
850 PyObject * pyobj;
851 char ptemp[128];
852
853 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
854 pyobj = PyString_FromString(ptemp);
855 return pyobj;
856 }
857
858 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
859
860 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
861 return 1;
862 }
863
864 static PyObject *_wrap_wxGridNoCellRect_get() {
865 PyObject * pyobj;
866 char ptemp[128];
867
868 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
869 pyobj = PyString_FromString(ptemp);
870 return pyobj;
871 }
872
873 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
874 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
875 PyObject * _resultobj;
876 wxGridCellRenderer * _arg0;
877 wxString * _arg1;
878 PyObject * _argo0 = 0;
879 PyObject * _obj1 = 0;
880 char *_kwnames[] = { "self","params", NULL };
881
882 self = self;
883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
884 return NULL;
885 if (_argo0) {
886 if (_argo0 == Py_None) { _arg0 = NULL; }
887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
889 return NULL;
890 }
891 }
892 {
893 #if PYTHON_API_VERSION >= 1009
894 char* tmpPtr; int tmpSize;
895 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
896 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
897 return NULL;
898 }
899 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
900 return NULL;
901 _arg1 = new wxString(tmpPtr, tmpSize);
902 #else
903 if (!PyString_Check(_obj1)) {
904 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
905 return NULL;
906 }
907 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
908 #endif
909 }
910 {
911 wxPy_BEGIN_ALLOW_THREADS;
912 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
913
914 wxPy_END_ALLOW_THREADS;
915 } Py_INCREF(Py_None);
916 _resultobj = Py_None;
917 {
918 if (_obj1)
919 delete _arg1;
920 }
921 return _resultobj;
922 }
923
924 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
925 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
926 PyObject * _resultobj;
927 wxGridCellRenderer * _arg0;
928 PyObject * _argo0 = 0;
929 char *_kwnames[] = { "self", NULL };
930
931 self = self;
932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
933 return NULL;
934 if (_argo0) {
935 if (_argo0 == Py_None) { _arg0 = NULL; }
936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
938 return NULL;
939 }
940 }
941 {
942 wxPy_BEGIN_ALLOW_THREADS;
943 wxGridCellRenderer_IncRef(_arg0);
944
945 wxPy_END_ALLOW_THREADS;
946 } Py_INCREF(Py_None);
947 _resultobj = Py_None;
948 return _resultobj;
949 }
950
951 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
952 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
953 PyObject * _resultobj;
954 wxGridCellRenderer * _arg0;
955 PyObject * _argo0 = 0;
956 char *_kwnames[] = { "self", NULL };
957
958 self = self;
959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
960 return NULL;
961 if (_argo0) {
962 if (_argo0 == Py_None) { _arg0 = NULL; }
963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
965 return NULL;
966 }
967 }
968 {
969 wxPy_BEGIN_ALLOW_THREADS;
970 wxGridCellRenderer_DecRef(_arg0);
971
972 wxPy_END_ALLOW_THREADS;
973 } Py_INCREF(Py_None);
974 _resultobj = Py_None;
975 return _resultobj;
976 }
977
978 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
979 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
980 PyObject * _resultobj;
981 wxGridCellRenderer * _arg0;
982 wxGrid * _arg1;
983 wxGridCellAttr * _arg2;
984 wxDC * _arg3;
985 wxRect * _arg4;
986 int _arg5;
987 int _arg6;
988 bool _arg7;
989 PyObject * _argo0 = 0;
990 PyObject * _argo1 = 0;
991 PyObject * _argo2 = 0;
992 PyObject * _argo3 = 0;
993 wxRect temp;
994 PyObject * _obj4 = 0;
995 int tempbool7;
996 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
997
998 self = self;
999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
1000 return NULL;
1001 if (_argo0) {
1002 if (_argo0 == Py_None) { _arg0 = NULL; }
1003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1005 return NULL;
1006 }
1007 }
1008 if (_argo1) {
1009 if (_argo1 == Py_None) { _arg1 = NULL; }
1010 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1012 return NULL;
1013 }
1014 }
1015 if (_argo2) {
1016 if (_argo2 == Py_None) { _arg2 = NULL; }
1017 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1018 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1019 return NULL;
1020 }
1021 }
1022 if (_argo3) {
1023 if (_argo3 == Py_None) { _arg3 = NULL; }
1024 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1025 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1026 return NULL;
1027 }
1028 }
1029 {
1030 _arg4 = &temp;
1031 if (! wxRect_helper(_obj4, &_arg4))
1032 return NULL;
1033 }
1034 _arg7 = (bool ) tempbool7;
1035 {
1036 wxPy_BEGIN_ALLOW_THREADS;
1037 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1038
1039 wxPy_END_ALLOW_THREADS;
1040 } Py_INCREF(Py_None);
1041 _resultobj = Py_None;
1042 return _resultobj;
1043 }
1044
1045 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1046 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1047 PyObject * _resultobj;
1048 wxSize * _result;
1049 wxGridCellRenderer * _arg0;
1050 wxGrid * _arg1;
1051 wxGridCellAttr * _arg2;
1052 wxDC * _arg3;
1053 int _arg4;
1054 int _arg5;
1055 PyObject * _argo0 = 0;
1056 PyObject * _argo1 = 0;
1057 PyObject * _argo2 = 0;
1058 PyObject * _argo3 = 0;
1059 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1060 char _ptemp[128];
1061
1062 self = self;
1063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1064 return NULL;
1065 if (_argo0) {
1066 if (_argo0 == Py_None) { _arg0 = NULL; }
1067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1069 return NULL;
1070 }
1071 }
1072 if (_argo1) {
1073 if (_argo1 == Py_None) { _arg1 = NULL; }
1074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1076 return NULL;
1077 }
1078 }
1079 if (_argo2) {
1080 if (_argo2 == Py_None) { _arg2 = NULL; }
1081 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1082 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1083 return NULL;
1084 }
1085 }
1086 if (_argo3) {
1087 if (_argo3 == Py_None) { _arg3 = NULL; }
1088 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1089 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1090 return NULL;
1091 }
1092 }
1093 {
1094 wxPy_BEGIN_ALLOW_THREADS;
1095 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1096
1097 wxPy_END_ALLOW_THREADS;
1098 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1099 _resultobj = Py_BuildValue("s",_ptemp);
1100 return _resultobj;
1101 }
1102
1103 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1104 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1105 PyObject * _resultobj;
1106 wxGridCellRenderer * _result;
1107 wxGridCellRenderer * _arg0;
1108 PyObject * _argo0 = 0;
1109 char *_kwnames[] = { "self", NULL };
1110 char _ptemp[128];
1111
1112 self = self;
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1114 return NULL;
1115 if (_argo0) {
1116 if (_argo0 == Py_None) { _arg0 = NULL; }
1117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1119 return NULL;
1120 }
1121 }
1122 {
1123 wxPy_BEGIN_ALLOW_THREADS;
1124 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1125
1126 wxPy_END_ALLOW_THREADS;
1127 } if (_result) {
1128 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1129 _resultobj = Py_BuildValue("s",_ptemp);
1130 } else {
1131 Py_INCREF(Py_None);
1132 _resultobj = Py_None;
1133 }
1134 return _resultobj;
1135 }
1136
1137 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1138 wxPyGridCellRenderer *src;
1139 wxGridCellRenderer *dest;
1140 src = (wxPyGridCellRenderer *) ptr;
1141 dest = (wxGridCellRenderer *) src;
1142 return (void *) dest;
1143 }
1144
1145 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1146 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1147 PyObject * _resultobj;
1148 wxPyGridCellRenderer * _result;
1149 char *_kwnames[] = { NULL };
1150 char _ptemp[128];
1151
1152 self = self;
1153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1154 return NULL;
1155 {
1156 wxPy_BEGIN_ALLOW_THREADS;
1157 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1158
1159 wxPy_END_ALLOW_THREADS;
1160 } if (_result) {
1161 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1162 _resultobj = Py_BuildValue("s",_ptemp);
1163 } else {
1164 Py_INCREF(Py_None);
1165 _resultobj = Py_None;
1166 }
1167 return _resultobj;
1168 }
1169
1170 #define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1171 static PyObject *_wrap_wxPyGridCellRenderer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1172 PyObject * _resultobj;
1173 wxPyGridCellRenderer * _arg0;
1174 PyObject * _arg1;
1175 PyObject * _arg2;
1176 PyObject * _argo0 = 0;
1177 PyObject * _obj1 = 0;
1178 PyObject * _obj2 = 0;
1179 char *_kwnames[] = { "self","self","_class", NULL };
1180
1181 self = self;
1182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1183 return NULL;
1184 if (_argo0) {
1185 if (_argo0 == Py_None) { _arg0 = NULL; }
1186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1188 return NULL;
1189 }
1190 }
1191 {
1192 _arg1 = _obj1;
1193 }
1194 {
1195 _arg2 = _obj2;
1196 }
1197 {
1198 wxPy_BEGIN_ALLOW_THREADS;
1199 wxPyGridCellRenderer__setSelf(_arg0,_arg1,_arg2);
1200
1201 wxPy_END_ALLOW_THREADS;
1202 } Py_INCREF(Py_None);
1203 _resultobj = Py_None;
1204 return _resultobj;
1205 }
1206
1207 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1208 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1209 PyObject * _resultobj;
1210 wxPyGridCellRenderer * _arg0;
1211 wxString * _arg1;
1212 PyObject * _argo0 = 0;
1213 PyObject * _obj1 = 0;
1214 char *_kwnames[] = { "self","params", NULL };
1215
1216 self = self;
1217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1218 return NULL;
1219 if (_argo0) {
1220 if (_argo0 == Py_None) { _arg0 = NULL; }
1221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1223 return NULL;
1224 }
1225 }
1226 {
1227 #if PYTHON_API_VERSION >= 1009
1228 char* tmpPtr; int tmpSize;
1229 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1230 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1231 return NULL;
1232 }
1233 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1234 return NULL;
1235 _arg1 = new wxString(tmpPtr, tmpSize);
1236 #else
1237 if (!PyString_Check(_obj1)) {
1238 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1239 return NULL;
1240 }
1241 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1242 #endif
1243 }
1244 {
1245 wxPy_BEGIN_ALLOW_THREADS;
1246 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1247
1248 wxPy_END_ALLOW_THREADS;
1249 } Py_INCREF(Py_None);
1250 _resultobj = Py_None;
1251 {
1252 if (_obj1)
1253 delete _arg1;
1254 }
1255 return _resultobj;
1256 }
1257
1258 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1259 wxGridCellStringRenderer *src;
1260 wxGridCellRenderer *dest;
1261 src = (wxGridCellStringRenderer *) ptr;
1262 dest = (wxGridCellRenderer *) src;
1263 return (void *) dest;
1264 }
1265
1266 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1267 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1268 PyObject * _resultobj;
1269 wxGridCellStringRenderer * _result;
1270 char *_kwnames[] = { NULL };
1271 char _ptemp[128];
1272
1273 self = self;
1274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1275 return NULL;
1276 {
1277 wxPy_BEGIN_ALLOW_THREADS;
1278 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1279
1280 wxPy_END_ALLOW_THREADS;
1281 } if (_result) {
1282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1283 _resultobj = Py_BuildValue("s",_ptemp);
1284 } else {
1285 Py_INCREF(Py_None);
1286 _resultobj = Py_None;
1287 }
1288 return _resultobj;
1289 }
1290
1291 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1292 wxGridCellNumberRenderer *src;
1293 wxGridCellStringRenderer *dest;
1294 src = (wxGridCellNumberRenderer *) ptr;
1295 dest = (wxGridCellStringRenderer *) src;
1296 return (void *) dest;
1297 }
1298
1299 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1300 wxGridCellNumberRenderer *src;
1301 wxGridCellRenderer *dest;
1302 src = (wxGridCellNumberRenderer *) ptr;
1303 dest = (wxGridCellRenderer *) src;
1304 return (void *) dest;
1305 }
1306
1307 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1308 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1309 PyObject * _resultobj;
1310 wxGridCellNumberRenderer * _result;
1311 char *_kwnames[] = { NULL };
1312 char _ptemp[128];
1313
1314 self = self;
1315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1316 return NULL;
1317 {
1318 wxPy_BEGIN_ALLOW_THREADS;
1319 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1320
1321 wxPy_END_ALLOW_THREADS;
1322 } if (_result) {
1323 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1324 _resultobj = Py_BuildValue("s",_ptemp);
1325 } else {
1326 Py_INCREF(Py_None);
1327 _resultobj = Py_None;
1328 }
1329 return _resultobj;
1330 }
1331
1332 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1333 wxGridCellFloatRenderer *src;
1334 wxGridCellStringRenderer *dest;
1335 src = (wxGridCellFloatRenderer *) ptr;
1336 dest = (wxGridCellStringRenderer *) src;
1337 return (void *) dest;
1338 }
1339
1340 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1341 wxGridCellFloatRenderer *src;
1342 wxGridCellRenderer *dest;
1343 src = (wxGridCellFloatRenderer *) ptr;
1344 dest = (wxGridCellRenderer *) src;
1345 return (void *) dest;
1346 }
1347
1348 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1349 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1350 PyObject * _resultobj;
1351 wxGridCellFloatRenderer * _result;
1352 int _arg0 = (int ) -1;
1353 int _arg1 = (int ) -1;
1354 char *_kwnames[] = { "width","precision", NULL };
1355 char _ptemp[128];
1356
1357 self = self;
1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1359 return NULL;
1360 {
1361 wxPy_BEGIN_ALLOW_THREADS;
1362 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1363
1364 wxPy_END_ALLOW_THREADS;
1365 } if (_result) {
1366 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1367 _resultobj = Py_BuildValue("s",_ptemp);
1368 } else {
1369 Py_INCREF(Py_None);
1370 _resultobj = Py_None;
1371 }
1372 return _resultobj;
1373 }
1374
1375 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1376 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject * _resultobj;
1378 int _result;
1379 wxGridCellFloatRenderer * _arg0;
1380 PyObject * _argo0 = 0;
1381 char *_kwnames[] = { "self", NULL };
1382
1383 self = self;
1384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1385 return NULL;
1386 if (_argo0) {
1387 if (_argo0 == Py_None) { _arg0 = NULL; }
1388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1390 return NULL;
1391 }
1392 }
1393 {
1394 wxPy_BEGIN_ALLOW_THREADS;
1395 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1396
1397 wxPy_END_ALLOW_THREADS;
1398 } _resultobj = Py_BuildValue("i",_result);
1399 return _resultobj;
1400 }
1401
1402 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1403 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject * _resultobj;
1405 wxGridCellFloatRenderer * _arg0;
1406 int _arg1;
1407 PyObject * _argo0 = 0;
1408 char *_kwnames[] = { "self","width", NULL };
1409
1410 self = self;
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1412 return NULL;
1413 if (_argo0) {
1414 if (_argo0 == Py_None) { _arg0 = NULL; }
1415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1417 return NULL;
1418 }
1419 }
1420 {
1421 wxPy_BEGIN_ALLOW_THREADS;
1422 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1423
1424 wxPy_END_ALLOW_THREADS;
1425 } Py_INCREF(Py_None);
1426 _resultobj = Py_None;
1427 return _resultobj;
1428 }
1429
1430 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1431 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject * _resultobj;
1433 int _result;
1434 wxGridCellFloatRenderer * _arg0;
1435 PyObject * _argo0 = 0;
1436 char *_kwnames[] = { "self", NULL };
1437
1438 self = self;
1439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1440 return NULL;
1441 if (_argo0) {
1442 if (_argo0 == Py_None) { _arg0 = NULL; }
1443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1445 return NULL;
1446 }
1447 }
1448 {
1449 wxPy_BEGIN_ALLOW_THREADS;
1450 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1451
1452 wxPy_END_ALLOW_THREADS;
1453 } _resultobj = Py_BuildValue("i",_result);
1454 return _resultobj;
1455 }
1456
1457 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1458 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject * _resultobj;
1460 wxGridCellFloatRenderer * _arg0;
1461 int _arg1;
1462 PyObject * _argo0 = 0;
1463 char *_kwnames[] = { "self","precision", NULL };
1464
1465 self = self;
1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1467 return NULL;
1468 if (_argo0) {
1469 if (_argo0 == Py_None) { _arg0 = NULL; }
1470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1472 return NULL;
1473 }
1474 }
1475 {
1476 wxPy_BEGIN_ALLOW_THREADS;
1477 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1478
1479 wxPy_END_ALLOW_THREADS;
1480 } Py_INCREF(Py_None);
1481 _resultobj = Py_None;
1482 return _resultobj;
1483 }
1484
1485 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1486 wxGridCellBoolRenderer *src;
1487 wxGridCellRenderer *dest;
1488 src = (wxGridCellBoolRenderer *) ptr;
1489 dest = (wxGridCellRenderer *) src;
1490 return (void *) dest;
1491 }
1492
1493 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1494 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1495 PyObject * _resultobj;
1496 wxGridCellBoolRenderer * _result;
1497 char *_kwnames[] = { NULL };
1498 char _ptemp[128];
1499
1500 self = self;
1501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1502 return NULL;
1503 {
1504 wxPy_BEGIN_ALLOW_THREADS;
1505 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1506
1507 wxPy_END_ALLOW_THREADS;
1508 } if (_result) {
1509 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1510 _resultobj = Py_BuildValue("s",_ptemp);
1511 } else {
1512 Py_INCREF(Py_None);
1513 _resultobj = Py_None;
1514 }
1515 return _resultobj;
1516 }
1517
1518 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1519 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1520 PyObject * _resultobj;
1521 bool _result;
1522 wxGridCellEditor * _arg0;
1523 PyObject * _argo0 = 0;
1524 char *_kwnames[] = { "self", NULL };
1525
1526 self = self;
1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1528 return NULL;
1529 if (_argo0) {
1530 if (_argo0 == Py_None) { _arg0 = NULL; }
1531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1533 return NULL;
1534 }
1535 }
1536 {
1537 wxPy_BEGIN_ALLOW_THREADS;
1538 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1539
1540 wxPy_END_ALLOW_THREADS;
1541 } _resultobj = Py_BuildValue("i",_result);
1542 return _resultobj;
1543 }
1544
1545 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1546 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1547 PyObject * _resultobj;
1548 wxControl * _result;
1549 wxGridCellEditor * _arg0;
1550 PyObject * _argo0 = 0;
1551 char *_kwnames[] = { "self", NULL };
1552 char _ptemp[128];
1553
1554 self = self;
1555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1556 return NULL;
1557 if (_argo0) {
1558 if (_argo0 == Py_None) { _arg0 = NULL; }
1559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1561 return NULL;
1562 }
1563 }
1564 {
1565 wxPy_BEGIN_ALLOW_THREADS;
1566 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1567
1568 wxPy_END_ALLOW_THREADS;
1569 } if (_result) {
1570 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
1571 _resultobj = Py_BuildValue("s",_ptemp);
1572 } else {
1573 Py_INCREF(Py_None);
1574 _resultobj = Py_None;
1575 }
1576 return _resultobj;
1577 }
1578
1579 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1580 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1581 PyObject * _resultobj;
1582 wxGridCellEditor * _arg0;
1583 wxControl * _arg1;
1584 PyObject * _argo0 = 0;
1585 PyObject * _argo1 = 0;
1586 char *_kwnames[] = { "self","control", NULL };
1587
1588 self = self;
1589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1590 return NULL;
1591 if (_argo0) {
1592 if (_argo0 == Py_None) { _arg0 = NULL; }
1593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1595 return NULL;
1596 }
1597 }
1598 if (_argo1) {
1599 if (_argo1 == Py_None) { _arg1 = NULL; }
1600 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1601 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1602 return NULL;
1603 }
1604 }
1605 {
1606 wxPy_BEGIN_ALLOW_THREADS;
1607 wxGridCellEditor_SetControl(_arg0,_arg1);
1608
1609 wxPy_END_ALLOW_THREADS;
1610 } Py_INCREF(Py_None);
1611 _resultobj = Py_None;
1612 return _resultobj;
1613 }
1614
1615 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1616 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject * _resultobj;
1618 wxGridCellEditor * _arg0;
1619 wxString * _arg1;
1620 PyObject * _argo0 = 0;
1621 PyObject * _obj1 = 0;
1622 char *_kwnames[] = { "self","params", NULL };
1623
1624 self = self;
1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1626 return NULL;
1627 if (_argo0) {
1628 if (_argo0 == Py_None) { _arg0 = NULL; }
1629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1631 return NULL;
1632 }
1633 }
1634 {
1635 #if PYTHON_API_VERSION >= 1009
1636 char* tmpPtr; int tmpSize;
1637 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1638 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1639 return NULL;
1640 }
1641 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1642 return NULL;
1643 _arg1 = new wxString(tmpPtr, tmpSize);
1644 #else
1645 if (!PyString_Check(_obj1)) {
1646 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1647 return NULL;
1648 }
1649 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1650 #endif
1651 }
1652 {
1653 wxPy_BEGIN_ALLOW_THREADS;
1654 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1655
1656 wxPy_END_ALLOW_THREADS;
1657 } Py_INCREF(Py_None);
1658 _resultobj = Py_None;
1659 {
1660 if (_obj1)
1661 delete _arg1;
1662 }
1663 return _resultobj;
1664 }
1665
1666 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1667 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject * _resultobj;
1669 wxGridCellEditor * _arg0;
1670 PyObject * _argo0 = 0;
1671 char *_kwnames[] = { "self", NULL };
1672
1673 self = self;
1674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1675 return NULL;
1676 if (_argo0) {
1677 if (_argo0 == Py_None) { _arg0 = NULL; }
1678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1680 return NULL;
1681 }
1682 }
1683 {
1684 wxPy_BEGIN_ALLOW_THREADS;
1685 wxGridCellEditor_IncRef(_arg0);
1686
1687 wxPy_END_ALLOW_THREADS;
1688 } Py_INCREF(Py_None);
1689 _resultobj = Py_None;
1690 return _resultobj;
1691 }
1692
1693 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1694 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1695 PyObject * _resultobj;
1696 wxGridCellEditor * _arg0;
1697 PyObject * _argo0 = 0;
1698 char *_kwnames[] = { "self", NULL };
1699
1700 self = self;
1701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1702 return NULL;
1703 if (_argo0) {
1704 if (_argo0 == Py_None) { _arg0 = NULL; }
1705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1707 return NULL;
1708 }
1709 }
1710 {
1711 wxPy_BEGIN_ALLOW_THREADS;
1712 wxGridCellEditor_DecRef(_arg0);
1713
1714 wxPy_END_ALLOW_THREADS;
1715 } Py_INCREF(Py_None);
1716 _resultobj = Py_None;
1717 return _resultobj;
1718 }
1719
1720 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1721 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1722 PyObject * _resultobj;
1723 wxGridCellEditor * _arg0;
1724 wxWindow * _arg1;
1725 wxWindowID _arg2;
1726 wxEvtHandler * _arg3;
1727 PyObject * _argo0 = 0;
1728 PyObject * _argo1 = 0;
1729 PyObject * _argo3 = 0;
1730 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1731
1732 self = self;
1733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1734 return NULL;
1735 if (_argo0) {
1736 if (_argo0 == Py_None) { _arg0 = NULL; }
1737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1739 return NULL;
1740 }
1741 }
1742 if (_argo1) {
1743 if (_argo1 == Py_None) { _arg1 = NULL; }
1744 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1745 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1746 return NULL;
1747 }
1748 }
1749 if (_argo3) {
1750 if (_argo3 == Py_None) { _arg3 = NULL; }
1751 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1752 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1753 return NULL;
1754 }
1755 }
1756 {
1757 wxPy_BEGIN_ALLOW_THREADS;
1758 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1759
1760 wxPy_END_ALLOW_THREADS;
1761 } Py_INCREF(Py_None);
1762 _resultobj = Py_None;
1763 return _resultobj;
1764 }
1765
1766 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1767 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject * _resultobj;
1769 wxGridCellEditor * _arg0;
1770 int _arg1;
1771 int _arg2;
1772 wxGrid * _arg3;
1773 PyObject * _argo0 = 0;
1774 PyObject * _argo3 = 0;
1775 char *_kwnames[] = { "self","row","col","grid", NULL };
1776
1777 self = self;
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1779 return NULL;
1780 if (_argo0) {
1781 if (_argo0 == Py_None) { _arg0 = NULL; }
1782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1784 return NULL;
1785 }
1786 }
1787 if (_argo3) {
1788 if (_argo3 == Py_None) { _arg3 = NULL; }
1789 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1790 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1791 return NULL;
1792 }
1793 }
1794 {
1795 wxPy_BEGIN_ALLOW_THREADS;
1796 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1797
1798 wxPy_END_ALLOW_THREADS;
1799 } Py_INCREF(Py_None);
1800 _resultobj = Py_None;
1801 return _resultobj;
1802 }
1803
1804 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1805 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1806 PyObject * _resultobj;
1807 bool _result;
1808 wxGridCellEditor * _arg0;
1809 int _arg1;
1810 int _arg2;
1811 wxGrid * _arg3;
1812 PyObject * _argo0 = 0;
1813 PyObject * _argo3 = 0;
1814 char *_kwnames[] = { "self","row","col","grid", NULL };
1815
1816 self = self;
1817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1818 return NULL;
1819 if (_argo0) {
1820 if (_argo0 == Py_None) { _arg0 = NULL; }
1821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1823 return NULL;
1824 }
1825 }
1826 if (_argo3) {
1827 if (_argo3 == Py_None) { _arg3 = NULL; }
1828 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1829 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1830 return NULL;
1831 }
1832 }
1833 {
1834 wxPy_BEGIN_ALLOW_THREADS;
1835 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1836
1837 wxPy_END_ALLOW_THREADS;
1838 } _resultobj = Py_BuildValue("i",_result);
1839 return _resultobj;
1840 }
1841
1842 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1843 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject * _resultobj;
1845 wxGridCellEditor * _arg0;
1846 PyObject * _argo0 = 0;
1847 char *_kwnames[] = { "self", NULL };
1848
1849 self = self;
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
1851 return NULL;
1852 if (_argo0) {
1853 if (_argo0 == Py_None) { _arg0 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1856 return NULL;
1857 }
1858 }
1859 {
1860 wxPy_BEGIN_ALLOW_THREADS;
1861 wxGridCellEditor_Reset(_arg0);
1862
1863 wxPy_END_ALLOW_THREADS;
1864 } Py_INCREF(Py_None);
1865 _resultobj = Py_None;
1866 return _resultobj;
1867 }
1868
1869 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1870 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject * _resultobj;
1872 wxGridCellEditor * _result;
1873 wxGridCellEditor * _arg0;
1874 PyObject * _argo0 = 0;
1875 char *_kwnames[] = { "self", NULL };
1876 char _ptemp[128];
1877
1878 self = self;
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
1880 return NULL;
1881 if (_argo0) {
1882 if (_argo0 == Py_None) { _arg0 = NULL; }
1883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1885 return NULL;
1886 }
1887 }
1888 {
1889 wxPy_BEGIN_ALLOW_THREADS;
1890 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
1891
1892 wxPy_END_ALLOW_THREADS;
1893 } if (_result) {
1894 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
1895 _resultobj = Py_BuildValue("s",_ptemp);
1896 } else {
1897 Py_INCREF(Py_None);
1898 _resultobj = Py_None;
1899 }
1900 return _resultobj;
1901 }
1902
1903 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1904 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1905 PyObject * _resultobj;
1906 wxGridCellEditor * _arg0;
1907 wxRect * _arg1;
1908 PyObject * _argo0 = 0;
1909 wxRect temp;
1910 PyObject * _obj1 = 0;
1911 char *_kwnames[] = { "self","rect", NULL };
1912
1913 self = self;
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
1915 return NULL;
1916 if (_argo0) {
1917 if (_argo0 == Py_None) { _arg0 = NULL; }
1918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1920 return NULL;
1921 }
1922 }
1923 {
1924 _arg1 = &temp;
1925 if (! wxRect_helper(_obj1, &_arg1))
1926 return NULL;
1927 }
1928 {
1929 wxPy_BEGIN_ALLOW_THREADS;
1930 wxGridCellEditor_SetSize(_arg0,*_arg1);
1931
1932 wxPy_END_ALLOW_THREADS;
1933 } Py_INCREF(Py_None);
1934 _resultobj = Py_None;
1935 return _resultobj;
1936 }
1937
1938 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1939 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject * _resultobj;
1941 wxGridCellEditor * _arg0;
1942 bool _arg1;
1943 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
1944 PyObject * _argo0 = 0;
1945 int tempbool1;
1946 PyObject * _argo2 = 0;
1947 char *_kwnames[] = { "self","show","attr", NULL };
1948
1949 self = self;
1950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
1951 return NULL;
1952 if (_argo0) {
1953 if (_argo0 == Py_None) { _arg0 = NULL; }
1954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1956 return NULL;
1957 }
1958 }
1959 _arg1 = (bool ) tempbool1;
1960 if (_argo2) {
1961 if (_argo2 == Py_None) { _arg2 = NULL; }
1962 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1963 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1964 return NULL;
1965 }
1966 }
1967 {
1968 wxPy_BEGIN_ALLOW_THREADS;
1969 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
1970
1971 wxPy_END_ALLOW_THREADS;
1972 } Py_INCREF(Py_None);
1973 _resultobj = Py_None;
1974 return _resultobj;
1975 }
1976
1977 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1978 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject * _resultobj;
1980 wxGridCellEditor * _arg0;
1981 wxRect * _arg1;
1982 wxGridCellAttr * _arg2;
1983 PyObject * _argo0 = 0;
1984 wxRect temp;
1985 PyObject * _obj1 = 0;
1986 PyObject * _argo2 = 0;
1987 char *_kwnames[] = { "self","rectCell","attr", NULL };
1988
1989 self = self;
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
1991 return NULL;
1992 if (_argo0) {
1993 if (_argo0 == Py_None) { _arg0 = NULL; }
1994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
1996 return NULL;
1997 }
1998 }
1999 {
2000 _arg1 = &temp;
2001 if (! wxRect_helper(_obj1, &_arg1))
2002 return NULL;
2003 }
2004 if (_argo2) {
2005 if (_argo2 == Py_None) { _arg2 = NULL; }
2006 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2007 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2008 return NULL;
2009 }
2010 }
2011 {
2012 wxPy_BEGIN_ALLOW_THREADS;
2013 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2014
2015 wxPy_END_ALLOW_THREADS;
2016 } Py_INCREF(Py_None);
2017 _resultobj = Py_None;
2018 return _resultobj;
2019 }
2020
2021 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2022 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2023 PyObject * _resultobj;
2024 bool _result;
2025 wxGridCellEditor * _arg0;
2026 wxKeyEvent * _arg1;
2027 PyObject * _argo0 = 0;
2028 PyObject * _argo1 = 0;
2029 char *_kwnames[] = { "self","event", NULL };
2030
2031 self = self;
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2033 return NULL;
2034 if (_argo0) {
2035 if (_argo0 == Py_None) { _arg0 = NULL; }
2036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2038 return NULL;
2039 }
2040 }
2041 if (_argo1) {
2042 if (_argo1 == Py_None) { _arg1 = NULL; }
2043 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2044 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2045 return NULL;
2046 }
2047 }
2048 {
2049 wxPy_BEGIN_ALLOW_THREADS;
2050 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2051
2052 wxPy_END_ALLOW_THREADS;
2053 } _resultobj = Py_BuildValue("i",_result);
2054 return _resultobj;
2055 }
2056
2057 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2058 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2059 PyObject * _resultobj;
2060 wxGridCellEditor * _arg0;
2061 wxKeyEvent * _arg1;
2062 PyObject * _argo0 = 0;
2063 PyObject * _argo1 = 0;
2064 char *_kwnames[] = { "self","event", NULL };
2065
2066 self = self;
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2068 return NULL;
2069 if (_argo0) {
2070 if (_argo0 == Py_None) { _arg0 = NULL; }
2071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2073 return NULL;
2074 }
2075 }
2076 if (_argo1) {
2077 if (_argo1 == Py_None) { _arg1 = NULL; }
2078 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2079 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2080 return NULL;
2081 }
2082 }
2083 {
2084 wxPy_BEGIN_ALLOW_THREADS;
2085 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2086
2087 wxPy_END_ALLOW_THREADS;
2088 } Py_INCREF(Py_None);
2089 _resultobj = Py_None;
2090 return _resultobj;
2091 }
2092
2093 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2094 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject * _resultobj;
2096 wxGridCellEditor * _arg0;
2097 PyObject * _argo0 = 0;
2098 char *_kwnames[] = { "self", NULL };
2099
2100 self = self;
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2102 return NULL;
2103 if (_argo0) {
2104 if (_argo0 == Py_None) { _arg0 = NULL; }
2105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2107 return NULL;
2108 }
2109 }
2110 {
2111 wxPy_BEGIN_ALLOW_THREADS;
2112 wxGridCellEditor_StartingClick(_arg0);
2113
2114 wxPy_END_ALLOW_THREADS;
2115 } Py_INCREF(Py_None);
2116 _resultobj = Py_None;
2117 return _resultobj;
2118 }
2119
2120 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2121 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2122 PyObject * _resultobj;
2123 wxGridCellEditor * _arg0;
2124 wxKeyEvent * _arg1;
2125 PyObject * _argo0 = 0;
2126 PyObject * _argo1 = 0;
2127 char *_kwnames[] = { "self","event", NULL };
2128
2129 self = self;
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2131 return NULL;
2132 if (_argo0) {
2133 if (_argo0 == Py_None) { _arg0 = NULL; }
2134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2136 return NULL;
2137 }
2138 }
2139 if (_argo1) {
2140 if (_argo1 == Py_None) { _arg1 = NULL; }
2141 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2142 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2143 return NULL;
2144 }
2145 }
2146 {
2147 wxPy_BEGIN_ALLOW_THREADS;
2148 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2149
2150 wxPy_END_ALLOW_THREADS;
2151 } Py_INCREF(Py_None);
2152 _resultobj = Py_None;
2153 return _resultobj;
2154 }
2155
2156 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2157 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2158 PyObject * _resultobj;
2159 wxGridCellEditor * _arg0;
2160 PyObject * _argo0 = 0;
2161 char *_kwnames[] = { "self", NULL };
2162
2163 self = self;
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2165 return NULL;
2166 if (_argo0) {
2167 if (_argo0 == Py_None) { _arg0 = NULL; }
2168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2170 return NULL;
2171 }
2172 }
2173 {
2174 wxPy_BEGIN_ALLOW_THREADS;
2175 wxGridCellEditor_Destroy(_arg0);
2176
2177 wxPy_END_ALLOW_THREADS;
2178 } Py_INCREF(Py_None);
2179 _resultobj = Py_None;
2180 return _resultobj;
2181 }
2182
2183 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2184 wxPyGridCellEditor *src;
2185 wxGridCellEditor *dest;
2186 src = (wxPyGridCellEditor *) ptr;
2187 dest = (wxGridCellEditor *) src;
2188 return (void *) dest;
2189 }
2190
2191 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2192 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject * _resultobj;
2194 wxPyGridCellEditor * _result;
2195 char *_kwnames[] = { NULL };
2196 char _ptemp[128];
2197
2198 self = self;
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2200 return NULL;
2201 {
2202 wxPy_BEGIN_ALLOW_THREADS;
2203 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2204
2205 wxPy_END_ALLOW_THREADS;
2206 } if (_result) {
2207 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2208 _resultobj = Py_BuildValue("s",_ptemp);
2209 } else {
2210 Py_INCREF(Py_None);
2211 _resultobj = Py_None;
2212 }
2213 return _resultobj;
2214 }
2215
2216 #define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2217 static PyObject *_wrap_wxPyGridCellEditor__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2218 PyObject * _resultobj;
2219 wxPyGridCellEditor * _arg0;
2220 PyObject * _arg1;
2221 PyObject * _arg2;
2222 PyObject * _argo0 = 0;
2223 PyObject * _obj1 = 0;
2224 PyObject * _obj2 = 0;
2225 char *_kwnames[] = { "self","self","_class", NULL };
2226
2227 self = self;
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
2229 return NULL;
2230 if (_argo0) {
2231 if (_argo0 == Py_None) { _arg0 = NULL; }
2232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2234 return NULL;
2235 }
2236 }
2237 {
2238 _arg1 = _obj1;
2239 }
2240 {
2241 _arg2 = _obj2;
2242 }
2243 {
2244 wxPy_BEGIN_ALLOW_THREADS;
2245 wxPyGridCellEditor__setSelf(_arg0,_arg1,_arg2);
2246
2247 wxPy_END_ALLOW_THREADS;
2248 } Py_INCREF(Py_None);
2249 _resultobj = Py_None;
2250 return _resultobj;
2251 }
2252
2253 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2254 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2255 PyObject * _resultobj;
2256 wxPyGridCellEditor * _arg0;
2257 wxRect * _arg1;
2258 PyObject * _argo0 = 0;
2259 wxRect temp;
2260 PyObject * _obj1 = 0;
2261 char *_kwnames[] = { "self","rect", NULL };
2262
2263 self = self;
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2265 return NULL;
2266 if (_argo0) {
2267 if (_argo0 == Py_None) { _arg0 = NULL; }
2268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2270 return NULL;
2271 }
2272 }
2273 {
2274 _arg1 = &temp;
2275 if (! wxRect_helper(_obj1, &_arg1))
2276 return NULL;
2277 }
2278 {
2279 wxPy_BEGIN_ALLOW_THREADS;
2280 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2281
2282 wxPy_END_ALLOW_THREADS;
2283 } Py_INCREF(Py_None);
2284 _resultobj = Py_None;
2285 return _resultobj;
2286 }
2287
2288 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2289 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2290 PyObject * _resultobj;
2291 wxPyGridCellEditor * _arg0;
2292 bool _arg1;
2293 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2294 PyObject * _argo0 = 0;
2295 int tempbool1;
2296 PyObject * _argo2 = 0;
2297 char *_kwnames[] = { "self","show","attr", NULL };
2298
2299 self = self;
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2301 return NULL;
2302 if (_argo0) {
2303 if (_argo0 == Py_None) { _arg0 = NULL; }
2304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2306 return NULL;
2307 }
2308 }
2309 _arg1 = (bool ) tempbool1;
2310 if (_argo2) {
2311 if (_argo2 == Py_None) { _arg2 = NULL; }
2312 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2313 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2314 return NULL;
2315 }
2316 }
2317 {
2318 wxPy_BEGIN_ALLOW_THREADS;
2319 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2320
2321 wxPy_END_ALLOW_THREADS;
2322 } Py_INCREF(Py_None);
2323 _resultobj = Py_None;
2324 return _resultobj;
2325 }
2326
2327 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2328 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2329 PyObject * _resultobj;
2330 wxPyGridCellEditor * _arg0;
2331 wxRect * _arg1;
2332 wxGridCellAttr * _arg2;
2333 PyObject * _argo0 = 0;
2334 wxRect temp;
2335 PyObject * _obj1 = 0;
2336 PyObject * _argo2 = 0;
2337 char *_kwnames[] = { "self","rectCell","attr", NULL };
2338
2339 self = self;
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2341 return NULL;
2342 if (_argo0) {
2343 if (_argo0 == Py_None) { _arg0 = NULL; }
2344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2346 return NULL;
2347 }
2348 }
2349 {
2350 _arg1 = &temp;
2351 if (! wxRect_helper(_obj1, &_arg1))
2352 return NULL;
2353 }
2354 if (_argo2) {
2355 if (_argo2 == Py_None) { _arg2 = NULL; }
2356 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2357 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2358 return NULL;
2359 }
2360 }
2361 {
2362 wxPy_BEGIN_ALLOW_THREADS;
2363 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2364
2365 wxPy_END_ALLOW_THREADS;
2366 } Py_INCREF(Py_None);
2367 _resultobj = Py_None;
2368 return _resultobj;
2369 }
2370
2371 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2372 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2373 PyObject * _resultobj;
2374 wxPyGridCellEditor * _arg0;
2375 wxKeyEvent * _arg1;
2376 PyObject * _argo0 = 0;
2377 PyObject * _argo1 = 0;
2378 char *_kwnames[] = { "self","event", NULL };
2379
2380 self = self;
2381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2382 return NULL;
2383 if (_argo0) {
2384 if (_argo0 == Py_None) { _arg0 = NULL; }
2385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2387 return NULL;
2388 }
2389 }
2390 if (_argo1) {
2391 if (_argo1 == Py_None) { _arg1 = NULL; }
2392 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2393 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2394 return NULL;
2395 }
2396 }
2397 {
2398 wxPy_BEGIN_ALLOW_THREADS;
2399 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2400
2401 wxPy_END_ALLOW_THREADS;
2402 } Py_INCREF(Py_None);
2403 _resultobj = Py_None;
2404 return _resultobj;
2405 }
2406
2407 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2408 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject * _resultobj;
2410 wxPyGridCellEditor * _arg0;
2411 wxKeyEvent * _arg1;
2412 PyObject * _argo0 = 0;
2413 PyObject * _argo1 = 0;
2414 char *_kwnames[] = { "self","event", NULL };
2415
2416 self = self;
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2418 return NULL;
2419 if (_argo0) {
2420 if (_argo0 == Py_None) { _arg0 = NULL; }
2421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2423 return NULL;
2424 }
2425 }
2426 if (_argo1) {
2427 if (_argo1 == Py_None) { _arg1 = NULL; }
2428 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2429 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2430 return NULL;
2431 }
2432 }
2433 {
2434 wxPy_BEGIN_ALLOW_THREADS;
2435 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2436
2437 wxPy_END_ALLOW_THREADS;
2438 } Py_INCREF(Py_None);
2439 _resultobj = Py_None;
2440 return _resultobj;
2441 }
2442
2443 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2444 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2445 PyObject * _resultobj;
2446 wxPyGridCellEditor * _arg0;
2447 PyObject * _argo0 = 0;
2448 char *_kwnames[] = { "self", NULL };
2449
2450 self = self;
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2452 return NULL;
2453 if (_argo0) {
2454 if (_argo0 == Py_None) { _arg0 = NULL; }
2455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2457 return NULL;
2458 }
2459 }
2460 {
2461 wxPy_BEGIN_ALLOW_THREADS;
2462 wxPyGridCellEditor_base_StartingClick(_arg0);
2463
2464 wxPy_END_ALLOW_THREADS;
2465 } Py_INCREF(Py_None);
2466 _resultobj = Py_None;
2467 return _resultobj;
2468 }
2469
2470 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2471 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2472 PyObject * _resultobj;
2473 wxPyGridCellEditor * _arg0;
2474 wxKeyEvent * _arg1;
2475 PyObject * _argo0 = 0;
2476 PyObject * _argo1 = 0;
2477 char *_kwnames[] = { "self","event", NULL };
2478
2479 self = self;
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2481 return NULL;
2482 if (_argo0) {
2483 if (_argo0 == Py_None) { _arg0 = NULL; }
2484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2486 return NULL;
2487 }
2488 }
2489 if (_argo1) {
2490 if (_argo1 == Py_None) { _arg1 = NULL; }
2491 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2492 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2493 return NULL;
2494 }
2495 }
2496 {
2497 wxPy_BEGIN_ALLOW_THREADS;
2498 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2499
2500 wxPy_END_ALLOW_THREADS;
2501 } Py_INCREF(Py_None);
2502 _resultobj = Py_None;
2503 return _resultobj;
2504 }
2505
2506 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2507 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2508 PyObject * _resultobj;
2509 wxPyGridCellEditor * _arg0;
2510 PyObject * _argo0 = 0;
2511 char *_kwnames[] = { "self", NULL };
2512
2513 self = self;
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2515 return NULL;
2516 if (_argo0) {
2517 if (_argo0 == Py_None) { _arg0 = NULL; }
2518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2520 return NULL;
2521 }
2522 }
2523 {
2524 wxPy_BEGIN_ALLOW_THREADS;
2525 wxPyGridCellEditor_base_Destroy(_arg0);
2526
2527 wxPy_END_ALLOW_THREADS;
2528 } Py_INCREF(Py_None);
2529 _resultobj = Py_None;
2530 return _resultobj;
2531 }
2532
2533 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2534 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2535 PyObject * _resultobj;
2536 wxPyGridCellEditor * _arg0;
2537 wxString * _arg1;
2538 PyObject * _argo0 = 0;
2539 PyObject * _obj1 = 0;
2540 char *_kwnames[] = { "self","params", NULL };
2541
2542 self = self;
2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2544 return NULL;
2545 if (_argo0) {
2546 if (_argo0 == Py_None) { _arg0 = NULL; }
2547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2549 return NULL;
2550 }
2551 }
2552 {
2553 #if PYTHON_API_VERSION >= 1009
2554 char* tmpPtr; int tmpSize;
2555 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2556 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2557 return NULL;
2558 }
2559 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2560 return NULL;
2561 _arg1 = new wxString(tmpPtr, tmpSize);
2562 #else
2563 if (!PyString_Check(_obj1)) {
2564 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2565 return NULL;
2566 }
2567 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2568 #endif
2569 }
2570 {
2571 wxPy_BEGIN_ALLOW_THREADS;
2572 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2573
2574 wxPy_END_ALLOW_THREADS;
2575 } Py_INCREF(Py_None);
2576 _resultobj = Py_None;
2577 {
2578 if (_obj1)
2579 delete _arg1;
2580 }
2581 return _resultobj;
2582 }
2583
2584 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2585 wxGridCellTextEditor *src;
2586 wxGridCellEditor *dest;
2587 src = (wxGridCellTextEditor *) ptr;
2588 dest = (wxGridCellEditor *) src;
2589 return (void *) dest;
2590 }
2591
2592 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2593 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2594 PyObject * _resultobj;
2595 wxGridCellTextEditor * _result;
2596 char *_kwnames[] = { NULL };
2597 char _ptemp[128];
2598
2599 self = self;
2600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2601 return NULL;
2602 {
2603 wxPy_BEGIN_ALLOW_THREADS;
2604 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2605
2606 wxPy_END_ALLOW_THREADS;
2607 } if (_result) {
2608 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2609 _resultobj = Py_BuildValue("s",_ptemp);
2610 } else {
2611 Py_INCREF(Py_None);
2612 _resultobj = Py_None;
2613 }
2614 return _resultobj;
2615 }
2616
2617 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2618 wxGridCellNumberEditor *src;
2619 wxGridCellTextEditor *dest;
2620 src = (wxGridCellNumberEditor *) ptr;
2621 dest = (wxGridCellTextEditor *) src;
2622 return (void *) dest;
2623 }
2624
2625 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2626 wxGridCellNumberEditor *src;
2627 wxGridCellEditor *dest;
2628 src = (wxGridCellNumberEditor *) ptr;
2629 dest = (wxGridCellEditor *) src;
2630 return (void *) dest;
2631 }
2632
2633 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2634 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2635 PyObject * _resultobj;
2636 wxGridCellNumberEditor * _result;
2637 int _arg0 = (int ) -1;
2638 int _arg1 = (int ) -1;
2639 char *_kwnames[] = { "min","max", NULL };
2640 char _ptemp[128];
2641
2642 self = self;
2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2644 return NULL;
2645 {
2646 wxPy_BEGIN_ALLOW_THREADS;
2647 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2648
2649 wxPy_END_ALLOW_THREADS;
2650 } if (_result) {
2651 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2652 _resultobj = Py_BuildValue("s",_ptemp);
2653 } else {
2654 Py_INCREF(Py_None);
2655 _resultobj = Py_None;
2656 }
2657 return _resultobj;
2658 }
2659
2660 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2661 wxGridCellFloatEditor *src;
2662 wxGridCellTextEditor *dest;
2663 src = (wxGridCellFloatEditor *) ptr;
2664 dest = (wxGridCellTextEditor *) src;
2665 return (void *) dest;
2666 }
2667
2668 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2669 wxGridCellFloatEditor *src;
2670 wxGridCellEditor *dest;
2671 src = (wxGridCellFloatEditor *) ptr;
2672 dest = (wxGridCellEditor *) src;
2673 return (void *) dest;
2674 }
2675
2676 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2677 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2678 PyObject * _resultobj;
2679 wxGridCellFloatEditor * _result;
2680 char *_kwnames[] = { NULL };
2681 char _ptemp[128];
2682
2683 self = self;
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2685 return NULL;
2686 {
2687 wxPy_BEGIN_ALLOW_THREADS;
2688 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2689
2690 wxPy_END_ALLOW_THREADS;
2691 } if (_result) {
2692 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2693 _resultobj = Py_BuildValue("s",_ptemp);
2694 } else {
2695 Py_INCREF(Py_None);
2696 _resultobj = Py_None;
2697 }
2698 return _resultobj;
2699 }
2700
2701 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2702 wxGridCellBoolEditor *src;
2703 wxGridCellEditor *dest;
2704 src = (wxGridCellBoolEditor *) ptr;
2705 dest = (wxGridCellEditor *) src;
2706 return (void *) dest;
2707 }
2708
2709 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2710 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2711 PyObject * _resultobj;
2712 wxGridCellBoolEditor * _result;
2713 char *_kwnames[] = { NULL };
2714 char _ptemp[128];
2715
2716 self = self;
2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2718 return NULL;
2719 {
2720 wxPy_BEGIN_ALLOW_THREADS;
2721 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2722
2723 wxPy_END_ALLOW_THREADS;
2724 } if (_result) {
2725 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2726 _resultobj = Py_BuildValue("s",_ptemp);
2727 } else {
2728 Py_INCREF(Py_None);
2729 _resultobj = Py_None;
2730 }
2731 return _resultobj;
2732 }
2733
2734 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2735 wxGridCellChoiceEditor *src;
2736 wxGridCellEditor *dest;
2737 src = (wxGridCellChoiceEditor *) ptr;
2738 dest = (wxGridCellEditor *) src;
2739 return (void *) dest;
2740 }
2741
2742 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2743 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2744 PyObject * _resultobj;
2745 wxGridCellChoiceEditor * _result;
2746 int _arg0 = (int ) 0;
2747 wxString * _arg1 = (wxString *) NULL;
2748 bool _arg2 = (bool ) FALSE;
2749 PyObject * _obj1 = 0;
2750 int tempbool2 = (int) FALSE;
2751 char *_kwnames[] = { "choices","allowOthers", NULL };
2752 char _ptemp[128];
2753
2754 self = self;
2755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2756 return NULL;
2757 if (_obj1)
2758 {
2759 _arg1 = wxString_LIST_helper(_obj1);
2760 if (_arg1 == NULL) {
2761 return NULL;
2762 }
2763 }
2764 _arg2 = (bool ) tempbool2;
2765 {
2766 if (_obj1) {
2767 _arg0 = PyList_Size(_obj1);
2768 }
2769 else {
2770 _arg0 = 0;
2771 }
2772 }
2773 {
2774 wxPy_BEGIN_ALLOW_THREADS;
2775 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2776
2777 wxPy_END_ALLOW_THREADS;
2778 } if (_result) {
2779 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2780 _resultobj = Py_BuildValue("s",_ptemp);
2781 } else {
2782 Py_INCREF(Py_None);
2783 _resultobj = Py_None;
2784 }
2785 {
2786 delete [] _arg1;
2787 }
2788 return _resultobj;
2789 }
2790
2791 #define new_wxGridCellAttr() (new wxGridCellAttr())
2792 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2793 PyObject * _resultobj;
2794 wxGridCellAttr * _result;
2795 char *_kwnames[] = { NULL };
2796 char _ptemp[128];
2797
2798 self = self;
2799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttr",_kwnames))
2800 return NULL;
2801 {
2802 wxPy_BEGIN_ALLOW_THREADS;
2803 _result = (wxGridCellAttr *)new_wxGridCellAttr();
2804
2805 wxPy_END_ALLOW_THREADS;
2806 } if (_result) {
2807 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2808 _resultobj = Py_BuildValue("s",_ptemp);
2809 } else {
2810 Py_INCREF(Py_None);
2811 _resultobj = Py_None;
2812 }
2813 return _resultobj;
2814 }
2815
2816 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2817 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2818 PyObject * _resultobj;
2819 wxGridCellAttr * _result;
2820 wxGridCellAttr * _arg0;
2821 PyObject * _argo0 = 0;
2822 char *_kwnames[] = { "self", NULL };
2823 char _ptemp[128];
2824
2825 self = self;
2826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
2827 return NULL;
2828 if (_argo0) {
2829 if (_argo0 == Py_None) { _arg0 = NULL; }
2830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2832 return NULL;
2833 }
2834 }
2835 {
2836 wxPy_BEGIN_ALLOW_THREADS;
2837 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
2838
2839 wxPy_END_ALLOW_THREADS;
2840 } if (_result) {
2841 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
2842 _resultobj = Py_BuildValue("s",_ptemp);
2843 } else {
2844 Py_INCREF(Py_None);
2845 _resultobj = Py_None;
2846 }
2847 return _resultobj;
2848 }
2849
2850 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2851 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2852 PyObject * _resultobj;
2853 wxGridCellAttr * _arg0;
2854 PyObject * _argo0 = 0;
2855 char *_kwnames[] = { "self", NULL };
2856
2857 self = self;
2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
2859 return NULL;
2860 if (_argo0) {
2861 if (_argo0 == Py_None) { _arg0 = NULL; }
2862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2864 return NULL;
2865 }
2866 }
2867 {
2868 wxPy_BEGIN_ALLOW_THREADS;
2869 wxGridCellAttr_IncRef(_arg0);
2870
2871 wxPy_END_ALLOW_THREADS;
2872 } Py_INCREF(Py_None);
2873 _resultobj = Py_None;
2874 return _resultobj;
2875 }
2876
2877 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2878 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2879 PyObject * _resultobj;
2880 wxGridCellAttr * _arg0;
2881 PyObject * _argo0 = 0;
2882 char *_kwnames[] = { "self", NULL };
2883
2884 self = self;
2885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
2886 return NULL;
2887 if (_argo0) {
2888 if (_argo0 == Py_None) { _arg0 = NULL; }
2889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2891 return NULL;
2892 }
2893 }
2894 {
2895 wxPy_BEGIN_ALLOW_THREADS;
2896 wxGridCellAttr_DecRef(_arg0);
2897
2898 wxPy_END_ALLOW_THREADS;
2899 } Py_INCREF(Py_None);
2900 _resultobj = Py_None;
2901 return _resultobj;
2902 }
2903
2904 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2905 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2906 PyObject * _resultobj;
2907 wxGridCellAttr * _arg0;
2908 wxColour * _arg1;
2909 PyObject * _argo0 = 0;
2910 wxColour temp;
2911 PyObject * _obj1 = 0;
2912 char *_kwnames[] = { "self","colText", NULL };
2913
2914 self = self;
2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
2916 return NULL;
2917 if (_argo0) {
2918 if (_argo0 == Py_None) { _arg0 = NULL; }
2919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2921 return NULL;
2922 }
2923 }
2924 {
2925 _arg1 = &temp;
2926 if (! wxColour_helper(_obj1, &_arg1))
2927 return NULL;
2928 }
2929 {
2930 wxPy_BEGIN_ALLOW_THREADS;
2931 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
2932
2933 wxPy_END_ALLOW_THREADS;
2934 } Py_INCREF(Py_None);
2935 _resultobj = Py_None;
2936 return _resultobj;
2937 }
2938
2939 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2940 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject * _resultobj;
2942 wxGridCellAttr * _arg0;
2943 wxColour * _arg1;
2944 PyObject * _argo0 = 0;
2945 wxColour temp;
2946 PyObject * _obj1 = 0;
2947 char *_kwnames[] = { "self","colBack", NULL };
2948
2949 self = self;
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
2951 return NULL;
2952 if (_argo0) {
2953 if (_argo0 == Py_None) { _arg0 = NULL; }
2954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2956 return NULL;
2957 }
2958 }
2959 {
2960 _arg1 = &temp;
2961 if (! wxColour_helper(_obj1, &_arg1))
2962 return NULL;
2963 }
2964 {
2965 wxPy_BEGIN_ALLOW_THREADS;
2966 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
2967
2968 wxPy_END_ALLOW_THREADS;
2969 } Py_INCREF(Py_None);
2970 _resultobj = Py_None;
2971 return _resultobj;
2972 }
2973
2974 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2975 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2976 PyObject * _resultobj;
2977 wxGridCellAttr * _arg0;
2978 wxFont * _arg1;
2979 PyObject * _argo0 = 0;
2980 PyObject * _argo1 = 0;
2981 char *_kwnames[] = { "self","font", NULL };
2982
2983 self = self;
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
2985 return NULL;
2986 if (_argo0) {
2987 if (_argo0 == Py_None) { _arg0 = NULL; }
2988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
2989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
2990 return NULL;
2991 }
2992 }
2993 if (_argo1) {
2994 if (_argo1 == Py_None) { _arg1 = NULL; }
2995 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2996 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
2997 return NULL;
2998 }
2999 }
3000 {
3001 wxPy_BEGIN_ALLOW_THREADS;
3002 wxGridCellAttr_SetFont(_arg0,*_arg1);
3003
3004 wxPy_END_ALLOW_THREADS;
3005 } Py_INCREF(Py_None);
3006 _resultobj = Py_None;
3007 return _resultobj;
3008 }
3009
3010 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3011 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3012 PyObject * _resultobj;
3013 wxGridCellAttr * _arg0;
3014 int _arg1;
3015 int _arg2;
3016 PyObject * _argo0 = 0;
3017 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3018
3019 self = self;
3020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3021 return NULL;
3022 if (_argo0) {
3023 if (_argo0 == Py_None) { _arg0 = NULL; }
3024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3026 return NULL;
3027 }
3028 }
3029 {
3030 wxPy_BEGIN_ALLOW_THREADS;
3031 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3032
3033 wxPy_END_ALLOW_THREADS;
3034 } Py_INCREF(Py_None);
3035 _resultobj = Py_None;
3036 return _resultobj;
3037 }
3038
3039 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3040 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3041 PyObject * _resultobj;
3042 wxGridCellAttr * _arg0;
3043 bool _arg1 = (bool ) TRUE;
3044 PyObject * _argo0 = 0;
3045 int tempbool1 = (int) TRUE;
3046 char *_kwnames[] = { "self","isReadOnly", NULL };
3047
3048 self = self;
3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3050 return NULL;
3051 if (_argo0) {
3052 if (_argo0 == Py_None) { _arg0 = NULL; }
3053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3055 return NULL;
3056 }
3057 }
3058 _arg1 = (bool ) tempbool1;
3059 {
3060 wxPy_BEGIN_ALLOW_THREADS;
3061 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3062
3063 wxPy_END_ALLOW_THREADS;
3064 } Py_INCREF(Py_None);
3065 _resultobj = Py_None;
3066 return _resultobj;
3067 }
3068
3069 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3070 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3071 PyObject * _resultobj;
3072 wxGridCellAttr * _arg0;
3073 wxGridCellRenderer * _arg1;
3074 PyObject * _argo0 = 0;
3075 PyObject * _argo1 = 0;
3076 char *_kwnames[] = { "self","renderer", NULL };
3077
3078 self = self;
3079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3080 return NULL;
3081 if (_argo0) {
3082 if (_argo0 == Py_None) { _arg0 = NULL; }
3083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3085 return NULL;
3086 }
3087 }
3088 if (_argo1) {
3089 if (_argo1 == Py_None) { _arg1 = NULL; }
3090 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3091 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3092 return NULL;
3093 }
3094 }
3095 {
3096 wxPy_BEGIN_ALLOW_THREADS;
3097 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3098
3099 wxPy_END_ALLOW_THREADS;
3100 } Py_INCREF(Py_None);
3101 _resultobj = Py_None;
3102 return _resultobj;
3103 }
3104
3105 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3106 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3107 PyObject * _resultobj;
3108 wxGridCellAttr * _arg0;
3109 wxGridCellEditor * _arg1;
3110 PyObject * _argo0 = 0;
3111 PyObject * _argo1 = 0;
3112 char *_kwnames[] = { "self","editor", NULL };
3113
3114 self = self;
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3116 return NULL;
3117 if (_argo0) {
3118 if (_argo0 == Py_None) { _arg0 = NULL; }
3119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3121 return NULL;
3122 }
3123 }
3124 if (_argo1) {
3125 if (_argo1 == Py_None) { _arg1 = NULL; }
3126 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3127 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3128 return NULL;
3129 }
3130 }
3131 {
3132 wxPy_BEGIN_ALLOW_THREADS;
3133 wxGridCellAttr_SetEditor(_arg0,_arg1);
3134
3135 wxPy_END_ALLOW_THREADS;
3136 } Py_INCREF(Py_None);
3137 _resultobj = Py_None;
3138 return _resultobj;
3139 }
3140
3141 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3142 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject * _resultobj;
3144 bool _result;
3145 wxGridCellAttr * _arg0;
3146 PyObject * _argo0 = 0;
3147 char *_kwnames[] = { "self", NULL };
3148
3149 self = self;
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3151 return NULL;
3152 if (_argo0) {
3153 if (_argo0 == Py_None) { _arg0 = NULL; }
3154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3156 return NULL;
3157 }
3158 }
3159 {
3160 wxPy_BEGIN_ALLOW_THREADS;
3161 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3162
3163 wxPy_END_ALLOW_THREADS;
3164 } _resultobj = Py_BuildValue("i",_result);
3165 return _resultobj;
3166 }
3167
3168 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3169 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3170 PyObject * _resultobj;
3171 bool _result;
3172 wxGridCellAttr * _arg0;
3173 PyObject * _argo0 = 0;
3174 char *_kwnames[] = { "self", NULL };
3175
3176 self = self;
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3178 return NULL;
3179 if (_argo0) {
3180 if (_argo0 == Py_None) { _arg0 = NULL; }
3181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3183 return NULL;
3184 }
3185 }
3186 {
3187 wxPy_BEGIN_ALLOW_THREADS;
3188 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3189
3190 wxPy_END_ALLOW_THREADS;
3191 } _resultobj = Py_BuildValue("i",_result);
3192 return _resultobj;
3193 }
3194
3195 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3196 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3197 PyObject * _resultobj;
3198 bool _result;
3199 wxGridCellAttr * _arg0;
3200 PyObject * _argo0 = 0;
3201 char *_kwnames[] = { "self", NULL };
3202
3203 self = self;
3204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3205 return NULL;
3206 if (_argo0) {
3207 if (_argo0 == Py_None) { _arg0 = NULL; }
3208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3210 return NULL;
3211 }
3212 }
3213 {
3214 wxPy_BEGIN_ALLOW_THREADS;
3215 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3216
3217 wxPy_END_ALLOW_THREADS;
3218 } _resultobj = Py_BuildValue("i",_result);
3219 return _resultobj;
3220 }
3221
3222 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3223 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3224 PyObject * _resultobj;
3225 bool _result;
3226 wxGridCellAttr * _arg0;
3227 PyObject * _argo0 = 0;
3228 char *_kwnames[] = { "self", NULL };
3229
3230 self = self;
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3232 return NULL;
3233 if (_argo0) {
3234 if (_argo0 == Py_None) { _arg0 = NULL; }
3235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3237 return NULL;
3238 }
3239 }
3240 {
3241 wxPy_BEGIN_ALLOW_THREADS;
3242 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3243
3244 wxPy_END_ALLOW_THREADS;
3245 } _resultobj = Py_BuildValue("i",_result);
3246 return _resultobj;
3247 }
3248
3249 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3250 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject * _resultobj;
3252 bool _result;
3253 wxGridCellAttr * _arg0;
3254 PyObject * _argo0 = 0;
3255 char *_kwnames[] = { "self", NULL };
3256
3257 self = self;
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3259 return NULL;
3260 if (_argo0) {
3261 if (_argo0 == Py_None) { _arg0 = NULL; }
3262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3264 return NULL;
3265 }
3266 }
3267 {
3268 wxPy_BEGIN_ALLOW_THREADS;
3269 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3270
3271 wxPy_END_ALLOW_THREADS;
3272 } _resultobj = Py_BuildValue("i",_result);
3273 return _resultobj;
3274 }
3275
3276 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3277 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3278 PyObject * _resultobj;
3279 bool _result;
3280 wxGridCellAttr * _arg0;
3281 PyObject * _argo0 = 0;
3282 char *_kwnames[] = { "self", NULL };
3283
3284 self = self;
3285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3286 return NULL;
3287 if (_argo0) {
3288 if (_argo0 == Py_None) { _arg0 = NULL; }
3289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3291 return NULL;
3292 }
3293 }
3294 {
3295 wxPy_BEGIN_ALLOW_THREADS;
3296 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3297
3298 wxPy_END_ALLOW_THREADS;
3299 } _resultobj = Py_BuildValue("i",_result);
3300 return _resultobj;
3301 }
3302
3303 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3304 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3305 PyObject * _resultobj;
3306 wxColour * _result;
3307 wxGridCellAttr * _arg0;
3308 PyObject * _argo0 = 0;
3309 char *_kwnames[] = { "self", NULL };
3310 char _ptemp[128];
3311
3312 self = self;
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3314 return NULL;
3315 if (_argo0) {
3316 if (_argo0 == Py_None) { _arg0 = NULL; }
3317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3319 return NULL;
3320 }
3321 }
3322 {
3323 wxPy_BEGIN_ALLOW_THREADS;
3324 const wxColour & _result_ref = wxGridCellAttr_GetTextColour(_arg0);
3325 _result = (wxColour *) &_result_ref;
3326
3327 wxPy_END_ALLOW_THREADS;
3328 } if (_result) {
3329 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3330 _resultobj = Py_BuildValue("s",_ptemp);
3331 } else {
3332 Py_INCREF(Py_None);
3333 _resultobj = Py_None;
3334 }
3335 return _resultobj;
3336 }
3337
3338 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3339 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3340 PyObject * _resultobj;
3341 wxColour * _result;
3342 wxGridCellAttr * _arg0;
3343 PyObject * _argo0 = 0;
3344 char *_kwnames[] = { "self", NULL };
3345 char _ptemp[128];
3346
3347 self = self;
3348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3349 return NULL;
3350 if (_argo0) {
3351 if (_argo0 == Py_None) { _arg0 = NULL; }
3352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3354 return NULL;
3355 }
3356 }
3357 {
3358 wxPy_BEGIN_ALLOW_THREADS;
3359 const wxColour & _result_ref = wxGridCellAttr_GetBackgroundColour(_arg0);
3360 _result = (wxColour *) &_result_ref;
3361
3362 wxPy_END_ALLOW_THREADS;
3363 } if (_result) {
3364 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3365 _resultobj = Py_BuildValue("s",_ptemp);
3366 } else {
3367 Py_INCREF(Py_None);
3368 _resultobj = Py_None;
3369 }
3370 return _resultobj;
3371 }
3372
3373 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3374 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject * _resultobj;
3376 wxFont * _result;
3377 wxGridCellAttr * _arg0;
3378 PyObject * _argo0 = 0;
3379 char *_kwnames[] = { "self", NULL };
3380 char _ptemp[128];
3381
3382 self = self;
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3384 return NULL;
3385 if (_argo0) {
3386 if (_argo0 == Py_None) { _arg0 = NULL; }
3387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3389 return NULL;
3390 }
3391 }
3392 {
3393 wxPy_BEGIN_ALLOW_THREADS;
3394 const wxFont & _result_ref = wxGridCellAttr_GetFont(_arg0);
3395 _result = (wxFont *) &_result_ref;
3396
3397 wxPy_END_ALLOW_THREADS;
3398 } if (_result) {
3399 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3400 _resultobj = Py_BuildValue("s",_ptemp);
3401 } else {
3402 Py_INCREF(Py_None);
3403 _resultobj = Py_None;
3404 }
3405 return _resultobj;
3406 }
3407
3408 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3409 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3410 PyObject * _resultobj;
3411 wxGridCellAttr * _arg0;
3412 int * _arg1;
3413 int temp;
3414 int * _arg2;
3415 int temp0;
3416 PyObject * _argo0 = 0;
3417 char *_kwnames[] = { "self", NULL };
3418
3419 self = self;
3420 {
3421 _arg1 = &temp;
3422 }
3423 {
3424 _arg2 = &temp0;
3425 }
3426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3427 return NULL;
3428 if (_argo0) {
3429 if (_argo0 == Py_None) { _arg0 = NULL; }
3430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3432 return NULL;
3433 }
3434 }
3435 {
3436 wxPy_BEGIN_ALLOW_THREADS;
3437 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3438
3439 wxPy_END_ALLOW_THREADS;
3440 } Py_INCREF(Py_None);
3441 _resultobj = Py_None;
3442 {
3443 PyObject *o;
3444 o = PyInt_FromLong((long) (*_arg1));
3445 _resultobj = t_output_helper(_resultobj, o);
3446 }
3447 {
3448 PyObject *o;
3449 o = PyInt_FromLong((long) (*_arg2));
3450 _resultobj = t_output_helper(_resultobj, o);
3451 }
3452 return _resultobj;
3453 }
3454
3455 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3456 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3457 PyObject * _resultobj;
3458 wxGridCellRenderer * _result;
3459 wxGridCellAttr * _arg0;
3460 wxGrid * _arg1;
3461 int _arg2;
3462 int _arg3;
3463 PyObject * _argo0 = 0;
3464 PyObject * _argo1 = 0;
3465 char *_kwnames[] = { "self","grid","row","col", NULL };
3466 char _ptemp[128];
3467
3468 self = self;
3469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3470 return NULL;
3471 if (_argo0) {
3472 if (_argo0 == Py_None) { _arg0 = NULL; }
3473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3475 return NULL;
3476 }
3477 }
3478 if (_argo1) {
3479 if (_argo1 == Py_None) { _arg1 = NULL; }
3480 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3481 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3482 return NULL;
3483 }
3484 }
3485 {
3486 wxPy_BEGIN_ALLOW_THREADS;
3487 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3488
3489 wxPy_END_ALLOW_THREADS;
3490 } if (_result) {
3491 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3492 _resultobj = Py_BuildValue("s",_ptemp);
3493 } else {
3494 Py_INCREF(Py_None);
3495 _resultobj = Py_None;
3496 }
3497 return _resultobj;
3498 }
3499
3500 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3501 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3502 PyObject * _resultobj;
3503 wxGridCellEditor * _result;
3504 wxGridCellAttr * _arg0;
3505 wxGrid * _arg1;
3506 int _arg2;
3507 int _arg3;
3508 PyObject * _argo0 = 0;
3509 PyObject * _argo1 = 0;
3510 char *_kwnames[] = { "self","grid","row","col", NULL };
3511 char _ptemp[128];
3512
3513 self = self;
3514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3515 return NULL;
3516 if (_argo0) {
3517 if (_argo0 == Py_None) { _arg0 = NULL; }
3518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3520 return NULL;
3521 }
3522 }
3523 if (_argo1) {
3524 if (_argo1 == Py_None) { _arg1 = NULL; }
3525 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3526 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3527 return NULL;
3528 }
3529 }
3530 {
3531 wxPy_BEGIN_ALLOW_THREADS;
3532 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3533
3534 wxPy_END_ALLOW_THREADS;
3535 } if (_result) {
3536 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3537 _resultobj = Py_BuildValue("s",_ptemp);
3538 } else {
3539 Py_INCREF(Py_None);
3540 _resultobj = Py_None;
3541 }
3542 return _resultobj;
3543 }
3544
3545 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3546 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3547 PyObject * _resultobj;
3548 bool _result;
3549 wxGridCellAttr * _arg0;
3550 PyObject * _argo0 = 0;
3551 char *_kwnames[] = { "self", NULL };
3552
3553 self = self;
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3555 return NULL;
3556 if (_argo0) {
3557 if (_argo0 == Py_None) { _arg0 = NULL; }
3558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3560 return NULL;
3561 }
3562 }
3563 {
3564 wxPy_BEGIN_ALLOW_THREADS;
3565 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3566
3567 wxPy_END_ALLOW_THREADS;
3568 } _resultobj = Py_BuildValue("i",_result);
3569 return _resultobj;
3570 }
3571
3572 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3573 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject * _resultobj;
3575 wxGridCellAttr * _arg0;
3576 wxGridCellAttr * _arg1;
3577 PyObject * _argo0 = 0;
3578 PyObject * _argo1 = 0;
3579 char *_kwnames[] = { "self","defAttr", NULL };
3580
3581 self = self;
3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3583 return NULL;
3584 if (_argo0) {
3585 if (_argo0 == Py_None) { _arg0 = NULL; }
3586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3588 return NULL;
3589 }
3590 }
3591 if (_argo1) {
3592 if (_argo1 == Py_None) { _arg1 = NULL; }
3593 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3595 return NULL;
3596 }
3597 }
3598 {
3599 wxPy_BEGIN_ALLOW_THREADS;
3600 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3601
3602 wxPy_END_ALLOW_THREADS;
3603 } Py_INCREF(Py_None);
3604 _resultobj = Py_None;
3605 return _resultobj;
3606 }
3607
3608 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3609 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3610 PyObject * _resultobj;
3611 wxGridCellAttrProvider * _result;
3612 char *_kwnames[] = { NULL };
3613 char _ptemp[128];
3614
3615 self = self;
3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3617 return NULL;
3618 {
3619 wxPy_BEGIN_ALLOW_THREADS;
3620 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3621
3622 wxPy_END_ALLOW_THREADS;
3623 } if (_result) {
3624 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3625 _resultobj = Py_BuildValue("s",_ptemp);
3626 } else {
3627 Py_INCREF(Py_None);
3628 _resultobj = Py_None;
3629 }
3630 return _resultobj;
3631 }
3632
3633 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
3634 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3635 PyObject * _resultobj;
3636 wxGridCellAttr * _result;
3637 wxGridCellAttrProvider * _arg0;
3638 int _arg1;
3639 int _arg2;
3640 PyObject * _argo0 = 0;
3641 char *_kwnames[] = { "self","row","col", NULL };
3642 char _ptemp[128];
3643
3644 self = self;
3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3646 return NULL;
3647 if (_argo0) {
3648 if (_argo0 == Py_None) { _arg0 = NULL; }
3649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3651 return NULL;
3652 }
3653 }
3654 {
3655 wxPy_BEGIN_ALLOW_THREADS;
3656 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2);
3657
3658 wxPy_END_ALLOW_THREADS;
3659 } if (_result) {
3660 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3661 _resultobj = Py_BuildValue("s",_ptemp);
3662 } else {
3663 Py_INCREF(Py_None);
3664 _resultobj = Py_None;
3665 }
3666 return _resultobj;
3667 }
3668
3669 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3670 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3671 PyObject * _resultobj;
3672 wxGridCellAttrProvider * _arg0;
3673 wxGridCellAttr * _arg1;
3674 int _arg2;
3675 int _arg3;
3676 PyObject * _argo0 = 0;
3677 PyObject * _argo1 = 0;
3678 char *_kwnames[] = { "self","attr","row","col", NULL };
3679
3680 self = self;
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3682 return NULL;
3683 if (_argo0) {
3684 if (_argo0 == Py_None) { _arg0 = NULL; }
3685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3687 return NULL;
3688 }
3689 }
3690 if (_argo1) {
3691 if (_argo1 == Py_None) { _arg1 = NULL; }
3692 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3693 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3694 return NULL;
3695 }
3696 }
3697 {
3698 wxPy_BEGIN_ALLOW_THREADS;
3699 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
3700
3701 wxPy_END_ALLOW_THREADS;
3702 } Py_INCREF(Py_None);
3703 _resultobj = Py_None;
3704 return _resultobj;
3705 }
3706
3707 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3708 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3709 PyObject * _resultobj;
3710 wxGridCellAttrProvider * _arg0;
3711 wxGridCellAttr * _arg1;
3712 int _arg2;
3713 PyObject * _argo0 = 0;
3714 PyObject * _argo1 = 0;
3715 char *_kwnames[] = { "self","attr","row", NULL };
3716
3717 self = self;
3718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3719 return NULL;
3720 if (_argo0) {
3721 if (_argo0 == Py_None) { _arg0 = NULL; }
3722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3724 return NULL;
3725 }
3726 }
3727 if (_argo1) {
3728 if (_argo1 == Py_None) { _arg1 = NULL; }
3729 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3730 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3731 return NULL;
3732 }
3733 }
3734 {
3735 wxPy_BEGIN_ALLOW_THREADS;
3736 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
3737
3738 wxPy_END_ALLOW_THREADS;
3739 } Py_INCREF(Py_None);
3740 _resultobj = Py_None;
3741 return _resultobj;
3742 }
3743
3744 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3745 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3746 PyObject * _resultobj;
3747 wxGridCellAttrProvider * _arg0;
3748 wxGridCellAttr * _arg1;
3749 int _arg2;
3750 PyObject * _argo0 = 0;
3751 PyObject * _argo1 = 0;
3752 char *_kwnames[] = { "self","attr","col", NULL };
3753
3754 self = self;
3755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3756 return NULL;
3757 if (_argo0) {
3758 if (_argo0 == Py_None) { _arg0 = NULL; }
3759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3761 return NULL;
3762 }
3763 }
3764 if (_argo1) {
3765 if (_argo1 == Py_None) { _arg1 = NULL; }
3766 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3767 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3768 return NULL;
3769 }
3770 }
3771 {
3772 wxPy_BEGIN_ALLOW_THREADS;
3773 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
3774
3775 wxPy_END_ALLOW_THREADS;
3776 } Py_INCREF(Py_None);
3777 _resultobj = Py_None;
3778 return _resultobj;
3779 }
3780
3781 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3782 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3783 PyObject * _resultobj;
3784 wxGridCellAttrProvider * _arg0;
3785 size_t _arg1;
3786 int _arg2;
3787 PyObject * _argo0 = 0;
3788 char *_kwnames[] = { "self","pos","numRows", NULL };
3789
3790 self = self;
3791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
3792 return NULL;
3793 if (_argo0) {
3794 if (_argo0 == Py_None) { _arg0 = NULL; }
3795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3797 return NULL;
3798 }
3799 }
3800 {
3801 wxPy_BEGIN_ALLOW_THREADS;
3802 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
3803
3804 wxPy_END_ALLOW_THREADS;
3805 } Py_INCREF(Py_None);
3806 _resultobj = Py_None;
3807 return _resultobj;
3808 }
3809
3810 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3811 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3812 PyObject * _resultobj;
3813 wxGridCellAttrProvider * _arg0;
3814 size_t _arg1;
3815 int _arg2;
3816 PyObject * _argo0 = 0;
3817 char *_kwnames[] = { "self","pos","numCols", NULL };
3818
3819 self = self;
3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
3821 return NULL;
3822 if (_argo0) {
3823 if (_argo0 == Py_None) { _arg0 = NULL; }
3824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
3825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3826 return NULL;
3827 }
3828 }
3829 {
3830 wxPy_BEGIN_ALLOW_THREADS;
3831 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
3832
3833 wxPy_END_ALLOW_THREADS;
3834 } Py_INCREF(Py_None);
3835 _resultobj = Py_None;
3836 return _resultobj;
3837 }
3838
3839 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
3840 wxPyGridCellAttrProvider *src;
3841 wxGridCellAttrProvider *dest;
3842 src = (wxPyGridCellAttrProvider *) ptr;
3843 dest = (wxGridCellAttrProvider *) src;
3844 return (void *) dest;
3845 }
3846
3847 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3848 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3849 PyObject * _resultobj;
3850 wxPyGridCellAttrProvider * _result;
3851 char *_kwnames[] = { NULL };
3852 char _ptemp[128];
3853
3854 self = self;
3855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
3856 return NULL;
3857 {
3858 wxPy_BEGIN_ALLOW_THREADS;
3859 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
3860
3861 wxPy_END_ALLOW_THREADS;
3862 } if (_result) {
3863 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
3864 _resultobj = Py_BuildValue("s",_ptemp);
3865 } else {
3866 Py_INCREF(Py_None);
3867 _resultobj = Py_None;
3868 }
3869 return _resultobj;
3870 }
3871
3872 #define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3873 static PyObject *_wrap_wxPyGridCellAttrProvider__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject * _resultobj;
3875 wxPyGridCellAttrProvider * _arg0;
3876 PyObject * _arg1;
3877 PyObject * _arg2;
3878 PyObject * _argo0 = 0;
3879 PyObject * _obj1 = 0;
3880 PyObject * _obj2 = 0;
3881 char *_kwnames[] = { "self","self","_class", NULL };
3882
3883 self = self;
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
3885 return NULL;
3886 if (_argo0) {
3887 if (_argo0 == Py_None) { _arg0 = NULL; }
3888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3890 return NULL;
3891 }
3892 }
3893 {
3894 _arg1 = _obj1;
3895 }
3896 {
3897 _arg2 = _obj2;
3898 }
3899 {
3900 wxPy_BEGIN_ALLOW_THREADS;
3901 wxPyGridCellAttrProvider__setSelf(_arg0,_arg1,_arg2);
3902
3903 wxPy_END_ALLOW_THREADS;
3904 } Py_INCREF(Py_None);
3905 _resultobj = Py_None;
3906 return _resultobj;
3907 }
3908
3909 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
3910 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3911 PyObject * _resultobj;
3912 wxGridCellAttr * _result;
3913 wxPyGridCellAttrProvider * _arg0;
3914 int _arg1;
3915 int _arg2;
3916 PyObject * _argo0 = 0;
3917 char *_kwnames[] = { "self","row","col", NULL };
3918 char _ptemp[128];
3919
3920 self = self;
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
3922 return NULL;
3923 if (_argo0) {
3924 if (_argo0 == Py_None) { _arg0 = NULL; }
3925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
3927 return NULL;
3928 }
3929 }
3930 {
3931 wxPy_BEGIN_ALLOW_THREADS;
3932 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2);
3933
3934 wxPy_END_ALLOW_THREADS;
3935 } if (_result) {
3936 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3937 _resultobj = Py_BuildValue("s",_ptemp);
3938 } else {
3939 Py_INCREF(Py_None);
3940 _resultobj = Py_None;
3941 }
3942 return _resultobj;
3943 }
3944
3945 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
3946 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject * _resultobj;
3948 wxPyGridCellAttrProvider * _arg0;
3949 wxGridCellAttr * _arg1;
3950 int _arg2;
3951 int _arg3;
3952 PyObject * _argo0 = 0;
3953 PyObject * _argo1 = 0;
3954 char *_kwnames[] = { "self","attr","row","col", NULL };
3955
3956 self = self;
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3958 return NULL;
3959 if (_argo0) {
3960 if (_argo0 == Py_None) { _arg0 = NULL; }
3961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
3963 return NULL;
3964 }
3965 }
3966 if (_argo1) {
3967 if (_argo1 == Py_None) { _arg1 = NULL; }
3968 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3969 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
3970 return NULL;
3971 }
3972 }
3973 {
3974 wxPy_BEGIN_ALLOW_THREADS;
3975 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
3976
3977 wxPy_END_ALLOW_THREADS;
3978 } Py_INCREF(Py_None);
3979 _resultobj = Py_None;
3980 return _resultobj;
3981 }
3982
3983 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
3984 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3985 PyObject * _resultobj;
3986 wxPyGridCellAttrProvider * _arg0;
3987 wxGridCellAttr * _arg1;
3988 int _arg2;
3989 PyObject * _argo0 = 0;
3990 PyObject * _argo1 = 0;
3991 char *_kwnames[] = { "self","attr","row", NULL };
3992
3993 self = self;
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
3995 return NULL;
3996 if (_argo0) {
3997 if (_argo0 == Py_None) { _arg0 = NULL; }
3998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
3999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4000 return NULL;
4001 }
4002 }
4003 if (_argo1) {
4004 if (_argo1 == Py_None) { _arg1 = NULL; }
4005 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4006 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4007 return NULL;
4008 }
4009 }
4010 {
4011 wxPy_BEGIN_ALLOW_THREADS;
4012 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4013
4014 wxPy_END_ALLOW_THREADS;
4015 } Py_INCREF(Py_None);
4016 _resultobj = Py_None;
4017 return _resultobj;
4018 }
4019
4020 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4021 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject * _resultobj;
4023 wxPyGridCellAttrProvider * _arg0;
4024 wxGridCellAttr * _arg1;
4025 int _arg2;
4026 PyObject * _argo0 = 0;
4027 PyObject * _argo1 = 0;
4028 char *_kwnames[] = { "self","attr","col", NULL };
4029
4030 self = self;
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4032 return NULL;
4033 if (_argo0) {
4034 if (_argo0 == Py_None) { _arg0 = NULL; }
4035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4037 return NULL;
4038 }
4039 }
4040 if (_argo1) {
4041 if (_argo1 == Py_None) { _arg1 = NULL; }
4042 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4043 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4044 return NULL;
4045 }
4046 }
4047 {
4048 wxPy_BEGIN_ALLOW_THREADS;
4049 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4050
4051 wxPy_END_ALLOW_THREADS;
4052 } Py_INCREF(Py_None);
4053 _resultobj = Py_None;
4054 return _resultobj;
4055 }
4056
4057 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4058 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4059 PyObject * _resultobj;
4060 wxGridTableBase * _arg0;
4061 wxGridCellAttrProvider * _arg1;
4062 PyObject * _argo0 = 0;
4063 PyObject * _argo1 = 0;
4064 char *_kwnames[] = { "self","attrProvider", NULL };
4065
4066 self = self;
4067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4068 return NULL;
4069 if (_argo0) {
4070 if (_argo0 == Py_None) { _arg0 = NULL; }
4071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4073 return NULL;
4074 }
4075 }
4076 if (_argo1) {
4077 if (_argo1 == Py_None) { _arg1 = NULL; }
4078 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4079 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4080 return NULL;
4081 }
4082 }
4083 {
4084 wxPy_BEGIN_ALLOW_THREADS;
4085 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4086
4087 wxPy_END_ALLOW_THREADS;
4088 } Py_INCREF(Py_None);
4089 _resultobj = Py_None;
4090 return _resultobj;
4091 }
4092
4093 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4094 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4095 PyObject * _resultobj;
4096 wxGridCellAttrProvider * _result;
4097 wxGridTableBase * _arg0;
4098 PyObject * _argo0 = 0;
4099 char *_kwnames[] = { "self", NULL };
4100 char _ptemp[128];
4101
4102 self = self;
4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4104 return NULL;
4105 if (_argo0) {
4106 if (_argo0 == Py_None) { _arg0 = NULL; }
4107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4109 return NULL;
4110 }
4111 }
4112 {
4113 wxPy_BEGIN_ALLOW_THREADS;
4114 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4115
4116 wxPy_END_ALLOW_THREADS;
4117 } if (_result) {
4118 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4119 _resultobj = Py_BuildValue("s",_ptemp);
4120 } else {
4121 Py_INCREF(Py_None);
4122 _resultobj = Py_None;
4123 }
4124 return _resultobj;
4125 }
4126
4127 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4128 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4129 PyObject * _resultobj;
4130 wxGridTableBase * _arg0;
4131 wxGrid * _arg1;
4132 PyObject * _argo0 = 0;
4133 PyObject * _argo1 = 0;
4134 char *_kwnames[] = { "self","grid", NULL };
4135
4136 self = self;
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4138 return NULL;
4139 if (_argo0) {
4140 if (_argo0 == Py_None) { _arg0 = NULL; }
4141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4143 return NULL;
4144 }
4145 }
4146 if (_argo1) {
4147 if (_argo1 == Py_None) { _arg1 = NULL; }
4148 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4149 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4150 return NULL;
4151 }
4152 }
4153 {
4154 wxPy_BEGIN_ALLOW_THREADS;
4155 wxGridTableBase_SetView(_arg0,_arg1);
4156
4157 wxPy_END_ALLOW_THREADS;
4158 } Py_INCREF(Py_None);
4159 _resultobj = Py_None;
4160 return _resultobj;
4161 }
4162
4163 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4164 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4165 PyObject * _resultobj;
4166 wxGrid * _result;
4167 wxGridTableBase * _arg0;
4168 PyObject * _argo0 = 0;
4169 char *_kwnames[] = { "self", NULL };
4170 char _ptemp[128];
4171
4172 self = self;
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4174 return NULL;
4175 if (_argo0) {
4176 if (_argo0 == Py_None) { _arg0 = NULL; }
4177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4179 return NULL;
4180 }
4181 }
4182 {
4183 wxPy_BEGIN_ALLOW_THREADS;
4184 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4185
4186 wxPy_END_ALLOW_THREADS;
4187 } if (_result) {
4188 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
4189 _resultobj = Py_BuildValue("s",_ptemp);
4190 } else {
4191 Py_INCREF(Py_None);
4192 _resultobj = Py_None;
4193 }
4194 return _resultobj;
4195 }
4196
4197 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4198 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4199 PyObject * _resultobj;
4200 int _result;
4201 wxGridTableBase * _arg0;
4202 PyObject * _argo0 = 0;
4203 char *_kwnames[] = { "self", NULL };
4204
4205 self = self;
4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4207 return NULL;
4208 if (_argo0) {
4209 if (_argo0 == Py_None) { _arg0 = NULL; }
4210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4212 return NULL;
4213 }
4214 }
4215 {
4216 wxPy_BEGIN_ALLOW_THREADS;
4217 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4218
4219 wxPy_END_ALLOW_THREADS;
4220 } _resultobj = Py_BuildValue("i",_result);
4221 return _resultobj;
4222 }
4223
4224 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4225 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject * _resultobj;
4227 int _result;
4228 wxGridTableBase * _arg0;
4229 PyObject * _argo0 = 0;
4230 char *_kwnames[] = { "self", NULL };
4231
4232 self = self;
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4234 return NULL;
4235 if (_argo0) {
4236 if (_argo0 == Py_None) { _arg0 = NULL; }
4237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4239 return NULL;
4240 }
4241 }
4242 {
4243 wxPy_BEGIN_ALLOW_THREADS;
4244 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4245
4246 wxPy_END_ALLOW_THREADS;
4247 } _resultobj = Py_BuildValue("i",_result);
4248 return _resultobj;
4249 }
4250
4251 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4252 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject * _resultobj;
4254 bool _result;
4255 wxGridTableBase * _arg0;
4256 int _arg1;
4257 int _arg2;
4258 PyObject * _argo0 = 0;
4259 char *_kwnames[] = { "self","row","col", NULL };
4260
4261 self = self;
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4263 return NULL;
4264 if (_argo0) {
4265 if (_argo0 == Py_None) { _arg0 = NULL; }
4266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4268 return NULL;
4269 }
4270 }
4271 {
4272 wxPy_BEGIN_ALLOW_THREADS;
4273 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4274
4275 wxPy_END_ALLOW_THREADS;
4276 } _resultobj = Py_BuildValue("i",_result);
4277 return _resultobj;
4278 }
4279
4280 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4281 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4282 PyObject * _resultobj;
4283 wxString * _result;
4284 wxGridTableBase * _arg0;
4285 int _arg1;
4286 int _arg2;
4287 PyObject * _argo0 = 0;
4288 char *_kwnames[] = { "self","row","col", NULL };
4289
4290 self = self;
4291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4292 return NULL;
4293 if (_argo0) {
4294 if (_argo0 == Py_None) { _arg0 = NULL; }
4295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4297 return NULL;
4298 }
4299 }
4300 {
4301 wxPy_BEGIN_ALLOW_THREADS;
4302 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4303
4304 wxPy_END_ALLOW_THREADS;
4305 }{
4306 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4307 }
4308 {
4309 delete _result;
4310 }
4311 return _resultobj;
4312 }
4313
4314 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4315 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4316 PyObject * _resultobj;
4317 wxGridTableBase * _arg0;
4318 int _arg1;
4319 int _arg2;
4320 wxString * _arg3;
4321 PyObject * _argo0 = 0;
4322 PyObject * _obj3 = 0;
4323 char *_kwnames[] = { "self","row","col","value", NULL };
4324
4325 self = self;
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4327 return NULL;
4328 if (_argo0) {
4329 if (_argo0 == Py_None) { _arg0 = NULL; }
4330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4332 return NULL;
4333 }
4334 }
4335 {
4336 #if PYTHON_API_VERSION >= 1009
4337 char* tmpPtr; int tmpSize;
4338 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4339 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4340 return NULL;
4341 }
4342 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4343 return NULL;
4344 _arg3 = new wxString(tmpPtr, tmpSize);
4345 #else
4346 if (!PyString_Check(_obj3)) {
4347 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4348 return NULL;
4349 }
4350 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4351 #endif
4352 }
4353 {
4354 wxPy_BEGIN_ALLOW_THREADS;
4355 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4356
4357 wxPy_END_ALLOW_THREADS;
4358 } Py_INCREF(Py_None);
4359 _resultobj = Py_None;
4360 {
4361 if (_obj3)
4362 delete _arg3;
4363 }
4364 return _resultobj;
4365 }
4366
4367 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4368 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4369 PyObject * _resultobj;
4370 wxString * _result;
4371 wxGridTableBase * _arg0;
4372 int _arg1;
4373 int _arg2;
4374 PyObject * _argo0 = 0;
4375 char *_kwnames[] = { "self","row","col", NULL };
4376
4377 self = self;
4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4379 return NULL;
4380 if (_argo0) {
4381 if (_argo0 == Py_None) { _arg0 = NULL; }
4382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4384 return NULL;
4385 }
4386 }
4387 {
4388 wxPy_BEGIN_ALLOW_THREADS;
4389 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4390
4391 wxPy_END_ALLOW_THREADS;
4392 }{
4393 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4394 }
4395 {
4396 delete _result;
4397 }
4398 return _resultobj;
4399 }
4400
4401 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4402 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject * _resultobj;
4404 bool _result;
4405 wxGridTableBase * _arg0;
4406 int _arg1;
4407 int _arg2;
4408 wxString * _arg3;
4409 PyObject * _argo0 = 0;
4410 PyObject * _obj3 = 0;
4411 char *_kwnames[] = { "self","row","col","typeName", NULL };
4412
4413 self = self;
4414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4415 return NULL;
4416 if (_argo0) {
4417 if (_argo0 == Py_None) { _arg0 = NULL; }
4418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4420 return NULL;
4421 }
4422 }
4423 {
4424 #if PYTHON_API_VERSION >= 1009
4425 char* tmpPtr; int tmpSize;
4426 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4427 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4428 return NULL;
4429 }
4430 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4431 return NULL;
4432 _arg3 = new wxString(tmpPtr, tmpSize);
4433 #else
4434 if (!PyString_Check(_obj3)) {
4435 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4436 return NULL;
4437 }
4438 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4439 #endif
4440 }
4441 {
4442 wxPy_BEGIN_ALLOW_THREADS;
4443 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4444
4445 wxPy_END_ALLOW_THREADS;
4446 } _resultobj = Py_BuildValue("i",_result);
4447 {
4448 if (_obj3)
4449 delete _arg3;
4450 }
4451 return _resultobj;
4452 }
4453
4454 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4455 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4456 PyObject * _resultobj;
4457 bool _result;
4458 wxGridTableBase * _arg0;
4459 int _arg1;
4460 int _arg2;
4461 wxString * _arg3;
4462 PyObject * _argo0 = 0;
4463 PyObject * _obj3 = 0;
4464 char *_kwnames[] = { "self","row","col","typeName", NULL };
4465
4466 self = self;
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4468 return NULL;
4469 if (_argo0) {
4470 if (_argo0 == Py_None) { _arg0 = NULL; }
4471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4473 return NULL;
4474 }
4475 }
4476 {
4477 #if PYTHON_API_VERSION >= 1009
4478 char* tmpPtr; int tmpSize;
4479 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4480 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4481 return NULL;
4482 }
4483 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4484 return NULL;
4485 _arg3 = new wxString(tmpPtr, tmpSize);
4486 #else
4487 if (!PyString_Check(_obj3)) {
4488 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4489 return NULL;
4490 }
4491 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4492 #endif
4493 }
4494 {
4495 wxPy_BEGIN_ALLOW_THREADS;
4496 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4497
4498 wxPy_END_ALLOW_THREADS;
4499 } _resultobj = Py_BuildValue("i",_result);
4500 {
4501 if (_obj3)
4502 delete _arg3;
4503 }
4504 return _resultobj;
4505 }
4506
4507 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4508 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4509 PyObject * _resultobj;
4510 long _result;
4511 wxGridTableBase * _arg0;
4512 int _arg1;
4513 int _arg2;
4514 PyObject * _argo0 = 0;
4515 char *_kwnames[] = { "self","row","col", NULL };
4516
4517 self = self;
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4519 return NULL;
4520 if (_argo0) {
4521 if (_argo0 == Py_None) { _arg0 = NULL; }
4522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4524 return NULL;
4525 }
4526 }
4527 {
4528 wxPy_BEGIN_ALLOW_THREADS;
4529 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4530
4531 wxPy_END_ALLOW_THREADS;
4532 } _resultobj = Py_BuildValue("l",_result);
4533 return _resultobj;
4534 }
4535
4536 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4537 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4538 PyObject * _resultobj;
4539 double _result;
4540 wxGridTableBase * _arg0;
4541 int _arg1;
4542 int _arg2;
4543 PyObject * _argo0 = 0;
4544 char *_kwnames[] = { "self","row","col", NULL };
4545
4546 self = self;
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4548 return NULL;
4549 if (_argo0) {
4550 if (_argo0 == Py_None) { _arg0 = NULL; }
4551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4553 return NULL;
4554 }
4555 }
4556 {
4557 wxPy_BEGIN_ALLOW_THREADS;
4558 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4559
4560 wxPy_END_ALLOW_THREADS;
4561 } _resultobj = Py_BuildValue("d",_result);
4562 return _resultobj;
4563 }
4564
4565 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4566 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4567 PyObject * _resultobj;
4568 bool _result;
4569 wxGridTableBase * _arg0;
4570 int _arg1;
4571 int _arg2;
4572 PyObject * _argo0 = 0;
4573 char *_kwnames[] = { "self","row","col", NULL };
4574
4575 self = self;
4576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4577 return NULL;
4578 if (_argo0) {
4579 if (_argo0 == Py_None) { _arg0 = NULL; }
4580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4582 return NULL;
4583 }
4584 }
4585 {
4586 wxPy_BEGIN_ALLOW_THREADS;
4587 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4588
4589 wxPy_END_ALLOW_THREADS;
4590 } _resultobj = Py_BuildValue("i",_result);
4591 return _resultobj;
4592 }
4593
4594 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4595 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject * _resultobj;
4597 wxGridTableBase * _arg0;
4598 int _arg1;
4599 int _arg2;
4600 long _arg3;
4601 PyObject * _argo0 = 0;
4602 char *_kwnames[] = { "self","row","col","value", NULL };
4603
4604 self = self;
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4606 return NULL;
4607 if (_argo0) {
4608 if (_argo0 == Py_None) { _arg0 = NULL; }
4609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4611 return NULL;
4612 }
4613 }
4614 {
4615 wxPy_BEGIN_ALLOW_THREADS;
4616 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4617
4618 wxPy_END_ALLOW_THREADS;
4619 } Py_INCREF(Py_None);
4620 _resultobj = Py_None;
4621 return _resultobj;
4622 }
4623
4624 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4625 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4626 PyObject * _resultobj;
4627 wxGridTableBase * _arg0;
4628 int _arg1;
4629 int _arg2;
4630 double _arg3;
4631 PyObject * _argo0 = 0;
4632 char *_kwnames[] = { "self","row","col","value", NULL };
4633
4634 self = self;
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4636 return NULL;
4637 if (_argo0) {
4638 if (_argo0 == Py_None) { _arg0 = NULL; }
4639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4641 return NULL;
4642 }
4643 }
4644 {
4645 wxPy_BEGIN_ALLOW_THREADS;
4646 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
4647
4648 wxPy_END_ALLOW_THREADS;
4649 } Py_INCREF(Py_None);
4650 _resultobj = Py_None;
4651 return _resultobj;
4652 }
4653
4654 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4655 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4656 PyObject * _resultobj;
4657 wxGridTableBase * _arg0;
4658 int _arg1;
4659 int _arg2;
4660 bool _arg3;
4661 PyObject * _argo0 = 0;
4662 int tempbool3;
4663 char *_kwnames[] = { "self","row","col","value", NULL };
4664
4665 self = self;
4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4667 return NULL;
4668 if (_argo0) {
4669 if (_argo0 == Py_None) { _arg0 = NULL; }
4670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4672 return NULL;
4673 }
4674 }
4675 _arg3 = (bool ) tempbool3;
4676 {
4677 wxPy_BEGIN_ALLOW_THREADS;
4678 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
4679
4680 wxPy_END_ALLOW_THREADS;
4681 } Py_INCREF(Py_None);
4682 _resultobj = Py_None;
4683 return _resultobj;
4684 }
4685
4686 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4687 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4688 PyObject * _resultobj;
4689 wxGridTableBase * _arg0;
4690 PyObject * _argo0 = 0;
4691 char *_kwnames[] = { "self", NULL };
4692
4693 self = self;
4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
4695 return NULL;
4696 if (_argo0) {
4697 if (_argo0 == Py_None) { _arg0 = NULL; }
4698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4700 return NULL;
4701 }
4702 }
4703 {
4704 wxPy_BEGIN_ALLOW_THREADS;
4705 wxGridTableBase_Clear(_arg0);
4706
4707 wxPy_END_ALLOW_THREADS;
4708 } Py_INCREF(Py_None);
4709 _resultobj = Py_None;
4710 return _resultobj;
4711 }
4712
4713 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4714 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject * _resultobj;
4716 bool _result;
4717 wxGridTableBase * _arg0;
4718 size_t _arg1 = (size_t ) 0;
4719 size_t _arg2 = (size_t ) 1;
4720 PyObject * _argo0 = 0;
4721 char *_kwnames[] = { "self","pos","numRows", NULL };
4722
4723 self = self;
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
4725 return NULL;
4726 if (_argo0) {
4727 if (_argo0 == Py_None) { _arg0 = NULL; }
4728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4730 return NULL;
4731 }
4732 }
4733 {
4734 wxPy_BEGIN_ALLOW_THREADS;
4735 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
4736
4737 wxPy_END_ALLOW_THREADS;
4738 } _resultobj = Py_BuildValue("i",_result);
4739 return _resultobj;
4740 }
4741
4742 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4743 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4744 PyObject * _resultobj;
4745 bool _result;
4746 wxGridTableBase * _arg0;
4747 size_t _arg1 = (size_t ) 1;
4748 PyObject * _argo0 = 0;
4749 char *_kwnames[] = { "self","numRows", NULL };
4750
4751 self = self;
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
4753 return NULL;
4754 if (_argo0) {
4755 if (_argo0 == Py_None) { _arg0 = NULL; }
4756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4758 return NULL;
4759 }
4760 }
4761 {
4762 wxPy_BEGIN_ALLOW_THREADS;
4763 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
4764
4765 wxPy_END_ALLOW_THREADS;
4766 } _resultobj = Py_BuildValue("i",_result);
4767 return _resultobj;
4768 }
4769
4770 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4771 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject * _resultobj;
4773 bool _result;
4774 wxGridTableBase * _arg0;
4775 size_t _arg1 = (size_t ) 0;
4776 size_t _arg2 = (size_t ) 1;
4777 PyObject * _argo0 = 0;
4778 char *_kwnames[] = { "self","pos","numRows", NULL };
4779
4780 self = self;
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
4782 return NULL;
4783 if (_argo0) {
4784 if (_argo0 == Py_None) { _arg0 = NULL; }
4785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4787 return NULL;
4788 }
4789 }
4790 {
4791 wxPy_BEGIN_ALLOW_THREADS;
4792 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
4793
4794 wxPy_END_ALLOW_THREADS;
4795 } _resultobj = Py_BuildValue("i",_result);
4796 return _resultobj;
4797 }
4798
4799 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4800 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4801 PyObject * _resultobj;
4802 bool _result;
4803 wxGridTableBase * _arg0;
4804 size_t _arg1 = (size_t ) 0;
4805 size_t _arg2 = (size_t ) 1;
4806 PyObject * _argo0 = 0;
4807 char *_kwnames[] = { "self","pos","numCols", NULL };
4808
4809 self = self;
4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
4811 return NULL;
4812 if (_argo0) {
4813 if (_argo0 == Py_None) { _arg0 = NULL; }
4814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4816 return NULL;
4817 }
4818 }
4819 {
4820 wxPy_BEGIN_ALLOW_THREADS;
4821 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
4822
4823 wxPy_END_ALLOW_THREADS;
4824 } _resultobj = Py_BuildValue("i",_result);
4825 return _resultobj;
4826 }
4827
4828 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4829 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject * _resultobj;
4831 bool _result;
4832 wxGridTableBase * _arg0;
4833 size_t _arg1 = (size_t ) 1;
4834 PyObject * _argo0 = 0;
4835 char *_kwnames[] = { "self","numCols", NULL };
4836
4837 self = self;
4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
4839 return NULL;
4840 if (_argo0) {
4841 if (_argo0 == Py_None) { _arg0 = NULL; }
4842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4844 return NULL;
4845 }
4846 }
4847 {
4848 wxPy_BEGIN_ALLOW_THREADS;
4849 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
4850
4851 wxPy_END_ALLOW_THREADS;
4852 } _resultobj = Py_BuildValue("i",_result);
4853 return _resultobj;
4854 }
4855
4856 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4857 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4858 PyObject * _resultobj;
4859 bool _result;
4860 wxGridTableBase * _arg0;
4861 size_t _arg1 = (size_t ) 0;
4862 size_t _arg2 = (size_t ) 1;
4863 PyObject * _argo0 = 0;
4864 char *_kwnames[] = { "self","pos","numCols", NULL };
4865
4866 self = self;
4867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
4868 return NULL;
4869 if (_argo0) {
4870 if (_argo0 == Py_None) { _arg0 = NULL; }
4871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4873 return NULL;
4874 }
4875 }
4876 {
4877 wxPy_BEGIN_ALLOW_THREADS;
4878 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
4879
4880 wxPy_END_ALLOW_THREADS;
4881 } _resultobj = Py_BuildValue("i",_result);
4882 return _resultobj;
4883 }
4884
4885 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4886 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject * _resultobj;
4888 wxString * _result;
4889 wxGridTableBase * _arg0;
4890 int _arg1;
4891 PyObject * _argo0 = 0;
4892 char *_kwnames[] = { "self","row", NULL };
4893
4894 self = self;
4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
4896 return NULL;
4897 if (_argo0) {
4898 if (_argo0 == Py_None) { _arg0 = NULL; }
4899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4901 return NULL;
4902 }
4903 }
4904 {
4905 wxPy_BEGIN_ALLOW_THREADS;
4906 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
4907
4908 wxPy_END_ALLOW_THREADS;
4909 }{
4910 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4911 }
4912 {
4913 delete _result;
4914 }
4915 return _resultobj;
4916 }
4917
4918 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
4919 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject * _resultobj;
4921 wxString * _result;
4922 wxGridTableBase * _arg0;
4923 int _arg1;
4924 PyObject * _argo0 = 0;
4925 char *_kwnames[] = { "self","col", NULL };
4926
4927 self = self;
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
4929 return NULL;
4930 if (_argo0) {
4931 if (_argo0 == Py_None) { _arg0 = NULL; }
4932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
4934 return NULL;
4935 }
4936 }
4937 {
4938 wxPy_BEGIN_ALLOW_THREADS;
4939 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
4940
4941 wxPy_END_ALLOW_THREADS;
4942 }{
4943 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4944 }
4945 {
4946 delete _result;
4947 }
4948 return _resultobj;
4949 }
4950
4951 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
4952 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject * _resultobj;
4954 wxGridTableBase * _arg0;
4955 int _arg1;
4956 wxString * _arg2;
4957 PyObject * _argo0 = 0;
4958 PyObject * _obj2 = 0;
4959 char *_kwnames[] = { "self","row","value", NULL };
4960
4961 self = self;
4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
4963 return NULL;
4964 if (_argo0) {
4965 if (_argo0 == Py_None) { _arg0 = NULL; }
4966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
4968 return NULL;
4969 }
4970 }
4971 {
4972 #if PYTHON_API_VERSION >= 1009
4973 char* tmpPtr; int tmpSize;
4974 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4975 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4976 return NULL;
4977 }
4978 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4979 return NULL;
4980 _arg2 = new wxString(tmpPtr, tmpSize);
4981 #else
4982 if (!PyString_Check(_obj2)) {
4983 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4984 return NULL;
4985 }
4986 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4987 #endif
4988 }
4989 {
4990 wxPy_BEGIN_ALLOW_THREADS;
4991 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
4992
4993 wxPy_END_ALLOW_THREADS;
4994 } Py_INCREF(Py_None);
4995 _resultobj = Py_None;
4996 {
4997 if (_obj2)
4998 delete _arg2;
4999 }
5000 return _resultobj;
5001 }
5002
5003 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5004 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5005 PyObject * _resultobj;
5006 wxGridTableBase * _arg0;
5007 int _arg1;
5008 wxString * _arg2;
5009 PyObject * _argo0 = 0;
5010 PyObject * _obj2 = 0;
5011 char *_kwnames[] = { "self","col","value", NULL };
5012
5013 self = self;
5014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5015 return NULL;
5016 if (_argo0) {
5017 if (_argo0 == Py_None) { _arg0 = NULL; }
5018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5020 return NULL;
5021 }
5022 }
5023 {
5024 #if PYTHON_API_VERSION >= 1009
5025 char* tmpPtr; int tmpSize;
5026 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5027 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5028 return NULL;
5029 }
5030 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5031 return NULL;
5032 _arg2 = new wxString(tmpPtr, tmpSize);
5033 #else
5034 if (!PyString_Check(_obj2)) {
5035 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5036 return NULL;
5037 }
5038 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5039 #endif
5040 }
5041 {
5042 wxPy_BEGIN_ALLOW_THREADS;
5043 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5044
5045 wxPy_END_ALLOW_THREADS;
5046 } Py_INCREF(Py_None);
5047 _resultobj = Py_None;
5048 {
5049 if (_obj2)
5050 delete _arg2;
5051 }
5052 return _resultobj;
5053 }
5054
5055 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5056 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject * _resultobj;
5058 bool _result;
5059 wxGridTableBase * _arg0;
5060 PyObject * _argo0 = 0;
5061 char *_kwnames[] = { "self", NULL };
5062
5063 self = self;
5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5065 return NULL;
5066 if (_argo0) {
5067 if (_argo0 == Py_None) { _arg0 = NULL; }
5068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5070 return NULL;
5071 }
5072 }
5073 {
5074 wxPy_BEGIN_ALLOW_THREADS;
5075 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5076
5077 wxPy_END_ALLOW_THREADS;
5078 } _resultobj = Py_BuildValue("i",_result);
5079 return _resultobj;
5080 }
5081
5082 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
5083 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject * _resultobj;
5085 wxGridCellAttr * _result;
5086 wxGridTableBase * _arg0;
5087 int _arg1;
5088 int _arg2;
5089 PyObject * _argo0 = 0;
5090 char *_kwnames[] = { "self","row","col", NULL };
5091 char _ptemp[128];
5092
5093 self = self;
5094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
5095 return NULL;
5096 if (_argo0) {
5097 if (_argo0 == Py_None) { _arg0 = NULL; }
5098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5100 return NULL;
5101 }
5102 }
5103 {
5104 wxPy_BEGIN_ALLOW_THREADS;
5105 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2);
5106
5107 wxPy_END_ALLOW_THREADS;
5108 } if (_result) {
5109 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5110 _resultobj = Py_BuildValue("s",_ptemp);
5111 } else {
5112 Py_INCREF(Py_None);
5113 _resultobj = Py_None;
5114 }
5115 return _resultobj;
5116 }
5117
5118 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5119 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5120 PyObject * _resultobj;
5121 wxGridTableBase * _arg0;
5122 wxGridCellAttr * _arg1;
5123 int _arg2;
5124 int _arg3;
5125 PyObject * _argo0 = 0;
5126 PyObject * _argo1 = 0;
5127 char *_kwnames[] = { "self","attr","row","col", NULL };
5128
5129 self = self;
5130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5131 return NULL;
5132 if (_argo0) {
5133 if (_argo0 == Py_None) { _arg0 = NULL; }
5134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5136 return NULL;
5137 }
5138 }
5139 if (_argo1) {
5140 if (_argo1 == Py_None) { _arg1 = NULL; }
5141 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5142 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5143 return NULL;
5144 }
5145 }
5146 {
5147 wxPy_BEGIN_ALLOW_THREADS;
5148 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5149
5150 wxPy_END_ALLOW_THREADS;
5151 } Py_INCREF(Py_None);
5152 _resultobj = Py_None;
5153 return _resultobj;
5154 }
5155
5156 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5157 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject * _resultobj;
5159 wxGridTableBase * _arg0;
5160 wxGridCellAttr * _arg1;
5161 int _arg2;
5162 PyObject * _argo0 = 0;
5163 PyObject * _argo1 = 0;
5164 char *_kwnames[] = { "self","attr","row", NULL };
5165
5166 self = self;
5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5168 return NULL;
5169 if (_argo0) {
5170 if (_argo0 == Py_None) { _arg0 = NULL; }
5171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5173 return NULL;
5174 }
5175 }
5176 if (_argo1) {
5177 if (_argo1 == Py_None) { _arg1 = NULL; }
5178 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5179 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5180 return NULL;
5181 }
5182 }
5183 {
5184 wxPy_BEGIN_ALLOW_THREADS;
5185 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5186
5187 wxPy_END_ALLOW_THREADS;
5188 } Py_INCREF(Py_None);
5189 _resultobj = Py_None;
5190 return _resultobj;
5191 }
5192
5193 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5194 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5195 PyObject * _resultobj;
5196 wxGridTableBase * _arg0;
5197 wxGridCellAttr * _arg1;
5198 int _arg2;
5199 PyObject * _argo0 = 0;
5200 PyObject * _argo1 = 0;
5201 char *_kwnames[] = { "self","attr","col", NULL };
5202
5203 self = self;
5204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5205 return NULL;
5206 if (_argo0) {
5207 if (_argo0 == Py_None) { _arg0 = NULL; }
5208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5210 return NULL;
5211 }
5212 }
5213 if (_argo1) {
5214 if (_argo1 == Py_None) { _arg1 = NULL; }
5215 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5216 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5217 return NULL;
5218 }
5219 }
5220 {
5221 wxPy_BEGIN_ALLOW_THREADS;
5222 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5223
5224 wxPy_END_ALLOW_THREADS;
5225 } Py_INCREF(Py_None);
5226 _resultobj = Py_None;
5227 return _resultobj;
5228 }
5229
5230 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5231 wxPyGridTableBase *src;
5232 wxGridTableBase *dest;
5233 src = (wxPyGridTableBase *) ptr;
5234 dest = (wxGridTableBase *) src;
5235 return (void *) dest;
5236 }
5237
5238 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5239 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5240 PyObject * _resultobj;
5241 wxPyGridTableBase * _result;
5242 char *_kwnames[] = { NULL };
5243 char _ptemp[128];
5244
5245 self = self;
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5247 return NULL;
5248 {
5249 wxPy_BEGIN_ALLOW_THREADS;
5250 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5251
5252 wxPy_END_ALLOW_THREADS;
5253 } if (_result) {
5254 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5255 _resultobj = Py_BuildValue("s",_ptemp);
5256 } else {
5257 Py_INCREF(Py_None);
5258 _resultobj = Py_None;
5259 }
5260 return _resultobj;
5261 }
5262
5263 #define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5264 static PyObject *_wrap_wxPyGridTableBase__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject * _resultobj;
5266 wxPyGridTableBase * _arg0;
5267 PyObject * _arg1;
5268 PyObject * _arg2;
5269 PyObject * _argo0 = 0;
5270 PyObject * _obj1 = 0;
5271 PyObject * _obj2 = 0;
5272 char *_kwnames[] = { "self","self","_class", NULL };
5273
5274 self = self;
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5276 return NULL;
5277 if (_argo0) {
5278 if (_argo0 == Py_None) { _arg0 = NULL; }
5279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5281 return NULL;
5282 }
5283 }
5284 {
5285 _arg1 = _obj1;
5286 }
5287 {
5288 _arg2 = _obj2;
5289 }
5290 {
5291 wxPy_BEGIN_ALLOW_THREADS;
5292 wxPyGridTableBase__setSelf(_arg0,_arg1,_arg2);
5293
5294 wxPy_END_ALLOW_THREADS;
5295 } Py_INCREF(Py_None);
5296 _resultobj = Py_None;
5297 return _resultobj;
5298 }
5299
5300 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5301 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5302 PyObject * _resultobj;
5303 wxPyGridTableBase * _arg0;
5304 PyObject * _argo0 = 0;
5305 char *_kwnames[] = { "self", NULL };
5306
5307 self = self;
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5309 return NULL;
5310 if (_argo0) {
5311 if (_argo0 == Py_None) { _arg0 = NULL; }
5312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5314 return NULL;
5315 }
5316 }
5317 {
5318 wxPy_BEGIN_ALLOW_THREADS;
5319 wxPyGridTableBase_Destroy(_arg0);
5320
5321 wxPy_END_ALLOW_THREADS;
5322 } Py_INCREF(Py_None);
5323 _resultobj = Py_None;
5324 return _resultobj;
5325 }
5326
5327 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5328 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5329 PyObject * _resultobj;
5330 wxString * _result;
5331 wxPyGridTableBase * _arg0;
5332 int _arg1;
5333 int _arg2;
5334 PyObject * _argo0 = 0;
5335 char *_kwnames[] = { "self","row","col", NULL };
5336
5337 self = self;
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5339 return NULL;
5340 if (_argo0) {
5341 if (_argo0 == Py_None) { _arg0 = NULL; }
5342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5344 return NULL;
5345 }
5346 }
5347 {
5348 wxPy_BEGIN_ALLOW_THREADS;
5349 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5350
5351 wxPy_END_ALLOW_THREADS;
5352 }{
5353 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5354 }
5355 {
5356 delete _result;
5357 }
5358 return _resultobj;
5359 }
5360
5361 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5362 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5363 PyObject * _resultobj;
5364 bool _result;
5365 wxPyGridTableBase * _arg0;
5366 int _arg1;
5367 int _arg2;
5368 wxString * _arg3;
5369 PyObject * _argo0 = 0;
5370 PyObject * _obj3 = 0;
5371 char *_kwnames[] = { "self","row","col","typeName", NULL };
5372
5373 self = self;
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5375 return NULL;
5376 if (_argo0) {
5377 if (_argo0 == Py_None) { _arg0 = NULL; }
5378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5380 return NULL;
5381 }
5382 }
5383 {
5384 #if PYTHON_API_VERSION >= 1009
5385 char* tmpPtr; int tmpSize;
5386 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5387 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5388 return NULL;
5389 }
5390 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5391 return NULL;
5392 _arg3 = new wxString(tmpPtr, tmpSize);
5393 #else
5394 if (!PyString_Check(_obj3)) {
5395 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5396 return NULL;
5397 }
5398 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5399 #endif
5400 }
5401 {
5402 wxPy_BEGIN_ALLOW_THREADS;
5403 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5404
5405 wxPy_END_ALLOW_THREADS;
5406 } _resultobj = Py_BuildValue("i",_result);
5407 {
5408 if (_obj3)
5409 delete _arg3;
5410 }
5411 return _resultobj;
5412 }
5413
5414 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5415 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5416 PyObject * _resultobj;
5417 bool _result;
5418 wxPyGridTableBase * _arg0;
5419 int _arg1;
5420 int _arg2;
5421 wxString * _arg3;
5422 PyObject * _argo0 = 0;
5423 PyObject * _obj3 = 0;
5424 char *_kwnames[] = { "self","row","col","typeName", NULL };
5425
5426 self = self;
5427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5428 return NULL;
5429 if (_argo0) {
5430 if (_argo0 == Py_None) { _arg0 = NULL; }
5431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5433 return NULL;
5434 }
5435 }
5436 {
5437 #if PYTHON_API_VERSION >= 1009
5438 char* tmpPtr; int tmpSize;
5439 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
5440 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5441 return NULL;
5442 }
5443 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
5444 return NULL;
5445 _arg3 = new wxString(tmpPtr, tmpSize);
5446 #else
5447 if (!PyString_Check(_obj3)) {
5448 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5449 return NULL;
5450 }
5451 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
5452 #endif
5453 }
5454 {
5455 wxPy_BEGIN_ALLOW_THREADS;
5456 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5457
5458 wxPy_END_ALLOW_THREADS;
5459 } _resultobj = Py_BuildValue("i",_result);
5460 {
5461 if (_obj3)
5462 delete _arg3;
5463 }
5464 return _resultobj;
5465 }
5466
5467 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5468 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5469 PyObject * _resultobj;
5470 wxPyGridTableBase * _arg0;
5471 PyObject * _argo0 = 0;
5472 char *_kwnames[] = { "self", NULL };
5473
5474 self = self;
5475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5476 return NULL;
5477 if (_argo0) {
5478 if (_argo0 == Py_None) { _arg0 = NULL; }
5479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5481 return NULL;
5482 }
5483 }
5484 {
5485 wxPy_BEGIN_ALLOW_THREADS;
5486 wxPyGridTableBase_base_Clear(_arg0);
5487
5488 wxPy_END_ALLOW_THREADS;
5489 } Py_INCREF(Py_None);
5490 _resultobj = Py_None;
5491 return _resultobj;
5492 }
5493
5494 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5495 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5496 PyObject * _resultobj;
5497 bool _result;
5498 wxPyGridTableBase * _arg0;
5499 size_t _arg1 = (size_t ) 0;
5500 size_t _arg2 = (size_t ) 1;
5501 PyObject * _argo0 = 0;
5502 char *_kwnames[] = { "self","pos","numRows", NULL };
5503
5504 self = self;
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5506 return NULL;
5507 if (_argo0) {
5508 if (_argo0 == Py_None) { _arg0 = NULL; }
5509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5511 return NULL;
5512 }
5513 }
5514 {
5515 wxPy_BEGIN_ALLOW_THREADS;
5516 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5517
5518 wxPy_END_ALLOW_THREADS;
5519 } _resultobj = Py_BuildValue("i",_result);
5520 return _resultobj;
5521 }
5522
5523 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5524 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject * _resultobj;
5526 bool _result;
5527 wxPyGridTableBase * _arg0;
5528 size_t _arg1 = (size_t ) 1;
5529 PyObject * _argo0 = 0;
5530 char *_kwnames[] = { "self","numRows", NULL };
5531
5532 self = self;
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5534 return NULL;
5535 if (_argo0) {
5536 if (_argo0 == Py_None) { _arg0 = NULL; }
5537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5539 return NULL;
5540 }
5541 }
5542 {
5543 wxPy_BEGIN_ALLOW_THREADS;
5544 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5545
5546 wxPy_END_ALLOW_THREADS;
5547 } _resultobj = Py_BuildValue("i",_result);
5548 return _resultobj;
5549 }
5550
5551 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5552 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5553 PyObject * _resultobj;
5554 bool _result;
5555 wxPyGridTableBase * _arg0;
5556 size_t _arg1 = (size_t ) 0;
5557 size_t _arg2 = (size_t ) 1;
5558 PyObject * _argo0 = 0;
5559 char *_kwnames[] = { "self","pos","numRows", NULL };
5560
5561 self = self;
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5563 return NULL;
5564 if (_argo0) {
5565 if (_argo0 == Py_None) { _arg0 = NULL; }
5566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5568 return NULL;
5569 }
5570 }
5571 {
5572 wxPy_BEGIN_ALLOW_THREADS;
5573 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5574
5575 wxPy_END_ALLOW_THREADS;
5576 } _resultobj = Py_BuildValue("i",_result);
5577 return _resultobj;
5578 }
5579
5580 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5581 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject * _resultobj;
5583 bool _result;
5584 wxPyGridTableBase * _arg0;
5585 size_t _arg1 = (size_t ) 0;
5586 size_t _arg2 = (size_t ) 1;
5587 PyObject * _argo0 = 0;
5588 char *_kwnames[] = { "self","pos","numCols", NULL };
5589
5590 self = self;
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5592 return NULL;
5593 if (_argo0) {
5594 if (_argo0 == Py_None) { _arg0 = NULL; }
5595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5597 return NULL;
5598 }
5599 }
5600 {
5601 wxPy_BEGIN_ALLOW_THREADS;
5602 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5603
5604 wxPy_END_ALLOW_THREADS;
5605 } _resultobj = Py_BuildValue("i",_result);
5606 return _resultobj;
5607 }
5608
5609 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5610 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5611 PyObject * _resultobj;
5612 bool _result;
5613 wxPyGridTableBase * _arg0;
5614 size_t _arg1 = (size_t ) 1;
5615 PyObject * _argo0 = 0;
5616 char *_kwnames[] = { "self","numCols", NULL };
5617
5618 self = self;
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5620 return NULL;
5621 if (_argo0) {
5622 if (_argo0 == Py_None) { _arg0 = NULL; }
5623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5625 return NULL;
5626 }
5627 }
5628 {
5629 wxPy_BEGIN_ALLOW_THREADS;
5630 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5631
5632 wxPy_END_ALLOW_THREADS;
5633 } _resultobj = Py_BuildValue("i",_result);
5634 return _resultobj;
5635 }
5636
5637 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5638 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5639 PyObject * _resultobj;
5640 bool _result;
5641 wxPyGridTableBase * _arg0;
5642 size_t _arg1 = (size_t ) 0;
5643 size_t _arg2 = (size_t ) 1;
5644 PyObject * _argo0 = 0;
5645 char *_kwnames[] = { "self","pos","numCols", NULL };
5646
5647 self = self;
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5649 return NULL;
5650 if (_argo0) {
5651 if (_argo0 == Py_None) { _arg0 = NULL; }
5652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5654 return NULL;
5655 }
5656 }
5657 {
5658 wxPy_BEGIN_ALLOW_THREADS;
5659 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
5660
5661 wxPy_END_ALLOW_THREADS;
5662 } _resultobj = Py_BuildValue("i",_result);
5663 return _resultobj;
5664 }
5665
5666 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5667 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject * _resultobj;
5669 wxString * _result;
5670 wxPyGridTableBase * _arg0;
5671 int _arg1;
5672 PyObject * _argo0 = 0;
5673 char *_kwnames[] = { "self","row", NULL };
5674
5675 self = self;
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5677 return NULL;
5678 if (_argo0) {
5679 if (_argo0 == Py_None) { _arg0 = NULL; }
5680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5682 return NULL;
5683 }
5684 }
5685 {
5686 wxPy_BEGIN_ALLOW_THREADS;
5687 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
5688
5689 wxPy_END_ALLOW_THREADS;
5690 }{
5691 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5692 }
5693 {
5694 delete _result;
5695 }
5696 return _resultobj;
5697 }
5698
5699 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5700 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5701 PyObject * _resultobj;
5702 wxString * _result;
5703 wxPyGridTableBase * _arg0;
5704 int _arg1;
5705 PyObject * _argo0 = 0;
5706 char *_kwnames[] = { "self","col", NULL };
5707
5708 self = self;
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5710 return NULL;
5711 if (_argo0) {
5712 if (_argo0 == Py_None) { _arg0 = NULL; }
5713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5715 return NULL;
5716 }
5717 }
5718 {
5719 wxPy_BEGIN_ALLOW_THREADS;
5720 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
5721
5722 wxPy_END_ALLOW_THREADS;
5723 }{
5724 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5725 }
5726 {
5727 delete _result;
5728 }
5729 return _resultobj;
5730 }
5731
5732 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5733 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject * _resultobj;
5735 wxPyGridTableBase * _arg0;
5736 int _arg1;
5737 wxString * _arg2;
5738 PyObject * _argo0 = 0;
5739 PyObject * _obj2 = 0;
5740 char *_kwnames[] = { "self","row","value", NULL };
5741
5742 self = self;
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5744 return NULL;
5745 if (_argo0) {
5746 if (_argo0 == Py_None) { _arg0 = NULL; }
5747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5749 return NULL;
5750 }
5751 }
5752 {
5753 #if PYTHON_API_VERSION >= 1009
5754 char* tmpPtr; int tmpSize;
5755 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5756 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5757 return NULL;
5758 }
5759 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5760 return NULL;
5761 _arg2 = new wxString(tmpPtr, tmpSize);
5762 #else
5763 if (!PyString_Check(_obj2)) {
5764 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5765 return NULL;
5766 }
5767 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5768 #endif
5769 }
5770 {
5771 wxPy_BEGIN_ALLOW_THREADS;
5772 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
5773
5774 wxPy_END_ALLOW_THREADS;
5775 } Py_INCREF(Py_None);
5776 _resultobj = Py_None;
5777 {
5778 if (_obj2)
5779 delete _arg2;
5780 }
5781 return _resultobj;
5782 }
5783
5784 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5785 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5786 PyObject * _resultobj;
5787 wxPyGridTableBase * _arg0;
5788 int _arg1;
5789 wxString * _arg2;
5790 PyObject * _argo0 = 0;
5791 PyObject * _obj2 = 0;
5792 char *_kwnames[] = { "self","col","value", NULL };
5793
5794 self = self;
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5796 return NULL;
5797 if (_argo0) {
5798 if (_argo0 == Py_None) { _arg0 = NULL; }
5799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5801 return NULL;
5802 }
5803 }
5804 {
5805 #if PYTHON_API_VERSION >= 1009
5806 char* tmpPtr; int tmpSize;
5807 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5808 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5809 return NULL;
5810 }
5811 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5812 return NULL;
5813 _arg2 = new wxString(tmpPtr, tmpSize);
5814 #else
5815 if (!PyString_Check(_obj2)) {
5816 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5817 return NULL;
5818 }
5819 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5820 #endif
5821 }
5822 {
5823 wxPy_BEGIN_ALLOW_THREADS;
5824 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
5825
5826 wxPy_END_ALLOW_THREADS;
5827 } Py_INCREF(Py_None);
5828 _resultobj = Py_None;
5829 {
5830 if (_obj2)
5831 delete _arg2;
5832 }
5833 return _resultobj;
5834 }
5835
5836 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5837 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject * _resultobj;
5839 bool _result;
5840 wxPyGridTableBase * _arg0;
5841 PyObject * _argo0 = 0;
5842 char *_kwnames[] = { "self", NULL };
5843
5844 self = self;
5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
5846 return NULL;
5847 if (_argo0) {
5848 if (_argo0 == Py_None) { _arg0 = NULL; }
5849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5851 return NULL;
5852 }
5853 }
5854 {
5855 wxPy_BEGIN_ALLOW_THREADS;
5856 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
5857
5858 wxPy_END_ALLOW_THREADS;
5859 } _resultobj = Py_BuildValue("i",_result);
5860 return _resultobj;
5861 }
5862
5863 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
5864 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5865 PyObject * _resultobj;
5866 wxGridCellAttr * _result;
5867 wxPyGridTableBase * _arg0;
5868 int _arg1;
5869 int _arg2;
5870 PyObject * _argo0 = 0;
5871 char *_kwnames[] = { "self","row","col", NULL };
5872 char _ptemp[128];
5873
5874 self = self;
5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2))
5876 return NULL;
5877 if (_argo0) {
5878 if (_argo0 == Py_None) { _arg0 = NULL; }
5879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5881 return NULL;
5882 }
5883 }
5884 {
5885 wxPy_BEGIN_ALLOW_THREADS;
5886 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2);
5887
5888 wxPy_END_ALLOW_THREADS;
5889 } if (_result) {
5890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5891 _resultobj = Py_BuildValue("s",_ptemp);
5892 } else {
5893 Py_INCREF(Py_None);
5894 _resultobj = Py_None;
5895 }
5896 return _resultobj;
5897 }
5898
5899 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5900 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5901 PyObject * _resultobj;
5902 wxPyGridTableBase * _arg0;
5903 wxGridCellAttr * _arg1;
5904 int _arg2;
5905 int _arg3;
5906 PyObject * _argo0 = 0;
5907 PyObject * _argo1 = 0;
5908 char *_kwnames[] = { "self","attr","row","col", NULL };
5909
5910 self = self;
5911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5912 return NULL;
5913 if (_argo0) {
5914 if (_argo0 == Py_None) { _arg0 = NULL; }
5915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
5917 return NULL;
5918 }
5919 }
5920 if (_argo1) {
5921 if (_argo1 == Py_None) { _arg1 = NULL; }
5922 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5923 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
5924 return NULL;
5925 }
5926 }
5927 {
5928 wxPy_BEGIN_ALLOW_THREADS;
5929 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
5930
5931 wxPy_END_ALLOW_THREADS;
5932 } Py_INCREF(Py_None);
5933 _resultobj = Py_None;
5934 return _resultobj;
5935 }
5936
5937 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5938 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5939 PyObject * _resultobj;
5940 wxPyGridTableBase * _arg0;
5941 wxGridCellAttr * _arg1;
5942 int _arg2;
5943 PyObject * _argo0 = 0;
5944 PyObject * _argo1 = 0;
5945 char *_kwnames[] = { "self","attr","row", NULL };
5946
5947 self = self;
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5949 return NULL;
5950 if (_argo0) {
5951 if (_argo0 == Py_None) { _arg0 = NULL; }
5952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
5954 return NULL;
5955 }
5956 }
5957 if (_argo1) {
5958 if (_argo1 == Py_None) { _arg1 = NULL; }
5959 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5960 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5961 return NULL;
5962 }
5963 }
5964 {
5965 wxPy_BEGIN_ALLOW_THREADS;
5966 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
5967
5968 wxPy_END_ALLOW_THREADS;
5969 } Py_INCREF(Py_None);
5970 _resultobj = Py_None;
5971 return _resultobj;
5972 }
5973
5974 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5975 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5976 PyObject * _resultobj;
5977 wxPyGridTableBase * _arg0;
5978 wxGridCellAttr * _arg1;
5979 int _arg2;
5980 PyObject * _argo0 = 0;
5981 PyObject * _argo1 = 0;
5982 char *_kwnames[] = { "self","attr","col", NULL };
5983
5984 self = self;
5985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5986 return NULL;
5987 if (_argo0) {
5988 if (_argo0 == Py_None) { _arg0 = NULL; }
5989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
5991 return NULL;
5992 }
5993 }
5994 if (_argo1) {
5995 if (_argo1 == Py_None) { _arg1 = NULL; }
5996 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5997 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
5998 return NULL;
5999 }
6000 }
6001 {
6002 wxPy_BEGIN_ALLOW_THREADS;
6003 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6004
6005 wxPy_END_ALLOW_THREADS;
6006 } Py_INCREF(Py_None);
6007 _resultobj = Py_None;
6008 return _resultobj;
6009 }
6010
6011 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6012 wxGridStringTable *src;
6013 wxGridTableBase *dest;
6014 src = (wxGridStringTable *) ptr;
6015 dest = (wxGridTableBase *) src;
6016 return (void *) dest;
6017 }
6018
6019 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6020 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6021 PyObject * _resultobj;
6022 wxGridStringTable * _result;
6023 int _arg0 = (int ) 0;
6024 int _arg1 = (int ) 0;
6025 char *_kwnames[] = { "numRows","numCols", NULL };
6026 char _ptemp[128];
6027
6028 self = self;
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6030 return NULL;
6031 {
6032 wxPy_BEGIN_ALLOW_THREADS;
6033 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6034
6035 wxPy_END_ALLOW_THREADS;
6036 } if (_result) {
6037 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6038 _resultobj = Py_BuildValue("s",_ptemp);
6039 } else {
6040 Py_INCREF(Py_None);
6041 _resultobj = Py_None;
6042 }
6043 return _resultobj;
6044 }
6045
6046 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6047 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6048 PyObject * _resultobj;
6049 wxGridTableMessage * _result;
6050 wxGridTableBase * _arg0;
6051 int _arg1;
6052 int _arg2 = (int ) -1;
6053 int _arg3 = (int ) -1;
6054 PyObject * _argo0 = 0;
6055 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6056 char _ptemp[128];
6057
6058 self = self;
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6060 return NULL;
6061 if (_argo0) {
6062 if (_argo0 == Py_None) { _arg0 = NULL; }
6063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6065 return NULL;
6066 }
6067 }
6068 {
6069 wxPy_BEGIN_ALLOW_THREADS;
6070 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6071
6072 wxPy_END_ALLOW_THREADS;
6073 } if (_result) {
6074 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6075 _resultobj = Py_BuildValue("s",_ptemp);
6076 } else {
6077 Py_INCREF(Py_None);
6078 _resultobj = Py_None;
6079 }
6080 return _resultobj;
6081 }
6082
6083 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6084 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6085 PyObject * _resultobj;
6086 wxGridTableMessage * _arg0;
6087 PyObject * _argo0 = 0;
6088 char *_kwnames[] = { "self", NULL };
6089
6090 self = self;
6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6092 return NULL;
6093 if (_argo0) {
6094 if (_argo0 == Py_None) { _arg0 = NULL; }
6095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6097 return NULL;
6098 }
6099 }
6100 {
6101 wxPy_BEGIN_ALLOW_THREADS;
6102 delete_wxGridTableMessage(_arg0);
6103
6104 wxPy_END_ALLOW_THREADS;
6105 } Py_INCREF(Py_None);
6106 _resultobj = Py_None;
6107 return _resultobj;
6108 }
6109
6110 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6111 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6112 PyObject * _resultobj;
6113 wxGridTableMessage * _arg0;
6114 wxGridTableBase * _arg1;
6115 PyObject * _argo0 = 0;
6116 PyObject * _argo1 = 0;
6117 char *_kwnames[] = { "self","table", NULL };
6118
6119 self = self;
6120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6121 return NULL;
6122 if (_argo0) {
6123 if (_argo0 == Py_None) { _arg0 = NULL; }
6124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6126 return NULL;
6127 }
6128 }
6129 if (_argo1) {
6130 if (_argo1 == Py_None) { _arg1 = NULL; }
6131 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6132 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6133 return NULL;
6134 }
6135 }
6136 {
6137 wxPy_BEGIN_ALLOW_THREADS;
6138 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6139
6140 wxPy_END_ALLOW_THREADS;
6141 } Py_INCREF(Py_None);
6142 _resultobj = Py_None;
6143 return _resultobj;
6144 }
6145
6146 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6147 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6148 PyObject * _resultobj;
6149 wxGridTableBase * _result;
6150 wxGridTableMessage * _arg0;
6151 PyObject * _argo0 = 0;
6152 char *_kwnames[] = { "self", NULL };
6153 char _ptemp[128];
6154
6155 self = self;
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6157 return NULL;
6158 if (_argo0) {
6159 if (_argo0 == Py_None) { _arg0 = NULL; }
6160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6162 return NULL;
6163 }
6164 }
6165 {
6166 wxPy_BEGIN_ALLOW_THREADS;
6167 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6168
6169 wxPy_END_ALLOW_THREADS;
6170 } if (_result) {
6171 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6172 _resultobj = Py_BuildValue("s",_ptemp);
6173 } else {
6174 Py_INCREF(Py_None);
6175 _resultobj = Py_None;
6176 }
6177 return _resultobj;
6178 }
6179
6180 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6181 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject * _resultobj;
6183 wxGridTableMessage * _arg0;
6184 int _arg1;
6185 PyObject * _argo0 = 0;
6186 char *_kwnames[] = { "self","id", NULL };
6187
6188 self = self;
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6190 return NULL;
6191 if (_argo0) {
6192 if (_argo0 == Py_None) { _arg0 = NULL; }
6193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6195 return NULL;
6196 }
6197 }
6198 {
6199 wxPy_BEGIN_ALLOW_THREADS;
6200 wxGridTableMessage_SetId(_arg0,_arg1);
6201
6202 wxPy_END_ALLOW_THREADS;
6203 } Py_INCREF(Py_None);
6204 _resultobj = Py_None;
6205 return _resultobj;
6206 }
6207
6208 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6209 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6210 PyObject * _resultobj;
6211 int _result;
6212 wxGridTableMessage * _arg0;
6213 PyObject * _argo0 = 0;
6214 char *_kwnames[] = { "self", NULL };
6215
6216 self = self;
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6218 return NULL;
6219 if (_argo0) {
6220 if (_argo0 == Py_None) { _arg0 = NULL; }
6221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6223 return NULL;
6224 }
6225 }
6226 {
6227 wxPy_BEGIN_ALLOW_THREADS;
6228 _result = (int )wxGridTableMessage_GetId(_arg0);
6229
6230 wxPy_END_ALLOW_THREADS;
6231 } _resultobj = Py_BuildValue("i",_result);
6232 return _resultobj;
6233 }
6234
6235 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6236 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6237 PyObject * _resultobj;
6238 wxGridTableMessage * _arg0;
6239 int _arg1;
6240 PyObject * _argo0 = 0;
6241 char *_kwnames[] = { "self","comInt1", NULL };
6242
6243 self = self;
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6245 return NULL;
6246 if (_argo0) {
6247 if (_argo0 == Py_None) { _arg0 = NULL; }
6248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6250 return NULL;
6251 }
6252 }
6253 {
6254 wxPy_BEGIN_ALLOW_THREADS;
6255 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6256
6257 wxPy_END_ALLOW_THREADS;
6258 } Py_INCREF(Py_None);
6259 _resultobj = Py_None;
6260 return _resultobj;
6261 }
6262
6263 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6264 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6265 PyObject * _resultobj;
6266 int _result;
6267 wxGridTableMessage * _arg0;
6268 PyObject * _argo0 = 0;
6269 char *_kwnames[] = { "self", NULL };
6270
6271 self = self;
6272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6273 return NULL;
6274 if (_argo0) {
6275 if (_argo0 == Py_None) { _arg0 = NULL; }
6276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6278 return NULL;
6279 }
6280 }
6281 {
6282 wxPy_BEGIN_ALLOW_THREADS;
6283 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6284
6285 wxPy_END_ALLOW_THREADS;
6286 } _resultobj = Py_BuildValue("i",_result);
6287 return _resultobj;
6288 }
6289
6290 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6291 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6292 PyObject * _resultobj;
6293 wxGridTableMessage * _arg0;
6294 int _arg1;
6295 PyObject * _argo0 = 0;
6296 char *_kwnames[] = { "self","comInt2", NULL };
6297
6298 self = self;
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6300 return NULL;
6301 if (_argo0) {
6302 if (_argo0 == Py_None) { _arg0 = NULL; }
6303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6305 return NULL;
6306 }
6307 }
6308 {
6309 wxPy_BEGIN_ALLOW_THREADS;
6310 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6311
6312 wxPy_END_ALLOW_THREADS;
6313 } Py_INCREF(Py_None);
6314 _resultobj = Py_None;
6315 return _resultobj;
6316 }
6317
6318 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6319 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject * _resultobj;
6321 int _result;
6322 wxGridTableMessage * _arg0;
6323 PyObject * _argo0 = 0;
6324 char *_kwnames[] = { "self", NULL };
6325
6326 self = self;
6327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6328 return NULL;
6329 if (_argo0) {
6330 if (_argo0 == Py_None) { _arg0 = NULL; }
6331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6333 return NULL;
6334 }
6335 }
6336 {
6337 wxPy_BEGIN_ALLOW_THREADS;
6338 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6339
6340 wxPy_END_ALLOW_THREADS;
6341 } _resultobj = Py_BuildValue("i",_result);
6342 return _resultobj;
6343 }
6344
6345 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6346 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6347 PyObject * _resultobj;
6348 wxGridCellCoords * _result;
6349 int _arg0 = (int ) -1;
6350 int _arg1 = (int ) -1;
6351 char *_kwnames[] = { "r","c", NULL };
6352 char _ptemp[128];
6353
6354 self = self;
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6356 return NULL;
6357 {
6358 wxPy_BEGIN_ALLOW_THREADS;
6359 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6360
6361 wxPy_END_ALLOW_THREADS;
6362 } if (_result) {
6363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6364 _resultobj = Py_BuildValue("s",_ptemp);
6365 } else {
6366 Py_INCREF(Py_None);
6367 _resultobj = Py_None;
6368 }
6369 return _resultobj;
6370 }
6371
6372 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6373 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject * _resultobj;
6375 wxGridCellCoords * _arg0;
6376 PyObject * _argo0 = 0;
6377 char *_kwnames[] = { "self", NULL };
6378
6379 self = self;
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6381 return NULL;
6382 if (_argo0) {
6383 if (_argo0 == Py_None) { _arg0 = NULL; }
6384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6386 return NULL;
6387 }
6388 }
6389 {
6390 wxPy_BEGIN_ALLOW_THREADS;
6391 delete_wxGridCellCoords(_arg0);
6392
6393 wxPy_END_ALLOW_THREADS;
6394 } Py_INCREF(Py_None);
6395 _resultobj = Py_None;
6396 return _resultobj;
6397 }
6398
6399 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6400 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6401 PyObject * _resultobj;
6402 int _result;
6403 wxGridCellCoords * _arg0;
6404 PyObject * _argo0 = 0;
6405 char *_kwnames[] = { "self", NULL };
6406
6407 self = self;
6408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6409 return NULL;
6410 if (_argo0) {
6411 if (_argo0 == Py_None) { _arg0 = NULL; }
6412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6414 return NULL;
6415 }
6416 }
6417 {
6418 wxPy_BEGIN_ALLOW_THREADS;
6419 _result = (int )wxGridCellCoords_GetRow(_arg0);
6420
6421 wxPy_END_ALLOW_THREADS;
6422 } _resultobj = Py_BuildValue("i",_result);
6423 return _resultobj;
6424 }
6425
6426 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6427 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject * _resultobj;
6429 wxGridCellCoords * _arg0;
6430 int _arg1;
6431 PyObject * _argo0 = 0;
6432 char *_kwnames[] = { "self","n", NULL };
6433
6434 self = self;
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6436 return NULL;
6437 if (_argo0) {
6438 if (_argo0 == Py_None) { _arg0 = NULL; }
6439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6441 return NULL;
6442 }
6443 }
6444 {
6445 wxPy_BEGIN_ALLOW_THREADS;
6446 wxGridCellCoords_SetRow(_arg0,_arg1);
6447
6448 wxPy_END_ALLOW_THREADS;
6449 } Py_INCREF(Py_None);
6450 _resultobj = Py_None;
6451 return _resultobj;
6452 }
6453
6454 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6455 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6456 PyObject * _resultobj;
6457 int _result;
6458 wxGridCellCoords * _arg0;
6459 PyObject * _argo0 = 0;
6460 char *_kwnames[] = { "self", NULL };
6461
6462 self = self;
6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6464 return NULL;
6465 if (_argo0) {
6466 if (_argo0 == Py_None) { _arg0 = NULL; }
6467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6469 return NULL;
6470 }
6471 }
6472 {
6473 wxPy_BEGIN_ALLOW_THREADS;
6474 _result = (int )wxGridCellCoords_GetCol(_arg0);
6475
6476 wxPy_END_ALLOW_THREADS;
6477 } _resultobj = Py_BuildValue("i",_result);
6478 return _resultobj;
6479 }
6480
6481 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6482 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6483 PyObject * _resultobj;
6484 wxGridCellCoords * _arg0;
6485 int _arg1;
6486 PyObject * _argo0 = 0;
6487 char *_kwnames[] = { "self","n", NULL };
6488
6489 self = self;
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6491 return NULL;
6492 if (_argo0) {
6493 if (_argo0 == Py_None) { _arg0 = NULL; }
6494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6496 return NULL;
6497 }
6498 }
6499 {
6500 wxPy_BEGIN_ALLOW_THREADS;
6501 wxGridCellCoords_SetCol(_arg0,_arg1);
6502
6503 wxPy_END_ALLOW_THREADS;
6504 } Py_INCREF(Py_None);
6505 _resultobj = Py_None;
6506 return _resultobj;
6507 }
6508
6509 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6510 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6511 PyObject * _resultobj;
6512 wxGridCellCoords * _arg0;
6513 int _arg1;
6514 int _arg2;
6515 PyObject * _argo0 = 0;
6516 char *_kwnames[] = { "self","row","col", NULL };
6517
6518 self = self;
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6520 return NULL;
6521 if (_argo0) {
6522 if (_argo0 == Py_None) { _arg0 = NULL; }
6523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6525 return NULL;
6526 }
6527 }
6528 {
6529 wxPy_BEGIN_ALLOW_THREADS;
6530 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6531
6532 wxPy_END_ALLOW_THREADS;
6533 } Py_INCREF(Py_None);
6534 _resultobj = Py_None;
6535 return _resultobj;
6536 }
6537
6538 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6539 PyObject* tup = PyTuple_New(2);
6540 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6541 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6542 return tup;
6543 }
6544 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6545 PyObject * _resultobj;
6546 PyObject * _result;
6547 wxGridCellCoords * _arg0;
6548 PyObject * _argo0 = 0;
6549 char *_kwnames[] = { "self", NULL };
6550
6551 self = self;
6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6553 return NULL;
6554 if (_argo0) {
6555 if (_argo0 == Py_None) { _arg0 = NULL; }
6556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6558 return NULL;
6559 }
6560 }
6561 {
6562 wxPy_BEGIN_ALLOW_THREADS;
6563 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6564
6565 wxPy_END_ALLOW_THREADS;
6566 }{
6567 _resultobj = _result;
6568 }
6569 return _resultobj;
6570 }
6571
6572 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6573 return *self != other;
6574 }
6575 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6576 PyObject * _resultobj;
6577 int _result;
6578 wxGridCellCoords * _arg0;
6579 wxGridCellCoords * _arg1;
6580 PyObject * _argo0 = 0;
6581 PyObject * _argo1 = 0;
6582 char *_kwnames[] = { "self","other", NULL };
6583
6584 self = self;
6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6586 return NULL;
6587 if (_argo0) {
6588 if (_argo0 == Py_None) { _arg0 = NULL; }
6589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6591 return NULL;
6592 }
6593 }
6594 if (_argo1) {
6595 if (_argo1 == Py_None) { _arg1 = NULL; }
6596 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6597 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6598 return NULL;
6599 }
6600 }
6601 {
6602 wxPy_BEGIN_ALLOW_THREADS;
6603 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6604
6605 wxPy_END_ALLOW_THREADS;
6606 } _resultobj = Py_BuildValue("i",_result);
6607 return _resultobj;
6608 }
6609
6610 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6611 wxGrid *src;
6612 wxScrolledWindow *dest;
6613 src = (wxGrid *) ptr;
6614 dest = (wxScrolledWindow *) src;
6615 return (void *) dest;
6616 }
6617
6618 static void *SwigwxGridTowxPanel(void *ptr) {
6619 wxGrid *src;
6620 wxPanel *dest;
6621 src = (wxGrid *) ptr;
6622 dest = (wxPanel *) src;
6623 return (void *) dest;
6624 }
6625
6626 static void *SwigwxGridTowxWindow(void *ptr) {
6627 wxGrid *src;
6628 wxWindow *dest;
6629 src = (wxGrid *) ptr;
6630 dest = (wxWindow *) src;
6631 return (void *) dest;
6632 }
6633
6634 static void *SwigwxGridTowxEvtHandler(void *ptr) {
6635 wxGrid *src;
6636 wxEvtHandler *dest;
6637 src = (wxGrid *) ptr;
6638 dest = (wxEvtHandler *) src;
6639 return (void *) dest;
6640 }
6641
6642 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6643 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6644 PyObject * _resultobj;
6645 wxGrid * _result;
6646 wxWindow * _arg0;
6647 wxWindowID _arg1;
6648 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6649 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6650 long _arg4 = (long ) wxWANTS_CHARS;
6651 char * _arg5 = (char *) wxPanelNameStr;
6652 PyObject * _argo0 = 0;
6653 wxPoint temp;
6654 PyObject * _obj2 = 0;
6655 wxSize temp0;
6656 PyObject * _obj3 = 0;
6657 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6658 char _ptemp[128];
6659
6660 self = self;
6661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
6662 return NULL;
6663 if (_argo0) {
6664 if (_argo0 == Py_None) { _arg0 = NULL; }
6665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6667 return NULL;
6668 }
6669 }
6670 if (_obj2)
6671 {
6672 _arg2 = &temp;
6673 if (! wxPoint_helper(_obj2, &_arg2))
6674 return NULL;
6675 }
6676 if (_obj3)
6677 {
6678 _arg3 = &temp0;
6679 if (! wxSize_helper(_obj3, &_arg3))
6680 return NULL;
6681 }
6682 {
6683 wxPy_BEGIN_ALLOW_THREADS;
6684 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
6685
6686 wxPy_END_ALLOW_THREADS;
6687 } if (_result) {
6688 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
6689 _resultobj = Py_BuildValue("s",_ptemp);
6690 } else {
6691 Py_INCREF(Py_None);
6692 _resultobj = Py_None;
6693 }
6694 return _resultobj;
6695 }
6696
6697 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6698 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6699 PyObject * _resultobj;
6700 bool _result;
6701 wxGrid * _arg0;
6702 int _arg1;
6703 int _arg2;
6704 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6705 PyObject * _argo0 = 0;
6706 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
6707
6708 self = self;
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6710 return NULL;
6711 if (_argo0) {
6712 if (_argo0 == Py_None) { _arg0 = NULL; }
6713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6715 return NULL;
6716 }
6717 }
6718 {
6719 wxPy_BEGIN_ALLOW_THREADS;
6720 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
6721
6722 wxPy_END_ALLOW_THREADS;
6723 } _resultobj = Py_BuildValue("i",_result);
6724 return _resultobj;
6725 }
6726
6727 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6728 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6729 PyObject * _resultobj;
6730 wxGrid * _arg0;
6731 WXGRIDSELECTIONMODES _arg1;
6732 PyObject * _argo0 = 0;
6733 char *_kwnames[] = { "self","selmode", NULL };
6734
6735 self = self;
6736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
6737 return NULL;
6738 if (_argo0) {
6739 if (_argo0 == Py_None) { _arg0 = NULL; }
6740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6742 return NULL;
6743 }
6744 }
6745 {
6746 wxPy_BEGIN_ALLOW_THREADS;
6747 wxGrid_SetSelectionMode(_arg0,_arg1);
6748
6749 wxPy_END_ALLOW_THREADS;
6750 } Py_INCREF(Py_None);
6751 _resultobj = Py_None;
6752 return _resultobj;
6753 }
6754
6755 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6756 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6757 PyObject * _resultobj;
6758 int _result;
6759 wxGrid * _arg0;
6760 PyObject * _argo0 = 0;
6761 char *_kwnames[] = { "self", NULL };
6762
6763 self = self;
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
6765 return NULL;
6766 if (_argo0) {
6767 if (_argo0 == Py_None) { _arg0 = NULL; }
6768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6770 return NULL;
6771 }
6772 }
6773 {
6774 wxPy_BEGIN_ALLOW_THREADS;
6775 _result = (int )wxGrid_GetNumberRows(_arg0);
6776
6777 wxPy_END_ALLOW_THREADS;
6778 } _resultobj = Py_BuildValue("i",_result);
6779 return _resultobj;
6780 }
6781
6782 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6783 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject * _resultobj;
6785 int _result;
6786 wxGrid * _arg0;
6787 PyObject * _argo0 = 0;
6788 char *_kwnames[] = { "self", NULL };
6789
6790 self = self;
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
6792 return NULL;
6793 if (_argo0) {
6794 if (_argo0 == Py_None) { _arg0 = NULL; }
6795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6797 return NULL;
6798 }
6799 }
6800 {
6801 wxPy_BEGIN_ALLOW_THREADS;
6802 _result = (int )wxGrid_GetNumberCols(_arg0);
6803
6804 wxPy_END_ALLOW_THREADS;
6805 } _resultobj = Py_BuildValue("i",_result);
6806 return _resultobj;
6807 }
6808
6809 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6810 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6811 PyObject * _resultobj;
6812 bool _result;
6813 wxGrid * _arg0;
6814 wxGridTableMessage * _arg1;
6815 PyObject * _argo0 = 0;
6816 PyObject * _argo1 = 0;
6817 char *_kwnames[] = { "self","arg2", NULL };
6818
6819 self = self;
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
6821 return NULL;
6822 if (_argo0) {
6823 if (_argo0 == Py_None) { _arg0 = NULL; }
6824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6826 return NULL;
6827 }
6828 }
6829 if (_argo1) {
6830 if (_argo1 == Py_None) { _arg1 = NULL; }
6831 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
6832 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6833 return NULL;
6834 }
6835 }
6836 {
6837 wxPy_BEGIN_ALLOW_THREADS;
6838 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
6839
6840 wxPy_END_ALLOW_THREADS;
6841 } _resultobj = Py_BuildValue("i",_result);
6842 return _resultobj;
6843 }
6844
6845 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6846 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6847 PyObject * _resultobj;
6848 wxGridTableBase * _result;
6849 wxGrid * _arg0;
6850 PyObject * _argo0 = 0;
6851 char *_kwnames[] = { "self", NULL };
6852 char _ptemp[128];
6853
6854 self = self;
6855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
6856 return NULL;
6857 if (_argo0) {
6858 if (_argo0 == Py_None) { _arg0 = NULL; }
6859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6861 return NULL;
6862 }
6863 }
6864 {
6865 wxPy_BEGIN_ALLOW_THREADS;
6866 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
6867
6868 wxPy_END_ALLOW_THREADS;
6869 } if (_result) {
6870 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableBase_p");
6871 _resultobj = Py_BuildValue("s",_ptemp);
6872 } else {
6873 Py_INCREF(Py_None);
6874 _resultobj = Py_None;
6875 }
6876 return _resultobj;
6877 }
6878
6879 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6880 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject * _resultobj;
6882 bool _result;
6883 wxGrid * _arg0;
6884 wxGridTableBase * _arg1;
6885 bool _arg2 = (bool ) FALSE;
6886 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
6887 PyObject * _argo0 = 0;
6888 PyObject * _argo1 = 0;
6889 int tempbool2 = (int) FALSE;
6890 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
6891
6892 self = self;
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
6894 return NULL;
6895 if (_argo0) {
6896 if (_argo0 == Py_None) { _arg0 = NULL; }
6897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
6899 return NULL;
6900 }
6901 }
6902 if (_argo1) {
6903 if (_argo1 == Py_None) { _arg1 = NULL; }
6904 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6905 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
6906 return NULL;
6907 }
6908 }
6909 _arg2 = (bool ) tempbool2;
6910 {
6911 wxPy_BEGIN_ALLOW_THREADS;
6912 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
6913
6914 wxPy_END_ALLOW_THREADS;
6915 } _resultobj = Py_BuildValue("i",_result);
6916 return _resultobj;
6917 }
6918
6919 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
6920 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject * _resultobj;
6922 wxGrid * _arg0;
6923 PyObject * _argo0 = 0;
6924 char *_kwnames[] = { "self", NULL };
6925
6926 self = self;
6927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
6928 return NULL;
6929 if (_argo0) {
6930 if (_argo0 == Py_None) { _arg0 = NULL; }
6931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
6933 return NULL;
6934 }
6935 }
6936 {
6937 wxPy_BEGIN_ALLOW_THREADS;
6938 wxGrid_ClearGrid(_arg0);
6939
6940 wxPy_END_ALLOW_THREADS;
6941 } Py_INCREF(Py_None);
6942 _resultobj = Py_None;
6943 return _resultobj;
6944 }
6945
6946 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
6947 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6948 PyObject * _resultobj;
6949 bool _result;
6950 wxGrid * _arg0;
6951 int _arg1 = (int ) 0;
6952 int _arg2 = (int ) 1;
6953 bool _arg3 = (bool ) TRUE;
6954 PyObject * _argo0 = 0;
6955 int tempbool3 = (int) TRUE;
6956 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
6957
6958 self = self;
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
6960 return NULL;
6961 if (_argo0) {
6962 if (_argo0 == Py_None) { _arg0 = NULL; }
6963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
6965 return NULL;
6966 }
6967 }
6968 _arg3 = (bool ) tempbool3;
6969 {
6970 wxPy_BEGIN_ALLOW_THREADS;
6971 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
6972
6973 wxPy_END_ALLOW_THREADS;
6974 } _resultobj = Py_BuildValue("i",_result);
6975 return _resultobj;
6976 }
6977
6978 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
6979 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6980 PyObject * _resultobj;
6981 bool _result;
6982 wxGrid * _arg0;
6983 int _arg1 = (int ) 1;
6984 bool _arg2 = (bool ) TRUE;
6985 PyObject * _argo0 = 0;
6986 int tempbool2 = (int) TRUE;
6987 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
6988
6989 self = self;
6990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
6991 return NULL;
6992 if (_argo0) {
6993 if (_argo0 == Py_None) { _arg0 = NULL; }
6994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
6995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
6996 return NULL;
6997 }
6998 }
6999 _arg2 = (bool ) tempbool2;
7000 {
7001 wxPy_BEGIN_ALLOW_THREADS;
7002 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7003
7004 wxPy_END_ALLOW_THREADS;
7005 } _resultobj = Py_BuildValue("i",_result);
7006 return _resultobj;
7007 }
7008
7009 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7010 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7011 PyObject * _resultobj;
7012 bool _result;
7013 wxGrid * _arg0;
7014 int _arg1 = (int ) 0;
7015 int _arg2 = (int ) 1;
7016 bool _arg3 = (bool ) TRUE;
7017 PyObject * _argo0 = 0;
7018 int tempbool3 = (int) TRUE;
7019 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7020
7021 self = self;
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7023 return NULL;
7024 if (_argo0) {
7025 if (_argo0 == Py_None) { _arg0 = NULL; }
7026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7028 return NULL;
7029 }
7030 }
7031 _arg3 = (bool ) tempbool3;
7032 {
7033 wxPy_BEGIN_ALLOW_THREADS;
7034 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7035
7036 wxPy_END_ALLOW_THREADS;
7037 } _resultobj = Py_BuildValue("i",_result);
7038 return _resultobj;
7039 }
7040
7041 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7042 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject * _resultobj;
7044 bool _result;
7045 wxGrid * _arg0;
7046 int _arg1 = (int ) 0;
7047 int _arg2 = (int ) 1;
7048 bool _arg3 = (bool ) TRUE;
7049 PyObject * _argo0 = 0;
7050 int tempbool3 = (int) TRUE;
7051 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7052
7053 self = self;
7054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7055 return NULL;
7056 if (_argo0) {
7057 if (_argo0 == Py_None) { _arg0 = NULL; }
7058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7060 return NULL;
7061 }
7062 }
7063 _arg3 = (bool ) tempbool3;
7064 {
7065 wxPy_BEGIN_ALLOW_THREADS;
7066 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7067
7068 wxPy_END_ALLOW_THREADS;
7069 } _resultobj = Py_BuildValue("i",_result);
7070 return _resultobj;
7071 }
7072
7073 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7074 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7075 PyObject * _resultobj;
7076 bool _result;
7077 wxGrid * _arg0;
7078 int _arg1 = (int ) 1;
7079 bool _arg2 = (bool ) TRUE;
7080 PyObject * _argo0 = 0;
7081 int tempbool2 = (int) TRUE;
7082 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7083
7084 self = self;
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7086 return NULL;
7087 if (_argo0) {
7088 if (_argo0 == Py_None) { _arg0 = NULL; }
7089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7091 return NULL;
7092 }
7093 }
7094 _arg2 = (bool ) tempbool2;
7095 {
7096 wxPy_BEGIN_ALLOW_THREADS;
7097 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7098
7099 wxPy_END_ALLOW_THREADS;
7100 } _resultobj = Py_BuildValue("i",_result);
7101 return _resultobj;
7102 }
7103
7104 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7105 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject * _resultobj;
7107 bool _result;
7108 wxGrid * _arg0;
7109 int _arg1 = (int ) 0;
7110 int _arg2 = (int ) 1;
7111 bool _arg3 = (bool ) TRUE;
7112 PyObject * _argo0 = 0;
7113 int tempbool3 = (int) TRUE;
7114 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7115
7116 self = self;
7117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7118 return NULL;
7119 if (_argo0) {
7120 if (_argo0 == Py_None) { _arg0 = NULL; }
7121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7123 return NULL;
7124 }
7125 }
7126 _arg3 = (bool ) tempbool3;
7127 {
7128 wxPy_BEGIN_ALLOW_THREADS;
7129 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7130
7131 wxPy_END_ALLOW_THREADS;
7132 } _resultobj = Py_BuildValue("i",_result);
7133 return _resultobj;
7134 }
7135
7136 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7137 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7138 PyObject * _resultobj;
7139 wxGrid * _arg0;
7140 wxDC * _arg1;
7141 wxGridCellAttr * _arg2;
7142 PyObject * _argo0 = 0;
7143 PyObject * _argo1 = 0;
7144 PyObject * _argo2 = 0;
7145 char *_kwnames[] = { "self","dc","attr", NULL };
7146
7147 self = self;
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7149 return NULL;
7150 if (_argo0) {
7151 if (_argo0 == Py_None) { _arg0 = NULL; }
7152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7154 return NULL;
7155 }
7156 }
7157 if (_argo1) {
7158 if (_argo1 == Py_None) { _arg1 = NULL; }
7159 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7160 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7161 return NULL;
7162 }
7163 }
7164 if (_argo2) {
7165 if (_argo2 == Py_None) { _arg2 = NULL; }
7166 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7167 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7168 return NULL;
7169 }
7170 }
7171 {
7172 wxPy_BEGIN_ALLOW_THREADS;
7173 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7174
7175 wxPy_END_ALLOW_THREADS;
7176 } Py_INCREF(Py_None);
7177 _resultobj = Py_None;
7178 return _resultobj;
7179 }
7180
7181 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7182 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7183 PyObject * _resultobj;
7184 wxGrid * _arg0;
7185 wxDC * _arg1;
7186 wxString * _arg2;
7187 wxRect * _arg3;
7188 int _arg4 = (int ) wxLEFT;
7189 int _arg5 = (int ) wxTOP;
7190 PyObject * _argo0 = 0;
7191 PyObject * _argo1 = 0;
7192 PyObject * _obj2 = 0;
7193 wxRect temp;
7194 PyObject * _obj3 = 0;
7195 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7196
7197 self = self;
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7199 return NULL;
7200 if (_argo0) {
7201 if (_argo0 == Py_None) { _arg0 = NULL; }
7202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7204 return NULL;
7205 }
7206 }
7207 if (_argo1) {
7208 if (_argo1 == Py_None) { _arg1 = NULL; }
7209 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7210 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7211 return NULL;
7212 }
7213 }
7214 {
7215 #if PYTHON_API_VERSION >= 1009
7216 char* tmpPtr; int tmpSize;
7217 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7218 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7219 return NULL;
7220 }
7221 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7222 return NULL;
7223 _arg2 = new wxString(tmpPtr, tmpSize);
7224 #else
7225 if (!PyString_Check(_obj2)) {
7226 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7227 return NULL;
7228 }
7229 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7230 #endif
7231 }
7232 {
7233 _arg3 = &temp;
7234 if (! wxRect_helper(_obj3, &_arg3))
7235 return NULL;
7236 }
7237 {
7238 wxPy_BEGIN_ALLOW_THREADS;
7239 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7240
7241 wxPy_END_ALLOW_THREADS;
7242 } Py_INCREF(Py_None);
7243 _resultobj = Py_None;
7244 {
7245 if (_obj2)
7246 delete _arg2;
7247 }
7248 return _resultobj;
7249 }
7250
7251 #define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7252 static PyObject *_wrap_wxGrid_StringToLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject * _resultobj;
7254 wxGrid * _arg0;
7255 wxString * _arg1;
7256 wxArrayString * _arg2;
7257 PyObject * _argo0 = 0;
7258 PyObject * _obj1 = 0;
7259 PyObject * _argo2 = 0;
7260 char *_kwnames[] = { "self","value","lines", NULL };
7261
7262 self = self;
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_StringToLines",_kwnames,&_argo0,&_obj1,&_argo2))
7264 return NULL;
7265 if (_argo0) {
7266 if (_argo0 == Py_None) { _arg0 = NULL; }
7267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7269 return NULL;
7270 }
7271 }
7272 {
7273 #if PYTHON_API_VERSION >= 1009
7274 char* tmpPtr; int tmpSize;
7275 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7276 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7277 return NULL;
7278 }
7279 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7280 return NULL;
7281 _arg1 = new wxString(tmpPtr, tmpSize);
7282 #else
7283 if (!PyString_Check(_obj1)) {
7284 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7285 return NULL;
7286 }
7287 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7288 #endif
7289 }
7290 if (_argo2) {
7291 if (_argo2 == Py_None) { _arg2 = NULL; }
7292 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7293 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7294 return NULL;
7295 }
7296 }
7297 {
7298 wxPy_BEGIN_ALLOW_THREADS;
7299 wxGrid_StringToLines(_arg0,*_arg1,*_arg2);
7300
7301 wxPy_END_ALLOW_THREADS;
7302 } Py_INCREF(Py_None);
7303 _resultobj = Py_None;
7304 {
7305 if (_obj1)
7306 delete _arg1;
7307 }
7308 return _resultobj;
7309 }
7310
7311 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7312 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7313 PyObject * _resultobj;
7314 wxGrid * _arg0;
7315 wxDC * _arg1;
7316 wxArrayString * _arg2;
7317 long * _arg3;
7318 long temp;
7319 long * _arg4;
7320 long temp0;
7321 PyObject * _argo0 = 0;
7322 PyObject * _argo1 = 0;
7323 PyObject * _argo2 = 0;
7324 char *_kwnames[] = { "self","dc","lines", NULL };
7325
7326 self = self;
7327 {
7328 _arg3 = &temp;
7329 }
7330 {
7331 _arg4 = &temp0;
7332 }
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_argo2))
7334 return NULL;
7335 if (_argo0) {
7336 if (_argo0 == Py_None) { _arg0 = NULL; }
7337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7339 return NULL;
7340 }
7341 }
7342 if (_argo1) {
7343 if (_argo1 == Py_None) { _arg1 = NULL; }
7344 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7345 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7346 return NULL;
7347 }
7348 }
7349 if (_argo2) {
7350 if (_argo2 == Py_None) { _arg2 = NULL; }
7351 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrayString_p")) {
7352 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7353 return NULL;
7354 }
7355 }
7356 {
7357 wxPy_BEGIN_ALLOW_THREADS;
7358 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7359
7360 wxPy_END_ALLOW_THREADS;
7361 } Py_INCREF(Py_None);
7362 _resultobj = Py_None;
7363 {
7364 PyObject *o;
7365 o = PyInt_FromLong((long) (*_arg3));
7366 _resultobj = t_output_helper(_resultobj, o);
7367 }
7368 {
7369 PyObject *o;
7370 o = PyInt_FromLong((long) (*_arg4));
7371 _resultobj = t_output_helper(_resultobj, o);
7372 }
7373 return _resultobj;
7374 }
7375
7376 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7377 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7378 PyObject * _resultobj;
7379 wxGrid * _arg0;
7380 PyObject * _argo0 = 0;
7381 char *_kwnames[] = { "self", NULL };
7382
7383 self = self;
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7385 return NULL;
7386 if (_argo0) {
7387 if (_argo0 == Py_None) { _arg0 = NULL; }
7388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7390 return NULL;
7391 }
7392 }
7393 {
7394 wxPy_BEGIN_ALLOW_THREADS;
7395 wxGrid_BeginBatch(_arg0);
7396
7397 wxPy_END_ALLOW_THREADS;
7398 } Py_INCREF(Py_None);
7399 _resultobj = Py_None;
7400 return _resultobj;
7401 }
7402
7403 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7404 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject * _resultobj;
7406 wxGrid * _arg0;
7407 PyObject * _argo0 = 0;
7408 char *_kwnames[] = { "self", NULL };
7409
7410 self = self;
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7412 return NULL;
7413 if (_argo0) {
7414 if (_argo0 == Py_None) { _arg0 = NULL; }
7415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7417 return NULL;
7418 }
7419 }
7420 {
7421 wxPy_BEGIN_ALLOW_THREADS;
7422 wxGrid_EndBatch(_arg0);
7423
7424 wxPy_END_ALLOW_THREADS;
7425 } Py_INCREF(Py_None);
7426 _resultobj = Py_None;
7427 return _resultobj;
7428 }
7429
7430 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7431 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject * _resultobj;
7433 int _result;
7434 wxGrid * _arg0;
7435 PyObject * _argo0 = 0;
7436 char *_kwnames[] = { "self", NULL };
7437
7438 self = self;
7439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7440 return NULL;
7441 if (_argo0) {
7442 if (_argo0 == Py_None) { _arg0 = NULL; }
7443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7445 return NULL;
7446 }
7447 }
7448 {
7449 wxPy_BEGIN_ALLOW_THREADS;
7450 _result = (int )wxGrid_GetBatchCount(_arg0);
7451
7452 wxPy_END_ALLOW_THREADS;
7453 } _resultobj = Py_BuildValue("i",_result);
7454 return _resultobj;
7455 }
7456
7457 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7458 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7459 PyObject * _resultobj;
7460 bool _result;
7461 wxGrid * _arg0;
7462 PyObject * _argo0 = 0;
7463 char *_kwnames[] = { "self", NULL };
7464
7465 self = self;
7466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7467 return NULL;
7468 if (_argo0) {
7469 if (_argo0 == Py_None) { _arg0 = NULL; }
7470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7472 return NULL;
7473 }
7474 }
7475 {
7476 wxPy_BEGIN_ALLOW_THREADS;
7477 _result = (bool )wxGrid_IsEditable(_arg0);
7478
7479 wxPy_END_ALLOW_THREADS;
7480 } _resultobj = Py_BuildValue("i",_result);
7481 return _resultobj;
7482 }
7483
7484 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7485 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject * _resultobj;
7487 wxGrid * _arg0;
7488 bool _arg1;
7489 PyObject * _argo0 = 0;
7490 int tempbool1;
7491 char *_kwnames[] = { "self","edit", NULL };
7492
7493 self = self;
7494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7495 return NULL;
7496 if (_argo0) {
7497 if (_argo0 == Py_None) { _arg0 = NULL; }
7498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7500 return NULL;
7501 }
7502 }
7503 _arg1 = (bool ) tempbool1;
7504 {
7505 wxPy_BEGIN_ALLOW_THREADS;
7506 wxGrid_EnableEditing(_arg0,_arg1);
7507
7508 wxPy_END_ALLOW_THREADS;
7509 } Py_INCREF(Py_None);
7510 _resultobj = Py_None;
7511 return _resultobj;
7512 }
7513
7514 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7515 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7516 PyObject * _resultobj;
7517 wxGrid * _arg0;
7518 bool _arg1 = (bool ) TRUE;
7519 PyObject * _argo0 = 0;
7520 int tempbool1 = (int) TRUE;
7521 char *_kwnames[] = { "self","enable", NULL };
7522
7523 self = self;
7524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7525 return NULL;
7526 if (_argo0) {
7527 if (_argo0 == Py_None) { _arg0 = NULL; }
7528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7530 return NULL;
7531 }
7532 }
7533 _arg1 = (bool ) tempbool1;
7534 {
7535 wxPy_BEGIN_ALLOW_THREADS;
7536 wxGrid_EnableCellEditControl(_arg0,_arg1);
7537
7538 wxPy_END_ALLOW_THREADS;
7539 } Py_INCREF(Py_None);
7540 _resultobj = Py_None;
7541 return _resultobj;
7542 }
7543
7544 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7545 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7546 PyObject * _resultobj;
7547 wxGrid * _arg0;
7548 PyObject * _argo0 = 0;
7549 char *_kwnames[] = { "self", NULL };
7550
7551 self = self;
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7553 return NULL;
7554 if (_argo0) {
7555 if (_argo0 == Py_None) { _arg0 = NULL; }
7556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7558 return NULL;
7559 }
7560 }
7561 {
7562 wxPy_BEGIN_ALLOW_THREADS;
7563 wxGrid_DisableCellEditControl(_arg0);
7564
7565 wxPy_END_ALLOW_THREADS;
7566 } Py_INCREF(Py_None);
7567 _resultobj = Py_None;
7568 return _resultobj;
7569 }
7570
7571 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7572 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7573 PyObject * _resultobj;
7574 bool _result;
7575 wxGrid * _arg0;
7576 PyObject * _argo0 = 0;
7577 char *_kwnames[] = { "self", NULL };
7578
7579 self = self;
7580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7581 return NULL;
7582 if (_argo0) {
7583 if (_argo0 == Py_None) { _arg0 = NULL; }
7584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7586 return NULL;
7587 }
7588 }
7589 {
7590 wxPy_BEGIN_ALLOW_THREADS;
7591 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7592
7593 wxPy_END_ALLOW_THREADS;
7594 } _resultobj = Py_BuildValue("i",_result);
7595 return _resultobj;
7596 }
7597
7598 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7599 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7600 PyObject * _resultobj;
7601 bool _result;
7602 wxGrid * _arg0;
7603 PyObject * _argo0 = 0;
7604 char *_kwnames[] = { "self", NULL };
7605
7606 self = self;
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7608 return NULL;
7609 if (_argo0) {
7610 if (_argo0 == Py_None) { _arg0 = NULL; }
7611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7613 return NULL;
7614 }
7615 }
7616 {
7617 wxPy_BEGIN_ALLOW_THREADS;
7618 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7619
7620 wxPy_END_ALLOW_THREADS;
7621 } _resultobj = Py_BuildValue("i",_result);
7622 return _resultobj;
7623 }
7624
7625 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7626 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject * _resultobj;
7628 bool _result;
7629 wxGrid * _arg0;
7630 PyObject * _argo0 = 0;
7631 char *_kwnames[] = { "self", NULL };
7632
7633 self = self;
7634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
7635 return NULL;
7636 if (_argo0) {
7637 if (_argo0 == Py_None) { _arg0 = NULL; }
7638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7640 return NULL;
7641 }
7642 }
7643 {
7644 wxPy_BEGIN_ALLOW_THREADS;
7645 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
7646
7647 wxPy_END_ALLOW_THREADS;
7648 } _resultobj = Py_BuildValue("i",_result);
7649 return _resultobj;
7650 }
7651
7652 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7653 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
7654 PyObject * _resultobj;
7655 bool _result;
7656 wxGrid * _arg0;
7657 PyObject * _argo0 = 0;
7658 char *_kwnames[] = { "self", NULL };
7659
7660 self = self;
7661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
7662 return NULL;
7663 if (_argo0) {
7664 if (_argo0 == Py_None) { _arg0 = NULL; }
7665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7667 return NULL;
7668 }
7669 }
7670 {
7671 wxPy_BEGIN_ALLOW_THREADS;
7672 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
7673
7674 wxPy_END_ALLOW_THREADS;
7675 } _resultobj = Py_BuildValue("i",_result);
7676 return _resultobj;
7677 }
7678
7679 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7680 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7681 PyObject * _resultobj;
7682 wxGrid * _arg0;
7683 PyObject * _argo0 = 0;
7684 char *_kwnames[] = { "self", NULL };
7685
7686 self = self;
7687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
7688 return NULL;
7689 if (_argo0) {
7690 if (_argo0 == Py_None) { _arg0 = NULL; }
7691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7693 return NULL;
7694 }
7695 }
7696 {
7697 wxPy_BEGIN_ALLOW_THREADS;
7698 wxGrid_ShowCellEditControl(_arg0);
7699
7700 wxPy_END_ALLOW_THREADS;
7701 } Py_INCREF(Py_None);
7702 _resultobj = Py_None;
7703 return _resultobj;
7704 }
7705
7706 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7707 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7708 PyObject * _resultobj;
7709 wxGrid * _arg0;
7710 PyObject * _argo0 = 0;
7711 char *_kwnames[] = { "self", NULL };
7712
7713 self = self;
7714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
7715 return NULL;
7716 if (_argo0) {
7717 if (_argo0 == Py_None) { _arg0 = NULL; }
7718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7720 return NULL;
7721 }
7722 }
7723 {
7724 wxPy_BEGIN_ALLOW_THREADS;
7725 wxGrid_HideCellEditControl(_arg0);
7726
7727 wxPy_END_ALLOW_THREADS;
7728 } Py_INCREF(Py_None);
7729 _resultobj = Py_None;
7730 return _resultobj;
7731 }
7732
7733 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7734 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7735 PyObject * _resultobj;
7736 wxGrid * _arg0;
7737 PyObject * _argo0 = 0;
7738 char *_kwnames[] = { "self", NULL };
7739
7740 self = self;
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
7742 return NULL;
7743 if (_argo0) {
7744 if (_argo0 == Py_None) { _arg0 = NULL; }
7745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7747 return NULL;
7748 }
7749 }
7750 {
7751 wxPy_BEGIN_ALLOW_THREADS;
7752 wxGrid_SaveEditControlValue(_arg0);
7753
7754 wxPy_END_ALLOW_THREADS;
7755 } Py_INCREF(Py_None);
7756 _resultobj = Py_None;
7757 return _resultobj;
7758 }
7759
7760 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
7761 wxGridCellCoords rv;
7762 self->XYToCell(x, y, rv);
7763 return new wxGridCellCoords(rv);
7764 }
7765 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
7766 PyObject * _resultobj;
7767 wxGridCellCoords * _result;
7768 wxGrid * _arg0;
7769 int _arg1;
7770 int _arg2;
7771 PyObject * _argo0 = 0;
7772 char *_kwnames[] = { "self","x","y", NULL };
7773 char _ptemp[128];
7774
7775 self = self;
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
7777 return NULL;
7778 if (_argo0) {
7779 if (_argo0 == Py_None) { _arg0 = NULL; }
7780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7782 return NULL;
7783 }
7784 }
7785 {
7786 wxPy_BEGIN_ALLOW_THREADS;
7787 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
7788
7789 wxPy_END_ALLOW_THREADS;
7790 } if (_result) {
7791 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7792 _resultobj = Py_BuildValue("s",_ptemp);
7793 } else {
7794 Py_INCREF(Py_None);
7795 _resultobj = Py_None;
7796 }
7797 return _resultobj;
7798 }
7799
7800 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7801 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7802 PyObject * _resultobj;
7803 int _result;
7804 wxGrid * _arg0;
7805 int _arg1;
7806 PyObject * _argo0 = 0;
7807 char *_kwnames[] = { "self","y", NULL };
7808
7809 self = self;
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
7811 return NULL;
7812 if (_argo0) {
7813 if (_argo0 == Py_None) { _arg0 = NULL; }
7814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7816 return NULL;
7817 }
7818 }
7819 {
7820 wxPy_BEGIN_ALLOW_THREADS;
7821 _result = (int )wxGrid_YToRow(_arg0,_arg1);
7822
7823 wxPy_END_ALLOW_THREADS;
7824 } _resultobj = Py_BuildValue("i",_result);
7825 return _resultobj;
7826 }
7827
7828 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7829 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7830 PyObject * _resultobj;
7831 int _result;
7832 wxGrid * _arg0;
7833 int _arg1;
7834 PyObject * _argo0 = 0;
7835 char *_kwnames[] = { "self","x", NULL };
7836
7837 self = self;
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
7839 return NULL;
7840 if (_argo0) {
7841 if (_argo0 == Py_None) { _arg0 = NULL; }
7842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7844 return NULL;
7845 }
7846 }
7847 {
7848 wxPy_BEGIN_ALLOW_THREADS;
7849 _result = (int )wxGrid_XToCol(_arg0,_arg1);
7850
7851 wxPy_END_ALLOW_THREADS;
7852 } _resultobj = Py_BuildValue("i",_result);
7853 return _resultobj;
7854 }
7855
7856 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7857 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject * _resultobj;
7859 int _result;
7860 wxGrid * _arg0;
7861 int _arg1;
7862 PyObject * _argo0 = 0;
7863 char *_kwnames[] = { "self","y", NULL };
7864
7865 self = self;
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
7867 return NULL;
7868 if (_argo0) {
7869 if (_argo0 == Py_None) { _arg0 = NULL; }
7870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
7872 return NULL;
7873 }
7874 }
7875 {
7876 wxPy_BEGIN_ALLOW_THREADS;
7877 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
7878
7879 wxPy_END_ALLOW_THREADS;
7880 } _resultobj = Py_BuildValue("i",_result);
7881 return _resultobj;
7882 }
7883
7884 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7885 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7886 PyObject * _resultobj;
7887 int _result;
7888 wxGrid * _arg0;
7889 int _arg1;
7890 PyObject * _argo0 = 0;
7891 char *_kwnames[] = { "self","x", NULL };
7892
7893 self = self;
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
7895 return NULL;
7896 if (_argo0) {
7897 if (_argo0 == Py_None) { _arg0 = NULL; }
7898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
7900 return NULL;
7901 }
7902 }
7903 {
7904 wxPy_BEGIN_ALLOW_THREADS;
7905 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
7906
7907 wxPy_END_ALLOW_THREADS;
7908 } _resultobj = Py_BuildValue("i",_result);
7909 return _resultobj;
7910 }
7911
7912 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
7913 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7914 PyObject * _resultobj;
7915 wxRect * _result;
7916 wxGrid * _arg0;
7917 int _arg1;
7918 int _arg2;
7919 PyObject * _argo0 = 0;
7920 char *_kwnames[] = { "self","row","col", NULL };
7921 char _ptemp[128];
7922
7923 self = self;
7924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
7925 return NULL;
7926 if (_argo0) {
7927 if (_argo0 == Py_None) { _arg0 = NULL; }
7928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
7930 return NULL;
7931 }
7932 }
7933 {
7934 wxPy_BEGIN_ALLOW_THREADS;
7935 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
7936
7937 wxPy_END_ALLOW_THREADS;
7938 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
7939 _resultobj = Py_BuildValue("s",_ptemp);
7940 return _resultobj;
7941 }
7942
7943 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
7944 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject * _resultobj;
7946 int _result;
7947 wxGrid * _arg0;
7948 PyObject * _argo0 = 0;
7949 char *_kwnames[] = { "self", NULL };
7950
7951 self = self;
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
7953 return NULL;
7954 if (_argo0) {
7955 if (_argo0 == Py_None) { _arg0 = NULL; }
7956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
7958 return NULL;
7959 }
7960 }
7961 {
7962 wxPy_BEGIN_ALLOW_THREADS;
7963 _result = (int )wxGrid_GetGridCursorRow(_arg0);
7964
7965 wxPy_END_ALLOW_THREADS;
7966 } _resultobj = Py_BuildValue("i",_result);
7967 return _resultobj;
7968 }
7969
7970 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
7971 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7972 PyObject * _resultobj;
7973 int _result;
7974 wxGrid * _arg0;
7975 PyObject * _argo0 = 0;
7976 char *_kwnames[] = { "self", NULL };
7977
7978 self = self;
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
7980 return NULL;
7981 if (_argo0) {
7982 if (_argo0 == Py_None) { _arg0 = NULL; }
7983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
7985 return NULL;
7986 }
7987 }
7988 {
7989 wxPy_BEGIN_ALLOW_THREADS;
7990 _result = (int )wxGrid_GetGridCursorCol(_arg0);
7991
7992 wxPy_END_ALLOW_THREADS;
7993 } _resultobj = Py_BuildValue("i",_result);
7994 return _resultobj;
7995 }
7996
7997 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
7998 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject * _resultobj;
8000 bool _result;
8001 wxGrid * _arg0;
8002 int _arg1;
8003 int _arg2;
8004 bool _arg3 = (bool ) TRUE;
8005 PyObject * _argo0 = 0;
8006 int tempbool3 = (int) TRUE;
8007 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8008
8009 self = self;
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8011 return NULL;
8012 if (_argo0) {
8013 if (_argo0 == Py_None) { _arg0 = NULL; }
8014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8016 return NULL;
8017 }
8018 }
8019 _arg3 = (bool ) tempbool3;
8020 {
8021 wxPy_BEGIN_ALLOW_THREADS;
8022 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8023
8024 wxPy_END_ALLOW_THREADS;
8025 } _resultobj = Py_BuildValue("i",_result);
8026 return _resultobj;
8027 }
8028
8029 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8030 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8031 PyObject * _resultobj;
8032 wxGrid * _arg0;
8033 int _arg1;
8034 int _arg2;
8035 PyObject * _argo0 = 0;
8036 char *_kwnames[] = { "self","row","col", NULL };
8037
8038 self = self;
8039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8040 return NULL;
8041 if (_argo0) {
8042 if (_argo0 == Py_None) { _arg0 = NULL; }
8043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8045 return NULL;
8046 }
8047 }
8048 {
8049 wxPy_BEGIN_ALLOW_THREADS;
8050 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8051
8052 wxPy_END_ALLOW_THREADS;
8053 } Py_INCREF(Py_None);
8054 _resultobj = Py_None;
8055 return _resultobj;
8056 }
8057
8058 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8059 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8060 PyObject * _resultobj;
8061 wxGrid * _arg0;
8062 int _arg1;
8063 int _arg2;
8064 PyObject * _argo0 = 0;
8065 char *_kwnames[] = { "self","row","col", NULL };
8066
8067 self = self;
8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8069 return NULL;
8070 if (_argo0) {
8071 if (_argo0 == Py_None) { _arg0 = NULL; }
8072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8074 return NULL;
8075 }
8076 }
8077 {
8078 wxPy_BEGIN_ALLOW_THREADS;
8079 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8080
8081 wxPy_END_ALLOW_THREADS;
8082 } Py_INCREF(Py_None);
8083 _resultobj = Py_None;
8084 return _resultobj;
8085 }
8086
8087 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8088 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject * _resultobj;
8090 bool _result;
8091 wxGrid * _arg0;
8092 bool _arg1;
8093 PyObject * _argo0 = 0;
8094 int tempbool1;
8095 char *_kwnames[] = { "self","expandSelection", NULL };
8096
8097 self = self;
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8099 return NULL;
8100 if (_argo0) {
8101 if (_argo0 == Py_None) { _arg0 = NULL; }
8102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8104 return NULL;
8105 }
8106 }
8107 _arg1 = (bool ) tempbool1;
8108 {
8109 wxPy_BEGIN_ALLOW_THREADS;
8110 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8111
8112 wxPy_END_ALLOW_THREADS;
8113 } _resultobj = Py_BuildValue("i",_result);
8114 return _resultobj;
8115 }
8116
8117 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8118 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8119 PyObject * _resultobj;
8120 bool _result;
8121 wxGrid * _arg0;
8122 bool _arg1;
8123 PyObject * _argo0 = 0;
8124 int tempbool1;
8125 char *_kwnames[] = { "self","expandSelection", NULL };
8126
8127 self = self;
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8129 return NULL;
8130 if (_argo0) {
8131 if (_argo0 == Py_None) { _arg0 = NULL; }
8132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8134 return NULL;
8135 }
8136 }
8137 _arg1 = (bool ) tempbool1;
8138 {
8139 wxPy_BEGIN_ALLOW_THREADS;
8140 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8141
8142 wxPy_END_ALLOW_THREADS;
8143 } _resultobj = Py_BuildValue("i",_result);
8144 return _resultobj;
8145 }
8146
8147 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8148 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8149 PyObject * _resultobj;
8150 bool _result;
8151 wxGrid * _arg0;
8152 bool _arg1;
8153 PyObject * _argo0 = 0;
8154 int tempbool1;
8155 char *_kwnames[] = { "self","expandSelection", NULL };
8156
8157 self = self;
8158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8159 return NULL;
8160 if (_argo0) {
8161 if (_argo0 == Py_None) { _arg0 = NULL; }
8162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8164 return NULL;
8165 }
8166 }
8167 _arg1 = (bool ) tempbool1;
8168 {
8169 wxPy_BEGIN_ALLOW_THREADS;
8170 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8171
8172 wxPy_END_ALLOW_THREADS;
8173 } _resultobj = Py_BuildValue("i",_result);
8174 return _resultobj;
8175 }
8176
8177 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8178 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject * _resultobj;
8180 bool _result;
8181 wxGrid * _arg0;
8182 bool _arg1;
8183 PyObject * _argo0 = 0;
8184 int tempbool1;
8185 char *_kwnames[] = { "self","expandSelection", NULL };
8186
8187 self = self;
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8189 return NULL;
8190 if (_argo0) {
8191 if (_argo0 == Py_None) { _arg0 = NULL; }
8192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8194 return NULL;
8195 }
8196 }
8197 _arg1 = (bool ) tempbool1;
8198 {
8199 wxPy_BEGIN_ALLOW_THREADS;
8200 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8201
8202 wxPy_END_ALLOW_THREADS;
8203 } _resultobj = Py_BuildValue("i",_result);
8204 return _resultobj;
8205 }
8206
8207 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8208 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject * _resultobj;
8210 bool _result;
8211 wxGrid * _arg0;
8212 PyObject * _argo0 = 0;
8213 char *_kwnames[] = { "self", NULL };
8214
8215 self = self;
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8217 return NULL;
8218 if (_argo0) {
8219 if (_argo0 == Py_None) { _arg0 = NULL; }
8220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8222 return NULL;
8223 }
8224 }
8225 {
8226 wxPy_BEGIN_ALLOW_THREADS;
8227 _result = (bool )wxGrid_MovePageDown(_arg0);
8228
8229 wxPy_END_ALLOW_THREADS;
8230 } _resultobj = Py_BuildValue("i",_result);
8231 return _resultobj;
8232 }
8233
8234 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8235 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject * _resultobj;
8237 bool _result;
8238 wxGrid * _arg0;
8239 PyObject * _argo0 = 0;
8240 char *_kwnames[] = { "self", NULL };
8241
8242 self = self;
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8244 return NULL;
8245 if (_argo0) {
8246 if (_argo0 == Py_None) { _arg0 = NULL; }
8247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8249 return NULL;
8250 }
8251 }
8252 {
8253 wxPy_BEGIN_ALLOW_THREADS;
8254 _result = (bool )wxGrid_MovePageUp(_arg0);
8255
8256 wxPy_END_ALLOW_THREADS;
8257 } _resultobj = Py_BuildValue("i",_result);
8258 return _resultobj;
8259 }
8260
8261 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8262 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject * _resultobj;
8264 bool _result;
8265 wxGrid * _arg0;
8266 bool _arg1;
8267 PyObject * _argo0 = 0;
8268 int tempbool1;
8269 char *_kwnames[] = { "self","expandSelection", NULL };
8270
8271 self = self;
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8273 return NULL;
8274 if (_argo0) {
8275 if (_argo0 == Py_None) { _arg0 = NULL; }
8276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8278 return NULL;
8279 }
8280 }
8281 _arg1 = (bool ) tempbool1;
8282 {
8283 wxPy_BEGIN_ALLOW_THREADS;
8284 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8285
8286 wxPy_END_ALLOW_THREADS;
8287 } _resultobj = Py_BuildValue("i",_result);
8288 return _resultobj;
8289 }
8290
8291 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8292 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8293 PyObject * _resultobj;
8294 bool _result;
8295 wxGrid * _arg0;
8296 bool _arg1;
8297 PyObject * _argo0 = 0;
8298 int tempbool1;
8299 char *_kwnames[] = { "self","expandSelection", NULL };
8300
8301 self = self;
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8303 return NULL;
8304 if (_argo0) {
8305 if (_argo0 == Py_None) { _arg0 = NULL; }
8306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8308 return NULL;
8309 }
8310 }
8311 _arg1 = (bool ) tempbool1;
8312 {
8313 wxPy_BEGIN_ALLOW_THREADS;
8314 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8315
8316 wxPy_END_ALLOW_THREADS;
8317 } _resultobj = Py_BuildValue("i",_result);
8318 return _resultobj;
8319 }
8320
8321 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8322 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8323 PyObject * _resultobj;
8324 bool _result;
8325 wxGrid * _arg0;
8326 bool _arg1;
8327 PyObject * _argo0 = 0;
8328 int tempbool1;
8329 char *_kwnames[] = { "self","expandSelection", NULL };
8330
8331 self = self;
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8333 return NULL;
8334 if (_argo0) {
8335 if (_argo0 == Py_None) { _arg0 = NULL; }
8336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8338 return NULL;
8339 }
8340 }
8341 _arg1 = (bool ) tempbool1;
8342 {
8343 wxPy_BEGIN_ALLOW_THREADS;
8344 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8345
8346 wxPy_END_ALLOW_THREADS;
8347 } _resultobj = Py_BuildValue("i",_result);
8348 return _resultobj;
8349 }
8350
8351 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8352 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject * _resultobj;
8354 bool _result;
8355 wxGrid * _arg0;
8356 bool _arg1;
8357 PyObject * _argo0 = 0;
8358 int tempbool1;
8359 char *_kwnames[] = { "self","expandSelection", NULL };
8360
8361 self = self;
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8363 return NULL;
8364 if (_argo0) {
8365 if (_argo0 == Py_None) { _arg0 = NULL; }
8366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8368 return NULL;
8369 }
8370 }
8371 _arg1 = (bool ) tempbool1;
8372 {
8373 wxPy_BEGIN_ALLOW_THREADS;
8374 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8375
8376 wxPy_END_ALLOW_THREADS;
8377 } _resultobj = Py_BuildValue("i",_result);
8378 return _resultobj;
8379 }
8380
8381 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8382 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8383 PyObject * _resultobj;
8384 int _result;
8385 wxGrid * _arg0;
8386 PyObject * _argo0 = 0;
8387 char *_kwnames[] = { "self", NULL };
8388
8389 self = self;
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8391 return NULL;
8392 if (_argo0) {
8393 if (_argo0 == Py_None) { _arg0 = NULL; }
8394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8396 return NULL;
8397 }
8398 }
8399 {
8400 wxPy_BEGIN_ALLOW_THREADS;
8401 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8402
8403 wxPy_END_ALLOW_THREADS;
8404 } _resultobj = Py_BuildValue("i",_result);
8405 return _resultobj;
8406 }
8407
8408 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8409 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8410 PyObject * _resultobj;
8411 int _result;
8412 wxGrid * _arg0;
8413 PyObject * _argo0 = 0;
8414 char *_kwnames[] = { "self", NULL };
8415
8416 self = self;
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8418 return NULL;
8419 if (_argo0) {
8420 if (_argo0 == Py_None) { _arg0 = NULL; }
8421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8423 return NULL;
8424 }
8425 }
8426 {
8427 wxPy_BEGIN_ALLOW_THREADS;
8428 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8429
8430 wxPy_END_ALLOW_THREADS;
8431 } _resultobj = Py_BuildValue("i",_result);
8432 return _resultobj;
8433 }
8434
8435 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8436 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8437 PyObject * _resultobj;
8438 int _result;
8439 wxGrid * _arg0;
8440 PyObject * _argo0 = 0;
8441 char *_kwnames[] = { "self", NULL };
8442
8443 self = self;
8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8445 return NULL;
8446 if (_argo0) {
8447 if (_argo0 == Py_None) { _arg0 = NULL; }
8448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8450 return NULL;
8451 }
8452 }
8453 {
8454 wxPy_BEGIN_ALLOW_THREADS;
8455 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8456
8457 wxPy_END_ALLOW_THREADS;
8458 } _resultobj = Py_BuildValue("i",_result);
8459 return _resultobj;
8460 }
8461
8462 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8463 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8464 PyObject * _resultobj;
8465 int _result;
8466 wxGrid * _arg0;
8467 PyObject * _argo0 = 0;
8468 char *_kwnames[] = { "self", NULL };
8469
8470 self = self;
8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8472 return NULL;
8473 if (_argo0) {
8474 if (_argo0 == Py_None) { _arg0 = NULL; }
8475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8477 return NULL;
8478 }
8479 }
8480 {
8481 wxPy_BEGIN_ALLOW_THREADS;
8482 _result = (int )wxGrid_GetColLabelSize(_arg0);
8483
8484 wxPy_END_ALLOW_THREADS;
8485 } _resultobj = Py_BuildValue("i",_result);
8486 return _resultobj;
8487 }
8488
8489 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8490 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8491 PyObject * _resultobj;
8492 wxColour * _result;
8493 wxGrid * _arg0;
8494 PyObject * _argo0 = 0;
8495 char *_kwnames[] = { "self", NULL };
8496 char _ptemp[128];
8497
8498 self = self;
8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8500 return NULL;
8501 if (_argo0) {
8502 if (_argo0 == Py_None) { _arg0 = NULL; }
8503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8505 return NULL;
8506 }
8507 }
8508 {
8509 wxPy_BEGIN_ALLOW_THREADS;
8510 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8511
8512 wxPy_END_ALLOW_THREADS;
8513 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8514 _resultobj = Py_BuildValue("s",_ptemp);
8515 return _resultobj;
8516 }
8517
8518 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8519 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8520 PyObject * _resultobj;
8521 wxColour * _result;
8522 wxGrid * _arg0;
8523 PyObject * _argo0 = 0;
8524 char *_kwnames[] = { "self", NULL };
8525 char _ptemp[128];
8526
8527 self = self;
8528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8529 return NULL;
8530 if (_argo0) {
8531 if (_argo0 == Py_None) { _arg0 = NULL; }
8532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8534 return NULL;
8535 }
8536 }
8537 {
8538 wxPy_BEGIN_ALLOW_THREADS;
8539 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8540
8541 wxPy_END_ALLOW_THREADS;
8542 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8543 _resultobj = Py_BuildValue("s",_ptemp);
8544 return _resultobj;
8545 }
8546
8547 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8548 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8549 PyObject * _resultobj;
8550 wxFont * _result;
8551 wxGrid * _arg0;
8552 PyObject * _argo0 = 0;
8553 char *_kwnames[] = { "self", NULL };
8554 char _ptemp[128];
8555
8556 self = self;
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8558 return NULL;
8559 if (_argo0) {
8560 if (_argo0 == Py_None) { _arg0 = NULL; }
8561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8563 return NULL;
8564 }
8565 }
8566 {
8567 wxPy_BEGIN_ALLOW_THREADS;
8568 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8569
8570 wxPy_END_ALLOW_THREADS;
8571 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8572 _resultobj = Py_BuildValue("s",_ptemp);
8573 return _resultobj;
8574 }
8575
8576 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8577 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject * _resultobj;
8579 wxGrid * _arg0;
8580 int * _arg1;
8581 int temp;
8582 int * _arg2;
8583 int temp0;
8584 PyObject * _argo0 = 0;
8585 char *_kwnames[] = { "self", NULL };
8586
8587 self = self;
8588 {
8589 _arg1 = &temp;
8590 }
8591 {
8592 _arg2 = &temp0;
8593 }
8594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
8595 return NULL;
8596 if (_argo0) {
8597 if (_argo0 == Py_None) { _arg0 = NULL; }
8598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8600 return NULL;
8601 }
8602 }
8603 {
8604 wxPy_BEGIN_ALLOW_THREADS;
8605 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
8606
8607 wxPy_END_ALLOW_THREADS;
8608 } Py_INCREF(Py_None);
8609 _resultobj = Py_None;
8610 {
8611 PyObject *o;
8612 o = PyInt_FromLong((long) (*_arg1));
8613 _resultobj = t_output_helper(_resultobj, o);
8614 }
8615 {
8616 PyObject *o;
8617 o = PyInt_FromLong((long) (*_arg2));
8618 _resultobj = t_output_helper(_resultobj, o);
8619 }
8620 return _resultobj;
8621 }
8622
8623 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8624 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8625 PyObject * _resultobj;
8626 wxGrid * _arg0;
8627 int * _arg1;
8628 int temp;
8629 int * _arg2;
8630 int temp0;
8631 PyObject * _argo0 = 0;
8632 char *_kwnames[] = { "self", NULL };
8633
8634 self = self;
8635 {
8636 _arg1 = &temp;
8637 }
8638 {
8639 _arg2 = &temp0;
8640 }
8641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
8642 return NULL;
8643 if (_argo0) {
8644 if (_argo0 == Py_None) { _arg0 = NULL; }
8645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8647 return NULL;
8648 }
8649 }
8650 {
8651 wxPy_BEGIN_ALLOW_THREADS;
8652 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
8653
8654 wxPy_END_ALLOW_THREADS;
8655 } Py_INCREF(Py_None);
8656 _resultobj = Py_None;
8657 {
8658 PyObject *o;
8659 o = PyInt_FromLong((long) (*_arg1));
8660 _resultobj = t_output_helper(_resultobj, o);
8661 }
8662 {
8663 PyObject *o;
8664 o = PyInt_FromLong((long) (*_arg2));
8665 _resultobj = t_output_helper(_resultobj, o);
8666 }
8667 return _resultobj;
8668 }
8669
8670 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8671 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8672 PyObject * _resultobj;
8673 wxString * _result;
8674 wxGrid * _arg0;
8675 int _arg1;
8676 PyObject * _argo0 = 0;
8677 char *_kwnames[] = { "self","row", NULL };
8678
8679 self = self;
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
8681 return NULL;
8682 if (_argo0) {
8683 if (_argo0 == Py_None) { _arg0 = NULL; }
8684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8686 return NULL;
8687 }
8688 }
8689 {
8690 wxPy_BEGIN_ALLOW_THREADS;
8691 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
8692
8693 wxPy_END_ALLOW_THREADS;
8694 }{
8695 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8696 }
8697 {
8698 delete _result;
8699 }
8700 return _resultobj;
8701 }
8702
8703 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8704 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8705 PyObject * _resultobj;
8706 wxString * _result;
8707 wxGrid * _arg0;
8708 int _arg1;
8709 PyObject * _argo0 = 0;
8710 char *_kwnames[] = { "self","col", NULL };
8711
8712 self = self;
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
8714 return NULL;
8715 if (_argo0) {
8716 if (_argo0 == Py_None) { _arg0 = NULL; }
8717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8719 return NULL;
8720 }
8721 }
8722 {
8723 wxPy_BEGIN_ALLOW_THREADS;
8724 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
8725
8726 wxPy_END_ALLOW_THREADS;
8727 }{
8728 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8729 }
8730 {
8731 delete _result;
8732 }
8733 return _resultobj;
8734 }
8735
8736 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8737 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8738 PyObject * _resultobj;
8739 wxColour * _result;
8740 wxGrid * _arg0;
8741 PyObject * _argo0 = 0;
8742 char *_kwnames[] = { "self", NULL };
8743 char _ptemp[128];
8744
8745 self = self;
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
8747 return NULL;
8748 if (_argo0) {
8749 if (_argo0 == Py_None) { _arg0 = NULL; }
8750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8752 return NULL;
8753 }
8754 }
8755 {
8756 wxPy_BEGIN_ALLOW_THREADS;
8757 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
8758
8759 wxPy_END_ALLOW_THREADS;
8760 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8761 _resultobj = Py_BuildValue("s",_ptemp);
8762 return _resultobj;
8763 }
8764
8765 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8766 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8767 PyObject * _resultobj;
8768 wxColour * _result;
8769 wxGrid * _arg0;
8770 PyObject * _argo0 = 0;
8771 char *_kwnames[] = { "self", NULL };
8772 char _ptemp[128];
8773
8774 self = self;
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
8776 return NULL;
8777 if (_argo0) {
8778 if (_argo0 == Py_None) { _arg0 = NULL; }
8779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8781 return NULL;
8782 }
8783 }
8784 {
8785 wxPy_BEGIN_ALLOW_THREADS;
8786 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
8787
8788 wxPy_END_ALLOW_THREADS;
8789 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8790 _resultobj = Py_BuildValue("s",_ptemp);
8791 return _resultobj;
8792 }
8793
8794 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8795 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject * _resultobj;
8797 wxGrid * _arg0;
8798 int _arg1;
8799 PyObject * _argo0 = 0;
8800 char *_kwnames[] = { "self","width", NULL };
8801
8802 self = self;
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
8804 return NULL;
8805 if (_argo0) {
8806 if (_argo0 == Py_None) { _arg0 = NULL; }
8807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8809 return NULL;
8810 }
8811 }
8812 {
8813 wxPy_BEGIN_ALLOW_THREADS;
8814 wxGrid_SetRowLabelSize(_arg0,_arg1);
8815
8816 wxPy_END_ALLOW_THREADS;
8817 } Py_INCREF(Py_None);
8818 _resultobj = Py_None;
8819 return _resultobj;
8820 }
8821
8822 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8823 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8824 PyObject * _resultobj;
8825 wxGrid * _arg0;
8826 int _arg1;
8827 PyObject * _argo0 = 0;
8828 char *_kwnames[] = { "self","height", NULL };
8829
8830 self = self;
8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
8832 return NULL;
8833 if (_argo0) {
8834 if (_argo0 == Py_None) { _arg0 = NULL; }
8835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8837 return NULL;
8838 }
8839 }
8840 {
8841 wxPy_BEGIN_ALLOW_THREADS;
8842 wxGrid_SetColLabelSize(_arg0,_arg1);
8843
8844 wxPy_END_ALLOW_THREADS;
8845 } Py_INCREF(Py_None);
8846 _resultobj = Py_None;
8847 return _resultobj;
8848 }
8849
8850 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
8851 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8852 PyObject * _resultobj;
8853 wxGrid * _arg0;
8854 wxColour * _arg1;
8855 PyObject * _argo0 = 0;
8856 wxColour temp;
8857 PyObject * _obj1 = 0;
8858 char *_kwnames[] = { "self","arg2", NULL };
8859
8860 self = self;
8861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
8862 return NULL;
8863 if (_argo0) {
8864 if (_argo0 == Py_None) { _arg0 = NULL; }
8865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
8867 return NULL;
8868 }
8869 }
8870 {
8871 _arg1 = &temp;
8872 if (! wxColour_helper(_obj1, &_arg1))
8873 return NULL;
8874 }
8875 {
8876 wxPy_BEGIN_ALLOW_THREADS;
8877 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
8878
8879 wxPy_END_ALLOW_THREADS;
8880 } Py_INCREF(Py_None);
8881 _resultobj = Py_None;
8882 return _resultobj;
8883 }
8884
8885 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
8886 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8887 PyObject * _resultobj;
8888 wxGrid * _arg0;
8889 wxColour * _arg1;
8890 PyObject * _argo0 = 0;
8891 wxColour temp;
8892 PyObject * _obj1 = 0;
8893 char *_kwnames[] = { "self","arg2", NULL };
8894
8895 self = self;
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
8897 return NULL;
8898 if (_argo0) {
8899 if (_argo0 == Py_None) { _arg0 = NULL; }
8900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
8902 return NULL;
8903 }
8904 }
8905 {
8906 _arg1 = &temp;
8907 if (! wxColour_helper(_obj1, &_arg1))
8908 return NULL;
8909 }
8910 {
8911 wxPy_BEGIN_ALLOW_THREADS;
8912 wxGrid_SetLabelTextColour(_arg0,*_arg1);
8913
8914 wxPy_END_ALLOW_THREADS;
8915 } Py_INCREF(Py_None);
8916 _resultobj = Py_None;
8917 return _resultobj;
8918 }
8919
8920 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
8921 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8922 PyObject * _resultobj;
8923 wxGrid * _arg0;
8924 wxFont * _arg1;
8925 PyObject * _argo0 = 0;
8926 PyObject * _argo1 = 0;
8927 char *_kwnames[] = { "self","arg2", NULL };
8928
8929 self = self;
8930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
8931 return NULL;
8932 if (_argo0) {
8933 if (_argo0 == Py_None) { _arg0 = NULL; }
8934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
8936 return NULL;
8937 }
8938 }
8939 if (_argo1) {
8940 if (_argo1 == Py_None) { _arg1 = NULL; }
8941 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8942 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
8943 return NULL;
8944 }
8945 }
8946 {
8947 wxPy_BEGIN_ALLOW_THREADS;
8948 wxGrid_SetLabelFont(_arg0,*_arg1);
8949
8950 wxPy_END_ALLOW_THREADS;
8951 } Py_INCREF(Py_None);
8952 _resultobj = Py_None;
8953 return _resultobj;
8954 }
8955
8956 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
8957 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8958 PyObject * _resultobj;
8959 wxGrid * _arg0;
8960 int _arg1;
8961 int _arg2;
8962 PyObject * _argo0 = 0;
8963 char *_kwnames[] = { "self","horiz","vert", NULL };
8964
8965 self = self;
8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8967 return NULL;
8968 if (_argo0) {
8969 if (_argo0 == Py_None) { _arg0 = NULL; }
8970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
8972 return NULL;
8973 }
8974 }
8975 {
8976 wxPy_BEGIN_ALLOW_THREADS;
8977 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
8978
8979 wxPy_END_ALLOW_THREADS;
8980 } Py_INCREF(Py_None);
8981 _resultobj = Py_None;
8982 return _resultobj;
8983 }
8984
8985 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
8986 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject * _resultobj;
8988 wxGrid * _arg0;
8989 int _arg1;
8990 int _arg2;
8991 PyObject * _argo0 = 0;
8992 char *_kwnames[] = { "self","horiz","vert", NULL };
8993
8994 self = self;
8995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
8996 return NULL;
8997 if (_argo0) {
8998 if (_argo0 == Py_None) { _arg0 = NULL; }
8999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9001 return NULL;
9002 }
9003 }
9004 {
9005 wxPy_BEGIN_ALLOW_THREADS;
9006 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9007
9008 wxPy_END_ALLOW_THREADS;
9009 } Py_INCREF(Py_None);
9010 _resultobj = Py_None;
9011 return _resultobj;
9012 }
9013
9014 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9015 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9016 PyObject * _resultobj;
9017 wxGrid * _arg0;
9018 int _arg1;
9019 wxString * _arg2;
9020 PyObject * _argo0 = 0;
9021 PyObject * _obj2 = 0;
9022 char *_kwnames[] = { "self","row","arg3", NULL };
9023
9024 self = self;
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9026 return NULL;
9027 if (_argo0) {
9028 if (_argo0 == Py_None) { _arg0 = NULL; }
9029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9031 return NULL;
9032 }
9033 }
9034 {
9035 #if PYTHON_API_VERSION >= 1009
9036 char* tmpPtr; int tmpSize;
9037 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9038 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9039 return NULL;
9040 }
9041 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9042 return NULL;
9043 _arg2 = new wxString(tmpPtr, tmpSize);
9044 #else
9045 if (!PyString_Check(_obj2)) {
9046 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9047 return NULL;
9048 }
9049 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9050 #endif
9051 }
9052 {
9053 wxPy_BEGIN_ALLOW_THREADS;
9054 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9055
9056 wxPy_END_ALLOW_THREADS;
9057 } Py_INCREF(Py_None);
9058 _resultobj = Py_None;
9059 {
9060 if (_obj2)
9061 delete _arg2;
9062 }
9063 return _resultobj;
9064 }
9065
9066 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9067 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9068 PyObject * _resultobj;
9069 wxGrid * _arg0;
9070 int _arg1;
9071 wxString * _arg2;
9072 PyObject * _argo0 = 0;
9073 PyObject * _obj2 = 0;
9074 char *_kwnames[] = { "self","col","arg3", NULL };
9075
9076 self = self;
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9078 return NULL;
9079 if (_argo0) {
9080 if (_argo0 == Py_None) { _arg0 = NULL; }
9081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9083 return NULL;
9084 }
9085 }
9086 {
9087 #if PYTHON_API_VERSION >= 1009
9088 char* tmpPtr; int tmpSize;
9089 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9090 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9091 return NULL;
9092 }
9093 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9094 return NULL;
9095 _arg2 = new wxString(tmpPtr, tmpSize);
9096 #else
9097 if (!PyString_Check(_obj2)) {
9098 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9099 return NULL;
9100 }
9101 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9102 #endif
9103 }
9104 {
9105 wxPy_BEGIN_ALLOW_THREADS;
9106 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9107
9108 wxPy_END_ALLOW_THREADS;
9109 } Py_INCREF(Py_None);
9110 _resultobj = Py_None;
9111 {
9112 if (_obj2)
9113 delete _arg2;
9114 }
9115 return _resultobj;
9116 }
9117
9118 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9119 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9120 PyObject * _resultobj;
9121 wxGrid * _arg0;
9122 wxColour * _arg1;
9123 PyObject * _argo0 = 0;
9124 wxColour temp;
9125 PyObject * _obj1 = 0;
9126 char *_kwnames[] = { "self","arg2", NULL };
9127
9128 self = self;
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9130 return NULL;
9131 if (_argo0) {
9132 if (_argo0 == Py_None) { _arg0 = NULL; }
9133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9135 return NULL;
9136 }
9137 }
9138 {
9139 _arg1 = &temp;
9140 if (! wxColour_helper(_obj1, &_arg1))
9141 return NULL;
9142 }
9143 {
9144 wxPy_BEGIN_ALLOW_THREADS;
9145 wxGrid_SetGridLineColour(_arg0,*_arg1);
9146
9147 wxPy_END_ALLOW_THREADS;
9148 } Py_INCREF(Py_None);
9149 _resultobj = Py_None;
9150 return _resultobj;
9151 }
9152
9153 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9154 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9155 PyObject * _resultobj;
9156 wxGrid * _arg0;
9157 wxColour * _arg1;
9158 PyObject * _argo0 = 0;
9159 wxColour temp;
9160 PyObject * _obj1 = 0;
9161 char *_kwnames[] = { "self","arg2", NULL };
9162
9163 self = self;
9164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9165 return NULL;
9166 if (_argo0) {
9167 if (_argo0 == Py_None) { _arg0 = NULL; }
9168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9170 return NULL;
9171 }
9172 }
9173 {
9174 _arg1 = &temp;
9175 if (! wxColour_helper(_obj1, &_arg1))
9176 return NULL;
9177 }
9178 {
9179 wxPy_BEGIN_ALLOW_THREADS;
9180 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9181
9182 wxPy_END_ALLOW_THREADS;
9183 } Py_INCREF(Py_None);
9184 _resultobj = Py_None;
9185 return _resultobj;
9186 }
9187
9188 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9189 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9190 PyObject * _resultobj;
9191 wxGrid * _arg0;
9192 bool _arg1 = (bool ) TRUE;
9193 PyObject * _argo0 = 0;
9194 int tempbool1 = (int) TRUE;
9195 char *_kwnames[] = { "self","enable", NULL };
9196
9197 self = self;
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9199 return NULL;
9200 if (_argo0) {
9201 if (_argo0 == Py_None) { _arg0 = NULL; }
9202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9204 return NULL;
9205 }
9206 }
9207 _arg1 = (bool ) tempbool1;
9208 {
9209 wxPy_BEGIN_ALLOW_THREADS;
9210 wxGrid_EnableDragRowSize(_arg0,_arg1);
9211
9212 wxPy_END_ALLOW_THREADS;
9213 } Py_INCREF(Py_None);
9214 _resultobj = Py_None;
9215 return _resultobj;
9216 }
9217
9218 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9219 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9220 PyObject * _resultobj;
9221 wxGrid * _arg0;
9222 PyObject * _argo0 = 0;
9223 char *_kwnames[] = { "self", NULL };
9224
9225 self = self;
9226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9227 return NULL;
9228 if (_argo0) {
9229 if (_argo0 == Py_None) { _arg0 = NULL; }
9230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9232 return NULL;
9233 }
9234 }
9235 {
9236 wxPy_BEGIN_ALLOW_THREADS;
9237 wxGrid_DisableDragRowSize(_arg0);
9238
9239 wxPy_END_ALLOW_THREADS;
9240 } Py_INCREF(Py_None);
9241 _resultobj = Py_None;
9242 return _resultobj;
9243 }
9244
9245 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9246 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject * _resultobj;
9248 bool _result;
9249 wxGrid * _arg0;
9250 PyObject * _argo0 = 0;
9251 char *_kwnames[] = { "self", NULL };
9252
9253 self = self;
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9255 return NULL;
9256 if (_argo0) {
9257 if (_argo0 == Py_None) { _arg0 = NULL; }
9258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9260 return NULL;
9261 }
9262 }
9263 {
9264 wxPy_BEGIN_ALLOW_THREADS;
9265 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9266
9267 wxPy_END_ALLOW_THREADS;
9268 } _resultobj = Py_BuildValue("i",_result);
9269 return _resultobj;
9270 }
9271
9272 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9273 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9274 PyObject * _resultobj;
9275 wxGrid * _arg0;
9276 bool _arg1 = (bool ) TRUE;
9277 PyObject * _argo0 = 0;
9278 int tempbool1 = (int) TRUE;
9279 char *_kwnames[] = { "self","enable", NULL };
9280
9281 self = self;
9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9283 return NULL;
9284 if (_argo0) {
9285 if (_argo0 == Py_None) { _arg0 = NULL; }
9286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9288 return NULL;
9289 }
9290 }
9291 _arg1 = (bool ) tempbool1;
9292 {
9293 wxPy_BEGIN_ALLOW_THREADS;
9294 wxGrid_EnableDragColSize(_arg0,_arg1);
9295
9296 wxPy_END_ALLOW_THREADS;
9297 } Py_INCREF(Py_None);
9298 _resultobj = Py_None;
9299 return _resultobj;
9300 }
9301
9302 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9303 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9304 PyObject * _resultobj;
9305 wxGrid * _arg0;
9306 PyObject * _argo0 = 0;
9307 char *_kwnames[] = { "self", NULL };
9308
9309 self = self;
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9311 return NULL;
9312 if (_argo0) {
9313 if (_argo0 == Py_None) { _arg0 = NULL; }
9314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9316 return NULL;
9317 }
9318 }
9319 {
9320 wxPy_BEGIN_ALLOW_THREADS;
9321 wxGrid_DisableDragColSize(_arg0);
9322
9323 wxPy_END_ALLOW_THREADS;
9324 } Py_INCREF(Py_None);
9325 _resultobj = Py_None;
9326 return _resultobj;
9327 }
9328
9329 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9330 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9331 PyObject * _resultobj;
9332 bool _result;
9333 wxGrid * _arg0;
9334 PyObject * _argo0 = 0;
9335 char *_kwnames[] = { "self", NULL };
9336
9337 self = self;
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9339 return NULL;
9340 if (_argo0) {
9341 if (_argo0 == Py_None) { _arg0 = NULL; }
9342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9344 return NULL;
9345 }
9346 }
9347 {
9348 wxPy_BEGIN_ALLOW_THREADS;
9349 _result = (bool )wxGrid_CanDragColSize(_arg0);
9350
9351 wxPy_END_ALLOW_THREADS;
9352 } _resultobj = Py_BuildValue("i",_result);
9353 return _resultobj;
9354 }
9355
9356 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9357 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9358 PyObject * _resultobj;
9359 wxGrid * _arg0;
9360 bool _arg1 = (bool ) TRUE;
9361 PyObject * _argo0 = 0;
9362 int tempbool1 = (int) TRUE;
9363 char *_kwnames[] = { "self","enable", NULL };
9364
9365 self = self;
9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9367 return NULL;
9368 if (_argo0) {
9369 if (_argo0 == Py_None) { _arg0 = NULL; }
9370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9372 return NULL;
9373 }
9374 }
9375 _arg1 = (bool ) tempbool1;
9376 {
9377 wxPy_BEGIN_ALLOW_THREADS;
9378 wxGrid_EnableDragGridSize(_arg0,_arg1);
9379
9380 wxPy_END_ALLOW_THREADS;
9381 } Py_INCREF(Py_None);
9382 _resultobj = Py_None;
9383 return _resultobj;
9384 }
9385
9386 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9387 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject * _resultobj;
9389 wxGrid * _arg0;
9390 PyObject * _argo0 = 0;
9391 char *_kwnames[] = { "self", NULL };
9392
9393 self = self;
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9395 return NULL;
9396 if (_argo0) {
9397 if (_argo0 == Py_None) { _arg0 = NULL; }
9398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9400 return NULL;
9401 }
9402 }
9403 {
9404 wxPy_BEGIN_ALLOW_THREADS;
9405 wxGrid_DisableDragGridSize(_arg0);
9406
9407 wxPy_END_ALLOW_THREADS;
9408 } Py_INCREF(Py_None);
9409 _resultobj = Py_None;
9410 return _resultobj;
9411 }
9412
9413 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9414 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9415 PyObject * _resultobj;
9416 bool _result;
9417 wxGrid * _arg0;
9418 PyObject * _argo0 = 0;
9419 char *_kwnames[] = { "self", NULL };
9420
9421 self = self;
9422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9423 return NULL;
9424 if (_argo0) {
9425 if (_argo0 == Py_None) { _arg0 = NULL; }
9426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9428 return NULL;
9429 }
9430 }
9431 {
9432 wxPy_BEGIN_ALLOW_THREADS;
9433 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9434
9435 wxPy_END_ALLOW_THREADS;
9436 } _resultobj = Py_BuildValue("i",_result);
9437 return _resultobj;
9438 }
9439
9440 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9441 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9442 PyObject * _resultobj;
9443 wxGrid * _arg0;
9444 int _arg1;
9445 wxGridCellAttr * _arg2;
9446 PyObject * _argo0 = 0;
9447 PyObject * _argo2 = 0;
9448 char *_kwnames[] = { "self","row","attr", NULL };
9449
9450 self = self;
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9452 return NULL;
9453 if (_argo0) {
9454 if (_argo0 == Py_None) { _arg0 = NULL; }
9455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9457 return NULL;
9458 }
9459 }
9460 if (_argo2) {
9461 if (_argo2 == Py_None) { _arg2 = NULL; }
9462 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9463 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9464 return NULL;
9465 }
9466 }
9467 {
9468 wxPy_BEGIN_ALLOW_THREADS;
9469 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
9470
9471 wxPy_END_ALLOW_THREADS;
9472 } Py_INCREF(Py_None);
9473 _resultobj = Py_None;
9474 return _resultobj;
9475 }
9476
9477 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9478 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9479 PyObject * _resultobj;
9480 wxGrid * _arg0;
9481 int _arg1;
9482 wxGridCellAttr * _arg2;
9483 PyObject * _argo0 = 0;
9484 PyObject * _argo2 = 0;
9485 char *_kwnames[] = { "self","col","attr", NULL };
9486
9487 self = self;
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9489 return NULL;
9490 if (_argo0) {
9491 if (_argo0 == Py_None) { _arg0 = NULL; }
9492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9494 return NULL;
9495 }
9496 }
9497 if (_argo2) {
9498 if (_argo2 == Py_None) { _arg2 = NULL; }
9499 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9500 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9501 return NULL;
9502 }
9503 }
9504 {
9505 wxPy_BEGIN_ALLOW_THREADS;
9506 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
9507
9508 wxPy_END_ALLOW_THREADS;
9509 } Py_INCREF(Py_None);
9510 _resultobj = Py_None;
9511 return _resultobj;
9512 }
9513
9514 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9515 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9516 PyObject * _resultobj;
9517 wxGrid * _arg0;
9518 int _arg1;
9519 PyObject * _argo0 = 0;
9520 char *_kwnames[] = { "self","col", NULL };
9521
9522 self = self;
9523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
9524 return NULL;
9525 if (_argo0) {
9526 if (_argo0 == Py_None) { _arg0 = NULL; }
9527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9529 return NULL;
9530 }
9531 }
9532 {
9533 wxPy_BEGIN_ALLOW_THREADS;
9534 wxGrid_SetColFormatBool(_arg0,_arg1);
9535
9536 wxPy_END_ALLOW_THREADS;
9537 } Py_INCREF(Py_None);
9538 _resultobj = Py_None;
9539 return _resultobj;
9540 }
9541
9542 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9543 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
9544 PyObject * _resultobj;
9545 wxGrid * _arg0;
9546 int _arg1;
9547 PyObject * _argo0 = 0;
9548 char *_kwnames[] = { "self","col", NULL };
9549
9550 self = self;
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
9552 return NULL;
9553 if (_argo0) {
9554 if (_argo0 == Py_None) { _arg0 = NULL; }
9555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
9557 return NULL;
9558 }
9559 }
9560 {
9561 wxPy_BEGIN_ALLOW_THREADS;
9562 wxGrid_SetColFormatNumber(_arg0,_arg1);
9563
9564 wxPy_END_ALLOW_THREADS;
9565 } Py_INCREF(Py_None);
9566 _resultobj = Py_None;
9567 return _resultobj;
9568 }
9569
9570 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9571 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
9572 PyObject * _resultobj;
9573 wxGrid * _arg0;
9574 int _arg1;
9575 int _arg2 = (int ) -1;
9576 int _arg3 = (int ) -1;
9577 PyObject * _argo0 = 0;
9578 char *_kwnames[] = { "self","col","width","precision", NULL };
9579
9580 self = self;
9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
9582 return NULL;
9583 if (_argo0) {
9584 if (_argo0 == Py_None) { _arg0 = NULL; }
9585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
9587 return NULL;
9588 }
9589 }
9590 {
9591 wxPy_BEGIN_ALLOW_THREADS;
9592 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
9593
9594 wxPy_END_ALLOW_THREADS;
9595 } Py_INCREF(Py_None);
9596 _resultobj = Py_None;
9597 return _resultobj;
9598 }
9599
9600 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9601 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
9602 PyObject * _resultobj;
9603 wxGrid * _arg0;
9604 int _arg1;
9605 wxString * _arg2;
9606 PyObject * _argo0 = 0;
9607 PyObject * _obj2 = 0;
9608 char *_kwnames[] = { "self","col","typeName", NULL };
9609
9610 self = self;
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
9612 return NULL;
9613 if (_argo0) {
9614 if (_argo0 == Py_None) { _arg0 = NULL; }
9615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9617 return NULL;
9618 }
9619 }
9620 {
9621 #if PYTHON_API_VERSION >= 1009
9622 char* tmpPtr; int tmpSize;
9623 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9624 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9625 return NULL;
9626 }
9627 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9628 return NULL;
9629 _arg2 = new wxString(tmpPtr, tmpSize);
9630 #else
9631 if (!PyString_Check(_obj2)) {
9632 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9633 return NULL;
9634 }
9635 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9636 #endif
9637 }
9638 {
9639 wxPy_BEGIN_ALLOW_THREADS;
9640 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
9641
9642 wxPy_END_ALLOW_THREADS;
9643 } Py_INCREF(Py_None);
9644 _resultobj = Py_None;
9645 {
9646 if (_obj2)
9647 delete _arg2;
9648 }
9649 return _resultobj;
9650 }
9651
9652 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9653 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9654 PyObject * _resultobj;
9655 wxGrid * _arg0;
9656 bool _arg1 = (bool ) TRUE;
9657 PyObject * _argo0 = 0;
9658 int tempbool1 = (int) TRUE;
9659 char *_kwnames[] = { "self","enable", NULL };
9660
9661 self = self;
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
9663 return NULL;
9664 if (_argo0) {
9665 if (_argo0 == Py_None) { _arg0 = NULL; }
9666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9668 return NULL;
9669 }
9670 }
9671 _arg1 = (bool ) tempbool1;
9672 {
9673 wxPy_BEGIN_ALLOW_THREADS;
9674 wxGrid_EnableGridLines(_arg0,_arg1);
9675
9676 wxPy_END_ALLOW_THREADS;
9677 } Py_INCREF(Py_None);
9678 _resultobj = Py_None;
9679 return _resultobj;
9680 }
9681
9682 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9683 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9684 PyObject * _resultobj;
9685 bool _result;
9686 wxGrid * _arg0;
9687 PyObject * _argo0 = 0;
9688 char *_kwnames[] = { "self", NULL };
9689
9690 self = self;
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
9692 return NULL;
9693 if (_argo0) {
9694 if (_argo0 == Py_None) { _arg0 = NULL; }
9695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9697 return NULL;
9698 }
9699 }
9700 {
9701 wxPy_BEGIN_ALLOW_THREADS;
9702 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
9703
9704 wxPy_END_ALLOW_THREADS;
9705 } _resultobj = Py_BuildValue("i",_result);
9706 return _resultobj;
9707 }
9708
9709 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9710 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9711 PyObject * _resultobj;
9712 int _result;
9713 wxGrid * _arg0;
9714 PyObject * _argo0 = 0;
9715 char *_kwnames[] = { "self", NULL };
9716
9717 self = self;
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
9719 return NULL;
9720 if (_argo0) {
9721 if (_argo0 == Py_None) { _arg0 = NULL; }
9722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9724 return NULL;
9725 }
9726 }
9727 {
9728 wxPy_BEGIN_ALLOW_THREADS;
9729 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
9730
9731 wxPy_END_ALLOW_THREADS;
9732 } _resultobj = Py_BuildValue("i",_result);
9733 return _resultobj;
9734 }
9735
9736 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9737 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9738 PyObject * _resultobj;
9739 int _result;
9740 wxGrid * _arg0;
9741 int _arg1;
9742 PyObject * _argo0 = 0;
9743 char *_kwnames[] = { "self","row", NULL };
9744
9745 self = self;
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
9747 return NULL;
9748 if (_argo0) {
9749 if (_argo0 == Py_None) { _arg0 = NULL; }
9750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
9752 return NULL;
9753 }
9754 }
9755 {
9756 wxPy_BEGIN_ALLOW_THREADS;
9757 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
9758
9759 wxPy_END_ALLOW_THREADS;
9760 } _resultobj = Py_BuildValue("i",_result);
9761 return _resultobj;
9762 }
9763
9764 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9765 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject * _resultobj;
9767 int _result;
9768 wxGrid * _arg0;
9769 PyObject * _argo0 = 0;
9770 char *_kwnames[] = { "self", NULL };
9771
9772 self = self;
9773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
9774 return NULL;
9775 if (_argo0) {
9776 if (_argo0 == Py_None) { _arg0 = NULL; }
9777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9779 return NULL;
9780 }
9781 }
9782 {
9783 wxPy_BEGIN_ALLOW_THREADS;
9784 _result = (int )wxGrid_GetDefaultColSize(_arg0);
9785
9786 wxPy_END_ALLOW_THREADS;
9787 } _resultobj = Py_BuildValue("i",_result);
9788 return _resultobj;
9789 }
9790
9791 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
9792 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject * _resultobj;
9794 int _result;
9795 wxGrid * _arg0;
9796 int _arg1;
9797 PyObject * _argo0 = 0;
9798 char *_kwnames[] = { "self","col", NULL };
9799
9800 self = self;
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
9802 return NULL;
9803 if (_argo0) {
9804 if (_argo0 == Py_None) { _arg0 = NULL; }
9805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
9807 return NULL;
9808 }
9809 }
9810 {
9811 wxPy_BEGIN_ALLOW_THREADS;
9812 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
9813
9814 wxPy_END_ALLOW_THREADS;
9815 } _resultobj = Py_BuildValue("i",_result);
9816 return _resultobj;
9817 }
9818
9819 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
9820 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9821 PyObject * _resultobj;
9822 wxColour * _result;
9823 wxGrid * _arg0;
9824 PyObject * _argo0 = 0;
9825 char *_kwnames[] = { "self", NULL };
9826 char _ptemp[128];
9827
9828 self = self;
9829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
9830 return NULL;
9831 if (_argo0) {
9832 if (_argo0 == Py_None) { _arg0 = NULL; }
9833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
9835 return NULL;
9836 }
9837 }
9838 {
9839 wxPy_BEGIN_ALLOW_THREADS;
9840 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
9841
9842 wxPy_END_ALLOW_THREADS;
9843 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9844 _resultobj = Py_BuildValue("s",_ptemp);
9845 return _resultobj;
9846 }
9847
9848 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
9849 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject * _resultobj;
9851 wxColour * _result;
9852 wxGrid * _arg0;
9853 int _arg1;
9854 int _arg2;
9855 PyObject * _argo0 = 0;
9856 char *_kwnames[] = { "self","row","col", NULL };
9857 char _ptemp[128];
9858
9859 self = self;
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
9861 return NULL;
9862 if (_argo0) {
9863 if (_argo0 == Py_None) { _arg0 = NULL; }
9864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
9866 return NULL;
9867 }
9868 }
9869 {
9870 wxPy_BEGIN_ALLOW_THREADS;
9871 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
9872
9873 wxPy_END_ALLOW_THREADS;
9874 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9875 _resultobj = Py_BuildValue("s",_ptemp);
9876 return _resultobj;
9877 }
9878
9879 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
9880 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9881 PyObject * _resultobj;
9882 wxColour * _result;
9883 wxGrid * _arg0;
9884 PyObject * _argo0 = 0;
9885 char *_kwnames[] = { "self", NULL };
9886 char _ptemp[128];
9887
9888 self = self;
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
9890 return NULL;
9891 if (_argo0) {
9892 if (_argo0 == Py_None) { _arg0 = NULL; }
9893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
9895 return NULL;
9896 }
9897 }
9898 {
9899 wxPy_BEGIN_ALLOW_THREADS;
9900 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
9901
9902 wxPy_END_ALLOW_THREADS;
9903 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9904 _resultobj = Py_BuildValue("s",_ptemp);
9905 return _resultobj;
9906 }
9907
9908 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
9909 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9910 PyObject * _resultobj;
9911 wxColour * _result;
9912 wxGrid * _arg0;
9913 int _arg1;
9914 int _arg2;
9915 PyObject * _argo0 = 0;
9916 char *_kwnames[] = { "self","row","col", NULL };
9917 char _ptemp[128];
9918
9919 self = self;
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
9921 return NULL;
9922 if (_argo0) {
9923 if (_argo0 == Py_None) { _arg0 = NULL; }
9924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
9926 return NULL;
9927 }
9928 }
9929 {
9930 wxPy_BEGIN_ALLOW_THREADS;
9931 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
9932
9933 wxPy_END_ALLOW_THREADS;
9934 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9935 _resultobj = Py_BuildValue("s",_ptemp);
9936 return _resultobj;
9937 }
9938
9939 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
9940 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9941 PyObject * _resultobj;
9942 wxFont * _result;
9943 wxGrid * _arg0;
9944 PyObject * _argo0 = 0;
9945 char *_kwnames[] = { "self", NULL };
9946 char _ptemp[128];
9947
9948 self = self;
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
9950 return NULL;
9951 if (_argo0) {
9952 if (_argo0 == Py_None) { _arg0 = NULL; }
9953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
9955 return NULL;
9956 }
9957 }
9958 {
9959 wxPy_BEGIN_ALLOW_THREADS;
9960 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
9961
9962 wxPy_END_ALLOW_THREADS;
9963 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9964 _resultobj = Py_BuildValue("s",_ptemp);
9965 return _resultobj;
9966 }
9967
9968 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
9969 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9970 PyObject * _resultobj;
9971 wxFont * _result;
9972 wxGrid * _arg0;
9973 int _arg1;
9974 int _arg2;
9975 PyObject * _argo0 = 0;
9976 char *_kwnames[] = { "self","row","col", NULL };
9977 char _ptemp[128];
9978
9979 self = self;
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
9981 return NULL;
9982 if (_argo0) {
9983 if (_argo0 == Py_None) { _arg0 = NULL; }
9984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
9986 return NULL;
9987 }
9988 }
9989 {
9990 wxPy_BEGIN_ALLOW_THREADS;
9991 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
9992
9993 wxPy_END_ALLOW_THREADS;
9994 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9995 _resultobj = Py_BuildValue("s",_ptemp);
9996 return _resultobj;
9997 }
9998
9999 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10000 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10001 PyObject * _resultobj;
10002 wxGrid * _arg0;
10003 int * _arg1;
10004 int * _arg2;
10005 PyObject * _argo0 = 0;
10006 PyObject * _argo1 = 0;
10007 PyObject * _argo2 = 0;
10008 char *_kwnames[] = { "self","horiz","vert", NULL };
10009
10010 self = self;
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10012 return NULL;
10013 if (_argo0) {
10014 if (_argo0 == Py_None) { _arg0 = NULL; }
10015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10017 return NULL;
10018 }
10019 }
10020 if (_argo1) {
10021 if (_argo1 == Py_None) { _arg1 = NULL; }
10022 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10023 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10024 return NULL;
10025 }
10026 }
10027 if (_argo2) {
10028 if (_argo2 == Py_None) { _arg2 = NULL; }
10029 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10030 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10031 return NULL;
10032 }
10033 }
10034 {
10035 wxPy_BEGIN_ALLOW_THREADS;
10036 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10037
10038 wxPy_END_ALLOW_THREADS;
10039 } Py_INCREF(Py_None);
10040 _resultobj = Py_None;
10041 return _resultobj;
10042 }
10043
10044 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10045 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10046 PyObject * _resultobj;
10047 wxGrid * _arg0;
10048 int _arg1;
10049 int _arg2;
10050 int * _arg3;
10051 int * _arg4;
10052 PyObject * _argo0 = 0;
10053 PyObject * _argo3 = 0;
10054 PyObject * _argo4 = 0;
10055 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10056
10057 self = self;
10058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10059 return NULL;
10060 if (_argo0) {
10061 if (_argo0 == Py_None) { _arg0 = NULL; }
10062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10064 return NULL;
10065 }
10066 }
10067 if (_argo3) {
10068 if (_argo3 == Py_None) { _arg3 = NULL; }
10069 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10070 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10071 return NULL;
10072 }
10073 }
10074 if (_argo4) {
10075 if (_argo4 == Py_None) { _arg4 = NULL; }
10076 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10077 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10078 return NULL;
10079 }
10080 }
10081 {
10082 wxPy_BEGIN_ALLOW_THREADS;
10083 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10084
10085 wxPy_END_ALLOW_THREADS;
10086 } Py_INCREF(Py_None);
10087 _resultobj = Py_None;
10088 return _resultobj;
10089 }
10090
10091 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10092 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10093 PyObject * _resultobj;
10094 wxGrid * _arg0;
10095 int _arg1;
10096 bool _arg2 = (bool ) FALSE;
10097 PyObject * _argo0 = 0;
10098 int tempbool2 = (int) FALSE;
10099 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10100
10101 self = self;
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10103 return NULL;
10104 if (_argo0) {
10105 if (_argo0 == Py_None) { _arg0 = NULL; }
10106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10108 return NULL;
10109 }
10110 }
10111 _arg2 = (bool ) tempbool2;
10112 {
10113 wxPy_BEGIN_ALLOW_THREADS;
10114 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10115
10116 wxPy_END_ALLOW_THREADS;
10117 } Py_INCREF(Py_None);
10118 _resultobj = Py_None;
10119 return _resultobj;
10120 }
10121
10122 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10123 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10124 PyObject * _resultobj;
10125 wxGrid * _arg0;
10126 int _arg1;
10127 int _arg2;
10128 PyObject * _argo0 = 0;
10129 char *_kwnames[] = { "self","row","height", NULL };
10130
10131 self = self;
10132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10133 return NULL;
10134 if (_argo0) {
10135 if (_argo0 == Py_None) { _arg0 = NULL; }
10136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10138 return NULL;
10139 }
10140 }
10141 {
10142 wxPy_BEGIN_ALLOW_THREADS;
10143 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10144
10145 wxPy_END_ALLOW_THREADS;
10146 } Py_INCREF(Py_None);
10147 _resultobj = Py_None;
10148 return _resultobj;
10149 }
10150
10151 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10152 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10153 PyObject * _resultobj;
10154 wxGrid * _arg0;
10155 int _arg1;
10156 bool _arg2 = (bool ) FALSE;
10157 PyObject * _argo0 = 0;
10158 int tempbool2 = (int) FALSE;
10159 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10160
10161 self = self;
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10163 return NULL;
10164 if (_argo0) {
10165 if (_argo0 == Py_None) { _arg0 = NULL; }
10166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10168 return NULL;
10169 }
10170 }
10171 _arg2 = (bool ) tempbool2;
10172 {
10173 wxPy_BEGIN_ALLOW_THREADS;
10174 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10175
10176 wxPy_END_ALLOW_THREADS;
10177 } Py_INCREF(Py_None);
10178 _resultobj = Py_None;
10179 return _resultobj;
10180 }
10181
10182 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10183 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject * _resultobj;
10185 wxGrid * _arg0;
10186 int _arg1;
10187 int _arg2;
10188 PyObject * _argo0 = 0;
10189 char *_kwnames[] = { "self","col","width", NULL };
10190
10191 self = self;
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10193 return NULL;
10194 if (_argo0) {
10195 if (_argo0 == Py_None) { _arg0 = NULL; }
10196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10198 return NULL;
10199 }
10200 }
10201 {
10202 wxPy_BEGIN_ALLOW_THREADS;
10203 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10204
10205 wxPy_END_ALLOW_THREADS;
10206 } Py_INCREF(Py_None);
10207 _resultobj = Py_None;
10208 return _resultobj;
10209 }
10210
10211 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10212 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10213 PyObject * _resultobj;
10214 wxGrid * _arg0;
10215 int _arg1;
10216 bool _arg2 = (bool ) TRUE;
10217 PyObject * _argo0 = 0;
10218 int tempbool2 = (int) TRUE;
10219 char *_kwnames[] = { "self","col","setAsMin", NULL };
10220
10221 self = self;
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10223 return NULL;
10224 if (_argo0) {
10225 if (_argo0 == Py_None) { _arg0 = NULL; }
10226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10228 return NULL;
10229 }
10230 }
10231 _arg2 = (bool ) tempbool2;
10232 {
10233 wxPy_BEGIN_ALLOW_THREADS;
10234 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10235
10236 wxPy_END_ALLOW_THREADS;
10237 } Py_INCREF(Py_None);
10238 _resultobj = Py_None;
10239 return _resultobj;
10240 }
10241
10242 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10243 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10244 PyObject * _resultobj;
10245 wxGrid * _arg0;
10246 int _arg1;
10247 bool _arg2 = (bool ) TRUE;
10248 PyObject * _argo0 = 0;
10249 int tempbool2 = (int) TRUE;
10250 char *_kwnames[] = { "self","row","setAsMin", NULL };
10251
10252 self = self;
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10254 return NULL;
10255 if (_argo0) {
10256 if (_argo0 == Py_None) { _arg0 = NULL; }
10257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10259 return NULL;
10260 }
10261 }
10262 _arg2 = (bool ) tempbool2;
10263 {
10264 wxPy_BEGIN_ALLOW_THREADS;
10265 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10266
10267 wxPy_END_ALLOW_THREADS;
10268 } Py_INCREF(Py_None);
10269 _resultobj = Py_None;
10270 return _resultobj;
10271 }
10272
10273 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10274 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10275 PyObject * _resultobj;
10276 wxGrid * _arg0;
10277 bool _arg1 = (bool ) TRUE;
10278 PyObject * _argo0 = 0;
10279 int tempbool1 = (int) TRUE;
10280 char *_kwnames[] = { "self","setAsMin", NULL };
10281
10282 self = self;
10283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10284 return NULL;
10285 if (_argo0) {
10286 if (_argo0 == Py_None) { _arg0 = NULL; }
10287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10289 return NULL;
10290 }
10291 }
10292 _arg1 = (bool ) tempbool1;
10293 {
10294 wxPy_BEGIN_ALLOW_THREADS;
10295 wxGrid_AutoSizeColumns(_arg0,_arg1);
10296
10297 wxPy_END_ALLOW_THREADS;
10298 } Py_INCREF(Py_None);
10299 _resultobj = Py_None;
10300 return _resultobj;
10301 }
10302
10303 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10304 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10305 PyObject * _resultobj;
10306 wxGrid * _arg0;
10307 bool _arg1 = (bool ) TRUE;
10308 PyObject * _argo0 = 0;
10309 int tempbool1 = (int) TRUE;
10310 char *_kwnames[] = { "self","setAsMin", NULL };
10311
10312 self = self;
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10314 return NULL;
10315 if (_argo0) {
10316 if (_argo0 == Py_None) { _arg0 = NULL; }
10317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10319 return NULL;
10320 }
10321 }
10322 _arg1 = (bool ) tempbool1;
10323 {
10324 wxPy_BEGIN_ALLOW_THREADS;
10325 wxGrid_AutoSizeRows(_arg0,_arg1);
10326
10327 wxPy_END_ALLOW_THREADS;
10328 } Py_INCREF(Py_None);
10329 _resultobj = Py_None;
10330 return _resultobj;
10331 }
10332
10333 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10334 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10335 PyObject * _resultobj;
10336 wxGrid * _arg0;
10337 PyObject * _argo0 = 0;
10338 char *_kwnames[] = { "self", NULL };
10339
10340 self = self;
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10342 return NULL;
10343 if (_argo0) {
10344 if (_argo0 == Py_None) { _arg0 = NULL; }
10345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10347 return NULL;
10348 }
10349 }
10350 {
10351 wxPy_BEGIN_ALLOW_THREADS;
10352 wxGrid_AutoSize(_arg0);
10353
10354 wxPy_END_ALLOW_THREADS;
10355 } Py_INCREF(Py_None);
10356 _resultobj = Py_None;
10357 return _resultobj;
10358 }
10359
10360 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10361 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10362 PyObject * _resultobj;
10363 wxGrid * _arg0;
10364 int _arg1;
10365 int _arg2;
10366 PyObject * _argo0 = 0;
10367 char *_kwnames[] = { "self","col","width", NULL };
10368
10369 self = self;
10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10371 return NULL;
10372 if (_argo0) {
10373 if (_argo0 == Py_None) { _arg0 = NULL; }
10374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10376 return NULL;
10377 }
10378 }
10379 {
10380 wxPy_BEGIN_ALLOW_THREADS;
10381 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10382
10383 wxPy_END_ALLOW_THREADS;
10384 } Py_INCREF(Py_None);
10385 _resultobj = Py_None;
10386 return _resultobj;
10387 }
10388
10389 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10390 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10391 PyObject * _resultobj;
10392 wxGrid * _arg0;
10393 int _arg1;
10394 int _arg2;
10395 PyObject * _argo0 = 0;
10396 char *_kwnames[] = { "self","row","width", NULL };
10397
10398 self = self;
10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10400 return NULL;
10401 if (_argo0) {
10402 if (_argo0 == Py_None) { _arg0 = NULL; }
10403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10405 return NULL;
10406 }
10407 }
10408 {
10409 wxPy_BEGIN_ALLOW_THREADS;
10410 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10411
10412 wxPy_END_ALLOW_THREADS;
10413 } Py_INCREF(Py_None);
10414 _resultobj = Py_None;
10415 return _resultobj;
10416 }
10417
10418 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10419 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10420 PyObject * _resultobj;
10421 wxGrid * _arg0;
10422 wxColour * _arg1;
10423 PyObject * _argo0 = 0;
10424 wxColour temp;
10425 PyObject * _obj1 = 0;
10426 char *_kwnames[] = { "self","arg2", NULL };
10427
10428 self = self;
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10430 return NULL;
10431 if (_argo0) {
10432 if (_argo0 == Py_None) { _arg0 = NULL; }
10433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10435 return NULL;
10436 }
10437 }
10438 {
10439 _arg1 = &temp;
10440 if (! wxColour_helper(_obj1, &_arg1))
10441 return NULL;
10442 }
10443 {
10444 wxPy_BEGIN_ALLOW_THREADS;
10445 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10446
10447 wxPy_END_ALLOW_THREADS;
10448 } Py_INCREF(Py_None);
10449 _resultobj = Py_None;
10450 return _resultobj;
10451 }
10452
10453 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10454 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10455 PyObject * _resultobj;
10456 wxGrid * _arg0;
10457 int _arg1;
10458 int _arg2;
10459 wxColour * _arg3;
10460 PyObject * _argo0 = 0;
10461 wxColour temp;
10462 PyObject * _obj3 = 0;
10463 char *_kwnames[] = { "self","row","col","arg4", NULL };
10464
10465 self = self;
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10467 return NULL;
10468 if (_argo0) {
10469 if (_argo0 == Py_None) { _arg0 = NULL; }
10470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10472 return NULL;
10473 }
10474 }
10475 {
10476 _arg3 = &temp;
10477 if (! wxColour_helper(_obj3, &_arg3))
10478 return NULL;
10479 }
10480 {
10481 wxPy_BEGIN_ALLOW_THREADS;
10482 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
10483
10484 wxPy_END_ALLOW_THREADS;
10485 } Py_INCREF(Py_None);
10486 _resultobj = Py_None;
10487 return _resultobj;
10488 }
10489
10490 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10491 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10492 PyObject * _resultobj;
10493 wxGrid * _arg0;
10494 wxColour * _arg1;
10495 PyObject * _argo0 = 0;
10496 wxColour temp;
10497 PyObject * _obj1 = 0;
10498 char *_kwnames[] = { "self","arg2", NULL };
10499
10500 self = self;
10501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
10502 return NULL;
10503 if (_argo0) {
10504 if (_argo0 == Py_None) { _arg0 = NULL; }
10505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10507 return NULL;
10508 }
10509 }
10510 {
10511 _arg1 = &temp;
10512 if (! wxColour_helper(_obj1, &_arg1))
10513 return NULL;
10514 }
10515 {
10516 wxPy_BEGIN_ALLOW_THREADS;
10517 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
10518
10519 wxPy_END_ALLOW_THREADS;
10520 } Py_INCREF(Py_None);
10521 _resultobj = Py_None;
10522 return _resultobj;
10523 }
10524
10525 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10526 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject * _resultobj;
10528 wxGrid * _arg0;
10529 int _arg1;
10530 int _arg2;
10531 wxColour * _arg3;
10532 PyObject * _argo0 = 0;
10533 wxColour temp;
10534 PyObject * _obj3 = 0;
10535 char *_kwnames[] = { "self","row","col","arg4", NULL };
10536
10537 self = self;
10538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
10539 return NULL;
10540 if (_argo0) {
10541 if (_argo0 == Py_None) { _arg0 = NULL; }
10542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10544 return NULL;
10545 }
10546 }
10547 {
10548 _arg3 = &temp;
10549 if (! wxColour_helper(_obj3, &_arg3))
10550 return NULL;
10551 }
10552 {
10553 wxPy_BEGIN_ALLOW_THREADS;
10554 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
10555
10556 wxPy_END_ALLOW_THREADS;
10557 } Py_INCREF(Py_None);
10558 _resultobj = Py_None;
10559 return _resultobj;
10560 }
10561
10562 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10563 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10564 PyObject * _resultobj;
10565 wxGrid * _arg0;
10566 wxFont * _arg1;
10567 PyObject * _argo0 = 0;
10568 PyObject * _argo1 = 0;
10569 char *_kwnames[] = { "self","arg2", NULL };
10570
10571 self = self;
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
10573 return NULL;
10574 if (_argo0) {
10575 if (_argo0 == Py_None) { _arg0 = NULL; }
10576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10578 return NULL;
10579 }
10580 }
10581 if (_argo1) {
10582 if (_argo1 == Py_None) { _arg1 = NULL; }
10583 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
10584 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10585 return NULL;
10586 }
10587 }
10588 {
10589 wxPy_BEGIN_ALLOW_THREADS;
10590 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
10591
10592 wxPy_END_ALLOW_THREADS;
10593 } Py_INCREF(Py_None);
10594 _resultobj = Py_None;
10595 return _resultobj;
10596 }
10597
10598 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10599 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10600 PyObject * _resultobj;
10601 wxGrid * _arg0;
10602 int _arg1;
10603 int _arg2;
10604 wxFont * _arg3;
10605 PyObject * _argo0 = 0;
10606 PyObject * _argo3 = 0;
10607 char *_kwnames[] = { "self","row","col","arg4", NULL };
10608
10609 self = self;
10610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10611 return NULL;
10612 if (_argo0) {
10613 if (_argo0 == Py_None) { _arg0 = NULL; }
10614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10616 return NULL;
10617 }
10618 }
10619 if (_argo3) {
10620 if (_argo3 == Py_None) { _arg3 = NULL; }
10621 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
10622 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10623 return NULL;
10624 }
10625 }
10626 {
10627 wxPy_BEGIN_ALLOW_THREADS;
10628 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
10629
10630 wxPy_END_ALLOW_THREADS;
10631 } Py_INCREF(Py_None);
10632 _resultobj = Py_None;
10633 return _resultobj;
10634 }
10635
10636 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10637 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10638 PyObject * _resultobj;
10639 wxGrid * _arg0;
10640 int _arg1;
10641 int _arg2;
10642 PyObject * _argo0 = 0;
10643 char *_kwnames[] = { "self","horiz","vert", NULL };
10644
10645 self = self;
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10647 return NULL;
10648 if (_argo0) {
10649 if (_argo0 == Py_None) { _arg0 = NULL; }
10650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10652 return NULL;
10653 }
10654 }
10655 {
10656 wxPy_BEGIN_ALLOW_THREADS;
10657 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
10658
10659 wxPy_END_ALLOW_THREADS;
10660 } Py_INCREF(Py_None);
10661 _resultobj = Py_None;
10662 return _resultobj;
10663 }
10664
10665 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10666 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10667 PyObject * _resultobj;
10668 wxGrid * _arg0;
10669 int _arg1;
10670 int _arg2;
10671 int _arg3;
10672 int _arg4;
10673 PyObject * _argo0 = 0;
10674 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10675
10676 self = self;
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10678 return NULL;
10679 if (_argo0) {
10680 if (_argo0 == Py_None) { _arg0 = NULL; }
10681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10683 return NULL;
10684 }
10685 }
10686 {
10687 wxPy_BEGIN_ALLOW_THREADS;
10688 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10689
10690 wxPy_END_ALLOW_THREADS;
10691 } Py_INCREF(Py_None);
10692 _resultobj = Py_None;
10693 return _resultobj;
10694 }
10695
10696 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10697 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10698 PyObject * _resultobj;
10699 wxGrid * _arg0;
10700 wxGridCellRenderer * _arg1;
10701 PyObject * _argo0 = 0;
10702 PyObject * _argo1 = 0;
10703 char *_kwnames[] = { "self","renderer", NULL };
10704
10705 self = self;
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
10707 return NULL;
10708 if (_argo0) {
10709 if (_argo0 == Py_None) { _arg0 = NULL; }
10710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10712 return NULL;
10713 }
10714 }
10715 if (_argo1) {
10716 if (_argo1 == Py_None) { _arg1 = NULL; }
10717 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
10718 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10719 return NULL;
10720 }
10721 }
10722 {
10723 wxPy_BEGIN_ALLOW_THREADS;
10724 wxGrid_SetDefaultRenderer(_arg0,_arg1);
10725
10726 wxPy_END_ALLOW_THREADS;
10727 } Py_INCREF(Py_None);
10728 _resultobj = Py_None;
10729 return _resultobj;
10730 }
10731
10732 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10733 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject * _resultobj;
10735 wxGrid * _arg0;
10736 int _arg1;
10737 int _arg2;
10738 wxGridCellRenderer * _arg3;
10739 PyObject * _argo0 = 0;
10740 PyObject * _argo3 = 0;
10741 char *_kwnames[] = { "self","row","col","renderer", NULL };
10742
10743 self = self;
10744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10745 return NULL;
10746 if (_argo0) {
10747 if (_argo0 == Py_None) { _arg0 = NULL; }
10748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10750 return NULL;
10751 }
10752 }
10753 if (_argo3) {
10754 if (_argo3 == Py_None) { _arg3 = NULL; }
10755 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
10756 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10757 return NULL;
10758 }
10759 }
10760 {
10761 wxPy_BEGIN_ALLOW_THREADS;
10762 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
10763
10764 wxPy_END_ALLOW_THREADS;
10765 } Py_INCREF(Py_None);
10766 _resultobj = Py_None;
10767 return _resultobj;
10768 }
10769
10770 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10771 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10772 PyObject * _resultobj;
10773 wxGridCellRenderer * _result;
10774 wxGrid * _arg0;
10775 PyObject * _argo0 = 0;
10776 char *_kwnames[] = { "self", NULL };
10777 char _ptemp[128];
10778
10779 self = self;
10780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
10781 return NULL;
10782 if (_argo0) {
10783 if (_argo0 == Py_None) { _arg0 = NULL; }
10784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10786 return NULL;
10787 }
10788 }
10789 {
10790 wxPy_BEGIN_ALLOW_THREADS;
10791 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
10792
10793 wxPy_END_ALLOW_THREADS;
10794 } if (_result) {
10795 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10796 _resultobj = Py_BuildValue("s",_ptemp);
10797 } else {
10798 Py_INCREF(Py_None);
10799 _resultobj = Py_None;
10800 }
10801 return _resultobj;
10802 }
10803
10804 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
10805 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
10806 PyObject * _resultobj;
10807 wxGridCellRenderer * _result;
10808 wxGrid * _arg0;
10809 int _arg1;
10810 int _arg2;
10811 PyObject * _argo0 = 0;
10812 char *_kwnames[] = { "self","row","col", NULL };
10813 char _ptemp[128];
10814
10815 self = self;
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
10817 return NULL;
10818 if (_argo0) {
10819 if (_argo0 == Py_None) { _arg0 = NULL; }
10820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
10822 return NULL;
10823 }
10824 }
10825 {
10826 wxPy_BEGIN_ALLOW_THREADS;
10827 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
10828
10829 wxPy_END_ALLOW_THREADS;
10830 } if (_result) {
10831 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
10832 _resultobj = Py_BuildValue("s",_ptemp);
10833 } else {
10834 Py_INCREF(Py_None);
10835 _resultobj = Py_None;
10836 }
10837 return _resultobj;
10838 }
10839
10840 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
10841 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10842 PyObject * _resultobj;
10843 wxGrid * _arg0;
10844 wxGridCellEditor * _arg1;
10845 PyObject * _argo0 = 0;
10846 PyObject * _argo1 = 0;
10847 char *_kwnames[] = { "self","editor", NULL };
10848
10849 self = self;
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
10851 return NULL;
10852 if (_argo0) {
10853 if (_argo0 == Py_None) { _arg0 = NULL; }
10854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
10856 return NULL;
10857 }
10858 }
10859 if (_argo1) {
10860 if (_argo1 == Py_None) { _arg1 = NULL; }
10861 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
10862 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
10863 return NULL;
10864 }
10865 }
10866 {
10867 wxPy_BEGIN_ALLOW_THREADS;
10868 wxGrid_SetDefaultEditor(_arg0,_arg1);
10869
10870 wxPy_END_ALLOW_THREADS;
10871 } Py_INCREF(Py_None);
10872 _resultobj = Py_None;
10873 return _resultobj;
10874 }
10875
10876 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
10877 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10878 PyObject * _resultobj;
10879 wxGrid * _arg0;
10880 int _arg1;
10881 int _arg2;
10882 wxGridCellEditor * _arg3;
10883 PyObject * _argo0 = 0;
10884 PyObject * _argo3 = 0;
10885 char *_kwnames[] = { "self","row","col","editor", NULL };
10886
10887 self = self;
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10889 return NULL;
10890 if (_argo0) {
10891 if (_argo0 == Py_None) { _arg0 = NULL; }
10892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
10894 return NULL;
10895 }
10896 }
10897 if (_argo3) {
10898 if (_argo3 == Py_None) { _arg3 = NULL; }
10899 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
10900 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
10901 return NULL;
10902 }
10903 }
10904 {
10905 wxPy_BEGIN_ALLOW_THREADS;
10906 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
10907
10908 wxPy_END_ALLOW_THREADS;
10909 } Py_INCREF(Py_None);
10910 _resultobj = Py_None;
10911 return _resultobj;
10912 }
10913
10914 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
10915 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10916 PyObject * _resultobj;
10917 wxGridCellEditor * _result;
10918 wxGrid * _arg0;
10919 PyObject * _argo0 = 0;
10920 char *_kwnames[] = { "self", NULL };
10921 char _ptemp[128];
10922
10923 self = self;
10924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
10925 return NULL;
10926 if (_argo0) {
10927 if (_argo0 == Py_None) { _arg0 = NULL; }
10928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
10930 return NULL;
10931 }
10932 }
10933 {
10934 wxPy_BEGIN_ALLOW_THREADS;
10935 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
10936
10937 wxPy_END_ALLOW_THREADS;
10938 } if (_result) {
10939 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10940 _resultobj = Py_BuildValue("s",_ptemp);
10941 } else {
10942 Py_INCREF(Py_None);
10943 _resultobj = Py_None;
10944 }
10945 return _resultobj;
10946 }
10947
10948 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
10949 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
10950 PyObject * _resultobj;
10951 wxGridCellEditor * _result;
10952 wxGrid * _arg0;
10953 int _arg1;
10954 int _arg2;
10955 PyObject * _argo0 = 0;
10956 char *_kwnames[] = { "self","row","col", NULL };
10957 char _ptemp[128];
10958
10959 self = self;
10960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
10961 return NULL;
10962 if (_argo0) {
10963 if (_argo0 == Py_None) { _arg0 = NULL; }
10964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
10966 return NULL;
10967 }
10968 }
10969 {
10970 wxPy_BEGIN_ALLOW_THREADS;
10971 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
10972
10973 wxPy_END_ALLOW_THREADS;
10974 } if (_result) {
10975 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
10976 _resultobj = Py_BuildValue("s",_ptemp);
10977 } else {
10978 Py_INCREF(Py_None);
10979 _resultobj = Py_None;
10980 }
10981 return _resultobj;
10982 }
10983
10984 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
10985 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10986 PyObject * _resultobj;
10987 wxString * _result;
10988 wxGrid * _arg0;
10989 int _arg1;
10990 int _arg2;
10991 PyObject * _argo0 = 0;
10992 char *_kwnames[] = { "self","row","col", NULL };
10993
10994 self = self;
10995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
10996 return NULL;
10997 if (_argo0) {
10998 if (_argo0 == Py_None) { _arg0 = NULL; }
10999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11001 return NULL;
11002 }
11003 }
11004 {
11005 wxPy_BEGIN_ALLOW_THREADS;
11006 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11007
11008 wxPy_END_ALLOW_THREADS;
11009 }{
11010 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11011 }
11012 {
11013 delete _result;
11014 }
11015 return _resultobj;
11016 }
11017
11018 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11019 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11020 PyObject * _resultobj;
11021 wxGrid * _arg0;
11022 int _arg1;
11023 int _arg2;
11024 wxString * _arg3;
11025 PyObject * _argo0 = 0;
11026 PyObject * _obj3 = 0;
11027 char *_kwnames[] = { "self","row","col","s", NULL };
11028
11029 self = self;
11030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11031 return NULL;
11032 if (_argo0) {
11033 if (_argo0 == Py_None) { _arg0 = NULL; }
11034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11036 return NULL;
11037 }
11038 }
11039 {
11040 #if PYTHON_API_VERSION >= 1009
11041 char* tmpPtr; int tmpSize;
11042 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
11043 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11044 return NULL;
11045 }
11046 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11047 return NULL;
11048 _arg3 = new wxString(tmpPtr, tmpSize);
11049 #else
11050 if (!PyString_Check(_obj3)) {
11051 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11052 return NULL;
11053 }
11054 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11055 #endif
11056 }
11057 {
11058 wxPy_BEGIN_ALLOW_THREADS;
11059 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11060
11061 wxPy_END_ALLOW_THREADS;
11062 } Py_INCREF(Py_None);
11063 _resultobj = Py_None;
11064 {
11065 if (_obj3)
11066 delete _arg3;
11067 }
11068 return _resultobj;
11069 }
11070
11071 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11072 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11073 PyObject * _resultobj;
11074 bool _result;
11075 wxGrid * _arg0;
11076 int _arg1;
11077 int _arg2;
11078 PyObject * _argo0 = 0;
11079 char *_kwnames[] = { "self","row","col", NULL };
11080
11081 self = self;
11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11083 return NULL;
11084 if (_argo0) {
11085 if (_argo0 == Py_None) { _arg0 = NULL; }
11086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11088 return NULL;
11089 }
11090 }
11091 {
11092 wxPy_BEGIN_ALLOW_THREADS;
11093 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11094
11095 wxPy_END_ALLOW_THREADS;
11096 } _resultobj = Py_BuildValue("i",_result);
11097 return _resultobj;
11098 }
11099
11100 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11101 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11102 PyObject * _resultobj;
11103 wxGrid * _arg0;
11104 int _arg1;
11105 int _arg2;
11106 bool _arg3 = (bool ) TRUE;
11107 PyObject * _argo0 = 0;
11108 int tempbool3 = (int) TRUE;
11109 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11110
11111 self = self;
11112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11113 return NULL;
11114 if (_argo0) {
11115 if (_argo0 == Py_None) { _arg0 = NULL; }
11116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11118 return NULL;
11119 }
11120 }
11121 _arg3 = (bool ) tempbool3;
11122 {
11123 wxPy_BEGIN_ALLOW_THREADS;
11124 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11125
11126 wxPy_END_ALLOW_THREADS;
11127 } Py_INCREF(Py_None);
11128 _resultobj = Py_None;
11129 return _resultobj;
11130 }
11131
11132 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11133 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11134 PyObject * _resultobj;
11135 wxGrid * _arg0;
11136 int _arg1;
11137 bool _arg2 = (bool ) FALSE;
11138 PyObject * _argo0 = 0;
11139 int tempbool2 = (int) FALSE;
11140 char *_kwnames[] = { "self","row","addToSelected", NULL };
11141
11142 self = self;
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11144 return NULL;
11145 if (_argo0) {
11146 if (_argo0 == Py_None) { _arg0 = NULL; }
11147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11149 return NULL;
11150 }
11151 }
11152 _arg2 = (bool ) tempbool2;
11153 {
11154 wxPy_BEGIN_ALLOW_THREADS;
11155 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11156
11157 wxPy_END_ALLOW_THREADS;
11158 } Py_INCREF(Py_None);
11159 _resultobj = Py_None;
11160 return _resultobj;
11161 }
11162
11163 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11164 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11165 PyObject * _resultobj;
11166 wxGrid * _arg0;
11167 int _arg1;
11168 bool _arg2 = (bool ) FALSE;
11169 PyObject * _argo0 = 0;
11170 int tempbool2 = (int) FALSE;
11171 char *_kwnames[] = { "self","col","addToSelected", NULL };
11172
11173 self = self;
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11175 return NULL;
11176 if (_argo0) {
11177 if (_argo0 == Py_None) { _arg0 = NULL; }
11178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11180 return NULL;
11181 }
11182 }
11183 _arg2 = (bool ) tempbool2;
11184 {
11185 wxPy_BEGIN_ALLOW_THREADS;
11186 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11187
11188 wxPy_END_ALLOW_THREADS;
11189 } Py_INCREF(Py_None);
11190 _resultobj = Py_None;
11191 return _resultobj;
11192 }
11193
11194 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11195 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11196 PyObject * _resultobj;
11197 wxGrid * _arg0;
11198 int _arg1;
11199 int _arg2;
11200 int _arg3;
11201 int _arg4;
11202 bool _arg5 = (bool ) FALSE;
11203 PyObject * _argo0 = 0;
11204 int tempbool5 = (int) FALSE;
11205 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
11206
11207 self = self;
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
11209 return NULL;
11210 if (_argo0) {
11211 if (_argo0 == Py_None) { _arg0 = NULL; }
11212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11214 return NULL;
11215 }
11216 }
11217 _arg5 = (bool ) tempbool5;
11218 {
11219 wxPy_BEGIN_ALLOW_THREADS;
11220 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11221
11222 wxPy_END_ALLOW_THREADS;
11223 } Py_INCREF(Py_None);
11224 _resultobj = Py_None;
11225 return _resultobj;
11226 }
11227
11228 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11229 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject * _resultobj;
11231 wxGrid * _arg0;
11232 PyObject * _argo0 = 0;
11233 char *_kwnames[] = { "self", NULL };
11234
11235 self = self;
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11237 return NULL;
11238 if (_argo0) {
11239 if (_argo0 == Py_None) { _arg0 = NULL; }
11240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11242 return NULL;
11243 }
11244 }
11245 {
11246 wxPy_BEGIN_ALLOW_THREADS;
11247 wxGrid_SelectAll(_arg0);
11248
11249 wxPy_END_ALLOW_THREADS;
11250 } Py_INCREF(Py_None);
11251 _resultobj = Py_None;
11252 return _resultobj;
11253 }
11254
11255 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11256 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11257 PyObject * _resultobj;
11258 bool _result;
11259 wxGrid * _arg0;
11260 PyObject * _argo0 = 0;
11261 char *_kwnames[] = { "self", NULL };
11262
11263 self = self;
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11265 return NULL;
11266 if (_argo0) {
11267 if (_argo0 == Py_None) { _arg0 = NULL; }
11268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11270 return NULL;
11271 }
11272 }
11273 {
11274 wxPy_BEGIN_ALLOW_THREADS;
11275 _result = (bool )wxGrid_IsSelection(_arg0);
11276
11277 wxPy_END_ALLOW_THREADS;
11278 } _resultobj = Py_BuildValue("i",_result);
11279 return _resultobj;
11280 }
11281
11282 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11283 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11284 PyObject * _resultobj;
11285 wxGrid * _arg0;
11286 PyObject * _argo0 = 0;
11287 char *_kwnames[] = { "self", NULL };
11288
11289 self = self;
11290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11291 return NULL;
11292 if (_argo0) {
11293 if (_argo0 == Py_None) { _arg0 = NULL; }
11294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11296 return NULL;
11297 }
11298 }
11299 {
11300 wxPy_BEGIN_ALLOW_THREADS;
11301 wxGrid_ClearSelection(_arg0);
11302
11303 wxPy_END_ALLOW_THREADS;
11304 } Py_INCREF(Py_None);
11305 _resultobj = Py_None;
11306 return _resultobj;
11307 }
11308
11309 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11310 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject * _resultobj;
11312 bool _result;
11313 wxGrid * _arg0;
11314 int _arg1;
11315 int _arg2;
11316 PyObject * _argo0 = 0;
11317 char *_kwnames[] = { "self","row","col", NULL };
11318
11319 self = self;
11320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11321 return NULL;
11322 if (_argo0) {
11323 if (_argo0 == Py_None) { _arg0 = NULL; }
11324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11326 return NULL;
11327 }
11328 }
11329 {
11330 wxPy_BEGIN_ALLOW_THREADS;
11331 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11332
11333 wxPy_END_ALLOW_THREADS;
11334 } _resultobj = Py_BuildValue("i",_result);
11335 return _resultobj;
11336 }
11337
11338 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11339 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11340 PyObject * _resultobj;
11341 wxRect * _result;
11342 wxGrid * _arg0;
11343 wxGridCellCoords * _arg1;
11344 wxGridCellCoords * _arg2;
11345 PyObject * _argo0 = 0;
11346 wxGridCellCoords temp;
11347 PyObject * _obj1 = 0;
11348 wxGridCellCoords temp0;
11349 PyObject * _obj2 = 0;
11350 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11351 char _ptemp[128];
11352
11353 self = self;
11354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11355 return NULL;
11356 if (_argo0) {
11357 if (_argo0 == Py_None) { _arg0 = NULL; }
11358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11360 return NULL;
11361 }
11362 }
11363 {
11364 _arg1 = &temp;
11365 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11366 return NULL;
11367 }
11368 {
11369 _arg2 = &temp0;
11370 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11371 return NULL;
11372 }
11373 {
11374 wxPy_BEGIN_ALLOW_THREADS;
11375 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11376
11377 wxPy_END_ALLOW_THREADS;
11378 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11379 _resultobj = Py_BuildValue("s",_ptemp);
11380 return _resultobj;
11381 }
11382
11383 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11384 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11385 PyObject * _resultobj;
11386 wxColour * _result;
11387 wxGrid * _arg0;
11388 PyObject * _argo0 = 0;
11389 char *_kwnames[] = { "self", NULL };
11390 char _ptemp[128];
11391
11392 self = self;
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11394 return NULL;
11395 if (_argo0) {
11396 if (_argo0 == Py_None) { _arg0 = NULL; }
11397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11399 return NULL;
11400 }
11401 }
11402 {
11403 wxPy_BEGIN_ALLOW_THREADS;
11404 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11405
11406 wxPy_END_ALLOW_THREADS;
11407 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11408 _resultobj = Py_BuildValue("s",_ptemp);
11409 return _resultobj;
11410 }
11411
11412 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11413 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11414 PyObject * _resultobj;
11415 wxColour * _result;
11416 wxGrid * _arg0;
11417 PyObject * _argo0 = 0;
11418 char *_kwnames[] = { "self", NULL };
11419 char _ptemp[128];
11420
11421 self = self;
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11423 return NULL;
11424 if (_argo0) {
11425 if (_argo0 == Py_None) { _arg0 = NULL; }
11426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11428 return NULL;
11429 }
11430 }
11431 {
11432 wxPy_BEGIN_ALLOW_THREADS;
11433 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
11434
11435 wxPy_END_ALLOW_THREADS;
11436 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11437 _resultobj = Py_BuildValue("s",_ptemp);
11438 return _resultobj;
11439 }
11440
11441 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11442 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11443 PyObject * _resultobj;
11444 wxGrid * _arg0;
11445 wxColour * _arg1;
11446 PyObject * _argo0 = 0;
11447 wxColour temp;
11448 PyObject * _obj1 = 0;
11449 char *_kwnames[] = { "self","c", NULL };
11450
11451 self = self;
11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
11453 return NULL;
11454 if (_argo0) {
11455 if (_argo0 == Py_None) { _arg0 = NULL; }
11456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11458 return NULL;
11459 }
11460 }
11461 {
11462 _arg1 = &temp;
11463 if (! wxColour_helper(_obj1, &_arg1))
11464 return NULL;
11465 }
11466 {
11467 wxPy_BEGIN_ALLOW_THREADS;
11468 wxGrid_SetSelectionBackground(_arg0,*_arg1);
11469
11470 wxPy_END_ALLOW_THREADS;
11471 } Py_INCREF(Py_None);
11472 _resultobj = Py_None;
11473 return _resultobj;
11474 }
11475
11476 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11477 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject * _resultobj;
11479 wxGrid * _arg0;
11480 wxColour * _arg1;
11481 PyObject * _argo0 = 0;
11482 wxColour temp;
11483 PyObject * _obj1 = 0;
11484 char *_kwnames[] = { "self","c", NULL };
11485
11486 self = self;
11487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
11488 return NULL;
11489 if (_argo0) {
11490 if (_argo0 == Py_None) { _arg0 = NULL; }
11491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11493 return NULL;
11494 }
11495 }
11496 {
11497 _arg1 = &temp;
11498 if (! wxColour_helper(_obj1, &_arg1))
11499 return NULL;
11500 }
11501 {
11502 wxPy_BEGIN_ALLOW_THREADS;
11503 wxGrid_SetSelectionForeground(_arg0,*_arg1);
11504
11505 wxPy_END_ALLOW_THREADS;
11506 } Py_INCREF(Py_None);
11507 _resultobj = Py_None;
11508 return _resultobj;
11509 }
11510
11511 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11512 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
11513 PyObject * _resultobj;
11514 wxGrid * _arg0;
11515 wxString * _arg1;
11516 wxGridCellRenderer * _arg2;
11517 wxGridCellEditor * _arg3;
11518 PyObject * _argo0 = 0;
11519 PyObject * _obj1 = 0;
11520 PyObject * _argo2 = 0;
11521 PyObject * _argo3 = 0;
11522 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
11523
11524 self = self;
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
11526 return NULL;
11527 if (_argo0) {
11528 if (_argo0 == Py_None) { _arg0 = NULL; }
11529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
11531 return NULL;
11532 }
11533 }
11534 {
11535 #if PYTHON_API_VERSION >= 1009
11536 char* tmpPtr; int tmpSize;
11537 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11538 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11539 return NULL;
11540 }
11541 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11542 return NULL;
11543 _arg1 = new wxString(tmpPtr, tmpSize);
11544 #else
11545 if (!PyString_Check(_obj1)) {
11546 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11547 return NULL;
11548 }
11549 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11550 #endif
11551 }
11552 if (_argo2) {
11553 if (_argo2 == Py_None) { _arg2 = NULL; }
11554 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
11555 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11556 return NULL;
11557 }
11558 }
11559 if (_argo3) {
11560 if (_argo3 == Py_None) { _arg3 = NULL; }
11561 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11562 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11563 return NULL;
11564 }
11565 }
11566 {
11567 wxPy_BEGIN_ALLOW_THREADS;
11568 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
11569
11570 wxPy_END_ALLOW_THREADS;
11571 } Py_INCREF(Py_None);
11572 _resultobj = Py_None;
11573 {
11574 if (_obj1)
11575 delete _arg1;
11576 }
11577 return _resultobj;
11578 }
11579
11580 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11581 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11582 PyObject * _resultobj;
11583 wxGridCellEditor * _result;
11584 wxGrid * _arg0;
11585 int _arg1;
11586 int _arg2;
11587 PyObject * _argo0 = 0;
11588 char *_kwnames[] = { "self","row","col", NULL };
11589 char _ptemp[128];
11590
11591 self = self;
11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11593 return NULL;
11594 if (_argo0) {
11595 if (_argo0 == Py_None) { _arg0 = NULL; }
11596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11598 return NULL;
11599 }
11600 }
11601 {
11602 wxPy_BEGIN_ALLOW_THREADS;
11603 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
11604
11605 wxPy_END_ALLOW_THREADS;
11606 } if (_result) {
11607 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11608 _resultobj = Py_BuildValue("s",_ptemp);
11609 } else {
11610 Py_INCREF(Py_None);
11611 _resultobj = Py_None;
11612 }
11613 return _resultobj;
11614 }
11615
11616 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11617 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11618 PyObject * _resultobj;
11619 wxGridCellRenderer * _result;
11620 wxGrid * _arg0;
11621 int _arg1;
11622 int _arg2;
11623 PyObject * _argo0 = 0;
11624 char *_kwnames[] = { "self","row","col", NULL };
11625 char _ptemp[128];
11626
11627 self = self;
11628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
11629 return NULL;
11630 if (_argo0) {
11631 if (_argo0 == Py_None) { _arg0 = NULL; }
11632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11634 return NULL;
11635 }
11636 }
11637 {
11638 wxPy_BEGIN_ALLOW_THREADS;
11639 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
11640
11641 wxPy_END_ALLOW_THREADS;
11642 } if (_result) {
11643 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11644 _resultobj = Py_BuildValue("s",_ptemp);
11645 } else {
11646 Py_INCREF(Py_None);
11647 _resultobj = Py_None;
11648 }
11649 return _resultobj;
11650 }
11651
11652 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11653 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11654 PyObject * _resultobj;
11655 wxGridCellEditor * _result;
11656 wxGrid * _arg0;
11657 wxString * _arg1;
11658 PyObject * _argo0 = 0;
11659 PyObject * _obj1 = 0;
11660 char *_kwnames[] = { "self","typeName", NULL };
11661 char _ptemp[128];
11662
11663 self = self;
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
11665 return NULL;
11666 if (_argo0) {
11667 if (_argo0 == Py_None) { _arg0 = NULL; }
11668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
11670 return NULL;
11671 }
11672 }
11673 {
11674 #if PYTHON_API_VERSION >= 1009
11675 char* tmpPtr; int tmpSize;
11676 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11677 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11678 return NULL;
11679 }
11680 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11681 return NULL;
11682 _arg1 = new wxString(tmpPtr, tmpSize);
11683 #else
11684 if (!PyString_Check(_obj1)) {
11685 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11686 return NULL;
11687 }
11688 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11689 #endif
11690 }
11691 {
11692 wxPy_BEGIN_ALLOW_THREADS;
11693 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
11694
11695 wxPy_END_ALLOW_THREADS;
11696 } if (_result) {
11697 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11698 _resultobj = Py_BuildValue("s",_ptemp);
11699 } else {
11700 Py_INCREF(Py_None);
11701 _resultobj = Py_None;
11702 }
11703 {
11704 if (_obj1)
11705 delete _arg1;
11706 }
11707 return _resultobj;
11708 }
11709
11710 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11711 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
11712 PyObject * _resultobj;
11713 wxGridCellRenderer * _result;
11714 wxGrid * _arg0;
11715 wxString * _arg1;
11716 PyObject * _argo0 = 0;
11717 PyObject * _obj1 = 0;
11718 char *_kwnames[] = { "self","typeName", NULL };
11719 char _ptemp[128];
11720
11721 self = self;
11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
11723 return NULL;
11724 if (_argo0) {
11725 if (_argo0 == Py_None) { _arg0 = NULL; }
11726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11728 return NULL;
11729 }
11730 }
11731 {
11732 #if PYTHON_API_VERSION >= 1009
11733 char* tmpPtr; int tmpSize;
11734 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11735 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11736 return NULL;
11737 }
11738 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11739 return NULL;
11740 _arg1 = new wxString(tmpPtr, tmpSize);
11741 #else
11742 if (!PyString_Check(_obj1)) {
11743 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11744 return NULL;
11745 }
11746 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11747 #endif
11748 }
11749 {
11750 wxPy_BEGIN_ALLOW_THREADS;
11751 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
11752
11753 wxPy_END_ALLOW_THREADS;
11754 } if (_result) {
11755 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11756 _resultobj = Py_BuildValue("s",_ptemp);
11757 } else {
11758 Py_INCREF(Py_None);
11759 _resultobj = Py_None;
11760 }
11761 {
11762 if (_obj1)
11763 delete _arg1;
11764 }
11765 return _resultobj;
11766 }
11767
11768 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11769 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
11770 PyObject * _resultobj;
11771 wxGrid * _arg0;
11772 int _arg1;
11773 int _arg2;
11774 PyObject * _argo0 = 0;
11775 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
11776
11777 self = self;
11778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
11779 return NULL;
11780 if (_argo0) {
11781 if (_argo0 == Py_None) { _arg0 = NULL; }
11782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11784 return NULL;
11785 }
11786 }
11787 {
11788 wxPy_BEGIN_ALLOW_THREADS;
11789 wxGrid_SetMargins(_arg0,_arg1,_arg2);
11790
11791 wxPy_END_ALLOW_THREADS;
11792 } Py_INCREF(Py_None);
11793 _resultobj = Py_None;
11794 return _resultobj;
11795 }
11796
11797 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
11798 wxGridEvent *src;
11799 wxNotifyEvent *dest;
11800 src = (wxGridEvent *) ptr;
11801 dest = (wxNotifyEvent *) src;
11802 return (void *) dest;
11803 }
11804
11805 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
11806 wxGridEvent *src;
11807 wxCommandEvent *dest;
11808 src = (wxGridEvent *) ptr;
11809 dest = (wxCommandEvent *) src;
11810 return (void *) dest;
11811 }
11812
11813 static void *SwigwxGridEventTowxEvent(void *ptr) {
11814 wxGridEvent *src;
11815 wxEvent *dest;
11816 src = (wxGridEvent *) ptr;
11817 dest = (wxEvent *) src;
11818 return (void *) dest;
11819 }
11820
11821 #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))
11822 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11823 PyObject * _resultobj;
11824 wxGridEvent * _result;
11825 int _arg0;
11826 wxEventType _arg1;
11827 wxGrid * _arg2;
11828 int _arg3 = (int ) -1;
11829 int _arg4 = (int ) -1;
11830 int _arg5 = (int ) -1;
11831 int _arg6 = (int ) -1;
11832 bool _arg7 = (bool ) TRUE;
11833 bool _arg8 = (bool ) FALSE;
11834 bool _arg9 = (bool ) FALSE;
11835 bool _arg10 = (bool ) FALSE;
11836 bool _arg11 = (bool ) FALSE;
11837 PyObject * _argo2 = 0;
11838 int tempbool7 = (int) TRUE;
11839 int tempbool8 = (int) FALSE;
11840 int tempbool9 = (int) FALSE;
11841 int tempbool10 = (int) FALSE;
11842 int tempbool11 = (int) FALSE;
11843 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
11844 char _ptemp[128];
11845
11846 self = self;
11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
11848 return NULL;
11849 if (_argo2) {
11850 if (_argo2 == Py_None) { _arg2 = NULL; }
11851 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
11852 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
11853 return NULL;
11854 }
11855 }
11856 _arg7 = (bool ) tempbool7;
11857 _arg8 = (bool ) tempbool8;
11858 _arg9 = (bool ) tempbool9;
11859 _arg10 = (bool ) tempbool10;
11860 _arg11 = (bool ) tempbool11;
11861 {
11862 wxPy_BEGIN_ALLOW_THREADS;
11863 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
11864
11865 wxPy_END_ALLOW_THREADS;
11866 } if (_result) {
11867 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
11868 _resultobj = Py_BuildValue("s",_ptemp);
11869 } else {
11870 Py_INCREF(Py_None);
11871 _resultobj = Py_None;
11872 }
11873 return _resultobj;
11874 }
11875
11876 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
11877 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11878 PyObject * _resultobj;
11879 int _result;
11880 wxGridEvent * _arg0;
11881 PyObject * _argo0 = 0;
11882 char *_kwnames[] = { "self", NULL };
11883
11884 self = self;
11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
11886 return NULL;
11887 if (_argo0) {
11888 if (_argo0 == Py_None) { _arg0 = NULL; }
11889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
11891 return NULL;
11892 }
11893 }
11894 {
11895 wxPy_BEGIN_ALLOW_THREADS;
11896 _result = (int )wxGridEvent_GetRow(_arg0);
11897
11898 wxPy_END_ALLOW_THREADS;
11899 } _resultobj = Py_BuildValue("i",_result);
11900 return _resultobj;
11901 }
11902
11903 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
11904 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11905 PyObject * _resultobj;
11906 int _result;
11907 wxGridEvent * _arg0;
11908 PyObject * _argo0 = 0;
11909 char *_kwnames[] = { "self", NULL };
11910
11911 self = self;
11912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
11913 return NULL;
11914 if (_argo0) {
11915 if (_argo0 == Py_None) { _arg0 = NULL; }
11916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
11918 return NULL;
11919 }
11920 }
11921 {
11922 wxPy_BEGIN_ALLOW_THREADS;
11923 _result = (int )wxGridEvent_GetCol(_arg0);
11924
11925 wxPy_END_ALLOW_THREADS;
11926 } _resultobj = Py_BuildValue("i",_result);
11927 return _resultobj;
11928 }
11929
11930 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11931 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11932 PyObject * _resultobj;
11933 wxPoint * _result;
11934 wxGridEvent * _arg0;
11935 PyObject * _argo0 = 0;
11936 char *_kwnames[] = { "self", NULL };
11937 char _ptemp[128];
11938
11939 self = self;
11940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
11941 return NULL;
11942 if (_argo0) {
11943 if (_argo0 == Py_None) { _arg0 = NULL; }
11944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
11946 return NULL;
11947 }
11948 }
11949 {
11950 wxPy_BEGIN_ALLOW_THREADS;
11951 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
11952
11953 wxPy_END_ALLOW_THREADS;
11954 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
11955 _resultobj = Py_BuildValue("s",_ptemp);
11956 return _resultobj;
11957 }
11958
11959 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
11960 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
11961 PyObject * _resultobj;
11962 bool _result;
11963 wxGridEvent * _arg0;
11964 PyObject * _argo0 = 0;
11965 char *_kwnames[] = { "self", NULL };
11966
11967 self = self;
11968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
11969 return NULL;
11970 if (_argo0) {
11971 if (_argo0 == Py_None) { _arg0 = NULL; }
11972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
11973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
11974 return NULL;
11975 }
11976 }
11977 {
11978 wxPy_BEGIN_ALLOW_THREADS;
11979 _result = (bool )wxGridEvent_Selecting(_arg0);
11980
11981 wxPy_END_ALLOW_THREADS;
11982 } _resultobj = Py_BuildValue("i",_result);
11983 return _resultobj;
11984 }
11985
11986 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11987 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11988 PyObject * _resultobj;
11989 bool _result;
11990 wxGridEvent * _arg0;
11991 PyObject * _argo0 = 0;
11992 char *_kwnames[] = { "self", NULL };
11993
11994 self = self;
11995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
11996 return NULL;
11997 if (_argo0) {
11998 if (_argo0 == Py_None) { _arg0 = NULL; }
11999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12001 return NULL;
12002 }
12003 }
12004 {
12005 wxPy_BEGIN_ALLOW_THREADS;
12006 _result = (bool )wxGridEvent_ControlDown(_arg0);
12007
12008 wxPy_END_ALLOW_THREADS;
12009 } _resultobj = Py_BuildValue("i",_result);
12010 return _resultobj;
12011 }
12012
12013 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12014 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12015 PyObject * _resultobj;
12016 bool _result;
12017 wxGridEvent * _arg0;
12018 PyObject * _argo0 = 0;
12019 char *_kwnames[] = { "self", NULL };
12020
12021 self = self;
12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12023 return NULL;
12024 if (_argo0) {
12025 if (_argo0 == Py_None) { _arg0 = NULL; }
12026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12028 return NULL;
12029 }
12030 }
12031 {
12032 wxPy_BEGIN_ALLOW_THREADS;
12033 _result = (bool )wxGridEvent_MetaDown(_arg0);
12034
12035 wxPy_END_ALLOW_THREADS;
12036 } _resultobj = Py_BuildValue("i",_result);
12037 return _resultobj;
12038 }
12039
12040 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12041 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12042 PyObject * _resultobj;
12043 bool _result;
12044 wxGridEvent * _arg0;
12045 PyObject * _argo0 = 0;
12046 char *_kwnames[] = { "self", NULL };
12047
12048 self = self;
12049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12050 return NULL;
12051 if (_argo0) {
12052 if (_argo0 == Py_None) { _arg0 = NULL; }
12053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12055 return NULL;
12056 }
12057 }
12058 {
12059 wxPy_BEGIN_ALLOW_THREADS;
12060 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12061
12062 wxPy_END_ALLOW_THREADS;
12063 } _resultobj = Py_BuildValue("i",_result);
12064 return _resultobj;
12065 }
12066
12067 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12068 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12069 PyObject * _resultobj;
12070 bool _result;
12071 wxGridEvent * _arg0;
12072 PyObject * _argo0 = 0;
12073 char *_kwnames[] = { "self", NULL };
12074
12075 self = self;
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12077 return NULL;
12078 if (_argo0) {
12079 if (_argo0 == Py_None) { _arg0 = NULL; }
12080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12082 return NULL;
12083 }
12084 }
12085 {
12086 wxPy_BEGIN_ALLOW_THREADS;
12087 _result = (bool )wxGridEvent_AltDown(_arg0);
12088
12089 wxPy_END_ALLOW_THREADS;
12090 } _resultobj = Py_BuildValue("i",_result);
12091 return _resultobj;
12092 }
12093
12094 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12095 wxGridSizeEvent *src;
12096 wxNotifyEvent *dest;
12097 src = (wxGridSizeEvent *) ptr;
12098 dest = (wxNotifyEvent *) src;
12099 return (void *) dest;
12100 }
12101
12102 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12103 wxGridSizeEvent *src;
12104 wxCommandEvent *dest;
12105 src = (wxGridSizeEvent *) ptr;
12106 dest = (wxCommandEvent *) src;
12107 return (void *) dest;
12108 }
12109
12110 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12111 wxGridSizeEvent *src;
12112 wxEvent *dest;
12113 src = (wxGridSizeEvent *) ptr;
12114 dest = (wxEvent *) src;
12115 return (void *) dest;
12116 }
12117
12118 #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))
12119 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12120 PyObject * _resultobj;
12121 wxGridSizeEvent * _result;
12122 int _arg0;
12123 wxEventType _arg1;
12124 wxGrid * _arg2;
12125 int _arg3 = (int ) -1;
12126 int _arg4 = (int ) -1;
12127 int _arg5 = (int ) -1;
12128 bool _arg6 = (bool ) FALSE;
12129 bool _arg7 = (bool ) FALSE;
12130 bool _arg8 = (bool ) FALSE;
12131 bool _arg9 = (bool ) FALSE;
12132 PyObject * _argo2 = 0;
12133 int tempbool6 = (int) FALSE;
12134 int tempbool7 = (int) FALSE;
12135 int tempbool8 = (int) FALSE;
12136 int tempbool9 = (int) FALSE;
12137 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12138 char _ptemp[128];
12139
12140 self = self;
12141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12142 return NULL;
12143 if (_argo2) {
12144 if (_argo2 == Py_None) { _arg2 = NULL; }
12145 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12146 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12147 return NULL;
12148 }
12149 }
12150 _arg6 = (bool ) tempbool6;
12151 _arg7 = (bool ) tempbool7;
12152 _arg8 = (bool ) tempbool8;
12153 _arg9 = (bool ) tempbool9;
12154 {
12155 wxPy_BEGIN_ALLOW_THREADS;
12156 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12157
12158 wxPy_END_ALLOW_THREADS;
12159 } if (_result) {
12160 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12161 _resultobj = Py_BuildValue("s",_ptemp);
12162 } else {
12163 Py_INCREF(Py_None);
12164 _resultobj = Py_None;
12165 }
12166 return _resultobj;
12167 }
12168
12169 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12170 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12171 PyObject * _resultobj;
12172 int _result;
12173 wxGridSizeEvent * _arg0;
12174 PyObject * _argo0 = 0;
12175 char *_kwnames[] = { "self", NULL };
12176
12177 self = self;
12178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12179 return NULL;
12180 if (_argo0) {
12181 if (_argo0 == Py_None) { _arg0 = NULL; }
12182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12184 return NULL;
12185 }
12186 }
12187 {
12188 wxPy_BEGIN_ALLOW_THREADS;
12189 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12190
12191 wxPy_END_ALLOW_THREADS;
12192 } _resultobj = Py_BuildValue("i",_result);
12193 return _resultobj;
12194 }
12195
12196 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12197 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12198 PyObject * _resultobj;
12199 wxPoint * _result;
12200 wxGridSizeEvent * _arg0;
12201 PyObject * _argo0 = 0;
12202 char *_kwnames[] = { "self", NULL };
12203 char _ptemp[128];
12204
12205 self = self;
12206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12207 return NULL;
12208 if (_argo0) {
12209 if (_argo0 == Py_None) { _arg0 = NULL; }
12210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12212 return NULL;
12213 }
12214 }
12215 {
12216 wxPy_BEGIN_ALLOW_THREADS;
12217 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12218
12219 wxPy_END_ALLOW_THREADS;
12220 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12221 _resultobj = Py_BuildValue("s",_ptemp);
12222 return _resultobj;
12223 }
12224
12225 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12226 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12227 PyObject * _resultobj;
12228 bool _result;
12229 wxGridSizeEvent * _arg0;
12230 PyObject * _argo0 = 0;
12231 char *_kwnames[] = { "self", NULL };
12232
12233 self = self;
12234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12235 return NULL;
12236 if (_argo0) {
12237 if (_argo0 == Py_None) { _arg0 = NULL; }
12238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12240 return NULL;
12241 }
12242 }
12243 {
12244 wxPy_BEGIN_ALLOW_THREADS;
12245 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
12246
12247 wxPy_END_ALLOW_THREADS;
12248 } _resultobj = Py_BuildValue("i",_result);
12249 return _resultobj;
12250 }
12251
12252 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12253 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12254 PyObject * _resultobj;
12255 bool _result;
12256 wxGridSizeEvent * _arg0;
12257 PyObject * _argo0 = 0;
12258 char *_kwnames[] = { "self", NULL };
12259
12260 self = self;
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12262 return NULL;
12263 if (_argo0) {
12264 if (_argo0 == Py_None) { _arg0 = NULL; }
12265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12267 return NULL;
12268 }
12269 }
12270 {
12271 wxPy_BEGIN_ALLOW_THREADS;
12272 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12273
12274 wxPy_END_ALLOW_THREADS;
12275 } _resultobj = Py_BuildValue("i",_result);
12276 return _resultobj;
12277 }
12278
12279 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12280 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12281 PyObject * _resultobj;
12282 bool _result;
12283 wxGridSizeEvent * _arg0;
12284 PyObject * _argo0 = 0;
12285 char *_kwnames[] = { "self", NULL };
12286
12287 self = self;
12288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12289 return NULL;
12290 if (_argo0) {
12291 if (_argo0 == Py_None) { _arg0 = NULL; }
12292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12294 return NULL;
12295 }
12296 }
12297 {
12298 wxPy_BEGIN_ALLOW_THREADS;
12299 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12300
12301 wxPy_END_ALLOW_THREADS;
12302 } _resultobj = Py_BuildValue("i",_result);
12303 return _resultobj;
12304 }
12305
12306 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12307 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12308 PyObject * _resultobj;
12309 bool _result;
12310 wxGridSizeEvent * _arg0;
12311 PyObject * _argo0 = 0;
12312 char *_kwnames[] = { "self", NULL };
12313
12314 self = self;
12315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
12316 return NULL;
12317 if (_argo0) {
12318 if (_argo0 == Py_None) { _arg0 = NULL; }
12319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12321 return NULL;
12322 }
12323 }
12324 {
12325 wxPy_BEGIN_ALLOW_THREADS;
12326 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
12327
12328 wxPy_END_ALLOW_THREADS;
12329 } _resultobj = Py_BuildValue("i",_result);
12330 return _resultobj;
12331 }
12332
12333 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
12334 wxGridRangeSelectEvent *src;
12335 wxNotifyEvent *dest;
12336 src = (wxGridRangeSelectEvent *) ptr;
12337 dest = (wxNotifyEvent *) src;
12338 return (void *) dest;
12339 }
12340
12341 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
12342 wxGridRangeSelectEvent *src;
12343 wxCommandEvent *dest;
12344 src = (wxGridRangeSelectEvent *) ptr;
12345 dest = (wxCommandEvent *) src;
12346 return (void *) dest;
12347 }
12348
12349 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
12350 wxGridRangeSelectEvent *src;
12351 wxEvent *dest;
12352 src = (wxGridRangeSelectEvent *) ptr;
12353 dest = (wxEvent *) src;
12354 return (void *) dest;
12355 }
12356
12357 #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))
12358 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12359 PyObject * _resultobj;
12360 wxGridRangeSelectEvent * _result;
12361 int _arg0;
12362 wxEventType _arg1;
12363 wxGrid * _arg2;
12364 wxGridCellCoords * _arg3;
12365 wxGridCellCoords * _arg4;
12366 bool _arg5 = (bool ) TRUE;
12367 bool _arg6 = (bool ) FALSE;
12368 bool _arg7 = (bool ) FALSE;
12369 bool _arg8 = (bool ) FALSE;
12370 bool _arg9 = (bool ) FALSE;
12371 PyObject * _argo2 = 0;
12372 wxGridCellCoords temp;
12373 PyObject * _obj3 = 0;
12374 wxGridCellCoords temp0;
12375 PyObject * _obj4 = 0;
12376 int tempbool5 = (int) TRUE;
12377 int tempbool6 = (int) FALSE;
12378 int tempbool7 = (int) FALSE;
12379 int tempbool8 = (int) FALSE;
12380 int tempbool9 = (int) FALSE;
12381 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
12382 char _ptemp[128];
12383
12384 self = self;
12385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12386 return NULL;
12387 if (_argo2) {
12388 if (_argo2 == Py_None) { _arg2 = NULL; }
12389 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12390 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12391 return NULL;
12392 }
12393 }
12394 {
12395 _arg3 = &temp;
12396 if (! wxGridCellCoords_helper(_obj3, &_arg3))
12397 return NULL;
12398 }
12399 {
12400 _arg4 = &temp0;
12401 if (! wxGridCellCoords_helper(_obj4, &_arg4))
12402 return NULL;
12403 }
12404 _arg5 = (bool ) tempbool5;
12405 _arg6 = (bool ) tempbool6;
12406 _arg7 = (bool ) tempbool7;
12407 _arg8 = (bool ) tempbool8;
12408 _arg9 = (bool ) tempbool9;
12409 {
12410 wxPy_BEGIN_ALLOW_THREADS;
12411 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12412
12413 wxPy_END_ALLOW_THREADS;
12414 } if (_result) {
12415 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
12416 _resultobj = Py_BuildValue("s",_ptemp);
12417 } else {
12418 Py_INCREF(Py_None);
12419 _resultobj = Py_None;
12420 }
12421 return _resultobj;
12422 }
12423
12424 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12425 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12426 PyObject * _resultobj;
12427 wxGridCellCoords * _result;
12428 wxGridRangeSelectEvent * _arg0;
12429 PyObject * _argo0 = 0;
12430 char *_kwnames[] = { "self", NULL };
12431 char _ptemp[128];
12432
12433 self = self;
12434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
12435 return NULL;
12436 if (_argo0) {
12437 if (_argo0 == Py_None) { _arg0 = NULL; }
12438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12440 return NULL;
12441 }
12442 }
12443 {
12444 wxPy_BEGIN_ALLOW_THREADS;
12445 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
12446
12447 wxPy_END_ALLOW_THREADS;
12448 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12449 _resultobj = Py_BuildValue("s",_ptemp);
12450 return _resultobj;
12451 }
12452
12453 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12454 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
12455 PyObject * _resultobj;
12456 wxGridCellCoords * _result;
12457 wxGridRangeSelectEvent * _arg0;
12458 PyObject * _argo0 = 0;
12459 char *_kwnames[] = { "self", NULL };
12460 char _ptemp[128];
12461
12462 self = self;
12463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
12464 return NULL;
12465 if (_argo0) {
12466 if (_argo0 == Py_None) { _arg0 = NULL; }
12467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12469 return NULL;
12470 }
12471 }
12472 {
12473 wxPy_BEGIN_ALLOW_THREADS;
12474 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
12475
12476 wxPy_END_ALLOW_THREADS;
12477 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
12478 _resultobj = Py_BuildValue("s",_ptemp);
12479 return _resultobj;
12480 }
12481
12482 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12483 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12484 PyObject * _resultobj;
12485 int _result;
12486 wxGridRangeSelectEvent * _arg0;
12487 PyObject * _argo0 = 0;
12488 char *_kwnames[] = { "self", NULL };
12489
12490 self = self;
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
12492 return NULL;
12493 if (_argo0) {
12494 if (_argo0 == Py_None) { _arg0 = NULL; }
12495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12497 return NULL;
12498 }
12499 }
12500 {
12501 wxPy_BEGIN_ALLOW_THREADS;
12502 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
12503
12504 wxPy_END_ALLOW_THREADS;
12505 } _resultobj = Py_BuildValue("i",_result);
12506 return _resultobj;
12507 }
12508
12509 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12510 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject * _resultobj;
12512 int _result;
12513 wxGridRangeSelectEvent * _arg0;
12514 PyObject * _argo0 = 0;
12515 char *_kwnames[] = { "self", NULL };
12516
12517 self = self;
12518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
12519 return NULL;
12520 if (_argo0) {
12521 if (_argo0 == Py_None) { _arg0 = NULL; }
12522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12524 return NULL;
12525 }
12526 }
12527 {
12528 wxPy_BEGIN_ALLOW_THREADS;
12529 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
12530
12531 wxPy_END_ALLOW_THREADS;
12532 } _resultobj = Py_BuildValue("i",_result);
12533 return _resultobj;
12534 }
12535
12536 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12537 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12538 PyObject * _resultobj;
12539 int _result;
12540 wxGridRangeSelectEvent * _arg0;
12541 PyObject * _argo0 = 0;
12542 char *_kwnames[] = { "self", NULL };
12543
12544 self = self;
12545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
12546 return NULL;
12547 if (_argo0) {
12548 if (_argo0 == Py_None) { _arg0 = NULL; }
12549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12551 return NULL;
12552 }
12553 }
12554 {
12555 wxPy_BEGIN_ALLOW_THREADS;
12556 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
12557
12558 wxPy_END_ALLOW_THREADS;
12559 } _resultobj = Py_BuildValue("i",_result);
12560 return _resultobj;
12561 }
12562
12563 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12564 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12565 PyObject * _resultobj;
12566 int _result;
12567 wxGridRangeSelectEvent * _arg0;
12568 PyObject * _argo0 = 0;
12569 char *_kwnames[] = { "self", NULL };
12570
12571 self = self;
12572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
12573 return NULL;
12574 if (_argo0) {
12575 if (_argo0 == Py_None) { _arg0 = NULL; }
12576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12578 return NULL;
12579 }
12580 }
12581 {
12582 wxPy_BEGIN_ALLOW_THREADS;
12583 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
12584
12585 wxPy_END_ALLOW_THREADS;
12586 } _resultobj = Py_BuildValue("i",_result);
12587 return _resultobj;
12588 }
12589
12590 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12591 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12592 PyObject * _resultobj;
12593 bool _result;
12594 wxGridRangeSelectEvent * _arg0;
12595 PyObject * _argo0 = 0;
12596 char *_kwnames[] = { "self", NULL };
12597
12598 self = self;
12599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
12600 return NULL;
12601 if (_argo0) {
12602 if (_argo0 == Py_None) { _arg0 = NULL; }
12603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12605 return NULL;
12606 }
12607 }
12608 {
12609 wxPy_BEGIN_ALLOW_THREADS;
12610 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
12611
12612 wxPy_END_ALLOW_THREADS;
12613 } _resultobj = Py_BuildValue("i",_result);
12614 return _resultobj;
12615 }
12616
12617 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12618 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12619 PyObject * _resultobj;
12620 bool _result;
12621 wxGridRangeSelectEvent * _arg0;
12622 PyObject * _argo0 = 0;
12623 char *_kwnames[] = { "self", NULL };
12624
12625 self = self;
12626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
12627 return NULL;
12628 if (_argo0) {
12629 if (_argo0 == Py_None) { _arg0 = NULL; }
12630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12632 return NULL;
12633 }
12634 }
12635 {
12636 wxPy_BEGIN_ALLOW_THREADS;
12637 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
12638
12639 wxPy_END_ALLOW_THREADS;
12640 } _resultobj = Py_BuildValue("i",_result);
12641 return _resultobj;
12642 }
12643
12644 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12645 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12646 PyObject * _resultobj;
12647 bool _result;
12648 wxGridRangeSelectEvent * _arg0;
12649 PyObject * _argo0 = 0;
12650 char *_kwnames[] = { "self", NULL };
12651
12652 self = self;
12653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
12654 return NULL;
12655 if (_argo0) {
12656 if (_argo0 == Py_None) { _arg0 = NULL; }
12657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
12659 return NULL;
12660 }
12661 }
12662 {
12663 wxPy_BEGIN_ALLOW_THREADS;
12664 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
12665
12666 wxPy_END_ALLOW_THREADS;
12667 } _resultobj = Py_BuildValue("i",_result);
12668 return _resultobj;
12669 }
12670
12671 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12672 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12673 PyObject * _resultobj;
12674 bool _result;
12675 wxGridRangeSelectEvent * _arg0;
12676 PyObject * _argo0 = 0;
12677 char *_kwnames[] = { "self", NULL };
12678
12679 self = self;
12680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
12681 return NULL;
12682 if (_argo0) {
12683 if (_argo0 == Py_None) { _arg0 = NULL; }
12684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
12686 return NULL;
12687 }
12688 }
12689 {
12690 wxPy_BEGIN_ALLOW_THREADS;
12691 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
12692
12693 wxPy_END_ALLOW_THREADS;
12694 } _resultobj = Py_BuildValue("i",_result);
12695 return _resultobj;
12696 }
12697
12698 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
12699 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12700 PyObject * _resultobj;
12701 bool _result;
12702 wxGridRangeSelectEvent * _arg0;
12703 PyObject * _argo0 = 0;
12704 char *_kwnames[] = { "self", NULL };
12705
12706 self = self;
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
12708 return NULL;
12709 if (_argo0) {
12710 if (_argo0 == Py_None) { _arg0 = NULL; }
12711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
12712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
12713 return NULL;
12714 }
12715 }
12716 {
12717 wxPy_BEGIN_ALLOW_THREADS;
12718 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
12719
12720 wxPy_END_ALLOW_THREADS;
12721 } _resultobj = Py_BuildValue("i",_result);
12722 return _resultobj;
12723 }
12724
12725 static PyMethodDef gridcMethods[] = {
12726 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12727 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12728 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12729 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12730 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12731 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
12732 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
12733 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
12734 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
12735 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
12736 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
12737 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
12738 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12739 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12740 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12741 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12742 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12743 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
12744 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
12745 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
12746 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
12747 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
12748 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
12749 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
12750 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12751 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
12752 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
12753 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
12754 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
12755 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
12756 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
12757 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
12758 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
12759 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
12760 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12761 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12762 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
12763 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
12764 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
12765 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
12766 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
12767 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
12768 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
12769 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
12770 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
12771 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
12772 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12773 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
12774 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
12775 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
12776 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
12777 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12778 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
12779 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
12780 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12781 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12782 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
12783 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
12784 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12785 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12786 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
12787 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12788 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12789 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12790 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12791 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12792 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
12793 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
12794 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
12795 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
12796 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
12797 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
12798 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
12799 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
12800 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12801 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
12802 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12803 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
12804 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
12805 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
12806 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
12807 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
12808 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
12809 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12810 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12811 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
12812 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
12813 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
12814 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
12815 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
12816 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
12817 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
12818 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
12819 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
12820 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
12821 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12822 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12823 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
12824 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12825 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
12826 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
12827 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
12828 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
12829 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
12830 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12831 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
12832 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12833 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12834 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12835 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12836 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12837 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12838 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
12839 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12840 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12841 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12842 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12843 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
12844 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
12845 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12846 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12847 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12848 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
12849 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
12850 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
12851 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12852 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
12853 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
12854 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12855 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
12856 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
12857 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
12858 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
12859 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
12860 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
12861 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
12862 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
12863 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
12864 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
12865 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
12866 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
12867 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
12868 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
12869 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
12870 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
12871 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
12872 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
12873 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
12874 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
12875 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
12876 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
12877 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
12878 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
12879 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
12880 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
12881 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
12882 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
12883 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
12884 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12885 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
12886 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
12887 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
12888 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
12889 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
12890 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
12891 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
12892 { "wxGrid_StringToLines", (PyCFunction) _wrap_wxGrid_StringToLines, METH_VARARGS | METH_KEYWORDS },
12893 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
12894 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
12895 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12896 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
12897 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
12898 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12899 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
12900 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
12901 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
12902 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
12903 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
12904 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
12905 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12906 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12907 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
12908 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
12909 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
12910 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
12911 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
12912 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
12913 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
12914 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
12915 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
12916 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
12917 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12918 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
12919 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12920 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
12921 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
12922 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
12923 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
12924 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
12925 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
12926 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
12927 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12928 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
12929 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
12930 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12931 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12932 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12933 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12934 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12935 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12936 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12937 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12938 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12939 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12940 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
12941 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
12942 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12943 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
12944 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
12945 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
12946 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12947 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12948 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12949 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
12950 { "wxPyGridTableBase__setSelf", (PyCFunction) _wrap_wxPyGridTableBase__setSelf, METH_VARARGS | METH_KEYWORDS },
12951 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
12952 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12953 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12954 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
12955 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
12956 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
12957 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12958 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12959 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
12960 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
12961 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
12962 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
12963 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
12964 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
12965 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
12966 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
12967 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
12968 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12969 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12970 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12971 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
12972 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
12973 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
12974 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
12975 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
12976 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
12977 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
12978 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
12979 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
12980 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
12981 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
12982 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
12983 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
12984 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12985 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
12986 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12987 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12988 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
12989 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
12990 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setSelf, METH_VARARGS | METH_KEYWORDS },
12991 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12992 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
12993 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
12994 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
12995 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
12996 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
12997 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
12998 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
12999 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
13000 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13001 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
13002 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
13003 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13004 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13005 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13006 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
13007 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13008 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13009 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13010 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13011 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13012 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
13013 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13014 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13015 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13016 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13017 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13018 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13019 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13020 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
13021 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
13022 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
13023 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
13024 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
13025 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
13026 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
13027 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
13028 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
13029 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13030 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
13031 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13032 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
13033 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
13034 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13035 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13036 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
13037 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
13038 { "wxPyGridCellEditor__setSelf", (PyCFunction) _wrap_wxPyGridCellEditor__setSelf, METH_VARARGS | METH_KEYWORDS },
13039 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
13040 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
13041 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13042 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
13043 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
13044 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13045 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13046 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
13047 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
13048 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
13049 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
13050 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
13051 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
13052 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
13053 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
13054 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
13055 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
13056 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
13057 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
13058 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
13059 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
13060 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
13061 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
13062 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
13063 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
13064 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
13065 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
13066 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
13067 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13068 { "wxPyGridCellRenderer__setSelf", (PyCFunction) _wrap_wxPyGridCellRenderer__setSelf, METH_VARARGS | METH_KEYWORDS },
13069 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
13070 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
13071 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
13072 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
13073 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
13074 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
13075 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
13076 { NULL, NULL }
13077 };
13078 #ifdef __cplusplus
13079 }
13080 #endif
13081 /*
13082 * This table is used by the pointer type-checker
13083 */
13084 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
13085 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
13086 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13087 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13088 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13089 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13090 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
13091 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
13092 { "_wxEvent","_class_wxEvent",0},
13093 { "_class_wxActivateEvent","_wxActivateEvent",0},
13094 { "_signed_long","_long",0},
13095 { "_wxMenuEvent","_class_wxMenuEvent",0},
13096 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13097 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13098 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13099 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13100 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13101 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13102 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13103 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13104 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13105 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13106 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
13107 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
13108 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
13109 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
13110 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
13111 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
13112 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
13113 { "_wxPrintQuality","_wxCoord",0},
13114 { "_wxPrintQuality","_int",0},
13115 { "_wxPrintQuality","_signed_int",0},
13116 { "_wxPrintQuality","_unsigned_int",0},
13117 { "_wxPrintQuality","_wxWindowID",0},
13118 { "_wxPrintQuality","_uint",0},
13119 { "_wxPrintQuality","_EBool",0},
13120 { "_wxPrintQuality","_size_t",0},
13121 { "_wxPrintQuality","_time_t",0},
13122 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
13123 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
13124 { "_class_wxRegionIterator","_wxRegionIterator",0},
13125 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
13126 { "_class_wxMenuBar","_wxMenuBar",0},
13127 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
13128 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13129 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13130 { "_class_wxEvtHandler","_wxEvtHandler",0},
13131 { "_wxPaintEvent","_class_wxPaintEvent",0},
13132 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
13133 { "_wxCursor","_class_wxCursor",0},
13134 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13135 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13136 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13137 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13138 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13139 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13140 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
13141 { "_wxMask","_class_wxMask",0},
13142 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
13143 { "_wxGrid","_class_wxGrid",0},
13144 { "_wxPen","_class_wxPen",0},
13145 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
13146 { "_byte","_unsigned_char",0},
13147 { "_wxDataObject","_class_wxDataObject",0},
13148 { "_wxStaticBox","_class_wxStaticBox",0},
13149 { "_wxColourDatabase","_class_wxColourDatabase",0},
13150 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
13151 { "_wxPyDropSource","_class_wxPyDropSource",0},
13152 { "_wxChoice","_class_wxChoice",0},
13153 { "_wxSlider","_class_wxSlider",0},
13154 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
13155 { "_long","_unsigned_long",0},
13156 { "_long","_signed_long",0},
13157 { "_wxImageList","_class_wxImageList",0},
13158 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
13159 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
13160 { "_wxBitmapButton","_class_wxBitmapButton",0},
13161 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
13162 { "_class_wxClipboard","_wxClipboard",0},
13163 { "_class_wxGauge","_wxGauge",0},
13164 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
13165 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
13166 { "_wxDC","_class_wxDC",0},
13167 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
13168 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
13169 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
13170 { "_wxSpinEvent","_class_wxSpinEvent",0},
13171 { "_size_t","_WXGRIDSELECTIONMODES",0},
13172 { "_size_t","_wxCoord",0},
13173 { "_size_t","_wxPrintQuality",0},
13174 { "_size_t","_time_t",0},
13175 { "_size_t","_unsigned_int",0},
13176 { "_size_t","_int",0},
13177 { "_size_t","_wxWindowID",0},
13178 { "_size_t","_uint",0},
13179 { "_class_wxRealPoint","_wxRealPoint",0},
13180 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
13181 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
13182 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
13183 { "_class_wxMenuItem","_wxMenuItem",0},
13184 { "_class_wxPaintEvent","_wxPaintEvent",0},
13185 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
13186 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13187 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13188 { "_wxPanel","_class_wxPanel",0},
13189 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
13190 { "_wxCheckBox","_class_wxCheckBox",0},
13191 { "_wxPyEvent","_class_wxPyEvent",0},
13192 { "_wxTextCtrl","_class_wxTextCtrl",0},
13193 { "_class_wxMask","_wxMask",0},
13194 { "_wxTextDataObject","_class_wxTextDataObject",0},
13195 { "_class_wxKeyEvent","_wxKeyEvent",0},
13196 { "_class_wxGrid","_wxGrid",0},
13197 { "_wxColour","_class_wxColour",0},
13198 { "_class_wxDialog","_wxDialog",0},
13199 { "_class_wxFileDataObject","_wxFileDataObject",0},
13200 { "_wxIdleEvent","_class_wxIdleEvent",0},
13201 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
13202 { "_class_wxDataObject","_wxDataObject",0},
13203 { "_wxStaticLine","_class_wxStaticLine",0},
13204 { "_wxBrush","_class_wxBrush",0},
13205 { "_wxToggleButton","_class_wxToggleButton",0},
13206 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
13207 { "_wxDataFormat","_class_wxDataFormat",0},
13208 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
13209 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
13210 { "_wxShowEvent","_class_wxShowEvent",0},
13211 { "_uint","_WXGRIDSELECTIONMODES",0},
13212 { "_uint","_wxCoord",0},
13213 { "_uint","_wxPrintQuality",0},
13214 { "_uint","_time_t",0},
13215 { "_uint","_size_t",0},
13216 { "_uint","_unsigned_int",0},
13217 { "_uint","_int",0},
13218 { "_uint","_wxWindowID",0},
13219 { "_wxChar","_char",0},
13220 { "_wxPyValidator","_class_wxPyValidator",0},
13221 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13222 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
13223 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13224 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
13225 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
13226 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
13227 { "_class_wxEvent","_wxEvent",0},
13228 { "_wxCheckListBox","_class_wxCheckListBox",0},
13229 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
13230 { "_wxGridEvent","_class_wxGridEvent",0},
13231 { "_wxRect","_class_wxRect",0},
13232 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13233 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13234 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13235 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13236 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13237 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13238 { "_wxCommandEvent","_class_wxCommandEvent",0},
13239 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
13240 { "_wxSizeEvent","_class_wxSizeEvent",0},
13241 { "_wxPoint","_class_wxPoint",0},
13242 { "_class_wxButton","_wxButton",0},
13243 { "_wxRadioBox","_class_wxRadioBox",0},
13244 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
13245 { "_char","_wxChar",0},
13246 { "_wxBitmap","_class_wxBitmap",0},
13247 { "_wxPenList","_class_wxPenList",0},
13248 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13249 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13250 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13251 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13252 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
13253 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
13254 { "_wxWindowDC","_class_wxWindowDC",0},
13255 { "_wxTimerEvent","_class_wxTimerEvent",0},
13256 { "_wxScrollBar","_class_wxScrollBar",0},
13257 { "_wxSpinButton","_class_wxSpinButton",0},
13258 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
13259 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13260 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
13261 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13262 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
13263 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13264 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
13265 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
13266 { "_class_wxValidator","_wxValidator",0},
13267 { "_class_wxPyEvent","_wxPyEvent",0},
13268 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
13269 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
13270 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
13271 { "_wxDropTarget","_class_wxDropTarget",0},
13272 { "_class_wxStaticLine","_wxStaticLine",0},
13273 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
13274 { "_class_wxColourDatabase","_wxColourDatabase",0},
13275 { "_wxScrollEvent","_class_wxScrollEvent",0},
13276 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13277 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13278 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13279 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13280 { "_wxGridTableBase","_class_wxGridTableBase",0},
13281 { "_wxGridStringTable","_class_wxGridStringTable",0},
13282 { "_EBool","_WXGRIDSELECTIONMODES",0},
13283 { "_EBool","_wxCoord",0},
13284 { "_EBool","_wxPrintQuality",0},
13285 { "_EBool","_signed_int",0},
13286 { "_EBool","_int",0},
13287 { "_EBool","_wxWindowID",0},
13288 { "_class_wxRegion","_wxRegion",0},
13289 { "_class_wxDataFormat","_wxDataFormat",0},
13290 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
13291 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13292 { "_wxStaticText","_class_wxStaticText",0},
13293 { "_wxFont","_class_wxFont",0},
13294 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13295 { "_wxCloseEvent","_class_wxCloseEvent",0},
13296 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13297 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13298 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13299 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13300 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13301 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13302 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13303 { "_unsigned_long","_long",0},
13304 { "_class_wxRect","_wxRect",0},
13305 { "_class_wxDC","_wxDC",0},
13306 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13307 { "_WXGRIDSELECTIONMODES","_int",0},
13308 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13309 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13310 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13311 { "_WXGRIDSELECTIONMODES","_uint",0},
13312 { "_WXGRIDSELECTIONMODES","_EBool",0},
13313 { "_WXGRIDSELECTIONMODES","_size_t",0},
13314 { "_WXGRIDSELECTIONMODES","_time_t",0},
13315 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13316 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
13317 { "_class_wxBrushList","_wxBrushList",0},
13318 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
13319 { "_class_wxPenList","_wxPenList",0},
13320 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13321 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13322 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
13323 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13324 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
13325 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13326 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13327 { "_wxFocusEvent","_class_wxFocusEvent",0},
13328 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13329 { "_class_wxTimerEvent","_wxTimerEvent",0},
13330 { "_class_wxSpinButton","_wxSpinButton",0},
13331 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13332 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
13333 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
13334 { "_class_wxPanel","_wxPanel",0},
13335 { "_class_wxCheckBox","_wxCheckBox",0},
13336 { "_wxComboBox","_class_wxComboBox",0},
13337 { "_wxRadioButton","_class_wxRadioButton",0},
13338 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13339 { "_signed_int","_wxCoord",0},
13340 { "_signed_int","_wxPrintQuality",0},
13341 { "_signed_int","_EBool",0},
13342 { "_signed_int","_wxWindowID",0},
13343 { "_signed_int","_int",0},
13344 { "_class_wxTextCtrl","_wxTextCtrl",0},
13345 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13346 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
13347 { "_class_wxTextDataObject","_wxTextDataObject",0},
13348 { "_wxMenu","_class_wxMenu",0},
13349 { "_class_wxMoveEvent","_wxMoveEvent",0},
13350 { "_wxListBox","_class_wxListBox",0},
13351 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13352 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13353 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13354 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13355 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13356 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13357 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13358 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13359 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13360 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13361 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13362 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13363 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13364 { "_wxScreenDC","_class_wxScreenDC",0},
13365 { "_WXTYPE","_short",0},
13366 { "_WXTYPE","_signed_short",0},
13367 { "_WXTYPE","_unsigned_short",0},
13368 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13369 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13370 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13371 { "_class_wxDropTarget","_wxDropTarget",0},
13372 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13373 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13374 { "_class_wxBrush","_wxBrush",0},
13375 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13376 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
13377 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13378 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
13379 { "_class_wxGridTableBase","_wxGridTableBase",0},
13380 { "_unsigned_short","_WXTYPE",0},
13381 { "_unsigned_short","_short",0},
13382 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13383 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13384 { "_class_wxWindow","_wxWindow",0},
13385 { "_class_wxStaticText","_wxStaticText",0},
13386 { "_class_wxFont","_wxFont",0},
13387 { "_wxClipboard","_class_wxClipboard",0},
13388 { "_class_wxPyValidator","_wxPyValidator",0},
13389 { "_class_wxCloseEvent","_wxCloseEvent",0},
13390 { "_wxBusyInfo","_class_wxBusyInfo",0},
13391 { "_wxFontList","_class_wxFontList",0},
13392 { "_class_wxMenuEvent","_wxMenuEvent",0},
13393 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13394 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13395 { "_wxClientDC","_class_wxClientDC",0},
13396 { "_wxMouseEvent","_class_wxMouseEvent",0},
13397 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
13398 { "_class_wxPoint","_wxPoint",0},
13399 { "_wxRealPoint","_class_wxRealPoint",0},
13400 { "_class_wxRadioBox","_wxRadioBox",0},
13401 { "_signed_short","_WXTYPE",0},
13402 { "_signed_short","_short",0},
13403 { "_wxMemoryDC","_class_wxMemoryDC",0},
13404 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13405 { "_wxPaintDC","_class_wxPaintDC",0},
13406 { "_class_wxWindowDC","_wxWindowDC",0},
13407 { "_class_wxFocusEvent","_wxFocusEvent",0},
13408 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13409 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13410 { "_class_wxCursor","_wxCursor",0},
13411 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13412 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13413 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13414 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13415 { "_unsigned_char","_byte",0},
13416 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
13417 { "_class_wxMenu","_wxMenu",0},
13418 { "_wxControl","_class_wxControl",0},
13419 { "_class_wxListBox","_wxListBox",0},
13420 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13421 { "_unsigned_int","_wxCoord",0},
13422 { "_unsigned_int","_wxPrintQuality",0},
13423 { "_unsigned_int","_time_t",0},
13424 { "_unsigned_int","_size_t",0},
13425 { "_unsigned_int","_uint",0},
13426 { "_unsigned_int","_wxWindowID",0},
13427 { "_unsigned_int","_int",0},
13428 { "_wxIcon","_class_wxIcon",0},
13429 { "_wxDialog","_class_wxDialog",0},
13430 { "_class_wxPen","_wxPen",0},
13431 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13432 { "_short","_WXTYPE",0},
13433 { "_short","_unsigned_short",0},
13434 { "_short","_signed_short",0},
13435 { "_class_wxStaticBox","_wxStaticBox",0},
13436 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13437 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13438 { "_class_wxPyDropSource","_wxPyDropSource",0},
13439 { "_class_wxScrollEvent","_wxScrollEvent",0},
13440 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13441 { "_class_wxChoice","_wxChoice",0},
13442 { "_class_wxSlider","_wxSlider",0},
13443 { "_class_wxImageList","_wxImageList",0},
13444 { "_class_wxBitmapButton","_wxBitmapButton",0},
13445 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13446 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13447 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13448 { "_wxWindowID","_wxCoord",0},
13449 { "_wxWindowID","_wxPrintQuality",0},
13450 { "_wxWindowID","_time_t",0},
13451 { "_wxWindowID","_size_t",0},
13452 { "_wxWindowID","_EBool",0},
13453 { "_wxWindowID","_uint",0},
13454 { "_wxWindowID","_int",0},
13455 { "_wxWindowID","_signed_int",0},
13456 { "_wxWindowID","_unsigned_int",0},
13457 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13458 { "_int","_WXGRIDSELECTIONMODES",0},
13459 { "_int","_wxCoord",0},
13460 { "_int","_wxPrintQuality",0},
13461 { "_int","_time_t",0},
13462 { "_int","_size_t",0},
13463 { "_int","_EBool",0},
13464 { "_int","_uint",0},
13465 { "_int","_wxWindowID",0},
13466 { "_int","_unsigned_int",0},
13467 { "_int","_signed_int",0},
13468 { "_class_wxMouseEvent","_wxMouseEvent",0},
13469 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13470 { "_class_wxSpinEvent","_wxSpinEvent",0},
13471 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
13472 { "_time_t","_WXGRIDSELECTIONMODES",0},
13473 { "_time_t","_wxCoord",0},
13474 { "_time_t","_wxPrintQuality",0},
13475 { "_time_t","_unsigned_int",0},
13476 { "_time_t","_int",0},
13477 { "_time_t","_wxWindowID",0},
13478 { "_time_t","_uint",0},
13479 { "_time_t","_size_t",0},
13480 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13481 { "_wxButton","_class_wxButton",0},
13482 { "_wxSize","_class_wxSize",0},
13483 { "_wxRegionIterator","_class_wxRegionIterator",0},
13484 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13485 { "_class_wxPaintDC","_wxPaintDC",0},
13486 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13487 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13488 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13489 { "_class_wxComboBox","_wxComboBox",0},
13490 { "_class_wxRadioButton","_wxRadioButton",0},
13491 { "_wxValidator","_class_wxValidator",0},
13492 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13493 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13494 { "_class_wxControl","_wxControl",0},
13495 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13496 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13497 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
13498 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13499 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
13500 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13501 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
13502 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13503 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
13504 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13505 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
13506 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13507 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
13508 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13509 { "_class_wxIcon","_wxIcon",0},
13510 { "_class_wxColour","_wxColour",0},
13511 { "_class_wxScreenDC","_wxScreenDC",0},
13512 { "_wxPalette","_class_wxPalette",0},
13513 { "_class_wxIdleEvent","_wxIdleEvent",0},
13514 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13515 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
13516 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13517 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13518 { "_wxCoord","_int",0},
13519 { "_wxCoord","_signed_int",0},
13520 { "_wxCoord","_unsigned_int",0},
13521 { "_wxCoord","_wxWindowID",0},
13522 { "_wxCoord","_uint",0},
13523 { "_wxCoord","_EBool",0},
13524 { "_wxCoord","_size_t",0},
13525 { "_wxCoord","_time_t",0},
13526 { "_wxCoord","_wxPrintQuality",0},
13527 { "_wxEraseEvent","_class_wxEraseEvent",0},
13528 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13529 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13530 { "_class_wxToggleButton","_wxToggleButton",0},
13531 { "_wxRegion","_class_wxRegion",0},
13532 { "_class_wxShowEvent","_wxShowEvent",0},
13533 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13534 { "_wxActivateEvent","_class_wxActivateEvent",0},
13535 { "_wxGauge","_class_wxGauge",0},
13536 { "_class_wxCheckListBox","_wxCheckListBox",0},
13537 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13538 { "_class_wxBusyInfo","_wxBusyInfo",0},
13539 { "_class_wxFontList","_wxFontList",0},
13540 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13541 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
13542 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13543 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
13544 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13545 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
13546 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13547 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
13548 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13549 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
13550 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13551 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13552 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
13553 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13554 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
13555 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13556 { "_class_wxGridEvent","_wxGridEvent",0},
13557 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13558 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
13559 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13560 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
13561 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13562 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
13563 { "_class_wxCommandEvent","_wxCommandEvent",0},
13564 { "_class_wxClientDC","_wxClientDC",0},
13565 { "_class_wxSizeEvent","_wxSizeEvent",0},
13566 { "_wxBrushList","_class_wxBrushList",0},
13567 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13568 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13569 { "_class_wxSize","_wxSize",0},
13570 { "_class_wxBitmap","_wxBitmap",0},
13571 { "_class_wxMemoryDC","_wxMemoryDC",0},
13572 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13573 { "_wxMenuBar","_class_wxMenuBar",0},
13574 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13575 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13576 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13577 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
13578 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
13579 { "_wxEvtHandler","_class_wxEvtHandler",0},
13580 { "_wxMenuItem","_class_wxMenuItem",0},
13581 { "_class_wxScrollBar","_wxScrollBar",0},
13582 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow},
13583 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
13584 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13585 { "_wxKeyEvent","_class_wxKeyEvent",0},
13586 { "_wxMoveEvent","_class_wxMoveEvent",0},
13587 { "_class_wxPalette","_wxPalette",0},
13588 { "_wxFileDataObject","_class_wxFileDataObject",0},
13589 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13590 { "_class_wxEraseEvent","_wxEraseEvent",0},
13591 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13592 { "_class_wxGridStringTable","_wxGridStringTable",0},
13593 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
13594 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
13595 { "_wxWindow","_class_wxWindow",0},
13596 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13597 {0,0,0}};
13598
13599 static PyObject *SWIG_globals;
13600 #ifdef __cplusplus
13601 extern "C"
13602 #endif
13603 SWIGEXPORT(void) initgridc() {
13604 PyObject *m, *d;
13605 SWIG_globals = SWIG_newvarlink();
13606 m = Py_InitModule("gridc", gridcMethods);
13607 d = PyModule_GetDict(m);
13608 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13609 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13610 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13611 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13612 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13613 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13614 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13615 PyDict_SetItemString(d,"cvar", SWIG_globals);
13616 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
13617 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
13618 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
13619 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
13620 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
13621 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
13622 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
13623 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
13624 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
13625 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
13626 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
13627 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
13628 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
13629 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
13630 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
13631 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
13632 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
13633 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
13634 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
13635 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
13636 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
13637 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
13638 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
13639 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
13640 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
13641
13642 wxClassInfo::CleanUpClasses();
13643 wxClassInfo::InitializeClasses();
13644 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
13645 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
13646 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
13647 {
13648 int i;
13649 for (i = 0; _swig_mapping[i].n1; i++)
13650 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13651 }
13652 }