]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/grid.cpp
patch from Dimitri fixing a few memory leaks and unTABbing the sources
[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 #include <wx/generic/gridctrl.h>
61
62
63 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
80
81 o2 = target;
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
84 Py_DECREF(o3);
85 }
86 return target;
87 }
88
89 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
90 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
91 wxGridCellAttr* rval = NULL; \
92 bool found; \
93 wxPyBeginBlockThreads(); \
94 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
95 PyObject* ro; \
96 wxGridCellAttr* ptr; \
97 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
98 if (ro) { \
99 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
100 rval = ptr; \
101 Py_DECREF(ro); \
102 } \
103 } \
104 wxPyEndBlockThreads(); \
105 if (! found) \
106 rval = PCLASS::CBNAME(a, b, c); \
107 return rval; \
108 } \
109 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
110 return PCLASS::CBNAME(a, b, c); \
111 }
112
113
114
115 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
116 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
117 wxPyBeginBlockThreads(); \
118 bool found; \
119 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
120 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
121 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
122 Py_DECREF(obj); \
123 } \
124 wxPyEndBlockThreads(); \
125 if (! found) \
126 PCLASS::CBNAME(attr, a, b); \
127 } \
128 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
129 PCLASS::CBNAME(attr, a, b); \
130 }
131
132
133
134 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
135 void CBNAME(wxGridCellAttr *attr, int val) { \
136 wxPyBeginBlockThreads(); \
137 bool found; \
138 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
139 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
140 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
141 Py_DECREF(obj); \
142 } \
143 wxPyEndBlockThreads(); \
144 if (! found) \
145 PCLASS::CBNAME(attr, val); \
146 } \
147 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
148 PCLASS::CBNAME(attr, val); \
149 }
150
151
152
153 #define PYCALLBACK_INT__pure(CBNAME) \
154 int CBNAME() { \
155 wxPyBeginBlockThreads(); \
156 int rval = 0; \
157 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
158 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
159 wxPyEndBlockThreads(); \
160 return rval; \
161 }
162
163
164
165 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
166 bool CBNAME(int a, int b) { \
167 wxPyBeginBlockThreads(); \
168 bool rval = 0; \
169 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
170 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
171 wxPyEndBlockThreads(); \
172 return rval; \
173 }
174
175
176 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
177 wxString CBNAME(int a, int b) { \
178 wxPyBeginBlockThreads(); \
179 wxString rval; \
180 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
181 PyObject* ro; \
182 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
183 if (ro) { \
184 rval = Py2wxString(ro); \
185 Py_DECREF(ro); \
186 } \
187 } \
188 wxPyEndBlockThreads(); \
189 return rval; \
190 }
191
192
193 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
194 void CBNAME(int a, int b, const wxString& c) { \
195 wxPyBeginBlockThreads(); \
196 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
197 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,wx2PyString(c)));\
198 wxPyEndBlockThreads(); \
199 }
200
201
202 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
203 wxString CBNAME(int a, int b) { \
204 bool found; \
205 wxPyBeginBlockThreads(); \
206 wxString rval; \
207 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
208 PyObject* ro; \
209 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
210 if (ro) { \
211 rval = Py2wxString(ro); \
212 Py_DECREF(ro); \
213 } \
214 } \
215 wxPyEndBlockThreads(); \
216 if (! found) \
217 rval = PCLASS::CBNAME(a, b); \
218 return rval; \
219 } \
220 wxString base_##CBNAME(int a, int b) { \
221 return PCLASS::CBNAME(a, b); \
222 }
223
224
225 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
226 bool CBNAME(int a, int b, const wxString& c) { \
227 bool rval = 0; \
228 bool found; \
229 wxPyBeginBlockThreads(); \
230 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
231 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", a,b,wx2PyString(c)));\
232 wxPyEndBlockThreads(); \
233 if (! found) \
234 rval = PCLASS::CBNAME(a,b,c); \
235 return rval; \
236 } \
237 bool base_##CBNAME(int a, int b, const wxString& c) { \
238 return PCLASS::CBNAME(a,b,c); \
239 }
240
241
242
243
244 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
245 long CBNAME(int a, int b) { \
246 long rval; \
247 bool found; \
248 wxPyBeginBlockThreads(); \
249 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
250 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
251 wxPyEndBlockThreads(); \
252 if (! found) \
253 rval = PCLASS::CBNAME(a,b); \
254 return rval; \
255 } \
256 long base_##CBNAME(int a, int b) { \
257 return PCLASS::CBNAME(a,b); \
258 }
259
260
261
262 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
263 bool CBNAME(int a, int b) { \
264 bool rval = 0; \
265 bool found; \
266 wxPyBeginBlockThreads(); \
267 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
268 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
269 wxPyEndBlockThreads(); \
270 if (! found) \
271 rval = PCLASS::CBNAME(a,b); \
272 return rval; \
273 } \
274 bool base_##CBNAME(int a, int b) { \
275 return PCLASS::CBNAME(a,b); \
276 }
277
278
279
280 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
281 double CBNAME(int a, int b) { \
282 bool found; \
283 wxPyBeginBlockThreads(); \
284 double rval; \
285 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
286 PyObject* ro; \
287 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
288 if (ro) { \
289 PyObject* str = PyObject_Str(ro); \
290 rval = PyFloat_AsDouble(str); \
291 Py_DECREF(ro); Py_DECREF(str); \
292 } \
293 } \
294 wxPyEndBlockThreads(); \
295 if (! found) \
296 rval = PCLASS::CBNAME(a, b); \
297 return rval; \
298 } \
299 double base_##CBNAME(int a, int b) { \
300 return PCLASS::CBNAME(a, b); \
301 }
302
303
304
305 #define PYCALLBACK__(PCLASS, CBNAME) \
306 void CBNAME() { \
307 bool found; \
308 wxPyBeginBlockThreads(); \
309 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
310 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
311 wxPyEndBlockThreads(); \
312 if (! found) \
313 PCLASS::CBNAME(); \
314 } \
315 void base_##CBNAME() { \
316 PCLASS::CBNAME(); \
317 }
318
319
320
321
322 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
323 bool CBNAME(size_t a, size_t b) { \
324 bool rval = 0; \
325 bool found; \
326 wxPyBeginBlockThreads(); \
327 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
328 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
329 wxPyEndBlockThreads(); \
330 if (! found) \
331 rval = PCLASS::CBNAME(a,b); \
332 return rval; \
333 } \
334 bool base_##CBNAME(size_t a, size_t b) { \
335 return PCLASS::CBNAME(a,b); \
336 }
337
338
339
340 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
341 bool CBNAME(size_t a) { \
342 bool rval = 0; \
343 bool found; \
344 wxPyBeginBlockThreads(); \
345 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
346 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
347 wxPyEndBlockThreads(); \
348 if (! found) \
349 rval = PCLASS::CBNAME(a); \
350 return rval; \
351 } \
352 bool base_##CBNAME(size_t a) { \
353 return PCLASS::CBNAME(a); \
354 }
355
356
357 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
358 wxString CBNAME(int a) { \
359 bool found; \
360 wxPyBeginBlockThreads(); \
361 wxString rval; \
362 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
363 PyObject* ro; \
364 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
365 if (ro) { \
366 rval = Py2wxString(ro); \
367 Py_DECREF(ro); \
368 } \
369 } \
370 wxPyEndBlockThreads(); \
371 if (! found) \
372 rval = PCLASS::CBNAME(a); \
373 return rval; \
374 } \
375 wxString base_##CBNAME(int a) { \
376 return PCLASS::CBNAME(a); \
377 }
378
379
380 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
381 void CBNAME(int a, const wxString& c) { \
382 bool found; \
383 wxPyBeginBlockThreads(); \
384 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
385 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", a, wx2PyString(c))); \
386 wxPyEndBlockThreads(); \
387 if (! found) \
388 PCLASS::CBNAME(a,c); \
389 } \
390 void base_##CBNAME(int a, const wxString& c) { \
391 PCLASS::CBNAME(a,c); \
392 }
393
394
395
396
397 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
398 bool CBNAME() { \
399 bool rval = 0; \
400 bool found; \
401 wxPyBeginBlockThreads(); \
402 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
403 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
404 wxPyEndBlockThreads(); \
405 if (! found) \
406 rval = PCLASS::CBNAME(); \
407 return rval; \
408 } \
409 bool base_##CBNAME() { \
410 return PCLASS::CBNAME(); \
411 }
412
413
414
415 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
416 void CBNAME(size_t a, int b) { \
417 bool found; \
418 wxPyBeginBlockThreads(); \
419 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
420 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
421 wxPyEndBlockThreads(); \
422 if (! found) \
423 PCLASS::CBNAME(a,b); \
424 } \
425 void base_##CBNAME(size_t a, int b) { \
426 PCLASS::CBNAME(a,b); \
427 }
428
429
430
431
432 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
433 void CBNAME(int a, int b, long c) { \
434 bool found; \
435 wxPyBeginBlockThreads(); \
436 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
437 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
438 wxPyEndBlockThreads(); \
439 if (! found) \
440 PCLASS::CBNAME(a,b,c); \
441 } \
442 void base_##CBNAME(int a, int b, long c) { \
443 PCLASS::CBNAME(a,b,c); \
444 }
445
446
447
448
449 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
450 void CBNAME(int a, int b, double c) { \
451 bool found; \
452 wxPyBeginBlockThreads(); \
453 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
454 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
455 wxPyEndBlockThreads(); \
456 if (! found) \
457 PCLASS::CBNAME(a,b,c); \
458 } \
459 void base_##CBNAME(int a, int b, double c) { \
460 PCLASS::CBNAME(a,b,c); \
461 }
462
463
464
465 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
466 void CBNAME(int a, int b, bool c) { \
467 bool found; \
468 wxPyBeginBlockThreads(); \
469 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
470 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
471 wxPyEndBlockThreads(); \
472 if (! found) \
473 PCLASS::CBNAME(a,b,c); \
474 } \
475 void base_##CBNAME(int a, int b, bool c) { \
476 PCLASS::CBNAME(a,b,c); \
477 }
478
479
480
481
482
483 class wxPyGridCellRenderer : public wxGridCellRenderer
484 {
485 public:
486 wxPyGridCellRenderer() : wxGridCellRenderer() {};
487
488 // Implement Python callback aware virtual methods
489 void Draw(wxGrid& grid, wxGridCellAttr& attr,
490 wxDC& dc, const wxRect& rect,
491 int row, int col, bool isSelected) {
492 wxPyBeginBlockThreads();
493 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
494 wxPyCBH_callCallback(m_myInst,
495 Py_BuildValue("(OOOOiii)",
496 wxPyConstructObject((void*)&grid, "wxGrid", 0),
497 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
498 wxPyConstructObject((void*)&dc, "wxDC", 0),
499 wxPyConstructObject((void*)&rect, "wxRect", 0),
500 row, col, isSelected));
501 }
502 wxPyEndBlockThreads();
503 }
504
505 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
506 int row, int col) {
507 wxSize rval;
508 wxPyBeginBlockThreads();
509 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
510 PyObject* ro;
511 wxSize* ptr;
512 ro = wxPyCBH_callCallbackObj(m_myInst,
513 Py_BuildValue("(OOOii)",
514 wxPyConstructObject((void*)&grid, "wxGrid", 0),
515 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
516 wxPyConstructObject((void*)&dc, "wxDC", 0),
517 row, col));
518 if (ro) {
519 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
520 rval = *ptr;
521 Py_DECREF(ro);
522 }
523 }
524 wxPyEndBlockThreads();
525 return rval;
526 }
527
528
529 wxGridCellRenderer *Clone() const {
530 wxGridCellRenderer* rval = NULL;
531 wxPyBeginBlockThreads();
532 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
533 PyObject* ro;
534 wxGridCellRenderer* ptr;
535 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
536 if (ro) {
537 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
538 rval = ptr;
539 Py_DECREF(ro);
540 }
541 }
542 wxPyEndBlockThreads();
543 return rval;
544 }
545
546 DEC_PYCALLBACK__STRING(SetParameters);
547
548 PYPRIVATE;
549 };
550
551 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
552
553
554 class wxPyGridCellEditor : public wxGridCellEditor
555 {
556 public:
557 wxPyGridCellEditor() : wxGridCellEditor() {}
558
559 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
560 wxPyBeginBlockThreads();
561 if (wxPyCBH_findCallback(m_myInst, "Create")) {
562 wxPyCBH_callCallback(m_myInst,
563 Py_BuildValue("(OiO)",
564 wxPyConstructObject((void*)parent, "wxWindow", 0),
565 id,
566 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
567 }
568 wxPyEndBlockThreads();
569 }
570
571
572 void BeginEdit(int row, int col, wxGrid* grid) {
573 wxPyBeginBlockThreads();
574 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
575 wxPyCBH_callCallback(m_myInst,
576 Py_BuildValue("(iiO)", row, col,
577 wxPyConstructObject((void*)grid, "wxGrid", 0)));
578 }
579 wxPyEndBlockThreads();
580 }
581
582
583 bool EndEdit(int row, int col, wxGrid* grid) {
584 bool rv = FALSE;
585 wxPyBeginBlockThreads();
586 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
587 rv = wxPyCBH_callCallback(m_myInst,
588 Py_BuildValue("(iiO)", row, col,
589 wxPyConstructObject((void*)grid, "wxGrid", 0)));
590 }
591 wxPyEndBlockThreads();
592 return rv;
593 }
594
595
596 wxGridCellEditor*Clone() const {
597 wxGridCellEditor* rval = NULL;
598 wxPyBeginBlockThreads();
599 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
600 PyObject* ro;
601 wxGridCellEditor* ptr;
602 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
603 if (ro) {
604 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
605 rval = ptr;
606 Py_DECREF(ro);
607 }
608 }
609 wxPyEndBlockThreads();
610 return rval;
611 }
612
613
614 void Show(bool show, wxGridCellAttr *attr) {
615 bool found;
616 wxPyBeginBlockThreads();
617 if ((found = wxPyCBH_findCallback(m_myInst, "Show")))
618 wxPyCBH_callCallback(m_myInst,
619 Py_BuildValue("(iO)", show,
620 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
621 wxPyEndBlockThreads();
622 if (! found)
623 wxGridCellEditor::Show(show, attr);
624 }
625 void base_Show(bool show, wxGridCellAttr *attr) {
626 wxGridCellEditor::Show(show, attr);
627 }
628
629
630 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
631 bool found; \
632 wxPyBeginBlockThreads();
633 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)")))
634 wxPyCBH_callCallback(m_myInst,
635 Py_BuildValue("(OO)",
636 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
637 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
638 wxPyEndBlockThreads();
639 if (! found)
640 wxGridCellEditor::PaintBackground(rectCell, attr);
641 }
642 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
643 wxGridCellEditor::PaintBackground(rectCell, attr);
644 }
645
646
647 DEC_PYCALLBACK___pure(Reset);
648 DEC_PYCALLBACK__constany(SetSize, wxRect);
649 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
650 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
651 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
652 DEC_PYCALLBACK__(StartingClick);
653 DEC_PYCALLBACK__(Destroy);
654 DEC_PYCALLBACK__STRING(SetParameters);
655
656 PYPRIVATE;
657 };
658
659
660 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
661 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
662 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
663 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
664 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
665 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
666 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
667 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
668
669
670 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
671 {
672 public:
673 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
674
675 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
676 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
677 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
678 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
679
680 PYPRIVATE;
681 };
682
683 class wxPyGridTableBase : public wxGridTableBase
684 {
685 public:
686 wxPyGridTableBase() : wxGridTableBase() {}
687
688 PYCALLBACK_INT__pure(GetNumberRows);
689 PYCALLBACK_INT__pure(GetNumberCols);
690 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
691 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
692 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
693 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
694 PYCALLBACK__(wxGridTableBase, Clear);
695 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
696 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
697 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
698 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
699 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
700 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
701 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
702 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
703 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
704 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
705 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
706 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
707 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
708 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
709 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
710
711
712 wxString GetValue(int row, int col) {
713 wxPyBeginBlockThreads();
714 wxString rval;
715 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
716 PyObject* ro;
717 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
718 if (ro) {
719 rval = Py2wxString(ro);
720 Py_DECREF(ro);
721 }
722 }
723 wxPyEndBlockThreads();
724 return rval;
725 }
726
727 void SetValue(int row, int col, const wxString& val) {
728 wxPyBeginBlockThreads();
729 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
730 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,wx2PyString(val)));
731 }
732 wxPyEndBlockThreads();
733 }
734
735
736 // Map the Get/Set methods for the standard non-string types to
737 // the GetValue and SetValue python methods.
738 long GetValueAsLong( int row, int col ) {
739 long rval = 0;
740 wxPyBeginBlockThreads();
741 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
742 PyObject* ro;
743 PyObject* num;
744 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
745 if (ro && PyNumber_Check(ro)) {
746 num = PyNumber_Int(ro);
747 if (num) {
748 rval = PyInt_AsLong(num);
749 Py_DECREF(num);
750 }
751 Py_DECREF(ro);
752 }
753 }
754 wxPyEndBlockThreads();
755 return rval;
756 }
757
758 double GetValueAsDouble( int row, int col ) {
759 double rval = 0.0;
760 wxPyBeginBlockThreads();
761 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
762 PyObject* ro;
763 PyObject* num;
764 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
765 if (ro && PyNumber_Check(ro)) {
766 num = PyNumber_Float(ro);
767 if (num) {
768 rval = PyFloat_AsDouble(num);
769 Py_DECREF(num);
770 }
771 Py_DECREF(ro);
772 }
773 }
774 wxPyEndBlockThreads();
775 return rval;
776 }
777
778 bool GetValueAsBool( int row, int col ) {
779 return (bool)GetValueAsLong(row, col);
780 }
781
782 void SetValueAsLong( int row, int col, long value ) {
783 wxPyBeginBlockThreads();
784 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
785 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
786 }
787 wxPyEndBlockThreads();
788 }
789
790 void SetValueAsDouble( int row, int col, double value ) {
791 wxPyBeginBlockThreads();
792 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
793 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
794 }
795 wxPyEndBlockThreads();
796 }
797
798 void SetValueAsBool( int row, int col, bool value ) {
799 SetValueAsLong( row, col, (long)value );
800 }
801
802
803 PYPRIVATE;
804 };
805
806 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
807
808 // If source is an object instance then it may already be the right type
809 if (PyInstance_Check(source)) {
810 wxGridCellCoords* ptr;
811 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
812 goto error;
813 *obj = ptr;
814 return TRUE;
815 }
816 // otherwise a 2-tuple of integers is expected
817 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
818 PyObject* o1 = PySequence_GetItem(source, 0);
819 PyObject* o2 = PySequence_GetItem(source, 1);
820 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
821 return TRUE;
822 }
823
824 error:
825 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
826 return FALSE;
827 }
828
829 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
830 #ifdef __cplusplus
831 extern "C" {
832 #endif
833 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
834
835 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
836 return 1;
837 }
838
839 static PyObject *_wrap_wxGridNoCellCoords_get() {
840 PyObject * pyobj;
841 char ptemp[128];
842
843 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
844 pyobj = PyString_FromString(ptemp);
845 return pyobj;
846 }
847
848 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
849
850 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
851 return 1;
852 }
853
854 static PyObject *_wrap_wxGridNoCellRect_get() {
855 PyObject * pyobj;
856 char ptemp[128];
857
858 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
859 pyobj = PyString_FromString(ptemp);
860 return pyobj;
861 }
862
863 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
864 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
865 PyObject * _resultobj;
866 wxGridCellRenderer * _arg0;
867 wxString * _arg1;
868 PyObject * _argo0 = 0;
869 PyObject * _obj1 = 0;
870 char *_kwnames[] = { "self","params", NULL };
871
872 self = self;
873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
874 return NULL;
875 if (_argo0) {
876 if (_argo0 == Py_None) { _arg0 = NULL; }
877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
879 return NULL;
880 }
881 }
882 {
883 _arg1 = wxString_in_helper(_obj1);
884 if (_arg1 == NULL)
885 return NULL;
886 }
887 {
888 PyThreadState* __tstate = wxPyBeginAllowThreads();
889 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
890
891 wxPyEndAllowThreads(__tstate);
892 if (PyErr_Occurred()) return NULL;
893 } Py_INCREF(Py_None);
894 _resultobj = Py_None;
895 {
896 if (_obj1)
897 delete _arg1;
898 }
899 return _resultobj;
900 }
901
902 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
903 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
904 PyObject * _resultobj;
905 wxGridCellRenderer * _arg0;
906 PyObject * _argo0 = 0;
907 char *_kwnames[] = { "self", NULL };
908
909 self = self;
910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
911 return NULL;
912 if (_argo0) {
913 if (_argo0 == Py_None) { _arg0 = NULL; }
914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
916 return NULL;
917 }
918 }
919 {
920 PyThreadState* __tstate = wxPyBeginAllowThreads();
921 wxGridCellRenderer_IncRef(_arg0);
922
923 wxPyEndAllowThreads(__tstate);
924 if (PyErr_Occurred()) return NULL;
925 } Py_INCREF(Py_None);
926 _resultobj = Py_None;
927 return _resultobj;
928 }
929
930 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
931 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
932 PyObject * _resultobj;
933 wxGridCellRenderer * _arg0;
934 PyObject * _argo0 = 0;
935 char *_kwnames[] = { "self", NULL };
936
937 self = self;
938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
939 return NULL;
940 if (_argo0) {
941 if (_argo0 == Py_None) { _arg0 = NULL; }
942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
944 return NULL;
945 }
946 }
947 {
948 PyThreadState* __tstate = wxPyBeginAllowThreads();
949 wxGridCellRenderer_DecRef(_arg0);
950
951 wxPyEndAllowThreads(__tstate);
952 if (PyErr_Occurred()) return NULL;
953 } Py_INCREF(Py_None);
954 _resultobj = Py_None;
955 return _resultobj;
956 }
957
958 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
959 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
960 PyObject * _resultobj;
961 wxGridCellRenderer * _arg0;
962 wxGrid * _arg1;
963 wxGridCellAttr * _arg2;
964 wxDC * _arg3;
965 wxRect * _arg4;
966 int _arg5;
967 int _arg6;
968 bool _arg7;
969 PyObject * _argo0 = 0;
970 PyObject * _argo1 = 0;
971 PyObject * _argo2 = 0;
972 PyObject * _argo3 = 0;
973 wxRect temp;
974 PyObject * _obj4 = 0;
975 int tempbool7;
976 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
977
978 self = self;
979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
980 return NULL;
981 if (_argo0) {
982 if (_argo0 == Py_None) { _arg0 = NULL; }
983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
985 return NULL;
986 }
987 }
988 if (_argo1) {
989 if (_argo1 == Py_None) { _arg1 = NULL; }
990 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
991 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
992 return NULL;
993 }
994 }
995 if (_argo2) {
996 if (_argo2 == Py_None) { _arg2 = NULL; }
997 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
998 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
999 return NULL;
1000 }
1001 }
1002 if (_argo3) {
1003 if (_argo3 == Py_None) { _arg3 = NULL; }
1004 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1005 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1006 return NULL;
1007 }
1008 }
1009 {
1010 _arg4 = &temp;
1011 if (! wxRect_helper(_obj4, &_arg4))
1012 return NULL;
1013 }
1014 _arg7 = (bool ) tempbool7;
1015 {
1016 PyThreadState* __tstate = wxPyBeginAllowThreads();
1017 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1018
1019 wxPyEndAllowThreads(__tstate);
1020 if (PyErr_Occurred()) return NULL;
1021 } Py_INCREF(Py_None);
1022 _resultobj = Py_None;
1023 return _resultobj;
1024 }
1025
1026 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1027 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1028 PyObject * _resultobj;
1029 wxSize * _result;
1030 wxGridCellRenderer * _arg0;
1031 wxGrid * _arg1;
1032 wxGridCellAttr * _arg2;
1033 wxDC * _arg3;
1034 int _arg4;
1035 int _arg5;
1036 PyObject * _argo0 = 0;
1037 PyObject * _argo1 = 0;
1038 PyObject * _argo2 = 0;
1039 PyObject * _argo3 = 0;
1040 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1041 char _ptemp[128];
1042
1043 self = self;
1044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1045 return NULL;
1046 if (_argo0) {
1047 if (_argo0 == Py_None) { _arg0 = NULL; }
1048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1050 return NULL;
1051 }
1052 }
1053 if (_argo1) {
1054 if (_argo1 == Py_None) { _arg1 = NULL; }
1055 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1056 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1057 return NULL;
1058 }
1059 }
1060 if (_argo2) {
1061 if (_argo2 == Py_None) { _arg2 = NULL; }
1062 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1063 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1064 return NULL;
1065 }
1066 }
1067 if (_argo3) {
1068 if (_argo3 == Py_None) { _arg3 = NULL; }
1069 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1070 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1071 return NULL;
1072 }
1073 }
1074 {
1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
1076 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1077
1078 wxPyEndAllowThreads(__tstate);
1079 if (PyErr_Occurred()) return NULL;
1080 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1081 _resultobj = Py_BuildValue("s",_ptemp);
1082 return _resultobj;
1083 }
1084
1085 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1086 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1087 PyObject * _resultobj;
1088 wxGridCellRenderer * _result;
1089 wxGridCellRenderer * _arg0;
1090 PyObject * _argo0 = 0;
1091 char *_kwnames[] = { "self", NULL };
1092 char _ptemp[128];
1093
1094 self = self;
1095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1096 return NULL;
1097 if (_argo0) {
1098 if (_argo0 == Py_None) { _arg0 = NULL; }
1099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1101 return NULL;
1102 }
1103 }
1104 {
1105 PyThreadState* __tstate = wxPyBeginAllowThreads();
1106 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1107
1108 wxPyEndAllowThreads(__tstate);
1109 if (PyErr_Occurred()) return NULL;
1110 } if (_result) {
1111 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1112 _resultobj = Py_BuildValue("s",_ptemp);
1113 } else {
1114 Py_INCREF(Py_None);
1115 _resultobj = Py_None;
1116 }
1117 return _resultobj;
1118 }
1119
1120 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1121 wxPyGridCellRenderer *src;
1122 wxGridCellRenderer *dest;
1123 src = (wxPyGridCellRenderer *) ptr;
1124 dest = (wxGridCellRenderer *) src;
1125 return (void *) dest;
1126 }
1127
1128 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1129 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1130 PyObject * _resultobj;
1131 wxPyGridCellRenderer * _result;
1132 char *_kwnames[] = { NULL };
1133 char _ptemp[128];
1134
1135 self = self;
1136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1137 return NULL;
1138 {
1139 PyThreadState* __tstate = wxPyBeginAllowThreads();
1140 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1141
1142 wxPyEndAllowThreads(__tstate);
1143 if (PyErr_Occurred()) return NULL;
1144 } if (_result) {
1145 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1146 _resultobj = Py_BuildValue("s",_ptemp);
1147 } else {
1148 Py_INCREF(Py_None);
1149 _resultobj = Py_None;
1150 }
1151 return _resultobj;
1152 }
1153
1154 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1155 static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1156 PyObject * _resultobj;
1157 wxPyGridCellRenderer * _arg0;
1158 PyObject * _arg1;
1159 PyObject * _arg2;
1160 PyObject * _argo0 = 0;
1161 PyObject * _obj1 = 0;
1162 PyObject * _obj2 = 0;
1163 char *_kwnames[] = { "self","self","_class", NULL };
1164
1165 self = self;
1166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1167 return NULL;
1168 if (_argo0) {
1169 if (_argo0 == Py_None) { _arg0 = NULL; }
1170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1172 return NULL;
1173 }
1174 }
1175 {
1176 _arg1 = _obj1;
1177 }
1178 {
1179 _arg2 = _obj2;
1180 }
1181 {
1182 PyThreadState* __tstate = wxPyBeginAllowThreads();
1183 wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2);
1184
1185 wxPyEndAllowThreads(__tstate);
1186 if (PyErr_Occurred()) return NULL;
1187 } Py_INCREF(Py_None);
1188 _resultobj = Py_None;
1189 return _resultobj;
1190 }
1191
1192 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1193 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1194 PyObject * _resultobj;
1195 wxPyGridCellRenderer * _arg0;
1196 wxString * _arg1;
1197 PyObject * _argo0 = 0;
1198 PyObject * _obj1 = 0;
1199 char *_kwnames[] = { "self","params", NULL };
1200
1201 self = self;
1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1203 return NULL;
1204 if (_argo0) {
1205 if (_argo0 == Py_None) { _arg0 = NULL; }
1206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1208 return NULL;
1209 }
1210 }
1211 {
1212 _arg1 = wxString_in_helper(_obj1);
1213 if (_arg1 == NULL)
1214 return NULL;
1215 }
1216 {
1217 PyThreadState* __tstate = wxPyBeginAllowThreads();
1218 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1219
1220 wxPyEndAllowThreads(__tstate);
1221 if (PyErr_Occurred()) return NULL;
1222 } Py_INCREF(Py_None);
1223 _resultobj = Py_None;
1224 {
1225 if (_obj1)
1226 delete _arg1;
1227 }
1228 return _resultobj;
1229 }
1230
1231 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1232 wxGridCellStringRenderer *src;
1233 wxGridCellRenderer *dest;
1234 src = (wxGridCellStringRenderer *) ptr;
1235 dest = (wxGridCellRenderer *) src;
1236 return (void *) dest;
1237 }
1238
1239 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1240 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1241 PyObject * _resultobj;
1242 wxGridCellStringRenderer * _result;
1243 char *_kwnames[] = { NULL };
1244 char _ptemp[128];
1245
1246 self = self;
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1248 return NULL;
1249 {
1250 PyThreadState* __tstate = wxPyBeginAllowThreads();
1251 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1252
1253 wxPyEndAllowThreads(__tstate);
1254 if (PyErr_Occurred()) return NULL;
1255 } if (_result) {
1256 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1257 _resultobj = Py_BuildValue("s",_ptemp);
1258 } else {
1259 Py_INCREF(Py_None);
1260 _resultobj = Py_None;
1261 }
1262 return _resultobj;
1263 }
1264
1265 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1266 wxGridCellNumberRenderer *src;
1267 wxGridCellStringRenderer *dest;
1268 src = (wxGridCellNumberRenderer *) ptr;
1269 dest = (wxGridCellStringRenderer *) src;
1270 return (void *) dest;
1271 }
1272
1273 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1274 wxGridCellNumberRenderer *src;
1275 wxGridCellRenderer *dest;
1276 src = (wxGridCellNumberRenderer *) ptr;
1277 dest = (wxGridCellRenderer *) src;
1278 return (void *) dest;
1279 }
1280
1281 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1282 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1283 PyObject * _resultobj;
1284 wxGridCellNumberRenderer * _result;
1285 char *_kwnames[] = { NULL };
1286 char _ptemp[128];
1287
1288 self = self;
1289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1290 return NULL;
1291 {
1292 PyThreadState* __tstate = wxPyBeginAllowThreads();
1293 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1294
1295 wxPyEndAllowThreads(__tstate);
1296 if (PyErr_Occurred()) return NULL;
1297 } if (_result) {
1298 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1299 _resultobj = Py_BuildValue("s",_ptemp);
1300 } else {
1301 Py_INCREF(Py_None);
1302 _resultobj = Py_None;
1303 }
1304 return _resultobj;
1305 }
1306
1307 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1308 wxGridCellFloatRenderer *src;
1309 wxGridCellStringRenderer *dest;
1310 src = (wxGridCellFloatRenderer *) ptr;
1311 dest = (wxGridCellStringRenderer *) src;
1312 return (void *) dest;
1313 }
1314
1315 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1316 wxGridCellFloatRenderer *src;
1317 wxGridCellRenderer *dest;
1318 src = (wxGridCellFloatRenderer *) ptr;
1319 dest = (wxGridCellRenderer *) src;
1320 return (void *) dest;
1321 }
1322
1323 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1324 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject * _resultobj;
1326 wxGridCellFloatRenderer * _result;
1327 int _arg0 = (int ) -1;
1328 int _arg1 = (int ) -1;
1329 char *_kwnames[] = { "width","precision", NULL };
1330 char _ptemp[128];
1331
1332 self = self;
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1334 return NULL;
1335 {
1336 PyThreadState* __tstate = wxPyBeginAllowThreads();
1337 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1338
1339 wxPyEndAllowThreads(__tstate);
1340 if (PyErr_Occurred()) return NULL;
1341 } if (_result) {
1342 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1343 _resultobj = Py_BuildValue("s",_ptemp);
1344 } else {
1345 Py_INCREF(Py_None);
1346 _resultobj = Py_None;
1347 }
1348 return _resultobj;
1349 }
1350
1351 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1352 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1353 PyObject * _resultobj;
1354 int _result;
1355 wxGridCellFloatRenderer * _arg0;
1356 PyObject * _argo0 = 0;
1357 char *_kwnames[] = { "self", NULL };
1358
1359 self = self;
1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1361 return NULL;
1362 if (_argo0) {
1363 if (_argo0 == Py_None) { _arg0 = NULL; }
1364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1366 return NULL;
1367 }
1368 }
1369 {
1370 PyThreadState* __tstate = wxPyBeginAllowThreads();
1371 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1372
1373 wxPyEndAllowThreads(__tstate);
1374 if (PyErr_Occurred()) return NULL;
1375 } _resultobj = Py_BuildValue("i",_result);
1376 return _resultobj;
1377 }
1378
1379 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1380 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject * _resultobj;
1382 wxGridCellFloatRenderer * _arg0;
1383 int _arg1;
1384 PyObject * _argo0 = 0;
1385 char *_kwnames[] = { "self","width", NULL };
1386
1387 self = self;
1388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1389 return NULL;
1390 if (_argo0) {
1391 if (_argo0 == Py_None) { _arg0 = NULL; }
1392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1394 return NULL;
1395 }
1396 }
1397 {
1398 PyThreadState* __tstate = wxPyBeginAllowThreads();
1399 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1400
1401 wxPyEndAllowThreads(__tstate);
1402 if (PyErr_Occurred()) return NULL;
1403 } Py_INCREF(Py_None);
1404 _resultobj = Py_None;
1405 return _resultobj;
1406 }
1407
1408 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1409 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1410 PyObject * _resultobj;
1411 int _result;
1412 wxGridCellFloatRenderer * _arg0;
1413 PyObject * _argo0 = 0;
1414 char *_kwnames[] = { "self", NULL };
1415
1416 self = self;
1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1418 return NULL;
1419 if (_argo0) {
1420 if (_argo0 == Py_None) { _arg0 = NULL; }
1421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1423 return NULL;
1424 }
1425 }
1426 {
1427 PyThreadState* __tstate = wxPyBeginAllowThreads();
1428 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1429
1430 wxPyEndAllowThreads(__tstate);
1431 if (PyErr_Occurred()) return NULL;
1432 } _resultobj = Py_BuildValue("i",_result);
1433 return _resultobj;
1434 }
1435
1436 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1437 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1438 PyObject * _resultobj;
1439 wxGridCellFloatRenderer * _arg0;
1440 int _arg1;
1441 PyObject * _argo0 = 0;
1442 char *_kwnames[] = { "self","precision", NULL };
1443
1444 self = self;
1445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1446 return NULL;
1447 if (_argo0) {
1448 if (_argo0 == Py_None) { _arg0 = NULL; }
1449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1451 return NULL;
1452 }
1453 }
1454 {
1455 PyThreadState* __tstate = wxPyBeginAllowThreads();
1456 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1457
1458 wxPyEndAllowThreads(__tstate);
1459 if (PyErr_Occurred()) return NULL;
1460 } Py_INCREF(Py_None);
1461 _resultobj = Py_None;
1462 return _resultobj;
1463 }
1464
1465 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1466 wxGridCellBoolRenderer *src;
1467 wxGridCellRenderer *dest;
1468 src = (wxGridCellBoolRenderer *) ptr;
1469 dest = (wxGridCellRenderer *) src;
1470 return (void *) dest;
1471 }
1472
1473 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1474 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1475 PyObject * _resultobj;
1476 wxGridCellBoolRenderer * _result;
1477 char *_kwnames[] = { NULL };
1478 char _ptemp[128];
1479
1480 self = self;
1481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1482 return NULL;
1483 {
1484 PyThreadState* __tstate = wxPyBeginAllowThreads();
1485 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1486
1487 wxPyEndAllowThreads(__tstate);
1488 if (PyErr_Occurred()) return NULL;
1489 } if (_result) {
1490 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1491 _resultobj = Py_BuildValue("s",_ptemp);
1492 } else {
1493 Py_INCREF(Py_None);
1494 _resultobj = Py_None;
1495 }
1496 return _resultobj;
1497 }
1498
1499 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) {
1500 wxGridCellDateTimeRenderer *src;
1501 wxGridCellStringRenderer *dest;
1502 src = (wxGridCellDateTimeRenderer *) ptr;
1503 dest = (wxGridCellStringRenderer *) src;
1504 return (void *) dest;
1505 }
1506
1507 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) {
1508 wxGridCellDateTimeRenderer *src;
1509 wxGridCellRenderer *dest;
1510 src = (wxGridCellDateTimeRenderer *) ptr;
1511 dest = (wxGridCellRenderer *) src;
1512 return (void *) dest;
1513 }
1514
1515 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1516 static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject * _resultobj;
1518 wxGridCellDateTimeRenderer * _result;
1519 wxString * _arg0 = (wxString *) &"%c";
1520 wxString * _arg1 = (wxString *) &"%c";
1521 PyObject * _obj0 = 0;
1522 PyObject * _obj1 = 0;
1523 char *_kwnames[] = { "outformat","informat", NULL };
1524 char _ptemp[128];
1525
1526 self = self;
1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1))
1528 return NULL;
1529 if (_obj0)
1530 {
1531 _arg0 = wxString_in_helper(_obj0);
1532 if (_arg0 == NULL)
1533 return NULL;
1534 }
1535 if (_obj1)
1536 {
1537 _arg1 = wxString_in_helper(_obj1);
1538 if (_arg1 == NULL)
1539 return NULL;
1540 }
1541 {
1542 PyThreadState* __tstate = wxPyBeginAllowThreads();
1543 _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1);
1544
1545 wxPyEndAllowThreads(__tstate);
1546 if (PyErr_Occurred()) return NULL;
1547 } if (_result) {
1548 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p");
1549 _resultobj = Py_BuildValue("s",_ptemp);
1550 } else {
1551 Py_INCREF(Py_None);
1552 _resultobj = Py_None;
1553 }
1554 {
1555 if (_obj0)
1556 delete _arg0;
1557 }
1558 {
1559 if (_obj1)
1560 delete _arg1;
1561 }
1562 return _resultobj;
1563 }
1564
1565 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) {
1566 wxGridCellEnumRenderer *src;
1567 wxGridCellStringRenderer *dest;
1568 src = (wxGridCellEnumRenderer *) ptr;
1569 dest = (wxGridCellStringRenderer *) src;
1570 return (void *) dest;
1571 }
1572
1573 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) {
1574 wxGridCellEnumRenderer *src;
1575 wxGridCellRenderer *dest;
1576 src = (wxGridCellEnumRenderer *) ptr;
1577 dest = (wxGridCellRenderer *) src;
1578 return (void *) dest;
1579 }
1580
1581 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1582 static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject * _resultobj;
1584 wxGridCellEnumRenderer * _result;
1585 wxString * _arg0 = (wxString *) &"";
1586 PyObject * _obj0 = 0;
1587 char *_kwnames[] = { "choices", NULL };
1588 char _ptemp[128];
1589
1590 self = self;
1591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0))
1592 return NULL;
1593 if (_obj0)
1594 {
1595 _arg0 = wxString_LIST_helper(_obj0);
1596 if (_arg0 == NULL) {
1597 return NULL;
1598 }
1599 }
1600 {
1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
1602 _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0);
1603
1604 wxPyEndAllowThreads(__tstate);
1605 if (PyErr_Occurred()) return NULL;
1606 } if (_result) {
1607 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p");
1608 _resultobj = Py_BuildValue("s",_ptemp);
1609 } else {
1610 Py_INCREF(Py_None);
1611 _resultobj = Py_None;
1612 }
1613 {
1614 delete [] _arg0;
1615 }
1616 return _resultobj;
1617 }
1618
1619 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) {
1620 wxGridCellAutoWrapStringRenderer *src;
1621 wxGridCellStringRenderer *dest;
1622 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1623 dest = (wxGridCellStringRenderer *) src;
1624 return (void *) dest;
1625 }
1626
1627 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) {
1628 wxGridCellAutoWrapStringRenderer *src;
1629 wxGridCellRenderer *dest;
1630 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1631 dest = (wxGridCellRenderer *) src;
1632 return (void *) dest;
1633 }
1634
1635 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1636 static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1637 PyObject * _resultobj;
1638 wxGridCellAutoWrapStringRenderer * _result;
1639 char *_kwnames[] = { NULL };
1640 char _ptemp[128];
1641
1642 self = self;
1643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames))
1644 return NULL;
1645 {
1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
1647 _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer();
1648
1649 wxPyEndAllowThreads(__tstate);
1650 if (PyErr_Occurred()) return NULL;
1651 } if (_result) {
1652 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p");
1653 _resultobj = Py_BuildValue("s",_ptemp);
1654 } else {
1655 Py_INCREF(Py_None);
1656 _resultobj = Py_None;
1657 }
1658 return _resultobj;
1659 }
1660
1661 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1662 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1663 PyObject * _resultobj;
1664 bool _result;
1665 wxGridCellEditor * _arg0;
1666 PyObject * _argo0 = 0;
1667 char *_kwnames[] = { "self", NULL };
1668
1669 self = self;
1670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1671 return NULL;
1672 if (_argo0) {
1673 if (_argo0 == Py_None) { _arg0 = NULL; }
1674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1676 return NULL;
1677 }
1678 }
1679 {
1680 PyThreadState* __tstate = wxPyBeginAllowThreads();
1681 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1682
1683 wxPyEndAllowThreads(__tstate);
1684 if (PyErr_Occurred()) return NULL;
1685 } _resultobj = Py_BuildValue("i",_result);
1686 return _resultobj;
1687 }
1688
1689 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1690 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject * _resultobj;
1692 wxControl * _result;
1693 wxGridCellEditor * _arg0;
1694 PyObject * _argo0 = 0;
1695 char *_kwnames[] = { "self", NULL };
1696
1697 self = self;
1698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1699 return NULL;
1700 if (_argo0) {
1701 if (_argo0 == Py_None) { _arg0 = NULL; }
1702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1704 return NULL;
1705 }
1706 }
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) return NULL;
1713 }{ _resultobj = wxPyMake_wxObject(_result); }
1714 return _resultobj;
1715 }
1716
1717 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1718 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1719 PyObject * _resultobj;
1720 wxGridCellEditor * _arg0;
1721 wxControl * _arg1;
1722 PyObject * _argo0 = 0;
1723 PyObject * _argo1 = 0;
1724 char *_kwnames[] = { "self","control", NULL };
1725
1726 self = self;
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1728 return NULL;
1729 if (_argo0) {
1730 if (_argo0 == Py_None) { _arg0 = NULL; }
1731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1733 return NULL;
1734 }
1735 }
1736 if (_argo1) {
1737 if (_argo1 == Py_None) { _arg1 = NULL; }
1738 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1739 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1740 return NULL;
1741 }
1742 }
1743 {
1744 PyThreadState* __tstate = wxPyBeginAllowThreads();
1745 wxGridCellEditor_SetControl(_arg0,_arg1);
1746
1747 wxPyEndAllowThreads(__tstate);
1748 if (PyErr_Occurred()) return NULL;
1749 } Py_INCREF(Py_None);
1750 _resultobj = Py_None;
1751 return _resultobj;
1752 }
1753
1754 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1755 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject * _resultobj;
1757 wxGridCellEditor * _arg0;
1758 wxString * _arg1;
1759 PyObject * _argo0 = 0;
1760 PyObject * _obj1 = 0;
1761 char *_kwnames[] = { "self","params", NULL };
1762
1763 self = self;
1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1765 return NULL;
1766 if (_argo0) {
1767 if (_argo0 == Py_None) { _arg0 = NULL; }
1768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1770 return NULL;
1771 }
1772 }
1773 {
1774 _arg1 = wxString_in_helper(_obj1);
1775 if (_arg1 == NULL)
1776 return NULL;
1777 }
1778 {
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) return NULL;
1784 } Py_INCREF(Py_None);
1785 _resultobj = Py_None;
1786 {
1787 if (_obj1)
1788 delete _arg1;
1789 }
1790 return _resultobj;
1791 }
1792
1793 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1794 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject * _resultobj;
1796 wxGridCellEditor * _arg0;
1797 PyObject * _argo0 = 0;
1798 char *_kwnames[] = { "self", NULL };
1799
1800 self = self;
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1802 return NULL;
1803 if (_argo0) {
1804 if (_argo0 == Py_None) { _arg0 = NULL; }
1805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1807 return NULL;
1808 }
1809 }
1810 {
1811 PyThreadState* __tstate = wxPyBeginAllowThreads();
1812 wxGridCellEditor_IncRef(_arg0);
1813
1814 wxPyEndAllowThreads(__tstate);
1815 if (PyErr_Occurred()) return NULL;
1816 } Py_INCREF(Py_None);
1817 _resultobj = Py_None;
1818 return _resultobj;
1819 }
1820
1821 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1822 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject * _resultobj;
1824 wxGridCellEditor * _arg0;
1825 PyObject * _argo0 = 0;
1826 char *_kwnames[] = { "self", NULL };
1827
1828 self = self;
1829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1830 return NULL;
1831 if (_argo0) {
1832 if (_argo0 == Py_None) { _arg0 = NULL; }
1833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1835 return NULL;
1836 }
1837 }
1838 {
1839 PyThreadState* __tstate = wxPyBeginAllowThreads();
1840 wxGridCellEditor_DecRef(_arg0);
1841
1842 wxPyEndAllowThreads(__tstate);
1843 if (PyErr_Occurred()) return NULL;
1844 } Py_INCREF(Py_None);
1845 _resultobj = Py_None;
1846 return _resultobj;
1847 }
1848
1849 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1850 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject * _resultobj;
1852 wxGridCellEditor * _arg0;
1853 wxWindow * _arg1;
1854 wxWindowID _arg2;
1855 wxEvtHandler * _arg3;
1856 PyObject * _argo0 = 0;
1857 PyObject * _argo1 = 0;
1858 PyObject * _argo3 = 0;
1859 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1860
1861 self = self;
1862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1863 return NULL;
1864 if (_argo0) {
1865 if (_argo0 == Py_None) { _arg0 = NULL; }
1866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1868 return NULL;
1869 }
1870 }
1871 if (_argo1) {
1872 if (_argo1 == Py_None) { _arg1 = NULL; }
1873 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1874 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1875 return NULL;
1876 }
1877 }
1878 if (_argo3) {
1879 if (_argo3 == Py_None) { _arg3 = NULL; }
1880 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1881 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1882 return NULL;
1883 }
1884 }
1885 {
1886 PyThreadState* __tstate = wxPyBeginAllowThreads();
1887 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1888
1889 wxPyEndAllowThreads(__tstate);
1890 if (PyErr_Occurred()) return NULL;
1891 } Py_INCREF(Py_None);
1892 _resultobj = Py_None;
1893 return _resultobj;
1894 }
1895
1896 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1897 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject * _resultobj;
1899 wxGridCellEditor * _arg0;
1900 int _arg1;
1901 int _arg2;
1902 wxGrid * _arg3;
1903 PyObject * _argo0 = 0;
1904 PyObject * _argo3 = 0;
1905 char *_kwnames[] = { "self","row","col","grid", NULL };
1906
1907 self = self;
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1909 return NULL;
1910 if (_argo0) {
1911 if (_argo0 == Py_None) { _arg0 = NULL; }
1912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1914 return NULL;
1915 }
1916 }
1917 if (_argo3) {
1918 if (_argo3 == Py_None) { _arg3 = NULL; }
1919 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1920 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1921 return NULL;
1922 }
1923 }
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) return NULL;
1930 } Py_INCREF(Py_None);
1931 _resultobj = Py_None;
1932 return _resultobj;
1933 }
1934
1935 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1936 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1937 PyObject * _resultobj;
1938 bool _result;
1939 wxGridCellEditor * _arg0;
1940 int _arg1;
1941 int _arg2;
1942 wxGrid * _arg3;
1943 PyObject * _argo0 = 0;
1944 PyObject * _argo3 = 0;
1945 char *_kwnames[] = { "self","row","col","grid", NULL };
1946
1947 self = self;
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1949 return NULL;
1950 if (_argo0) {
1951 if (_argo0 == Py_None) { _arg0 = NULL; }
1952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1954 return NULL;
1955 }
1956 }
1957 if (_argo3) {
1958 if (_argo3 == Py_None) { _arg3 = NULL; }
1959 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1960 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1961 return NULL;
1962 }
1963 }
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) return NULL;
1970 } _resultobj = Py_BuildValue("i",_result);
1971 return _resultobj;
1972 }
1973
1974 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1975 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1976 PyObject * _resultobj;
1977 wxGridCellEditor * _arg0;
1978 PyObject * _argo0 = 0;
1979 char *_kwnames[] = { "self", NULL };
1980
1981 self = self;
1982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
1983 return NULL;
1984 if (_argo0) {
1985 if (_argo0 == Py_None) { _arg0 = NULL; }
1986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1988 return NULL;
1989 }
1990 }
1991 {
1992 PyThreadState* __tstate = wxPyBeginAllowThreads();
1993 wxGridCellEditor_Reset(_arg0);
1994
1995 wxPyEndAllowThreads(__tstate);
1996 if (PyErr_Occurred()) return NULL;
1997 } Py_INCREF(Py_None);
1998 _resultobj = Py_None;
1999 return _resultobj;
2000 }
2001
2002 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2003 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject * _resultobj;
2005 wxGridCellEditor * _result;
2006 wxGridCellEditor * _arg0;
2007 PyObject * _argo0 = 0;
2008 char *_kwnames[] = { "self", NULL };
2009 char _ptemp[128];
2010
2011 self = self;
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
2013 return NULL;
2014 if (_argo0) {
2015 if (_argo0 == Py_None) { _arg0 = NULL; }
2016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2018 return NULL;
2019 }
2020 }
2021 {
2022 PyThreadState* __tstate = wxPyBeginAllowThreads();
2023 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
2024
2025 wxPyEndAllowThreads(__tstate);
2026 if (PyErr_Occurred()) return NULL;
2027 } if (_result) {
2028 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
2029 _resultobj = Py_BuildValue("s",_ptemp);
2030 } else {
2031 Py_INCREF(Py_None);
2032 _resultobj = Py_None;
2033 }
2034 return _resultobj;
2035 }
2036
2037 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2038 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2039 PyObject * _resultobj;
2040 wxGridCellEditor * _arg0;
2041 wxRect * _arg1;
2042 PyObject * _argo0 = 0;
2043 wxRect temp;
2044 PyObject * _obj1 = 0;
2045 char *_kwnames[] = { "self","rect", NULL };
2046
2047 self = self;
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
2049 return NULL;
2050 if (_argo0) {
2051 if (_argo0 == Py_None) { _arg0 = NULL; }
2052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2054 return NULL;
2055 }
2056 }
2057 {
2058 _arg1 = &temp;
2059 if (! wxRect_helper(_obj1, &_arg1))
2060 return NULL;
2061 }
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 wxGridCellEditor_SetSize(_arg0,*_arg1);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) return NULL;
2068 } Py_INCREF(Py_None);
2069 _resultobj = Py_None;
2070 return _resultobj;
2071 }
2072
2073 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2074 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2075 PyObject * _resultobj;
2076 wxGridCellEditor * _arg0;
2077 bool _arg1;
2078 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2079 PyObject * _argo0 = 0;
2080 int tempbool1;
2081 PyObject * _argo2 = 0;
2082 char *_kwnames[] = { "self","show","attr", NULL };
2083
2084 self = self;
2085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2086 return NULL;
2087 if (_argo0) {
2088 if (_argo0 == Py_None) { _arg0 = NULL; }
2089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2091 return NULL;
2092 }
2093 }
2094 _arg1 = (bool ) tempbool1;
2095 if (_argo2) {
2096 if (_argo2 == Py_None) { _arg2 = NULL; }
2097 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2098 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2099 return NULL;
2100 }
2101 }
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) return NULL;
2108 } Py_INCREF(Py_None);
2109 _resultobj = Py_None;
2110 return _resultobj;
2111 }
2112
2113 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2114 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2115 PyObject * _resultobj;
2116 wxGridCellEditor * _arg0;
2117 wxRect * _arg1;
2118 wxGridCellAttr * _arg2;
2119 PyObject * _argo0 = 0;
2120 wxRect temp;
2121 PyObject * _obj1 = 0;
2122 PyObject * _argo2 = 0;
2123 char *_kwnames[] = { "self","rectCell","attr", NULL };
2124
2125 self = self;
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2127 return NULL;
2128 if (_argo0) {
2129 if (_argo0 == Py_None) { _arg0 = NULL; }
2130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2132 return NULL;
2133 }
2134 }
2135 {
2136 _arg1 = &temp;
2137 if (! wxRect_helper(_obj1, &_arg1))
2138 return NULL;
2139 }
2140 if (_argo2) {
2141 if (_argo2 == Py_None) { _arg2 = NULL; }
2142 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2143 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2144 return NULL;
2145 }
2146 }
2147 {
2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
2149 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2150
2151 wxPyEndAllowThreads(__tstate);
2152 if (PyErr_Occurred()) return NULL;
2153 } Py_INCREF(Py_None);
2154 _resultobj = Py_None;
2155 return _resultobj;
2156 }
2157
2158 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2159 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject * _resultobj;
2161 bool _result;
2162 wxGridCellEditor * _arg0;
2163 wxKeyEvent * _arg1;
2164 PyObject * _argo0 = 0;
2165 PyObject * _argo1 = 0;
2166 char *_kwnames[] = { "self","event", NULL };
2167
2168 self = self;
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2170 return NULL;
2171 if (_argo0) {
2172 if (_argo0 == Py_None) { _arg0 = NULL; }
2173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2175 return NULL;
2176 }
2177 }
2178 if (_argo1) {
2179 if (_argo1 == Py_None) { _arg1 = NULL; }
2180 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2181 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2182 return NULL;
2183 }
2184 }
2185 {
2186 PyThreadState* __tstate = wxPyBeginAllowThreads();
2187 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2188
2189 wxPyEndAllowThreads(__tstate);
2190 if (PyErr_Occurred()) return NULL;
2191 } _resultobj = Py_BuildValue("i",_result);
2192 return _resultobj;
2193 }
2194
2195 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2196 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject * _resultobj;
2198 wxGridCellEditor * _arg0;
2199 wxKeyEvent * _arg1;
2200 PyObject * _argo0 = 0;
2201 PyObject * _argo1 = 0;
2202 char *_kwnames[] = { "self","event", NULL };
2203
2204 self = self;
2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2206 return NULL;
2207 if (_argo0) {
2208 if (_argo0 == Py_None) { _arg0 = NULL; }
2209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2211 return NULL;
2212 }
2213 }
2214 if (_argo1) {
2215 if (_argo1 == Py_None) { _arg1 = NULL; }
2216 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2218 return NULL;
2219 }
2220 }
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
2223 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) return NULL;
2227 } Py_INCREF(Py_None);
2228 _resultobj = Py_None;
2229 return _resultobj;
2230 }
2231
2232 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2233 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2234 PyObject * _resultobj;
2235 wxGridCellEditor * _arg0;
2236 PyObject * _argo0 = 0;
2237 char *_kwnames[] = { "self", NULL };
2238
2239 self = self;
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2241 return NULL;
2242 if (_argo0) {
2243 if (_argo0 == Py_None) { _arg0 = NULL; }
2244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2246 return NULL;
2247 }
2248 }
2249 {
2250 PyThreadState* __tstate = wxPyBeginAllowThreads();
2251 wxGridCellEditor_StartingClick(_arg0);
2252
2253 wxPyEndAllowThreads(__tstate);
2254 if (PyErr_Occurred()) return NULL;
2255 } Py_INCREF(Py_None);
2256 _resultobj = Py_None;
2257 return _resultobj;
2258 }
2259
2260 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2261 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2262 PyObject * _resultobj;
2263 wxGridCellEditor * _arg0;
2264 wxKeyEvent * _arg1;
2265 PyObject * _argo0 = 0;
2266 PyObject * _argo1 = 0;
2267 char *_kwnames[] = { "self","event", NULL };
2268
2269 self = self;
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2271 return NULL;
2272 if (_argo0) {
2273 if (_argo0 == Py_None) { _arg0 = NULL; }
2274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2276 return NULL;
2277 }
2278 }
2279 if (_argo1) {
2280 if (_argo1 == Py_None) { _arg1 = NULL; }
2281 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2282 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2283 return NULL;
2284 }
2285 }
2286 {
2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
2288 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2289
2290 wxPyEndAllowThreads(__tstate);
2291 if (PyErr_Occurred()) return NULL;
2292 } Py_INCREF(Py_None);
2293 _resultobj = Py_None;
2294 return _resultobj;
2295 }
2296
2297 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2298 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject * _resultobj;
2300 wxGridCellEditor * _arg0;
2301 PyObject * _argo0 = 0;
2302 char *_kwnames[] = { "self", NULL };
2303
2304 self = self;
2305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2306 return NULL;
2307 if (_argo0) {
2308 if (_argo0 == Py_None) { _arg0 = NULL; }
2309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2311 return NULL;
2312 }
2313 }
2314 {
2315 PyThreadState* __tstate = wxPyBeginAllowThreads();
2316 wxGridCellEditor_Destroy(_arg0);
2317
2318 wxPyEndAllowThreads(__tstate);
2319 if (PyErr_Occurred()) return NULL;
2320 } Py_INCREF(Py_None);
2321 _resultobj = Py_None;
2322 return _resultobj;
2323 }
2324
2325 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2326 wxPyGridCellEditor *src;
2327 wxGridCellEditor *dest;
2328 src = (wxPyGridCellEditor *) ptr;
2329 dest = (wxGridCellEditor *) src;
2330 return (void *) dest;
2331 }
2332
2333 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2334 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2335 PyObject * _resultobj;
2336 wxPyGridCellEditor * _result;
2337 char *_kwnames[] = { NULL };
2338 char _ptemp[128];
2339
2340 self = self;
2341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2342 return NULL;
2343 {
2344 PyThreadState* __tstate = wxPyBeginAllowThreads();
2345 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2346
2347 wxPyEndAllowThreads(__tstate);
2348 if (PyErr_Occurred()) return NULL;
2349 } if (_result) {
2350 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2351 _resultobj = Py_BuildValue("s",_ptemp);
2352 } else {
2353 Py_INCREF(Py_None);
2354 _resultobj = Py_None;
2355 }
2356 return _resultobj;
2357 }
2358
2359 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2360 static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2361 PyObject * _resultobj;
2362 wxPyGridCellEditor * _arg0;
2363 PyObject * _arg1;
2364 PyObject * _arg2;
2365 PyObject * _argo0 = 0;
2366 PyObject * _obj1 = 0;
2367 PyObject * _obj2 = 0;
2368 char *_kwnames[] = { "self","self","_class", NULL };
2369
2370 self = self;
2371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2372 return NULL;
2373 if (_argo0) {
2374 if (_argo0 == Py_None) { _arg0 = NULL; }
2375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2377 return NULL;
2378 }
2379 }
2380 {
2381 _arg1 = _obj1;
2382 }
2383 {
2384 _arg2 = _obj2;
2385 }
2386 {
2387 PyThreadState* __tstate = wxPyBeginAllowThreads();
2388 wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2);
2389
2390 wxPyEndAllowThreads(__tstate);
2391 if (PyErr_Occurred()) return NULL;
2392 } Py_INCREF(Py_None);
2393 _resultobj = Py_None;
2394 return _resultobj;
2395 }
2396
2397 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2398 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2399 PyObject * _resultobj;
2400 wxPyGridCellEditor * _arg0;
2401 wxRect * _arg1;
2402 PyObject * _argo0 = 0;
2403 wxRect temp;
2404 PyObject * _obj1 = 0;
2405 char *_kwnames[] = { "self","rect", NULL };
2406
2407 self = self;
2408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2409 return NULL;
2410 if (_argo0) {
2411 if (_argo0 == Py_None) { _arg0 = NULL; }
2412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2414 return NULL;
2415 }
2416 }
2417 {
2418 _arg1 = &temp;
2419 if (! wxRect_helper(_obj1, &_arg1))
2420 return NULL;
2421 }
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
2424 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) return NULL;
2428 } Py_INCREF(Py_None);
2429 _resultobj = Py_None;
2430 return _resultobj;
2431 }
2432
2433 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2434 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2435 PyObject * _resultobj;
2436 wxPyGridCellEditor * _arg0;
2437 bool _arg1;
2438 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2439 PyObject * _argo0 = 0;
2440 int tempbool1;
2441 PyObject * _argo2 = 0;
2442 char *_kwnames[] = { "self","show","attr", NULL };
2443
2444 self = self;
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2446 return NULL;
2447 if (_argo0) {
2448 if (_argo0 == Py_None) { _arg0 = NULL; }
2449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2451 return NULL;
2452 }
2453 }
2454 _arg1 = (bool ) tempbool1;
2455 if (_argo2) {
2456 if (_argo2 == Py_None) { _arg2 = NULL; }
2457 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2458 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2459 return NULL;
2460 }
2461 }
2462 {
2463 PyThreadState* __tstate = wxPyBeginAllowThreads();
2464 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2465
2466 wxPyEndAllowThreads(__tstate);
2467 if (PyErr_Occurred()) return NULL;
2468 } Py_INCREF(Py_None);
2469 _resultobj = Py_None;
2470 return _resultobj;
2471 }
2472
2473 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2474 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2475 PyObject * _resultobj;
2476 wxPyGridCellEditor * _arg0;
2477 wxRect * _arg1;
2478 wxGridCellAttr * _arg2;
2479 PyObject * _argo0 = 0;
2480 wxRect temp;
2481 PyObject * _obj1 = 0;
2482 PyObject * _argo2 = 0;
2483 char *_kwnames[] = { "self","rectCell","attr", NULL };
2484
2485 self = self;
2486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2487 return NULL;
2488 if (_argo0) {
2489 if (_argo0 == Py_None) { _arg0 = NULL; }
2490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2492 return NULL;
2493 }
2494 }
2495 {
2496 _arg1 = &temp;
2497 if (! wxRect_helper(_obj1, &_arg1))
2498 return NULL;
2499 }
2500 if (_argo2) {
2501 if (_argo2 == Py_None) { _arg2 = NULL; }
2502 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2503 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2504 return NULL;
2505 }
2506 }
2507 {
2508 PyThreadState* __tstate = wxPyBeginAllowThreads();
2509 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2510
2511 wxPyEndAllowThreads(__tstate);
2512 if (PyErr_Occurred()) return NULL;
2513 } Py_INCREF(Py_None);
2514 _resultobj = Py_None;
2515 return _resultobj;
2516 }
2517
2518 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2519 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2520 PyObject * _resultobj;
2521 wxPyGridCellEditor * _arg0;
2522 wxKeyEvent * _arg1;
2523 PyObject * _argo0 = 0;
2524 PyObject * _argo1 = 0;
2525 char *_kwnames[] = { "self","event", NULL };
2526
2527 self = self;
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2529 return NULL;
2530 if (_argo0) {
2531 if (_argo0 == Py_None) { _arg0 = NULL; }
2532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2534 return NULL;
2535 }
2536 }
2537 if (_argo1) {
2538 if (_argo1 == Py_None) { _arg1 = NULL; }
2539 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2540 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2541 return NULL;
2542 }
2543 }
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) return NULL;
2550 } Py_INCREF(Py_None);
2551 _resultobj = Py_None;
2552 return _resultobj;
2553 }
2554
2555 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2556 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2557 PyObject * _resultobj;
2558 wxPyGridCellEditor * _arg0;
2559 wxKeyEvent * _arg1;
2560 PyObject * _argo0 = 0;
2561 PyObject * _argo1 = 0;
2562 char *_kwnames[] = { "self","event", NULL };
2563
2564 self = self;
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2566 return NULL;
2567 if (_argo0) {
2568 if (_argo0 == Py_None) { _arg0 = NULL; }
2569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2571 return NULL;
2572 }
2573 }
2574 if (_argo1) {
2575 if (_argo1 == Py_None) { _arg1 = NULL; }
2576 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2577 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2578 return NULL;
2579 }
2580 }
2581 {
2582 PyThreadState* __tstate = wxPyBeginAllowThreads();
2583 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2584
2585 wxPyEndAllowThreads(__tstate);
2586 if (PyErr_Occurred()) return NULL;
2587 } Py_INCREF(Py_None);
2588 _resultobj = Py_None;
2589 return _resultobj;
2590 }
2591
2592 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2593 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2594 PyObject * _resultobj;
2595 wxPyGridCellEditor * _arg0;
2596 PyObject * _argo0 = 0;
2597 char *_kwnames[] = { "self", NULL };
2598
2599 self = self;
2600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2601 return NULL;
2602 if (_argo0) {
2603 if (_argo0 == Py_None) { _arg0 = NULL; }
2604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2606 return NULL;
2607 }
2608 }
2609 {
2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
2611 wxPyGridCellEditor_base_StartingClick(_arg0);
2612
2613 wxPyEndAllowThreads(__tstate);
2614 if (PyErr_Occurred()) return NULL;
2615 } Py_INCREF(Py_None);
2616 _resultobj = Py_None;
2617 return _resultobj;
2618 }
2619
2620 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2621 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2622 PyObject * _resultobj;
2623 wxPyGridCellEditor * _arg0;
2624 wxKeyEvent * _arg1;
2625 PyObject * _argo0 = 0;
2626 PyObject * _argo1 = 0;
2627 char *_kwnames[] = { "self","event", NULL };
2628
2629 self = self;
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2631 return NULL;
2632 if (_argo0) {
2633 if (_argo0 == Py_None) { _arg0 = NULL; }
2634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2636 return NULL;
2637 }
2638 }
2639 if (_argo1) {
2640 if (_argo1 == Py_None) { _arg1 = NULL; }
2641 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2642 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2643 return NULL;
2644 }
2645 }
2646 {
2647 PyThreadState* __tstate = wxPyBeginAllowThreads();
2648 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2649
2650 wxPyEndAllowThreads(__tstate);
2651 if (PyErr_Occurred()) return NULL;
2652 } Py_INCREF(Py_None);
2653 _resultobj = Py_None;
2654 return _resultobj;
2655 }
2656
2657 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2658 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2659 PyObject * _resultobj;
2660 wxPyGridCellEditor * _arg0;
2661 PyObject * _argo0 = 0;
2662 char *_kwnames[] = { "self", NULL };
2663
2664 self = self;
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2666 return NULL;
2667 if (_argo0) {
2668 if (_argo0 == Py_None) { _arg0 = NULL; }
2669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2671 return NULL;
2672 }
2673 }
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 wxPyGridCellEditor_base_Destroy(_arg0);
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) return NULL;
2680 } Py_INCREF(Py_None);
2681 _resultobj = Py_None;
2682 return _resultobj;
2683 }
2684
2685 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2686 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject * _resultobj;
2688 wxPyGridCellEditor * _arg0;
2689 wxString * _arg1;
2690 PyObject * _argo0 = 0;
2691 PyObject * _obj1 = 0;
2692 char *_kwnames[] = { "self","params", NULL };
2693
2694 self = self;
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2696 return NULL;
2697 if (_argo0) {
2698 if (_argo0 == Py_None) { _arg0 = NULL; }
2699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2701 return NULL;
2702 }
2703 }
2704 {
2705 _arg1 = wxString_in_helper(_obj1);
2706 if (_arg1 == NULL)
2707 return NULL;
2708 }
2709 {
2710 PyThreadState* __tstate = wxPyBeginAllowThreads();
2711 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2712
2713 wxPyEndAllowThreads(__tstate);
2714 if (PyErr_Occurred()) return NULL;
2715 } Py_INCREF(Py_None);
2716 _resultobj = Py_None;
2717 {
2718 if (_obj1)
2719 delete _arg1;
2720 }
2721 return _resultobj;
2722 }
2723
2724 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2725 wxGridCellTextEditor *src;
2726 wxGridCellEditor *dest;
2727 src = (wxGridCellTextEditor *) ptr;
2728 dest = (wxGridCellEditor *) src;
2729 return (void *) dest;
2730 }
2731
2732 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2733 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject * _resultobj;
2735 wxGridCellTextEditor * _result;
2736 char *_kwnames[] = { NULL };
2737 char _ptemp[128];
2738
2739 self = self;
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2741 return NULL;
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) return NULL;
2748 } if (_result) {
2749 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2750 _resultobj = Py_BuildValue("s",_ptemp);
2751 } else {
2752 Py_INCREF(Py_None);
2753 _resultobj = Py_None;
2754 }
2755 return _resultobj;
2756 }
2757
2758 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2759 wxGridCellNumberEditor *src;
2760 wxGridCellTextEditor *dest;
2761 src = (wxGridCellNumberEditor *) ptr;
2762 dest = (wxGridCellTextEditor *) src;
2763 return (void *) dest;
2764 }
2765
2766 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2767 wxGridCellNumberEditor *src;
2768 wxGridCellEditor *dest;
2769 src = (wxGridCellNumberEditor *) ptr;
2770 dest = (wxGridCellEditor *) src;
2771 return (void *) dest;
2772 }
2773
2774 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2775 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2776 PyObject * _resultobj;
2777 wxGridCellNumberEditor * _result;
2778 int _arg0 = (int ) -1;
2779 int _arg1 = (int ) -1;
2780 char *_kwnames[] = { "min","max", NULL };
2781 char _ptemp[128];
2782
2783 self = self;
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2785 return NULL;
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) return NULL;
2792 } if (_result) {
2793 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2794 _resultobj = Py_BuildValue("s",_ptemp);
2795 } else {
2796 Py_INCREF(Py_None);
2797 _resultobj = Py_None;
2798 }
2799 return _resultobj;
2800 }
2801
2802 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2803 wxGridCellFloatEditor *src;
2804 wxGridCellTextEditor *dest;
2805 src = (wxGridCellFloatEditor *) ptr;
2806 dest = (wxGridCellTextEditor *) src;
2807 return (void *) dest;
2808 }
2809
2810 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2811 wxGridCellFloatEditor *src;
2812 wxGridCellEditor *dest;
2813 src = (wxGridCellFloatEditor *) ptr;
2814 dest = (wxGridCellEditor *) src;
2815 return (void *) dest;
2816 }
2817
2818 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2819 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2820 PyObject * _resultobj;
2821 wxGridCellFloatEditor * _result;
2822 char *_kwnames[] = { NULL };
2823 char _ptemp[128];
2824
2825 self = self;
2826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2827 return NULL;
2828 {
2829 PyThreadState* __tstate = wxPyBeginAllowThreads();
2830 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2831
2832 wxPyEndAllowThreads(__tstate);
2833 if (PyErr_Occurred()) return NULL;
2834 } if (_result) {
2835 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2836 _resultobj = Py_BuildValue("s",_ptemp);
2837 } else {
2838 Py_INCREF(Py_None);
2839 _resultobj = Py_None;
2840 }
2841 return _resultobj;
2842 }
2843
2844 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2845 wxGridCellBoolEditor *src;
2846 wxGridCellEditor *dest;
2847 src = (wxGridCellBoolEditor *) ptr;
2848 dest = (wxGridCellEditor *) src;
2849 return (void *) dest;
2850 }
2851
2852 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2853 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2854 PyObject * _resultobj;
2855 wxGridCellBoolEditor * _result;
2856 char *_kwnames[] = { NULL };
2857 char _ptemp[128];
2858
2859 self = self;
2860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2861 return NULL;
2862 {
2863 PyThreadState* __tstate = wxPyBeginAllowThreads();
2864 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2865
2866 wxPyEndAllowThreads(__tstate);
2867 if (PyErr_Occurred()) return NULL;
2868 } if (_result) {
2869 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2870 _resultobj = Py_BuildValue("s",_ptemp);
2871 } else {
2872 Py_INCREF(Py_None);
2873 _resultobj = Py_None;
2874 }
2875 return _resultobj;
2876 }
2877
2878 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2879 wxGridCellChoiceEditor *src;
2880 wxGridCellEditor *dest;
2881 src = (wxGridCellChoiceEditor *) ptr;
2882 dest = (wxGridCellEditor *) src;
2883 return (void *) dest;
2884 }
2885
2886 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2887 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2888 PyObject * _resultobj;
2889 wxGridCellChoiceEditor * _result;
2890 int _arg0 = (int ) 0;
2891 wxString * _arg1 = (wxString *) NULL;
2892 bool _arg2 = (bool ) FALSE;
2893 PyObject * _obj1 = 0;
2894 int tempbool2 = (int) FALSE;
2895 char *_kwnames[] = { "choices","allowOthers", NULL };
2896 char _ptemp[128];
2897
2898 self = self;
2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2900 return NULL;
2901 if (_obj1)
2902 {
2903 _arg1 = wxString_LIST_helper(_obj1);
2904 if (_arg1 == NULL) {
2905 return NULL;
2906 }
2907 }
2908 _arg2 = (bool ) tempbool2;
2909 {
2910 if (_obj1) {
2911 _arg0 = PyList_Size(_obj1);
2912 }
2913 else {
2914 _arg0 = 0;
2915 }
2916 }
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) return NULL;
2923 } if (_result) {
2924 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2925 _resultobj = Py_BuildValue("s",_ptemp);
2926 } else {
2927 Py_INCREF(Py_None);
2928 _resultobj = Py_None;
2929 }
2930 {
2931 delete [] _arg1;
2932 }
2933 return _resultobj;
2934 }
2935
2936 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) {
2937 wxGridCellEnumEditor *src;
2938 wxGridCellChoiceEditor *dest;
2939 src = (wxGridCellEnumEditor *) ptr;
2940 dest = (wxGridCellChoiceEditor *) src;
2941 return (void *) dest;
2942 }
2943
2944 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) {
2945 wxGridCellEnumEditor *src;
2946 wxGridCellEditor *dest;
2947 src = (wxGridCellEnumEditor *) ptr;
2948 dest = (wxGridCellEditor *) src;
2949 return (void *) dest;
2950 }
2951
2952 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
2953 static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2954 PyObject * _resultobj;
2955 wxGridCellEnumEditor * _result;
2956 wxString * _arg0 = (wxString *) &"";
2957 PyObject * _obj0 = 0;
2958 char *_kwnames[] = { "choices", NULL };
2959 char _ptemp[128];
2960
2961 self = self;
2962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0))
2963 return NULL;
2964 if (_obj0)
2965 {
2966 _arg0 = wxString_LIST_helper(_obj0);
2967 if (_arg0 == NULL) {
2968 return NULL;
2969 }
2970 }
2971 {
2972 PyThreadState* __tstate = wxPyBeginAllowThreads();
2973 _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0);
2974
2975 wxPyEndAllowThreads(__tstate);
2976 if (PyErr_Occurred()) return NULL;
2977 } if (_result) {
2978 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p");
2979 _resultobj = Py_BuildValue("s",_ptemp);
2980 } else {
2981 Py_INCREF(Py_None);
2982 _resultobj = Py_None;
2983 }
2984 {
2985 delete [] _arg0;
2986 }
2987 return _resultobj;
2988 }
2989
2990 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) {
2991 wxGridCellAutoWrapStringEditor *src;
2992 wxGridCellTextEditor *dest;
2993 src = (wxGridCellAutoWrapStringEditor *) ptr;
2994 dest = (wxGridCellTextEditor *) src;
2995 return (void *) dest;
2996 }
2997
2998 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) {
2999 wxGridCellAutoWrapStringEditor *src;
3000 wxGridCellEditor *dest;
3001 src = (wxGridCellAutoWrapStringEditor *) ptr;
3002 dest = (wxGridCellEditor *) src;
3003 return (void *) dest;
3004 }
3005
3006 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3007 static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3008 PyObject * _resultobj;
3009 wxGridCellAutoWrapStringEditor * _result;
3010 char *_kwnames[] = { NULL };
3011 char _ptemp[128];
3012
3013 self = self;
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames))
3015 return NULL;
3016 {
3017 PyThreadState* __tstate = wxPyBeginAllowThreads();
3018 _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor();
3019
3020 wxPyEndAllowThreads(__tstate);
3021 if (PyErr_Occurred()) return NULL;
3022 } if (_result) {
3023 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p");
3024 _resultobj = Py_BuildValue("s",_ptemp);
3025 } else {
3026 Py_INCREF(Py_None);
3027 _resultobj = Py_None;
3028 }
3029 return _resultobj;
3030 }
3031
3032 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3033 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3034 PyObject * _resultobj;
3035 wxGridCellAttr * _result;
3036 wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL;
3037 PyObject * _argo0 = 0;
3038 char *_kwnames[] = { "attrDefault", NULL };
3039 char _ptemp[128];
3040
3041 self = self;
3042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0))
3043 return NULL;
3044 if (_argo0) {
3045 if (_argo0 == Py_None) { _arg0 = NULL; }
3046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3048 return NULL;
3049 }
3050 }
3051 {
3052 PyThreadState* __tstate = wxPyBeginAllowThreads();
3053 _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0);
3054
3055 wxPyEndAllowThreads(__tstate);
3056 if (PyErr_Occurred()) return NULL;
3057 } if (_result) {
3058 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3059 _resultobj = Py_BuildValue("s",_ptemp);
3060 } else {
3061 Py_INCREF(Py_None);
3062 _resultobj = Py_None;
3063 }
3064 return _resultobj;
3065 }
3066
3067 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3068 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3069 PyObject * _resultobj;
3070 wxGridCellAttr * _result;
3071 wxGridCellAttr * _arg0;
3072 PyObject * _argo0 = 0;
3073 char *_kwnames[] = { "self", NULL };
3074 char _ptemp[128];
3075
3076 self = self;
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
3078 return NULL;
3079 if (_argo0) {
3080 if (_argo0 == Py_None) { _arg0 = NULL; }
3081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3083 return NULL;
3084 }
3085 }
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) return NULL;
3092 } if (_result) {
3093 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3094 _resultobj = Py_BuildValue("s",_ptemp);
3095 } else {
3096 Py_INCREF(Py_None);
3097 _resultobj = Py_None;
3098 }
3099 return _resultobj;
3100 }
3101
3102 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3103 static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3104 PyObject * _resultobj;
3105 wxGridCellAttr * _arg0;
3106 wxGridCellAttr * _arg1;
3107 PyObject * _argo0 = 0;
3108 PyObject * _argo1 = 0;
3109 char *_kwnames[] = { "self","mergefrom", NULL };
3110
3111 self = self;
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
3113 return NULL;
3114 if (_argo0) {
3115 if (_argo0 == Py_None) { _arg0 = NULL; }
3116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3118 return NULL;
3119 }
3120 }
3121 if (_argo1) {
3122 if (_argo1 == Py_None) { _arg1 = NULL; }
3123 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3124 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3125 return NULL;
3126 }
3127 }
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 wxGridCellAttr_MergeWith(_arg0,_arg1);
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) return NULL;
3134 } Py_INCREF(Py_None);
3135 _resultobj = Py_None;
3136 return _resultobj;
3137 }
3138
3139 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3140 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3141 PyObject * _resultobj;
3142 wxGridCellAttr * _arg0;
3143 PyObject * _argo0 = 0;
3144 char *_kwnames[] = { "self", NULL };
3145
3146 self = self;
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
3148 return NULL;
3149 if (_argo0) {
3150 if (_argo0 == Py_None) { _arg0 = NULL; }
3151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3153 return NULL;
3154 }
3155 }
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 wxGridCellAttr_IncRef(_arg0);
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) return NULL;
3162 } Py_INCREF(Py_None);
3163 _resultobj = Py_None;
3164 return _resultobj;
3165 }
3166
3167 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3168 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3169 PyObject * _resultobj;
3170 wxGridCellAttr * _arg0;
3171 PyObject * _argo0 = 0;
3172 char *_kwnames[] = { "self", NULL };
3173
3174 self = self;
3175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
3176 return NULL;
3177 if (_argo0) {
3178 if (_argo0 == Py_None) { _arg0 = NULL; }
3179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3181 return NULL;
3182 }
3183 }
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 wxGridCellAttr_DecRef(_arg0);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) return NULL;
3190 } Py_INCREF(Py_None);
3191 _resultobj = Py_None;
3192 return _resultobj;
3193 }
3194
3195 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3196 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3197 PyObject * _resultobj;
3198 wxGridCellAttr * _arg0;
3199 wxColour * _arg1;
3200 PyObject * _argo0 = 0;
3201 wxColour temp;
3202 PyObject * _obj1 = 0;
3203 char *_kwnames[] = { "self","colText", NULL };
3204
3205 self = self;
3206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
3207 return NULL;
3208 if (_argo0) {
3209 if (_argo0 == Py_None) { _arg0 = NULL; }
3210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3212 return NULL;
3213 }
3214 }
3215 {
3216 _arg1 = &temp;
3217 if (! wxColour_helper(_obj1, &_arg1))
3218 return NULL;
3219 }
3220 {
3221 PyThreadState* __tstate = wxPyBeginAllowThreads();
3222 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
3223
3224 wxPyEndAllowThreads(__tstate);
3225 if (PyErr_Occurred()) return NULL;
3226 } Py_INCREF(Py_None);
3227 _resultobj = Py_None;
3228 return _resultobj;
3229 }
3230
3231 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3232 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3233 PyObject * _resultobj;
3234 wxGridCellAttr * _arg0;
3235 wxColour * _arg1;
3236 PyObject * _argo0 = 0;
3237 wxColour temp;
3238 PyObject * _obj1 = 0;
3239 char *_kwnames[] = { "self","colBack", NULL };
3240
3241 self = self;
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3243 return NULL;
3244 if (_argo0) {
3245 if (_argo0 == Py_None) { _arg0 = NULL; }
3246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3248 return NULL;
3249 }
3250 }
3251 {
3252 _arg1 = &temp;
3253 if (! wxColour_helper(_obj1, &_arg1))
3254 return NULL;
3255 }
3256 {
3257 PyThreadState* __tstate = wxPyBeginAllowThreads();
3258 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3259
3260 wxPyEndAllowThreads(__tstate);
3261 if (PyErr_Occurred()) return NULL;
3262 } Py_INCREF(Py_None);
3263 _resultobj = Py_None;
3264 return _resultobj;
3265 }
3266
3267 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3268 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3269 PyObject * _resultobj;
3270 wxGridCellAttr * _arg0;
3271 wxFont * _arg1;
3272 PyObject * _argo0 = 0;
3273 PyObject * _argo1 = 0;
3274 char *_kwnames[] = { "self","font", NULL };
3275
3276 self = self;
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3278 return NULL;
3279 if (_argo0) {
3280 if (_argo0 == Py_None) { _arg0 = NULL; }
3281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3283 return NULL;
3284 }
3285 }
3286 if (_argo1) {
3287 if (_argo1 == Py_None) { _arg1 = NULL; }
3288 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3289 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3290 return NULL;
3291 }
3292 }
3293 {
3294 PyThreadState* __tstate = wxPyBeginAllowThreads();
3295 wxGridCellAttr_SetFont(_arg0,*_arg1);
3296
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) return NULL;
3299 } Py_INCREF(Py_None);
3300 _resultobj = Py_None;
3301 return _resultobj;
3302 }
3303
3304 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3305 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject * _resultobj;
3307 wxGridCellAttr * _arg0;
3308 int _arg1;
3309 int _arg2;
3310 PyObject * _argo0 = 0;
3311 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3312
3313 self = self;
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3315 return NULL;
3316 if (_argo0) {
3317 if (_argo0 == Py_None) { _arg0 = NULL; }
3318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3320 return NULL;
3321 }
3322 }
3323 {
3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
3325 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3326
3327 wxPyEndAllowThreads(__tstate);
3328 if (PyErr_Occurred()) return NULL;
3329 } Py_INCREF(Py_None);
3330 _resultobj = Py_None;
3331 return _resultobj;
3332 }
3333
3334 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3335 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3336 PyObject * _resultobj;
3337 wxGridCellAttr * _arg0;
3338 bool _arg1 = (bool ) TRUE;
3339 PyObject * _argo0 = 0;
3340 int tempbool1 = (int) TRUE;
3341 char *_kwnames[] = { "self","isReadOnly", NULL };
3342
3343 self = self;
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3345 return NULL;
3346 if (_argo0) {
3347 if (_argo0 == Py_None) { _arg0 = NULL; }
3348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3350 return NULL;
3351 }
3352 }
3353 _arg1 = (bool ) tempbool1;
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) return NULL;
3360 } Py_INCREF(Py_None);
3361 _resultobj = Py_None;
3362 return _resultobj;
3363 }
3364
3365 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3366 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject * _resultobj;
3368 wxGridCellAttr * _arg0;
3369 wxGridCellRenderer * _arg1;
3370 PyObject * _argo0 = 0;
3371 PyObject * _argo1 = 0;
3372 char *_kwnames[] = { "self","renderer", NULL };
3373
3374 self = self;
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3376 return NULL;
3377 if (_argo0) {
3378 if (_argo0 == Py_None) { _arg0 = NULL; }
3379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3381 return NULL;
3382 }
3383 }
3384 if (_argo1) {
3385 if (_argo1 == Py_None) { _arg1 = NULL; }
3386 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3387 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3388 return NULL;
3389 }
3390 }
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) return NULL;
3397 } Py_INCREF(Py_None);
3398 _resultobj = Py_None;
3399 return _resultobj;
3400 }
3401
3402 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3403 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3404 PyObject * _resultobj;
3405 wxGridCellAttr * _arg0;
3406 wxGridCellEditor * _arg1;
3407 PyObject * _argo0 = 0;
3408 PyObject * _argo1 = 0;
3409 char *_kwnames[] = { "self","editor", NULL };
3410
3411 self = self;
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3413 return NULL;
3414 if (_argo0) {
3415 if (_argo0 == Py_None) { _arg0 = NULL; }
3416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3418 return NULL;
3419 }
3420 }
3421 if (_argo1) {
3422 if (_argo1 == Py_None) { _arg1 = NULL; }
3423 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3424 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3425 return NULL;
3426 }
3427 }
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
3430 wxGridCellAttr_SetEditor(_arg0,_arg1);
3431
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) return NULL;
3434 } Py_INCREF(Py_None);
3435 _resultobj = Py_None;
3436 return _resultobj;
3437 }
3438
3439 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3440 static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3441 PyObject * _resultobj;
3442 wxGridCellAttr * _arg0;
3443 wxGridCellAttr::wxAttrKind _arg1;
3444 PyObject * _argo0 = 0;
3445 char *_kwnames[] = { "self","kind", NULL };
3446
3447 self = self;
3448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3449 return NULL;
3450 if (_argo0) {
3451 if (_argo0 == Py_None) { _arg0 = NULL; }
3452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3454 return NULL;
3455 }
3456 }
3457 {
3458 PyThreadState* __tstate = wxPyBeginAllowThreads();
3459 wxGridCellAttr_SetKind(_arg0,_arg1);
3460
3461 wxPyEndAllowThreads(__tstate);
3462 if (PyErr_Occurred()) return NULL;
3463 } Py_INCREF(Py_None);
3464 _resultobj = Py_None;
3465 return _resultobj;
3466 }
3467
3468 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3469 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3470 PyObject * _resultobj;
3471 bool _result;
3472 wxGridCellAttr * _arg0;
3473 PyObject * _argo0 = 0;
3474 char *_kwnames[] = { "self", NULL };
3475
3476 self = self;
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3478 return NULL;
3479 if (_argo0) {
3480 if (_argo0 == Py_None) { _arg0 = NULL; }
3481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3483 return NULL;
3484 }
3485 }
3486 {
3487 PyThreadState* __tstate = wxPyBeginAllowThreads();
3488 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3489
3490 wxPyEndAllowThreads(__tstate);
3491 if (PyErr_Occurred()) return NULL;
3492 } _resultobj = Py_BuildValue("i",_result);
3493 return _resultobj;
3494 }
3495
3496 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3497 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3498 PyObject * _resultobj;
3499 bool _result;
3500 wxGridCellAttr * _arg0;
3501 PyObject * _argo0 = 0;
3502 char *_kwnames[] = { "self", NULL };
3503
3504 self = self;
3505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3506 return NULL;
3507 if (_argo0) {
3508 if (_argo0 == Py_None) { _arg0 = NULL; }
3509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3511 return NULL;
3512 }
3513 }
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) return NULL;
3520 } _resultobj = Py_BuildValue("i",_result);
3521 return _resultobj;
3522 }
3523
3524 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3525 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3526 PyObject * _resultobj;
3527 bool _result;
3528 wxGridCellAttr * _arg0;
3529 PyObject * _argo0 = 0;
3530 char *_kwnames[] = { "self", NULL };
3531
3532 self = self;
3533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3534 return NULL;
3535 if (_argo0) {
3536 if (_argo0 == Py_None) { _arg0 = NULL; }
3537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3539 return NULL;
3540 }
3541 }
3542 {
3543 PyThreadState* __tstate = wxPyBeginAllowThreads();
3544 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3545
3546 wxPyEndAllowThreads(__tstate);
3547 if (PyErr_Occurred()) return NULL;
3548 } _resultobj = Py_BuildValue("i",_result);
3549 return _resultobj;
3550 }
3551
3552 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3553 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3554 PyObject * _resultobj;
3555 bool _result;
3556 wxGridCellAttr * _arg0;
3557 PyObject * _argo0 = 0;
3558 char *_kwnames[] = { "self", NULL };
3559
3560 self = self;
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3562 return NULL;
3563 if (_argo0) {
3564 if (_argo0 == Py_None) { _arg0 = NULL; }
3565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3567 return NULL;
3568 }
3569 }
3570 {
3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
3572 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3573
3574 wxPyEndAllowThreads(__tstate);
3575 if (PyErr_Occurred()) return NULL;
3576 } _resultobj = Py_BuildValue("i",_result);
3577 return _resultobj;
3578 }
3579
3580 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3581 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3582 PyObject * _resultobj;
3583 bool _result;
3584 wxGridCellAttr * _arg0;
3585 PyObject * _argo0 = 0;
3586 char *_kwnames[] = { "self", NULL };
3587
3588 self = self;
3589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3590 return NULL;
3591 if (_argo0) {
3592 if (_argo0 == Py_None) { _arg0 = NULL; }
3593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3595 return NULL;
3596 }
3597 }
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) return NULL;
3604 } _resultobj = Py_BuildValue("i",_result);
3605 return _resultobj;
3606 }
3607
3608 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3609 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3610 PyObject * _resultobj;
3611 bool _result;
3612 wxGridCellAttr * _arg0;
3613 PyObject * _argo0 = 0;
3614 char *_kwnames[] = { "self", NULL };
3615
3616 self = self;
3617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3618 return NULL;
3619 if (_argo0) {
3620 if (_argo0 == Py_None) { _arg0 = NULL; }
3621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3623 return NULL;
3624 }
3625 }
3626 {
3627 PyThreadState* __tstate = wxPyBeginAllowThreads();
3628 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3629
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) return NULL;
3632 } _resultobj = Py_BuildValue("i",_result);
3633 return _resultobj;
3634 }
3635
3636 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3637 static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3638 PyObject * _resultobj;
3639 bool _result;
3640 wxGridCellAttr * _arg0;
3641 PyObject * _argo0 = 0;
3642 char *_kwnames[] = { "self", NULL };
3643
3644 self = self;
3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3646 return NULL;
3647 if (_argo0) {
3648 if (_argo0 == Py_None) { _arg0 = NULL; }
3649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3651 return NULL;
3652 }
3653 }
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
3656 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
3657
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) return NULL;
3660 } _resultobj = Py_BuildValue("i",_result);
3661 return _resultobj;
3662 }
3663
3664 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3665 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3666 PyObject * _resultobj;
3667 wxColour * _result;
3668 wxGridCellAttr * _arg0;
3669 PyObject * _argo0 = 0;
3670 char *_kwnames[] = { "self", NULL };
3671 char _ptemp[128];
3672
3673 self = self;
3674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3675 return NULL;
3676 if (_argo0) {
3677 if (_argo0 == Py_None) { _arg0 = NULL; }
3678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3680 return NULL;
3681 }
3682 }
3683 {
3684 PyThreadState* __tstate = wxPyBeginAllowThreads();
3685 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
3686
3687 wxPyEndAllowThreads(__tstate);
3688 if (PyErr_Occurred()) return NULL;
3689 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3690 _resultobj = Py_BuildValue("s",_ptemp);
3691 return _resultobj;
3692 }
3693
3694 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3695 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3696 PyObject * _resultobj;
3697 wxColour * _result;
3698 wxGridCellAttr * _arg0;
3699 PyObject * _argo0 = 0;
3700 char *_kwnames[] = { "self", NULL };
3701 char _ptemp[128];
3702
3703 self = self;
3704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3705 return NULL;
3706 if (_argo0) {
3707 if (_argo0 == Py_None) { _arg0 = NULL; }
3708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3710 return NULL;
3711 }
3712 }
3713 {
3714 PyThreadState* __tstate = wxPyBeginAllowThreads();
3715 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
3716
3717 wxPyEndAllowThreads(__tstate);
3718 if (PyErr_Occurred()) return NULL;
3719 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3720 _resultobj = Py_BuildValue("s",_ptemp);
3721 return _resultobj;
3722 }
3723
3724 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3725 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3726 PyObject * _resultobj;
3727 wxFont * _result;
3728 wxGridCellAttr * _arg0;
3729 PyObject * _argo0 = 0;
3730 char *_kwnames[] = { "self", NULL };
3731 char _ptemp[128];
3732
3733 self = self;
3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3735 return NULL;
3736 if (_argo0) {
3737 if (_argo0 == Py_None) { _arg0 = NULL; }
3738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3740 return NULL;
3741 }
3742 }
3743 {
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
3746
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) return NULL;
3749 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
3750 _resultobj = Py_BuildValue("s",_ptemp);
3751 return _resultobj;
3752 }
3753
3754 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3755 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3756 PyObject * _resultobj;
3757 wxGridCellAttr * _arg0;
3758 int * _arg1;
3759 int temp;
3760 int * _arg2;
3761 int temp0;
3762 PyObject * _argo0 = 0;
3763 char *_kwnames[] = { "self", NULL };
3764
3765 self = self;
3766 {
3767 _arg1 = &temp;
3768 }
3769 {
3770 _arg2 = &temp0;
3771 }
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3773 return NULL;
3774 if (_argo0) {
3775 if (_argo0 == Py_None) { _arg0 = NULL; }
3776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3778 return NULL;
3779 }
3780 }
3781 {
3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
3783 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3784
3785 wxPyEndAllowThreads(__tstate);
3786 if (PyErr_Occurred()) return NULL;
3787 } Py_INCREF(Py_None);
3788 _resultobj = Py_None;
3789 {
3790 PyObject *o;
3791 o = PyInt_FromLong((long) (*_arg1));
3792 _resultobj = t_output_helper(_resultobj, o);
3793 }
3794 {
3795 PyObject *o;
3796 o = PyInt_FromLong((long) (*_arg2));
3797 _resultobj = t_output_helper(_resultobj, o);
3798 }
3799 return _resultobj;
3800 }
3801
3802 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3803 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject * _resultobj;
3805 wxGridCellRenderer * _result;
3806 wxGridCellAttr * _arg0;
3807 wxGrid * _arg1;
3808 int _arg2;
3809 int _arg3;
3810 PyObject * _argo0 = 0;
3811 PyObject * _argo1 = 0;
3812 char *_kwnames[] = { "self","grid","row","col", NULL };
3813 char _ptemp[128];
3814
3815 self = self;
3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3817 return NULL;
3818 if (_argo0) {
3819 if (_argo0 == Py_None) { _arg0 = NULL; }
3820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3822 return NULL;
3823 }
3824 }
3825 if (_argo1) {
3826 if (_argo1 == Py_None) { _arg1 = NULL; }
3827 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3828 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3829 return NULL;
3830 }
3831 }
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) return NULL;
3838 } if (_result) {
3839 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3840 _resultobj = Py_BuildValue("s",_ptemp);
3841 } else {
3842 Py_INCREF(Py_None);
3843 _resultobj = Py_None;
3844 }
3845 return _resultobj;
3846 }
3847
3848 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3849 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject * _resultobj;
3851 wxGridCellEditor * _result;
3852 wxGridCellAttr * _arg0;
3853 wxGrid * _arg1;
3854 int _arg2;
3855 int _arg3;
3856 PyObject * _argo0 = 0;
3857 PyObject * _argo1 = 0;
3858 char *_kwnames[] = { "self","grid","row","col", NULL };
3859 char _ptemp[128];
3860
3861 self = self;
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3863 return NULL;
3864 if (_argo0) {
3865 if (_argo0 == Py_None) { _arg0 = NULL; }
3866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3868 return NULL;
3869 }
3870 }
3871 if (_argo1) {
3872 if (_argo1 == Py_None) { _arg1 = NULL; }
3873 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3874 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3875 return NULL;
3876 }
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) return NULL;
3884 } if (_result) {
3885 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3886 _resultobj = Py_BuildValue("s",_ptemp);
3887 } else {
3888 Py_INCREF(Py_None);
3889 _resultobj = Py_None;
3890 }
3891 return _resultobj;
3892 }
3893
3894 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3895 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3896 PyObject * _resultobj;
3897 bool _result;
3898 wxGridCellAttr * _arg0;
3899 PyObject * _argo0 = 0;
3900 char *_kwnames[] = { "self", NULL };
3901
3902 self = self;
3903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3904 return NULL;
3905 if (_argo0) {
3906 if (_argo0 == Py_None) { _arg0 = NULL; }
3907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3909 return NULL;
3910 }
3911 }
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) return NULL;
3918 } _resultobj = Py_BuildValue("i",_result);
3919 return _resultobj;
3920 }
3921
3922 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3923 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3924 PyObject * _resultobj;
3925 wxGridCellAttr * _arg0;
3926 wxGridCellAttr * _arg1;
3927 PyObject * _argo0 = 0;
3928 PyObject * _argo1 = 0;
3929 char *_kwnames[] = { "self","defAttr", NULL };
3930
3931 self = self;
3932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3933 return NULL;
3934 if (_argo0) {
3935 if (_argo0 == Py_None) { _arg0 = NULL; }
3936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3938 return NULL;
3939 }
3940 }
3941 if (_argo1) {
3942 if (_argo1 == Py_None) { _arg1 = NULL; }
3943 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3944 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3945 return NULL;
3946 }
3947 }
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3951
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) return NULL;
3954 } Py_INCREF(Py_None);
3955 _resultobj = Py_None;
3956 return _resultobj;
3957 }
3958
3959 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3960 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3961 PyObject * _resultobj;
3962 wxGridCellAttrProvider * _result;
3963 char *_kwnames[] = { NULL };
3964 char _ptemp[128];
3965
3966 self = self;
3967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3968 return NULL;
3969 {
3970 PyThreadState* __tstate = wxPyBeginAllowThreads();
3971 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3972
3973 wxPyEndAllowThreads(__tstate);
3974 if (PyErr_Occurred()) return NULL;
3975 } if (_result) {
3976 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3977 _resultobj = Py_BuildValue("s",_ptemp);
3978 } else {
3979 Py_INCREF(Py_None);
3980 _resultobj = Py_None;
3981 }
3982 return _resultobj;
3983 }
3984
3985 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
3986 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3987 PyObject * _resultobj;
3988 wxGridCellAttr * _result;
3989 wxGridCellAttrProvider * _arg0;
3990 int _arg1;
3991 int _arg2;
3992 wxGridCellAttr::wxAttrKind _arg3;
3993 PyObject * _argo0 = 0;
3994 char *_kwnames[] = { "self","row","col","kind", NULL };
3995 char _ptemp[128];
3996
3997 self = self;
3998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3999 return NULL;
4000 if (_argo0) {
4001 if (_argo0 == Py_None) { _arg0 = NULL; }
4002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4004 return NULL;
4005 }
4006 }
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) return NULL;
4013 } if (_result) {
4014 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4015 _resultobj = Py_BuildValue("s",_ptemp);
4016 } else {
4017 Py_INCREF(Py_None);
4018 _resultobj = Py_None;
4019 }
4020 return _resultobj;
4021 }
4022
4023 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4024 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4025 PyObject * _resultobj;
4026 wxGridCellAttrProvider * _arg0;
4027 wxGridCellAttr * _arg1;
4028 int _arg2;
4029 int _arg3;
4030 PyObject * _argo0 = 0;
4031 PyObject * _argo1 = 0;
4032 char *_kwnames[] = { "self","attr","row","col", NULL };
4033
4034 self = self;
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4036 return NULL;
4037 if (_argo0) {
4038 if (_argo0 == Py_None) { _arg0 = NULL; }
4039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4041 return NULL;
4042 }
4043 }
4044 if (_argo1) {
4045 if (_argo1 == Py_None) { _arg1 = NULL; }
4046 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4047 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4048 return NULL;
4049 }
4050 }
4051 {
4052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4053 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
4054
4055 wxPyEndAllowThreads(__tstate);
4056 if (PyErr_Occurred()) return NULL;
4057 } Py_INCREF(Py_None);
4058 _resultobj = Py_None;
4059 return _resultobj;
4060 }
4061
4062 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4063 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4064 PyObject * _resultobj;
4065 wxGridCellAttrProvider * _arg0;
4066 wxGridCellAttr * _arg1;
4067 int _arg2;
4068 PyObject * _argo0 = 0;
4069 PyObject * _argo1 = 0;
4070 char *_kwnames[] = { "self","attr","row", NULL };
4071
4072 self = self;
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4074 return NULL;
4075 if (_argo0) {
4076 if (_argo0 == Py_None) { _arg0 = NULL; }
4077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4079 return NULL;
4080 }
4081 }
4082 if (_argo1) {
4083 if (_argo1 == Py_None) { _arg1 = NULL; }
4084 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4085 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4086 return NULL;
4087 }
4088 }
4089 {
4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
4091 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
4092
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) return NULL;
4095 } Py_INCREF(Py_None);
4096 _resultobj = Py_None;
4097 return _resultobj;
4098 }
4099
4100 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4101 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject * _resultobj;
4103 wxGridCellAttrProvider * _arg0;
4104 wxGridCellAttr * _arg1;
4105 int _arg2;
4106 PyObject * _argo0 = 0;
4107 PyObject * _argo1 = 0;
4108 char *_kwnames[] = { "self","attr","col", NULL };
4109
4110 self = self;
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4112 return NULL;
4113 if (_argo0) {
4114 if (_argo0 == Py_None) { _arg0 = NULL; }
4115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4117 return NULL;
4118 }
4119 }
4120 if (_argo1) {
4121 if (_argo1 == Py_None) { _arg1 = NULL; }
4122 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4123 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4124 return NULL;
4125 }
4126 }
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
4130
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) return NULL;
4133 } Py_INCREF(Py_None);
4134 _resultobj = Py_None;
4135 return _resultobj;
4136 }
4137
4138 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4139 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4140 PyObject * _resultobj;
4141 wxGridCellAttrProvider * _arg0;
4142 size_t _arg1;
4143 int _arg2;
4144 PyObject * _argo0 = 0;
4145 char *_kwnames[] = { "self","pos","numRows", NULL };
4146
4147 self = self;
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4149 return NULL;
4150 if (_argo0) {
4151 if (_argo0 == Py_None) { _arg0 = NULL; }
4152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4154 return NULL;
4155 }
4156 }
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4159 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) return NULL;
4163 } Py_INCREF(Py_None);
4164 _resultobj = Py_None;
4165 return _resultobj;
4166 }
4167
4168 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4169 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4170 PyObject * _resultobj;
4171 wxGridCellAttrProvider * _arg0;
4172 size_t _arg1;
4173 int _arg2;
4174 PyObject * _argo0 = 0;
4175 char *_kwnames[] = { "self","pos","numCols", NULL };
4176
4177 self = self;
4178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4179 return NULL;
4180 if (_argo0) {
4181 if (_argo0 == Py_None) { _arg0 = NULL; }
4182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4184 return NULL;
4185 }
4186 }
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) return NULL;
4193 } Py_INCREF(Py_None);
4194 _resultobj = Py_None;
4195 return _resultobj;
4196 }
4197
4198 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4199 wxPyGridCellAttrProvider *src;
4200 wxGridCellAttrProvider *dest;
4201 src = (wxPyGridCellAttrProvider *) ptr;
4202 dest = (wxGridCellAttrProvider *) src;
4203 return (void *) dest;
4204 }
4205
4206 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4207 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4208 PyObject * _resultobj;
4209 wxPyGridCellAttrProvider * _result;
4210 char *_kwnames[] = { NULL };
4211 char _ptemp[128];
4212
4213 self = self;
4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4215 return NULL;
4216 {
4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4218 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4219
4220 wxPyEndAllowThreads(__tstate);
4221 if (PyErr_Occurred()) return NULL;
4222 } if (_result) {
4223 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4224 _resultobj = Py_BuildValue("s",_ptemp);
4225 } else {
4226 Py_INCREF(Py_None);
4227 _resultobj = Py_None;
4228 }
4229 return _resultobj;
4230 }
4231
4232 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4233 static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4234 PyObject * _resultobj;
4235 wxPyGridCellAttrProvider * _arg0;
4236 PyObject * _arg1;
4237 PyObject * _arg2;
4238 PyObject * _argo0 = 0;
4239 PyObject * _obj1 = 0;
4240 PyObject * _obj2 = 0;
4241 char *_kwnames[] = { "self","self","_class", NULL };
4242
4243 self = self;
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4245 return NULL;
4246 if (_argo0) {
4247 if (_argo0 == Py_None) { _arg0 = NULL; }
4248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4250 return NULL;
4251 }
4252 }
4253 {
4254 _arg1 = _obj1;
4255 }
4256 {
4257 _arg2 = _obj2;
4258 }
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
4262
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) return NULL;
4265 } Py_INCREF(Py_None);
4266 _resultobj = Py_None;
4267 return _resultobj;
4268 }
4269
4270 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4271 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4272 PyObject * _resultobj;
4273 wxGridCellAttr * _result;
4274 wxPyGridCellAttrProvider * _arg0;
4275 int _arg1;
4276 int _arg2;
4277 wxGridCellAttr::wxAttrKind _arg3;
4278 PyObject * _argo0 = 0;
4279 char *_kwnames[] = { "self","row","col","kind", NULL };
4280 char _ptemp[128];
4281
4282 self = self;
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4284 return NULL;
4285 if (_argo0) {
4286 if (_argo0 == Py_None) { _arg0 = NULL; }
4287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4289 return NULL;
4290 }
4291 }
4292 {
4293 PyThreadState* __tstate = wxPyBeginAllowThreads();
4294 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4295
4296 wxPyEndAllowThreads(__tstate);
4297 if (PyErr_Occurred()) return NULL;
4298 } if (_result) {
4299 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4300 _resultobj = Py_BuildValue("s",_ptemp);
4301 } else {
4302 Py_INCREF(Py_None);
4303 _resultobj = Py_None;
4304 }
4305 return _resultobj;
4306 }
4307
4308 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4309 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4310 PyObject * _resultobj;
4311 wxPyGridCellAttrProvider * _arg0;
4312 wxGridCellAttr * _arg1;
4313 int _arg2;
4314 int _arg3;
4315 PyObject * _argo0 = 0;
4316 PyObject * _argo1 = 0;
4317 char *_kwnames[] = { "self","attr","row","col", NULL };
4318
4319 self = self;
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4321 return NULL;
4322 if (_argo0) {
4323 if (_argo0 == Py_None) { _arg0 = NULL; }
4324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4326 return NULL;
4327 }
4328 }
4329 if (_argo1) {
4330 if (_argo1 == Py_None) { _arg1 = NULL; }
4331 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4332 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4333 return NULL;
4334 }
4335 }
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) return NULL;
4342 } Py_INCREF(Py_None);
4343 _resultobj = Py_None;
4344 return _resultobj;
4345 }
4346
4347 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4348 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4349 PyObject * _resultobj;
4350 wxPyGridCellAttrProvider * _arg0;
4351 wxGridCellAttr * _arg1;
4352 int _arg2;
4353 PyObject * _argo0 = 0;
4354 PyObject * _argo1 = 0;
4355 char *_kwnames[] = { "self","attr","row", NULL };
4356
4357 self = self;
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4359 return NULL;
4360 if (_argo0) {
4361 if (_argo0 == Py_None) { _arg0 = NULL; }
4362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4364 return NULL;
4365 }
4366 }
4367 if (_argo1) {
4368 if (_argo1 == Py_None) { _arg1 = NULL; }
4369 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4370 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4371 return NULL;
4372 }
4373 }
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) return NULL;
4380 } Py_INCREF(Py_None);
4381 _resultobj = Py_None;
4382 return _resultobj;
4383 }
4384
4385 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4386 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4387 PyObject * _resultobj;
4388 wxPyGridCellAttrProvider * _arg0;
4389 wxGridCellAttr * _arg1;
4390 int _arg2;
4391 PyObject * _argo0 = 0;
4392 PyObject * _argo1 = 0;
4393 char *_kwnames[] = { "self","attr","col", NULL };
4394
4395 self = self;
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4397 return NULL;
4398 if (_argo0) {
4399 if (_argo0 == Py_None) { _arg0 = NULL; }
4400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4402 return NULL;
4403 }
4404 }
4405 if (_argo1) {
4406 if (_argo1 == Py_None) { _arg1 = NULL; }
4407 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4409 return NULL;
4410 }
4411 }
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4415
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) return NULL;
4418 } Py_INCREF(Py_None);
4419 _resultobj = Py_None;
4420 return _resultobj;
4421 }
4422
4423 static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4424 wxGridTableBase *src;
4425 wxObject *dest;
4426 src = (wxGridTableBase *) ptr;
4427 dest = (wxObject *) src;
4428 return (void *) dest;
4429 }
4430
4431 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4432 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4433 PyObject * _resultobj;
4434 wxGridTableBase * _arg0;
4435 wxGridCellAttrProvider * _arg1;
4436 PyObject * _argo0 = 0;
4437 PyObject * _argo1 = 0;
4438 char *_kwnames[] = { "self","attrProvider", NULL };
4439
4440 self = self;
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4442 return NULL;
4443 if (_argo0) {
4444 if (_argo0 == Py_None) { _arg0 = NULL; }
4445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4447 return NULL;
4448 }
4449 }
4450 if (_argo1) {
4451 if (_argo1 == Py_None) { _arg1 = NULL; }
4452 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4453 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4454 return NULL;
4455 }
4456 }
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) return NULL;
4463 } Py_INCREF(Py_None);
4464 _resultobj = Py_None;
4465 return _resultobj;
4466 }
4467
4468 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4469 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4470 PyObject * _resultobj;
4471 wxGridCellAttrProvider * _result;
4472 wxGridTableBase * _arg0;
4473 PyObject * _argo0 = 0;
4474 char *_kwnames[] = { "self", NULL };
4475 char _ptemp[128];
4476
4477 self = self;
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4479 return NULL;
4480 if (_argo0) {
4481 if (_argo0 == Py_None) { _arg0 = NULL; }
4482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4484 return NULL;
4485 }
4486 }
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) return NULL;
4493 } if (_result) {
4494 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4495 _resultobj = Py_BuildValue("s",_ptemp);
4496 } else {
4497 Py_INCREF(Py_None);
4498 _resultobj = Py_None;
4499 }
4500 return _resultobj;
4501 }
4502
4503 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4504 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4505 PyObject * _resultobj;
4506 wxGridTableBase * _arg0;
4507 wxGrid * _arg1;
4508 PyObject * _argo0 = 0;
4509 PyObject * _argo1 = 0;
4510 char *_kwnames[] = { "self","grid", NULL };
4511
4512 self = self;
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4514 return NULL;
4515 if (_argo0) {
4516 if (_argo0 == Py_None) { _arg0 = NULL; }
4517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4519 return NULL;
4520 }
4521 }
4522 if (_argo1) {
4523 if (_argo1 == Py_None) { _arg1 = NULL; }
4524 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4525 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4526 return NULL;
4527 }
4528 }
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 wxGridTableBase_SetView(_arg0,_arg1);
4532
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) return NULL;
4535 } Py_INCREF(Py_None);
4536 _resultobj = Py_None;
4537 return _resultobj;
4538 }
4539
4540 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4541 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4542 PyObject * _resultobj;
4543 wxGrid * _result;
4544 wxGridTableBase * _arg0;
4545 PyObject * _argo0 = 0;
4546 char *_kwnames[] = { "self", NULL };
4547
4548 self = self;
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4550 return NULL;
4551 if (_argo0) {
4552 if (_argo0 == Py_None) { _arg0 = NULL; }
4553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4555 return NULL;
4556 }
4557 }
4558 {
4559 PyThreadState* __tstate = wxPyBeginAllowThreads();
4560 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4561
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) return NULL;
4564 }{ _resultobj = wxPyMake_wxObject(_result); }
4565 return _resultobj;
4566 }
4567
4568 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4569 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4570 PyObject * _resultobj;
4571 int _result;
4572 wxGridTableBase * _arg0;
4573 PyObject * _argo0 = 0;
4574 char *_kwnames[] = { "self", NULL };
4575
4576 self = self;
4577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4578 return NULL;
4579 if (_argo0) {
4580 if (_argo0 == Py_None) { _arg0 = NULL; }
4581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4583 return NULL;
4584 }
4585 }
4586 {
4587 PyThreadState* __tstate = wxPyBeginAllowThreads();
4588 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4589
4590 wxPyEndAllowThreads(__tstate);
4591 if (PyErr_Occurred()) return NULL;
4592 } _resultobj = Py_BuildValue("i",_result);
4593 return _resultobj;
4594 }
4595
4596 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4597 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject * _resultobj;
4599 int _result;
4600 wxGridTableBase * _arg0;
4601 PyObject * _argo0 = 0;
4602 char *_kwnames[] = { "self", NULL };
4603
4604 self = self;
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
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_GetNumberCols. Expected _wxGridTableBase_p.");
4611 return NULL;
4612 }
4613 }
4614 {
4615 PyThreadState* __tstate = wxPyBeginAllowThreads();
4616 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4617
4618 wxPyEndAllowThreads(__tstate);
4619 if (PyErr_Occurred()) return NULL;
4620 } _resultobj = Py_BuildValue("i",_result);
4621 return _resultobj;
4622 }
4623
4624 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4625 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4626 PyObject * _resultobj;
4627 bool _result;
4628 wxGridTableBase * _arg0;
4629 int _arg1;
4630 int _arg2;
4631 PyObject * _argo0 = 0;
4632 char *_kwnames[] = { "self","row","col", NULL };
4633
4634 self = self;
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
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_IsEmptyCell. Expected _wxGridTableBase_p.");
4641 return NULL;
4642 }
4643 }
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) return NULL;
4650 } _resultobj = Py_BuildValue("i",_result);
4651 return _resultobj;
4652 }
4653
4654 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4655 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4656 PyObject * _resultobj;
4657 wxString * _result;
4658 wxGridTableBase * _arg0;
4659 int _arg1;
4660 int _arg2;
4661 PyObject * _argo0 = 0;
4662 char *_kwnames[] = { "self","row","col", NULL };
4663
4664 self = self;
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4666 return NULL;
4667 if (_argo0) {
4668 if (_argo0 == Py_None) { _arg0 = NULL; }
4669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4671 return NULL;
4672 }
4673 }
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) return NULL;
4680 }{
4681 #if wxUSE_UNICODE
4682 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4683 #else
4684 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4685 #endif
4686 }
4687 {
4688 delete _result;
4689 }
4690 return _resultobj;
4691 }
4692
4693 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4694 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4695 PyObject * _resultobj;
4696 wxGridTableBase * _arg0;
4697 int _arg1;
4698 int _arg2;
4699 wxString * _arg3;
4700 PyObject * _argo0 = 0;
4701 PyObject * _obj3 = 0;
4702 char *_kwnames[] = { "self","row","col","value", NULL };
4703
4704 self = self;
4705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4706 return NULL;
4707 if (_argo0) {
4708 if (_argo0 == Py_None) { _arg0 = NULL; }
4709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4711 return NULL;
4712 }
4713 }
4714 {
4715 _arg3 = wxString_in_helper(_obj3);
4716 if (_arg3 == NULL)
4717 return NULL;
4718 }
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4722
4723 wxPyEndAllowThreads(__tstate);
4724 if (PyErr_Occurred()) return NULL;
4725 } Py_INCREF(Py_None);
4726 _resultobj = Py_None;
4727 {
4728 if (_obj3)
4729 delete _arg3;
4730 }
4731 return _resultobj;
4732 }
4733
4734 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4735 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject * _resultobj;
4737 wxString * _result;
4738 wxGridTableBase * _arg0;
4739 int _arg1;
4740 int _arg2;
4741 PyObject * _argo0 = 0;
4742 char *_kwnames[] = { "self","row","col", NULL };
4743
4744 self = self;
4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4746 return NULL;
4747 if (_argo0) {
4748 if (_argo0 == Py_None) { _arg0 = NULL; }
4749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4751 return NULL;
4752 }
4753 }
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4757
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) return NULL;
4760 }{
4761 #if wxUSE_UNICODE
4762 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4763 #else
4764 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4765 #endif
4766 }
4767 {
4768 delete _result;
4769 }
4770 return _resultobj;
4771 }
4772
4773 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4774 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject * _resultobj;
4776 bool _result;
4777 wxGridTableBase * _arg0;
4778 int _arg1;
4779 int _arg2;
4780 wxString * _arg3;
4781 PyObject * _argo0 = 0;
4782 PyObject * _obj3 = 0;
4783 char *_kwnames[] = { "self","row","col","typeName", NULL };
4784
4785 self = self;
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4787 return NULL;
4788 if (_argo0) {
4789 if (_argo0 == Py_None) { _arg0 = NULL; }
4790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4792 return NULL;
4793 }
4794 }
4795 {
4796 _arg3 = wxString_in_helper(_obj3);
4797 if (_arg3 == NULL)
4798 return NULL;
4799 }
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) return NULL;
4806 } _resultobj = Py_BuildValue("i",_result);
4807 {
4808 if (_obj3)
4809 delete _arg3;
4810 }
4811 return _resultobj;
4812 }
4813
4814 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4815 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4816 PyObject * _resultobj;
4817 bool _result;
4818 wxGridTableBase * _arg0;
4819 int _arg1;
4820 int _arg2;
4821 wxString * _arg3;
4822 PyObject * _argo0 = 0;
4823 PyObject * _obj3 = 0;
4824 char *_kwnames[] = { "self","row","col","typeName", NULL };
4825
4826 self = self;
4827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4828 return NULL;
4829 if (_argo0) {
4830 if (_argo0 == Py_None) { _arg0 = NULL; }
4831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4833 return NULL;
4834 }
4835 }
4836 {
4837 _arg3 = wxString_in_helper(_obj3);
4838 if (_arg3 == NULL)
4839 return NULL;
4840 }
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4844
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) return NULL;
4847 } _resultobj = Py_BuildValue("i",_result);
4848 {
4849 if (_obj3)
4850 delete _arg3;
4851 }
4852 return _resultobj;
4853 }
4854
4855 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4856 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4857 PyObject * _resultobj;
4858 long _result;
4859 wxGridTableBase * _arg0;
4860 int _arg1;
4861 int _arg2;
4862 PyObject * _argo0 = 0;
4863 char *_kwnames[] = { "self","row","col", NULL };
4864
4865 self = self;
4866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4867 return NULL;
4868 if (_argo0) {
4869 if (_argo0 == Py_None) { _arg0 = NULL; }
4870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4872 return NULL;
4873 }
4874 }
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) return NULL;
4881 } _resultobj = Py_BuildValue("l",_result);
4882 return _resultobj;
4883 }
4884
4885 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4886 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject * _resultobj;
4888 double _result;
4889 wxGridTableBase * _arg0;
4890 int _arg1;
4891 int _arg2;
4892 PyObject * _argo0 = 0;
4893 char *_kwnames[] = { "self","row","col", NULL };
4894
4895 self = self;
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4897 return NULL;
4898 if (_argo0) {
4899 if (_argo0 == Py_None) { _arg0 = NULL; }
4900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4902 return NULL;
4903 }
4904 }
4905 {
4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4907 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4908
4909 wxPyEndAllowThreads(__tstate);
4910 if (PyErr_Occurred()) return NULL;
4911 } _resultobj = Py_BuildValue("d",_result);
4912 return _resultobj;
4913 }
4914
4915 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4916 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4917 PyObject * _resultobj;
4918 bool _result;
4919 wxGridTableBase * _arg0;
4920 int _arg1;
4921 int _arg2;
4922 PyObject * _argo0 = 0;
4923 char *_kwnames[] = { "self","row","col", NULL };
4924
4925 self = self;
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4927 return NULL;
4928 if (_argo0) {
4929 if (_argo0 == Py_None) { _arg0 = NULL; }
4930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4932 return NULL;
4933 }
4934 }
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) return NULL;
4941 } _resultobj = Py_BuildValue("i",_result);
4942 return _resultobj;
4943 }
4944
4945 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4946 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4947 PyObject * _resultobj;
4948 wxGridTableBase * _arg0;
4949 int _arg1;
4950 int _arg2;
4951 long _arg3;
4952 PyObject * _argo0 = 0;
4953 char *_kwnames[] = { "self","row","col","value", NULL };
4954
4955 self = self;
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4957 return NULL;
4958 if (_argo0) {
4959 if (_argo0 == Py_None) { _arg0 = NULL; }
4960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4962 return NULL;
4963 }
4964 }
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) return NULL;
4971 } Py_INCREF(Py_None);
4972 _resultobj = Py_None;
4973 return _resultobj;
4974 }
4975
4976 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4977 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4978 PyObject * _resultobj;
4979 wxGridTableBase * _arg0;
4980 int _arg1;
4981 int _arg2;
4982 double _arg3;
4983 PyObject * _argo0 = 0;
4984 char *_kwnames[] = { "self","row","col","value", NULL };
4985
4986 self = self;
4987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4988 return NULL;
4989 if (_argo0) {
4990 if (_argo0 == Py_None) { _arg0 = NULL; }
4991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4993 return NULL;
4994 }
4995 }
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
4999
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) return NULL;
5002 } Py_INCREF(Py_None);
5003 _resultobj = Py_None;
5004 return _resultobj;
5005 }
5006
5007 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5008 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5009 PyObject * _resultobj;
5010 wxGridTableBase * _arg0;
5011 int _arg1;
5012 int _arg2;
5013 bool _arg3;
5014 PyObject * _argo0 = 0;
5015 int tempbool3;
5016 char *_kwnames[] = { "self","row","col","value", NULL };
5017
5018 self = self;
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5020 return NULL;
5021 if (_argo0) {
5022 if (_argo0 == Py_None) { _arg0 = NULL; }
5023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5025 return NULL;
5026 }
5027 }
5028 _arg3 = (bool ) tempbool3;
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) return NULL;
5035 } Py_INCREF(Py_None);
5036 _resultobj = Py_None;
5037 return _resultobj;
5038 }
5039
5040 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5041 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5042 PyObject * _resultobj;
5043 wxGridTableBase * _arg0;
5044 PyObject * _argo0 = 0;
5045 char *_kwnames[] = { "self", NULL };
5046
5047 self = self;
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5049 return NULL;
5050 if (_argo0) {
5051 if (_argo0 == Py_None) { _arg0 = NULL; }
5052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5054 return NULL;
5055 }
5056 }
5057 {
5058 PyThreadState* __tstate = wxPyBeginAllowThreads();
5059 wxGridTableBase_Clear(_arg0);
5060
5061 wxPyEndAllowThreads(__tstate);
5062 if (PyErr_Occurred()) return NULL;
5063 } Py_INCREF(Py_None);
5064 _resultobj = Py_None;
5065 return _resultobj;
5066 }
5067
5068 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5069 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5070 PyObject * _resultobj;
5071 bool _result;
5072 wxGridTableBase * _arg0;
5073 size_t _arg1 = (size_t ) 0;
5074 size_t _arg2 = (size_t ) 1;
5075 PyObject * _argo0 = 0;
5076 char *_kwnames[] = { "self","pos","numRows", NULL };
5077
5078 self = self;
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5080 return NULL;
5081 if (_argo0) {
5082 if (_argo0 == Py_None) { _arg0 = NULL; }
5083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5085 return NULL;
5086 }
5087 }
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) return NULL;
5094 } _resultobj = Py_BuildValue("i",_result);
5095 return _resultobj;
5096 }
5097
5098 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5099 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5100 PyObject * _resultobj;
5101 bool _result;
5102 wxGridTableBase * _arg0;
5103 size_t _arg1 = (size_t ) 1;
5104 PyObject * _argo0 = 0;
5105 char *_kwnames[] = { "self","numRows", NULL };
5106
5107 self = self;
5108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5109 return NULL;
5110 if (_argo0) {
5111 if (_argo0 == Py_None) { _arg0 = NULL; }
5112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5114 return NULL;
5115 }
5116 }
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
5120
5121 wxPyEndAllowThreads(__tstate);
5122 if (PyErr_Occurred()) return NULL;
5123 } _resultobj = Py_BuildValue("i",_result);
5124 return _resultobj;
5125 }
5126
5127 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5128 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5129 PyObject * _resultobj;
5130 bool _result;
5131 wxGridTableBase * _arg0;
5132 size_t _arg1 = (size_t ) 0;
5133 size_t _arg2 = (size_t ) 1;
5134 PyObject * _argo0 = 0;
5135 char *_kwnames[] = { "self","pos","numRows", NULL };
5136
5137 self = self;
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5139 return NULL;
5140 if (_argo0) {
5141 if (_argo0 == Py_None) { _arg0 = NULL; }
5142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5144 return NULL;
5145 }
5146 }
5147 {
5148 PyThreadState* __tstate = wxPyBeginAllowThreads();
5149 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
5150
5151 wxPyEndAllowThreads(__tstate);
5152 if (PyErr_Occurred()) return NULL;
5153 } _resultobj = Py_BuildValue("i",_result);
5154 return _resultobj;
5155 }
5156
5157 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5158 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5159 PyObject * _resultobj;
5160 bool _result;
5161 wxGridTableBase * _arg0;
5162 size_t _arg1 = (size_t ) 0;
5163 size_t _arg2 = (size_t ) 1;
5164 PyObject * _argo0 = 0;
5165 char *_kwnames[] = { "self","pos","numCols", NULL };
5166
5167 self = self;
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5169 return NULL;
5170 if (_argo0) {
5171 if (_argo0 == Py_None) { _arg0 = NULL; }
5172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5174 return NULL;
5175 }
5176 }
5177 {
5178 PyThreadState* __tstate = wxPyBeginAllowThreads();
5179 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5180
5181 wxPyEndAllowThreads(__tstate);
5182 if (PyErr_Occurred()) return NULL;
5183 } _resultobj = Py_BuildValue("i",_result);
5184 return _resultobj;
5185 }
5186
5187 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5188 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject * _resultobj;
5190 bool _result;
5191 wxGridTableBase * _arg0;
5192 size_t _arg1 = (size_t ) 1;
5193 PyObject * _argo0 = 0;
5194 char *_kwnames[] = { "self","numCols", NULL };
5195
5196 self = self;
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5198 return NULL;
5199 if (_argo0) {
5200 if (_argo0 == Py_None) { _arg0 = NULL; }
5201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5203 return NULL;
5204 }
5205 }
5206 {
5207 PyThreadState* __tstate = wxPyBeginAllowThreads();
5208 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5209
5210 wxPyEndAllowThreads(__tstate);
5211 if (PyErr_Occurred()) return NULL;
5212 } _resultobj = Py_BuildValue("i",_result);
5213 return _resultobj;
5214 }
5215
5216 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5217 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject * _resultobj;
5219 bool _result;
5220 wxGridTableBase * _arg0;
5221 size_t _arg1 = (size_t ) 0;
5222 size_t _arg2 = (size_t ) 1;
5223 PyObject * _argo0 = 0;
5224 char *_kwnames[] = { "self","pos","numCols", NULL };
5225
5226 self = self;
5227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5228 return NULL;
5229 if (_argo0) {
5230 if (_argo0 == Py_None) { _arg0 = NULL; }
5231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5233 return NULL;
5234 }
5235 }
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) return NULL;
5242 } _resultobj = Py_BuildValue("i",_result);
5243 return _resultobj;
5244 }
5245
5246 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5247 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5248 PyObject * _resultobj;
5249 wxString * _result;
5250 wxGridTableBase * _arg0;
5251 int _arg1;
5252 PyObject * _argo0 = 0;
5253 char *_kwnames[] = { "self","row", NULL };
5254
5255 self = self;
5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5257 return NULL;
5258 if (_argo0) {
5259 if (_argo0 == Py_None) { _arg0 = NULL; }
5260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5262 return NULL;
5263 }
5264 }
5265 {
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5268
5269 wxPyEndAllowThreads(__tstate);
5270 if (PyErr_Occurred()) return NULL;
5271 }{
5272 #if wxUSE_UNICODE
5273 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5274 #else
5275 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5276 #endif
5277 }
5278 {
5279 delete _result;
5280 }
5281 return _resultobj;
5282 }
5283
5284 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5285 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5286 PyObject * _resultobj;
5287 wxString * _result;
5288 wxGridTableBase * _arg0;
5289 int _arg1;
5290 PyObject * _argo0 = 0;
5291 char *_kwnames[] = { "self","col", NULL };
5292
5293 self = self;
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5295 return NULL;
5296 if (_argo0) {
5297 if (_argo0 == Py_None) { _arg0 = NULL; }
5298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5300 return NULL;
5301 }
5302 }
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) return NULL;
5309 }{
5310 #if wxUSE_UNICODE
5311 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5312 #else
5313 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5314 #endif
5315 }
5316 {
5317 delete _result;
5318 }
5319 return _resultobj;
5320 }
5321
5322 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5323 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5324 PyObject * _resultobj;
5325 wxGridTableBase * _arg0;
5326 int _arg1;
5327 wxString * _arg2;
5328 PyObject * _argo0 = 0;
5329 PyObject * _obj2 = 0;
5330 char *_kwnames[] = { "self","row","value", NULL };
5331
5332 self = self;
5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5334 return NULL;
5335 if (_argo0) {
5336 if (_argo0 == Py_None) { _arg0 = NULL; }
5337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5339 return NULL;
5340 }
5341 }
5342 {
5343 _arg2 = wxString_in_helper(_obj2);
5344 if (_arg2 == NULL)
5345 return NULL;
5346 }
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5350
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) return NULL;
5353 } Py_INCREF(Py_None);
5354 _resultobj = Py_None;
5355 {
5356 if (_obj2)
5357 delete _arg2;
5358 }
5359 return _resultobj;
5360 }
5361
5362 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5363 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5364 PyObject * _resultobj;
5365 wxGridTableBase * _arg0;
5366 int _arg1;
5367 wxString * _arg2;
5368 PyObject * _argo0 = 0;
5369 PyObject * _obj2 = 0;
5370 char *_kwnames[] = { "self","col","value", NULL };
5371
5372 self = self;
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5374 return NULL;
5375 if (_argo0) {
5376 if (_argo0 == Py_None) { _arg0 = NULL; }
5377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5379 return NULL;
5380 }
5381 }
5382 {
5383 _arg2 = wxString_in_helper(_obj2);
5384 if (_arg2 == NULL)
5385 return NULL;
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) return NULL;
5393 } Py_INCREF(Py_None);
5394 _resultobj = Py_None;
5395 {
5396 if (_obj2)
5397 delete _arg2;
5398 }
5399 return _resultobj;
5400 }
5401
5402 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5403 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject * _resultobj;
5405 bool _result;
5406 wxGridTableBase * _arg0;
5407 PyObject * _argo0 = 0;
5408 char *_kwnames[] = { "self", NULL };
5409
5410 self = self;
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5412 return NULL;
5413 if (_argo0) {
5414 if (_argo0 == Py_None) { _arg0 = NULL; }
5415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5417 return NULL;
5418 }
5419 }
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) return NULL;
5426 } _resultobj = Py_BuildValue("i",_result);
5427 return _resultobj;
5428 }
5429
5430 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5431 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5432 PyObject * _resultobj;
5433 wxGridCellAttr * _result;
5434 wxGridTableBase * _arg0;
5435 int _arg1;
5436 int _arg2;
5437 wxGridCellAttr::wxAttrKind _arg3;
5438 PyObject * _argo0 = 0;
5439 char *_kwnames[] = { "self","row","col","kind", NULL };
5440 char _ptemp[128];
5441
5442 self = self;
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5444 return NULL;
5445 if (_argo0) {
5446 if (_argo0 == Py_None) { _arg0 = NULL; }
5447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5449 return NULL;
5450 }
5451 }
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
5455
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) return NULL;
5458 } if (_result) {
5459 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5460 _resultobj = Py_BuildValue("s",_ptemp);
5461 } else {
5462 Py_INCREF(Py_None);
5463 _resultobj = Py_None;
5464 }
5465 return _resultobj;
5466 }
5467
5468 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5469 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject * _resultobj;
5471 wxGridTableBase * _arg0;
5472 wxGridCellAttr * _arg1;
5473 int _arg2;
5474 int _arg3;
5475 PyObject * _argo0 = 0;
5476 PyObject * _argo1 = 0;
5477 char *_kwnames[] = { "self","attr","row","col", NULL };
5478
5479 self = self;
5480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5481 return NULL;
5482 if (_argo0) {
5483 if (_argo0 == Py_None) { _arg0 = NULL; }
5484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5486 return NULL;
5487 }
5488 }
5489 if (_argo1) {
5490 if (_argo1 == Py_None) { _arg1 = NULL; }
5491 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5492 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5493 return NULL;
5494 }
5495 }
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) return NULL;
5502 } Py_INCREF(Py_None);
5503 _resultobj = Py_None;
5504 return _resultobj;
5505 }
5506
5507 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5508 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject * _resultobj;
5510 wxGridTableBase * _arg0;
5511 wxGridCellAttr * _arg1;
5512 int _arg2;
5513 PyObject * _argo0 = 0;
5514 PyObject * _argo1 = 0;
5515 char *_kwnames[] = { "self","attr","row", NULL };
5516
5517 self = self;
5518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5519 return NULL;
5520 if (_argo0) {
5521 if (_argo0 == Py_None) { _arg0 = NULL; }
5522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5524 return NULL;
5525 }
5526 }
5527 if (_argo1) {
5528 if (_argo1 == Py_None) { _arg1 = NULL; }
5529 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5530 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5531 return NULL;
5532 }
5533 }
5534 {
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5537
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) return NULL;
5540 } Py_INCREF(Py_None);
5541 _resultobj = Py_None;
5542 return _resultobj;
5543 }
5544
5545 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5546 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5547 PyObject * _resultobj;
5548 wxGridTableBase * _arg0;
5549 wxGridCellAttr * _arg1;
5550 int _arg2;
5551 PyObject * _argo0 = 0;
5552 PyObject * _argo1 = 0;
5553 char *_kwnames[] = { "self","attr","col", NULL };
5554
5555 self = self;
5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5557 return NULL;
5558 if (_argo0) {
5559 if (_argo0 == Py_None) { _arg0 = NULL; }
5560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5562 return NULL;
5563 }
5564 }
5565 if (_argo1) {
5566 if (_argo1 == Py_None) { _arg1 = NULL; }
5567 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5568 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5569 return NULL;
5570 }
5571 }
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) return NULL;
5578 } Py_INCREF(Py_None);
5579 _resultobj = Py_None;
5580 return _resultobj;
5581 }
5582
5583 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5584 wxPyGridTableBase *src;
5585 wxGridTableBase *dest;
5586 src = (wxPyGridTableBase *) ptr;
5587 dest = (wxGridTableBase *) src;
5588 return (void *) dest;
5589 }
5590
5591 static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5592 wxPyGridTableBase *src;
5593 wxObject *dest;
5594 src = (wxPyGridTableBase *) ptr;
5595 dest = (wxObject *) src;
5596 return (void *) dest;
5597 }
5598
5599 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5600 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5601 PyObject * _resultobj;
5602 wxPyGridTableBase * _result;
5603 char *_kwnames[] = { NULL };
5604 char _ptemp[128];
5605
5606 self = self;
5607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5608 return NULL;
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) return NULL;
5615 } if (_result) {
5616 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5617 _resultobj = Py_BuildValue("s",_ptemp);
5618 } else {
5619 Py_INCREF(Py_None);
5620 _resultobj = Py_None;
5621 }
5622 return _resultobj;
5623 }
5624
5625 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5626 static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject * _resultobj;
5628 wxPyGridTableBase * _arg0;
5629 PyObject * _arg1;
5630 PyObject * _arg2;
5631 PyObject * _argo0 = 0;
5632 PyObject * _obj1 = 0;
5633 PyObject * _obj2 = 0;
5634 char *_kwnames[] = { "self","self","_class", NULL };
5635
5636 self = self;
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5638 return NULL;
5639 if (_argo0) {
5640 if (_argo0 == Py_None) { _arg0 = NULL; }
5641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5643 return NULL;
5644 }
5645 }
5646 {
5647 _arg1 = _obj1;
5648 }
5649 {
5650 _arg2 = _obj2;
5651 }
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) return NULL;
5658 } Py_INCREF(Py_None);
5659 _resultobj = Py_None;
5660 return _resultobj;
5661 }
5662
5663 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5664 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5665 PyObject * _resultobj;
5666 wxPyGridTableBase * _arg0;
5667 PyObject * _argo0 = 0;
5668 char *_kwnames[] = { "self", NULL };
5669
5670 self = self;
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5672 return NULL;
5673 if (_argo0) {
5674 if (_argo0 == Py_None) { _arg0 = NULL; }
5675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5677 return NULL;
5678 }
5679 }
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 wxPyGridTableBase_Destroy(_arg0);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) return NULL;
5686 } Py_INCREF(Py_None);
5687 _resultobj = Py_None;
5688 return _resultobj;
5689 }
5690
5691 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5692 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject * _resultobj;
5694 wxString * _result;
5695 wxPyGridTableBase * _arg0;
5696 int _arg1;
5697 int _arg2;
5698 PyObject * _argo0 = 0;
5699 char *_kwnames[] = { "self","row","col", NULL };
5700
5701 self = self;
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5703 return NULL;
5704 if (_argo0) {
5705 if (_argo0 == Py_None) { _arg0 = NULL; }
5706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5708 return NULL;
5709 }
5710 }
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) return NULL;
5717 }{
5718 #if wxUSE_UNICODE
5719 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5720 #else
5721 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5722 #endif
5723 }
5724 {
5725 delete _result;
5726 }
5727 return _resultobj;
5728 }
5729
5730 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5731 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5732 PyObject * _resultobj;
5733 bool _result;
5734 wxPyGridTableBase * _arg0;
5735 int _arg1;
5736 int _arg2;
5737 wxString * _arg3;
5738 PyObject * _argo0 = 0;
5739 PyObject * _obj3 = 0;
5740 char *_kwnames[] = { "self","row","col","typeName", NULL };
5741
5742 self = self;
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
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_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5749 return NULL;
5750 }
5751 }
5752 {
5753 _arg3 = wxString_in_helper(_obj3);
5754 if (_arg3 == NULL)
5755 return NULL;
5756 }
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) return NULL;
5763 } _resultobj = Py_BuildValue("i",_result);
5764 {
5765 if (_obj3)
5766 delete _arg3;
5767 }
5768 return _resultobj;
5769 }
5770
5771 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5772 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5773 PyObject * _resultobj;
5774 bool _result;
5775 wxPyGridTableBase * _arg0;
5776 int _arg1;
5777 int _arg2;
5778 wxString * _arg3;
5779 PyObject * _argo0 = 0;
5780 PyObject * _obj3 = 0;
5781 char *_kwnames[] = { "self","row","col","typeName", NULL };
5782
5783 self = self;
5784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5785 return NULL;
5786 if (_argo0) {
5787 if (_argo0 == Py_None) { _arg0 = NULL; }
5788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5790 return NULL;
5791 }
5792 }
5793 {
5794 _arg3 = wxString_in_helper(_obj3);
5795 if (_arg3 == NULL)
5796 return NULL;
5797 }
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5801
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) return NULL;
5804 } _resultobj = Py_BuildValue("i",_result);
5805 {
5806 if (_obj3)
5807 delete _arg3;
5808 }
5809 return _resultobj;
5810 }
5811
5812 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5813 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5814 PyObject * _resultobj;
5815 wxPyGridTableBase * _arg0;
5816 PyObject * _argo0 = 0;
5817 char *_kwnames[] = { "self", NULL };
5818
5819 self = self;
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5821 return NULL;
5822 if (_argo0) {
5823 if (_argo0 == Py_None) { _arg0 = NULL; }
5824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5826 return NULL;
5827 }
5828 }
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 wxPyGridTableBase_base_Clear(_arg0);
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) return NULL;
5835 } Py_INCREF(Py_None);
5836 _resultobj = Py_None;
5837 return _resultobj;
5838 }
5839
5840 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5841 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5842 PyObject * _resultobj;
5843 bool _result;
5844 wxPyGridTableBase * _arg0;
5845 size_t _arg1 = (size_t ) 0;
5846 size_t _arg2 = (size_t ) 1;
5847 PyObject * _argo0 = 0;
5848 char *_kwnames[] = { "self","pos","numRows", NULL };
5849
5850 self = self;
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5852 return NULL;
5853 if (_argo0) {
5854 if (_argo0 == Py_None) { _arg0 = NULL; }
5855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5857 return NULL;
5858 }
5859 }
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) return NULL;
5866 } _resultobj = Py_BuildValue("i",_result);
5867 return _resultobj;
5868 }
5869
5870 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5871 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5872 PyObject * _resultobj;
5873 bool _result;
5874 wxPyGridTableBase * _arg0;
5875 size_t _arg1 = (size_t ) 1;
5876 PyObject * _argo0 = 0;
5877 char *_kwnames[] = { "self","numRows", NULL };
5878
5879 self = self;
5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5881 return NULL;
5882 if (_argo0) {
5883 if (_argo0 == Py_None) { _arg0 = NULL; }
5884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5886 return NULL;
5887 }
5888 }
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5892
5893 wxPyEndAllowThreads(__tstate);
5894 if (PyErr_Occurred()) return NULL;
5895 } _resultobj = Py_BuildValue("i",_result);
5896 return _resultobj;
5897 }
5898
5899 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5900 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5901 PyObject * _resultobj;
5902 bool _result;
5903 wxPyGridTableBase * _arg0;
5904 size_t _arg1 = (size_t ) 0;
5905 size_t _arg2 = (size_t ) 1;
5906 PyObject * _argo0 = 0;
5907 char *_kwnames[] = { "self","pos","numRows", NULL };
5908
5909 self = self;
5910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5911 return NULL;
5912 if (_argo0) {
5913 if (_argo0 == Py_None) { _arg0 = NULL; }
5914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5916 return NULL;
5917 }
5918 }
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5922
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) return NULL;
5925 } _resultobj = Py_BuildValue("i",_result);
5926 return _resultobj;
5927 }
5928
5929 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5930 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5931 PyObject * _resultobj;
5932 bool _result;
5933 wxPyGridTableBase * _arg0;
5934 size_t _arg1 = (size_t ) 0;
5935 size_t _arg2 = (size_t ) 1;
5936 PyObject * _argo0 = 0;
5937 char *_kwnames[] = { "self","pos","numCols", NULL };
5938
5939 self = self;
5940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5941 return NULL;
5942 if (_argo0) {
5943 if (_argo0 == Py_None) { _arg0 = NULL; }
5944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5946 return NULL;
5947 }
5948 }
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) return NULL;
5955 } _resultobj = Py_BuildValue("i",_result);
5956 return _resultobj;
5957 }
5958
5959 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5960 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject * _resultobj;
5962 bool _result;
5963 wxPyGridTableBase * _arg0;
5964 size_t _arg1 = (size_t ) 1;
5965 PyObject * _argo0 = 0;
5966 char *_kwnames[] = { "self","numCols", NULL };
5967
5968 self = self;
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5970 return NULL;
5971 if (_argo0) {
5972 if (_argo0 == Py_None) { _arg0 = NULL; }
5973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5975 return NULL;
5976 }
5977 }
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) return NULL;
5984 } _resultobj = Py_BuildValue("i",_result);
5985 return _resultobj;
5986 }
5987
5988 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5989 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5990 PyObject * _resultobj;
5991 bool _result;
5992 wxPyGridTableBase * _arg0;
5993 size_t _arg1 = (size_t ) 0;
5994 size_t _arg2 = (size_t ) 1;
5995 PyObject * _argo0 = 0;
5996 char *_kwnames[] = { "self","pos","numCols", NULL };
5997
5998 self = self;
5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
6000 return NULL;
6001 if (_argo0) {
6002 if (_argo0 == Py_None) { _arg0 = NULL; }
6003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6005 return NULL;
6006 }
6007 }
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) return NULL;
6014 } _resultobj = Py_BuildValue("i",_result);
6015 return _resultobj;
6016 }
6017
6018 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6019 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6020 PyObject * _resultobj;
6021 wxString * _result;
6022 wxPyGridTableBase * _arg0;
6023 int _arg1;
6024 PyObject * _argo0 = 0;
6025 char *_kwnames[] = { "self","row", NULL };
6026
6027 self = self;
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
6029 return NULL;
6030 if (_argo0) {
6031 if (_argo0 == Py_None) { _arg0 = NULL; }
6032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6034 return NULL;
6035 }
6036 }
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) return NULL;
6043 }{
6044 #if wxUSE_UNICODE
6045 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6046 #else
6047 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6048 #endif
6049 }
6050 {
6051 delete _result;
6052 }
6053 return _resultobj;
6054 }
6055
6056 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6057 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6058 PyObject * _resultobj;
6059 wxString * _result;
6060 wxPyGridTableBase * _arg0;
6061 int _arg1;
6062 PyObject * _argo0 = 0;
6063 char *_kwnames[] = { "self","col", NULL };
6064
6065 self = self;
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6067 return NULL;
6068 if (_argo0) {
6069 if (_argo0 == Py_None) { _arg0 = NULL; }
6070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6072 return NULL;
6073 }
6074 }
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) return NULL;
6081 }{
6082 #if wxUSE_UNICODE
6083 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6084 #else
6085 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6086 #endif
6087 }
6088 {
6089 delete _result;
6090 }
6091 return _resultobj;
6092 }
6093
6094 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6095 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6096 PyObject * _resultobj;
6097 wxPyGridTableBase * _arg0;
6098 int _arg1;
6099 wxString * _arg2;
6100 PyObject * _argo0 = 0;
6101 PyObject * _obj2 = 0;
6102 char *_kwnames[] = { "self","row","value", NULL };
6103
6104 self = self;
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6106 return NULL;
6107 if (_argo0) {
6108 if (_argo0 == Py_None) { _arg0 = NULL; }
6109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6111 return NULL;
6112 }
6113 }
6114 {
6115 _arg2 = wxString_in_helper(_obj2);
6116 if (_arg2 == NULL)
6117 return NULL;
6118 }
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
6122
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) return NULL;
6125 } Py_INCREF(Py_None);
6126 _resultobj = Py_None;
6127 {
6128 if (_obj2)
6129 delete _arg2;
6130 }
6131 return _resultobj;
6132 }
6133
6134 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6135 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6136 PyObject * _resultobj;
6137 wxPyGridTableBase * _arg0;
6138 int _arg1;
6139 wxString * _arg2;
6140 PyObject * _argo0 = 0;
6141 PyObject * _obj2 = 0;
6142 char *_kwnames[] = { "self","col","value", NULL };
6143
6144 self = self;
6145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6146 return NULL;
6147 if (_argo0) {
6148 if (_argo0 == Py_None) { _arg0 = NULL; }
6149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6151 return NULL;
6152 }
6153 }
6154 {
6155 _arg2 = wxString_in_helper(_obj2);
6156 if (_arg2 == NULL)
6157 return NULL;
6158 }
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6162
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) return NULL;
6165 } Py_INCREF(Py_None);
6166 _resultobj = Py_None;
6167 {
6168 if (_obj2)
6169 delete _arg2;
6170 }
6171 return _resultobj;
6172 }
6173
6174 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6175 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6176 PyObject * _resultobj;
6177 bool _result;
6178 wxPyGridTableBase * _arg0;
6179 PyObject * _argo0 = 0;
6180 char *_kwnames[] = { "self", NULL };
6181
6182 self = self;
6183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6184 return NULL;
6185 if (_argo0) {
6186 if (_argo0 == Py_None) { _arg0 = NULL; }
6187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6189 return NULL;
6190 }
6191 }
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6195
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) return NULL;
6198 } _resultobj = Py_BuildValue("i",_result);
6199 return _resultobj;
6200 }
6201
6202 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6203 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6204 PyObject * _resultobj;
6205 wxGridCellAttr * _result;
6206 wxPyGridTableBase * _arg0;
6207 int _arg1;
6208 int _arg2;
6209 wxGridCellAttr::wxAttrKind _arg3;
6210 PyObject * _argo0 = 0;
6211 char *_kwnames[] = { "self","row","col","kind", NULL };
6212 char _ptemp[128];
6213
6214 self = self;
6215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6216 return NULL;
6217 if (_argo0) {
6218 if (_argo0 == Py_None) { _arg0 = NULL; }
6219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6221 return NULL;
6222 }
6223 }
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6227
6228 wxPyEndAllowThreads(__tstate);
6229 if (PyErr_Occurred()) return NULL;
6230 } if (_result) {
6231 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
6232 _resultobj = Py_BuildValue("s",_ptemp);
6233 } else {
6234 Py_INCREF(Py_None);
6235 _resultobj = Py_None;
6236 }
6237 return _resultobj;
6238 }
6239
6240 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6241 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6242 PyObject * _resultobj;
6243 wxPyGridTableBase * _arg0;
6244 wxGridCellAttr * _arg1;
6245 int _arg2;
6246 int _arg3;
6247 PyObject * _argo0 = 0;
6248 PyObject * _argo1 = 0;
6249 char *_kwnames[] = { "self","attr","row","col", NULL };
6250
6251 self = self;
6252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6253 return NULL;
6254 if (_argo0) {
6255 if (_argo0 == Py_None) { _arg0 = NULL; }
6256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6258 return NULL;
6259 }
6260 }
6261 if (_argo1) {
6262 if (_argo1 == Py_None) { _arg1 = NULL; }
6263 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6264 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6265 return NULL;
6266 }
6267 }
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) return NULL;
6274 } Py_INCREF(Py_None);
6275 _resultobj = Py_None;
6276 return _resultobj;
6277 }
6278
6279 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6280 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject * _resultobj;
6282 wxPyGridTableBase * _arg0;
6283 wxGridCellAttr * _arg1;
6284 int _arg2;
6285 PyObject * _argo0 = 0;
6286 PyObject * _argo1 = 0;
6287 char *_kwnames[] = { "self","attr","row", NULL };
6288
6289 self = self;
6290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6291 return NULL;
6292 if (_argo0) {
6293 if (_argo0 == Py_None) { _arg0 = NULL; }
6294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6296 return NULL;
6297 }
6298 }
6299 if (_argo1) {
6300 if (_argo1 == Py_None) { _arg1 = NULL; }
6301 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6302 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6303 return NULL;
6304 }
6305 }
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) return NULL;
6312 } Py_INCREF(Py_None);
6313 _resultobj = Py_None;
6314 return _resultobj;
6315 }
6316
6317 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6318 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6319 PyObject * _resultobj;
6320 wxPyGridTableBase * _arg0;
6321 wxGridCellAttr * _arg1;
6322 int _arg2;
6323 PyObject * _argo0 = 0;
6324 PyObject * _argo1 = 0;
6325 char *_kwnames[] = { "self","attr","col", NULL };
6326
6327 self = self;
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6329 return NULL;
6330 if (_argo0) {
6331 if (_argo0 == Py_None) { _arg0 = NULL; }
6332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6334 return NULL;
6335 }
6336 }
6337 if (_argo1) {
6338 if (_argo1 == Py_None) { _arg1 = NULL; }
6339 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6340 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6341 return NULL;
6342 }
6343 }
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) return NULL;
6350 } Py_INCREF(Py_None);
6351 _resultobj = Py_None;
6352 return _resultobj;
6353 }
6354
6355 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6356 wxGridStringTable *src;
6357 wxGridTableBase *dest;
6358 src = (wxGridStringTable *) ptr;
6359 dest = (wxGridTableBase *) src;
6360 return (void *) dest;
6361 }
6362
6363 static void *SwigwxGridStringTableTowxObject(void *ptr) {
6364 wxGridStringTable *src;
6365 wxObject *dest;
6366 src = (wxGridStringTable *) ptr;
6367 dest = (wxObject *) src;
6368 return (void *) dest;
6369 }
6370
6371 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6372 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject * _resultobj;
6374 wxGridStringTable * _result;
6375 int _arg0 = (int ) 0;
6376 int _arg1 = (int ) 0;
6377 char *_kwnames[] = { "numRows","numCols", NULL };
6378 char _ptemp[128];
6379
6380 self = self;
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6382 return NULL;
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) return NULL;
6389 } if (_result) {
6390 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6391 _resultobj = Py_BuildValue("s",_ptemp);
6392 } else {
6393 Py_INCREF(Py_None);
6394 _resultobj = Py_None;
6395 }
6396 return _resultobj;
6397 }
6398
6399 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6400 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6401 PyObject * _resultobj;
6402 wxGridTableMessage * _result;
6403 wxGridTableBase * _arg0;
6404 int _arg1;
6405 int _arg2 = (int ) -1;
6406 int _arg3 = (int ) -1;
6407 PyObject * _argo0 = 0;
6408 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6409 char _ptemp[128];
6410
6411 self = self;
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6413 return NULL;
6414 if (_argo0) {
6415 if (_argo0 == Py_None) { _arg0 = NULL; }
6416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6418 return NULL;
6419 }
6420 }
6421 {
6422 PyThreadState* __tstate = wxPyBeginAllowThreads();
6423 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6424
6425 wxPyEndAllowThreads(__tstate);
6426 if (PyErr_Occurred()) return NULL;
6427 } if (_result) {
6428 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6429 _resultobj = Py_BuildValue("s",_ptemp);
6430 } else {
6431 Py_INCREF(Py_None);
6432 _resultobj = Py_None;
6433 }
6434 return _resultobj;
6435 }
6436
6437 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6438 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject * _resultobj;
6440 wxGridTableMessage * _arg0;
6441 PyObject * _argo0 = 0;
6442 char *_kwnames[] = { "self", NULL };
6443
6444 self = self;
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6446 return NULL;
6447 if (_argo0) {
6448 if (_argo0 == Py_None) { _arg0 = NULL; }
6449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6451 return NULL;
6452 }
6453 }
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 delete_wxGridTableMessage(_arg0);
6457
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) return NULL;
6460 } Py_INCREF(Py_None);
6461 _resultobj = Py_None;
6462 return _resultobj;
6463 }
6464
6465 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6466 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6467 PyObject * _resultobj;
6468 wxGridTableMessage * _arg0;
6469 wxGridTableBase * _arg1;
6470 PyObject * _argo0 = 0;
6471 PyObject * _argo1 = 0;
6472 char *_kwnames[] = { "self","table", NULL };
6473
6474 self = self;
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6476 return NULL;
6477 if (_argo0) {
6478 if (_argo0 == Py_None) { _arg0 = NULL; }
6479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6481 return NULL;
6482 }
6483 }
6484 if (_argo1) {
6485 if (_argo1 == Py_None) { _arg1 = NULL; }
6486 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6487 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6488 return NULL;
6489 }
6490 }
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) return NULL;
6497 } Py_INCREF(Py_None);
6498 _resultobj = Py_None;
6499 return _resultobj;
6500 }
6501
6502 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6503 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6504 PyObject * _resultobj;
6505 wxGridTableBase * _result;
6506 wxGridTableMessage * _arg0;
6507 PyObject * _argo0 = 0;
6508 char *_kwnames[] = { "self", NULL };
6509
6510 self = self;
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6512 return NULL;
6513 if (_argo0) {
6514 if (_argo0 == Py_None) { _arg0 = NULL; }
6515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6517 return NULL;
6518 }
6519 }
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) return NULL;
6526 }{ _resultobj = wxPyMake_wxObject(_result); }
6527 return _resultobj;
6528 }
6529
6530 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6531 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6532 PyObject * _resultobj;
6533 wxGridTableMessage * _arg0;
6534 int _arg1;
6535 PyObject * _argo0 = 0;
6536 char *_kwnames[] = { "self","id", NULL };
6537
6538 self = self;
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6540 return NULL;
6541 if (_argo0) {
6542 if (_argo0 == Py_None) { _arg0 = NULL; }
6543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6545 return NULL;
6546 }
6547 }
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 wxGridTableMessage_SetId(_arg0,_arg1);
6551
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) return NULL;
6554 } Py_INCREF(Py_None);
6555 _resultobj = Py_None;
6556 return _resultobj;
6557 }
6558
6559 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6560 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject * _resultobj;
6562 int _result;
6563 wxGridTableMessage * _arg0;
6564 PyObject * _argo0 = 0;
6565 char *_kwnames[] = { "self", NULL };
6566
6567 self = self;
6568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6569 return NULL;
6570 if (_argo0) {
6571 if (_argo0 == Py_None) { _arg0 = NULL; }
6572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6574 return NULL;
6575 }
6576 }
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 _result = (int )wxGridTableMessage_GetId(_arg0);
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) return NULL;
6583 } _resultobj = Py_BuildValue("i",_result);
6584 return _resultobj;
6585 }
6586
6587 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6588 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6589 PyObject * _resultobj;
6590 wxGridTableMessage * _arg0;
6591 int _arg1;
6592 PyObject * _argo0 = 0;
6593 char *_kwnames[] = { "self","comInt1", NULL };
6594
6595 self = self;
6596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6597 return NULL;
6598 if (_argo0) {
6599 if (_argo0 == Py_None) { _arg0 = NULL; }
6600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6602 return NULL;
6603 }
6604 }
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) return NULL;
6611 } Py_INCREF(Py_None);
6612 _resultobj = Py_None;
6613 return _resultobj;
6614 }
6615
6616 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6617 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6618 PyObject * _resultobj;
6619 int _result;
6620 wxGridTableMessage * _arg0;
6621 PyObject * _argo0 = 0;
6622 char *_kwnames[] = { "self", NULL };
6623
6624 self = self;
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6626 return NULL;
6627 if (_argo0) {
6628 if (_argo0 == Py_None) { _arg0 = NULL; }
6629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6631 return NULL;
6632 }
6633 }
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) return NULL;
6640 } _resultobj = Py_BuildValue("i",_result);
6641 return _resultobj;
6642 }
6643
6644 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6645 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6646 PyObject * _resultobj;
6647 wxGridTableMessage * _arg0;
6648 int _arg1;
6649 PyObject * _argo0 = 0;
6650 char *_kwnames[] = { "self","comInt2", NULL };
6651
6652 self = self;
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6654 return NULL;
6655 if (_argo0) {
6656 if (_argo0 == Py_None) { _arg0 = NULL; }
6657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6659 return NULL;
6660 }
6661 }
6662 {
6663 PyThreadState* __tstate = wxPyBeginAllowThreads();
6664 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6665
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) return NULL;
6668 } Py_INCREF(Py_None);
6669 _resultobj = Py_None;
6670 return _resultobj;
6671 }
6672
6673 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6674 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject * _resultobj;
6676 int _result;
6677 wxGridTableMessage * _arg0;
6678 PyObject * _argo0 = 0;
6679 char *_kwnames[] = { "self", NULL };
6680
6681 self = self;
6682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6683 return NULL;
6684 if (_argo0) {
6685 if (_argo0 == Py_None) { _arg0 = NULL; }
6686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6688 return NULL;
6689 }
6690 }
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) return NULL;
6697 } _resultobj = Py_BuildValue("i",_result);
6698 return _resultobj;
6699 }
6700
6701 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6702 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6703 PyObject * _resultobj;
6704 wxGridCellCoords * _result;
6705 int _arg0 = (int ) -1;
6706 int _arg1 = (int ) -1;
6707 char *_kwnames[] = { "r","c", NULL };
6708 char _ptemp[128];
6709
6710 self = self;
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6712 return NULL;
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6716
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) return NULL;
6719 } if (_result) {
6720 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6721 _resultobj = Py_BuildValue("s",_ptemp);
6722 } else {
6723 Py_INCREF(Py_None);
6724 _resultobj = Py_None;
6725 }
6726 return _resultobj;
6727 }
6728
6729 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6730 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6731 PyObject * _resultobj;
6732 wxGridCellCoords * _arg0;
6733 PyObject * _argo0 = 0;
6734 char *_kwnames[] = { "self", NULL };
6735
6736 self = self;
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6738 return NULL;
6739 if (_argo0) {
6740 if (_argo0 == Py_None) { _arg0 = NULL; }
6741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6743 return NULL;
6744 }
6745 }
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 delete_wxGridCellCoords(_arg0);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) return NULL;
6752 } Py_INCREF(Py_None);
6753 _resultobj = Py_None;
6754 return _resultobj;
6755 }
6756
6757 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6758 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6759 PyObject * _resultobj;
6760 int _result;
6761 wxGridCellCoords * _arg0;
6762 PyObject * _argo0 = 0;
6763 char *_kwnames[] = { "self", NULL };
6764
6765 self = self;
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6767 return NULL;
6768 if (_argo0) {
6769 if (_argo0 == Py_None) { _arg0 = NULL; }
6770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6772 return NULL;
6773 }
6774 }
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 _result = (int )wxGridCellCoords_GetRow(_arg0);
6778
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) return NULL;
6781 } _resultobj = Py_BuildValue("i",_result);
6782 return _resultobj;
6783 }
6784
6785 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6786 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6787 PyObject * _resultobj;
6788 wxGridCellCoords * _arg0;
6789 int _arg1;
6790 PyObject * _argo0 = 0;
6791 char *_kwnames[] = { "self","n", NULL };
6792
6793 self = self;
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6795 return NULL;
6796 if (_argo0) {
6797 if (_argo0 == Py_None) { _arg0 = NULL; }
6798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6800 return NULL;
6801 }
6802 }
6803 {
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 wxGridCellCoords_SetRow(_arg0,_arg1);
6806
6807 wxPyEndAllowThreads(__tstate);
6808 if (PyErr_Occurred()) return NULL;
6809 } Py_INCREF(Py_None);
6810 _resultobj = Py_None;
6811 return _resultobj;
6812 }
6813
6814 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6815 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6816 PyObject * _resultobj;
6817 int _result;
6818 wxGridCellCoords * _arg0;
6819 PyObject * _argo0 = 0;
6820 char *_kwnames[] = { "self", NULL };
6821
6822 self = self;
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6824 return NULL;
6825 if (_argo0) {
6826 if (_argo0 == Py_None) { _arg0 = NULL; }
6827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6829 return NULL;
6830 }
6831 }
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 _result = (int )wxGridCellCoords_GetCol(_arg0);
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) return NULL;
6838 } _resultobj = Py_BuildValue("i",_result);
6839 return _resultobj;
6840 }
6841
6842 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6843 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject * _resultobj;
6845 wxGridCellCoords * _arg0;
6846 int _arg1;
6847 PyObject * _argo0 = 0;
6848 char *_kwnames[] = { "self","n", NULL };
6849
6850 self = self;
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6852 return NULL;
6853 if (_argo0) {
6854 if (_argo0 == Py_None) { _arg0 = NULL; }
6855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6857 return NULL;
6858 }
6859 }
6860 {
6861 PyThreadState* __tstate = wxPyBeginAllowThreads();
6862 wxGridCellCoords_SetCol(_arg0,_arg1);
6863
6864 wxPyEndAllowThreads(__tstate);
6865 if (PyErr_Occurred()) return NULL;
6866 } Py_INCREF(Py_None);
6867 _resultobj = Py_None;
6868 return _resultobj;
6869 }
6870
6871 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6872 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject * _resultobj;
6874 wxGridCellCoords * _arg0;
6875 int _arg1;
6876 int _arg2;
6877 PyObject * _argo0 = 0;
6878 char *_kwnames[] = { "self","row","col", NULL };
6879
6880 self = self;
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6882 return NULL;
6883 if (_argo0) {
6884 if (_argo0 == Py_None) { _arg0 = NULL; }
6885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6887 return NULL;
6888 }
6889 }
6890 {
6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
6892 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6893
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) return NULL;
6896 } Py_INCREF(Py_None);
6897 _resultobj = Py_None;
6898 return _resultobj;
6899 }
6900
6901 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6902 PyObject* tup = PyTuple_New(2);
6903 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6904 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6905 return tup;
6906 }
6907 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject * _resultobj;
6909 PyObject * _result;
6910 wxGridCellCoords * _arg0;
6911 PyObject * _argo0 = 0;
6912 char *_kwnames[] = { "self", NULL };
6913
6914 self = self;
6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6916 return NULL;
6917 if (_argo0) {
6918 if (_argo0 == Py_None) { _arg0 = NULL; }
6919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6921 return NULL;
6922 }
6923 }
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) return NULL;
6930 }{
6931 _resultobj = _result;
6932 }
6933 return _resultobj;
6934 }
6935
6936 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6937 return *self != other;
6938 }
6939 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6940 PyObject * _resultobj;
6941 int _result;
6942 wxGridCellCoords * _arg0;
6943 wxGridCellCoords * _arg1;
6944 PyObject * _argo0 = 0;
6945 PyObject * _argo1 = 0;
6946 char *_kwnames[] = { "self","other", NULL };
6947
6948 self = self;
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6950 return NULL;
6951 if (_argo0) {
6952 if (_argo0 == Py_None) { _arg0 = NULL; }
6953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6955 return NULL;
6956 }
6957 }
6958 if (_argo1) {
6959 if (_argo1 == Py_None) { _arg1 = NULL; }
6960 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6961 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6962 return NULL;
6963 }
6964 }
6965 {
6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
6967 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6968
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) return NULL;
6971 } _resultobj = Py_BuildValue("i",_result);
6972 return _resultobj;
6973 }
6974
6975 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6976 wxGrid *src;
6977 wxScrolledWindow *dest;
6978 src = (wxGrid *) ptr;
6979 dest = (wxScrolledWindow *) src;
6980 return (void *) dest;
6981 }
6982
6983 static void *SwigwxGridTowxPanel(void *ptr) {
6984 wxGrid *src;
6985 wxPanel *dest;
6986 src = (wxGrid *) ptr;
6987 dest = (wxPanel *) src;
6988 return (void *) dest;
6989 }
6990
6991 static void *SwigwxGridTowxWindow(void *ptr) {
6992 wxGrid *src;
6993 wxWindow *dest;
6994 src = (wxGrid *) ptr;
6995 dest = (wxWindow *) src;
6996 return (void *) dest;
6997 }
6998
6999 static void *SwigwxGridTowxEvtHandler(void *ptr) {
7000 wxGrid *src;
7001 wxEvtHandler *dest;
7002 src = (wxGrid *) ptr;
7003 dest = (wxEvtHandler *) src;
7004 return (void *) dest;
7005 }
7006
7007 static void *SwigwxGridTowxObject(void *ptr) {
7008 wxGrid *src;
7009 wxObject *dest;
7010 src = (wxGrid *) ptr;
7011 dest = (wxObject *) src;
7012 return (void *) dest;
7013 }
7014
7015 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7016 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7017 PyObject * _resultobj;
7018 wxGrid * _result;
7019 wxWindow * _arg0;
7020 wxWindowID _arg1;
7021 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7022 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7023 long _arg4 = (long ) wxWANTS_CHARS;
7024 char * _arg5 = (char *) wxPanelNameStr;
7025 PyObject * _argo0 = 0;
7026 wxPoint temp;
7027 PyObject * _obj2 = 0;
7028 wxSize temp0;
7029 PyObject * _obj3 = 0;
7030 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7031 char _ptemp[128];
7032
7033 self = self;
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
7035 return NULL;
7036 if (_argo0) {
7037 if (_argo0 == Py_None) { _arg0 = NULL; }
7038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7040 return NULL;
7041 }
7042 }
7043 if (_obj2)
7044 {
7045 _arg2 = &temp;
7046 if (! wxPoint_helper(_obj2, &_arg2))
7047 return NULL;
7048 }
7049 if (_obj3)
7050 {
7051 _arg3 = &temp0;
7052 if (! wxSize_helper(_obj3, &_arg3))
7053 return NULL;
7054 }
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) return NULL;
7061 } if (_result) {
7062 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7063 _resultobj = Py_BuildValue("s",_ptemp);
7064 } else {
7065 Py_INCREF(Py_None);
7066 _resultobj = Py_None;
7067 }
7068 return _resultobj;
7069 }
7070
7071 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7072 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7073 PyObject * _resultobj;
7074 bool _result;
7075 wxGrid * _arg0;
7076 int _arg1;
7077 int _arg2;
7078 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7079 PyObject * _argo0 = 0;
7080 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7081
7082 self = self;
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7084 return NULL;
7085 if (_argo0) {
7086 if (_argo0 == Py_None) { _arg0 = NULL; }
7087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7089 return NULL;
7090 }
7091 }
7092 {
7093 PyThreadState* __tstate = wxPyBeginAllowThreads();
7094 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
7095
7096 wxPyEndAllowThreads(__tstate);
7097 if (PyErr_Occurred()) return NULL;
7098 } _resultobj = Py_BuildValue("i",_result);
7099 return _resultobj;
7100 }
7101
7102 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7103 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7104 PyObject * _resultobj;
7105 wxGrid * _arg0;
7106 WXGRIDSELECTIONMODES _arg1;
7107 PyObject * _argo0 = 0;
7108 char *_kwnames[] = { "self","selmode", NULL };
7109
7110 self = self;
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
7112 return NULL;
7113 if (_argo0) {
7114 if (_argo0 == Py_None) { _arg0 = NULL; }
7115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7117 return NULL;
7118 }
7119 }
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 wxGrid_SetSelectionMode(_arg0,_arg1);
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) return NULL;
7126 } Py_INCREF(Py_None);
7127 _resultobj = Py_None;
7128 return _resultobj;
7129 }
7130
7131 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7132 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7133 PyObject * _resultobj;
7134 int _result;
7135 wxGrid * _arg0;
7136 PyObject * _argo0 = 0;
7137 char *_kwnames[] = { "self", NULL };
7138
7139 self = self;
7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7141 return NULL;
7142 if (_argo0) {
7143 if (_argo0 == Py_None) { _arg0 = NULL; }
7144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7146 return NULL;
7147 }
7148 }
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 _result = (int )wxGrid_GetNumberRows(_arg0);
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) return NULL;
7155 } _resultobj = Py_BuildValue("i",_result);
7156 return _resultobj;
7157 }
7158
7159 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7160 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject * _resultobj;
7162 int _result;
7163 wxGrid * _arg0;
7164 PyObject * _argo0 = 0;
7165 char *_kwnames[] = { "self", NULL };
7166
7167 self = self;
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7169 return NULL;
7170 if (_argo0) {
7171 if (_argo0 == Py_None) { _arg0 = NULL; }
7172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7174 return NULL;
7175 }
7176 }
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 _result = (int )wxGrid_GetNumberCols(_arg0);
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) return NULL;
7183 } _resultobj = Py_BuildValue("i",_result);
7184 return _resultobj;
7185 }
7186
7187 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7188 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject * _resultobj;
7190 bool _result;
7191 wxGrid * _arg0;
7192 wxGridTableMessage * _arg1;
7193 PyObject * _argo0 = 0;
7194 PyObject * _argo1 = 0;
7195 char *_kwnames[] = { "self","arg2", NULL };
7196
7197 self = self;
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
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_ProcessTableMessage. 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,"_wxGridTableMessage_p")) {
7210 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7211 return NULL;
7212 }
7213 }
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7217
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) return NULL;
7220 } _resultobj = Py_BuildValue("i",_result);
7221 return _resultobj;
7222 }
7223
7224 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7225 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7226 PyObject * _resultobj;
7227 wxGridTableBase * _result;
7228 wxGrid * _arg0;
7229 PyObject * _argo0 = 0;
7230 char *_kwnames[] = { "self", NULL };
7231
7232 self = self;
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7234 return NULL;
7235 if (_argo0) {
7236 if (_argo0 == Py_None) { _arg0 = NULL; }
7237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7239 return NULL;
7240 }
7241 }
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) return NULL;
7248 }{ _resultobj = wxPyMake_wxObject(_result); }
7249 return _resultobj;
7250 }
7251
7252 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7253 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7254 PyObject * _resultobj;
7255 bool _result;
7256 wxGrid * _arg0;
7257 wxGridTableBase * _arg1;
7258 bool _arg2 = (bool ) FALSE;
7259 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7260 PyObject * _argo0 = 0;
7261 PyObject * _argo1 = 0;
7262 int tempbool2 = (int) FALSE;
7263 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7264
7265 self = self;
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7267 return NULL;
7268 if (_argo0) {
7269 if (_argo0 == Py_None) { _arg0 = NULL; }
7270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7272 return NULL;
7273 }
7274 }
7275 if (_argo1) {
7276 if (_argo1 == Py_None) { _arg1 = NULL; }
7277 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7278 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7279 return NULL;
7280 }
7281 }
7282 _arg2 = (bool ) tempbool2;
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) return NULL;
7289 } _resultobj = Py_BuildValue("i",_result);
7290 return _resultobj;
7291 }
7292
7293 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7294 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7295 PyObject * _resultobj;
7296 wxGrid * _arg0;
7297 PyObject * _argo0 = 0;
7298 char *_kwnames[] = { "self", NULL };
7299
7300 self = self;
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7302 return NULL;
7303 if (_argo0) {
7304 if (_argo0 == Py_None) { _arg0 = NULL; }
7305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7307 return NULL;
7308 }
7309 }
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 wxGrid_ClearGrid(_arg0);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) return NULL;
7316 } Py_INCREF(Py_None);
7317 _resultobj = Py_None;
7318 return _resultobj;
7319 }
7320
7321 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7322 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7323 PyObject * _resultobj;
7324 bool _result;
7325 wxGrid * _arg0;
7326 int _arg1 = (int ) 0;
7327 int _arg2 = (int ) 1;
7328 bool _arg3 = (bool ) TRUE;
7329 PyObject * _argo0 = 0;
7330 int tempbool3 = (int) TRUE;
7331 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7332
7333 self = self;
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7335 return NULL;
7336 if (_argo0) {
7337 if (_argo0 == Py_None) { _arg0 = NULL; }
7338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7340 return NULL;
7341 }
7342 }
7343 _arg3 = (bool ) tempbool3;
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) return NULL;
7350 } _resultobj = Py_BuildValue("i",_result);
7351 return _resultobj;
7352 }
7353
7354 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7355 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7356 PyObject * _resultobj;
7357 bool _result;
7358 wxGrid * _arg0;
7359 int _arg1 = (int ) 1;
7360 bool _arg2 = (bool ) TRUE;
7361 PyObject * _argo0 = 0;
7362 int tempbool2 = (int) TRUE;
7363 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7364
7365 self = self;
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7367 return NULL;
7368 if (_argo0) {
7369 if (_argo0 == Py_None) { _arg0 = NULL; }
7370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7372 return NULL;
7373 }
7374 }
7375 _arg2 = (bool ) tempbool2;
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) return NULL;
7382 } _resultobj = Py_BuildValue("i",_result);
7383 return _resultobj;
7384 }
7385
7386 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7387 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7388 PyObject * _resultobj;
7389 bool _result;
7390 wxGrid * _arg0;
7391 int _arg1 = (int ) 0;
7392 int _arg2 = (int ) 1;
7393 bool _arg3 = (bool ) TRUE;
7394 PyObject * _argo0 = 0;
7395 int tempbool3 = (int) TRUE;
7396 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7397
7398 self = self;
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7400 return NULL;
7401 if (_argo0) {
7402 if (_argo0 == Py_None) { _arg0 = NULL; }
7403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7405 return NULL;
7406 }
7407 }
7408 _arg3 = (bool ) tempbool3;
7409 {
7410 PyThreadState* __tstate = wxPyBeginAllowThreads();
7411 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7412
7413 wxPyEndAllowThreads(__tstate);
7414 if (PyErr_Occurred()) return NULL;
7415 } _resultobj = Py_BuildValue("i",_result);
7416 return _resultobj;
7417 }
7418
7419 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7420 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7421 PyObject * _resultobj;
7422 bool _result;
7423 wxGrid * _arg0;
7424 int _arg1 = (int ) 0;
7425 int _arg2 = (int ) 1;
7426 bool _arg3 = (bool ) TRUE;
7427 PyObject * _argo0 = 0;
7428 int tempbool3 = (int) TRUE;
7429 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7430
7431 self = self;
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7433 return NULL;
7434 if (_argo0) {
7435 if (_argo0 == Py_None) { _arg0 = NULL; }
7436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7438 return NULL;
7439 }
7440 }
7441 _arg3 = (bool ) tempbool3;
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) return NULL;
7448 } _resultobj = Py_BuildValue("i",_result);
7449 return _resultobj;
7450 }
7451
7452 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7453 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject * _resultobj;
7455 bool _result;
7456 wxGrid * _arg0;
7457 int _arg1 = (int ) 1;
7458 bool _arg2 = (bool ) TRUE;
7459 PyObject * _argo0 = 0;
7460 int tempbool2 = (int) TRUE;
7461 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7462
7463 self = self;
7464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7465 return NULL;
7466 if (_argo0) {
7467 if (_argo0 == Py_None) { _arg0 = NULL; }
7468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7470 return NULL;
7471 }
7472 }
7473 _arg2 = (bool ) tempbool2;
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) return NULL;
7480 } _resultobj = Py_BuildValue("i",_result);
7481 return _resultobj;
7482 }
7483
7484 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7485 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject * _resultobj;
7487 bool _result;
7488 wxGrid * _arg0;
7489 int _arg1 = (int ) 0;
7490 int _arg2 = (int ) 1;
7491 bool _arg3 = (bool ) TRUE;
7492 PyObject * _argo0 = 0;
7493 int tempbool3 = (int) TRUE;
7494 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7495
7496 self = self;
7497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7498 return NULL;
7499 if (_argo0) {
7500 if (_argo0 == Py_None) { _arg0 = NULL; }
7501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7503 return NULL;
7504 }
7505 }
7506 _arg3 = (bool ) tempbool3;
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) return NULL;
7513 } _resultobj = Py_BuildValue("i",_result);
7514 return _resultobj;
7515 }
7516
7517 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7518 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject * _resultobj;
7520 wxGrid * _arg0;
7521 wxDC * _arg1;
7522 wxGridCellAttr * _arg2;
7523 PyObject * _argo0 = 0;
7524 PyObject * _argo1 = 0;
7525 PyObject * _argo2 = 0;
7526 char *_kwnames[] = { "self","dc","attr", NULL };
7527
7528 self = self;
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7530 return NULL;
7531 if (_argo0) {
7532 if (_argo0 == Py_None) { _arg0 = NULL; }
7533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7535 return NULL;
7536 }
7537 }
7538 if (_argo1) {
7539 if (_argo1 == Py_None) { _arg1 = NULL; }
7540 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7541 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7542 return NULL;
7543 }
7544 }
7545 if (_argo2) {
7546 if (_argo2 == Py_None) { _arg2 = NULL; }
7547 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7548 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7549 return NULL;
7550 }
7551 }
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) return NULL;
7558 } Py_INCREF(Py_None);
7559 _resultobj = Py_None;
7560 return _resultobj;
7561 }
7562
7563 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7564 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7565 PyObject * _resultobj;
7566 wxGrid * _arg0;
7567 wxDC * _arg1;
7568 wxString * _arg2;
7569 wxRect * _arg3;
7570 int _arg4 = (int ) wxLEFT;
7571 int _arg5 = (int ) wxTOP;
7572 PyObject * _argo0 = 0;
7573 PyObject * _argo1 = 0;
7574 PyObject * _obj2 = 0;
7575 wxRect temp;
7576 PyObject * _obj3 = 0;
7577 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7578
7579 self = self;
7580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
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_DrawTextRectangle. Expected _wxGrid_p.");
7586 return NULL;
7587 }
7588 }
7589 if (_argo1) {
7590 if (_argo1 == Py_None) { _arg1 = NULL; }
7591 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7592 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7593 return NULL;
7594 }
7595 }
7596 {
7597 _arg2 = wxString_in_helper(_obj2);
7598 if (_arg2 == NULL)
7599 return NULL;
7600 }
7601 {
7602 _arg3 = &temp;
7603 if (! wxRect_helper(_obj3, &_arg3))
7604 return NULL;
7605 }
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) return NULL;
7612 } Py_INCREF(Py_None);
7613 _resultobj = Py_None;
7614 {
7615 if (_obj2)
7616 delete _arg2;
7617 }
7618 return _resultobj;
7619 }
7620
7621 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7622 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7623 PyObject * _resultobj;
7624 wxGrid * _arg0;
7625 wxDC * _arg1;
7626 wxArrayString * _arg2;
7627 long * _arg3;
7628 long temp;
7629 long * _arg4;
7630 long temp0;
7631 PyObject * _argo0 = 0;
7632 PyObject * _argo1 = 0;
7633 PyObject * _obj2 = 0;
7634 char *_kwnames[] = { "self","dc","lines", NULL };
7635
7636 self = self;
7637 {
7638 _arg3 = &temp;
7639 }
7640 {
7641 _arg4 = &temp0;
7642 }
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
7644 return NULL;
7645 if (_argo0) {
7646 if (_argo0 == Py_None) { _arg0 = NULL; }
7647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7649 return NULL;
7650 }
7651 }
7652 if (_argo1) {
7653 if (_argo1 == Py_None) { _arg1 = NULL; }
7654 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7655 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7656 return NULL;
7657 }
7658 }
7659 {
7660 if (! PySequence_Check(_obj2)) {
7661 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7662 return NULL;
7663 }
7664 _arg2 = new wxArrayString;
7665 int i, len=PySequence_Length(_obj2);
7666 for (i=0; i<len; i++) {
7667 PyObject* item = PySequence_GetItem(_obj2, i);
7668 #if wxUSE_UNICODE
7669 PyObject* str = PyObject_Unicode(item);
7670 _arg2->Add(PyUnicode_AsUnicode(str));
7671 #else
7672 PyObject* str = PyObject_Str(item);
7673 _arg2->Add(PyString_AsString(str));
7674 #endif
7675 Py_DECREF(item);
7676 Py_DECREF(str);
7677 }
7678 }
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) return NULL;
7685 } Py_INCREF(Py_None);
7686 _resultobj = Py_None;
7687 {
7688 PyObject *o;
7689 o = PyInt_FromLong((long) (*_arg3));
7690 _resultobj = t_output_helper(_resultobj, o);
7691 }
7692 {
7693 PyObject *o;
7694 o = PyInt_FromLong((long) (*_arg4));
7695 _resultobj = t_output_helper(_resultobj, o);
7696 }
7697 {
7698 if (_obj2)
7699 delete _arg2;
7700 }
7701 return _resultobj;
7702 }
7703
7704 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7705 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7706 PyObject * _resultobj;
7707 wxGrid * _arg0;
7708 PyObject * _argo0 = 0;
7709 char *_kwnames[] = { "self", NULL };
7710
7711 self = self;
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7713 return NULL;
7714 if (_argo0) {
7715 if (_argo0 == Py_None) { _arg0 = NULL; }
7716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7718 return NULL;
7719 }
7720 }
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 wxGrid_BeginBatch(_arg0);
7724
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) return NULL;
7727 } Py_INCREF(Py_None);
7728 _resultobj = Py_None;
7729 return _resultobj;
7730 }
7731
7732 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7733 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject * _resultobj;
7735 wxGrid * _arg0;
7736 PyObject * _argo0 = 0;
7737 char *_kwnames[] = { "self", NULL };
7738
7739 self = self;
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7741 return NULL;
7742 if (_argo0) {
7743 if (_argo0 == Py_None) { _arg0 = NULL; }
7744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7746 return NULL;
7747 }
7748 }
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 wxGrid_EndBatch(_arg0);
7752
7753 wxPyEndAllowThreads(__tstate);
7754 if (PyErr_Occurred()) return NULL;
7755 } Py_INCREF(Py_None);
7756 _resultobj = Py_None;
7757 return _resultobj;
7758 }
7759
7760 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7761 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7762 PyObject * _resultobj;
7763 int _result;
7764 wxGrid * _arg0;
7765 PyObject * _argo0 = 0;
7766 char *_kwnames[] = { "self", NULL };
7767
7768 self = self;
7769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7770 return NULL;
7771 if (_argo0) {
7772 if (_argo0 == Py_None) { _arg0 = NULL; }
7773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7775 return NULL;
7776 }
7777 }
7778 {
7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7780 _result = (int )wxGrid_GetBatchCount(_arg0);
7781
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) return NULL;
7784 } _resultobj = Py_BuildValue("i",_result);
7785 return _resultobj;
7786 }
7787
7788 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7789 static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7790 PyObject * _resultobj;
7791 wxGrid * _arg0;
7792 PyObject * _argo0 = 0;
7793 char *_kwnames[] = { "self", NULL };
7794
7795 self = self;
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
7797 return NULL;
7798 if (_argo0) {
7799 if (_argo0 == Py_None) { _arg0 = NULL; }
7800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7802 return NULL;
7803 }
7804 }
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 wxGrid_ForceRefresh(_arg0);
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) return NULL;
7811 } Py_INCREF(Py_None);
7812 _resultobj = Py_None;
7813 return _resultobj;
7814 }
7815
7816 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7817 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7818 PyObject * _resultobj;
7819 bool _result;
7820 wxGrid * _arg0;
7821 PyObject * _argo0 = 0;
7822 char *_kwnames[] = { "self", NULL };
7823
7824 self = self;
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7826 return NULL;
7827 if (_argo0) {
7828 if (_argo0 == Py_None) { _arg0 = NULL; }
7829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7831 return NULL;
7832 }
7833 }
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 _result = (bool )wxGrid_IsEditable(_arg0);
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) return NULL;
7840 } _resultobj = Py_BuildValue("i",_result);
7841 return _resultobj;
7842 }
7843
7844 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7845 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject * _resultobj;
7847 wxGrid * _arg0;
7848 bool _arg1;
7849 PyObject * _argo0 = 0;
7850 int tempbool1;
7851 char *_kwnames[] = { "self","edit", NULL };
7852
7853 self = self;
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7855 return NULL;
7856 if (_argo0) {
7857 if (_argo0 == Py_None) { _arg0 = NULL; }
7858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7860 return NULL;
7861 }
7862 }
7863 _arg1 = (bool ) tempbool1;
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 wxGrid_EnableEditing(_arg0,_arg1);
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) return NULL;
7870 } Py_INCREF(Py_None);
7871 _resultobj = Py_None;
7872 return _resultobj;
7873 }
7874
7875 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7876 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7877 PyObject * _resultobj;
7878 wxGrid * _arg0;
7879 bool _arg1 = (bool ) TRUE;
7880 PyObject * _argo0 = 0;
7881 int tempbool1 = (int) TRUE;
7882 char *_kwnames[] = { "self","enable", NULL };
7883
7884 self = self;
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7886 return NULL;
7887 if (_argo0) {
7888 if (_argo0 == Py_None) { _arg0 = NULL; }
7889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7891 return NULL;
7892 }
7893 }
7894 _arg1 = (bool ) tempbool1;
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 wxGrid_EnableCellEditControl(_arg0,_arg1);
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) return NULL;
7901 } Py_INCREF(Py_None);
7902 _resultobj = Py_None;
7903 return _resultobj;
7904 }
7905
7906 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7907 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7908 PyObject * _resultobj;
7909 wxGrid * _arg0;
7910 PyObject * _argo0 = 0;
7911 char *_kwnames[] = { "self", NULL };
7912
7913 self = self;
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7915 return NULL;
7916 if (_argo0) {
7917 if (_argo0 == Py_None) { _arg0 = NULL; }
7918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7920 return NULL;
7921 }
7922 }
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 wxGrid_DisableCellEditControl(_arg0);
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) return NULL;
7929 } Py_INCREF(Py_None);
7930 _resultobj = Py_None;
7931 return _resultobj;
7932 }
7933
7934 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7935 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject * _resultobj;
7937 bool _result;
7938 wxGrid * _arg0;
7939 PyObject * _argo0 = 0;
7940 char *_kwnames[] = { "self", NULL };
7941
7942 self = self;
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7944 return NULL;
7945 if (_argo0) {
7946 if (_argo0 == Py_None) { _arg0 = NULL; }
7947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7949 return NULL;
7950 }
7951 }
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7955
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) return NULL;
7958 } _resultobj = Py_BuildValue("i",_result);
7959 return _resultobj;
7960 }
7961
7962 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7963 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject * _resultobj;
7965 bool _result;
7966 wxGrid * _arg0;
7967 PyObject * _argo0 = 0;
7968 char *_kwnames[] = { "self", NULL };
7969
7970 self = self;
7971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7972 return NULL;
7973 if (_argo0) {
7974 if (_argo0 == Py_None) { _arg0 = NULL; }
7975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7977 return NULL;
7978 }
7979 }
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) return NULL;
7986 } _resultobj = Py_BuildValue("i",_result);
7987 return _resultobj;
7988 }
7989
7990 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7991 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
7992 PyObject * _resultobj;
7993 bool _result;
7994 wxGrid * _arg0;
7995 PyObject * _argo0 = 0;
7996 char *_kwnames[] = { "self", NULL };
7997
7998 self = self;
7999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
8000 return NULL;
8001 if (_argo0) {
8002 if (_argo0 == Py_None) { _arg0 = NULL; }
8003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8005 return NULL;
8006 }
8007 }
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) return NULL;
8014 } _resultobj = Py_BuildValue("i",_result);
8015 return _resultobj;
8016 }
8017
8018 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8019 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8020 PyObject * _resultobj;
8021 bool _result;
8022 wxGrid * _arg0;
8023 PyObject * _argo0 = 0;
8024 char *_kwnames[] = { "self", NULL };
8025
8026 self = self;
8027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8028 return NULL;
8029 if (_argo0) {
8030 if (_argo0 == Py_None) { _arg0 = NULL; }
8031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8033 return NULL;
8034 }
8035 }
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) return NULL;
8042 } _resultobj = Py_BuildValue("i",_result);
8043 return _resultobj;
8044 }
8045
8046 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8047 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8048 PyObject * _resultobj;
8049 wxGrid * _arg0;
8050 PyObject * _argo0 = 0;
8051 char *_kwnames[] = { "self", NULL };
8052
8053 self = self;
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
8055 return NULL;
8056 if (_argo0) {
8057 if (_argo0 == Py_None) { _arg0 = NULL; }
8058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8060 return NULL;
8061 }
8062 }
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 wxGrid_ShowCellEditControl(_arg0);
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) return NULL;
8069 } Py_INCREF(Py_None);
8070 _resultobj = Py_None;
8071 return _resultobj;
8072 }
8073
8074 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8075 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8076 PyObject * _resultobj;
8077 wxGrid * _arg0;
8078 PyObject * _argo0 = 0;
8079 char *_kwnames[] = { "self", NULL };
8080
8081 self = self;
8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8083 return NULL;
8084 if (_argo0) {
8085 if (_argo0 == Py_None) { _arg0 = NULL; }
8086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8088 return NULL;
8089 }
8090 }
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 wxGrid_HideCellEditControl(_arg0);
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) return NULL;
8097 } Py_INCREF(Py_None);
8098 _resultobj = Py_None;
8099 return _resultobj;
8100 }
8101
8102 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8103 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject * _resultobj;
8105 wxGrid * _arg0;
8106 PyObject * _argo0 = 0;
8107 char *_kwnames[] = { "self", NULL };
8108
8109 self = self;
8110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8111 return NULL;
8112 if (_argo0) {
8113 if (_argo0 == Py_None) { _arg0 = NULL; }
8114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8116 return NULL;
8117 }
8118 }
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 wxGrid_SaveEditControlValue(_arg0);
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) return NULL;
8125 } Py_INCREF(Py_None);
8126 _resultobj = Py_None;
8127 return _resultobj;
8128 }
8129
8130 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8131 wxGridCellCoords rv;
8132 self->XYToCell(x, y, rv);
8133 return new wxGridCellCoords(rv);
8134 }
8135 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8136 PyObject * _resultobj;
8137 wxGridCellCoords * _result;
8138 wxGrid * _arg0;
8139 int _arg1;
8140 int _arg2;
8141 PyObject * _argo0 = 0;
8142 char *_kwnames[] = { "self","x","y", NULL };
8143 char _ptemp[128];
8144
8145 self = self;
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8147 return NULL;
8148 if (_argo0) {
8149 if (_argo0 == Py_None) { _arg0 = NULL; }
8150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8152 return NULL;
8153 }
8154 }
8155 {
8156 PyThreadState* __tstate = wxPyBeginAllowThreads();
8157 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8158
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) return NULL;
8161 } if (_result) {
8162 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8163 _resultobj = Py_BuildValue("s",_ptemp);
8164 } else {
8165 Py_INCREF(Py_None);
8166 _resultobj = Py_None;
8167 }
8168 return _resultobj;
8169 }
8170
8171 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8172 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8173 PyObject * _resultobj;
8174 int _result;
8175 wxGrid * _arg0;
8176 int _arg1;
8177 PyObject * _argo0 = 0;
8178 char *_kwnames[] = { "self","y", NULL };
8179
8180 self = self;
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8182 return NULL;
8183 if (_argo0) {
8184 if (_argo0 == Py_None) { _arg0 = NULL; }
8185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8187 return NULL;
8188 }
8189 }
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) return NULL;
8196 } _resultobj = Py_BuildValue("i",_result);
8197 return _resultobj;
8198 }
8199
8200 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8201 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8202 PyObject * _resultobj;
8203 int _result;
8204 wxGrid * _arg0;
8205 int _arg1;
8206 PyObject * _argo0 = 0;
8207 char *_kwnames[] = { "self","x", NULL };
8208
8209 self = self;
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8211 return NULL;
8212 if (_argo0) {
8213 if (_argo0 == Py_None) { _arg0 = NULL; }
8214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8216 return NULL;
8217 }
8218 }
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) return NULL;
8225 } _resultobj = Py_BuildValue("i",_result);
8226 return _resultobj;
8227 }
8228
8229 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8230 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8231 PyObject * _resultobj;
8232 int _result;
8233 wxGrid * _arg0;
8234 int _arg1;
8235 PyObject * _argo0 = 0;
8236 char *_kwnames[] = { "self","y", NULL };
8237
8238 self = self;
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8240 return NULL;
8241 if (_argo0) {
8242 if (_argo0 == Py_None) { _arg0 = NULL; }
8243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8245 return NULL;
8246 }
8247 }
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) return NULL;
8254 } _resultobj = Py_BuildValue("i",_result);
8255 return _resultobj;
8256 }
8257
8258 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8259 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8260 PyObject * _resultobj;
8261 int _result;
8262 wxGrid * _arg0;
8263 int _arg1;
8264 PyObject * _argo0 = 0;
8265 char *_kwnames[] = { "self","x", NULL };
8266
8267 self = self;
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8269 return NULL;
8270 if (_argo0) {
8271 if (_argo0 == Py_None) { _arg0 = NULL; }
8272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8274 return NULL;
8275 }
8276 }
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) return NULL;
8283 } _resultobj = Py_BuildValue("i",_result);
8284 return _resultobj;
8285 }
8286
8287 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8288 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8289 PyObject * _resultobj;
8290 wxRect * _result;
8291 wxGrid * _arg0;
8292 int _arg1;
8293 int _arg2;
8294 PyObject * _argo0 = 0;
8295 char *_kwnames[] = { "self","row","col", NULL };
8296 char _ptemp[128];
8297
8298 self = self;
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8300 return NULL;
8301 if (_argo0) {
8302 if (_argo0 == Py_None) { _arg0 = NULL; }
8303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8305 return NULL;
8306 }
8307 }
8308 {
8309 PyThreadState* __tstate = wxPyBeginAllowThreads();
8310 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8311
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) return NULL;
8314 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8315 _resultobj = Py_BuildValue("s",_ptemp);
8316 return _resultobj;
8317 }
8318
8319 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8320 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8321 PyObject * _resultobj;
8322 int _result;
8323 wxGrid * _arg0;
8324 PyObject * _argo0 = 0;
8325 char *_kwnames[] = { "self", NULL };
8326
8327 self = self;
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8329 return NULL;
8330 if (_argo0) {
8331 if (_argo0 == Py_None) { _arg0 = NULL; }
8332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8334 return NULL;
8335 }
8336 }
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8340
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) return NULL;
8343 } _resultobj = Py_BuildValue("i",_result);
8344 return _resultobj;
8345 }
8346
8347 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8348 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8349 PyObject * _resultobj;
8350 int _result;
8351 wxGrid * _arg0;
8352 PyObject * _argo0 = 0;
8353 char *_kwnames[] = { "self", NULL };
8354
8355 self = self;
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8357 return NULL;
8358 if (_argo0) {
8359 if (_argo0 == Py_None) { _arg0 = NULL; }
8360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8362 return NULL;
8363 }
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) return NULL;
8371 } _resultobj = Py_BuildValue("i",_result);
8372 return _resultobj;
8373 }
8374
8375 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8376 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8377 PyObject * _resultobj;
8378 bool _result;
8379 wxGrid * _arg0;
8380 int _arg1;
8381 int _arg2;
8382 bool _arg3 = (bool ) TRUE;
8383 PyObject * _argo0 = 0;
8384 int tempbool3 = (int) TRUE;
8385 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8386
8387 self = self;
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8389 return NULL;
8390 if (_argo0) {
8391 if (_argo0 == Py_None) { _arg0 = NULL; }
8392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8394 return NULL;
8395 }
8396 }
8397 _arg3 = (bool ) tempbool3;
8398 {
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8401
8402 wxPyEndAllowThreads(__tstate);
8403 if (PyErr_Occurred()) return NULL;
8404 } _resultobj = Py_BuildValue("i",_result);
8405 return _resultobj;
8406 }
8407
8408 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8409 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8410 PyObject * _resultobj;
8411 wxGrid * _arg0;
8412 int _arg1;
8413 int _arg2;
8414 PyObject * _argo0 = 0;
8415 char *_kwnames[] = { "self","row","col", NULL };
8416
8417 self = self;
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8419 return NULL;
8420 if (_argo0) {
8421 if (_argo0 == Py_None) { _arg0 = NULL; }
8422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8424 return NULL;
8425 }
8426 }
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) return NULL;
8433 } Py_INCREF(Py_None);
8434 _resultobj = Py_None;
8435 return _resultobj;
8436 }
8437
8438 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8439 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8440 PyObject * _resultobj;
8441 wxGrid * _arg0;
8442 int _arg1;
8443 int _arg2;
8444 PyObject * _argo0 = 0;
8445 char *_kwnames[] = { "self","row","col", NULL };
8446
8447 self = self;
8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8449 return NULL;
8450 if (_argo0) {
8451 if (_argo0 == Py_None) { _arg0 = NULL; }
8452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8454 return NULL;
8455 }
8456 }
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) return NULL;
8463 } Py_INCREF(Py_None);
8464 _resultobj = Py_None;
8465 return _resultobj;
8466 }
8467
8468 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8469 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8470 PyObject * _resultobj;
8471 bool _result;
8472 wxGrid * _arg0;
8473 bool _arg1;
8474 PyObject * _argo0 = 0;
8475 int tempbool1;
8476 char *_kwnames[] = { "self","expandSelection", NULL };
8477
8478 self = self;
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8480 return NULL;
8481 if (_argo0) {
8482 if (_argo0 == Py_None) { _arg0 = NULL; }
8483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8485 return NULL;
8486 }
8487 }
8488 _arg1 = (bool ) tempbool1;
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) return NULL;
8495 } _resultobj = Py_BuildValue("i",_result);
8496 return _resultobj;
8497 }
8498
8499 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8500 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8501 PyObject * _resultobj;
8502 bool _result;
8503 wxGrid * _arg0;
8504 bool _arg1;
8505 PyObject * _argo0 = 0;
8506 int tempbool1;
8507 char *_kwnames[] = { "self","expandSelection", NULL };
8508
8509 self = self;
8510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8511 return NULL;
8512 if (_argo0) {
8513 if (_argo0 == Py_None) { _arg0 = NULL; }
8514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8516 return NULL;
8517 }
8518 }
8519 _arg1 = (bool ) tempbool1;
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) return NULL;
8526 } _resultobj = Py_BuildValue("i",_result);
8527 return _resultobj;
8528 }
8529
8530 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8531 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8532 PyObject * _resultobj;
8533 bool _result;
8534 wxGrid * _arg0;
8535 bool _arg1;
8536 PyObject * _argo0 = 0;
8537 int tempbool1;
8538 char *_kwnames[] = { "self","expandSelection", NULL };
8539
8540 self = self;
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8542 return NULL;
8543 if (_argo0) {
8544 if (_argo0 == Py_None) { _arg0 = NULL; }
8545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8547 return NULL;
8548 }
8549 }
8550 _arg1 = (bool ) tempbool1;
8551 {
8552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8553 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) return NULL;
8557 } _resultobj = Py_BuildValue("i",_result);
8558 return _resultobj;
8559 }
8560
8561 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8562 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8563 PyObject * _resultobj;
8564 bool _result;
8565 wxGrid * _arg0;
8566 bool _arg1;
8567 PyObject * _argo0 = 0;
8568 int tempbool1;
8569 char *_kwnames[] = { "self","expandSelection", NULL };
8570
8571 self = self;
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8573 return NULL;
8574 if (_argo0) {
8575 if (_argo0 == Py_None) { _arg0 = NULL; }
8576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8578 return NULL;
8579 }
8580 }
8581 _arg1 = (bool ) tempbool1;
8582 {
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
8584 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8585
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) return NULL;
8588 } _resultobj = Py_BuildValue("i",_result);
8589 return _resultobj;
8590 }
8591
8592 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8593 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8594 PyObject * _resultobj;
8595 bool _result;
8596 wxGrid * _arg0;
8597 PyObject * _argo0 = 0;
8598 char *_kwnames[] = { "self", NULL };
8599
8600 self = self;
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8602 return NULL;
8603 if (_argo0) {
8604 if (_argo0 == Py_None) { _arg0 = NULL; }
8605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8607 return NULL;
8608 }
8609 }
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 _result = (bool )wxGrid_MovePageDown(_arg0);
8613
8614 wxPyEndAllowThreads(__tstate);
8615 if (PyErr_Occurred()) return NULL;
8616 } _resultobj = Py_BuildValue("i",_result);
8617 return _resultobj;
8618 }
8619
8620 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8621 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8622 PyObject * _resultobj;
8623 bool _result;
8624 wxGrid * _arg0;
8625 PyObject * _argo0 = 0;
8626 char *_kwnames[] = { "self", NULL };
8627
8628 self = self;
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8630 return NULL;
8631 if (_argo0) {
8632 if (_argo0 == Py_None) { _arg0 = NULL; }
8633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8635 return NULL;
8636 }
8637 }
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 _result = (bool )wxGrid_MovePageUp(_arg0);
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) return NULL;
8644 } _resultobj = Py_BuildValue("i",_result);
8645 return _resultobj;
8646 }
8647
8648 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8649 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8650 PyObject * _resultobj;
8651 bool _result;
8652 wxGrid * _arg0;
8653 bool _arg1;
8654 PyObject * _argo0 = 0;
8655 int tempbool1;
8656 char *_kwnames[] = { "self","expandSelection", NULL };
8657
8658 self = self;
8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8660 return NULL;
8661 if (_argo0) {
8662 if (_argo0 == Py_None) { _arg0 = NULL; }
8663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8665 return NULL;
8666 }
8667 }
8668 _arg1 = (bool ) tempbool1;
8669 {
8670 PyThreadState* __tstate = wxPyBeginAllowThreads();
8671 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8672
8673 wxPyEndAllowThreads(__tstate);
8674 if (PyErr_Occurred()) return NULL;
8675 } _resultobj = Py_BuildValue("i",_result);
8676 return _resultobj;
8677 }
8678
8679 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8680 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8681 PyObject * _resultobj;
8682 bool _result;
8683 wxGrid * _arg0;
8684 bool _arg1;
8685 PyObject * _argo0 = 0;
8686 int tempbool1;
8687 char *_kwnames[] = { "self","expandSelection", NULL };
8688
8689 self = self;
8690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8691 return NULL;
8692 if (_argo0) {
8693 if (_argo0 == Py_None) { _arg0 = NULL; }
8694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8696 return NULL;
8697 }
8698 }
8699 _arg1 = (bool ) tempbool1;
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8703
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) return NULL;
8706 } _resultobj = Py_BuildValue("i",_result);
8707 return _resultobj;
8708 }
8709
8710 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8711 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8712 PyObject * _resultobj;
8713 bool _result;
8714 wxGrid * _arg0;
8715 bool _arg1;
8716 PyObject * _argo0 = 0;
8717 int tempbool1;
8718 char *_kwnames[] = { "self","expandSelection", NULL };
8719
8720 self = self;
8721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8722 return NULL;
8723 if (_argo0) {
8724 if (_argo0 == Py_None) { _arg0 = NULL; }
8725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8727 return NULL;
8728 }
8729 }
8730 _arg1 = (bool ) tempbool1;
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) return NULL;
8737 } _resultobj = Py_BuildValue("i",_result);
8738 return _resultobj;
8739 }
8740
8741 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8742 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8743 PyObject * _resultobj;
8744 bool _result;
8745 wxGrid * _arg0;
8746 bool _arg1;
8747 PyObject * _argo0 = 0;
8748 int tempbool1;
8749 char *_kwnames[] = { "self","expandSelection", NULL };
8750
8751 self = self;
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8753 return NULL;
8754 if (_argo0) {
8755 if (_argo0 == Py_None) { _arg0 = NULL; }
8756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8758 return NULL;
8759 }
8760 }
8761 _arg1 = (bool ) tempbool1;
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8765
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) return NULL;
8768 } _resultobj = Py_BuildValue("i",_result);
8769 return _resultobj;
8770 }
8771
8772 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8773 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8774 PyObject * _resultobj;
8775 int _result;
8776 wxGrid * _arg0;
8777 PyObject * _argo0 = 0;
8778 char *_kwnames[] = { "self", NULL };
8779
8780 self = self;
8781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8782 return NULL;
8783 if (_argo0) {
8784 if (_argo0 == Py_None) { _arg0 = NULL; }
8785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8787 return NULL;
8788 }
8789 }
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) return NULL;
8796 } _resultobj = Py_BuildValue("i",_result);
8797 return _resultobj;
8798 }
8799
8800 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8801 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8802 PyObject * _resultobj;
8803 int _result;
8804 wxGrid * _arg0;
8805 PyObject * _argo0 = 0;
8806 char *_kwnames[] = { "self", NULL };
8807
8808 self = self;
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8810 return NULL;
8811 if (_argo0) {
8812 if (_argo0 == Py_None) { _arg0 = NULL; }
8813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8815 return NULL;
8816 }
8817 }
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) return NULL;
8824 } _resultobj = Py_BuildValue("i",_result);
8825 return _resultobj;
8826 }
8827
8828 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8829 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8830 PyObject * _resultobj;
8831 int _result;
8832 wxGrid * _arg0;
8833 PyObject * _argo0 = 0;
8834 char *_kwnames[] = { "self", NULL };
8835
8836 self = self;
8837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8838 return NULL;
8839 if (_argo0) {
8840 if (_argo0 == Py_None) { _arg0 = NULL; }
8841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8843 return NULL;
8844 }
8845 }
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8849
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) return NULL;
8852 } _resultobj = Py_BuildValue("i",_result);
8853 return _resultobj;
8854 }
8855
8856 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8857 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject * _resultobj;
8859 int _result;
8860 wxGrid * _arg0;
8861 PyObject * _argo0 = 0;
8862 char *_kwnames[] = { "self", NULL };
8863
8864 self = self;
8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8866 return NULL;
8867 if (_argo0) {
8868 if (_argo0 == Py_None) { _arg0 = NULL; }
8869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8871 return NULL;
8872 }
8873 }
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 _result = (int )wxGrid_GetColLabelSize(_arg0);
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) return NULL;
8880 } _resultobj = Py_BuildValue("i",_result);
8881 return _resultobj;
8882 }
8883
8884 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8885 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject * _resultobj;
8887 wxColour * _result;
8888 wxGrid * _arg0;
8889 PyObject * _argo0 = 0;
8890 char *_kwnames[] = { "self", NULL };
8891 char _ptemp[128];
8892
8893 self = self;
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8895 return NULL;
8896 if (_argo0) {
8897 if (_argo0 == Py_None) { _arg0 = NULL; }
8898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8900 return NULL;
8901 }
8902 }
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8906
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) return NULL;
8909 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8910 _resultobj = Py_BuildValue("s",_ptemp);
8911 return _resultobj;
8912 }
8913
8914 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8915 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject * _resultobj;
8917 wxColour * _result;
8918 wxGrid * _arg0;
8919 PyObject * _argo0 = 0;
8920 char *_kwnames[] = { "self", NULL };
8921 char _ptemp[128];
8922
8923 self = self;
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8925 return NULL;
8926 if (_argo0) {
8927 if (_argo0 == Py_None) { _arg0 = NULL; }
8928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8930 return NULL;
8931 }
8932 }
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) return NULL;
8939 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8940 _resultobj = Py_BuildValue("s",_ptemp);
8941 return _resultobj;
8942 }
8943
8944 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8945 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8946 PyObject * _resultobj;
8947 wxFont * _result;
8948 wxGrid * _arg0;
8949 PyObject * _argo0 = 0;
8950 char *_kwnames[] = { "self", NULL };
8951 char _ptemp[128];
8952
8953 self = self;
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8955 return NULL;
8956 if (_argo0) {
8957 if (_argo0 == Py_None) { _arg0 = NULL; }
8958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8960 return NULL;
8961 }
8962 }
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8966
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) return NULL;
8969 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8970 _resultobj = Py_BuildValue("s",_ptemp);
8971 return _resultobj;
8972 }
8973
8974 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8975 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject * _resultobj;
8977 wxGrid * _arg0;
8978 int * _arg1;
8979 int temp;
8980 int * _arg2;
8981 int temp0;
8982 PyObject * _argo0 = 0;
8983 char *_kwnames[] = { "self", NULL };
8984
8985 self = self;
8986 {
8987 _arg1 = &temp;
8988 }
8989 {
8990 _arg2 = &temp0;
8991 }
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
8993 return NULL;
8994 if (_argo0) {
8995 if (_argo0 == Py_None) { _arg0 = NULL; }
8996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8998 return NULL;
8999 }
9000 }
9001 {
9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
9003 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
9004
9005 wxPyEndAllowThreads(__tstate);
9006 if (PyErr_Occurred()) return NULL;
9007 } Py_INCREF(Py_None);
9008 _resultobj = Py_None;
9009 {
9010 PyObject *o;
9011 o = PyInt_FromLong((long) (*_arg1));
9012 _resultobj = t_output_helper(_resultobj, o);
9013 }
9014 {
9015 PyObject *o;
9016 o = PyInt_FromLong((long) (*_arg2));
9017 _resultobj = t_output_helper(_resultobj, o);
9018 }
9019 return _resultobj;
9020 }
9021
9022 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9023 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9024 PyObject * _resultobj;
9025 wxGrid * _arg0;
9026 int * _arg1;
9027 int temp;
9028 int * _arg2;
9029 int temp0;
9030 PyObject * _argo0 = 0;
9031 char *_kwnames[] = { "self", NULL };
9032
9033 self = self;
9034 {
9035 _arg1 = &temp;
9036 }
9037 {
9038 _arg2 = &temp0;
9039 }
9040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9041 return NULL;
9042 if (_argo0) {
9043 if (_argo0 == Py_None) { _arg0 = NULL; }
9044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9046 return NULL;
9047 }
9048 }
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
9052
9053 wxPyEndAllowThreads(__tstate);
9054 if (PyErr_Occurred()) return NULL;
9055 } Py_INCREF(Py_None);
9056 _resultobj = Py_None;
9057 {
9058 PyObject *o;
9059 o = PyInt_FromLong((long) (*_arg1));
9060 _resultobj = t_output_helper(_resultobj, o);
9061 }
9062 {
9063 PyObject *o;
9064 o = PyInt_FromLong((long) (*_arg2));
9065 _resultobj = t_output_helper(_resultobj, o);
9066 }
9067 return _resultobj;
9068 }
9069
9070 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9071 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9072 PyObject * _resultobj;
9073 wxString * _result;
9074 wxGrid * _arg0;
9075 int _arg1;
9076 PyObject * _argo0 = 0;
9077 char *_kwnames[] = { "self","row", NULL };
9078
9079 self = self;
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9081 return NULL;
9082 if (_argo0) {
9083 if (_argo0 == Py_None) { _arg0 = NULL; }
9084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9086 return NULL;
9087 }
9088 }
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) return NULL;
9095 }{
9096 #if wxUSE_UNICODE
9097 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9098 #else
9099 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9100 #endif
9101 }
9102 {
9103 delete _result;
9104 }
9105 return _resultobj;
9106 }
9107
9108 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9109 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9110 PyObject * _resultobj;
9111 wxString * _result;
9112 wxGrid * _arg0;
9113 int _arg1;
9114 PyObject * _argo0 = 0;
9115 char *_kwnames[] = { "self","col", NULL };
9116
9117 self = self;
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9119 return NULL;
9120 if (_argo0) {
9121 if (_argo0 == Py_None) { _arg0 = NULL; }
9122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9124 return NULL;
9125 }
9126 }
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) return NULL;
9133 }{
9134 #if wxUSE_UNICODE
9135 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9136 #else
9137 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9138 #endif
9139 }
9140 {
9141 delete _result;
9142 }
9143 return _resultobj;
9144 }
9145
9146 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9147 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9148 PyObject * _resultobj;
9149 wxColour * _result;
9150 wxGrid * _arg0;
9151 PyObject * _argo0 = 0;
9152 char *_kwnames[] = { "self", NULL };
9153 char _ptemp[128];
9154
9155 self = self;
9156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9157 return NULL;
9158 if (_argo0) {
9159 if (_argo0 == Py_None) { _arg0 = NULL; }
9160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9162 return NULL;
9163 }
9164 }
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) return NULL;
9171 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9172 _resultobj = Py_BuildValue("s",_ptemp);
9173 return _resultobj;
9174 }
9175
9176 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9177 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9178 PyObject * _resultobj;
9179 wxColour * _result;
9180 wxGrid * _arg0;
9181 PyObject * _argo0 = 0;
9182 char *_kwnames[] = { "self", NULL };
9183 char _ptemp[128];
9184
9185 self = self;
9186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9187 return NULL;
9188 if (_argo0) {
9189 if (_argo0 == Py_None) { _arg0 = NULL; }
9190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9192 return NULL;
9193 }
9194 }
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) return NULL;
9201 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9202 _resultobj = Py_BuildValue("s",_ptemp);
9203 return _resultobj;
9204 }
9205
9206 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9207 static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9208 PyObject * _resultobj;
9209 int _result;
9210 wxGrid * _arg0;
9211 PyObject * _argo0 = 0;
9212 char *_kwnames[] = { "self", NULL };
9213
9214 self = self;
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9216 return NULL;
9217 if (_argo0) {
9218 if (_argo0 == Py_None) { _arg0 = NULL; }
9219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9221 return NULL;
9222 }
9223 }
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) return NULL;
9230 } _resultobj = Py_BuildValue("i",_result);
9231 return _resultobj;
9232 }
9233
9234 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9235 static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9236 PyObject * _resultobj;
9237 int _result;
9238 wxGrid * _arg0;
9239 PyObject * _argo0 = 0;
9240 char *_kwnames[] = { "self", NULL };
9241
9242 self = self;
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9244 return NULL;
9245 if (_argo0) {
9246 if (_argo0 == Py_None) { _arg0 = NULL; }
9247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9249 return NULL;
9250 }
9251 }
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9255
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) return NULL;
9258 } _resultobj = Py_BuildValue("i",_result);
9259 return _resultobj;
9260 }
9261
9262 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9263 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject * _resultobj;
9265 wxGrid * _arg0;
9266 int _arg1;
9267 PyObject * _argo0 = 0;
9268 char *_kwnames[] = { "self","width", NULL };
9269
9270 self = self;
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9272 return NULL;
9273 if (_argo0) {
9274 if (_argo0 == Py_None) { _arg0 = NULL; }
9275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9277 return NULL;
9278 }
9279 }
9280 {
9281 PyThreadState* __tstate = wxPyBeginAllowThreads();
9282 wxGrid_SetRowLabelSize(_arg0,_arg1);
9283
9284 wxPyEndAllowThreads(__tstate);
9285 if (PyErr_Occurred()) return NULL;
9286 } Py_INCREF(Py_None);
9287 _resultobj = Py_None;
9288 return _resultobj;
9289 }
9290
9291 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9292 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9293 PyObject * _resultobj;
9294 wxGrid * _arg0;
9295 int _arg1;
9296 PyObject * _argo0 = 0;
9297 char *_kwnames[] = { "self","height", NULL };
9298
9299 self = self;
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9301 return NULL;
9302 if (_argo0) {
9303 if (_argo0 == Py_None) { _arg0 = NULL; }
9304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9306 return NULL;
9307 }
9308 }
9309 {
9310 PyThreadState* __tstate = wxPyBeginAllowThreads();
9311 wxGrid_SetColLabelSize(_arg0,_arg1);
9312
9313 wxPyEndAllowThreads(__tstate);
9314 if (PyErr_Occurred()) return NULL;
9315 } Py_INCREF(Py_None);
9316 _resultobj = Py_None;
9317 return _resultobj;
9318 }
9319
9320 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9321 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9322 PyObject * _resultobj;
9323 wxGrid * _arg0;
9324 wxColour * _arg1;
9325 PyObject * _argo0 = 0;
9326 wxColour temp;
9327 PyObject * _obj1 = 0;
9328 char *_kwnames[] = { "self","arg2", NULL };
9329
9330 self = self;
9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9332 return NULL;
9333 if (_argo0) {
9334 if (_argo0 == Py_None) { _arg0 = NULL; }
9335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9337 return NULL;
9338 }
9339 }
9340 {
9341 _arg1 = &temp;
9342 if (! wxColour_helper(_obj1, &_arg1))
9343 return NULL;
9344 }
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) return NULL;
9351 } Py_INCREF(Py_None);
9352 _resultobj = Py_None;
9353 return _resultobj;
9354 }
9355
9356 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9357 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9358 PyObject * _resultobj;
9359 wxGrid * _arg0;
9360 wxColour * _arg1;
9361 PyObject * _argo0 = 0;
9362 wxColour temp;
9363 PyObject * _obj1 = 0;
9364 char *_kwnames[] = { "self","arg2", NULL };
9365
9366 self = self;
9367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9368 return NULL;
9369 if (_argo0) {
9370 if (_argo0 == Py_None) { _arg0 = NULL; }
9371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9373 return NULL;
9374 }
9375 }
9376 {
9377 _arg1 = &temp;
9378 if (! wxColour_helper(_obj1, &_arg1))
9379 return NULL;
9380 }
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) return NULL;
9387 } Py_INCREF(Py_None);
9388 _resultobj = Py_None;
9389 return _resultobj;
9390 }
9391
9392 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9393 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9394 PyObject * _resultobj;
9395 wxGrid * _arg0;
9396 wxFont * _arg1;
9397 PyObject * _argo0 = 0;
9398 PyObject * _argo1 = 0;
9399 char *_kwnames[] = { "self","arg2", NULL };
9400
9401 self = self;
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9403 return NULL;
9404 if (_argo0) {
9405 if (_argo0 == Py_None) { _arg0 = NULL; }
9406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9408 return NULL;
9409 }
9410 }
9411 if (_argo1) {
9412 if (_argo1 == Py_None) { _arg1 = NULL; }
9413 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9414 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9415 return NULL;
9416 }
9417 }
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 wxGrid_SetLabelFont(_arg0,*_arg1);
9421
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) return NULL;
9424 } Py_INCREF(Py_None);
9425 _resultobj = Py_None;
9426 return _resultobj;
9427 }
9428
9429 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9430 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9431 PyObject * _resultobj;
9432 wxGrid * _arg0;
9433 int _arg1;
9434 int _arg2;
9435 PyObject * _argo0 = 0;
9436 char *_kwnames[] = { "self","horiz","vert", NULL };
9437
9438 self = self;
9439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9440 return NULL;
9441 if (_argo0) {
9442 if (_argo0 == Py_None) { _arg0 = NULL; }
9443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9445 return NULL;
9446 }
9447 }
9448 {
9449 PyThreadState* __tstate = wxPyBeginAllowThreads();
9450 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
9451
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) return NULL;
9454 } Py_INCREF(Py_None);
9455 _resultobj = Py_None;
9456 return _resultobj;
9457 }
9458
9459 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9460 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9461 PyObject * _resultobj;
9462 wxGrid * _arg0;
9463 int _arg1;
9464 int _arg2;
9465 PyObject * _argo0 = 0;
9466 char *_kwnames[] = { "self","horiz","vert", NULL };
9467
9468 self = self;
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9470 return NULL;
9471 if (_argo0) {
9472 if (_argo0 == Py_None) { _arg0 = NULL; }
9473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9475 return NULL;
9476 }
9477 }
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9481
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) return NULL;
9484 } Py_INCREF(Py_None);
9485 _resultobj = Py_None;
9486 return _resultobj;
9487 }
9488
9489 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9490 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9491 PyObject * _resultobj;
9492 wxGrid * _arg0;
9493 int _arg1;
9494 wxString * _arg2;
9495 PyObject * _argo0 = 0;
9496 PyObject * _obj2 = 0;
9497 char *_kwnames[] = { "self","row","arg3", NULL };
9498
9499 self = self;
9500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9501 return NULL;
9502 if (_argo0) {
9503 if (_argo0 == Py_None) { _arg0 = NULL; }
9504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9506 return NULL;
9507 }
9508 }
9509 {
9510 _arg2 = wxString_in_helper(_obj2);
9511 if (_arg2 == NULL)
9512 return NULL;
9513 }
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) return NULL;
9520 } Py_INCREF(Py_None);
9521 _resultobj = Py_None;
9522 {
9523 if (_obj2)
9524 delete _arg2;
9525 }
9526 return _resultobj;
9527 }
9528
9529 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9530 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9531 PyObject * _resultobj;
9532 wxGrid * _arg0;
9533 int _arg1;
9534 wxString * _arg2;
9535 PyObject * _argo0 = 0;
9536 PyObject * _obj2 = 0;
9537 char *_kwnames[] = { "self","col","arg3", NULL };
9538
9539 self = self;
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9541 return NULL;
9542 if (_argo0) {
9543 if (_argo0 == Py_None) { _arg0 = NULL; }
9544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9546 return NULL;
9547 }
9548 }
9549 {
9550 _arg2 = wxString_in_helper(_obj2);
9551 if (_arg2 == NULL)
9552 return NULL;
9553 }
9554 {
9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
9556 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9557
9558 wxPyEndAllowThreads(__tstate);
9559 if (PyErr_Occurred()) return NULL;
9560 } Py_INCREF(Py_None);
9561 _resultobj = Py_None;
9562 {
9563 if (_obj2)
9564 delete _arg2;
9565 }
9566 return _resultobj;
9567 }
9568
9569 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9570 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9571 PyObject * _resultobj;
9572 wxGrid * _arg0;
9573 wxColour * _arg1;
9574 PyObject * _argo0 = 0;
9575 wxColour temp;
9576 PyObject * _obj1 = 0;
9577 char *_kwnames[] = { "self","arg2", NULL };
9578
9579 self = self;
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9581 return NULL;
9582 if (_argo0) {
9583 if (_argo0 == Py_None) { _arg0 = NULL; }
9584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9586 return NULL;
9587 }
9588 }
9589 {
9590 _arg1 = &temp;
9591 if (! wxColour_helper(_obj1, &_arg1))
9592 return NULL;
9593 }
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 wxGrid_SetGridLineColour(_arg0,*_arg1);
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) return NULL;
9600 } Py_INCREF(Py_None);
9601 _resultobj = Py_None;
9602 return _resultobj;
9603 }
9604
9605 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9606 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9607 PyObject * _resultobj;
9608 wxGrid * _arg0;
9609 wxColour * _arg1;
9610 PyObject * _argo0 = 0;
9611 wxColour temp;
9612 PyObject * _obj1 = 0;
9613 char *_kwnames[] = { "self","arg2", NULL };
9614
9615 self = self;
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9617 return NULL;
9618 if (_argo0) {
9619 if (_argo0 == Py_None) { _arg0 = NULL; }
9620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9622 return NULL;
9623 }
9624 }
9625 {
9626 _arg1 = &temp;
9627 if (! wxColour_helper(_obj1, &_arg1))
9628 return NULL;
9629 }
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) return NULL;
9636 } Py_INCREF(Py_None);
9637 _resultobj = Py_None;
9638 return _resultobj;
9639 }
9640
9641 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9642 static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9643 PyObject * _resultobj;
9644 wxGrid * _arg0;
9645 int _arg1;
9646 PyObject * _argo0 = 0;
9647 char *_kwnames[] = { "self","width", NULL };
9648
9649 self = self;
9650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
9651 return NULL;
9652 if (_argo0) {
9653 if (_argo0 == Py_None) { _arg0 = NULL; }
9654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9656 return NULL;
9657 }
9658 }
9659 {
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
9661 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
9662
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) return NULL;
9665 } Py_INCREF(Py_None);
9666 _resultobj = Py_None;
9667 return _resultobj;
9668 }
9669
9670 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9671 static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9672 PyObject * _resultobj;
9673 wxGrid * _arg0;
9674 int _arg1;
9675 PyObject * _argo0 = 0;
9676 char *_kwnames[] = { "self","width", NULL };
9677
9678 self = self;
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
9680 return NULL;
9681 if (_argo0) {
9682 if (_argo0 == Py_None) { _arg0 = NULL; }
9683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9685 return NULL;
9686 }
9687 }
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) return NULL;
9694 } Py_INCREF(Py_None);
9695 _resultobj = Py_None;
9696 return _resultobj;
9697 }
9698
9699 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9700 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9701 PyObject * _resultobj;
9702 wxGrid * _arg0;
9703 bool _arg1 = (bool ) TRUE;
9704 PyObject * _argo0 = 0;
9705 int tempbool1 = (int) TRUE;
9706 char *_kwnames[] = { "self","enable", NULL };
9707
9708 self = self;
9709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9710 return NULL;
9711 if (_argo0) {
9712 if (_argo0 == Py_None) { _arg0 = NULL; }
9713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9715 return NULL;
9716 }
9717 }
9718 _arg1 = (bool ) tempbool1;
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 wxGrid_EnableDragRowSize(_arg0,_arg1);
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) return NULL;
9725 } Py_INCREF(Py_None);
9726 _resultobj = Py_None;
9727 return _resultobj;
9728 }
9729
9730 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9731 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9732 PyObject * _resultobj;
9733 wxGrid * _arg0;
9734 PyObject * _argo0 = 0;
9735 char *_kwnames[] = { "self", NULL };
9736
9737 self = self;
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9739 return NULL;
9740 if (_argo0) {
9741 if (_argo0 == Py_None) { _arg0 = NULL; }
9742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9744 return NULL;
9745 }
9746 }
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 wxGrid_DisableDragRowSize(_arg0);
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) return NULL;
9753 } Py_INCREF(Py_None);
9754 _resultobj = Py_None;
9755 return _resultobj;
9756 }
9757
9758 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9759 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject * _resultobj;
9761 bool _result;
9762 wxGrid * _arg0;
9763 PyObject * _argo0 = 0;
9764 char *_kwnames[] = { "self", NULL };
9765
9766 self = self;
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9768 return NULL;
9769 if (_argo0) {
9770 if (_argo0 == Py_None) { _arg0 = NULL; }
9771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9773 return NULL;
9774 }
9775 }
9776 {
9777 PyThreadState* __tstate = wxPyBeginAllowThreads();
9778 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9779
9780 wxPyEndAllowThreads(__tstate);
9781 if (PyErr_Occurred()) return NULL;
9782 } _resultobj = Py_BuildValue("i",_result);
9783 return _resultobj;
9784 }
9785
9786 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9787 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9788 PyObject * _resultobj;
9789 wxGrid * _arg0;
9790 bool _arg1 = (bool ) TRUE;
9791 PyObject * _argo0 = 0;
9792 int tempbool1 = (int) TRUE;
9793 char *_kwnames[] = { "self","enable", NULL };
9794
9795 self = self;
9796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9797 return NULL;
9798 if (_argo0) {
9799 if (_argo0 == Py_None) { _arg0 = NULL; }
9800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9802 return NULL;
9803 }
9804 }
9805 _arg1 = (bool ) tempbool1;
9806 {
9807 PyThreadState* __tstate = wxPyBeginAllowThreads();
9808 wxGrid_EnableDragColSize(_arg0,_arg1);
9809
9810 wxPyEndAllowThreads(__tstate);
9811 if (PyErr_Occurred()) return NULL;
9812 } Py_INCREF(Py_None);
9813 _resultobj = Py_None;
9814 return _resultobj;
9815 }
9816
9817 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9818 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9819 PyObject * _resultobj;
9820 wxGrid * _arg0;
9821 PyObject * _argo0 = 0;
9822 char *_kwnames[] = { "self", NULL };
9823
9824 self = self;
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9826 return NULL;
9827 if (_argo0) {
9828 if (_argo0 == Py_None) { _arg0 = NULL; }
9829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9831 return NULL;
9832 }
9833 }
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 wxGrid_DisableDragColSize(_arg0);
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) return NULL;
9840 } Py_INCREF(Py_None);
9841 _resultobj = Py_None;
9842 return _resultobj;
9843 }
9844
9845 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9846 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9847 PyObject * _resultobj;
9848 bool _result;
9849 wxGrid * _arg0;
9850 PyObject * _argo0 = 0;
9851 char *_kwnames[] = { "self", NULL };
9852
9853 self = self;
9854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9855 return NULL;
9856 if (_argo0) {
9857 if (_argo0 == Py_None) { _arg0 = NULL; }
9858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9860 return NULL;
9861 }
9862 }
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 _result = (bool )wxGrid_CanDragColSize(_arg0);
9866
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) return NULL;
9869 } _resultobj = Py_BuildValue("i",_result);
9870 return _resultobj;
9871 }
9872
9873 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9874 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9875 PyObject * _resultobj;
9876 wxGrid * _arg0;
9877 bool _arg1 = (bool ) TRUE;
9878 PyObject * _argo0 = 0;
9879 int tempbool1 = (int) TRUE;
9880 char *_kwnames[] = { "self","enable", NULL };
9881
9882 self = self;
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9884 return NULL;
9885 if (_argo0) {
9886 if (_argo0 == Py_None) { _arg0 = NULL; }
9887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9889 return NULL;
9890 }
9891 }
9892 _arg1 = (bool ) tempbool1;
9893 {
9894 PyThreadState* __tstate = wxPyBeginAllowThreads();
9895 wxGrid_EnableDragGridSize(_arg0,_arg1);
9896
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) return NULL;
9899 } Py_INCREF(Py_None);
9900 _resultobj = Py_None;
9901 return _resultobj;
9902 }
9903
9904 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9905 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9906 PyObject * _resultobj;
9907 wxGrid * _arg0;
9908 PyObject * _argo0 = 0;
9909 char *_kwnames[] = { "self", NULL };
9910
9911 self = self;
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9913 return NULL;
9914 if (_argo0) {
9915 if (_argo0 == Py_None) { _arg0 = NULL; }
9916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9918 return NULL;
9919 }
9920 }
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 wxGrid_DisableDragGridSize(_arg0);
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) return NULL;
9927 } Py_INCREF(Py_None);
9928 _resultobj = Py_None;
9929 return _resultobj;
9930 }
9931
9932 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9933 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9934 PyObject * _resultobj;
9935 bool _result;
9936 wxGrid * _arg0;
9937 PyObject * _argo0 = 0;
9938 char *_kwnames[] = { "self", NULL };
9939
9940 self = self;
9941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9942 return NULL;
9943 if (_argo0) {
9944 if (_argo0 == Py_None) { _arg0 = NULL; }
9945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9947 return NULL;
9948 }
9949 }
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) return NULL;
9956 } _resultobj = Py_BuildValue("i",_result);
9957 return _resultobj;
9958 }
9959
9960 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9961 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9962 PyObject * _resultobj;
9963 wxGrid * _arg0;
9964 int _arg1;
9965 wxGridCellAttr * _arg2;
9966 PyObject * _argo0 = 0;
9967 PyObject * _argo2 = 0;
9968 char *_kwnames[] = { "self","row","attr", NULL };
9969
9970 self = self;
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9972 return NULL;
9973 if (_argo0) {
9974 if (_argo0 == Py_None) { _arg0 = NULL; }
9975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9977 return NULL;
9978 }
9979 }
9980 if (_argo2) {
9981 if (_argo2 == Py_None) { _arg2 = NULL; }
9982 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9983 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9984 return NULL;
9985 }
9986 }
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) return NULL;
9993 } Py_INCREF(Py_None);
9994 _resultobj = Py_None;
9995 return _resultobj;
9996 }
9997
9998 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9999 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10000 PyObject * _resultobj;
10001 wxGrid * _arg0;
10002 int _arg1;
10003 wxGridCellAttr * _arg2;
10004 PyObject * _argo0 = 0;
10005 PyObject * _argo2 = 0;
10006 char *_kwnames[] = { "self","col","attr", NULL };
10007
10008 self = self;
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10010 return NULL;
10011 if (_argo0) {
10012 if (_argo0 == Py_None) { _arg0 = NULL; }
10013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10015 return NULL;
10016 }
10017 }
10018 if (_argo2) {
10019 if (_argo2 == Py_None) { _arg2 = NULL; }
10020 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10021 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10022 return NULL;
10023 }
10024 }
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) return NULL;
10031 } Py_INCREF(Py_None);
10032 _resultobj = Py_None;
10033 return _resultobj;
10034 }
10035
10036 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10037 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10038 PyObject * _resultobj;
10039 wxGrid * _arg0;
10040 int _arg1;
10041 PyObject * _argo0 = 0;
10042 char *_kwnames[] = { "self","col", NULL };
10043
10044 self = self;
10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10046 return NULL;
10047 if (_argo0) {
10048 if (_argo0 == Py_None) { _arg0 = NULL; }
10049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10051 return NULL;
10052 }
10053 }
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 wxGrid_SetColFormatBool(_arg0,_arg1);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) return NULL;
10060 } Py_INCREF(Py_None);
10061 _resultobj = Py_None;
10062 return _resultobj;
10063 }
10064
10065 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10066 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10067 PyObject * _resultobj;
10068 wxGrid * _arg0;
10069 int _arg1;
10070 PyObject * _argo0 = 0;
10071 char *_kwnames[] = { "self","col", NULL };
10072
10073 self = self;
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10075 return NULL;
10076 if (_argo0) {
10077 if (_argo0 == Py_None) { _arg0 = NULL; }
10078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10080 return NULL;
10081 }
10082 }
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 wxGrid_SetColFormatNumber(_arg0,_arg1);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) return NULL;
10089 } Py_INCREF(Py_None);
10090 _resultobj = Py_None;
10091 return _resultobj;
10092 }
10093
10094 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10095 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10096 PyObject * _resultobj;
10097 wxGrid * _arg0;
10098 int _arg1;
10099 int _arg2 = (int ) -1;
10100 int _arg3 = (int ) -1;
10101 PyObject * _argo0 = 0;
10102 char *_kwnames[] = { "self","col","width","precision", NULL };
10103
10104 self = self;
10105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10106 return NULL;
10107 if (_argo0) {
10108 if (_argo0 == Py_None) { _arg0 = NULL; }
10109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10111 return NULL;
10112 }
10113 }
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) return NULL;
10120 } Py_INCREF(Py_None);
10121 _resultobj = Py_None;
10122 return _resultobj;
10123 }
10124
10125 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10126 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10127 PyObject * _resultobj;
10128 wxGrid * _arg0;
10129 int _arg1;
10130 wxString * _arg2;
10131 PyObject * _argo0 = 0;
10132 PyObject * _obj2 = 0;
10133 char *_kwnames[] = { "self","col","typeName", NULL };
10134
10135 self = self;
10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10137 return NULL;
10138 if (_argo0) {
10139 if (_argo0 == Py_None) { _arg0 = NULL; }
10140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10142 return NULL;
10143 }
10144 }
10145 {
10146 _arg2 = wxString_in_helper(_obj2);
10147 if (_arg2 == NULL)
10148 return NULL;
10149 }
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) return NULL;
10156 } Py_INCREF(Py_None);
10157 _resultobj = Py_None;
10158 {
10159 if (_obj2)
10160 delete _arg2;
10161 }
10162 return _resultobj;
10163 }
10164
10165 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10166 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10167 PyObject * _resultobj;
10168 wxGrid * _arg0;
10169 bool _arg1 = (bool ) TRUE;
10170 PyObject * _argo0 = 0;
10171 int tempbool1 = (int) TRUE;
10172 char *_kwnames[] = { "self","enable", NULL };
10173
10174 self = self;
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10176 return NULL;
10177 if (_argo0) {
10178 if (_argo0 == Py_None) { _arg0 = NULL; }
10179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10181 return NULL;
10182 }
10183 }
10184 _arg1 = (bool ) tempbool1;
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 wxGrid_EnableGridLines(_arg0,_arg1);
10188
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) return NULL;
10191 } Py_INCREF(Py_None);
10192 _resultobj = Py_None;
10193 return _resultobj;
10194 }
10195
10196 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10197 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10198 PyObject * _resultobj;
10199 bool _result;
10200 wxGrid * _arg0;
10201 PyObject * _argo0 = 0;
10202 char *_kwnames[] = { "self", NULL };
10203
10204 self = self;
10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10206 return NULL;
10207 if (_argo0) {
10208 if (_argo0 == Py_None) { _arg0 = NULL; }
10209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10211 return NULL;
10212 }
10213 }
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) return NULL;
10220 } _resultobj = Py_BuildValue("i",_result);
10221 return _resultobj;
10222 }
10223
10224 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10225 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10226 PyObject * _resultobj;
10227 int _result;
10228 wxGrid * _arg0;
10229 PyObject * _argo0 = 0;
10230 char *_kwnames[] = { "self", NULL };
10231
10232 self = self;
10233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10234 return NULL;
10235 if (_argo0) {
10236 if (_argo0 == Py_None) { _arg0 = NULL; }
10237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10239 return NULL;
10240 }
10241 }
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) return NULL;
10248 } _resultobj = Py_BuildValue("i",_result);
10249 return _resultobj;
10250 }
10251
10252 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10253 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject * _resultobj;
10255 int _result;
10256 wxGrid * _arg0;
10257 int _arg1;
10258 PyObject * _argo0 = 0;
10259 char *_kwnames[] = { "self","row", NULL };
10260
10261 self = self;
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10263 return NULL;
10264 if (_argo0) {
10265 if (_argo0 == Py_None) { _arg0 = NULL; }
10266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10268 return NULL;
10269 }
10270 }
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) return NULL;
10277 } _resultobj = Py_BuildValue("i",_result);
10278 return _resultobj;
10279 }
10280
10281 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10282 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10283 PyObject * _resultobj;
10284 int _result;
10285 wxGrid * _arg0;
10286 PyObject * _argo0 = 0;
10287 char *_kwnames[] = { "self", NULL };
10288
10289 self = self;
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
10291 return NULL;
10292 if (_argo0) {
10293 if (_argo0 == Py_None) { _arg0 = NULL; }
10294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10296 return NULL;
10297 }
10298 }
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 _result = (int )wxGrid_GetDefaultColSize(_arg0);
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) return NULL;
10305 } _resultobj = Py_BuildValue("i",_result);
10306 return _resultobj;
10307 }
10308
10309 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10310 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10311 PyObject * _resultobj;
10312 int _result;
10313 wxGrid * _arg0;
10314 int _arg1;
10315 PyObject * _argo0 = 0;
10316 char *_kwnames[] = { "self","col", NULL };
10317
10318 self = self;
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10320 return NULL;
10321 if (_argo0) {
10322 if (_argo0 == Py_None) { _arg0 = NULL; }
10323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10325 return NULL;
10326 }
10327 }
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10331
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) return NULL;
10334 } _resultobj = Py_BuildValue("i",_result);
10335 return _resultobj;
10336 }
10337
10338 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10339 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject * _resultobj;
10341 wxColour * _result;
10342 wxGrid * _arg0;
10343 PyObject * _argo0 = 0;
10344 char *_kwnames[] = { "self", NULL };
10345 char _ptemp[128];
10346
10347 self = self;
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10349 return NULL;
10350 if (_argo0) {
10351 if (_argo0 == Py_None) { _arg0 = NULL; }
10352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10354 return NULL;
10355 }
10356 }
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10360
10361 wxPyEndAllowThreads(__tstate);
10362 if (PyErr_Occurred()) return NULL;
10363 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10364 _resultobj = Py_BuildValue("s",_ptemp);
10365 return _resultobj;
10366 }
10367
10368 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10369 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10370 PyObject * _resultobj;
10371 wxColour * _result;
10372 wxGrid * _arg0;
10373 int _arg1;
10374 int _arg2;
10375 PyObject * _argo0 = 0;
10376 char *_kwnames[] = { "self","row","col", NULL };
10377 char _ptemp[128];
10378
10379 self = self;
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10381 return NULL;
10382 if (_argo0) {
10383 if (_argo0 == Py_None) { _arg0 = NULL; }
10384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10386 return NULL;
10387 }
10388 }
10389 {
10390 PyThreadState* __tstate = wxPyBeginAllowThreads();
10391 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
10392
10393 wxPyEndAllowThreads(__tstate);
10394 if (PyErr_Occurred()) return NULL;
10395 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10396 _resultobj = Py_BuildValue("s",_ptemp);
10397 return _resultobj;
10398 }
10399
10400 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10401 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject * _resultobj;
10403 wxColour * _result;
10404 wxGrid * _arg0;
10405 PyObject * _argo0 = 0;
10406 char *_kwnames[] = { "self", NULL };
10407 char _ptemp[128];
10408
10409 self = self;
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10411 return NULL;
10412 if (_argo0) {
10413 if (_argo0 == Py_None) { _arg0 = NULL; }
10414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10416 return NULL;
10417 }
10418 }
10419 {
10420 PyThreadState* __tstate = wxPyBeginAllowThreads();
10421 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
10422
10423 wxPyEndAllowThreads(__tstate);
10424 if (PyErr_Occurred()) return NULL;
10425 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10426 _resultobj = Py_BuildValue("s",_ptemp);
10427 return _resultobj;
10428 }
10429
10430 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10431 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10432 PyObject * _resultobj;
10433 wxColour * _result;
10434 wxGrid * _arg0;
10435 int _arg1;
10436 int _arg2;
10437 PyObject * _argo0 = 0;
10438 char *_kwnames[] = { "self","row","col", NULL };
10439 char _ptemp[128];
10440
10441 self = self;
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10443 return NULL;
10444 if (_argo0) {
10445 if (_argo0 == Py_None) { _arg0 = NULL; }
10446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10448 return NULL;
10449 }
10450 }
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) return NULL;
10457 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10458 _resultobj = Py_BuildValue("s",_ptemp);
10459 return _resultobj;
10460 }
10461
10462 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10463 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10464 PyObject * _resultobj;
10465 wxFont * _result;
10466 wxGrid * _arg0;
10467 PyObject * _argo0 = 0;
10468 char *_kwnames[] = { "self", NULL };
10469 char _ptemp[128];
10470
10471 self = self;
10472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10473 return NULL;
10474 if (_argo0) {
10475 if (_argo0 == Py_None) { _arg0 = NULL; }
10476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10478 return NULL;
10479 }
10480 }
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) return NULL;
10487 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10488 _resultobj = Py_BuildValue("s",_ptemp);
10489 return _resultobj;
10490 }
10491
10492 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10493 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10494 PyObject * _resultobj;
10495 wxFont * _result;
10496 wxGrid * _arg0;
10497 int _arg1;
10498 int _arg2;
10499 PyObject * _argo0 = 0;
10500 char *_kwnames[] = { "self","row","col", NULL };
10501 char _ptemp[128];
10502
10503 self = self;
10504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10505 return NULL;
10506 if (_argo0) {
10507 if (_argo0 == Py_None) { _arg0 = NULL; }
10508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10510 return NULL;
10511 }
10512 }
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
10516
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) return NULL;
10519 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10520 _resultobj = Py_BuildValue("s",_ptemp);
10521 return _resultobj;
10522 }
10523
10524 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10525 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10526 PyObject * _resultobj;
10527 wxGrid * _arg0;
10528 int * _arg1;
10529 int * _arg2;
10530 PyObject * _argo0 = 0;
10531 PyObject * _argo1 = 0;
10532 PyObject * _argo2 = 0;
10533 char *_kwnames[] = { "self","horiz","vert", NULL };
10534
10535 self = self;
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10537 return NULL;
10538 if (_argo0) {
10539 if (_argo0 == Py_None) { _arg0 = NULL; }
10540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10542 return NULL;
10543 }
10544 }
10545 if (_argo1) {
10546 if (_argo1 == Py_None) { _arg1 = NULL; }
10547 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10549 return NULL;
10550 }
10551 }
10552 if (_argo2) {
10553 if (_argo2 == Py_None) { _arg2 = NULL; }
10554 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10555 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10556 return NULL;
10557 }
10558 }
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) return NULL;
10565 } Py_INCREF(Py_None);
10566 _resultobj = Py_None;
10567 return _resultobj;
10568 }
10569
10570 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10571 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject * _resultobj;
10573 wxGrid * _arg0;
10574 int _arg1;
10575 int _arg2;
10576 int * _arg3;
10577 int * _arg4;
10578 PyObject * _argo0 = 0;
10579 PyObject * _argo3 = 0;
10580 PyObject * _argo4 = 0;
10581 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10582
10583 self = self;
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10585 return NULL;
10586 if (_argo0) {
10587 if (_argo0 == Py_None) { _arg0 = NULL; }
10588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10590 return NULL;
10591 }
10592 }
10593 if (_argo3) {
10594 if (_argo3 == Py_None) { _arg3 = NULL; }
10595 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10596 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10597 return NULL;
10598 }
10599 }
10600 if (_argo4) {
10601 if (_argo4 == Py_None) { _arg4 = NULL; }
10602 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10603 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10604 return NULL;
10605 }
10606 }
10607 {
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10610
10611 wxPyEndAllowThreads(__tstate);
10612 if (PyErr_Occurred()) return NULL;
10613 } Py_INCREF(Py_None);
10614 _resultobj = Py_None;
10615 return _resultobj;
10616 }
10617
10618 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10619 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10620 PyObject * _resultobj;
10621 wxGrid * _arg0;
10622 int _arg1;
10623 bool _arg2 = (bool ) FALSE;
10624 PyObject * _argo0 = 0;
10625 int tempbool2 = (int) FALSE;
10626 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10627
10628 self = self;
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10630 return NULL;
10631 if (_argo0) {
10632 if (_argo0 == Py_None) { _arg0 = NULL; }
10633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10635 return NULL;
10636 }
10637 }
10638 _arg2 = (bool ) tempbool2;
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) return NULL;
10645 } Py_INCREF(Py_None);
10646 _resultobj = Py_None;
10647 return _resultobj;
10648 }
10649
10650 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10651 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10652 PyObject * _resultobj;
10653 wxGrid * _arg0;
10654 int _arg1;
10655 int _arg2;
10656 PyObject * _argo0 = 0;
10657 char *_kwnames[] = { "self","row","height", NULL };
10658
10659 self = self;
10660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10661 return NULL;
10662 if (_argo0) {
10663 if (_argo0 == Py_None) { _arg0 = NULL; }
10664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10666 return NULL;
10667 }
10668 }
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) return NULL;
10675 } Py_INCREF(Py_None);
10676 _resultobj = Py_None;
10677 return _resultobj;
10678 }
10679
10680 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10681 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10682 PyObject * _resultobj;
10683 wxGrid * _arg0;
10684 int _arg1;
10685 bool _arg2 = (bool ) FALSE;
10686 PyObject * _argo0 = 0;
10687 int tempbool2 = (int) FALSE;
10688 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10689
10690 self = self;
10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10692 return NULL;
10693 if (_argo0) {
10694 if (_argo0 == Py_None) { _arg0 = NULL; }
10695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10697 return NULL;
10698 }
10699 }
10700 _arg2 = (bool ) tempbool2;
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) return NULL;
10707 } Py_INCREF(Py_None);
10708 _resultobj = Py_None;
10709 return _resultobj;
10710 }
10711
10712 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10713 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10714 PyObject * _resultobj;
10715 wxGrid * _arg0;
10716 int _arg1;
10717 int _arg2;
10718 PyObject * _argo0 = 0;
10719 char *_kwnames[] = { "self","col","width", NULL };
10720
10721 self = self;
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10723 return NULL;
10724 if (_argo0) {
10725 if (_argo0 == Py_None) { _arg0 = NULL; }
10726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10728 return NULL;
10729 }
10730 }
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10734
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) return NULL;
10737 } Py_INCREF(Py_None);
10738 _resultobj = Py_None;
10739 return _resultobj;
10740 }
10741
10742 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10743 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10744 PyObject * _resultobj;
10745 wxGrid * _arg0;
10746 int _arg1;
10747 bool _arg2 = (bool ) TRUE;
10748 PyObject * _argo0 = 0;
10749 int tempbool2 = (int) TRUE;
10750 char *_kwnames[] = { "self","col","setAsMin", NULL };
10751
10752 self = self;
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10754 return NULL;
10755 if (_argo0) {
10756 if (_argo0 == Py_None) { _arg0 = NULL; }
10757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10759 return NULL;
10760 }
10761 }
10762 _arg2 = (bool ) tempbool2;
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) return NULL;
10769 } Py_INCREF(Py_None);
10770 _resultobj = Py_None;
10771 return _resultobj;
10772 }
10773
10774 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10775 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject * _resultobj;
10777 wxGrid * _arg0;
10778 int _arg1;
10779 bool _arg2 = (bool ) TRUE;
10780 PyObject * _argo0 = 0;
10781 int tempbool2 = (int) TRUE;
10782 char *_kwnames[] = { "self","row","setAsMin", NULL };
10783
10784 self = self;
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10786 return NULL;
10787 if (_argo0) {
10788 if (_argo0 == Py_None) { _arg0 = NULL; }
10789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10791 return NULL;
10792 }
10793 }
10794 _arg2 = (bool ) tempbool2;
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) return NULL;
10801 } Py_INCREF(Py_None);
10802 _resultobj = Py_None;
10803 return _resultobj;
10804 }
10805
10806 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10807 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10808 PyObject * _resultobj;
10809 wxGrid * _arg0;
10810 bool _arg1 = (bool ) TRUE;
10811 PyObject * _argo0 = 0;
10812 int tempbool1 = (int) TRUE;
10813 char *_kwnames[] = { "self","setAsMin", NULL };
10814
10815 self = self;
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
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_AutoSizeColumns. Expected _wxGrid_p.");
10822 return NULL;
10823 }
10824 }
10825 _arg1 = (bool ) tempbool1;
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 wxGrid_AutoSizeColumns(_arg0,_arg1);
10829
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) return NULL;
10832 } Py_INCREF(Py_None);
10833 _resultobj = Py_None;
10834 return _resultobj;
10835 }
10836
10837 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10838 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10839 PyObject * _resultobj;
10840 wxGrid * _arg0;
10841 bool _arg1 = (bool ) TRUE;
10842 PyObject * _argo0 = 0;
10843 int tempbool1 = (int) TRUE;
10844 char *_kwnames[] = { "self","setAsMin", NULL };
10845
10846 self = self;
10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10848 return NULL;
10849 if (_argo0) {
10850 if (_argo0 == Py_None) { _arg0 = NULL; }
10851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10853 return NULL;
10854 }
10855 }
10856 _arg1 = (bool ) tempbool1;
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 wxGrid_AutoSizeRows(_arg0,_arg1);
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) return NULL;
10863 } Py_INCREF(Py_None);
10864 _resultobj = Py_None;
10865 return _resultobj;
10866 }
10867
10868 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10869 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10870 PyObject * _resultobj;
10871 wxGrid * _arg0;
10872 PyObject * _argo0 = 0;
10873 char *_kwnames[] = { "self", NULL };
10874
10875 self = self;
10876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10877 return NULL;
10878 if (_argo0) {
10879 if (_argo0 == Py_None) { _arg0 = NULL; }
10880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10882 return NULL;
10883 }
10884 }
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 wxGrid_AutoSize(_arg0);
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) return NULL;
10891 } Py_INCREF(Py_None);
10892 _resultobj = Py_None;
10893 return _resultobj;
10894 }
10895
10896 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10897 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10898 PyObject * _resultobj;
10899 wxGrid * _arg0;
10900 int _arg1;
10901 int _arg2;
10902 PyObject * _argo0 = 0;
10903 char *_kwnames[] = { "self","col","width", NULL };
10904
10905 self = self;
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10907 return NULL;
10908 if (_argo0) {
10909 if (_argo0 == Py_None) { _arg0 = NULL; }
10910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10912 return NULL;
10913 }
10914 }
10915 {
10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
10917 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10918
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) return NULL;
10921 } Py_INCREF(Py_None);
10922 _resultobj = Py_None;
10923 return _resultobj;
10924 }
10925
10926 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10927 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10928 PyObject * _resultobj;
10929 wxGrid * _arg0;
10930 int _arg1;
10931 int _arg2;
10932 PyObject * _argo0 = 0;
10933 char *_kwnames[] = { "self","row","width", NULL };
10934
10935 self = self;
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10937 return NULL;
10938 if (_argo0) {
10939 if (_argo0 == Py_None) { _arg0 = NULL; }
10940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10942 return NULL;
10943 }
10944 }
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) return NULL;
10951 } Py_INCREF(Py_None);
10952 _resultobj = Py_None;
10953 return _resultobj;
10954 }
10955
10956 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10957 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10958 PyObject * _resultobj;
10959 wxGrid * _arg0;
10960 wxColour * _arg1;
10961 PyObject * _argo0 = 0;
10962 wxColour temp;
10963 PyObject * _obj1 = 0;
10964 char *_kwnames[] = { "self","arg2", NULL };
10965
10966 self = self;
10967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10968 return NULL;
10969 if (_argo0) {
10970 if (_argo0 == Py_None) { _arg0 = NULL; }
10971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10973 return NULL;
10974 }
10975 }
10976 {
10977 _arg1 = &temp;
10978 if (! wxColour_helper(_obj1, &_arg1))
10979 return NULL;
10980 }
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10984
10985 wxPyEndAllowThreads(__tstate);
10986 if (PyErr_Occurred()) return NULL;
10987 } Py_INCREF(Py_None);
10988 _resultobj = Py_None;
10989 return _resultobj;
10990 }
10991
10992 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10993 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10994 PyObject * _resultobj;
10995 wxGrid * _arg0;
10996 int _arg1;
10997 int _arg2;
10998 wxColour * _arg3;
10999 PyObject * _argo0 = 0;
11000 wxColour temp;
11001 PyObject * _obj3 = 0;
11002 char *_kwnames[] = { "self","row","col","arg4", NULL };
11003
11004 self = self;
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11006 return NULL;
11007 if (_argo0) {
11008 if (_argo0 == Py_None) { _arg0 = NULL; }
11009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11011 return NULL;
11012 }
11013 }
11014 {
11015 _arg3 = &temp;
11016 if (! wxColour_helper(_obj3, &_arg3))
11017 return NULL;
11018 }
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) return NULL;
11025 } Py_INCREF(Py_None);
11026 _resultobj = Py_None;
11027 return _resultobj;
11028 }
11029
11030 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11031 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11032 PyObject * _resultobj;
11033 wxGrid * _arg0;
11034 wxColour * _arg1;
11035 PyObject * _argo0 = 0;
11036 wxColour temp;
11037 PyObject * _obj1 = 0;
11038 char *_kwnames[] = { "self","arg2", NULL };
11039
11040 self = self;
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
11042 return NULL;
11043 if (_argo0) {
11044 if (_argo0 == Py_None) { _arg0 = NULL; }
11045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11047 return NULL;
11048 }
11049 }
11050 {
11051 _arg1 = &temp;
11052 if (! wxColour_helper(_obj1, &_arg1))
11053 return NULL;
11054 }
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
11058
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) return NULL;
11061 } Py_INCREF(Py_None);
11062 _resultobj = Py_None;
11063 return _resultobj;
11064 }
11065
11066 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11067 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject * _resultobj;
11069 wxGrid * _arg0;
11070 int _arg1;
11071 int _arg2;
11072 wxColour * _arg3;
11073 PyObject * _argo0 = 0;
11074 wxColour temp;
11075 PyObject * _obj3 = 0;
11076 char *_kwnames[] = { "self","row","col","arg4", NULL };
11077
11078 self = self;
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11080 return NULL;
11081 if (_argo0) {
11082 if (_argo0 == Py_None) { _arg0 = NULL; }
11083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11085 return NULL;
11086 }
11087 }
11088 {
11089 _arg3 = &temp;
11090 if (! wxColour_helper(_obj3, &_arg3))
11091 return NULL;
11092 }
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
11096
11097 wxPyEndAllowThreads(__tstate);
11098 if (PyErr_Occurred()) return NULL;
11099 } Py_INCREF(Py_None);
11100 _resultobj = Py_None;
11101 return _resultobj;
11102 }
11103
11104 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11105 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11106 PyObject * _resultobj;
11107 wxGrid * _arg0;
11108 wxFont * _arg1;
11109 PyObject * _argo0 = 0;
11110 PyObject * _argo1 = 0;
11111 char *_kwnames[] = { "self","arg2", NULL };
11112
11113 self = self;
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11115 return NULL;
11116 if (_argo0) {
11117 if (_argo0 == Py_None) { _arg0 = NULL; }
11118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11120 return NULL;
11121 }
11122 }
11123 if (_argo1) {
11124 if (_argo1 == Py_None) { _arg1 = NULL; }
11125 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11126 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11127 return NULL;
11128 }
11129 }
11130 {
11131 PyThreadState* __tstate = wxPyBeginAllowThreads();
11132 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
11133
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) return NULL;
11136 } Py_INCREF(Py_None);
11137 _resultobj = Py_None;
11138 return _resultobj;
11139 }
11140
11141 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11142 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11143 PyObject * _resultobj;
11144 wxGrid * _arg0;
11145 int _arg1;
11146 int _arg2;
11147 wxFont * _arg3;
11148 PyObject * _argo0 = 0;
11149 PyObject * _argo3 = 0;
11150 char *_kwnames[] = { "self","row","col","arg4", NULL };
11151
11152 self = self;
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11154 return NULL;
11155 if (_argo0) {
11156 if (_argo0 == Py_None) { _arg0 = NULL; }
11157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11159 return NULL;
11160 }
11161 }
11162 if (_argo3) {
11163 if (_argo3 == Py_None) { _arg3 = NULL; }
11164 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11165 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11166 return NULL;
11167 }
11168 }
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
11172
11173 wxPyEndAllowThreads(__tstate);
11174 if (PyErr_Occurred()) return NULL;
11175 } Py_INCREF(Py_None);
11176 _resultobj = Py_None;
11177 return _resultobj;
11178 }
11179
11180 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11181 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11182 PyObject * _resultobj;
11183 wxGrid * _arg0;
11184 int _arg1;
11185 int _arg2;
11186 PyObject * _argo0 = 0;
11187 char *_kwnames[] = { "self","horiz","vert", NULL };
11188
11189 self = self;
11190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11191 return NULL;
11192 if (_argo0) {
11193 if (_argo0 == Py_None) { _arg0 = NULL; }
11194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11196 return NULL;
11197 }
11198 }
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) return NULL;
11205 } Py_INCREF(Py_None);
11206 _resultobj = Py_None;
11207 return _resultobj;
11208 }
11209
11210 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11211 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11212 PyObject * _resultobj;
11213 wxGrid * _arg0;
11214 int _arg1;
11215 int _arg2;
11216 int _arg3;
11217 int _arg4;
11218 PyObject * _argo0 = 0;
11219 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11220
11221 self = self;
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11223 return NULL;
11224 if (_argo0) {
11225 if (_argo0 == Py_None) { _arg0 = NULL; }
11226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11228 return NULL;
11229 }
11230 }
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) return NULL;
11237 } Py_INCREF(Py_None);
11238 _resultobj = Py_None;
11239 return _resultobj;
11240 }
11241
11242 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11243 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11244 PyObject * _resultobj;
11245 wxGrid * _arg0;
11246 wxGridCellRenderer * _arg1;
11247 PyObject * _argo0 = 0;
11248 PyObject * _argo1 = 0;
11249 char *_kwnames[] = { "self","renderer", NULL };
11250
11251 self = self;
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
11253 return NULL;
11254 if (_argo0) {
11255 if (_argo0 == Py_None) { _arg0 = NULL; }
11256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11258 return NULL;
11259 }
11260 }
11261 if (_argo1) {
11262 if (_argo1 == Py_None) { _arg1 = NULL; }
11263 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
11264 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11265 return NULL;
11266 }
11267 }
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 wxGrid_SetDefaultRenderer(_arg0,_arg1);
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) return NULL;
11274 } Py_INCREF(Py_None);
11275 _resultobj = Py_None;
11276 return _resultobj;
11277 }
11278
11279 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11280 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11281 PyObject * _resultobj;
11282 wxGrid * _arg0;
11283 int _arg1;
11284 int _arg2;
11285 wxGridCellRenderer * _arg3;
11286 PyObject * _argo0 = 0;
11287 PyObject * _argo3 = 0;
11288 char *_kwnames[] = { "self","row","col","renderer", NULL };
11289
11290 self = self;
11291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11292 return NULL;
11293 if (_argo0) {
11294 if (_argo0 == Py_None) { _arg0 = NULL; }
11295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11297 return NULL;
11298 }
11299 }
11300 if (_argo3) {
11301 if (_argo3 == Py_None) { _arg3 = NULL; }
11302 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
11303 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11304 return NULL;
11305 }
11306 }
11307 {
11308 PyThreadState* __tstate = wxPyBeginAllowThreads();
11309 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
11310
11311 wxPyEndAllowThreads(__tstate);
11312 if (PyErr_Occurred()) return NULL;
11313 } Py_INCREF(Py_None);
11314 _resultobj = Py_None;
11315 return _resultobj;
11316 }
11317
11318 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11319 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11320 PyObject * _resultobj;
11321 wxGridCellRenderer * _result;
11322 wxGrid * _arg0;
11323 PyObject * _argo0 = 0;
11324 char *_kwnames[] = { "self", NULL };
11325 char _ptemp[128];
11326
11327 self = self;
11328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
11329 return NULL;
11330 if (_argo0) {
11331 if (_argo0 == Py_None) { _arg0 = NULL; }
11332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11334 return NULL;
11335 }
11336 }
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) return NULL;
11343 } if (_result) {
11344 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11345 _resultobj = Py_BuildValue("s",_ptemp);
11346 } else {
11347 Py_INCREF(Py_None);
11348 _resultobj = Py_None;
11349 }
11350 return _resultobj;
11351 }
11352
11353 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11354 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11355 PyObject * _resultobj;
11356 wxGridCellRenderer * _result;
11357 wxGrid * _arg0;
11358 int _arg1;
11359 int _arg2;
11360 PyObject * _argo0 = 0;
11361 char *_kwnames[] = { "self","row","col", NULL };
11362 char _ptemp[128];
11363
11364 self = self;
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11366 return NULL;
11367 if (_argo0) {
11368 if (_argo0 == Py_None) { _arg0 = NULL; }
11369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11371 return NULL;
11372 }
11373 }
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) return NULL;
11380 } if (_result) {
11381 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11382 _resultobj = Py_BuildValue("s",_ptemp);
11383 } else {
11384 Py_INCREF(Py_None);
11385 _resultobj = Py_None;
11386 }
11387 return _resultobj;
11388 }
11389
11390 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11391 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11392 PyObject * _resultobj;
11393 wxGrid * _arg0;
11394 wxGridCellEditor * _arg1;
11395 PyObject * _argo0 = 0;
11396 PyObject * _argo1 = 0;
11397 char *_kwnames[] = { "self","editor", NULL };
11398
11399 self = self;
11400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
11401 return NULL;
11402 if (_argo0) {
11403 if (_argo0 == Py_None) { _arg0 = NULL; }
11404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11406 return NULL;
11407 }
11408 }
11409 if (_argo1) {
11410 if (_argo1 == Py_None) { _arg1 = NULL; }
11411 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
11412 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11413 return NULL;
11414 }
11415 }
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 wxGrid_SetDefaultEditor(_arg0,_arg1);
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) return NULL;
11422 } Py_INCREF(Py_None);
11423 _resultobj = Py_None;
11424 return _resultobj;
11425 }
11426
11427 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11428 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11429 PyObject * _resultobj;
11430 wxGrid * _arg0;
11431 int _arg1;
11432 int _arg2;
11433 wxGridCellEditor * _arg3;
11434 PyObject * _argo0 = 0;
11435 PyObject * _argo3 = 0;
11436 char *_kwnames[] = { "self","row","col","editor", NULL };
11437
11438 self = self;
11439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11440 return NULL;
11441 if (_argo0) {
11442 if (_argo0 == Py_None) { _arg0 = NULL; }
11443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11445 return NULL;
11446 }
11447 }
11448 if (_argo3) {
11449 if (_argo3 == Py_None) { _arg3 = NULL; }
11450 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11451 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11452 return NULL;
11453 }
11454 }
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) return NULL;
11461 } Py_INCREF(Py_None);
11462 _resultobj = Py_None;
11463 return _resultobj;
11464 }
11465
11466 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11467 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11468 PyObject * _resultobj;
11469 wxGridCellEditor * _result;
11470 wxGrid * _arg0;
11471 PyObject * _argo0 = 0;
11472 char *_kwnames[] = { "self", NULL };
11473 char _ptemp[128];
11474
11475 self = self;
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
11477 return NULL;
11478 if (_argo0) {
11479 if (_argo0 == Py_None) { _arg0 = NULL; }
11480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11482 return NULL;
11483 }
11484 }
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) return NULL;
11491 } if (_result) {
11492 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11493 _resultobj = Py_BuildValue("s",_ptemp);
11494 } else {
11495 Py_INCREF(Py_None);
11496 _resultobj = Py_None;
11497 }
11498 return _resultobj;
11499 }
11500
11501 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11502 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11503 PyObject * _resultobj;
11504 wxGridCellEditor * _result;
11505 wxGrid * _arg0;
11506 int _arg1;
11507 int _arg2;
11508 PyObject * _argo0 = 0;
11509 char *_kwnames[] = { "self","row","col", NULL };
11510 char _ptemp[128];
11511
11512 self = self;
11513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
11514 return NULL;
11515 if (_argo0) {
11516 if (_argo0 == Py_None) { _arg0 = NULL; }
11517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11519 return NULL;
11520 }
11521 }
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
11525
11526 wxPyEndAllowThreads(__tstate);
11527 if (PyErr_Occurred()) return NULL;
11528 } if (_result) {
11529 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11530 _resultobj = Py_BuildValue("s",_ptemp);
11531 } else {
11532 Py_INCREF(Py_None);
11533 _resultobj = Py_None;
11534 }
11535 return _resultobj;
11536 }
11537
11538 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11539 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11540 PyObject * _resultobj;
11541 wxString * _result;
11542 wxGrid * _arg0;
11543 int _arg1;
11544 int _arg2;
11545 PyObject * _argo0 = 0;
11546 char *_kwnames[] = { "self","row","col", NULL };
11547
11548 self = self;
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
11550 return NULL;
11551 if (_argo0) {
11552 if (_argo0 == Py_None) { _arg0 = NULL; }
11553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11555 return NULL;
11556 }
11557 }
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) return NULL;
11564 }{
11565 #if wxUSE_UNICODE
11566 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11567 #else
11568 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11569 #endif
11570 }
11571 {
11572 delete _result;
11573 }
11574 return _resultobj;
11575 }
11576
11577 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11578 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11579 PyObject * _resultobj;
11580 wxGrid * _arg0;
11581 int _arg1;
11582 int _arg2;
11583 wxString * _arg3;
11584 PyObject * _argo0 = 0;
11585 PyObject * _obj3 = 0;
11586 char *_kwnames[] = { "self","row","col","s", NULL };
11587
11588 self = self;
11589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11590 return NULL;
11591 if (_argo0) {
11592 if (_argo0 == Py_None) { _arg0 = NULL; }
11593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11595 return NULL;
11596 }
11597 }
11598 {
11599 _arg3 = wxString_in_helper(_obj3);
11600 if (_arg3 == NULL)
11601 return NULL;
11602 }
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) return NULL;
11609 } Py_INCREF(Py_None);
11610 _resultobj = Py_None;
11611 {
11612 if (_obj3)
11613 delete _arg3;
11614 }
11615 return _resultobj;
11616 }
11617
11618 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11619 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11620 PyObject * _resultobj;
11621 bool _result;
11622 wxGrid * _arg0;
11623 int _arg1;
11624 int _arg2;
11625 PyObject * _argo0 = 0;
11626 char *_kwnames[] = { "self","row","col", NULL };
11627
11628 self = self;
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11630 return NULL;
11631 if (_argo0) {
11632 if (_argo0 == Py_None) { _arg0 = NULL; }
11633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11635 return NULL;
11636 }
11637 }
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) return NULL;
11644 } _resultobj = Py_BuildValue("i",_result);
11645 return _resultobj;
11646 }
11647
11648 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11649 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11650 PyObject * _resultobj;
11651 wxGrid * _arg0;
11652 int _arg1;
11653 int _arg2;
11654 bool _arg3 = (bool ) TRUE;
11655 PyObject * _argo0 = 0;
11656 int tempbool3 = (int) TRUE;
11657 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11658
11659 self = self;
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11661 return NULL;
11662 if (_argo0) {
11663 if (_argo0 == Py_None) { _arg0 = NULL; }
11664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11666 return NULL;
11667 }
11668 }
11669 _arg3 = (bool ) tempbool3;
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11673
11674 wxPyEndAllowThreads(__tstate);
11675 if (PyErr_Occurred()) return NULL;
11676 } Py_INCREF(Py_None);
11677 _resultobj = Py_None;
11678 return _resultobj;
11679 }
11680
11681 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11682 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11683 PyObject * _resultobj;
11684 wxGrid * _arg0;
11685 int _arg1;
11686 bool _arg2 = (bool ) FALSE;
11687 PyObject * _argo0 = 0;
11688 int tempbool2 = (int) FALSE;
11689 char *_kwnames[] = { "self","row","addToSelected", NULL };
11690
11691 self = self;
11692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11693 return NULL;
11694 if (_argo0) {
11695 if (_argo0 == Py_None) { _arg0 = NULL; }
11696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11698 return NULL;
11699 }
11700 }
11701 _arg2 = (bool ) tempbool2;
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) return NULL;
11708 } Py_INCREF(Py_None);
11709 _resultobj = Py_None;
11710 return _resultobj;
11711 }
11712
11713 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11714 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11715 PyObject * _resultobj;
11716 wxGrid * _arg0;
11717 int _arg1;
11718 bool _arg2 = (bool ) FALSE;
11719 PyObject * _argo0 = 0;
11720 int tempbool2 = (int) FALSE;
11721 char *_kwnames[] = { "self","col","addToSelected", NULL };
11722
11723 self = self;
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11725 return NULL;
11726 if (_argo0) {
11727 if (_argo0 == Py_None) { _arg0 = NULL; }
11728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11730 return NULL;
11731 }
11732 }
11733 _arg2 = (bool ) tempbool2;
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) return NULL;
11740 } Py_INCREF(Py_None);
11741 _resultobj = Py_None;
11742 return _resultobj;
11743 }
11744
11745 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11746 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11747 PyObject * _resultobj;
11748 wxGrid * _arg0;
11749 int _arg1;
11750 int _arg2;
11751 int _arg3;
11752 int _arg4;
11753 bool _arg5 = (bool ) FALSE;
11754 PyObject * _argo0 = 0;
11755 int tempbool5 = (int) FALSE;
11756 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
11757
11758 self = self;
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
11760 return NULL;
11761 if (_argo0) {
11762 if (_argo0 == Py_None) { _arg0 = NULL; }
11763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11765 return NULL;
11766 }
11767 }
11768 _arg5 = (bool ) tempbool5;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) return NULL;
11775 } Py_INCREF(Py_None);
11776 _resultobj = Py_None;
11777 return _resultobj;
11778 }
11779
11780 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11781 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11782 PyObject * _resultobj;
11783 wxGrid * _arg0;
11784 PyObject * _argo0 = 0;
11785 char *_kwnames[] = { "self", NULL };
11786
11787 self = self;
11788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11789 return NULL;
11790 if (_argo0) {
11791 if (_argo0 == Py_None) { _arg0 = NULL; }
11792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11794 return NULL;
11795 }
11796 }
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 wxGrid_SelectAll(_arg0);
11800
11801 wxPyEndAllowThreads(__tstate);
11802 if (PyErr_Occurred()) return NULL;
11803 } Py_INCREF(Py_None);
11804 _resultobj = Py_None;
11805 return _resultobj;
11806 }
11807
11808 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11809 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11810 PyObject * _resultobj;
11811 bool _result;
11812 wxGrid * _arg0;
11813 PyObject * _argo0 = 0;
11814 char *_kwnames[] = { "self", NULL };
11815
11816 self = self;
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11818 return NULL;
11819 if (_argo0) {
11820 if (_argo0 == Py_None) { _arg0 = NULL; }
11821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11823 return NULL;
11824 }
11825 }
11826 {
11827 PyThreadState* __tstate = wxPyBeginAllowThreads();
11828 _result = (bool )wxGrid_IsSelection(_arg0);
11829
11830 wxPyEndAllowThreads(__tstate);
11831 if (PyErr_Occurred()) return NULL;
11832 } _resultobj = Py_BuildValue("i",_result);
11833 return _resultobj;
11834 }
11835
11836 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11837 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11838 PyObject * _resultobj;
11839 wxGrid * _arg0;
11840 PyObject * _argo0 = 0;
11841 char *_kwnames[] = { "self", NULL };
11842
11843 self = self;
11844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11845 return NULL;
11846 if (_argo0) {
11847 if (_argo0 == Py_None) { _arg0 = NULL; }
11848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11850 return NULL;
11851 }
11852 }
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 wxGrid_ClearSelection(_arg0);
11856
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) return NULL;
11859 } Py_INCREF(Py_None);
11860 _resultobj = Py_None;
11861 return _resultobj;
11862 }
11863
11864 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11865 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11866 PyObject * _resultobj;
11867 bool _result;
11868 wxGrid * _arg0;
11869 int _arg1;
11870 int _arg2;
11871 PyObject * _argo0 = 0;
11872 char *_kwnames[] = { "self","row","col", NULL };
11873
11874 self = self;
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11876 return NULL;
11877 if (_argo0) {
11878 if (_argo0 == Py_None) { _arg0 = NULL; }
11879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11881 return NULL;
11882 }
11883 }
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) return NULL;
11890 } _resultobj = Py_BuildValue("i",_result);
11891 return _resultobj;
11892 }
11893
11894 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11895 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11896 PyObject * _resultobj;
11897 wxRect * _result;
11898 wxGrid * _arg0;
11899 wxGridCellCoords * _arg1;
11900 wxGridCellCoords * _arg2;
11901 PyObject * _argo0 = 0;
11902 wxGridCellCoords temp;
11903 PyObject * _obj1 = 0;
11904 wxGridCellCoords temp0;
11905 PyObject * _obj2 = 0;
11906 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11907 char _ptemp[128];
11908
11909 self = self;
11910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11911 return NULL;
11912 if (_argo0) {
11913 if (_argo0 == Py_None) { _arg0 = NULL; }
11914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11916 return NULL;
11917 }
11918 }
11919 {
11920 _arg1 = &temp;
11921 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11922 return NULL;
11923 }
11924 {
11925 _arg2 = &temp0;
11926 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11927 return NULL;
11928 }
11929 {
11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
11931 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11932
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) return NULL;
11935 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11936 _resultobj = Py_BuildValue("s",_ptemp);
11937 return _resultobj;
11938 }
11939
11940 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11941 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject * _resultobj;
11943 wxColour * _result;
11944 wxGrid * _arg0;
11945 PyObject * _argo0 = 0;
11946 char *_kwnames[] = { "self", NULL };
11947 char _ptemp[128];
11948
11949 self = self;
11950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11951 return NULL;
11952 if (_argo0) {
11953 if (_argo0 == Py_None) { _arg0 = NULL; }
11954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11956 return NULL;
11957 }
11958 }
11959 {
11960 PyThreadState* __tstate = wxPyBeginAllowThreads();
11961 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11962
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) return NULL;
11965 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11966 _resultobj = Py_BuildValue("s",_ptemp);
11967 return _resultobj;
11968 }
11969
11970 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11971 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11972 PyObject * _resultobj;
11973 wxColour * _result;
11974 wxGrid * _arg0;
11975 PyObject * _argo0 = 0;
11976 char *_kwnames[] = { "self", NULL };
11977 char _ptemp[128];
11978
11979 self = self;
11980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11981 return NULL;
11982 if (_argo0) {
11983 if (_argo0 == Py_None) { _arg0 = NULL; }
11984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11986 return NULL;
11987 }
11988 }
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) return NULL;
11995 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11996 _resultobj = Py_BuildValue("s",_ptemp);
11997 return _resultobj;
11998 }
11999
12000 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12001 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12002 PyObject * _resultobj;
12003 wxGrid * _arg0;
12004 wxColour * _arg1;
12005 PyObject * _argo0 = 0;
12006 wxColour temp;
12007 PyObject * _obj1 = 0;
12008 char *_kwnames[] = { "self","c", NULL };
12009
12010 self = self;
12011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
12012 return NULL;
12013 if (_argo0) {
12014 if (_argo0 == Py_None) { _arg0 = NULL; }
12015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12017 return NULL;
12018 }
12019 }
12020 {
12021 _arg1 = &temp;
12022 if (! wxColour_helper(_obj1, &_arg1))
12023 return NULL;
12024 }
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 wxGrid_SetSelectionBackground(_arg0,*_arg1);
12028
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) return NULL;
12031 } Py_INCREF(Py_None);
12032 _resultobj = Py_None;
12033 return _resultobj;
12034 }
12035
12036 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12037 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12038 PyObject * _resultobj;
12039 wxGrid * _arg0;
12040 wxColour * _arg1;
12041 PyObject * _argo0 = 0;
12042 wxColour temp;
12043 PyObject * _obj1 = 0;
12044 char *_kwnames[] = { "self","c", NULL };
12045
12046 self = self;
12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
12048 return NULL;
12049 if (_argo0) {
12050 if (_argo0 == Py_None) { _arg0 = NULL; }
12051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12053 return NULL;
12054 }
12055 }
12056 {
12057 _arg1 = &temp;
12058 if (! wxColour_helper(_obj1, &_arg1))
12059 return NULL;
12060 }
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 wxGrid_SetSelectionForeground(_arg0,*_arg1);
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) return NULL;
12067 } Py_INCREF(Py_None);
12068 _resultobj = Py_None;
12069 return _resultobj;
12070 }
12071
12072 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12073 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12074 PyObject * _resultobj;
12075 wxGrid * _arg0;
12076 wxString * _arg1;
12077 wxGridCellRenderer * _arg2;
12078 wxGridCellEditor * _arg3;
12079 PyObject * _argo0 = 0;
12080 PyObject * _obj1 = 0;
12081 PyObject * _argo2 = 0;
12082 PyObject * _argo3 = 0;
12083 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
12084
12085 self = self;
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
12087 return NULL;
12088 if (_argo0) {
12089 if (_argo0 == Py_None) { _arg0 = NULL; }
12090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12092 return NULL;
12093 }
12094 }
12095 {
12096 _arg1 = wxString_in_helper(_obj1);
12097 if (_arg1 == NULL)
12098 return NULL;
12099 }
12100 if (_argo2) {
12101 if (_argo2 == Py_None) { _arg2 = NULL; }
12102 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
12103 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12104 return NULL;
12105 }
12106 }
12107 if (_argo3) {
12108 if (_argo3 == Py_None) { _arg3 = NULL; }
12109 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12110 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12111 return NULL;
12112 }
12113 }
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) return NULL;
12120 } Py_INCREF(Py_None);
12121 _resultobj = Py_None;
12122 {
12123 if (_obj1)
12124 delete _arg1;
12125 }
12126 return _resultobj;
12127 }
12128
12129 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12130 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12131 PyObject * _resultobj;
12132 wxGridCellEditor * _result;
12133 wxGrid * _arg0;
12134 int _arg1;
12135 int _arg2;
12136 PyObject * _argo0 = 0;
12137 char *_kwnames[] = { "self","row","col", NULL };
12138 char _ptemp[128];
12139
12140 self = self;
12141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12142 return NULL;
12143 if (_argo0) {
12144 if (_argo0 == Py_None) { _arg0 = NULL; }
12145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12147 return NULL;
12148 }
12149 }
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
12153
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) return NULL;
12156 } if (_result) {
12157 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12158 _resultobj = Py_BuildValue("s",_ptemp);
12159 } else {
12160 Py_INCREF(Py_None);
12161 _resultobj = Py_None;
12162 }
12163 return _resultobj;
12164 }
12165
12166 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12167 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12168 PyObject * _resultobj;
12169 wxGridCellRenderer * _result;
12170 wxGrid * _arg0;
12171 int _arg1;
12172 int _arg2;
12173 PyObject * _argo0 = 0;
12174 char *_kwnames[] = { "self","row","col", NULL };
12175 char _ptemp[128];
12176
12177 self = self;
12178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12179 return NULL;
12180 if (_argo0) {
12181 if (_argo0 == Py_None) { _arg0 = NULL; }
12182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12184 return NULL;
12185 }
12186 }
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
12190
12191 wxPyEndAllowThreads(__tstate);
12192 if (PyErr_Occurred()) return NULL;
12193 } if (_result) {
12194 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12195 _resultobj = Py_BuildValue("s",_ptemp);
12196 } else {
12197 Py_INCREF(Py_None);
12198 _resultobj = Py_None;
12199 }
12200 return _resultobj;
12201 }
12202
12203 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12204 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12205 PyObject * _resultobj;
12206 wxGridCellEditor * _result;
12207 wxGrid * _arg0;
12208 wxString * _arg1;
12209 PyObject * _argo0 = 0;
12210 PyObject * _obj1 = 0;
12211 char *_kwnames[] = { "self","typeName", NULL };
12212 char _ptemp[128];
12213
12214 self = self;
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
12216 return NULL;
12217 if (_argo0) {
12218 if (_argo0 == Py_None) { _arg0 = NULL; }
12219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12221 return NULL;
12222 }
12223 }
12224 {
12225 _arg1 = wxString_in_helper(_obj1);
12226 if (_arg1 == NULL)
12227 return NULL;
12228 }
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
12232
12233 wxPyEndAllowThreads(__tstate);
12234 if (PyErr_Occurred()) return NULL;
12235 } if (_result) {
12236 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12237 _resultobj = Py_BuildValue("s",_ptemp);
12238 } else {
12239 Py_INCREF(Py_None);
12240 _resultobj = Py_None;
12241 }
12242 {
12243 if (_obj1)
12244 delete _arg1;
12245 }
12246 return _resultobj;
12247 }
12248
12249 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12250 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12251 PyObject * _resultobj;
12252 wxGridCellRenderer * _result;
12253 wxGrid * _arg0;
12254 wxString * _arg1;
12255 PyObject * _argo0 = 0;
12256 PyObject * _obj1 = 0;
12257 char *_kwnames[] = { "self","typeName", NULL };
12258 char _ptemp[128];
12259
12260 self = self;
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
12262 return NULL;
12263 if (_argo0) {
12264 if (_argo0 == Py_None) { _arg0 = NULL; }
12265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12267 return NULL;
12268 }
12269 }
12270 {
12271 _arg1 = wxString_in_helper(_obj1);
12272 if (_arg1 == NULL)
12273 return NULL;
12274 }
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
12278
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) return NULL;
12281 } if (_result) {
12282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12283 _resultobj = Py_BuildValue("s",_ptemp);
12284 } else {
12285 Py_INCREF(Py_None);
12286 _resultobj = Py_None;
12287 }
12288 {
12289 if (_obj1)
12290 delete _arg1;
12291 }
12292 return _resultobj;
12293 }
12294
12295 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12296 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12297 PyObject * _resultobj;
12298 wxGrid * _arg0;
12299 int _arg1;
12300 int _arg2;
12301 PyObject * _argo0 = 0;
12302 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
12303
12304 self = self;
12305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
12306 return NULL;
12307 if (_argo0) {
12308 if (_argo0 == Py_None) { _arg0 = NULL; }
12309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12311 return NULL;
12312 }
12313 }
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 wxGrid_SetMargins(_arg0,_arg1,_arg2);
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) return NULL;
12320 } Py_INCREF(Py_None);
12321 _resultobj = Py_None;
12322 return _resultobj;
12323 }
12324
12325 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12326 static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12327 PyObject * _resultobj;
12328 wxWindow * _result;
12329 wxGrid * _arg0;
12330 PyObject * _argo0 = 0;
12331 char *_kwnames[] = { "self", NULL };
12332
12333 self = self;
12334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
12335 return NULL;
12336 if (_argo0) {
12337 if (_argo0 == Py_None) { _arg0 = NULL; }
12338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12340 return NULL;
12341 }
12342 }
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) return NULL;
12349 }{ _resultobj = wxPyMake_wxObject(_result); }
12350 return _resultobj;
12351 }
12352
12353 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12354 static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12355 PyObject * _resultobj;
12356 wxWindow * _result;
12357 wxGrid * _arg0;
12358 PyObject * _argo0 = 0;
12359 char *_kwnames[] = { "self", NULL };
12360
12361 self = self;
12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12363 return NULL;
12364 if (_argo0) {
12365 if (_argo0 == Py_None) { _arg0 = NULL; }
12366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12368 return NULL;
12369 }
12370 }
12371 {
12372 PyThreadState* __tstate = wxPyBeginAllowThreads();
12373 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
12374
12375 wxPyEndAllowThreads(__tstate);
12376 if (PyErr_Occurred()) return NULL;
12377 }{ _resultobj = wxPyMake_wxObject(_result); }
12378 return _resultobj;
12379 }
12380
12381 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12382 static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12383 PyObject * _resultobj;
12384 wxWindow * _result;
12385 wxGrid * _arg0;
12386 PyObject * _argo0 = 0;
12387 char *_kwnames[] = { "self", NULL };
12388
12389 self = self;
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12391 return NULL;
12392 if (_argo0) {
12393 if (_argo0 == Py_None) { _arg0 = NULL; }
12394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12396 return NULL;
12397 }
12398 }
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
12402
12403 wxPyEndAllowThreads(__tstate);
12404 if (PyErr_Occurred()) return NULL;
12405 }{ _resultobj = wxPyMake_wxObject(_result); }
12406 return _resultobj;
12407 }
12408
12409 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12410 static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12411 PyObject * _resultobj;
12412 wxWindow * _result;
12413 wxGrid * _arg0;
12414 PyObject * _argo0 = 0;
12415 char *_kwnames[] = { "self", NULL };
12416
12417 self = self;
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
12419 return NULL;
12420 if (_argo0) {
12421 if (_argo0 == Py_None) { _arg0 = NULL; }
12422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12424 return NULL;
12425 }
12426 }
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
12430
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) return NULL;
12433 }{ _resultobj = wxPyMake_wxObject(_result); }
12434 return _resultobj;
12435 }
12436
12437 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
12438 wxGridEvent *src;
12439 wxNotifyEvent *dest;
12440 src = (wxGridEvent *) ptr;
12441 dest = (wxNotifyEvent *) src;
12442 return (void *) dest;
12443 }
12444
12445 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
12446 wxGridEvent *src;
12447 wxCommandEvent *dest;
12448 src = (wxGridEvent *) ptr;
12449 dest = (wxCommandEvent *) src;
12450 return (void *) dest;
12451 }
12452
12453 static void *SwigwxGridEventTowxEvent(void *ptr) {
12454 wxGridEvent *src;
12455 wxEvent *dest;
12456 src = (wxGridEvent *) ptr;
12457 dest = (wxEvent *) src;
12458 return (void *) dest;
12459 }
12460
12461 static void *SwigwxGridEventTowxObject(void *ptr) {
12462 wxGridEvent *src;
12463 wxObject *dest;
12464 src = (wxGridEvent *) ptr;
12465 dest = (wxObject *) src;
12466 return (void *) dest;
12467 }
12468
12469 #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))
12470 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12471 PyObject * _resultobj;
12472 wxGridEvent * _result;
12473 int _arg0;
12474 wxEventType _arg1;
12475 wxGrid * _arg2;
12476 int _arg3 = (int ) -1;
12477 int _arg4 = (int ) -1;
12478 int _arg5 = (int ) -1;
12479 int _arg6 = (int ) -1;
12480 bool _arg7 = (bool ) TRUE;
12481 bool _arg8 = (bool ) FALSE;
12482 bool _arg9 = (bool ) FALSE;
12483 bool _arg10 = (bool ) FALSE;
12484 bool _arg11 = (bool ) FALSE;
12485 PyObject * _argo2 = 0;
12486 int tempbool7 = (int) TRUE;
12487 int tempbool8 = (int) FALSE;
12488 int tempbool9 = (int) FALSE;
12489 int tempbool10 = (int) FALSE;
12490 int tempbool11 = (int) FALSE;
12491 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
12492 char _ptemp[128];
12493
12494 self = self;
12495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
12496 return NULL;
12497 if (_argo2) {
12498 if (_argo2 == Py_None) { _arg2 = NULL; }
12499 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12500 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12501 return NULL;
12502 }
12503 }
12504 _arg7 = (bool ) tempbool7;
12505 _arg8 = (bool ) tempbool8;
12506 _arg9 = (bool ) tempbool9;
12507 _arg10 = (bool ) tempbool10;
12508 _arg11 = (bool ) tempbool11;
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) return NULL;
12515 } if (_result) {
12516 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
12517 _resultobj = Py_BuildValue("s",_ptemp);
12518 } else {
12519 Py_INCREF(Py_None);
12520 _resultobj = Py_None;
12521 }
12522 return _resultobj;
12523 }
12524
12525 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12526 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12527 PyObject * _resultobj;
12528 int _result;
12529 wxGridEvent * _arg0;
12530 PyObject * _argo0 = 0;
12531 char *_kwnames[] = { "self", NULL };
12532
12533 self = self;
12534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
12535 return NULL;
12536 if (_argo0) {
12537 if (_argo0 == Py_None) { _arg0 = NULL; }
12538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12540 return NULL;
12541 }
12542 }
12543 {
12544 PyThreadState* __tstate = wxPyBeginAllowThreads();
12545 _result = (int )wxGridEvent_GetRow(_arg0);
12546
12547 wxPyEndAllowThreads(__tstate);
12548 if (PyErr_Occurred()) return NULL;
12549 } _resultobj = Py_BuildValue("i",_result);
12550 return _resultobj;
12551 }
12552
12553 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12554 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12555 PyObject * _resultobj;
12556 int _result;
12557 wxGridEvent * _arg0;
12558 PyObject * _argo0 = 0;
12559 char *_kwnames[] = { "self", NULL };
12560
12561 self = self;
12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
12563 return NULL;
12564 if (_argo0) {
12565 if (_argo0 == Py_None) { _arg0 = NULL; }
12566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12568 return NULL;
12569 }
12570 }
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 _result = (int )wxGridEvent_GetCol(_arg0);
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) return NULL;
12577 } _resultobj = Py_BuildValue("i",_result);
12578 return _resultobj;
12579 }
12580
12581 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12582 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12583 PyObject * _resultobj;
12584 wxPoint * _result;
12585 wxGridEvent * _arg0;
12586 PyObject * _argo0 = 0;
12587 char *_kwnames[] = { "self", NULL };
12588 char _ptemp[128];
12589
12590 self = self;
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
12592 return NULL;
12593 if (_argo0) {
12594 if (_argo0 == Py_None) { _arg0 = NULL; }
12595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12597 return NULL;
12598 }
12599 }
12600 {
12601 PyThreadState* __tstate = wxPyBeginAllowThreads();
12602 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
12603
12604 wxPyEndAllowThreads(__tstate);
12605 if (PyErr_Occurred()) return NULL;
12606 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12607 _resultobj = Py_BuildValue("s",_ptemp);
12608 return _resultobj;
12609 }
12610
12611 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12612 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12613 PyObject * _resultobj;
12614 bool _result;
12615 wxGridEvent * _arg0;
12616 PyObject * _argo0 = 0;
12617 char *_kwnames[] = { "self", NULL };
12618
12619 self = self;
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
12621 return NULL;
12622 if (_argo0) {
12623 if (_argo0 == Py_None) { _arg0 = NULL; }
12624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12626 return NULL;
12627 }
12628 }
12629 {
12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
12631 _result = (bool )wxGridEvent_Selecting(_arg0);
12632
12633 wxPyEndAllowThreads(__tstate);
12634 if (PyErr_Occurred()) return NULL;
12635 } _resultobj = Py_BuildValue("i",_result);
12636 return _resultobj;
12637 }
12638
12639 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12640 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12641 PyObject * _resultobj;
12642 bool _result;
12643 wxGridEvent * _arg0;
12644 PyObject * _argo0 = 0;
12645 char *_kwnames[] = { "self", NULL };
12646
12647 self = self;
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
12649 return NULL;
12650 if (_argo0) {
12651 if (_argo0 == Py_None) { _arg0 = NULL; }
12652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12654 return NULL;
12655 }
12656 }
12657 {
12658 PyThreadState* __tstate = wxPyBeginAllowThreads();
12659 _result = (bool )wxGridEvent_ControlDown(_arg0);
12660
12661 wxPyEndAllowThreads(__tstate);
12662 if (PyErr_Occurred()) return NULL;
12663 } _resultobj = Py_BuildValue("i",_result);
12664 return _resultobj;
12665 }
12666
12667 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12668 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12669 PyObject * _resultobj;
12670 bool _result;
12671 wxGridEvent * _arg0;
12672 PyObject * _argo0 = 0;
12673 char *_kwnames[] = { "self", NULL };
12674
12675 self = self;
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12677 return NULL;
12678 if (_argo0) {
12679 if (_argo0 == Py_None) { _arg0 = NULL; }
12680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12682 return NULL;
12683 }
12684 }
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 _result = (bool )wxGridEvent_MetaDown(_arg0);
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) return NULL;
12691 } _resultobj = Py_BuildValue("i",_result);
12692 return _resultobj;
12693 }
12694
12695 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12696 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12697 PyObject * _resultobj;
12698 bool _result;
12699 wxGridEvent * _arg0;
12700 PyObject * _argo0 = 0;
12701 char *_kwnames[] = { "self", NULL };
12702
12703 self = self;
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12705 return NULL;
12706 if (_argo0) {
12707 if (_argo0 == Py_None) { _arg0 = NULL; }
12708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12710 return NULL;
12711 }
12712 }
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12716
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) return NULL;
12719 } _resultobj = Py_BuildValue("i",_result);
12720 return _resultobj;
12721 }
12722
12723 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12724 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12725 PyObject * _resultobj;
12726 bool _result;
12727 wxGridEvent * _arg0;
12728 PyObject * _argo0 = 0;
12729 char *_kwnames[] = { "self", NULL };
12730
12731 self = self;
12732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12733 return NULL;
12734 if (_argo0) {
12735 if (_argo0 == Py_None) { _arg0 = NULL; }
12736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12738 return NULL;
12739 }
12740 }
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 _result = (bool )wxGridEvent_AltDown(_arg0);
12744
12745 wxPyEndAllowThreads(__tstate);
12746 if (PyErr_Occurred()) return NULL;
12747 } _resultobj = Py_BuildValue("i",_result);
12748 return _resultobj;
12749 }
12750
12751 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12752 wxGridSizeEvent *src;
12753 wxNotifyEvent *dest;
12754 src = (wxGridSizeEvent *) ptr;
12755 dest = (wxNotifyEvent *) src;
12756 return (void *) dest;
12757 }
12758
12759 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12760 wxGridSizeEvent *src;
12761 wxCommandEvent *dest;
12762 src = (wxGridSizeEvent *) ptr;
12763 dest = (wxCommandEvent *) src;
12764 return (void *) dest;
12765 }
12766
12767 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12768 wxGridSizeEvent *src;
12769 wxEvent *dest;
12770 src = (wxGridSizeEvent *) ptr;
12771 dest = (wxEvent *) src;
12772 return (void *) dest;
12773 }
12774
12775 static void *SwigwxGridSizeEventTowxObject(void *ptr) {
12776 wxGridSizeEvent *src;
12777 wxObject *dest;
12778 src = (wxGridSizeEvent *) ptr;
12779 dest = (wxObject *) src;
12780 return (void *) dest;
12781 }
12782
12783 #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))
12784 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12785 PyObject * _resultobj;
12786 wxGridSizeEvent * _result;
12787 int _arg0;
12788 wxEventType _arg1;
12789 wxGrid * _arg2;
12790 int _arg3 = (int ) -1;
12791 int _arg4 = (int ) -1;
12792 int _arg5 = (int ) -1;
12793 bool _arg6 = (bool ) FALSE;
12794 bool _arg7 = (bool ) FALSE;
12795 bool _arg8 = (bool ) FALSE;
12796 bool _arg9 = (bool ) FALSE;
12797 PyObject * _argo2 = 0;
12798 int tempbool6 = (int) FALSE;
12799 int tempbool7 = (int) FALSE;
12800 int tempbool8 = (int) FALSE;
12801 int tempbool9 = (int) FALSE;
12802 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12803 char _ptemp[128];
12804
12805 self = self;
12806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12807 return NULL;
12808 if (_argo2) {
12809 if (_argo2 == Py_None) { _arg2 = NULL; }
12810 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12811 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12812 return NULL;
12813 }
12814 }
12815 _arg6 = (bool ) tempbool6;
12816 _arg7 = (bool ) tempbool7;
12817 _arg8 = (bool ) tempbool8;
12818 _arg9 = (bool ) tempbool9;
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) return NULL;
12825 } if (_result) {
12826 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12827 _resultobj = Py_BuildValue("s",_ptemp);
12828 } else {
12829 Py_INCREF(Py_None);
12830 _resultobj = Py_None;
12831 }
12832 return _resultobj;
12833 }
12834
12835 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12836 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12837 PyObject * _resultobj;
12838 int _result;
12839 wxGridSizeEvent * _arg0;
12840 PyObject * _argo0 = 0;
12841 char *_kwnames[] = { "self", NULL };
12842
12843 self = self;
12844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12845 return NULL;
12846 if (_argo0) {
12847 if (_argo0 == Py_None) { _arg0 = NULL; }
12848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12850 return NULL;
12851 }
12852 }
12853 {
12854 PyThreadState* __tstate = wxPyBeginAllowThreads();
12855 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12856
12857 wxPyEndAllowThreads(__tstate);
12858 if (PyErr_Occurred()) return NULL;
12859 } _resultobj = Py_BuildValue("i",_result);
12860 return _resultobj;
12861 }
12862
12863 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12864 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12865 PyObject * _resultobj;
12866 wxPoint * _result;
12867 wxGridSizeEvent * _arg0;
12868 PyObject * _argo0 = 0;
12869 char *_kwnames[] = { "self", NULL };
12870 char _ptemp[128];
12871
12872 self = self;
12873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12874 return NULL;
12875 if (_argo0) {
12876 if (_argo0 == Py_None) { _arg0 = NULL; }
12877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12879 return NULL;
12880 }
12881 }
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12885
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) return NULL;
12888 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12889 _resultobj = Py_BuildValue("s",_ptemp);
12890 return _resultobj;
12891 }
12892
12893 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12894 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12895 PyObject * _resultobj;
12896 bool _result;
12897 wxGridSizeEvent * _arg0;
12898 PyObject * _argo0 = 0;
12899 char *_kwnames[] = { "self", NULL };
12900
12901 self = self;
12902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12903 return NULL;
12904 if (_argo0) {
12905 if (_argo0 == Py_None) { _arg0 = NULL; }
12906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12908 return NULL;
12909 }
12910 }
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
12914
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) return NULL;
12917 } _resultobj = Py_BuildValue("i",_result);
12918 return _resultobj;
12919 }
12920
12921 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12922 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12923 PyObject * _resultobj;
12924 bool _result;
12925 wxGridSizeEvent * _arg0;
12926 PyObject * _argo0 = 0;
12927 char *_kwnames[] = { "self", NULL };
12928
12929 self = self;
12930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12931 return NULL;
12932 if (_argo0) {
12933 if (_argo0 == Py_None) { _arg0 = NULL; }
12934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12936 return NULL;
12937 }
12938 }
12939 {
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12942
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) return NULL;
12945 } _resultobj = Py_BuildValue("i",_result);
12946 return _resultobj;
12947 }
12948
12949 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12950 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12951 PyObject * _resultobj;
12952 bool _result;
12953 wxGridSizeEvent * _arg0;
12954 PyObject * _argo0 = 0;
12955 char *_kwnames[] = { "self", NULL };
12956
12957 self = self;
12958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12959 return NULL;
12960 if (_argo0) {
12961 if (_argo0 == Py_None) { _arg0 = NULL; }
12962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12964 return NULL;
12965 }
12966 }
12967 {
12968 PyThreadState* __tstate = wxPyBeginAllowThreads();
12969 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12970
12971 wxPyEndAllowThreads(__tstate);
12972 if (PyErr_Occurred()) return NULL;
12973 } _resultobj = Py_BuildValue("i",_result);
12974 return _resultobj;
12975 }
12976
12977 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12978 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12979 PyObject * _resultobj;
12980 bool _result;
12981 wxGridSizeEvent * _arg0;
12982 PyObject * _argo0 = 0;
12983 char *_kwnames[] = { "self", NULL };
12984
12985 self = self;
12986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
12987 return NULL;
12988 if (_argo0) {
12989 if (_argo0 == Py_None) { _arg0 = NULL; }
12990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12992 return NULL;
12993 }
12994 }
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
12997 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
12998
12999 wxPyEndAllowThreads(__tstate);
13000 if (PyErr_Occurred()) return NULL;
13001 } _resultobj = Py_BuildValue("i",_result);
13002 return _resultobj;
13003 }
13004
13005 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
13006 wxGridRangeSelectEvent *src;
13007 wxNotifyEvent *dest;
13008 src = (wxGridRangeSelectEvent *) ptr;
13009 dest = (wxNotifyEvent *) src;
13010 return (void *) dest;
13011 }
13012
13013 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
13014 wxGridRangeSelectEvent *src;
13015 wxCommandEvent *dest;
13016 src = (wxGridRangeSelectEvent *) ptr;
13017 dest = (wxCommandEvent *) src;
13018 return (void *) dest;
13019 }
13020
13021 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
13022 wxGridRangeSelectEvent *src;
13023 wxEvent *dest;
13024 src = (wxGridRangeSelectEvent *) ptr;
13025 dest = (wxEvent *) src;
13026 return (void *) dest;
13027 }
13028
13029 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
13030 wxGridRangeSelectEvent *src;
13031 wxObject *dest;
13032 src = (wxGridRangeSelectEvent *) ptr;
13033 dest = (wxObject *) src;
13034 return (void *) dest;
13035 }
13036
13037 #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))
13038 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13039 PyObject * _resultobj;
13040 wxGridRangeSelectEvent * _result;
13041 int _arg0;
13042 wxEventType _arg1;
13043 wxGrid * _arg2;
13044 wxGridCellCoords * _arg3;
13045 wxGridCellCoords * _arg4;
13046 bool _arg5 = (bool ) TRUE;
13047 bool _arg6 = (bool ) FALSE;
13048 bool _arg7 = (bool ) FALSE;
13049 bool _arg8 = (bool ) FALSE;
13050 bool _arg9 = (bool ) FALSE;
13051 PyObject * _argo2 = 0;
13052 wxGridCellCoords temp;
13053 PyObject * _obj3 = 0;
13054 wxGridCellCoords temp0;
13055 PyObject * _obj4 = 0;
13056 int tempbool5 = (int) TRUE;
13057 int tempbool6 = (int) FALSE;
13058 int tempbool7 = (int) FALSE;
13059 int tempbool8 = (int) FALSE;
13060 int tempbool9 = (int) FALSE;
13061 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
13062 char _ptemp[128];
13063
13064 self = self;
13065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13066 return NULL;
13067 if (_argo2) {
13068 if (_argo2 == Py_None) { _arg2 = NULL; }
13069 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13070 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13071 return NULL;
13072 }
13073 }
13074 {
13075 _arg3 = &temp;
13076 if (! wxGridCellCoords_helper(_obj3, &_arg3))
13077 return NULL;
13078 }
13079 {
13080 _arg4 = &temp0;
13081 if (! wxGridCellCoords_helper(_obj4, &_arg4))
13082 return NULL;
13083 }
13084 _arg5 = (bool ) tempbool5;
13085 _arg6 = (bool ) tempbool6;
13086 _arg7 = (bool ) tempbool7;
13087 _arg8 = (bool ) tempbool8;
13088 _arg9 = (bool ) tempbool9;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13092
13093 wxPyEndAllowThreads(__tstate);
13094 if (PyErr_Occurred()) return NULL;
13095 } if (_result) {
13096 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
13097 _resultobj = Py_BuildValue("s",_ptemp);
13098 } else {
13099 Py_INCREF(Py_None);
13100 _resultobj = Py_None;
13101 }
13102 return _resultobj;
13103 }
13104
13105 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13106 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13107 PyObject * _resultobj;
13108 wxGridCellCoords * _result;
13109 wxGridRangeSelectEvent * _arg0;
13110 PyObject * _argo0 = 0;
13111 char *_kwnames[] = { "self", NULL };
13112 char _ptemp[128];
13113
13114 self = self;
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
13116 return NULL;
13117 if (_argo0) {
13118 if (_argo0 == Py_None) { _arg0 = NULL; }
13119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13121 return NULL;
13122 }
13123 }
13124 {
13125 PyThreadState* __tstate = wxPyBeginAllowThreads();
13126 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
13127
13128 wxPyEndAllowThreads(__tstate);
13129 if (PyErr_Occurred()) return NULL;
13130 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13131 _resultobj = Py_BuildValue("s",_ptemp);
13132 return _resultobj;
13133 }
13134
13135 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13136 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13137 PyObject * _resultobj;
13138 wxGridCellCoords * _result;
13139 wxGridRangeSelectEvent * _arg0;
13140 PyObject * _argo0 = 0;
13141 char *_kwnames[] = { "self", NULL };
13142 char _ptemp[128];
13143
13144 self = self;
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
13146 return NULL;
13147 if (_argo0) {
13148 if (_argo0 == Py_None) { _arg0 = NULL; }
13149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13151 return NULL;
13152 }
13153 }
13154 {
13155 PyThreadState* __tstate = wxPyBeginAllowThreads();
13156 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
13157
13158 wxPyEndAllowThreads(__tstate);
13159 if (PyErr_Occurred()) return NULL;
13160 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13161 _resultobj = Py_BuildValue("s",_ptemp);
13162 return _resultobj;
13163 }
13164
13165 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13166 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13167 PyObject * _resultobj;
13168 int _result;
13169 wxGridRangeSelectEvent * _arg0;
13170 PyObject * _argo0 = 0;
13171 char *_kwnames[] = { "self", NULL };
13172
13173 self = self;
13174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
13175 return NULL;
13176 if (_argo0) {
13177 if (_argo0 == Py_None) { _arg0 = NULL; }
13178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13180 return NULL;
13181 }
13182 }
13183 {
13184 PyThreadState* __tstate = wxPyBeginAllowThreads();
13185 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
13186
13187 wxPyEndAllowThreads(__tstate);
13188 if (PyErr_Occurred()) return NULL;
13189 } _resultobj = Py_BuildValue("i",_result);
13190 return _resultobj;
13191 }
13192
13193 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13194 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13195 PyObject * _resultobj;
13196 int _result;
13197 wxGridRangeSelectEvent * _arg0;
13198 PyObject * _argo0 = 0;
13199 char *_kwnames[] = { "self", NULL };
13200
13201 self = self;
13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
13203 return NULL;
13204 if (_argo0) {
13205 if (_argo0 == Py_None) { _arg0 = NULL; }
13206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13208 return NULL;
13209 }
13210 }
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) return NULL;
13217 } _resultobj = Py_BuildValue("i",_result);
13218 return _resultobj;
13219 }
13220
13221 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13222 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13223 PyObject * _resultobj;
13224 int _result;
13225 wxGridRangeSelectEvent * _arg0;
13226 PyObject * _argo0 = 0;
13227 char *_kwnames[] = { "self", NULL };
13228
13229 self = self;
13230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
13231 return NULL;
13232 if (_argo0) {
13233 if (_argo0 == Py_None) { _arg0 = NULL; }
13234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13236 return NULL;
13237 }
13238 }
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) return NULL;
13245 } _resultobj = Py_BuildValue("i",_result);
13246 return _resultobj;
13247 }
13248
13249 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13250 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13251 PyObject * _resultobj;
13252 int _result;
13253 wxGridRangeSelectEvent * _arg0;
13254 PyObject * _argo0 = 0;
13255 char *_kwnames[] = { "self", NULL };
13256
13257 self = self;
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
13259 return NULL;
13260 if (_argo0) {
13261 if (_argo0 == Py_None) { _arg0 = NULL; }
13262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13264 return NULL;
13265 }
13266 }
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) return NULL;
13273 } _resultobj = Py_BuildValue("i",_result);
13274 return _resultobj;
13275 }
13276
13277 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13278 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13279 PyObject * _resultobj;
13280 bool _result;
13281 wxGridRangeSelectEvent * _arg0;
13282 PyObject * _argo0 = 0;
13283 char *_kwnames[] = { "self", NULL };
13284
13285 self = self;
13286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
13287 return NULL;
13288 if (_argo0) {
13289 if (_argo0 == Py_None) { _arg0 = NULL; }
13290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13292 return NULL;
13293 }
13294 }
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) return NULL;
13301 } _resultobj = Py_BuildValue("i",_result);
13302 return _resultobj;
13303 }
13304
13305 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13306 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13307 PyObject * _resultobj;
13308 bool _result;
13309 wxGridRangeSelectEvent * _arg0;
13310 PyObject * _argo0 = 0;
13311 char *_kwnames[] = { "self", NULL };
13312
13313 self = self;
13314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
13315 return NULL;
13316 if (_argo0) {
13317 if (_argo0 == Py_None) { _arg0 = NULL; }
13318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13320 return NULL;
13321 }
13322 }
13323 {
13324 PyThreadState* __tstate = wxPyBeginAllowThreads();
13325 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
13326
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) return NULL;
13329 } _resultobj = Py_BuildValue("i",_result);
13330 return _resultobj;
13331 }
13332
13333 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13334 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13335 PyObject * _resultobj;
13336 bool _result;
13337 wxGridRangeSelectEvent * _arg0;
13338 PyObject * _argo0 = 0;
13339 char *_kwnames[] = { "self", NULL };
13340
13341 self = self;
13342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
13343 return NULL;
13344 if (_argo0) {
13345 if (_argo0 == Py_None) { _arg0 = NULL; }
13346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13348 return NULL;
13349 }
13350 }
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
13354
13355 wxPyEndAllowThreads(__tstate);
13356 if (PyErr_Occurred()) return NULL;
13357 } _resultobj = Py_BuildValue("i",_result);
13358 return _resultobj;
13359 }
13360
13361 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13362 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13363 PyObject * _resultobj;
13364 bool _result;
13365 wxGridRangeSelectEvent * _arg0;
13366 PyObject * _argo0 = 0;
13367 char *_kwnames[] = { "self", NULL };
13368
13369 self = self;
13370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13371 return NULL;
13372 if (_argo0) {
13373 if (_argo0 == Py_None) { _arg0 = NULL; }
13374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13376 return NULL;
13377 }
13378 }
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) return NULL;
13385 } _resultobj = Py_BuildValue("i",_result);
13386 return _resultobj;
13387 }
13388
13389 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13390 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13391 PyObject * _resultobj;
13392 bool _result;
13393 wxGridRangeSelectEvent * _arg0;
13394 PyObject * _argo0 = 0;
13395 char *_kwnames[] = { "self", NULL };
13396
13397 self = self;
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13399 return NULL;
13400 if (_argo0) {
13401 if (_argo0 == Py_None) { _arg0 = NULL; }
13402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13404 return NULL;
13405 }
13406 }
13407 {
13408 PyThreadState* __tstate = wxPyBeginAllowThreads();
13409 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
13410
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) return NULL;
13413 } _resultobj = Py_BuildValue("i",_result);
13414 return _resultobj;
13415 }
13416
13417 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
13418 wxGridEditorCreatedEvent *src;
13419 wxCommandEvent *dest;
13420 src = (wxGridEditorCreatedEvent *) ptr;
13421 dest = (wxCommandEvent *) src;
13422 return (void *) dest;
13423 }
13424
13425 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
13426 wxGridEditorCreatedEvent *src;
13427 wxEvent *dest;
13428 src = (wxGridEditorCreatedEvent *) ptr;
13429 dest = (wxEvent *) src;
13430 return (void *) dest;
13431 }
13432
13433 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
13434 wxGridEditorCreatedEvent *src;
13435 wxObject *dest;
13436 src = (wxGridEditorCreatedEvent *) ptr;
13437 dest = (wxObject *) src;
13438 return (void *) dest;
13439 }
13440
13441 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13442 static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13443 PyObject * _resultobj;
13444 wxGridEditorCreatedEvent * _result;
13445 int _arg0;
13446 wxEventType _arg1;
13447 wxObject * _arg2;
13448 int _arg3;
13449 int _arg4;
13450 wxControl * _arg5;
13451 PyObject * _argo2 = 0;
13452 PyObject * _argo5 = 0;
13453 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
13454 char _ptemp[128];
13455
13456 self = self;
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
13458 return NULL;
13459 if (_argo2) {
13460 if (_argo2 == Py_None) { _arg2 = NULL; }
13461 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
13462 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13463 return NULL;
13464 }
13465 }
13466 if (_argo5) {
13467 if (_argo5 == Py_None) { _arg5 = NULL; }
13468 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
13469 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13470 return NULL;
13471 }
13472 }
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) return NULL;
13479 } if (_result) {
13480 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
13481 _resultobj = Py_BuildValue("s",_ptemp);
13482 } else {
13483 Py_INCREF(Py_None);
13484 _resultobj = Py_None;
13485 }
13486 return _resultobj;
13487 }
13488
13489 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13490 static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13491 PyObject * _resultobj;
13492 int _result;
13493 wxGridEditorCreatedEvent * _arg0;
13494 PyObject * _argo0 = 0;
13495 char *_kwnames[] = { "self", NULL };
13496
13497 self = self;
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
13499 return NULL;
13500 if (_argo0) {
13501 if (_argo0 == Py_None) { _arg0 = NULL; }
13502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13504 return NULL;
13505 }
13506 }
13507 {
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
13510
13511 wxPyEndAllowThreads(__tstate);
13512 if (PyErr_Occurred()) return NULL;
13513 } _resultobj = Py_BuildValue("i",_result);
13514 return _resultobj;
13515 }
13516
13517 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13518 static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13519 PyObject * _resultobj;
13520 int _result;
13521 wxGridEditorCreatedEvent * _arg0;
13522 PyObject * _argo0 = 0;
13523 char *_kwnames[] = { "self", NULL };
13524
13525 self = self;
13526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
13527 return NULL;
13528 if (_argo0) {
13529 if (_argo0 == Py_None) { _arg0 = NULL; }
13530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13532 return NULL;
13533 }
13534 }
13535 {
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
13538
13539 wxPyEndAllowThreads(__tstate);
13540 if (PyErr_Occurred()) return NULL;
13541 } _resultobj = Py_BuildValue("i",_result);
13542 return _resultobj;
13543 }
13544
13545 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13546 static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13547 PyObject * _resultobj;
13548 wxControl * _result;
13549 wxGridEditorCreatedEvent * _arg0;
13550 PyObject * _argo0 = 0;
13551 char *_kwnames[] = { "self", NULL };
13552
13553 self = self;
13554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
13555 return NULL;
13556 if (_argo0) {
13557 if (_argo0 == Py_None) { _arg0 = NULL; }
13558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13560 return NULL;
13561 }
13562 }
13563 {
13564 PyThreadState* __tstate = wxPyBeginAllowThreads();
13565 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
13566
13567 wxPyEndAllowThreads(__tstate);
13568 if (PyErr_Occurred()) return NULL;
13569 }{ _resultobj = wxPyMake_wxObject(_result); }
13570 return _resultobj;
13571 }
13572
13573 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13574 static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13575 PyObject * _resultobj;
13576 wxGridEditorCreatedEvent * _arg0;
13577 int _arg1;
13578 PyObject * _argo0 = 0;
13579 char *_kwnames[] = { "self","row", NULL };
13580
13581 self = self;
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
13583 return NULL;
13584 if (_argo0) {
13585 if (_argo0 == Py_None) { _arg0 = NULL; }
13586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13588 return NULL;
13589 }
13590 }
13591 {
13592 PyThreadState* __tstate = wxPyBeginAllowThreads();
13593 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
13594
13595 wxPyEndAllowThreads(__tstate);
13596 if (PyErr_Occurred()) return NULL;
13597 } Py_INCREF(Py_None);
13598 _resultobj = Py_None;
13599 return _resultobj;
13600 }
13601
13602 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13603 static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13604 PyObject * _resultobj;
13605 wxGridEditorCreatedEvent * _arg0;
13606 int _arg1;
13607 PyObject * _argo0 = 0;
13608 char *_kwnames[] = { "self","col", NULL };
13609
13610 self = self;
13611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
13612 return NULL;
13613 if (_argo0) {
13614 if (_argo0 == Py_None) { _arg0 = NULL; }
13615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13617 return NULL;
13618 }
13619 }
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) return NULL;
13626 } Py_INCREF(Py_None);
13627 _resultobj = Py_None;
13628 return _resultobj;
13629 }
13630
13631 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13632 static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13633 PyObject * _resultobj;
13634 wxGridEditorCreatedEvent * _arg0;
13635 wxControl * _arg1;
13636 PyObject * _argo0 = 0;
13637 PyObject * _argo1 = 0;
13638 char *_kwnames[] = { "self","ctrl", NULL };
13639
13640 self = self;
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
13642 return NULL;
13643 if (_argo0) {
13644 if (_argo0 == Py_None) { _arg0 = NULL; }
13645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13647 return NULL;
13648 }
13649 }
13650 if (_argo1) {
13651 if (_argo1 == Py_None) { _arg1 = NULL; }
13652 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
13653 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13654 return NULL;
13655 }
13656 }
13657 {
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
13660
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) return NULL;
13663 } Py_INCREF(Py_None);
13664 _resultobj = Py_None;
13665 return _resultobj;
13666 }
13667
13668 static PyMethodDef gridcMethods[] = {
13669 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
13670 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
13671 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
13672 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
13673 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13674 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13675 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
13676 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13677 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13678 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13679 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13680 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13681 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
13682 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
13683 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
13684 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
13685 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
13686 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
13687 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
13688 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13689 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13690 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13691 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13692 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13693 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
13694 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
13695 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13696 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13697 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13698 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13699 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13700 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13701 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13702 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13703 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
13704 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
13705 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
13706 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
13707 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
13708 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
13709 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
13710 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
13711 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
13712 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
13713 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
13714 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13715 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13716 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13717 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13718 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
13719 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
13720 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
13721 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
13722 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
13723 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
13724 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
13725 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
13726 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13727 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13728 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
13729 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
13730 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
13731 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13732 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
13733 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13734 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13735 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13736 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13737 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13738 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13739 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13740 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
13741 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13742 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13743 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13744 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13745 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13746 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
13747 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
13748 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
13749 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
13750 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
13751 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
13752 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
13753 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
13754 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13755 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
13756 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13757 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13758 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13759 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
13760 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13761 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13762 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13763 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13764 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13765 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
13766 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13767 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
13768 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13769 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
13770 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
13771 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
13772 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
13773 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
13774 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
13775 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13776 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13777 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
13778 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13779 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13780 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
13781 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
13782 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
13783 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
13784 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13785 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13786 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13787 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13788 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13789 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13790 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13791 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13792 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13793 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13794 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
13795 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13796 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13797 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13798 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13799 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13800 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13801 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13802 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13803 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13804 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13805 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13806 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13807 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
13808 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13809 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13810 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13811 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
13812 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13813 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13814 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
13815 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
13816 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
13817 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
13818 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
13819 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
13820 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
13821 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
13822 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
13823 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
13824 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
13825 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
13826 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
13827 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
13828 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
13829 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
13830 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
13831 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
13832 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
13833 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
13834 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
13835 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
13836 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
13837 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
13838 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
13839 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
13840 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
13841 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
13842 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13843 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13844 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
13845 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
13846 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
13847 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
13848 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
13849 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
13850 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
13851 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
13852 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
13853 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13854 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
13855 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
13856 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13857 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
13858 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
13859 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
13860 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
13861 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
13862 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
13863 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13864 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13865 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13866 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
13867 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
13868 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
13869 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
13870 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
13871 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
13872 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
13873 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
13874 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
13875 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13876 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13877 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13878 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13879 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
13880 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
13881 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
13882 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
13883 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
13884 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
13885 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13886 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13887 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
13888 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13889 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13890 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13891 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13892 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13893 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13894 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13895 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13896 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13897 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13898 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
13899 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
13900 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13901 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
13902 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
13903 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
13904 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13905 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13906 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13907 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
13908 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13909 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
13910 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13911 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13912 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
13913 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
13914 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13915 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13916 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13917 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13918 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13919 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13920 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
13921 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
13922 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13923 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
13924 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
13925 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
13926 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13927 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13928 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13929 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13930 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13931 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13932 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13933 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13934 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13935 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
13936 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
13937 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
13938 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13939 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13940 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
13941 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
13942 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13943 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13944 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13945 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13946 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13947 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13948 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13949 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13950 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
13951 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
13952 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13953 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13954 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
13955 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
13956 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13957 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
13958 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13959 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
13960 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
13961 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13962 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13963 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13964 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
13965 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
13966 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13967 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13968 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13969 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13970 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13971 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
13972 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
13973 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13974 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13975 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13976 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13977 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13978 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13979 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13980 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
13981 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
13982 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
13983 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
13984 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
13985 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
13986 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
13987 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
13988 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
13989 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
13990 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
13991 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
13992 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13993 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
13994 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13995 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
13996 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
13997 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13998 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13999 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
14000 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
14001 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14002 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
14003 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
14004 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14005 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
14006 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
14007 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14008 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14009 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
14010 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
14011 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
14012 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
14013 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
14014 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
14015 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
14016 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
14017 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
14018 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
14019 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
14020 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
14021 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
14022 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
14023 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
14024 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
14025 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
14026 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
14027 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
14028 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
14029 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
14030 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
14031 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
14032 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
14033 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14034 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14035 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
14036 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
14037 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
14038 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
14039 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
14040 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
14041 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
14042 { NULL, NULL }
14043 };
14044 #ifdef __cplusplus
14045 }
14046 #endif
14047 /*
14048 * This table is used by the pointer type-checker
14049 */
14050 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
14051 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14052 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14053 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14054 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
14055 { "_signed_long","_long",0},
14056 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
14057 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14058 { "_wxPrintQuality","_wxCoord",0},
14059 { "_wxPrintQuality","_int",0},
14060 { "_wxPrintQuality","_signed_int",0},
14061 { "_wxPrintQuality","_unsigned_int",0},
14062 { "_wxPrintQuality","_wxWindowID",0},
14063 { "_wxPrintQuality","_uint",0},
14064 { "_wxPrintQuality","_EBool",0},
14065 { "_wxPrintQuality","_size_t",0},
14066 { "_wxPrintQuality","_time_t",0},
14067 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14068 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14069 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14070 { "_byte","_unsigned_char",0},
14071 { "_long","_unsigned_long",0},
14072 { "_long","_signed_long",0},
14073 { "_size_t","_WXGRIDSELECTIONMODES",0},
14074 { "_size_t","_wxCoord",0},
14075 { "_size_t","_wxPrintQuality",0},
14076 { "_size_t","_time_t",0},
14077 { "_size_t","_unsigned_int",0},
14078 { "_size_t","_int",0},
14079 { "_size_t","_wxWindowID",0},
14080 { "_size_t","_uint",0},
14081 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
14082 { "_uint","_WXGRIDSELECTIONMODES",0},
14083 { "_uint","_wxCoord",0},
14084 { "_uint","_wxPrintQuality",0},
14085 { "_uint","_time_t",0},
14086 { "_uint","_size_t",0},
14087 { "_uint","_unsigned_int",0},
14088 { "_uint","_int",0},
14089 { "_uint","_wxWindowID",0},
14090 { "_wxChar","_char",0},
14091 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14092 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14093 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14094 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14095 { "_char","_wxChar",0},
14096 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
14097 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
14098 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
14099 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14100 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14101 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14102 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14103 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14104 { "_EBool","_WXGRIDSELECTIONMODES",0},
14105 { "_EBool","_wxCoord",0},
14106 { "_EBool","_wxPrintQuality",0},
14107 { "_EBool","_signed_int",0},
14108 { "_EBool","_int",0},
14109 { "_EBool","_wxWindowID",0},
14110 { "_unsigned_long","_long",0},
14111 { "_WXGRIDSELECTIONMODES","_int",0},
14112 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14113 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14114 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14115 { "_WXGRIDSELECTIONMODES","_uint",0},
14116 { "_WXGRIDSELECTIONMODES","_EBool",0},
14117 { "_WXGRIDSELECTIONMODES","_size_t",0},
14118 { "_WXGRIDSELECTIONMODES","_time_t",0},
14119 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14120 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14121 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14122 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14123 { "_signed_int","_wxCoord",0},
14124 { "_signed_int","_wxPrintQuality",0},
14125 { "_signed_int","_EBool",0},
14126 { "_signed_int","_wxWindowID",0},
14127 { "_signed_int","_int",0},
14128 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
14129 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
14130 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14131 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14132 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14133 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14134 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14135 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14136 { "_WXTYPE","_short",0},
14137 { "_WXTYPE","_signed_short",0},
14138 { "_WXTYPE","_unsigned_short",0},
14139 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14140 { "_unsigned_short","_WXTYPE",0},
14141 { "_unsigned_short","_short",0},
14142 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14143 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14144 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14145 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14146 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
14147 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14148 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14149 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14150 { "_signed_short","_WXTYPE",0},
14151 { "_signed_short","_short",0},
14152 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
14153 { "_unsigned_char","_byte",0},
14154 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14155 { "_unsigned_int","_wxCoord",0},
14156 { "_unsigned_int","_wxPrintQuality",0},
14157 { "_unsigned_int","_time_t",0},
14158 { "_unsigned_int","_size_t",0},
14159 { "_unsigned_int","_uint",0},
14160 { "_unsigned_int","_wxWindowID",0},
14161 { "_unsigned_int","_int",0},
14162 { "_short","_WXTYPE",0},
14163 { "_short","_unsigned_short",0},
14164 { "_short","_signed_short",0},
14165 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14166 { "_wxWindowID","_wxCoord",0},
14167 { "_wxWindowID","_wxPrintQuality",0},
14168 { "_wxWindowID","_time_t",0},
14169 { "_wxWindowID","_size_t",0},
14170 { "_wxWindowID","_EBool",0},
14171 { "_wxWindowID","_uint",0},
14172 { "_wxWindowID","_int",0},
14173 { "_wxWindowID","_signed_int",0},
14174 { "_wxWindowID","_unsigned_int",0},
14175 { "_int","_WXGRIDSELECTIONMODES",0},
14176 { "_int","_wxCoord",0},
14177 { "_int","_wxPrintQuality",0},
14178 { "_int","_time_t",0},
14179 { "_int","_size_t",0},
14180 { "_int","_EBool",0},
14181 { "_int","_uint",0},
14182 { "_int","_wxWindowID",0},
14183 { "_int","_unsigned_int",0},
14184 { "_int","_signed_int",0},
14185 { "_time_t","_WXGRIDSELECTIONMODES",0},
14186 { "_time_t","_wxCoord",0},
14187 { "_time_t","_wxPrintQuality",0},
14188 { "_time_t","_unsigned_int",0},
14189 { "_time_t","_int",0},
14190 { "_time_t","_wxWindowID",0},
14191 { "_time_t","_uint",0},
14192 { "_time_t","_size_t",0},
14193 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14194 { "_wxCoord","_int",0},
14195 { "_wxCoord","_signed_int",0},
14196 { "_wxCoord","_unsigned_int",0},
14197 { "_wxCoord","_wxWindowID",0},
14198 { "_wxCoord","_uint",0},
14199 { "_wxCoord","_EBool",0},
14200 { "_wxCoord","_size_t",0},
14201 { "_wxCoord","_time_t",0},
14202 { "_wxCoord","_wxPrintQuality",0},
14203 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
14204 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
14205 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
14206 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14207 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14208 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14209 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14210 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14211 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
14212 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14213 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14214 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
14215 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
14216 {0,0,0}};
14217
14218 static PyObject *SWIG_globals;
14219 #ifdef __cplusplus
14220 extern "C"
14221 #endif
14222 SWIGEXPORT(void) initgridc() {
14223 PyObject *m, *d;
14224 SWIG_globals = SWIG_newvarlink();
14225 m = Py_InitModule("gridc", gridcMethods);
14226 d = PyModule_GetDict(m);
14227 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14228 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14229 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14230 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14231 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14232 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14233 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14234 PyDict_SetItemString(d,"cvar", SWIG_globals);
14235 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14236 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14237 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14238 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14239 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14240 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14241 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14242 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14243 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14244 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14245 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14246 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14247 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14248 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14249 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14250 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14251 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14252 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14253 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14254 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14255 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14256 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14257 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14258 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14259 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
14260 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
14261
14262 wxClassInfo::CleanUpClasses();
14263 wxClassInfo::InitializeClasses();
14264 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14265 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14266 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14267 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14268 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14269 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
14270 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14271 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14272 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14273 {
14274 int i;
14275 for (i = 0; _swig_mapping[i].n1; i++)
14276 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14277 }
14278 }